(self.webpackChunk=self.webpackChunk||[]).push([[95],{11724:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return Oe}});var Lt=Et(67711),re=Et(59301),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},pe=fe,ne=Et(7657),Ht=function(Nt,Je){return re.createElement(ne.Z,(0,Lt.Z)({},Nt,{ref:Je,icon:pe}))},oe=re.forwardRef(Ht),Oe=oe},8336:function(){"use strict"},12469:function(){"use strict"},99587:function(bn,$n){"use strict";$n.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},63720:function(){"use strict";function bn(Bt,et,nt,ct){nt===void 0&&(nt=0),ct===void 0&&(ct=1/0),this._name=Bt,this._defaultValue=et,this._minimum=nt,this._maximum=ct}Object.defineProperty(bn.prototype,"name",{get:function(){return this._name},set:function(Bt){if(typeof Bt!="string"||Bt==="")throw new Error("Shape name must be a valid string.");this._name=Bt}}),Object.defineProperty(bn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(Bt){if(typeof Bt!="number"||isNaN(Bt))throw new Error("The default value must be a real number, not: "+Bt);this._defaultValue=Bt}}),Object.defineProperty(bn.prototype,"minimum",{get:function(){return this._minimum},set:function(Bt){if(typeof Bt!="number"||isNaN(Bt))throw new Error("Minimum must be a real number, not: "+Bt);this._minimum=Bt}}),Object.defineProperty(bn.prototype,"maximum",{get:function(){return this._maximum},set:function(Bt){if(typeof Bt!="number"||isNaN(Bt))throw new Error("Maximum must be a real number, not: "+Bt);this._maximum=Bt}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(Bt,et){var nt=go.Shape._FigureParameters[Bt];return nt?nt[et]:null},go.Shape.setFigureParameter=function(Bt,et,nt){if(!(nt instanceof bn))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+nt);if(nt.defaultValuent.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+nt.defaultValue);var ct=go.Shape._FigureParameters[Bt];ct||(ct=[],go.Shape._FigureParameters[Bt]=ct),ct[et]=nt};var $n=[];function Et(Bt,et){var nt=$n.pop();return nt===void 0?new go.Point(Bt,et):(nt.x=Bt,nt.y=et,nt)}function Lt(){var Bt=$n.pop();return Bt===void 0?new go.Point:Bt}function re(Bt){$n.push(Bt)}function fe(Bt,et,nt,ct,lt,gt,mt,St,Pt){Pt||(Pt=new go.Point);var Rt=Bt-nt,Wt=lt-mt,te=NaN,Jt=NaN;if(Rt===0)if(Wt===0)Bt===nt&&(te=Bt,Jt=et);else{var Vt=(gt-St)/Wt,le=gt-Vt*lt;te=Bt,Jt=Vt*te+le}else if(Wt===0){var ae=(et-ct)/Rt,Fe=et-ae*Bt;te=lt,Jt=ae*te+Fe}else{var ae=(et-ct)/Rt,Vt=(gt-St)/Wt,Fe=et-ae*Bt,le=gt-Vt*lt;te=(le-Fe)/(ae-Vt),Jt=ae*te+Fe}return Pt.x=te,Pt.y=Jt,Pt}function pe(Bt,et,nt,ct,lt,gt,mt,St,Pt,Rt,Wt,te,Jt,Vt){var le=1-Pt,ae=Pt,Fe=Bt*le+nt*ae,De=et*le+ct*ae,Ee=nt*le+lt*ae,Sn=ct*le+gt*ae,rn=lt*le+mt*ae,Ge=gt*le+St*ae,sn=Fe*le+Ee*ae,$t=De*le+Sn*ae,It=Ee*le+rn*ae,Pe=Sn*le+Ge*ae,an=sn*le+It*ae,Ve=$t*le+Pe*ae;Rt.x=Fe,Rt.y=De,Wt.x=sn,Wt.y=$t,te.x=an,te.y=Ve,Jt.x=It,Jt.y=Pe,Vt.x=rn,Vt.y=Ge}var ne=new go.Spot(.156,.156),Ht=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new bn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;(isNaN(ct)||ct<0)&&(ct=5),ct=Math.min(ct,et/3),ct=Math.min(ct,nt/3);var lt=ct*oe,gt=new go.Geometry().add(new go.PathFigure(ct,0,!0).add(new go.PathSegment(go.PathSegment.Line,et-ct,0)).add(new go.PathSegment(go.PathSegment.Bezier,et,ct,et-lt,0,et,lt)).add(new go.PathSegment(go.PathSegment.Line,et,nt-ct)).add(new go.PathSegment(go.PathSegment.Bezier,et-ct,nt,et,nt-lt,et-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,ct,nt)).add(new go.PathSegment(go.PathSegment.Bezier,0,nt-ct,lt,nt,0,nt-lt)).add(new go.PathSegment(go.PathSegment.Line,0,ct)).add(new go.PathSegment(go.PathSegment.Bezier,ct,0,0,lt,lt,0).close()));return lt>1&&(gt.spot1=new go.Spot(0,0,lt,lt),gt.spot2=new go.Spot(1,1,-lt,-lt)),gt}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,.5*et,nt).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(et,nt).add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,et,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(et,nt).add(new go.PathSegment(go.PathSegment.Line,0,nt)).add(new go.PathSegment(go.PathSegment.Line,.5*et,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.5*et,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(Bt,et,nt){var ct=new go.Geometry(go.Geometry.Line);return ct.startX=0,ct.startY=nt/2,ct.endX=et,ct.endY=nt/2,ct}),go.Shape.defineFigureGenerator("LineV",function(Bt,et,nt){var ct=new go.Geometry(go.Geometry.Line);return ct.startX=et/2,ct.startY=0,ct.endX=et/2,ct.endY=nt,ct}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,nt/2,!1).add(new go.PathSegment(go.PathSegment.Line,et,nt/2)).add(new go.PathSegment(go.PathSegment.Move,et/2,0)).add(new go.PathSegment(go.PathSegment.Line,et/2,nt)))}),go.Shape.defineFigureGenerator("XLine",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,nt,!1).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)))}),go.Shape.defineFigureGenerator("LineRight",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.25*et,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,.25*et,nt)))}),go.Shape.defineFigureGenerator("LineDown",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,.25*nt,!1).add(new go.PathSegment(go.PathSegment.Line,.5*et,.75*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)))}),go.Shape.defineFigureGenerator("LineLeft",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.75*et,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,.75*et,nt)))}),go.Shape.defineFigureGenerator("LineUp",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,.75*nt,!1).add(new go.PathSegment(go.PathSegment.Line,.5*et,.25*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.75*nt)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(Bt,et,nt){var ct=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ct*et,(1-ct)*nt,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,ct*nt)).add(new go.PathSegment(go.PathSegment.Move,ct*et,ct*nt)).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,(1-ct)*nt)).add(new go.PathSegment(go.PathSegment.Move,0,nt/2)).add(new go.PathSegment(go.PathSegment.Line,et,nt/2)).add(new go.PathSegment(go.PathSegment.Move,et/2,0)).add(new go.PathSegment(go.PathSegment.Line,et/2,nt)))}),go.Shape.defineFigureGenerator("CircleLine",function(Bt,et,nt){var ct=et/2,lt=new go.Geometry().add(new go.PathFigure(et,et/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ct,ct,ct,ct).close()));return lt.spot1=ne,lt.spot2=Ht,lt.defaultStretch=go.GraphObject.Uniform,lt}),go.Shape.defineFigureGenerator("Line1",function(Bt,et,nt){var ct=new go.Geometry(go.Geometry.Line);return ct.startX=0,ct.startY=0,ct.endX=et,ct.endY=nt,ct}),go.Shape.defineFigureGenerator("Line2",function(Bt,et,nt){var ct=new go.Geometry(go.Geometry.Line);return ct.startX=et,ct.startY=0,ct.endX=0,ct.endY=nt,ct}),go.Shape.defineFigureGenerator("Curve1",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,et,nt,oe*et,0,et,(1-oe)*nt)))}),go.Shape.defineFigureGenerator("Curve2",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,et,nt,0,oe*nt,(1-oe)*et,nt)))}),go.Shape.defineFigureGenerator("Curve3",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(et,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,nt,et,oe*nt,oe*et,nt)))}),go.Shape.defineFigureGenerator("Curve4",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(et,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,nt,(1-oe)*et,0,0,(1-oe)*nt)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(et,0,!0).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new bn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)?ct=.1:ct<-1?ct=-1:ct>1&&(ct=1);var lt=Math.abs(ct)*et;if(ct===0){var gt=new go.Geometry(go.Geometry.Rectangle);return gt.startX=0,gt.startY=0,gt.endX=et,gt.endY=nt,gt}else{var gt=new go.Geometry;return ct>0?gt.add(new go.PathFigure(lt,0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())):gt.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et-lt,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,lt,nt).close())),ltet&&(ct=et);var lt=Math.abs(ct);if(ct===0){var gt=new go.Geometry(go.Geometry.Rectangle);return gt.startX=0,gt.startY=0,gt.endX=et,gt.endY=nt,gt}else{var gt=new go.Geometry;return ct>0?gt.add(new go.PathFigure(lt,0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())):gt.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et-lt,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,lt,nt).close())),lt.5&&(ct=.5);var lt=Math.abs(ct)*et;if(ct===0){var gt=new go.Geometry(go.Geometry.Rectangle);return gt.startX=0,gt.startY=0,gt.endX=et,gt.endY=nt,gt}else{var gt=new go.Geometry;return ct>0?gt.add(new go.PathFigure(lt,0).add(new go.PathSegment(go.PathSegment.Line,et-lt,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())):gt.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,lt,nt).close())),ltet&&(ct=et/2);var lt=Math.abs(ct);if(ct===0){var gt=new go.Geometry(go.Geometry.Rectangle);return gt.startX=0,gt.startY=0,gt.endX=et,gt.endY=nt,gt}else{var gt=new go.Geometry;return ct>0?gt.add(new go.PathFigure(lt,0).add(new go.PathSegment(go.PathSegment.Line,et-lt,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())):gt.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,lt,nt).close())),ltet&&(ct=et/2);var lt=Math.abs(ct);if(ct===0){var gt=new go.Geometry(go.Geometry.Rectangle);return gt.startX=0,gt.startY=0,gt.endX=et,gt.endY=nt,gt}else{var gt=new go.Geometry;return ct>0?gt.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,lt,nt).close())):gt.add(new go.PathFigure(lt,0).add(new go.PathSegment(go.PathSegment.Line,et-lt,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close())),lt0&&(mt.add(new go.PathSegment(go.PathSegment.Move,et/2+St,et/2)),mt.add(new go.PathSegment(go.PathSegment.Arc,0,-360,lt,lt,St,St).close())),gt.spot1=ne,gt.spot2=Ht,gt.defaultStretch=go.GraphObject.Uniform,gt}),go.Shape.defineFigureGenerator("Cloud",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.08034461*et,.1944299*nt,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*et,.05349299*nt,-.09239631*et,.07836421*nt,.1406031*et,-.0542823*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*et,.074219*nt,.2450511*et,-.00697547*nt,.3776197*et,-.01112067*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*et,.07004196*nt,.4539471*et,0,.6066018*et,-.02526587*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*et,.08370865*nt,.6914277*et,-.01904177*nt,.8921095*et,-.01220843*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*et,.3194596*nt,1.036446*et,.04105738*nt,1.020377*et,.3022052*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*et,.562044*nt,1.04448*et,.360238*nt,.992256*et,.5219009*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*et,.8217117*nt,1.032337*et,.5771781*nt,1.018411*et,.8120651*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*et,.9156953*nt,1.028411*et,.9571472*nt,.8556702*et,1.052487*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*et,.9310455*nt,.7431877*et,1.009325*nt,.5624123*et,1.021761*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*et,.9344623*nt,.4820677*et,1.031761*nt,.3030112*et,1.002796*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*et,.870098*nt,.2329994*et,1.01518*nt,.03213784*et,1.01518*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*et,.6545475*nt,-.02812061*et,.9032597*nt,-.01205169*et,.6835638*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*et,.4265613*nt,-.01812061*et,.6089503*nt,-.00606892*et,.4555777*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*et,.1944299*nt,-.01606892*et,.3892545*nt,-.01205169*et,.1944299*nt))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(Bt,et,nt){var ct=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ct*et,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,0)).add(new go.PathSegment(go.PathSegment.Line,et,ct*nt)).add(new go.PathSegment(go.PathSegment.Line,et,(1-ct)*nt)).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,nt)).add(new go.PathSegment(go.PathSegment.Line,ct*et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ct)*nt)).add(new go.PathSegment(go.PathSegment.Line,0,ct*nt).close())).setSpots(ct/2,ct/2,1-ct/2,1-ct/2)}),go.Shape.setFigureParameter("Pie",0,new bn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new bn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN,lt=Bt?Bt.parameter2:NaN;isNaN(ct)&&(ct=0),isNaN(lt)&&(lt=315);var gt=ct%360;gt<0&&(gt+=360);var mt=lt%360,St=Math.min(et,nt)/2;return new go.Geometry().add(new go.PathFigure(St,St).add(new go.PathSegment(go.PathSegment.Arc,gt,mt,St,St,St,St).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(Bt,et,nt){var ct=oe/Math.SQRT2*.5,lt=Math.SQRT2/2,gt=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(et,nt,!0).add(new go.PathSegment(go.PathSegment.Bezier,lt*et,gt*nt,et,(1-ct)*nt,(lt+ct)*et,(gt+ct)*nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close()))}),go.Shape.setFigureParameter("ThickCross",0,new bn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;(isNaN(ct)||ct<0)&&(ct=30);var lt=Math.min(ct,et)/2,gt=et/2,mt=nt/2;return new go.Geometry().add(new go.PathFigure(gt-lt,0,!0).add(new go.PathSegment(go.PathSegment.Line,gt+lt,0)).add(new go.PathSegment(go.PathSegment.Line,gt+lt,mt-lt)).add(new go.PathSegment(go.PathSegment.Line,et,mt-lt)).add(new go.PathSegment(go.PathSegment.Line,et,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,gt+lt,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,gt+lt,nt)).add(new go.PathSegment(go.PathSegment.Line,gt-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,gt-lt,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,0,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,0,mt-lt)).add(new go.PathSegment(go.PathSegment.Line,gt-lt,mt-lt).close()))}),go.Shape.setFigureParameter("ThinCross",0,new bn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;(isNaN(ct)||ct<0)&&(ct=10);var lt=Math.min(ct,et)/2,gt=et/2,mt=nt/2;return new go.Geometry().add(new go.PathFigure(gt-lt,0,!0).add(new go.PathSegment(go.PathSegment.Line,gt+lt,0)).add(new go.PathSegment(go.PathSegment.Line,gt+lt,mt-lt)).add(new go.PathSegment(go.PathSegment.Line,et,mt-lt)).add(new go.PathSegment(go.PathSegment.Line,et,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,gt+lt,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,gt+lt,nt)).add(new go.PathSegment(go.PathSegment.Line,gt-lt,nt)).add(new go.PathSegment(go.PathSegment.Line,gt-lt,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,0,mt+lt)).add(new go.PathSegment(go.PathSegment.Line,0,mt-lt)).add(new go.PathSegment(go.PathSegment.Line,gt-lt,mt-lt).close()))}),go.Shape.setFigureParameter("ThickX",0,new bn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;if((isNaN(ct)||ct<0)&&(ct=30),et===0||nt===0){var lt=new go.Geometry(go.Geometry.Rectangle);return lt.startX=0,lt.startY=0,lt.endX=et,lt.endY=nt,lt}else{var gt=et/2,mt=nt/2,St=Math.atan2(nt,et),Pt=ct-Math.min(Math.cos(St)*ct/2,gt),Rt=ct-Math.min(Math.sin(St)*ct/2,mt),lt=new go.Geometry,Wt=new go.PathFigure(Pt,0,!0);return lt.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Line,gt,.2*nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,et-Pt,0)),Wt.add(new go.PathSegment(go.PathSegment.Line,et,Rt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.8*et,mt)),Wt.add(new go.PathSegment(go.PathSegment.Line,et,nt-Rt)),Wt.add(new go.PathSegment(go.PathSegment.Line,et-Pt,nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,gt,.8*nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,Pt,nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,nt-Rt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.2*et,mt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,Rt).close()),lt}}),go.Shape.setFigureParameter("ThinX",0,new bn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;(isNaN(ct)||ct<0)&&(ct=10);var lt=new go.Geometry,gt=new go.PathFigure(.1*et,0,!0);return lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.1*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.9*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.1*et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.9*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.1*nt).close()),lt}),go.Shape.setFigureParameter("SquareIBeam",0,new bn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.2);var lt=new go.Geometry,gt=new go.PathFigure(0,0,!0);return lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,ct*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(.5+ct/2)*et,ct*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(.5+ct/2)*et,(1-ct)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,(1-ct)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,(1-ct)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(.5-ct/2)*et,(1-ct)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(.5-ct/2)*et,ct*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,ct*nt).close()),lt}),go.Shape.setFigureParameter("RoundedIBeam",0,new bn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.5);var lt=new go.Geometry,gt=new go.PathFigure(0,0,!0);return lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Bezier,et,nt,Math.abs(1-ct)*et,.25*nt,Math.abs(1-ct)*et,.75*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ct*et,.75*nt,ct*et,.25*nt).close()),lt}),go.Shape.defineFigureGenerator("HalfEllipse",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,oe*et,0,et,(.5-oe/2)*nt)).add(new go.PathSegment(go.PathSegment.Bezier,0,nt,et,(.5+oe/2)*nt,oe*et,nt).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,nt,et,0,et,nt)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*et,.75*nt,.5*et,.25*nt).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.5*et,nt,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*nt,.1*et,.8*nt,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.3*nt,0,0,.45*et,0)).add(new go.PathSegment(go.PathSegment.Bezier,et,.3*nt,.55*et,0,et,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,.5*nt,.9*et,.8*nt).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.5*et,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*et,.01*nt)).add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,.6*et,.2*nt,et,.25*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.55*et,.7*nt,et,.8*nt,.6*et,.8*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.75*et,nt,.5*et,.75*nt,.55*et,.95*nt)).add(new go.PathSegment(go.PathSegment.Line,.25*et,nt)).add(new go.PathSegment(go.PathSegment.Bezier,.45*et,.7*nt,.45*et,.95*nt,.5*et,.75*nt)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*nt,.4*et,.8*nt,0,.8*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.49*et,.01*nt,0,.25*nt,.4*et,.2*nt).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.4*et,.6*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.15*et,nt,.5*et,.75*nt,.45*et,.95*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.85*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.6*et,.6*nt,.55*et,.95*nt,.5*et,.75*nt));var gt=.2,mt=.3,St=0,Pt=gt*oe;return lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+mt)*et,(.5+gt+St)*nt,(.5-gt+mt)*et,(.5+Pt+St)*nt,(.5-Pt+mt)*et,(.5+gt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+gt+mt)*et,(.5+St)*nt,(.5+Pt+mt)*et,(.5+gt+St)*nt,(.5+gt+mt)*et,(.5+Pt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+mt)*et,(.5-gt+St)*nt,(1-.5+gt+mt)*et,(.5-Pt+St)*nt,(.5+Pt+mt)*et,(.5-gt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.65*et,.36771243*nt,(.5-Pt+mt)*et,(.5-gt+St)*nt,(.5-gt+mt+.05)*et,(.5-Pt+St-.02)*nt)),gt=.2,mt=0,St=-.3,Pt=gt*oe,lt.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+gt+mt)*et,(.5+St)*nt,(.5+Pt+mt)*et,(.5+gt+St)*nt,(.5+gt+mt)*et,(.5+Pt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+mt)*et,(.5-gt+St)*nt,(1-.5+gt+mt)*et,(.5-Pt+St)*nt,(.5+Pt+mt)*et,(.5-gt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-gt+mt)*et,(.5+St)*nt,(.5-Pt+mt)*et,(.5-gt+St)*nt,(.5-gt+mt)*et,(.5-Pt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Pt+mt)*et,(.5+gt+St)*nt,(.5-gt+mt)*et,(.5+Pt+St)*nt,(.5-Pt+mt)*et,(.5+gt+St)*nt)),gt=.2,mt=-.3,St=0,Pt=gt*oe,lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+mt)*et,(.5-gt+St)*nt,(1-.5+gt+mt-.05)*et,(.5-Pt+St-.02)*nt,(.5+Pt+mt)*et,(.5-gt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-gt+mt)*et,(.5+St)*nt,(.5-Pt+mt)*et,(.5-gt+St)*nt,(.5-gt+mt)*et,(.5-Pt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+mt)*et,(.5+gt+St)*nt,(.5-gt+mt)*et,(.5+Pt+St)*nt,(.5-Pt+mt)*et,(.5+gt+St)*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.4*et,.6*nt,(.5+Pt+mt)*et,(.5+gt+St)*nt,(.5+gt+mt)*et,(.5+Pt+St)*nt).close()),ct.setSpots(.06,.33,.93,.68),ct}),go.Shape.defineFigureGenerator("YinYang",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*.5,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Arc,270,180,et*.5,et*.5,et*.5,et*.5)),lt.add(new go.PathSegment(go.PathSegment.Arc,90,-180,et*.5,et*.75,et*.25,et*.25)),lt.add(new go.PathSegment(go.PathSegment.Arc,90,180,et*.5,et*.25,et*.25,et*.25));var gt=.1,mt=.5,St=.25;return lt.add(new go.PathSegment(go.PathSegment.Move,(mt+gt)*et,St*nt)),lt.add(new go.PathSegment(go.PathSegment.Arc,0,-360,et*mt,nt*St,gt*et,gt*et).close()),lt=new go.PathFigure(et*.5,0,!1),ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Arc,270,-180,et*.5,et*.5,et*.5,et*.5)),St=.75,lt=new go.PathFigure((mt+gt)*et,St*nt,!0),ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Arc,0,360,et*mt,nt*St,gt*et,gt*et).close()),ct.defaultStretch=go.GraphObject.Uniform,ct}),go.Shape.defineFigureGenerator("Peace",function(Bt,et,nt){var ct=.8535533905932737,lt=.5*et,gt=.5*nt;return new go.Geometry().add(new go.PathFigure(lt,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,lt,gt,lt,gt)).add(new go.PathSegment(go.PathSegment.Line,lt,nt)).add(new go.PathSegment(go.PathSegment.Move,lt,gt)).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,ct*nt)).add(new go.PathSegment(go.PathSegment.Move,lt,gt)).add(new go.PathSegment(go.PathSegment.Line,ct*et,ct*nt)))}),go.Shape.defineFigureGenerator("NotAllowed",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=.5,mt=.5,St=.5,Pt=new go.PathFigure(mt*et,(St-gt)*nt);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-gt)*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),gt=.4,lt=oe*.4;var Rt=Lt(),Wt=Lt(),te=Lt(),Jt=Lt();pe(mt,St-gt,mt+lt,St-gt,mt+gt,St-lt,mt+gt,St,.42,Rt,Wt,te,Jt,Jt);var Vt=Lt(),le=Lt(),ae=Lt();pe(mt,St-gt,mt+lt,St-gt,mt+gt,St-lt,mt+gt,St,.58,Jt,Jt,ae,Vt,le);var Fe=Lt(),De=Lt(),Ee=Lt();pe(mt,St+gt,mt-lt,St+gt,mt-gt,St+lt,mt-gt,St,.42,Fe,De,Ee,Jt,Jt);var Sn=Lt(),rn=Lt(),Ge=Lt();return pe(mt,St+gt,mt-lt,St+gt,mt-gt,St+lt,mt-gt,St,.58,Jt,Jt,Ge,Sn,rn),Pt.add(new go.PathSegment(go.PathSegment.Move,Ge.x*et,Ge.y*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,Sn.x*et,Sn.y*nt,rn.x*et,rn.y*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,te.x*et,te.y*nt,Rt.x*et,Rt.y*nt,Wt.x*et,Wt.y*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,Ge.x*et,Ge.y*nt).close()),Pt.add(new go.PathSegment(go.PathSegment.Move,Ee.x*et,Ee.y*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,ae.x*et,ae.y*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,Vt.x*et,Vt.y*nt,le.x*et,le.y*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,Ee.x*et,Ee.y*nt,Fe.x*et,Fe.y*nt,De.x*et,De.y*nt).close()),re(Rt),re(Wt),re(te),re(Jt),re(Vt),re(le),re(ae),re(Fe),re(De),re(Ee),re(Sn),re(rn),re(Ge),ct.defaultStretch=go.GraphObject.Uniform,ct}),go.Shape.defineFigureGenerator("Fragile",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*et,0)).add(new go.PathSegment(go.PathSegment.Line,.2*et,.15*nt)).add(new go.PathSegment(go.PathSegment.Line,.3*et,.25*nt)).add(new go.PathSegment(go.PathSegment.Line,.29*et,.33*nt)).add(new go.PathSegment(go.PathSegment.Line,.35*et,.25*nt)).add(new go.PathSegment(go.PathSegment.Line,.3*et,.15*nt)).add(new go.PathSegment(go.PathSegment.Line,.4*et,0)).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*et,.5*nt,et,.25*nt,.75*et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,.55*et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.7*et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)).add(new go.PathSegment(go.PathSegment.Line,.3*et,nt)).add(new go.PathSegment(go.PathSegment.Line,.3*et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.45*et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.45*et,.5*nt)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*et,.5*nt,0,.25*nt).close()))}),go.Shape.setFigureParameter("HourGlass",0,new bn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;(isNaN(ct)||ct<0)&&(ct=30),ct>et&&(ct=et);var lt=(et-ct)/2,gt=lt+ct;return new go.Geometry().add(new go.PathFigure(gt,.5*nt).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt)).add(new go.PathSegment(go.PathSegment.Line,lt,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,et,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,.55*nt).add(new go.PathSegment(go.PathSegment.Line,.6*et,0)).add(new go.PathSegment(go.PathSegment.Line,.3*et,.45*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.45*nt)).add(new go.PathSegment(go.PathSegment.Line,.4*et,nt)).add(new go.PathSegment(go.PathSegment.Line,.7*et,.55*nt).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.4,gt=.4,mt=.5,St=.5,Pt=Lt(),Rt=Lt(),Wt=Lt(),te=Lt(),Jt=new go.PathFigure((mt-gt)*et,St*nt,!1);ct.add(Jt),Jt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt)),pe(mt,St-gt,mt+lt,St-gt,mt+gt,St-lt,mt+gt,St,.44,Wt,te,Rt,Pt,Pt),Jt.add(new go.PathSegment(go.PathSegment.Bezier,Rt.x*et,Rt.y*nt,Wt.x*et,Wt.y*nt,te.x*et,te.y*nt));var Vt=Et(Rt.x,Rt.y);pe(mt,St-gt,mt+lt,St-gt,mt+gt,St-lt,mt+gt,St,.56,Pt,Pt,Rt,Wt,te);var le=Et(Rt.x,Rt.y);Jt.add(new go.PathSegment(go.PathSegment.Line,(Vt.x*.1+.95*.9)*et,Vt.y*.1*nt)),Jt.add(new go.PathSegment(go.PathSegment.Line,.85*et,Vt.y*.1*nt)),Jt.add(new go.PathSegment(go.PathSegment.Line,.85*et,0)),Jt.add(new go.PathSegment(go.PathSegment.Line,et,0)),Jt.add(new go.PathSegment(go.PathSegment.Line,et,.15*nt)),Jt.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.9)*et,.15*nt)),Jt.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.9)*et,(le.y*.1+.05*.9)*nt)),Jt.add(new go.PathSegment(go.PathSegment.Line,le.x*et,le.y*nt)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,Wt.x*et,Wt.y*nt,te.x*et,te.y*nt)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,(mt-lt)*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt)),gt=.35,lt=oe*.35;var ae=new go.PathFigure(mt*et,(St-gt)*nt,!1);ct.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),ae.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),ae.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-gt)*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt));var Fe=new go.PathFigure((mt-gt)*et,St*nt,!1);return ct.add(Fe),re(Pt),re(Rt),re(Wt),re(te),re(Vt),re(le),ct.spot1=new go.Spot(.202,.257),ct.spot2=new go.Spot(.792,.739),ct.defaultStretch=go.GraphObject.Uniform,ct}),go.Shape.defineFigureGenerator("GenderFemale",function(Bt,et,nt){var ct=new go.Geometry,lt=.375,gt=0,mt=-.125,St=lt*oe,Pt=new go.PathFigure((.525+gt)*et,(.5+lt+mt)*nt,!1);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+lt+gt)*et,(.5+mt)*nt,(.5+St+gt)*et,(.5+lt+mt)*nt,(.5+lt+gt)*et,(.5+St+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+gt)*et,(.5-lt+mt)*nt,(1-.5+lt+gt)*et,(.5-St+mt)*nt,(.5+St+gt)*et,(.5-lt+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-lt+gt)*et,(.5+mt)*nt,(.5-St+gt)*et,(.5-lt+mt)*nt,(.5-lt+gt)*et,(.5-St+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(.475+gt)*et,(.5+lt+mt)*nt,(.5-lt+gt)*et,(.5+St+mt)*nt,(.5-St+gt)*et,(.5+lt+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.475*et,.85*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.425*et,.85*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.425*et,.9*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.475*et,.9*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.475*et,nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.525*et,nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.525*et,.9*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.575*et,.9*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.575*et,.85*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.525*et,.85*nt).close()),lt=.325,gt=0,mt=-.125,St=lt*oe;var Pt=new go.PathFigure((1-.5+lt+gt)*et,(.5+mt)*nt,!1);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+gt)*et,(.5+lt+mt)*nt,(.5+lt+gt)*et,(.5+St+mt)*nt,(.5+St+gt)*et,(.5+lt+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-lt+gt)*et,(.5+mt)*nt,(.5-St+gt)*et,(.5+lt+mt)*nt,(.5-lt+gt)*et,(.5+St+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(.5+gt)*et,(.5-lt+mt)*nt,(.5-lt+gt)*et,(.5-St+mt)*nt,(.5-St+gt)*et,(.5-lt+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+lt+gt)*et,(.5+mt)*nt,(.5+St+gt)*et,(.5-lt+mt)*nt,(1-.5+lt+gt)*et,(.5-St+mt)*nt));var Pt=new go.PathFigure((.525+gt)*et,(.5+lt+mt)*nt,!1);return ct.add(Pt),ct.spot1=new go.Spot(.232,.136),ct.spot2=new go.Spot(.682,.611),ct.defaultStretch=go.GraphObject.Uniform,ct}),go.Shape.defineFigureGenerator("LogicImplies",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;return isNaN(ct)&&(ct=.2),new go.Geometry().add(new go.PathFigure((1-ct)*et,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,nt)).add(new go.PathSegment(go.PathSegment.Move,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;return isNaN(ct)&&(ct=.2),new go.Geometry().add(new go.PathFigure((1-ct)*et,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,(1-ct)*et,nt)).add(new go.PathSegment(go.PathSegment.Move,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Move,ct*et,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,ct*et,nt))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)))}),go.Shape.defineFigureGenerator("LogicAnd",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,nt,!1).add(new go.PathSegment(go.PathSegment.Line,.5*et,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)).add(new go.PathSegment(go.PathSegment.Line,et,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(Bt,et,nt){var ct=new go.Geometry().add(new go.PathFigure(.5*et,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)).add(new go.PathSegment(go.PathSegment.Move,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*et,.5*nt,.5*et,.5*nt)));return ct.defaultStretch=go.GraphObject.Uniform,ct}),go.Shape.defineFigureGenerator("LogicTruth",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Move,.5*et,0)).add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,nt,!1).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Move,.5*et,nt)).add(new go.PathSegment(go.PathSegment.Line,.5*et,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Move,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt)))}),go.Shape.defineFigureGenerator("LogicForAll",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Move,.25*et,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,.75*et,.5*nt))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)).add(new go.PathSegment(go.PathSegment.Move,0,nt)).add(new go.PathSegment(go.PathSegment.Line,et,nt))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(Bt,et,nt){var ct=.5;return new go.Geometry().add(new go.PathFigure(0,nt,!1).add(new go.PathSegment(go.PathSegment.Line,0,ct*nt)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ct*et,ct*nt,ct*et,ct*nt)).add(new go.PathSegment(go.PathSegment.Line,et,nt))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(Bt,et,nt){var ct=.5;return new go.Geometry().add(new go.PathFigure(et,0,!1).add(new go.PathSegment(go.PathSegment.Line,et,ct*nt)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ct*et,ct*nt,ct*et,ct*nt)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new bn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new bn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.3);var lt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=.3);var gt=(1-ct)*et,mt=(.5-lt/2)*nt,St=(.5+lt/2)*nt,Pt=new go.Geometry,Rt=new go.PathFigure(0,mt,!0);Pt.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,mt)),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,0)),Rt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,nt)),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,St)),Rt.add(new go.PathSegment(go.PathSegment.Line,0,St).close()),Pt.spot1=new go.Spot(0,mt/nt);var Wt=fe(0,St/nt,1,St/nt,gt/et,1,1,.5,Lt());return Pt.spot2=new go.Spot(Wt.x,Wt.y),re(Wt),Pt}),go.Shape.setFigureParameter("Arrow2",0,new bn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new bn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=30),ct>et&&(ct=et);var lt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=30),lt=Math.min(lt,nt/2);var gt=et-ct,mt=(nt-lt)/2,St=mt+lt,Pt=new go.Geometry,Rt=new go.PathFigure(0,mt,!0);Pt.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,mt)),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,0)),Rt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,nt)),Rt.add(new go.PathSegment(go.PathSegment.Line,gt,St)),Rt.add(new go.PathSegment(go.PathSegment.Line,0,St).close()),Pt.spot1=new go.Spot(0,mt/nt);var Wt=fe(0,St/nt,1,St/nt,gt/et,1,1,.5,Lt());return Pt.spot2=new go.Spot(Wt.x,Wt.y),re(Wt),Pt}),go.Shape.defineFigureGenerator("Chevron",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt).close()),ct}),go.Shape.defineFigureGenerator("DoubleArrow",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,.214*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,1*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,.786*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,1*nt).close()),ct}),go.Shape.setFigureParameter("DoubleEndArrow",0,new bn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.3);var lt=(.5-ct/2)*nt,gt=(.5+ct/2)*nt,mt=new go.Geometry,St=new go.PathFigure(et,.5*nt,!0);mt.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,gt)),St.add(new go.PathSegment(go.PathSegment.Line,.3*et,gt)),St.add(new go.PathSegment(go.PathSegment.Line,.3*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.3*et,0)),St.add(new go.PathSegment(go.PathSegment.Line,.3*et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,0).close());var Pt=fe(0,.5,.3,0,0,lt/nt,.1,lt/nt,Lt());return mt.spot1=new go.Spot(Pt.x,Pt.y),Pt=fe(.7,1,1,.5,0,gt/nt,1,gt/nt,Pt),mt.spot2=new go.Spot(Pt.x,Pt.y),re(Pt),mt}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new bn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new bn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=40);var lt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=100);var gt=(nt-ct)/2,mt=gt+ct,St=(nt-lt)/2,Pt=St+lt;(ct>nt||lt>nt)&&(lt>ct?(ct=ct*nt/lt,gt=(nt-ct)/2,mt=gt+ct,St=0,Pt=nt):(gt=0,mt=nt,St=0,Pt=nt));var Rt=new go.Geometry,Wt=new go.PathFigure(et,.5*nt,!0);Rt.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,Pt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,mt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.3*et,mt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.3*et,Pt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.3*et,St)),Wt.add(new go.PathSegment(go.PathSegment.Line,.3*et,gt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,gt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,St).close());var te=fe(0,.5,.3,St/nt,0,gt/nt,1,gt/nt,Lt());return Rt.spot1=new go.Spot(te.x,te.y),te=fe(.7,Pt/nt,1,.5,0,mt/nt,1,mt/nt,te),Rt.spot2=new go.Spot(te.x,te.y),re(te),Rt}),go.Shape.setFigureParameter("IBeamArrow",0,new bn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.3);var lt=(.5-ct/2)*nt,gt=(.5+ct/2)*nt,mt=new go.Geometry,St=new go.PathFigure(et,.5*nt,!0);mt.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,gt)),St.add(new go.PathSegment(go.PathSegment.Line,.2*et,gt)),St.add(new go.PathSegment(go.PathSegment.Line,.2*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,0,nt)),St.add(new go.PathSegment(go.PathSegment.Line,0,0)),St.add(new go.PathSegment(go.PathSegment.Line,.2*et,0)),St.add(new go.PathSegment(go.PathSegment.Line,.2*et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,0).close()),mt.spot1=new go.Spot(0,lt/nt);var Pt=fe(.7,1,1,.5,0,gt/nt,1,gt/nt,Lt());return mt.spot2=new go.Spot(Pt.x,Pt.y),re(Pt),mt}),go.Shape.setFigureParameter("IBeamArrow2",0,new bn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new bn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=40);var lt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=100);var gt=(nt-ct)/2,mt=gt+ct,St=(nt-lt)/2,Pt=St+lt;(ct>nt||lt>nt)&&(lt>ct?(ct=ct*nt/lt,gt=(nt-ct)/2,mt=gt+ct,St=0,Pt=nt):(gt=0,mt=nt,St=0,Pt=nt));var Rt=new go.Geometry,Wt=new go.PathFigure(et,.5*nt,!0);Rt.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,Pt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,mt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.2*et,mt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.2*et,Pt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,Pt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,St)),Wt.add(new go.PathSegment(go.PathSegment.Line,.2*et,St)),Wt.add(new go.PathSegment(go.PathSegment.Line,.2*et,gt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,gt)),Wt.add(new go.PathSegment(go.PathSegment.Line,.7*et,St).close()),Rt.spot1=new go.Spot(0,gt/nt);var te=fe(.7,Pt/nt,1,.5,0,mt/nt,1,mt/nt,Lt());return Rt.spot2=new go.Spot(te.x,te.y),re(te),Rt}),go.Shape.setFigureParameter("Pointer",0,new bn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.1);var lt=new go.Geometry,gt=new go.PathFigure(et,.5*nt,!0);lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,ct*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),lt.spot1=new go.Spot(ct,.35);var mt=fe(.2,.65,1,.65,0,1,1,.5,Lt());return lt.spot2=new go.Spot(mt.x,mt.y),re(mt),lt}),go.Shape.setFigureParameter("RoundedPointer",0,new bn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.3);var lt=new go.Geometry,gt=new go.PathFigure(et,.5*nt,!0);lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ct*et,.75*nt,ct*et,.25*nt).close()),lt.spot1=new go.Spot(ct,.35);var mt=fe(0,.65,1,.65,0,1,1,.5,Lt());return lt.spot2=new go.Spot(mt.x,mt.y),re(mt),lt}),go.Shape.setFigureParameter("SplitEndArrow",0,new bn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.4);var lt=(.5-ct/2)*nt,gt=(.5+ct/2)*nt,mt=new go.Geometry,St=new go.PathFigure(et,.5*nt,!0);mt.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,gt)),St.add(new go.PathSegment(go.PathSegment.Line,0,gt)),St.add(new go.PathSegment(go.PathSegment.Line,.2*et,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Line,0,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,0).close()),mt.spot1=new go.Spot(.2,.3);var Pt=fe(.7,1,1,.5,0,gt/nt,1,gt/nt,Lt());return mt.spot2=new go.Spot(Pt.x,Pt.y),re(Pt),mt}),go.Shape.setFigureParameter("SplitEndArrow2",0,new bn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=50);var lt=(nt-ct)/2,gt=lt+ct;ct>nt&&(lt=0,gt=nt);var mt=new go.Geometry,St=new go.PathFigure(et,.5*nt,!0);mt.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,gt)),St.add(new go.PathSegment(go.PathSegment.Line,0,gt)),St.add(new go.PathSegment(go.PathSegment.Line,.2*et,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Line,0,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,.7*et,0).close()),mt.spot1=new go.Spot(.2,lt/nt);var Pt=fe(.7,1,1,.5,0,gt/nt,1,gt/nt,Lt());return mt.spot2=new go.Spot(Pt.x,Pt.y),re(Pt),mt}),go.Shape.setFigureParameter("SquareArrow",0,new bn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.7);var lt=new go.Geometry,gt=new go.PathFigure(et,.5*nt,!0);return lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,ct*et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,0)),gt.add(new go.PathSegment(go.PathSegment.Line,ct*et,0).close()),lt.spot1=go.Spot.TopLeft,lt.spot2=new go.Spot(ct,1),lt}),go.Shape.defineFigureGenerator("Cone1",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=oe*.1,mt=new go.PathFigure(0,.9*nt,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,(.9+gt)*nt,(.5+lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*nt,(.5-lt)*et,nt,0,(.9+gt)*nt).close()),ct.spot1=new go.Spot(.25,.5),ct.spot2=new go.Spot(.75,.97),ct}),go.Shape.defineFigureGenerator("Cone2",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.9*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,.9*nt,(1-.85/.9)*et,nt,.85/.9*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.9*nt).close());var gt=new go.PathFigure(0,.9*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Bezier,et,.9*nt,(1-.85/.9)*et,.8*nt,.85/.9*et,.8*nt)),ct.spot1=new go.Spot(.25,.5),ct.spot2=new go.Spot(.75,.82),ct}),go.Shape.defineFigureGenerator("Cube1",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.15*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.15*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.85*nt).close());var gt=new go.PathFigure(.5*et,nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.15*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.15*nt)),ct.spot1=new go.Spot(0,.3),ct.spot2=new go.Spot(.5,.85),ct}),go.Shape.defineFigureGenerator("Cube2",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.3*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,0).close());var gt=new go.PathFigure(0,.3*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Move,.7*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.7*et,nt)),ct.spot1=new go.Spot(0,.3),ct.spot2=new go.Spot(.7,1),ct}),go.Shape.defineFigureGenerator("Cylinder1",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=5),ct=Math.min(ct,nt/3);var lt=new go.Geometry,gt=oe*.5,mt=new go.PathFigure(0,ct,!0);lt.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,0,oe*ct,(.5-gt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,1*et,ct,(.5+gt)*et,0,1*et,oe*ct)),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt-ct)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,1*nt,1*et,nt-oe*ct,(.5+gt)*et,1*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt-ct,(.5-gt)*et,1*nt,0,nt-oe*ct)),mt.add(new go.PathSegment(go.PathSegment.Line,0,ct));var St=new go.PathFigure(et,ct,!1);return lt.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,2*ct,1*et,2*ct-oe*ct,(.5+gt)*et,2*ct)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,ct,(.5-gt)*et,2*ct,0,2*ct-oe*ct)),lt.spot1=new go.Spot(0,0,0,2*ct),lt.spot2=new go.Spot(1,1),lt}),go.Shape.defineFigureGenerator("Cylinder2",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=5),ct=Math.min(ct,nt/3);var lt=new go.Geometry,gt=oe*.5,mt=new go.PathFigure(0,nt-ct,!0);lt.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,0,ct)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,0,oe*ct,(.5-gt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,ct,(.5+gt)*et,0,et,oe*ct)),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt-ct)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,nt-oe*ct,(.5+gt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt-ct,(.5-gt)*et,nt,0,nt-oe*ct));var St=new go.PathFigure(0,nt-ct,!1);return lt.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt-2*ct,0,nt-ct-oe*ct,(.5-gt)*et,nt-2*ct)),St.add(new go.PathSegment(go.PathSegment.Bezier,et,nt-ct,(.5+gt)*et,nt-2*ct,et,nt-ct-oe*ct)),lt.spot1=new go.Spot(0,0),lt.spot2=new go.Spot(1,1,0,-2*ct),lt}),go.Shape.defineFigureGenerator("Cylinder3",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=5),ct=Math.min(ct,et/3);var lt=new go.Geometry,gt=oe*.5,mt=new go.PathFigure(ct,0,!0);lt.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et-ct,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,et-oe*ct,0,et,(.5-gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et-ct,nt,et,(.5+gt)*nt,et-oe*ct,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,ct,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*nt,oe*ct,nt,0,(.5+gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,ct,0,0,(.5-gt)*nt,oe*ct,0));var St=new go.PathFigure(ct,0,!1);return lt.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,2*ct,.5*nt,ct+oe*ct,0,2*ct,(.5-gt)*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,ct,nt,2*ct,(.5+gt)*nt,ct+oe*ct,nt)),lt.spot1=new go.Spot(0,0,2*ct,0),lt.spot2=new go.Spot(1,1),lt}),go.Shape.defineFigureGenerator("Cylinder4",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=5),ct=Math.min(ct,et/3);var lt=new go.Geometry,gt=oe*.5,mt=new go.PathFigure(et-ct,0,!0);lt.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,et-oe*ct,0,et,(.5-gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et-ct,nt,et,(.5+gt)*nt,et-oe*ct,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,ct,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*nt,oe*ct,nt,0,(.5+gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,ct,0,0,(.5-gt)*nt,oe*ct,0)),mt.add(new go.PathSegment(go.PathSegment.Line,et-ct,0));var St=new go.PathFigure(et-ct,0,!1);return lt.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,et-2*ct,.5*nt,et-ct-oe*ct,0,et-2*ct,(.5-gt)*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,et-ct,nt,et-2*ct,(.5+gt)*nt,et-ct-oe*ct,nt)),lt.spot1=new go.Spot(0,0),lt.spot2=new go.Spot(1,1,-2*ct,0),lt}),go.Shape.defineFigureGenerator("Prism1",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.25*et,.25*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var gt=new go.PathFigure(.25*et,.25*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),ct.spot1=new go.Spot(.408,.172),ct.spot2=new go.Spot(.833,.662),ct}),go.Shape.defineFigureGenerator("Prism2",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.25*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var gt=new go.PathFigure(0,nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.25*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,0,.25*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.25*et,.5*nt)),ct.spot1=new go.Spot(.25,.5),ct.spot2=new go.Spot(.75,.75),ct}),go.Shape.defineFigureGenerator("Pyramid1",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.75*nt).close());var gt=new go.PathFigure(.5*et,0,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),ct.spot1=new go.Spot(.25,.367),ct.spot2=new go.Spot(.75,.875),ct}),go.Shape.defineFigureGenerator("Pyramid2",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.85*nt).close());var gt=new go.PathFigure(.5*et,0,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.7*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.85*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.7*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.85*nt)),ct.spot1=new go.Spot(.25,.367),ct.spot2=new go.Spot(.75,.875),ct}),go.Shape.defineFigureGenerator("Actor",function(Bt,et,nt){var ct=new go.Geometry,lt=.2,gt=.1,mt=oe*lt,St=oe*gt,Pt=.5,Rt=.1,Wt=new go.PathFigure(Pt*et,(Rt+gt)*nt,!0);ct.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-lt)*et,Rt*nt,(Pt-mt)*et,(Rt+gt)*nt,(Pt-lt)*et,(Rt+St)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-gt)*nt,(Pt-lt)*et,(Rt-St)*nt,(Pt-mt)*et,(Rt-gt)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+lt)*et,Rt*nt,(Pt+mt)*et,(Rt-gt)*nt,(Pt+lt)*et,(Rt-St)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt+gt)*nt,(Pt+lt)*et,(Rt+St)*nt,(Pt+mt)*et,(Rt+gt)*nt));var te=.05,Jt=oe*te;Pt=.05,Rt=.25;var Vt=new go.PathFigure(.5*et,.2*nt,!0);return ct.add(Vt),Vt.add(new go.PathSegment(go.PathSegment.Line,.95*et,.2*nt)),Pt=.95,Rt=.25,Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+te)*et,Rt*nt,(Pt+Jt)*et,(Rt-te)*nt,(Pt+te)*et,(Rt-Jt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,et,.6*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.6*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.35*nt)),te=.025,Jt=oe*te,Pt=.825,Rt=.35,Vt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-te)*nt,(Pt+te)*et,(Rt-Jt)*nt,(Pt+Jt)*et,(Rt-te)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-te)*et,Rt*nt,(Pt-Jt)*et,(Rt-te)*nt,(Pt-te)*et,(Rt-Jt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.8*et,nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.55*et,nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.7*nt)),te=.05,Jt=oe*te,Pt=.5,Rt=.7,Vt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-te)*nt,(Pt+te)*et,(Rt-Jt)*nt,(Pt+Jt)*et,(Rt-te)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-te)*et,Rt*nt,(Pt-Jt)*et,(Rt-te)*nt,(Pt-te)*et,(Rt-Jt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.45*et,nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.2*et,nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.35*nt)),te=.025,Jt=oe*te,Pt=.175,Rt=.35,Vt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-te)*nt,(Pt+te)*et,(Rt-Jt)*nt,(Pt+Jt)*et,(Rt-te)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-te)*et,Rt*nt,(Pt-Jt)*et,(Rt-te)*nt,(Pt-te)*et,(Rt-Jt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.15*et,.6*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,0,.6*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,0,.25*nt)),te=.05,Jt=oe*te,Pt=.05,Rt=.25,Vt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-te)*nt,(Pt-te)*et,(Rt-Jt)*nt,(Pt-Jt)*et,(Rt-te)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.2*nt)),ct.spot1=new go.Spot(.2,.2),ct.spot2=new go.Spot(.8,.65),ct}),go.Shape.setFigureParameter("Card",0,new bn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;isNaN(ct)&&(ct=.2);var lt=new go.Geometry,gt=new go.PathFigure(et,0,!0);return lt.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,ct*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,ct*et,0).close()),lt.spot1=new go.Spot(0,ct),lt.spot2=go.Spot.BottomRight,lt}),go.Shape.defineFigureGenerator("Collate",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,.5*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt));var gt=new go.PathFigure(.5*et,.5*nt,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),ct.spot1=new go.Spot(.25,0),ct.spot2=new go.Spot(.75,.25),ct}),go.Shape.defineFigureGenerator("CreateRequest",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.1);var gt=new go.PathFigure(0,0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var mt=new go.PathFigure(0,lt*nt,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,lt*nt)),mt.add(new go.PathSegment(go.PathSegment.Move,0,(1-lt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,(1-lt)*nt)),ct}),go.Shape.defineFigureGenerator("Database",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=oe*.1,mt=new go.PathFigure(et,.1*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,(.9+gt)*nt,(.5+lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*nt,(.5-lt)*et,nt,0,(.9+gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,.1*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,0,(.1-gt)*nt,(.5-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,.1*nt,(.5+lt)*et,0,et,(.1-gt)*nt));var St=new go.PathFigure(et,.1*nt,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.2*nt,et,(.1+gt)*nt,(.5+lt)*et,.2*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*nt,(.5-lt)*et,.2*nt,0,(.1+gt)*nt)),St.add(new go.PathSegment(go.PathSegment.Move,et,.2*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.3*nt,et,(.2+gt)*nt,(.5+lt)*et,.3*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*nt,(.5-lt)*et,.3*nt,0,(.2+gt)*nt)),St.add(new go.PathSegment(go.PathSegment.Move,et,.3*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.4*nt,et,(.3+gt)*nt,(.5+lt)*et,.4*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*nt,(.5-lt)*et,.4*nt,0,(.3+gt)*nt)),ct.spot1=new go.Spot(0,.4),ct.spot2=new go.Spot(1,.9),ct}),go.Shape.defineFigureGenerator("DataStorage",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.75*et,nt,et,0,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*et,.9*nt,.25*et,.1*nt).close()),ct.spot1=new go.Spot(.226,0),ct.spot2=new go.Spot(.81,1),ct}),go.Shape.defineFigureGenerator("DiskStorage",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=oe*.1,mt=new go.PathFigure(et,.1*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,(.9+gt)*nt,(.5+lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*nt,(.5-lt)*et,nt,0,(.9+gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,.1*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,0,(.1-gt)*nt,(.5-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,.1*nt,(.5+lt)*et,0,et,(.1-gt)*nt));var St=new go.PathFigure(et,.1*nt,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.2*nt,et,(.1+gt)*nt,(.5+lt)*et,.2*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*nt,(.5-lt)*et,.2*nt,0,(.1+gt)*nt)),St.add(new go.PathSegment(go.PathSegment.Move,et,.2*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.3*nt,et,(.2+gt)*nt,(.5+lt)*et,.3*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*nt,(.5-lt)*et,.3*nt,0,(.2+gt)*nt)),ct.spot1=new go.Spot(0,.3),ct.spot2=new go.Spot(1,.9),ct}),go.Shape.defineFigureGenerator("Display",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.25*et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.75*et,nt,et,0,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.25*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt).close()),ct.spot1=new go.Spot(.25,0),ct.spot2=new go.Spot(.75,1),ct}),go.Shape.defineFigureGenerator("DividedEvent",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)?lt=.2:lt<.15&&(lt=.15);var gt=oe*.2,mt=new go.PathFigure(0,.2*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,.2*et,0,0,(.2-gt)*nt,(.2-gt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,.8*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,.2*nt,(.8+gt)*et,0,et,(.2-gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,.8*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,nt,et,(.8+gt)*nt,(.8+gt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.2*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*nt,(.2-gt)*et,nt,0,(.8+gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,.2*nt));var St=new go.PathFigure(0,lt*nt,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et,lt*nt)),ct}),go.Shape.defineFigureGenerator("DividedProcess",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;(isNaN(lt)||lt<.1)&&(lt=.1);var gt=new go.PathFigure(0,0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var mt=new go.PathFigure(0,lt*nt,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,lt*nt)),ct}),go.Shape.defineFigureGenerator("Document",function(Bt,et,nt){var ct=new go.Geometry;nt=nt/.8;var lt=new go.PathFigure(0,.7*nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*nt,.5*et,.4*nt,.5*et,nt).close()),ct.spot1=go.Spot.TopLeft,ct.spot2=new go.Spot(1,.6),ct}),go.Shape.defineFigureGenerator("ExternalOrganization",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;(isNaN(lt)||lt<.2)&&(lt=.2);var gt=new go.PathFigure(0,0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var mt=new go.PathFigure(lt*et,0,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,0,lt*nt)),mt.add(new go.PathSegment(go.PathSegment.Move,et,lt*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,(1-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Move,0,(1-lt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,lt*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Move,(1-lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,(1-lt)*nt)),ct}),go.Shape.defineFigureGenerator("ExternalProcess",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt).close());var gt=new go.PathFigure(.1*et,.4*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.9*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.6*et,.1*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.1*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.4*et,.9*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.9*nt)),ct.spot1=new go.Spot(.25,.25),ct.spot2=new go.Spot(.75,.75),ct}),go.Shape.defineFigureGenerator("File",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var gt=new go.PathFigure(.75*et,0,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.25*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)),ct.spot1=new go.Spot(0,.25),ct.spot2=go.Spot.BottomRight,ct}),go.Shape.defineFigureGenerator("Interrupt",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et,.5*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt));var gt=new go.PathFigure(et,.5*nt,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt));var mt=new go.PathFigure(et,.5*nt,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,0)),ct.spot1=new go.Spot(0,.25),ct.spot2=new go.Spot(.5,.75),ct}),go.Shape.defineFigureGenerator("InternalStorage",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN,gt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=.1),isNaN(gt)&&(gt=.1);var mt=new go.PathFigure(0,0,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var St=new go.PathFigure(lt*et,0,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,lt*et,nt)),St.add(new go.PathSegment(go.PathSegment.Move,0,gt*nt)),St.add(new go.PathSegment(go.PathSegment.Line,et,gt*nt)),ct}),go.Shape.defineFigureGenerator("Junction",function(Bt,et,nt){var ct=new go.Geometry,lt=1/Math.SQRT2,gt=(1-1/Math.SQRT2)/2,mt=oe*.5,St=.5,Pt=new go.PathFigure(et,St*nt,!0);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,St*et,nt,et,(St+mt)*nt,(St+mt)*et,nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,0,St*nt,(St-mt)*et,nt,0,(St+mt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,St*et,0,0,(St-mt)*nt,(St-mt)*et,0)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,et,St*nt,(St+mt)*et,0,et,(St-mt)*nt));var Rt=new go.PathFigure((gt+lt)*et,(gt+lt)*nt,!1);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Line,gt*et,gt*nt)),Rt.add(new go.PathSegment(go.PathSegment.Move,gt*et,(gt+lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Line,(gt+lt)*et,gt*nt)),ct}),go.Shape.defineFigureGenerator("LinedDocument",function(Bt,et,nt){var ct=new go.Geometry;nt=nt/.8;var lt=new go.PathFigure(0,.7*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*nt,.5*et,.4*nt,.5*et,nt).close());var gt=new go.PathFigure(.1*et,0,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.75*nt)),ct.spot1=new go.Spot(.1,0),ct.spot2=new go.Spot(1,.6),ct}),go.Shape.defineFigureGenerator("LoopLimit",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.25*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt).close()),ct.spot1=new go.Spot(0,.25),ct.spot2=go.Spot.BottomRight,ct}),go.Shape.defineFigureGenerator("MagneticTape",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=.5,mt=new go.PathFigure(.5*et,nt,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,gt*nt,(gt-lt)*et,nt,0,(gt+lt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,gt*et,0,0,(gt-lt)*nt,(gt-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,gt*nt,(gt+lt)*et,0,et,(gt-lt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,(gt+.1)*et,.9*nt,et,(gt+lt)*nt,(gt+lt)*et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),ct.spot1=new go.Spot(.15,.15),ct.spot2=new go.Spot(.85,.8),ct}),go.Shape.defineFigureGenerator("ManualInput",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.25*nt).close()),ct.spot1=new go.Spot(0,.25),ct.spot2=go.Spot.BottomRight,ct}),go.Shape.defineFigureGenerator("MessageFromUser",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.7);var gt=new go.PathFigure(0,0,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,lt*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct.spot1=go.Spot.TopLeft,ct}),go.Shape.defineFigureGenerator("MicroformProcessing",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.25);var gt=new go.PathFigure(0,0,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,lt*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,(1-lt)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct}),go.Shape.defineFigureGenerator("MicroformRecording",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.15*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct.spot1=new go.Spot(0,.25),ct.spot2=new go.Spot(1,.75),ct}),go.Shape.defineFigureGenerator("MultiDocument",function(Bt,et,nt){var ct=new go.Geometry;nt=nt/.8;var lt=new go.PathFigure(et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.9*et,.44*nt,.96*et,.47*nt,.93*et,.45*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.54*nt,.86*et,.57*nt,.83*et,.55*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*nt,.4*et,.4*nt,.4*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,0).close());var gt=new go.PathFigure(.1*et,.2*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.2*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.54*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.1*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.1*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.44*nt)),ct.spot1=new go.Spot(0,.25),ct.spot2=new go.Spot(.8,.77),ct}),go.Shape.defineFigureGenerator("MultiProcess",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.1*et,.1*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.9*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.9*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.2*nt).close());var gt=new go.PathFigure(.2*et,.1*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.1*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.8*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.1*et,.2*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.2*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.9*nt)),ct.spot1=new go.Spot(0,.2),ct.spot2=new go.Spot(.8,1),ct}),go.Shape.defineFigureGenerator("OfflineStorage",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.1);var gt=1-lt,mt=new go.PathFigure(0,0,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt).close());var St=new go.PathFigure(.5*lt*et,lt*nt,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,(1-.5*lt)*et,lt*nt)),ct}),go.Shape.defineFigureGenerator("OffPageConnector",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct.spot1=go.Spot.TopLeft,ct.spot2=new go.Spot(.75,1),ct}),go.Shape.defineFigureGenerator("Or",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=.5,mt=new go.PathFigure(et,gt*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,gt*et,nt,et,(gt+lt)*nt,(gt+lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,gt*nt,(gt-lt)*et,nt,0,(gt+lt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,gt*et,0,0,(gt-lt)*nt,(gt-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,gt*nt,(gt+lt)*et,0,et,(gt-lt)*nt));var St=new go.PathFigure(et,.5*nt,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Move,.5*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),ct}),go.Shape.defineFigureGenerator("PaperTape",function(Bt,et,nt){var ct=new go.Geometry;nt=nt/.8;var lt=new go.PathFigure(0,.7*nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.3*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,.3*nt,.5*et,.6*nt,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*nt,.5*et,.4*nt,.5*et,nt).close()),ct.spot1=new go.Spot(0,.49),ct.spot2=new go.Spot(1,.75),ct}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN,gt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=.1),isNaN(gt)&&(gt=.3);var mt=new go.PathFigure(0,0,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,(1-gt)*et,.5*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN,gt=Bt?Bt.parameter2:NaN;isNaN(lt)&&(lt=.1),isNaN(gt)&&(gt=.3);var mt=new go.PathFigure(0,0,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,(1-gt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,(1-gt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct}),go.Shape.defineFigureGenerator("Procedure",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.1);var gt=new go.PathFigure(0,0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var mt=new go.PathFigure((1-lt)*et,0,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,(1-lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Move,lt*et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,lt*et,nt)),ct}),go.Shape.defineFigureGenerator("Process",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.1);var gt=new go.PathFigure(0,0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var mt=new go.PathFigure(lt*et,0,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,lt*et,nt)),ct.spot2=go.Spot.BottomRight,ct}),go.Shape.defineFigureGenerator("Sort",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt).close());var gt=new go.PathFigure(0,.5*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),ct.spot1=new go.Spot(.25,.25),ct.spot2=new go.Spot(.75,.5),ct}),go.Shape.defineFigureGenerator("Start",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.25);var gt=new go.PathFigure(lt*et,0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*et,.5*nt,.25*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*et,.5*nt,.25*et,.5*nt));var mt=new go.PathFigure(lt*et,0,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,lt*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Move,(1-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,(1-lt)*et,nt)),ct.spot1=new go.Spot(lt,0),ct.spot2=new go.Spot(1-lt,1),ct}),go.Shape.defineFigureGenerator("Terminator",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.25*et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*et,.5*nt,.25*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*et,.5*nt,.25*et,.5*nt)),ct.spot1=new go.Spot(.23,0),ct.spot2=new go.Spot(.77,1),ct}),go.Shape.defineFigureGenerator("TransmittalTape",function(Bt,et,nt){var ct=new go.Geometry,lt=Bt?Bt.parameter1:NaN;isNaN(lt)&&(lt=.1);var gt=new go.PathFigure(0,0,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.75*et,(1-lt)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,(1-lt)*nt).close()),ct.spot1=go.Spot.TopLeft,ct}),go.Shape.defineFigureGenerator("AndGate",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=new go.PathFigure(0,0,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),gt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,(.5+lt)*et,0,et,(.5-lt)*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,(.5+lt)*nt,(.5+lt)*et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct.spot1=go.Spot.TopLeft,ct.spot2=new go.Spot(.55,1),ct}),go.Shape.defineFigureGenerator("Buffer",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct.spot1=new go.Spot(0,.25),ct.spot2=new go.Spot(.5,.75),ct}),go.Shape.defineFigureGenerator("Clock",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=.5,mt=new go.PathFigure(et,gt*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,gt*et,nt,et,(gt+lt)*nt,(gt+lt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,gt*nt,(gt-lt)*et,nt,0,(gt+lt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,gt*et,0,0,(gt-lt)*nt,(gt-lt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,gt*nt,(gt+lt)*et,0,et,(gt-lt)*nt));var St=new go.PathFigure(et,gt*nt,!1);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et,gt*nt));var Pt=new go.PathFigure(.8*et,.75*nt,!1);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.25*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.25*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.75*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.75*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.25*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.25*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.75*nt)),ct}),go.Shape.defineFigureGenerator("Ground",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.3*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.4*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,nt)),ct}),go.Shape.defineFigureGenerator("Inverter",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.1,gt=.1,mt=.9,St=.5,Pt=new go.PathFigure(.8*et,.5*nt,!0);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.5*nt));var Rt=new go.PathFigure((mt+gt)*et,St*nt,!0);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,(mt-lt)*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,(mt+lt)*et,(St-gt)*nt,(mt+gt)*et,(St-lt)*nt)),ct.spot1=new go.Spot(0,.25),ct.spot2=new go.Spot(.4,.75),ct}),go.Shape.defineFigureGenerator("NandGate",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=oe*.4,mt=oe*.1,St=.1,Pt=.9,Rt=.5,Wt=new go.PathFigure(.8*et,.5*nt,!0);ct.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Bezier,.4*et,nt,.8*et,(.5+gt)*nt,(.4+lt)*et,nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),Wt.add(new go.PathSegment(go.PathSegment.Line,0,0)),Wt.add(new go.PathSegment(go.PathSegment.Line,.4*et,0)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.5*nt,(.4+lt)*et,0,.8*et,(.5-gt)*nt));var te=new go.PathFigure((Pt+St)*et,Rt*nt,!0);return ct.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt+St)*nt,(Pt+St)*et,(Rt+mt)*nt,(Pt+mt)*et,(Rt+St)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-St)*et,Rt*nt,(Pt-mt)*et,(Rt+St)*nt,(Pt-St)*et,(Rt+mt)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-St)*nt,(Pt-St)*et,(Rt-mt)*nt,(Pt-mt)*et,(Rt-St)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+St)*et,Rt*nt,(Pt+mt)*et,(Rt-St)*nt,(Pt+St)*et,(Rt-mt)*nt)),ct.spot1=new go.Spot(0,.05),ct.spot2=new go.Spot(.55,.95),ct}),go.Shape.defineFigureGenerator("NorGate",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*lt,mt=0,St=.5,Pt=new go.PathFigure(.8*et,.5*nt,!0);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt,.7*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*et,.75*nt,.25*et,.25*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.5*nt,(mt+gt)*et,(St-lt)*nt,.7*et,(St-gt)*nt)),lt=.1,gt=oe*.1,mt=.9,St=.5;var Rt=new go.PathFigure((mt-lt)*et,St*nt,!0);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt)*et,St*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-lt)*et,St*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt)),ct.spot1=new go.Spot(.2,.25),ct.spot2=new go.Spot(.6,.75),ct}),go.Shape.defineFigureGenerator("OrGate",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*lt,mt=0,St=.5,Pt=new go.PathFigure(0,0,!0);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,(mt+gt+gt)*et,(St-lt)*nt,.8*et,(St-gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt,.8*et,(St+gt)*nt,(mt+gt+gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*et,.75*nt,.25*et,.25*nt).close()),ct.spot1=new go.Spot(.2,.25),ct.spot2=new go.Spot(.75,.75),ct}),go.Shape.defineFigureGenerator("XnorGate",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*lt,mt=.2,St=.5,Pt=new go.PathFigure(.1*et,0,!1);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,.1*et,nt,.35*et,.25*nt,.35*et,.75*nt));var Rt=new go.PathFigure(.8*et,.5*nt,!0);ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.2*et,nt,.7*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.2*et,0,.45*et,.75*nt,.45*et,.25*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.5*nt,(mt+gt)*et,(St-lt)*nt,.7*et,(St-gt)*nt)),lt=.1,gt=oe*.1,mt=.9,St=.5;var Wt=new go.PathFigure((mt-lt)*et,St*nt,!0);return ct.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt)*et,St*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-lt)*et,St*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt)),ct.spot1=new go.Spot(.4,.25),ct.spot2=new go.Spot(.65,.75),ct}),go.Shape.defineFigureGenerator("XorGate",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*lt,mt=.2,St=.5,Pt=new go.PathFigure(.1*et,0,!1);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,.1*et,nt,.35*et,.25*nt,.35*et,.75*nt));var Rt=new go.PathFigure(.2*et,0,!0);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,(mt+gt)*et,(St-lt)*nt,.9*et,(St-gt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.2*et,nt,.9*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.2*et,0,.45*et,.75*nt,.45*et,.25*nt).close()),ct.spot1=new go.Spot(.4,.25),ct.spot2=new go.Spot(.8,.75),ct}),go.Shape.defineFigureGenerator("Capacitor",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),ct}),go.Shape.defineFigureGenerator("Resistor",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.5*nt,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.5*nt)),ct}),go.Shape.defineFigureGenerator("Inductor",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.1,gt=.1,mt=.1,St=.5,Pt=new go.PathFigure((mt-lt*.5)*et,nt,!1);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,0,(mt-lt)*et,nt,(mt-gt)*et,0)),mt=.3,Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,nt,(mt+gt)*et,0,(mt+lt)*et,nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,0,(mt-lt)*et,nt,(mt-gt)*et,0)),mt=.5,Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,nt,(mt+gt)*et,0,(mt+lt)*et,nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,0,(mt-lt)*et,nt,(mt-gt)*et,0)),mt=.7,Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,nt,(mt+gt)*et,0,(mt+lt)*et,nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,0,(mt-lt)*et,nt,(mt-gt)*et,0)),mt=.9,Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt*.5)*et,nt,(mt+gt)*et,0,(mt+lt)*et,nt)),ct}),go.Shape.defineFigureGenerator("ACvoltageSource",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.5,gt=.5,mt=.5,St=.5,Pt=new go.PathFigure((mt-gt)*et,St*nt,!1);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,(mt+lt)*et,(St-gt)*nt,(mt+gt)*et,(St-lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,(mt-lt)*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Move,(mt-gt+.1)*et,St*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt-.1)*et,St*nt,mt*et,(St-gt)*nt,mt*et,(St+gt)*nt)),ct}),go.Shape.defineFigureGenerator("DCvoltageSource",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.75*nt,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),ct}),go.Shape.defineFigureGenerator("Diode",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),ct.spot1=new go.Spot(0,.25),ct.spot2=new go.Spot(.5,.75),ct}),go.Shape.defineFigureGenerator("Wifi",function(Bt,et,nt){var ct=new go.Geometry,lt=et,gt=nt;et=et*.38,nt=nt*.6;var mt=oe*.8,St=.8,Pt=0,Rt=.5,Wt=(lt-et)/2,te=(gt-nt)/2,Jt=new go.PathFigure(Pt*et+Wt,(Rt+St)*nt+te,!0);ct.add(Jt),Jt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-St)*et+Wt,Rt*nt+te,(Pt-mt)*et+Wt,(Rt+St)*nt+te,(Pt-St)*et+Wt,(Rt+mt)*nt+te)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt-St)*nt+te,(Pt-St)*et+Wt,(Rt-mt)*nt+te,(Pt-mt)*et+Wt,(Rt-St)*nt+te)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-St+mt*.5)*et+Wt,Rt*nt+te,Pt*et+Wt,(Rt-St)*nt+te,(Pt-St+mt*.5)*et+Wt,(Rt-mt)*nt+te)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt+St)*nt+te,(Pt-St+mt*.5)*et+Wt,(Rt+mt)*nt+te,Pt*et+Wt,(Rt+St)*nt+te).close()),mt=oe*.4,St=.4,Pt=.2,Rt=.5;var Vt=new go.PathFigure(Pt*et+Wt,(Rt+St)*nt+te,!0);ct.add(Vt),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-St)*et+Wt,Rt*nt+te,(Pt-mt)*et+Wt,(Rt+St)*nt+te,(Pt-St)*et+Wt,(Rt+mt)*nt+te)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt-St)*nt+te,(Pt-St)*et+Wt,(Rt-mt)*nt+te,(Pt-mt)*et+Wt,(Rt-St)*nt+te)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-St+mt*.5)*et+Wt,Rt*nt+te,Pt*et+Wt,(Rt-St)*nt+te,(Pt-St+mt*.5)*et+Wt,(Rt-mt)*nt+te)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt+St)*nt+te,(Pt-St+mt*.5)*et+Wt,(Rt+mt)*nt+te,Pt*et+Wt,(Rt+St)*nt+te).close()),mt=oe*.2,St=.2,Pt=.5,Rt=.5;var le=new go.PathFigure((Pt-St)*et+Wt,Rt*nt+te,!0);ct.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt-St)*nt+te,(Pt-St)*et+Wt,(Rt-mt)*nt+te,(Pt-mt)*et+Wt,(Rt-St)*nt+te)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+St)*et+Wt,Rt*nt+te,(Pt+mt)*et+Wt,(Rt-St)*nt+te,(Pt+St)*et+Wt,(Rt-mt)*nt+te)),le.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt+St)*nt+te,(Pt+St)*et+Wt,(Rt+mt)*nt+te,(Pt+mt)*et+Wt,(Rt+St)*nt+te)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-St)*et+Wt,Rt*nt+te,(Pt-mt)*et+Wt,(Rt+St)*nt+te,(Pt-St)*et+Wt,(Rt+mt)*nt+te)),mt=oe*.4,St=.4,Pt=.8,Rt=.5;var ae=new go.PathFigure(Pt*et+Wt,(Rt-St)*nt+te,!0);ct.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+St)*et+Wt,Rt*nt+te,(Pt+mt)*et+Wt,(Rt-St)*nt+te,(Pt+St)*et+Wt,(Rt-mt)*nt+te)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt+St)*nt+te,(Pt+St)*et+Wt,(Rt+mt)*nt+te,(Pt+mt)*et+Wt,(Rt+St)*nt+te)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+St-mt*.5)*et+Wt,Rt*nt+te,Pt*et+Wt,(Rt+St)*nt+te,(Pt+St-mt*.5)*et+Wt,(Rt+mt)*nt+te)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt-St)*nt+te,(Pt+St-mt*.5)*et+Wt,(Rt-mt)*nt+te,Pt*et+Wt,(Rt-St)*nt+te).close()),mt=oe*.8,St=.8,Pt=1,Rt=.5;var Fe=new go.PathFigure(Pt*et+Wt,(Rt-St)*nt+te,!0);return ct.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+St)*et+Wt,Rt*nt+te,(Pt+mt)*et+Wt,(Rt-St)*nt+te,(Pt+St)*et+Wt,(Rt-mt)*nt+te)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt+St)*nt+te,(Pt+St)*et+Wt,(Rt+mt)*nt+te,(Pt+mt)*et+Wt,(Rt+St)*nt+te)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+St-mt*.5)*et+Wt,Rt*nt+te,Pt*et+Wt,(Rt+St)*nt+te,(Pt+St-mt*.5)*et+Wt,(Rt+mt)*nt+te)),Fe.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et+Wt,(Rt-St)*nt+te,(Pt+St-mt*.5)*et+Wt,(Rt-mt)*nt+te,Pt*et+Wt,(Rt-St)*nt+te).close()),ct}),go.Shape.defineFigureGenerator("Email",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var gt=new go.PathFigure(0,0,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,0)),gt.add(new go.PathSegment(go.PathSegment.Move,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.54*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.54*nt)),ct}),go.Shape.defineFigureGenerator("Ethernet",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.35*et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.65*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.35*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.35*et,0).close());var gt=new go.PathFigure(.1*et,nt,!0,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.4*et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.1*et,nt).close());var mt=new go.PathFigure(.6*et,nt,!0,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.9*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.6*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.6*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.6*et,nt).close());var St=new go.PathFigure(0,.5*nt,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Move,.5*et,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.5*et,.4*nt)),St.add(new go.PathSegment(go.PathSegment.Move,.75*et,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.75*et,.6*nt)),St.add(new go.PathSegment(go.PathSegment.Move,.25*et,.5*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.25*et,.6*nt)),ct}),go.Shape.defineFigureGenerator("Power",function(Bt,et,nt){var ct=new go.Geometry,lt=oe*.4,gt=.4,mt=.5,St=.5,Pt=Lt(),Rt=Lt(),Wt=Lt(),te=Lt();pe(mt,St-gt,mt+lt,St-gt,mt+gt,St-lt,mt+gt,St,.5,Pt,Pt,Rt,Wt,te);var Jt=Et(Rt.x,Rt.y),Vt=new go.PathFigure(Rt.x*et,Rt.y*nt,!0);ct.add(Vt),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,Wt.x*et,Wt.y*nt,te.x*et,te.y*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,(mt-lt)*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt)),pe(mt-gt,St,mt-gt,St-lt,mt-lt,St-gt,mt,St-gt,.5,Wt,te,Rt,Pt,Pt),Vt.add(new go.PathSegment(go.PathSegment.Bezier,Rt.x*et,Rt.y*nt,Wt.x*et,Wt.y*nt,te.x*et,te.y*nt)),lt=oe*.3,gt=.3,pe(mt-gt,St,mt-gt,St-lt,mt-lt,St-gt,mt,St-gt,.5,Wt,te,Rt,Pt,Pt),Vt.add(new go.PathSegment(go.PathSegment.Line,Rt.x*et,Rt.y*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-gt)*et,St*nt,te.x*et,te.y*nt,Wt.x*et,Wt.y*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+gt)*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+gt)*et,St*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),pe(mt,St-gt,mt+lt,St-gt,mt+gt,St-lt,mt+gt,St,.5,Pt,Pt,Rt,Wt,te),Vt.add(new go.PathSegment(go.PathSegment.Bezier,Rt.x*et,Rt.y*nt,te.x*et,te.y*nt,Wt.x*et,Wt.y*nt).close());var Vt=new go.PathFigure(.45*et,0,!0);return ct.add(Vt),Vt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.5*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.5*nt)),Vt.add(new go.PathSegment(go.PathSegment.Line,.55*et,0).close()),re(Pt),re(Rt),re(Wt),re(te),re(Jt),ct.spot1=new go.Spot(.25,.45),ct.spot2=new go.Spot(.75,.8),ct}),go.Shape.defineFigureGenerator("Fallout",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt/2,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Arc,180,360,et/2,nt/2,et/2,nt/2));function gt(mt,St,Pt){mt.add(new go.PathSegment(go.PathSegment.Move,(.3+St)*et,(.8+Pt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,(.5+St)*et,(.5+Pt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,(.1+St)*et,(.5+Pt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,(.3+St)*et,(.8+Pt)*nt).close())}return gt(lt,0,0),gt(lt,.4,0),gt(lt,.2,-.3),ct}),go.Shape.defineFigureGenerator("IrritationHazard",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.2*et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.3*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.2*nt).close()),ct.spot1=new go.Spot(.3,.3),ct.spot2=new go.Spot(.7,.7),ct}),go.Shape.defineFigureGenerator("ElectricalHazard",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.37*et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.11*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.77*et,.04*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.33*et,.49*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.37*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.63*et,.86*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.77*et,.91*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.34*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.34*et,.78*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.44*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.56*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.68*nt).close()),ct}),go.Shape.defineFigureGenerator("FireHazard",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.1*et,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.29*et,0,-.25*et,.63*nt,.45*et,.44*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.51*et,.42*nt,.48*et,.17*nt,.54*et,.35*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.59*et,.18*nt,.59*et,.29*nt,.58*et,.28*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.75*et,.6*nt,.8*et,.34*nt,.88*et,.43*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.88*et,.31*nt,.87*et,.48*nt,.88*et,.43*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.9*et,nt,1.17*et,.76*nt,.82*et,.8*nt).close()),ct.spot1=new go.Spot(.07,.445),ct.spot2=new go.Spot(.884,.958),ct}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=0,mt=0,St=lt*oe,Pt=.4*Math.SQRT2/2+.5,Rt=.5-.5*Math.SQRT2/2,Wt=1,te=.5,Jt=.5,Vt=0,le=new go.PathFigure(Pt*et,(1-Rt)*nt,!1);return ct.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Wt*et,te*nt,Wt*et,.7*nt,Wt*et,te*nt)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Jt+gt)*et,(Vt+gt)*nt,(.5+lt+gt)*et,(.5-St+gt)*nt,(.5+St+gt)*et,(.5-lt+gt)*nt)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-lt+gt)*et,(.5+mt)*nt,(.5-St+gt)*et,(.5-lt+mt)*nt,(.5-lt+gt)*et,(.5-St+mt)*nt)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.35+gt)*et,.9*nt,(.5-lt+gt)*et,(.5+St+mt)*nt,(.5-St+gt)*et,.9*nt)),le.add(new go.PathSegment(go.PathSegment.Move,(.25+gt)*et,.8*nt)),le.add(new go.PathSegment(go.PathSegment.Line,(.35+gt)*et,.9*nt)),le.add(new go.PathSegment(go.PathSegment.Line,(.2+gt)*et,.95*nt)),ct}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),ct}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Move,0,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),ct}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);ct.add(lt);var gt=new go.PathFigure(et,nt,!1);ct.add(gt);var mt=new go.PathFigure(0,.5*nt,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.5*nt,.2*et,.35*nt,.3*et,.35*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,.7*et,.65*nt,.8*et,.65*nt)),ct}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.5*nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt).close()),ct}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.2*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt).close());var lt=new go.PathFigure(0,.2*nt,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.2*nt)),ct}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.7*et,nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.3*et,0,.6*et,.5*nt,0,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.7*et,nt,.4*et,.5*nt,et,.5*nt).close());var gt=new go.PathFigure(.45*et,.73*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.73*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.38*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.63*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.31*et,.27*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.56*et,.27*nt)),ct}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);ct.add(lt);var gt=new go.PathFigure(.335*et,(1-.555)*nt,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.335*et,(1-.405)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*et,(1-.405)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*et,(1-.555)*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,et,.68*nt,(1-.12)*et,.46*nt,(1-.02)*et,.54*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.68*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,.335*et,(1-.555)*nt,.02*et,.54*nt,.12*et,.46*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.365*et,(1-.595)*nt));var mt=.5-.285,St=.5,Pt=mt,Rt=Math.PI/4,Wt=4*(1-Math.cos(Rt))/(3*Math.sin(Rt)),te=Wt*.5,Jt=mt,Vt=mt,le=Wt*Jt,ae=Wt*Vt;gt.add(new go.PathSegment(go.PathSegment.Bezier,(St-Jt)*et,Pt*nt,(St-(le+Jt)/2)*et,(Pt+(Vt+ae)/2)*nt,(St-Jt)*et,(Pt+ae)*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,St*et,(Pt-Vt)*nt,(St-Jt)*et,(Pt-ae)*nt,(St-le)*et,(Pt-Vt)*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(St+Jt)*et,Pt*nt,(St+le)*et,(Pt-Vt)*nt,(St+Jt)*et,(Pt-ae)*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*et,(1-.595)*nt,(St+Jt)*et,(Pt+ae)*nt,(St+(le+Jt)/2)*et,(Pt+(Vt+ae)/2)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*et,(1-.595)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*et,(1-.555)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*et,(1-.405)*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.335*et,(1-.405)*nt));var Fe=new go.PathFigure(.2*et,nt,!1);ct.add(Fe),Fe.add(new go.PathSegment(go.PathSegment.Line,.2*et,.8*nt));var De=new go.PathFigure(.8*et,nt,!1);return ct.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.8*et,.8*nt)),ct}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.1*et,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,nt).close());var gt=new go.PathFigure(.2*et,.2*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.2*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.8*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.8*nt)),ct}),go.Shape.defineFigureGenerator("BpmnEventError",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.33*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.66*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.66*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.33*et,.5*nt).close()),ct}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);ct.add(lt);var gt=new go.PathFigure(et,nt,!1);ct.add(gt);var mt=new go.PathFigure(.1*et,nt,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),mt.add(new go.PathSegment(go.PathSegment.Line,.9*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt).close()),ct}),go.Shape.defineFigureGenerator("Caution",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.05*et,nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.1*et,.8*nt,0,nt,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.55*et,.1*nt,.5*et,0,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.95*et,.9*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.9*et,nt,et,nt,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.05*et,nt));var gt=.05;return lt.add(new go.PathSegment(go.PathSegment.Move,(.5-gt)*et,.875*nt)),lt.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*et,.875*nt,gt*et,gt*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.325*nt,.575*et,.725*nt,.625*et,.375*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.75*nt,.375*et,.375*nt,.425*et,.725*nt)),ct}),go.Shape.defineFigureGenerator("Recycle",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.45*et,.95*nt,!1);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.95*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.185*et,.85*nt,.17*et,.95*nt,.15*et,.9*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.235*et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.3*et,.625*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.35*et,.65*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.275*et,.45*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.05*et,.45*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.05*et,.575*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.1875*et,.95*nt,0,.675*nt,0,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.45*et,.95*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.775*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.22*et,.775*nt));var gt=new go.PathFigure(.475*et,.2*nt,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.225*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.275*et,.175*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.325*et,.05*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,.4*et,.05*nt,.35*et,0,.375*et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,.575*et,.375*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.525*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.475*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.315*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.32*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.05*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,.575*et,0,.65*et,.05*nt,.625*et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,.38*et,.0105*nt));var mt=new go.PathFigure(.675*et,.575*nt,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.875*et,.525*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,.775*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,.85*et,.95*nt,et,.8*nt,et,.85*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.95*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.65*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.85*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.725*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.775*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.775*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,et,.775*nt)),mt.add(new go.PathSegment(go.PathSegment.Move,.675*et,.575*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.775*et,.775*nt)),ct}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*.5,mt=new go.PathFigure(et,lt*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Bezier,lt*et,nt,et,(lt+gt)*nt,(lt+gt)*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,lt*nt,(lt-gt)*et,nt,0,(lt+gt)*nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,lt*et,0,0,(lt-gt)*nt,(lt-gt)*et,0)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et,lt*nt,(lt+gt)*et,0,et,(lt-gt)*nt));var St=new go.PathFigure(lt*et,0,!1);return ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,lt*et,.15*nt)),St.add(new go.PathSegment(go.PathSegment.Move,lt*et,nt)),St.add(new go.PathSegment(go.PathSegment.Line,lt*et,.85*nt)),St.add(new go.PathSegment(go.PathSegment.Move,0,lt*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.15*et,lt*nt)),St.add(new go.PathSegment(go.PathSegment.Move,et,lt*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.85*et,lt*nt)),St.add(new go.PathSegment(go.PathSegment.Move,lt*et,lt*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.58*et,.1*nt)),St.add(new go.PathSegment(go.PathSegment.Move,lt*et,lt*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.78*et,.54*nt)),ct}),go.Shape.defineFigureGenerator("Package",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.15*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,.15*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close());var gt=new go.PathFigure(0,.15*nt,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,0,0)),gt.add(new go.PathSegment(go.PathSegment.Line,.6*et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.15*nt).close()),ct.spot1=new go.Spot(0,.1),ct.spot2=new go.Spot(1,1),ct}),go.Shape.defineFigureGenerator("Class",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var gt=new go.PathFigure(0,.2*nt,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,.2*nt).close());var mt=new go.PathFigure(0,.5*nt,!1);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt).close()),ct}),go.Shape.defineFigureGenerator("Component",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et,nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.15*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.15*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt).close());var gt=new go.PathFigure(0,.2*nt,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.2*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.2*nt).close());var mt=new go.PathFigure(0,.6*nt,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.6*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.8*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,.6*nt).close()),ct}),go.Shape.defineFigureGenerator("Boat Shipment",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.15*et,.6*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.15*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.15*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.85*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.15*et,.6*nt));var gt=new go.PathFigure(.15*et,.6*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.6*nt)),ct}),go.Shape.defineFigureGenerator("Customer/Supplier",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.66*et,.33*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.66*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.33*et,.33*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.33*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.33*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt).close()),ct}),go.Shape.defineFigureGenerator("Workcell",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.65*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.65*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.35*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.35*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),ct}),go.Shape.defineFigureGenerator("Supermarket",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.33*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.33*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,et,.33*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.66*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.66*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,et,.66*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),ct}),go.Shape.defineFigureGenerator("TruckShipment",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var gt=new go.PathFigure(et,.8*nt,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.8*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.8*nt).close());var mt=.1,St=oe*.1,Pt=.2,Rt=.9,Wt=new go.PathFigure((Pt-mt)*et,Rt*nt,!0);ct.add(Wt),Wt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-mt)*nt,(Pt-mt)*et,(Rt-St)*nt,(Pt-St)*et,(Rt-mt)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+mt)*et,Rt*nt,(Pt+St)*et,(Rt-mt)*nt,(Pt+mt)*et,(Rt-St)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt+mt)*nt,(Pt+mt)*et,(Rt+St)*nt,(Pt+St)*et,(Rt+mt)*nt)),Wt.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-mt)*et,Rt*nt,(Pt-St)*et,(Rt+mt)*nt,(Pt-mt)*et,(Rt+St)*nt).close()),mt=.1,St=oe*.1,Pt=.8,Rt=.9;var te=new go.PathFigure((Pt-mt)*et,Rt*nt,!0);return ct.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt-mt)*nt,(Pt-mt)*et,(Rt-St)*nt,(Pt-St)*et,(Rt-mt)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Pt+mt)*et,Rt*nt,(Pt+St)*et,(Rt-mt)*nt,(Pt+mt)*et,(Rt-St)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,Pt*et,(Rt+mt)*nt,(Pt+mt)*et,(Rt+St)*nt,(Pt+St)*et,(Rt+mt)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Pt-mt)*et,Rt*nt,(Pt-St)*et,(Rt+mt)*nt,(Pt-mt)*et,(Rt+St)*nt).close()),ct}),go.Shape.defineFigureGenerator("KanbanPost",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.2*et,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,0)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,nt)),ct}),go.Shape.defineFigureGenerator("Forklift",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0));var gt=new go.PathFigure(0,.5*nt,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.8*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt));var mt=new go.PathFigure(.5*et,.8*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.1*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.1*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.8*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.8*nt));var St=new go.PathFigure(.5*et,.7*nt,!1);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et,.7*nt));var Pt=.1,Rt=oe*.1,Wt=.1,te=.9,Jt=new go.PathFigure((Wt-Pt)*et,te*nt,!0);ct.add(Jt),Jt.add(new go.PathSegment(go.PathSegment.Bezier,Wt*et,(te-Pt)*nt,(Wt-Pt)*et,(te-Rt)*nt,(Wt-Rt)*et,(te-Pt)*nt)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,(Wt+Pt)*et,te*nt,(Wt+Rt)*et,(te-Pt)*nt,(Wt+Pt)*et,(te-Rt)*nt)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,Wt*et,(te+Pt)*nt,(Wt+Pt)*et,(te+Rt)*nt,(Wt+Rt)*et,(te+Pt)*nt)),Jt.add(new go.PathSegment(go.PathSegment.Bezier,(Wt-Pt)*et,te*nt,(Wt-Rt)*et,(te+Pt)*nt,(Wt-Pt)*et,(te+Rt)*nt)),Pt=.1,Rt=oe*.1,Wt=.4,te=.9;var Vt=new go.PathFigure((Wt-Pt)*et,te*nt,!0);return ct.add(Vt),Vt.add(new go.PathSegment(go.PathSegment.Bezier,Wt*et,(te-Pt)*nt,(Wt-Pt)*et,(te-Rt)*nt,(Wt-Rt)*et,(te-Pt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Wt+Pt)*et,te*nt,(Wt+Rt)*et,(te-Pt)*nt,(Wt+Pt)*et,(te-Rt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,Wt*et,(te+Pt)*nt,(Wt+Pt)*et,(te+Rt)*nt,(Wt+Rt)*et,(te+Pt)*nt)),Vt.add(new go.PathSegment(go.PathSegment.Bezier,(Wt-Pt)*et,te*nt,(Wt-Rt)*et,(te+Pt)*nt,(Wt-Pt)*et,(te+Rt)*nt)),ct}),go.Shape.defineFigureGenerator("RailShipment",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.1*et,.4*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.45*et,.9*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.9*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.4*nt).close());var gt=new go.PathFigure(.45*et,.7*nt,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.7*nt));var mt=new go.PathFigure(.55*et,.4*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.4*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.9*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.55*et,.4*nt).close());var Wt=.05,te=oe*.05,Jt=.175,Vt=.95,St=new go.PathFigure((Jt-Wt)*et,Vt*nt,!0);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt-Wt)*nt,(Jt-Wt)*et,(Vt-te)*nt,(Jt-te)*et,(Vt-Wt)*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Jt+Wt)*et,Vt*nt,(Jt+te)*et,(Vt-Wt)*nt,(Jt+Wt)*et,(Vt-te)*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt+Wt)*nt,(Jt+Wt)*et,(Vt+te)*nt,(Jt+te)*et,(Vt+Wt)*nt)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Jt-Wt)*et,Vt*nt,(Jt-te)*et,(Vt+Wt)*nt,(Jt-Wt)*et,(Vt+te)*nt));var Wt=.05,te=oe*.05,Jt=.375,Vt=.95,Pt=new go.PathFigure((Jt-Wt)*et,Vt*nt,!0);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt-Wt)*nt,(Jt-Wt)*et,(Vt-te)*nt,(Jt-te)*et,(Vt-Wt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(Jt+Wt)*et,Vt*nt,(Jt+te)*et,(Vt-Wt)*nt,(Jt+Wt)*et,(Vt-te)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt+Wt)*nt,(Jt+Wt)*et,(Vt+te)*nt,(Jt+te)*et,(Vt+Wt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(Jt-Wt)*et,Vt*nt,(Jt-te)*et,(Vt+Wt)*nt,(Jt-Wt)*et,(Vt+te)*nt));var Wt=.05,te=oe*.05,Jt=.625,Vt=.95,Rt=new go.PathFigure((Jt-Wt)*et,Vt*nt,!0);ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt-Wt)*nt,(Jt-Wt)*et,(Vt-te)*nt,(Jt-te)*et,(Vt-Wt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(Jt+Wt)*et,Vt*nt,(Jt+te)*et,(Vt-Wt)*nt,(Jt+Wt)*et,(Vt-te)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt+Wt)*nt,(Jt+Wt)*et,(Vt+te)*nt,(Jt+te)*et,(Vt+Wt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(Jt-Wt)*et,Vt*nt,(Jt-te)*et,(Vt+Wt)*nt,(Jt-Wt)*et,(Vt+te)*nt));var Wt=.05,te=oe*.05,Jt=.825,Vt=.95,le=new go.PathFigure((Jt-Wt)*et,Vt*nt,!0);ct.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt-Wt)*nt,(Jt-Wt)*et,(Vt-te)*nt,(Jt-te)*et,(Vt-Wt)*nt)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Jt+Wt)*et,Vt*nt,(Jt+te)*et,(Vt-Wt)*nt,(Jt+Wt)*et,(Vt-te)*nt)),le.add(new go.PathSegment(go.PathSegment.Bezier,Jt*et,(Vt+Wt)*nt,(Jt+Wt)*et,(Vt+te)*nt,(Jt+te)*et,(Vt+Wt)*nt)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Jt-Wt)*et,Vt*nt,(Jt-te)*et,(Vt+Wt)*nt,(Jt-Wt)*et,(Vt+te)*nt).close());var ae=new go.PathFigure(0,nt,!1);return ct.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,et,nt).close()),ct}),go.Shape.defineFigureGenerator("Warehouse",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var gt=new go.PathFigure(0,.2*nt,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,.2*nt).close());var mt=new go.PathFigure(.15*et,nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.15*et,.5*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.5*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.4*et,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.15*et,nt).close());var St=.05,Pt=oe*.05,Rt=.35,Wt=.775,te=new go.PathFigure((Rt-St)*et,Wt*nt,!0);return ct.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Rt*et,(Wt-St)*nt,(Rt-St)*et,(Wt-Pt)*nt,(Rt-Pt)*et,(Wt-St)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Rt+St)*et,Wt*nt,(Rt+Pt)*et,(Wt-St)*nt,(Rt+St)*et,(Wt-Pt)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,Rt*et,(Wt+St)*nt,(Rt+St)*et,(Wt+Pt)*nt,(Rt+Pt)*et,(Wt+St)*nt)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Rt-St)*et,Wt*nt,(Rt-Pt)*et,(Wt+St)*nt,(Rt-St)*et,(Wt+Pt)*nt).close()),ct}),go.Shape.defineFigureGenerator("ControlCenter",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.1*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.8*nt).close()),ct}),go.Shape.defineFigureGenerator("Bluetooth",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.75*nt,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.25*nt)),ct}),go.Shape.defineFigureGenerator("Bookmark",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.4*nt)),ct}),go.Shape.defineFigureGenerator("Bookmark",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,0,0)),lt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.4*nt)),ct}),go.Shape.defineFigureGenerator("Globe",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,0,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,.5*nt,.75*et,0,et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,et,.75*nt,.75*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*nt,.25*et,nt,0,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,0,.25*nt,.25*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,nt,.15*et,.25*nt,.15*et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,.85*et,.75*nt,.85*et,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.1675*et,.15*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.8325*et,.15*nt,.35*et,.3*nt,.65*et,.3*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.1675*et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.8325*et,.85*nt,.35*et,.7*nt,.65*et,.7*nt)),ct}),go.Shape.defineFigureGenerator("Wave",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.25*nt,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.3*et,.25*nt,.1*et,0,.2*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.7*et,.25*nt,.425*et,.5*nt,.575*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,.25*nt,.8*et,0,.9*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,0,.25*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.75*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.3*et,.75*nt,.1*et,.5*nt,.2*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.7*et,.75*nt,.425*et,nt,.575*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,.75*nt,.8*et,.5*nt,.9*et,.5*nt)),ct}),go.Shape.defineFigureGenerator("Operator",function(Bt,et,nt){var ct=new go.Geometry,lt=.3,gt=oe*.3,mt=.5,St=.7,Pt=new go.PathFigure((mt-lt)*et,St*nt,!0);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt)*et,St*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-lt)*et,St*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt));var Rt=new go.PathFigure(0,.7*nt,!1);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,et,.7*nt,0,0,et,0)),ct}),go.Shape.defineFigureGenerator("TripleFanBlades",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.5*et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.65*nt,.65*et,.3*nt,.65*et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,.35*et,.5*nt,.35*et,.3*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.65*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt,.3*et,.6*nt,.1*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.65*nt,.2*et,nt,.35*et,.95*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.65*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,nt,.7*et,.6*nt,.9*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.65*nt,.8*et,nt,.65*et,.95*nt)),ct}),go.Shape.defineFigureGenerator("CentrifugalPump",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et,0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*nt,0,.075*nt,0,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.4*et,nt,0,nt,.4*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.4*nt,.8*et,nt,.85*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,0)),ct}),go.Shape.defineFigureGenerator("Battery",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.4*et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.1*nt));var gt=new go.PathFigure(0,.6*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Move,0,.4*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,et,.4*nt)),ct}),go.Shape.defineFigureGenerator("Delete",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*.5,mt=.5,St=.5,Pt=new go.PathFigure((mt-lt)*et,St*nt,!0);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt)*et,St*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-lt)*et,St*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt));var Rt=new go.PathFigure(.15*et,.5*nt,!1);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.5*nt)),ct}),go.Shape.defineFigureGenerator("Flag",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.1*nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,0,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.1*nt,.15*et,0,.35*et,0)),lt.add(new go.PathSegment(go.PathSegment.Bezier,et,.1*nt,.65*et,.2*nt,.85*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.5*nt,.85*et,.6*nt,.65*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*nt,.35*et,.4*nt,.15*et,.4*nt).close()),ct}),go.Shape.defineFigureGenerator("Help",function(Bt,et,nt){var ct=new go.Geometry,lt=.5,gt=oe*.5,mt=.5,St=.5,Pt=new go.PathFigure((mt-lt)*et,St*nt,!1);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt)*et,St*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Pt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-lt)*et,St*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt).close()),lt=.05,gt=oe*.05,mt=.5,St=.8;var Rt=new go.PathFigure((mt-lt)*et,St*nt,!1);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St-lt)*nt,(mt-lt)*et,(St-gt)*nt,(mt-gt)*et,(St-lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(mt+lt)*et,St*nt,(mt+gt)*et,(St-lt)*nt,(mt+lt)*et,(St-gt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,mt*et,(St+lt)*nt,(mt+lt)*et,(St+gt)*nt,(mt+gt)*et,(St+lt)*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,(mt-lt)*et,St*nt,(mt-gt)*et,(St+lt)*nt,(mt-lt)*et,(St+gt)*nt).close()),Rt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.7*nt)),Rt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.5*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.5*et,.2*nt,.75*et,.475*nt,.75*et,.225*nt)),Rt.add(new go.PathSegment(go.PathSegment.Bezier,.3*et,.35*nt,.4*et,.2*nt,.3*et,.25*nt)),ct}),go.Shape.defineFigureGenerator("Location",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.5*et,nt,!0).add(new go.PathSegment(go.PathSegment.Line,.75*et,.5*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.5*et,0,.975*et,.025*nt,.5*et,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*et,.5*nt,.5*et,0,.025*et,.025*nt).close()).add(new go.PathSegment(go.PathSegment.Move,.5*et,.2*nt)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*et,.3*nt,.1*et,.1*nt).close()))}),go.Shape.defineFigureGenerator("Lock",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.5*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt));var gt=new go.PathFigure(.2*et,.5*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.3*nt,.25*et,0,.75*et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.3*nt)),ct}),go.Shape.defineFigureGenerator("Unlocked",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.5*nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.5*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.5*nt));var gt=new go.PathFigure(.2*et,.5*nt,!1);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Move,.2*et,.5*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.3*nt)),gt.add(new go.PathSegment(go.PathSegment.Bezier,.8*et,.3*nt,.25*et,0,.75*et,0)),gt.add(new go.PathSegment(go.PathSegment.Line,.8*et,.35*nt)),ct}),go.Shape.defineFigureGenerator("Gear",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(.9375*et,.56246875*nt,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*et,.4375*nt)).add(new go.PathSegment(go.PathSegment.Line,.80621875*et,.4375*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.763*et,.3316875*nt,.79840625*et,.39915625*nt,.7834375*et,.3635*nt)).add(new go.PathSegment(go.PathSegment.Line,.8566875*et,.23796875*nt)).add(new go.PathSegment(go.PathSegment.Line,.76825*et,.14959375*nt)).add(new go.PathSegment(go.PathSegment.Line,.67596875*et,.24184375*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*et,.19378125*nt,.64228125*et,.2188125*nt,.603875*et,.2021875*nt)).add(new go.PathSegment(go.PathSegment.Line,.5625*et,.0625*nt)).add(new go.PathSegment(go.PathSegment.Line,.4375*et,.0625*nt)).add(new go.PathSegment(go.PathSegment.Line,.4375*et,.19378125*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*et,.239375*nt,.39759375*et,.20190625*nt,.36053125*et,.2176875*nt)).add(new go.PathSegment(go.PathSegment.Line,.2379375*et,.14959375*nt)).add(new go.PathSegment(go.PathSegment.Line,.14953125*et,.2379375*nt)).add(new go.PathSegment(go.PathSegment.Line,.23934375*et,.3278125*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*et,.4375*nt,.21765625*et,.36059375*nt,.201875*et,.397625*nt)).add(new go.PathSegment(go.PathSegment.Line,.0625*et,.4375*nt)).add(new go.PathSegment(go.PathSegment.Line,.0625*et,.5625*nt)).add(new go.PathSegment(go.PathSegment.Line,.1938125*et,.5625*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*et,.67596875*nt,.20221875*et,.603875*nt,.21884375*et,.64228125*nt)).add(new go.PathSegment(go.PathSegment.Line,.1495625*et,.76825*nt)).add(new go.PathSegment(go.PathSegment.Line,.238*et,.8566875*nt)).add(new go.PathSegment(go.PathSegment.Line,.3316875*et,.76296875*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*et,.80621875*nt,.36353125*et,.78340625*nt,.3991875*et,.79840625*nt)).add(new go.PathSegment(go.PathSegment.Line,.43753125*et,.9375*nt)).add(new go.PathSegment(go.PathSegment.Line,.5625*et,.9375*nt)).add(new go.PathSegment(go.PathSegment.Line,.5625*et,.80621875*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*et,.760625*nt,.602375*et,.79809375*nt,.63946875*et,.78234375*nt)).add(new go.PathSegment(go.PathSegment.Line,.76828125*et,.8566875*nt)).add(new go.PathSegment(go.PathSegment.Line,.85671875*et,.76825*nt)).add(new go.PathSegment(go.PathSegment.Line,.76065625*et,.67221875*nt)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*et,.56246875*nt,.78234375*et,.63940625*nt,.798125*et,.602375*nt)).add(new go.PathSegment(go.PathSegment.Line,.9375*et,.56246875*nt).close()).add(new go.PathSegment(go.PathSegment.Move,.5*et,.6*nt)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*et,.5*nt,.1*et,.1*nt).close()))}),go.Shape.defineFigureGenerator("Hand",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.5*nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,.1*et,.3*nt,0,.375*nt,.05*et,.325*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.45*et,.075*nt,.3*et,.225*nt,.4*et,.175*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.525*et,.075*nt,.46*et,.05*nt,.525*et,.05*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.3*et,.4*nt,.525*et,.275*nt,.475*et,.325*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.9*et,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.9*et,.55*nt,et,.4*nt,et,.55*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.425*et,.55*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.55*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.6*et,.7*nt,.675*et,.55*nt,.675*et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.575*et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.575*et,.85*nt,.65*et,.7*nt,.65*et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.525*et,.85*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.535*et,nt,.61*et,.85*nt,.61*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*nt,.435*et,nt,0,nt).close()),ct}),go.Shape.defineFigureGenerator("Map",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,.2*nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.25*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.25*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt).close()),lt.add(new go.PathSegment(go.PathSegment.Move,.25*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.25*et,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.5*et,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt)),lt.add(new go.PathSegment(go.PathSegment.Move,.75*et,0)),lt.add(new go.PathSegment(go.PathSegment.Line,.75*et,.8*nt)),ct}),go.Shape.defineFigureGenerator("Eject",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt*.7)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*.7).close());var gt=new go.PathFigure(0,nt*.6,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et,.6*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.5*et,0).close()),ct}),go.Shape.defineFigureGenerator("Pencil",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*et,.1*nt)).add(new go.PathSegment(go.PathSegment.Line,et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.9*et,nt)).add(new go.PathSegment(go.PathSegment.Line,.1*et,.2*nt).close()))}),go.Shape.defineFigureGenerator("Building",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*1,nt*1,!1);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*.85)),lt.add(new go.PathSegment(go.PathSegment.Line,.046*et,nt*.85)),lt.add(new go.PathSegment(go.PathSegment.Line,.046*et,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*.3)),lt.add(new go.PathSegment(go.PathSegment.Line,.046*et,nt*.3)),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*et,nt*.3)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt*.3)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*et,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*et,nt*.85)),lt.add(new go.PathSegment(go.PathSegment.Line,et,nt*.85).close());var gt=new go.PathFigure(.126*et,.85*nt,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,.126*et,.45*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.322*et,.45*nt)),gt.add(new go.PathSegment(go.PathSegment.Line,.322*et,.85*nt).close());var mt=new go.PathFigure(.402*et,.85*nt,!1);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,.402*et,.45*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.598*et,.45*nt)),mt.add(new go.PathSegment(go.PathSegment.Line,.598*et,.85*nt).close());var St=new go.PathFigure(.678*et,.85*nt,!1);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,.678*et,.45*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.874*et,.45*nt)),St.add(new go.PathSegment(go.PathSegment.Line,.874*et,.85*nt).close());var Pt=new go.PathFigure(.5*et,.1*nt,!1);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*et,.3*nt)),Pt.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*et,.3*nt).close()),ct}),go.Shape.defineFigureGenerator("Staircase",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt*1,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.2,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.2,nt*.8)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.8)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.6)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*.6)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*.4)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*.4)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*.2)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.2)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.15)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*.15)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*.35)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.55,nt*.35)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.55,nt*.55)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.35,nt*.55)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.35,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.15,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.15,nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*.95).close()),ct}),go.Shape.defineFigureGenerator("5Bars",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,nt*1,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.184,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.184,nt*(1-.184)).close());var gt=new go.PathFigure(et*.204,nt,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et*.204,nt*(1-.184))),gt.add(new go.PathSegment(go.PathSegment.Line,et*.388,nt*(1-.184*2))),gt.add(new go.PathSegment(go.PathSegment.Line,et*.388,nt*1).close());var mt=new go.PathFigure(et*.408,nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*.408,nt*(1-.184*2))),mt.add(new go.PathSegment(go.PathSegment.Line,et*.592,nt*(1-.184*3))),mt.add(new go.PathSegment(go.PathSegment.Line,et*.592,nt*1).close());var St=new go.PathFigure(et*.612,nt,!0);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et*.612,nt*(1-.184*3))),St.add(new go.PathSegment(go.PathSegment.Line,et*.796,nt*(1-.184*4))),St.add(new go.PathSegment(go.PathSegment.Line,et*.796,nt*1).close());var Pt=new go.PathFigure(et*.816,nt,!0);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,et*.816,nt*(1-.184*4))),Pt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*(1-.184*5))),Pt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1).close()),ct}),go.Shape.defineFigureGenerator("PC",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,0).close());var gt=new go.PathFigure(et*.055,.07*nt,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et*.245,nt*.07)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.245,nt*.1)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.055,nt*.1).close());var mt=new go.PathFigure(et*.055,.13*nt,!0);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*.245,nt*.13)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.245,nt*.16)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.055,nt*.16).close());var St=new go.PathFigure(et*.055,.18*nt,!0);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et*.245,nt*.18)),St.add(new go.PathSegment(go.PathSegment.Line,et*.245,nt*.21)),St.add(new go.PathSegment(go.PathSegment.Line,et*.055,nt*.21).close());var Pt=new go.PathFigure(et*1,0,!0);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,et*.4,0)),Pt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.65)),Pt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.65).close()),ct}),go.Shape.defineFigureGenerator("Plane",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(.55*et,nt,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,.5*et,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.7*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.1*et,.475*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.35*et,.525*nt,0,.4*nt,.225*et,.45*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.4*et,.475*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.15*et,.35*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.2*et,.325*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.325*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.85*et,.1*nt)),lt.add(new go.PathSegment(go.PathSegment.Bezier,.9*et,.2*nt,.975*et,0,et,.08*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.7*et,.45*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.6*et,.95*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,.55*et,nt).close()),ct}),go.Shape.defineFigureGenerator("Key",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*1,nt*.5,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.9,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,.4*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,.35*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.45,.35*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.15,.2*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.35*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,0,.65*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.15,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,.8*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.45,.65*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,.65*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.6,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.65,.55*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.7,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,.55*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.8,.6*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.85,.575*nt)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.9,.6*nt).close()),lt.add(new go.PathSegment(go.PathSegment.Move,.17*et,.425*nt)),lt.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*et,.5*nt,.075*et,.075*nt).close()),ct}),go.Shape.defineFigureGenerator("FilmTape",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(0,0,!1);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Arc,270,180,et*0,et*.3,et*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,0,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.08,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.08,nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*1),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*1),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*2),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*2),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*3),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*3),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*4),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*4),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*5),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*5),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*6),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*6),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*7),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*7),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*8),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*8),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*9),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*9),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*10),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*10),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*11),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*11),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*12),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*12),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*13),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*13),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*14),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*14),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*15),nt*.95)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(.08+.056*15),nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1));var gt=new go.PathFigure(0,0,!1);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*0)),gt.add(new go.PathSegment(go.PathSegment.Arc,270,-180,et*1,et*.3,et*.055)),gt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1));var mt=new go.PathFigure(et*.11,nt*.1,!1);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*1+.028*0),nt*.1)),mt.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*1+.028*0),nt*.8)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.11,nt*.8).close());var St=new go.PathFigure(et*(.11+.24133333*1+.028*1),nt*.1,!1);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*2+.028*1),nt*.1)),St.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*2+.028*1),nt*.8)),St.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*1+.028*1),nt*.8).close());var Pt=new go.PathFigure(et*(.11+.24133333*2+.028*2),nt*.1,!1);return ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*3+.028*2),nt*.1)),Pt.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*3+.028*2),nt*.8)),Pt.add(new go.PathSegment(go.PathSegment.Line,et*(.11+.24133333*2+.028*2),nt*.8).close()),ct}),go.Shape.defineFigureGenerator("FloppyDisk",function(Bt,et,nt){var ct=new go.Geometry,lt=8,gt=lt*oe,mt=new go.PathFigure(lt,0,!1);ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*.86,0)),mt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.14)),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt-lt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et-lt,nt,et,nt-gt,et-gt,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,lt,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt-lt,gt,nt,0,nt-gt)),mt.add(new go.PathSegment(go.PathSegment.Line,0,lt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,lt,0,0,gt,gt,0).close());var St=new go.PathFigure(et*.83,0,!1);ct.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et*.83,nt*.3)),St.add(new go.PathSegment(go.PathSegment.Line,et*.17,nt*.3)),St.add(new go.PathSegment(go.PathSegment.Line,et*.17,nt*0).close());var Pt=new go.PathFigure(et*.83,nt*1,!1);ct.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,et*.83,nt*.5)),Pt.add(new go.PathSegment(go.PathSegment.Line,et*.17,nt*.5)),Pt.add(new go.PathSegment(go.PathSegment.Line,et*.17,nt*1).close());var Rt=new go.PathFigure(et*.78,nt*.05,!1);return ct.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*.05)),Rt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*.25)),Rt.add(new go.PathSegment(go.PathSegment.Line,et*.78,nt*.25).close()),ct}),go.Shape.defineFigureGenerator("SpeechBubble",function(Bt,et,nt){var ct=Bt?Bt.parameter1:NaN;(isNaN(ct)||ct<0)&&(ct=15),ct=Math.min(ct,et/3),ct=Math.min(ct,nt/3);var lt=ct*oe,gt=nt*.8,mt=new go.Geometry,St=new go.PathFigure(ct,0,!0);return mt.add(St),St.add(new go.PathSegment(go.PathSegment.Line,et-ct,0)),St.add(new go.PathSegment(go.PathSegment.Bezier,et,ct,et-lt,0,et,lt)),St.add(new go.PathSegment(go.PathSegment.Line,et,gt-ct)),St.add(new go.PathSegment(go.PathSegment.Bezier,et-ct,gt,et,gt-lt,et-lt,gt)),St.add(new go.PathSegment(go.PathSegment.Line,et*.7,gt)),St.add(new go.PathSegment(go.PathSegment.Line,et*.7,nt)),St.add(new go.PathSegment(go.PathSegment.Line,et*.55,gt)),St.add(new go.PathSegment(go.PathSegment.Line,ct,gt)),St.add(new go.PathSegment(go.PathSegment.Bezier,0,gt-ct,lt,gt,0,gt-lt)),St.add(new go.PathSegment(go.PathSegment.Line,0,ct)),St.add(new go.PathSegment(go.PathSegment.Bezier,ct,0,0,lt,lt,0).close()),lt>1?(mt.spot1=new go.Spot(0,0,lt,lt),mt.spot2=new go.Spot(1,.8,-lt,-lt)):(mt.spot1=go.Spot.TopLeft,mt.spot2=new go.Spot(1,.8)),mt}),go.Shape.defineFigureGenerator("Repeat",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*0,nt*.45,!0);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.25,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,nt*.9)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*.9)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.65,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.2,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.2,nt*.45).close());var gt=new go.PathFigure(et*1,nt*.55,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*1)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*.55)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.7,nt*.55)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.7,nt*.1)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.1)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.35,nt*0)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*0)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*.55).close()),ct}),go.Shape.defineFigureGenerator("Windows",function(Bt,et,nt){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,et,0)).add(new go.PathSegment(go.PathSegment.Line,et,nt)).add(new go.PathSegment(go.PathSegment.Line,0,nt).close()).add(new go.PathSegment(go.PathSegment.Move,.4*et,.4*nt)).add(new go.PathSegment(go.PathSegment.Line,.4*et,.8*nt)).add(new go.PathSegment(go.PathSegment.Line,.9*et,.8*nt)).add(new go.PathSegment(go.PathSegment.Line,.9*et,.4*nt).close()).add(new go.PathSegment(go.PathSegment.Move,.2*et,.1*nt)).add(new go.PathSegment(go.PathSegment.Line,.2*et,.6*nt)).add(new go.PathSegment(go.PathSegment.Line,.7*et,.6*nt)).add(new go.PathSegment(go.PathSegment.Line,.7*et,.1*nt).close()).add(new go.PathSegment(go.PathSegment.Move,.1*et,.6*nt)).add(new go.PathSegment(go.PathSegment.Line,.1*et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.5*et,.9*nt)).add(new go.PathSegment(go.PathSegment.Line,.5*et,.6*nt).close()))}),go.Shape.defineFigureGenerator("Terminal",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*0,nt*.1,!1);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.9)),lt.add(new go.PathSegment(go.PathSegment.Line,et*0,nt*.9).close());var gt=new go.PathFigure(et*.1,nt*.2,!0);ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et*.1,nt*.25)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.22,nt*.285)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.1,nt*.32)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.1,nt*.37)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.275,nt*.32)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.275,nt*.25).close());var mt=new go.PathFigure(et*.28,nt*.37,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*.45,nt*.37)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.45,nt*.41)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.28,nt*.41).close()),ct}),go.Shape.defineFigureGenerator("Beaker",function(Bt,et,nt){var ct=new go.Geometry,lt=15,gt=lt*oe,mt=new go.PathFigure(et*.62,nt*.475,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et,nt-lt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,et-lt,nt,et,nt-gt,et-gt,nt)),mt.add(new go.PathSegment(go.PathSegment.Line,lt,nt)),mt.add(new go.PathSegment(go.PathSegment.Bezier,0,nt-lt,gt,nt,0,nt-gt)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.38,nt*.475)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.38,nt*.03)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.36,nt*0)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.64,nt*0)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.62,nt*.03).close()),gt>1?(ct.spot1=new go.Spot(0,0,gt,gt),ct.spot2=new go.Spot(1,1,-gt,-gt)):(ct.spot1=go.Spot.TopLeft,ct.spot2=go.Spot.BottomRight),ct}),go.Shape.defineFigureGenerator("Download",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*0,nt*1,!0);ct.add(lt);var gt=.1/.3;lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.755,nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.93,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.64,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.61,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.39,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.36,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.07,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.755),nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.66),nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.66),nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.8),nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*0,nt*(1-gt)).close());var mt=new go.PathFigure(et*.4,nt*0,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.44)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.26,nt*.44)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*.66)),mt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.26),nt*.44)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*.44)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*0).close()),ct}),go.Shape.defineFigureGenerator("Bin",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*0,nt*1,!0);ct.add(lt);var gt=.1/.3;return lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.755,nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.93,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.64,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.61,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.39,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.36,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.07,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.755),nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.66),nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.66),nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.8),nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*0,nt*(1-gt)).close()),ct}),go.Shape.defineFigureGenerator("Upload",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*0,nt*1,!0);ct.add(lt);var gt=.1/.3;lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.8,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.66,nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.755,nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.93,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.64,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.61,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.39,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.36,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*.07,nt*(1-gt))),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.755),nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.66),nt*.055)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.66),nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*(1-.8),nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*0,nt*(1-gt)).close());var mt=new go.PathFigure(et*.5,nt*0,!0);return ct.add(mt),mt.add(new go.PathSegment(go.PathSegment.Line,et*.26,nt*.25)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.25)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.4,nt*.63)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*.63)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.6,nt*.25)),mt.add(new go.PathSegment(go.PathSegment.Line,et*.74,nt*.25).close()),ct}),go.Shape.defineFigureGenerator("EmptyDrink",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*.15,nt*0,!1);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.85,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.7,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,nt*1).close()),ct}),go.Shape.defineFigureGenerator("Drink",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*.15,nt*0,!1);ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.85,nt*0)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.7,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.3,nt*1).close());var gt=new go.PathFigure(et*.235,nt*.28,!0);return ct.add(gt),gt.add(new go.PathSegment(go.PathSegment.Line,et*.765,nt*.28)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.655,nt*.97)),gt.add(new go.PathSegment(go.PathSegment.Line,et*.345,nt*.97).close()),ct}),go.Shape.defineFigureGenerator("4Arrows",function(Bt,et,nt){var ct=new go.Geometry,lt=new go.PathFigure(et*.5,nt*0,!0);return ct.add(lt),lt.add(new go.PathSegment(go.PathSegment.Line,et*.65,nt*.25)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.55,nt*.25)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.55,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*.35)),lt.add(new go.PathSegment(go.PathSegment.Line,et*1,nt*.5)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*.65)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.75,nt*.55)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.55,nt*.55)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.55,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.65,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.5,nt*1)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.35,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.45,nt*.75)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.45,nt*.55)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.25,nt*.55)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.25,nt*.65)),lt.add(new go.PathSegment(go.PathSegment.Line,et*0,nt*.5)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.25,nt*.35)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.25,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.45,nt*.45)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.45,nt*.25)),lt.add(new go.PathSegment(go.PathSegment.Line,et*.35,nt*.25).close()),ct}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var bn={},$n="5.0",Et={},Lt=null,re=!1,fe=!1,pe=null,ne=!1,Ht=null,oe=null,Oe=0;Oe4?parseFloat(Se):5};bn.setHTML5Codebase=function(Se,$e){oe=Se,Pe(Se,$e)},bn.setJavaCodebase=bn.setJavaCodebaseVersion=bn.isCompiledInstalled=bn.setPreCompiledScriptPath=bn.setPreCompiledResourcePath=function(){},bn.setHTML5CodebaseVersion=function(Se,$e){var He=parseFloat(Se);if(He!==NaN&&He<5){console.log("The GeoGebra HTML5 codebase version "+He+" is deprecated. Using version latest instead.");return}Ht=Se,It(Se,$e)},bn.getHTML5CodebaseVersion=function(){return Bt},bn.getParameters=function(){return Et},bn.setFontsCSSURL=function(Se){mt=Se},bn.setGiacJSURL=function(Se){},bn.setJNLPFile=function(Se){Nt=Se},bn.setJNLPBaseDir=function(Se){},bn.inject=function(){function Se(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var $e="auto",He=Et.id,xn,we=!1,de=0;de=5)return!0;var Se=bn.getAppletObject();return Se&&typeof Se.recalculateEnvironments=="function"?(Se.recalculateEnvironments(),!0):!1},bn.startAnimation=function(){var Se=bn.getAppletObject();return Se&&typeof Se.startAnimation=="function"?(Se.startAnimation(),!0):!1},bn.stopAnimation=function(){var Se=bn.getAppletObject();return Se&&typeof Se.stopAnimation=="function"?(Se.stopAnimation(),!0):!1},bn.getAppletObject=function(){var Se=Et.id!==void 0?Et.id:"ggbApplet";return window[Se]},bn.resize=function(){};var le=function(Se,$e,He){var xn=document.createElement("param");xn.setAttribute("name",$e),xn.setAttribute("value",He),Se.appendChild(xn)},ae=function(Se){return Se&&Se!=="false"},Fe=function(Se,$e,He){Pt(Bt)<=4.2&&(He=!0);var xn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Bt||ggbHTML5LoadedCodebaseIsWebSimple&&!nt)&&(xn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var we=document.createElement("div");we.classList.add("appletParameters","notranslate");var de=$e.width,ke=$e.height;if($e.disableAutoScale=$e.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():$e.disableAutoScale,$e.width!==void 0)if(Pt(Bt)<=4.4)ae($e.showToolBar)&&($e.height-=7),ae($e.showAlgebraInput)&&($e.height-=37),$e.width<605&&ae($e.showToolBar)&&($e.width=605,de=605);else{var ze=100;(ae($e.showToolBar)||ae($e.showMenuBar))&&($e.hasOwnProperty("customToolBar")&&($e.customToolbar=$e.customToolBar),ze=ae($e.showMenuBar)?245:155),de=5?($e.appletOnLoad=function(_e){var un=Se.querySelector(".ggb_preview");un&&un.parentNode.removeChild(un),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(wt),window.GGBT_wsf_view&&$(window).trigger("resize"),Dt(_e)},yt||wt.appendChild(kt)):we.appendChild(kt),wt.appendChild(we),yt||Se.appendChild(wt),setTimeout(function(){bn.resize()},1)}else{var jt=document.createElement("div");jt.className="applet_scaler",jt.style.position="relative",jt.style.display="block",jt.appendChild(we),Se.appendChild(jt),$e.appletOnLoad=function(_e){bn.resize(),Dt(_e)}}function Mt(_e,un){un&&typeof un.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(_e,un.appletOnLoad):renderGGBElement(_e),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",un)}function Gt(_e,un){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:_e,params:un}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Pn){Mt(Pn.article,Pn.params)}),html5AppletsToProcess=null)},Pt(Bt)<5&&(_e.className+=" geogebraweb")):Mt(_e,un)}if(xn){scriptLoadStarted=!0;for(var Ce=0;Ce0?(fn.remove(),wt.attr("id","fullscreencontent").show(),jQuery(Dt).append(wt),window.dispatchEvent(new Event("resize"))):Fe(fn,$e,!1),window.GGBT_wsf_view.launchFullScreen(Dt)}else nn=xn,Fe(Se,$e,!1);if(!window.GGBT_wsf_view)for(ke=0;keSe/4*3&&(fn=Se/4*3),Dt=fn/5.8,ze.setAttribute("src",lt),ze.setAttribute("width",fn),ze.setAttribute("height",Dt);var wt=(Se-fn)/2,yt=($e-Dt)/2;ze.style.left=wt+"px",ze.style.top=yt+"px",we.appendChild(ze)}}return we.appendChild(ke),we},sn=function(Se){return Se=Se.toLowerCase(),Se==="html5"||Se==="screenshot"?Se:"html5"},$t=["web","webSimple","web3d","tablet","tablet3d","phone"],It=function(Se,$e){if(Bt=Se,$e){Pe(Bt,!0);return}var He=!re;if(He){var xn=Pt(Bt);!isNaN(xn)&&xn<4.4&&(He=!1)}var we,de;window.location.protocol.substr(0,4)==="http"?we=window.location.protocol:we="http:";var ke=Bt.indexOf("//");ke>0?de=Bt:ke===0?de=we+Bt:de="https://www.geogebra.org/apps/5.2.814.0/";for(var ze in $t)if(Bt.slice($t[ze].length*-1)===$t[ze]||Bt.slice(($t[ze].length+1)*-1)===$t[ze]+"/"){Pe(de,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&He&&!Lt.is3D&&!Lt.AV&&!Lt.SV&&!Lt.CV&&!Lt.EV2&&!Lt.CP&&!Lt.PC&&!Lt.DA&&!Lt.FI&&!Lt.PV&&!ae(Et.showToolBar)&&!ae(Et.showMenuBar)&&!ae(Et.showAlgebraInput)&&!ae(Et.enableRightClick)&&(!Et.appName||Et.appName=="classic")?de+="webSimple/":de+="web3d/",Pe(de,!1)},Pe=function(Se,$e){if(Se.requirejs){Je=Se;return}Se.slice(-1)!=="/"&&(Se+="/"),Je=Se,$e===null&&($e=Se.indexOf("http")===-1),ie=$e,et="web.nocache.js",nt=!1;var He=Je.split("/");He.length>1&&(!$e&&He[He.length-2]==="webSimple"?(et="webSimple.nocache.js",nt=!0):$t.indexOf(He[He.length-2])>=0&&(et=He[He.length-2]+".nocache.js")),He=Se.split("/"),Bt=He[He.length-3],Bt.substr(0,4)==="test"?Bt=Bt.substr(4,1)+"."+Bt.substr(5,1):(Bt.substr(0,3)==="war"||Bt.substr(0,4)==="beta")&&(Bt="5.0");var xn=parseFloat(Bt);xn!==NaN&&xn<5&&Se.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+xn+" is deprecated. Using version latest instead."),It("5.0",$e))},an=function(Se,$e){window.console&&window.console.log&&(!$e||typeof $e.showLogging=="undefined"||$e.showLogging&&$e.showLogging!=="false")&&console.log(Se)};Et.material_id!==void 0?te(Ve):Ve();function Ve(){var Se=$n;Ht!==null?Se=Ht:parseFloat(Se)<5&&(Se="5.0"),It(Se,!1),oe!==null&&Pe(oe,ie),ne=!0}return bn},GGBAppletUtils=function(){"use strict";function bn(){return window.GGBT_wsf_edit!==void 0}function $n(ne,Ht){Ht!=1?(ne.style.transformOrigin="0% 0% 0px",ne.style.webkitTransformOrigin="0% 0% 0px",ne.style.transform="scale("+Ht+","+Ht+")",ne.style.webkitTransform="scale("+Ht+","+Ht+")",ne.style.maxWidth="initial",ne.querySelector(".ggb_preview")!==null&&(ne.querySelector(".ggb_preview").style.maxWidth="initial"),ne.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ne.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ne.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ne.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ne.style.transform="none",ne.style.webkitTransform="none")}function Et(ne,Ht,oe,Oe,ge,Nt){var Je=null;if(Nt!=null&&Nt!="")for(var ie=ne.parentNode;ie!=null;)if((" "+ie.className+" ").indexOf(" "+Nt+" ")>-1){Je=ie;break}else ie=ie.parentNode;var nn=0,Bt=0,et=0,nt=0,ct=0,lt=0,gt=0;if(Je)nn=Je.offsetWidth,Bt=Math.max(Oe?Je.offsetWidth:0,Je.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(nn=Math.min(window.innerWidth,document.documentElement.clientWidth),Bt=Math.min(window.innerHeight,document.documentElement.clientHeight),et=nn):(nn=window.innerWidth,Bt=window.innerHeight,et=window.innerWidth),ne){var mt=ne.getBoundingClientRect();mt.left>0&&mt.left<=nn&&(ge===void 0||!ge)&&(document.dir==="rtl"?(ct=nn-mt.width-mt.left,lt=et<=480?10:30):(lt=mt.left,ct=et<=480?10:30),nt=lt+ct)}if(ne&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var St=ne.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(nt=40,gt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(nt=0,gt=40)}}return ne&&((oe===void 0||!oe)&&Ht>0&&Ht+nt1&&(Nt=!0)),Ht&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Nt=!0),!(ne.hasOwnProperty("disableAutoScale")&&ne.disableAutoScale))ge=Lt(ne,Ht,Nt,oe,ne.scaleContainerClass);else return Oe;return Nt&&(!ne.hasOwnProperty("scale")||Oe===1)?ge:Math.min(Oe,ge)}function fe(ne){var Ht=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=ne.getBoundingClientRect(),ge=(Ht-Oe.width)/2,Nt=(oe-Oe.height)/2;Nt<0&&(Nt=0),ne.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ge<40?ne.style.left="40px":ne.style.left=ge+"px",ne.style.top=Nt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Nt<40?ne.style.top="40px":ne.style.top=Nt+"px",ne.style.left=ge+"px")}function pe(ne,Ht){var oe=ne.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ht.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ne)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var Oe=re(Ht,ne);bn()&&oe.setAttribute("data-param-scale",Oe);for(var ge=null,Nt=0;Nt=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(bn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(bn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(bn){var $n=c[bn];return $n==null?null:$n},r=d,webModule.__errFn=e}function B(){function bn(ne){var Ht=ne.lastIndexOf(rb);Ht==-1&&(Ht=ne.length);var oe=ne.indexOf(sb);oe==-1&&(oe=ne.length);var Oe=ne.lastIndexOf(tb,Math.min(oe,Ht));return Oe>=O?ne.substring(O,Oe+P):W}function $n(ne){if(!ne.match(/^\w+:\/\//)){var Ht=o.createElement(ub);Ht.src=ne+vb,ne=bn(Ht.src)}return ne}function Et(){var ne=__gwt_getMetaProperty(wb);return ne!=null?ne:W}function Lt(){for(var ne=o.getElementsByTagName(_),Ht=O;HtO?ne[ne.length-P].href:W}function fe(){var ne=o.location;return ne.href==ne.protocol+zb+ne.host+ne.pathname+ne.search+ne.hash}var pe=Et();return pe==W&&(pe=Lt()),pe==W&&(pe=re()),pe==W&&fe()&&(pe=bn(o.location.href)),pe=$n(pe),pe}function C(bn){return bn.match(/^\//)||bn.match(/^[a-zA-Z]+:\/\//)?bn:webModule.__moduleBase+bn}function D(){var bn=[],$n=O,Et=[],Lt=[];function re(ne){var Ht=Lt[ne](),oe=Et[ne];if(Ht in oe)return Ht;var Oe=[];for(var ge in oe)Oe[oe[ge]]=ge;throw r&&r(ne,Oe,Ht),null}if(__gwt_isKnownPropertyValue=function(ne,Ht){return Ht in Et[ne]},webModule.__getPropMap=function(){var ne={};for(var Ht in Et)Et.hasOwnProperty(Ht)&&(ne[Ht]=re(Ht));return ne},webModule.__computePropValue=re,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var fe;try{fe=Cb;var pe=fe.indexOf(Db);pe!=-1&&($n=parseInt(fe.substring(pe+P),$),fe=fe.substring(O,pe))}catch(ne){}return webModule.__softPermutationId=$n,C(fe+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(bn,$n,Et){"use strict";Et.d($n,{Ax:function(){return pe},Ds:function(){return ne},KI:function(){return oe},SI:function(){return fe},f1:function(){return re}});var Lt=Et(346);function re(Oe){let ge=!0;if(Oe.length>0){for(let Nt=0;NtBt in nn?Ht(nn,Bt,{enumerable:!0,configurable:!0,writable:!0,value:et}):nn[Bt]=et,Je=(nn,Bt)=>{for(var et in Bt||(Bt={}))Oe.call(Bt,et)&&Nt(nn,et,Bt[et]);if(oe)for(var et of oe(Bt))ge.call(Bt,et)&&Nt(nn,et,Bt[et]);return nn};const ie=({cancelText:nn="\u53D6\u6D88",okText:Bt="\u786E\u5B9A",loading:et=!1,hasOkBtn:nt=!0,hasCancelBtn:ct=!0,okButtonProps:lt={},onCancel:gt=()=>{},onOk:mt=()=>{},className:St=""})=>Lt.createElement("div",{className:ne()(fe.buttonFixed,St)},Lt.createElement("div",{className:fe.buttonWrap},ct&&Lt.createElement(re.ZP,{size:"middle",className:`${fe.button} mr20`,onClick:gt},nn),nt&&Lt.createElement(re.ZP,Je({size:"middle",type:"primary",className:`${fe.button} mr20`,loading:et,onClick:mt},lt),Bt)))},9507:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return Je}});var Lt=Et(59301),re={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},fe=Et(92310),pe=Et.n(fe),ne=Et(29787),Ht=Et(2859),oe=Et(38986),Oe=Et(51257),ge=(ie,nn,Bt)=>new Promise((et,nt)=>{var ct=mt=>{try{gt(Bt.next(mt))}catch(St){nt(St)}},lt=mt=>{try{gt(Bt.throw(mt))}catch(St){nt(St)}},gt=mt=>mt.done?et(mt.value):Promise.resolve(mt.value).then(ct,lt);gt((Bt=Bt.apply(ie,nn)).next())}),Je=({data:ie,className:nn,fullWidth:Bt,style:et={},onClose:nt,onOk:ct,showFullTools:lt,noAssociationId:gt})=>{const mt=(0,Lt.useRef)(null),St=(0,Lt.useRef)(null),Pt=(0,Lt.useRef)(null),Rt=(0,Lt.useRef)(null),[Wt,te]=(0,Lt.useState)(!1),[Jt,Vt]=(0,Lt.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Lt.useEffect)(()=>(Pt.current||(Pt.current=document.createElement("style"),document.head.appendChild(Pt.current)),ie!=null&&ie.visible?(document.body.setAttribute("data-custom","y-hidden"),Pt.current.innerHTML=" html { overflow-y: hidden; }",ie!=null&&ie.src&&le()):(document.body.removeAttribute("data-custom"),Pt.current&&(document.head.removeChild(Pt.current),Pt.current=null)),()=>{document.body.removeAttribute("data-custom"),Pt.current&&(document.head.removeChild(Pt.current),Pt.current=null)}),[ie==null?void 0:ie.visible]);const le=()=>ge(void 0,null,function*(){te(!0),Vt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ee=yield(0,Oe.ZJ)(ie==null?void 0:ie.src);mt.current.src="",mt.current.src=Ee,mt.current.onload=function(){De()},te(!1),Vt("")}),ae=Ee=>ge(void 0,null,function*(){te(!0),Vt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Sn=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ie.title,file:Ee.dataUrl}});Sn!=null&&Sn.id&&!gt?(yield(0,oe.ZP)(`/api/attachments/${ie.id}/add_subitem.json`,{method:"post",body:{subitem_id:Sn==null?void 0:Sn.id,settings:JSON.stringify(Ee.state)}})).status===0&&ct():Sn!=null&&Sn.id&&ct(Sn),te(!1),Vt("")}),Fe=()=>{const Ee=document.querySelector('a[href="https://markerjs.com/"]');Ee&&Ee.parentNode&&(Ee.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(rn=>{const Ge=document.querySelector(rn.name);Ge&&Ge.setAttribute("title",rn.title)})},De=()=>{St.current=new Ht.hP(mt.current),St.current.targetRoot=Rt.current,St.current.addEventListener("render",ae),St.current.addEventListener("beforeclose",nt),lt&&(St.current.availableMarkerTypes=St.current.ALL_MARKER_TYPES,St.current.uiStyleSettings.redoButtonVisible=!0,St.current.uiStyleSettings.notesButtonVisible=!0,St.current.uiStyleSettings.zoomButtonVisible=!0,St.current.uiStyleSettings.zoomOutButtonVisible=!0,St.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=St.current.uiStyleSettings,St.current.show(),ie!=null&&ie.snapshotData&&St.current.restoreState(ie.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Fe()},300)};return Lt.createElement(Lt.Fragment,null,(ie==null?void 0:ie.visible)&&Lt.createElement(ne.Z,{spinning:Wt,tip:Jt,style:{position:"absolute",width:"100vw"}},Lt.createElement("div",{ref:Rt,className:pe()(re.imageDimensions,nn,Bt?re.fullWidth:""),style:et},Lt.createElement("img",{className:re.img,ref:mt}))))}},76562:function(bn,$n,Et){"use strict";var Lt=Et(59301),re=Et(77019),fe=Et(5269),pe=Et(20554),ne=Et(99571),Ht=Et(76902),oe=Et(99587),Oe=Et(48136),ge=Et(59301);const Nt=(0,Lt.forwardRef)(({callback:Je,showSaveButton:ie,value:nn=""},Bt)=>{const et=(0,Lt.useRef)(),nt=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ct=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],lt=St=>{et.current.setValue(et.current.getValue()+" "+St.value+" ")},gt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ge.createElement(re.Z,{className:oe.Z.lists,gutter:[10,10]},nt.map((St,Pt)=>ge.createElement(fe.Z,{flex:"110px",className:oe.Z.item},ge.createElement("div",null,ge.createElement(Ht.Z,{value:`$$${St.value}$$`}),St.name),ge.createElement("div",{className:oe.Z.children},St.children.map((Rt,Wt)=>ge.createElement("div",{key:Wt},ge.createElement("h1",null,Rt.name),ge.createElement(re.Z,{gutter:[10,10]},Rt.data.map((te,Jt)=>ge.createElement(fe.Z,{key:Jt,onClick:()=>lt(te),className:oe.Z.diamond},ge.createElement(Ht.Z,{value:"`$$"+te.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ge.createElement(re.Z,{className:oe.Z.lists,gutter:[10,10]},ct.map((St,Pt)=>ge.createElement(fe.Z,{flex:"110px",className:oe.Z.item},ge.createElement("div",null,ge.createElement(Ht.Z,{value:"`$$"+St.value+"$$`"}),St.name),ge.createElement("div",{className:oe.Z.children},St.children.map((Rt,Wt)=>ge.createElement("div",{key:Wt},Rt.name&&ge.createElement("h1",null,Rt.name),ge.createElement(re.Z,{gutter:[10,10]},Rt.data.map((te,Jt)=>ge.createElement(fe.Z,{key:Jt,onClick:()=>lt(te),className:oe.Z.diamond},ge.createElement(Ht.Z,{value:"`$$"+te.value+"$$`"}))))))))))}],mt=()=>{var St=document.createElement("div");St.innerHTML=et.current.getValue();var Pt=St.innerText;return Je&&Je(Pt),Pt};return(0,Lt.useImperativeHandle)(Bt,()=>({getData:mt})),ge.createElement("div",{className:oe.Z.mathWrap},ge.createElement(pe.default,{defaultActiveKey:"1",items:gt}),ge.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:et,style:{width:800,marginTop:30,fontSize:18}},nn||""),ie&&ge.createElement("div",{className:oe.Z.button},ge.createElement(ne.ZP,{size:"large",onClick:mt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});$n.Z=Nt},28426:function(bn,$n,Et){"use strict";var Lt=Et(59301),re=Et(93314),fe=Et(99571),pe=Object.defineProperty,ne=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Nt=(Bt,et,nt)=>et in Bt?pe(Bt,et,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Bt[et]=nt,Je=(Bt,et)=>{for(var nt in et||(et={}))Oe.call(et,nt)&&Nt(Bt,nt,et[nt]);if(oe)for(var nt of oe(et))ge.call(et,nt)&&Nt(Bt,nt,et[nt]);return Bt},ie=(Bt,et)=>ne(Bt,Ht(et));const nn=({img:Bt,buttonProps:et={},styles:nt={},customText:ct,ButtonText:lt,ButtonClick:gt,Buttonclass:mt,ButtonTwo:St,imgStyles:Pt,loading:Rt=!1,className:Wt=""})=>Lt.createElement("section",{className:`tc animated fadeIn ${Wt}`,style:Je({color:"#999",margin:"100px auto",visibility:Rt?"hidden":"visible"},nt)},Lt.createElement("img",{src:Bt||re,style:ie(Je({},Pt),{pointerEvents:"none",userSelect:"none"})}),Lt.createElement("p",{className:"mt20 font14"},ct||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),lt&&Lt.createElement(fe.ZP,Je({className:mt,onClick:gt},et),lt),St&&St);$n.Z=nn},45677:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return mt}});var Lt=Et(59301),re={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},fe=Et(99571),pe=Et(70557),ne=Et(75975),Ht=Et(25399),oe=Et(51257),Oe=Et(81722),ge=Et(28426),Nt=Et(346),Je=Et(44203),ie=Et(59301),nn=Object.defineProperty,Bt=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,ct=(St,Pt,Rt)=>Pt in St?nn(St,Pt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):St[Pt]=Rt,lt=(St,Pt)=>{for(var Rt in Pt||(Pt={}))et.call(Pt,Rt)&&ct(St,Rt,Pt[Rt]);if(Bt)for(var Rt of Bt(Pt))nt.call(Pt,Rt)&&ct(St,Rt,Pt[Rt]);return St},gt=(St,Pt,Rt)=>new Promise((Wt,te)=>{var Jt=ae=>{try{le(Rt.next(ae))}catch(Fe){te(Fe)}},Vt=ae=>{try{le(Rt.throw(ae))}catch(Fe){te(Fe)}},le=ae=>ae.done?Wt(ae.value):Promise.resolve(ae.value).then(Jt,Vt);le((Rt=Rt.apply(St,Pt)).next())}),mt=({editOffice:St="view",data:Pt,issaver:Rt,onSaver:Wt,theme:te,type:Jt,filename:Vt,monacoEditor:le,className:ae,style:Fe,close:De,onClose:Ee,hasMask:Sn,disabledDownload:rn,onImgDimensions:Ge,showNodata:sn,recordInfo:$t})=>{const[It,Pe]=(0,Lt.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[an,Ve]=(0,Lt.useState)(""),[Se,$e]=(0,Lt.useState)(),He=window.ENV==="build"?"/react/build":"",xn=location.host.startsWith("localhost")?Nt.Z.PROXY_SERVER:Nt.Z.API_SERVER,de=10*(1024*1024),ke=(0,Lt.useRef)();Pt!=null&&Pt.startsWith("/api")&&Jt!=="txt"&&(Pt=Nt.Z.API_SERVER+Pt);const ze=kt=>kt.substring(kt.lastIndexOf("/")+1).split(".").pop();Vt&&le&&(le.filename=Vt),(0,Lt.useEffect)(()=>{var kt,jt;const Mt=(jt=(kt=document.cookie)==null?void 0:kt.replace(/\s/g,""))==null?void 0:jt.split(";");Mt==null||Mt.map(Gt=>{let Ce=Gt.split("=");Ce[0]==="_educoder_session"&&Ve(Ce[1])})},[]),(0,Lt.useEffect)(()=>{Jt==="office"&&(Pt.indexOf("bigfilescdn.")>-1||Pt.indexOf("bigfiles1")>-1?$e({url:Pt,fileType:ze(Pt),model:Pt.indexOf("model=edit")?"edit":"view"}):Dt())},[Jt,Pt]);function fn(kt){return gt(this,null,function*(){kt.data.type==="pdfdata"&&(Wt(kt.data.data),window.removeEventListener("message",fn,!1)),console.log("mess---:",kt.data)})}const Dt=()=>gt(void 0,null,function*(){console.log("data:",Pt);let kt=Pt;Pt.startsWith("http")||(kt=location.origin+kt);let jt=new URL(kt).pathname.split("/").pop();const Mt=yield(0,Oe.gJ)({attachment_id:jt});Mt.url=xn+Mt.url,$e(Mt)}),wt=()=>{if(Pt.startsWith("http")||Pt.startsWith("blob:")){yt();return}(0,oe.Sv)(Vt||"educoder",Pt,Vt)},yt=()=>{$t&&(0,Je.fc)({id:$t==null?void 0:$t.id,watch_type:1,course_id:$t==null?void 0:$t.course_id}),(0,oe.Nd)(Vt||"educoder",decodeURIComponent(Pt))};return ie.createElement("div",{style:lt({},Fe||{}),className:`${Sn&&re.bgBlack} ${Jt?re.wrp:"hide"}`},De&&ie.createElement("div",{className:re.close,ref:ke},!!Ge&&ie.createElement(Ht.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ke.current},ie.createElement("span",{onClick:()=>{Ee(),Ge()}},ie.createElement("i",{className:"icon-yulanpizhu"}))),!rn&&ie.createElement(Ht.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ke.current},ie.createElement("span",{onClick:yt},ie.createElement("i",{className:"icon-quxiaozhiding"}))),Rt&&ie.createElement(Ht.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ke.current},ie.createElement("span",{className:"",onClick:()=>{const kt=document.getElementById("pdfiframe");window.addEventListener("message",fn,!1),setTimeout(()=>{kt.contentWindow.postMessage("getData","*")},300)}},ie.createElement("i",{className:"icon-baocun"}))),ie.createElement(Ht.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ke.current},ie.createElement("span",{className:"",onClick:()=>{Ee()}},ie.createElement("i",{className:"icon-guanbi1"})))),ie.createElement("div",{className:`${re[ae]} ${ae} ${re.monaco} ${Jt==="txt"?"show":"hide"}`},Jt==="txt"&&ie.createElement(ie.Fragment,null,ie.createElement(ne.ZP,lt({},le)))),Jt==="audio"&&ie.createElement("audio",{src:`${(Pt==null?void 0:Pt.indexOf("http://"))>-1||(Pt==null?void 0:Pt.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Pt}`,autoPlay:!0}),Jt==="video"&&ie.createElement(ie.Fragment,null,(Pt==null?void 0:Pt.indexOf("http"))>-1?ie.createElement("video",{controls:!0,src:`${Pt}`,autoPlay:!0}):ie.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Pt}`,autoPlay:!0})),Jt==="office"&&Se&&ie.createElement("iframe",{src:`${He}/office.html?key=${Se.key}&url=${btoa(Se.url)}&callbackUrl=${xn+(Se.callbackUrl||"")}&fileType=${Se.fileType}&title=${Se.title||""}&model=${St}&officeServer=${Nt.Z.ONLYOFFICE}&disabledDownload=${!!rn}`}),Jt==="html"&&ie.createElement("iframe",{src:Pt+"&disposition=inline"}),Jt==="pdf"&&ie.createElement("iframe",{id:"pdfiframe",src:`${He}/js/pdfview/index.html?filename=${Vt||"educoder.pdf"}&url=${encodeURIComponent(Pt)}&disabledDownload=${!!rn}&model=${St}`}),Jt==="image"&&ie.createElement("img",{src:`${(Pt==null?void 0:Pt.indexOf("http://"))>-1||(Pt==null?void 0:Pt.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Pt}`}),(Jt==="other"||Jt==="download")&&ie.createElement(ie.Fragment,null,sn?ie.createElement(ge.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ie.createElement(fe.ZP,{icon:ie.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:wt,disabled:rn},"\u4E0B\u8F7D")}):ie.createElement(fe.ZP,{type:"primary",size:"middle",onClick:wt,disabled:rn},ie.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},76902:function(bn,$n,Et){"use strict";Et.d($n,{z:function(){return te},Z:function(){return Jt}});var Lt=Et(59301),re=Et(8944),fe=Et(81428),pe=Et(64018),ne=Et(81168),Ht=Et(346),oe=Et(51257),Oe=Et(15342),ge=Et(1012),Nt=Et(45677),Je=Et(59301),nn=({html:Vt})=>{const le=(0,Lt.useRef)(null),ae=(0,Lt.useRef)(null),Fe=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 56px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,Lt.useEffect)(()=>{const De=le.current.attachShadow({mode:"open"});ae.current=document.createElement("div"),ae.current.className="markdown-body",ae.current.innerHTML=Vt,De.appendChild(ae.current);const Ee=document.createElement("style");return Ee.textContent=Fe,De.appendChild(Ee),()=>{De.innerHTML=""}},[]),(0,Lt.useEffect)(()=>{ae.current&&(ae.current.innerHTML=Vt)},[Vt]),Je.createElement("div",{ref:le})};function Bt(Vt){const le=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],ae=new RegExp(`\\b(${le.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return Vt.replace(ae,"").trim()}var et=Object.defineProperty,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,gt=(Vt,le,ae)=>le in Vt?et(Vt,le,{enumerable:!0,configurable:!0,writable:!0,value:ae}):Vt[le]=ae,mt=(Vt,le)=>{for(var ae in le||(le={}))ct.call(le,ae)&>(Vt,ae,le[ae]);if(nt)for(var ae of nt(le))lt.call(le,ae)&>(Vt,ae,le[ae]);return Vt};const St="@\u2581\u2581@",Pt="@\u2581@",Rt=/]*>/g;function Wt(Vt){let le=document.createElement("div");return le.innerHTML=Vt,le.childNodes.length===0?"":le.childNodes[0].nodeValue}const te=(Vt,le)=>{Vt=Vt||"";const ae=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Fe=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,De=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ee=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return le?Vt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ae,(Sn,rn,Ge,sn,$t,It,Pe)=>{const an=rn||sn||It,Ve=Ge||$t||Pe||"?";return Ht.Z.API_SERVER+"/api/attachments/"+an+Ve+"&t="+(0,oe.Jn)(an,Date.now())+(Sn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Vt=Vt.replace(Ee,(Sn,rn,Ge,sn,$t,It,Pe)=>{const an=rn||sn||It,Ve=Ge||$t||Pe||"?";return Ht.Z.API_SERVER+"/attachments/download/"+an+Ve+"&t="+(0,oe.Jn)(an,Date.now())+(Sn.indexOf(")")>-1?")":"&")}).replace(ae,(Sn,rn,Ge,sn,$t,It,Pe)=>{const an=rn||sn||It,Ve=Ge||$t||Pe||"?";return Ht.Z.API_SERVER+"/api/attachments/"+an+Ve+"&t="+(0,oe.Jn)(an,Date.now())+(Sn.indexOf(")")>-1?")":"&")}).replace(Fe,(Sn,rn,Ge,sn,$t)=>{const It=rn||sn,Pe=Ge||$t||"";return'"'+Ht.Z.API_SERVER+"/api/attachments/"+It+Pe+It+Pe+"&t="+(0,oe.Jn)(It,Date.now())}).replace(De,(Sn,rn,Ge,sn,$t)=>{const It=rn||sn,Pe=Ge||$t||"";return"("+Ht.Z.API_SERVER+"/files/uploads/"+It+Pe+It+Pe+"&t="+(0,oe.Jn)(It,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Vt)};var Jt=({value:Vt="",className:le,showTextOnly:ae,showLines:Fe,style:De={},stylesPrev:Ee={},highlightKeywords:Sn,showProgramFill:rn,isProgramFill:Ge,disabledFill:sn=!1,programFillValue:$t,onFillChange:It=Ve=>{},onFillBlur:Pe=()=>{},onFillFocus:an=()=>{}})=>{let Ve=Bt(String(Vt||""));const[Se,$e]=(0,Lt.useState)(""),[He,xn]=(0,Lt.useState)("office"),[we,de]=(0,Lt.useState)([]),ke=(0,Lt.useRef)("a"+(0,ge.Z)()),ze={},fn=Le=>//i.test(Le||""),Dt=(Le,_e,un)=>{const Pn=document.createElement(Le===Pt?"input":"textarea");Pn.style.width="100%",Pn.style.height=Le===Pt?"40px":"151px",Pn.rows=5,Pn.spellcheck=!1,Pn.name="edu-program-fill",Pn.placeholder="\u8BF7\u8F93\u5165",Pn.dataset.id=_e;const gn=Object.keys(ze).length;return ze[gn]=Pn,`${Pn.outerHTML}`};function wt(Le){return Le=Le.replace(/!\[.*?\]\(.*?\)/g,""),Le=Le.replace(/\[.*?\]\(.*?\)/g,""),Le=Le.replace(new RegExp("","gs"),""),Le=Le.replace(//g,""),Le=Le.replace(//g,""),Le=Le.replace(new RegExp(".*?<\\/video>","gs"),""),Le=Le.replace(new RegExp(".*?<\\/audio>","gs"),""),Le=Le.replace(new RegExp(".*?<\\/style>","gs"),""),Le=Le.replace(new RegExp(".*?<\\/script>","gs"),""),Le}const yt=Le=>!ae&&fn(Ve)?Le:Le.replace(/([\s\S]+?)<\/style>/gim,function(_e,un){let Pn=un.replace(/(\n|\r)/g,"").split("}"),gn=[];return Pn.map(en=>{en!=""&&gn.push(`.${ke.current} ${en}`)}),``}),kt=(0,Lt.useMemo)(()=>{try{const Pn=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,gn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,en=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Zn=/\(\/attachments\/download\//g;Ve=Ve.replace(Zn,"("+Ht.Z.API_SERVER+"/attachments/download/").replace(Pn,"("+Ht.Z.API_SERVER+"/api/attachments/").replace(gn,'"'+Ht.Z.API_SERVER+"/api/attachments/").replace(en,'"'+Ht.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `)}catch(Pn){}if(rn){let Pn=-1;return Ve=Ve.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(gn,en,Zn){var Hn;return++Pn,Dt(gn,Pn,(Hn=$t==null?void 0:$t[Pn])==null?void 0:Hn.value.replaceAll("<","<").replaceAll(">",">"))}),`
${yt(Ve||"")}
`}let Le=yt(Ve);Le=(0,fe.ZP)(Le);const _e=(0,fe.ez)();Ve.match(/\[TOC\]/)&&(Le=Le.replace("

[TOC]

",(0,fe.Qv)()),(0,fe.Iy)()),Le=Le.replace(/(__special_katext_id_\d+__)/g,(Pn,gn)=>{const{type:en,expression:Zn}=_e[gn];return(0,Oe.renderToString)(Wt(Zn)||"",{displayMode:en==="block",throwOnError:!1,output:"html"})}),Le=Le.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,fe.AL)();const un=document.createElement("div");if(un.innerHTML=Le,ae)return un.innerText;if(Sn){const Pn=Sn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ce(un,Pn),un.innerHTML}return setTimeout(()=>Ae(),500),un.innerHTML},[Ve,Sn]);(0,Lt.useEffect)(()=>{be.current&&be.current.querySelectorAll(["input","textarea"]).forEach(_e=>{_e.oninput=jt,_e.onblur=Mt,_e.onfocus=Gt})},[we]),(0,Lt.useEffect)(()=>{var Le,_e,un,Pn,gn;if($t!=null&&$t.length)try{const en=be.current.querySelectorAll(".edu-program-fill-score"),Zn=be.current.querySelectorAll('[name="edu-program-fill"]');for(const[Hn,mn]of Zn.entries())mn.value=((Le=$t==null?void 0:$t[Hn])==null?void 0:Le.value)||"",((_e=$t==null?void 0:$t[Hn])==null?void 0:_e.type)==="warning"?mn.className="program-fill-warning":((un=$t==null?void 0:$t[Hn])==null?void 0:un.type)==="success"?mn.className="program-fill-success":mn.className="";for(const[Hn,mn]of en.entries())mn.innerHTML=(Pn=$t==null?void 0:$t[Hn])!=null&&Pn.score?`${(gn=$t==null?void 0:$t[Hn])==null?void 0:gn.score}\u5206`:"";de($t)}catch(en){console.log(en,"error")}},[$t]);const jt=Le=>{we[Le.target.dataset.id]=we[Le.target.dataset.id]||{},we[Le.target.dataset.id].value=Le.target.value,de([...we]),It(we,Le.target.dataset.id)},Mt=Le=>{we[Le.target.dataset.id]=we[Le.target.dataset.id]||{},we[Le.target.dataset.id].value=Le.target.value,de([...we]),Pe(we,Le.target.dataset.id)},Gt=Le=>{we[Le.target.dataset.id]=we[Le.target.dataset.id]||{},we[Le.target.dataset.id].value=Le.target.value,de([...we]),an(we,Le.target.dataset.id)};function Ce(Le,_e){return Le.childNodes.forEach(un=>{var Pn;if(un.childNodes.length>0)Ce(un,_e);else if(un.nodeName!=="IMG")if(un.innerHTML)un.innerHTML=(Pn=un.innerHTML)==null?void 0:Pn.replace(new RegExp(_e,"gi"),'$&');else{const gn=document.createElement("span");gn.innerHTML=un.textContent.replace(new RegExp(_e,"gi"),'$&'),un.replaceWith(gn)}})}const be=(0,Lt.useRef)();fe.jb.WebkitLineClamp=Fe,Fe&&(De=mt(mt({},De),fe.jb));function on(Le){let _e=Le.target;if(_e.tagName.toUpperCase()==="A"){let un=_e.getAttribute("href");if(un.indexOf("office")>-1)Le.preventDefault(),$e(un),xn("office");else if(un.indexOf("application/pdf")>-1)Le.preventDefault(),$e(un),xn("pdf");else if(un.indexOf("text/html")>-1)Le.preventDefault(),$e(un),xn("html");else if(un.startsWith("#")){Le.preventDefault();let Pn=document.getElementById(un.replace("#",""));Pn&&Pn.scrollIntoView(!0)}}}const Ae=()=>{var Le;const _e=(Le=be.current)==null?void 0:Le.querySelectorAll("video");_e==null||_e.forEach(un=>{if(un.oncontextmenu=()=>!1,un.src.indexOf(".m3u8")>-1&&!un.canPlayType("application/vnd.apple.mpegurl")){if(ne.ZP.isSupported()){var Pn=new ne.ZP;Pn.loadSource(un.src),Pn.attachMedia(un)}}})};return(0,Lt.useEffect)(()=>{if(be.current&&kt&&kt.match(Rt)&&window.PR.prettyPrint(),be.current)return be.current.addEventListener("click",on),()=>{var Le;(Le=be.current)==null||Le.removeEventListener("click",on),(0,fe.AL)(),(0,fe.Iy)()}},[kt,be.current,on]),(0,Lt.useEffect)(()=>{var Le;const _e=un=>{un.preventDefault(),un.clipboardData.setData("text",window.getSelection().toString())};return(Le=be.current)==null||Le.addEventListener("copy",_e),()=>{var un;(un=be.current)==null||un.removeEventListener("copy",_e)}},[be.current]),Lt.createElement(Lt.Fragment,null,ae&&Lt.createElement("div",{ref:be},kt),!ae&&!fn(kt)&&Lt.createElement("div",{ref:be,style:mt({},De),className:`${le||""} ${sn?"disabled-fill":""} markdown-body ${ke.current}`,dangerouslySetInnerHTML:{__html:kt}}),!ae&&fn(kt)&&Lt.createElement(nn,{html:kt}),Lt.createElement(Nt.Z,{close:!0,data:Se,type:Se!=null&&Se.length?He:"",style:mt({},Ee),onClose:()=>$e("")}))}},69720:function(bn,$n,Et){"use strict";Et.d($n,{h:function(){return St}});var Lt=Et(59301),re=Et(82326),fe=Et(28284),pe=Et(99571),ne=Et(89780),Ht=Et.n(ne),oe=Et(8336),Oe=Et(12469),ge=Object.defineProperty,Nt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,et=(Pt,Rt,Wt)=>Rt in Pt?ge(Pt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Pt[Rt]=Wt,nt=(Pt,Rt)=>{for(var Wt in Rt||(Rt={}))nn.call(Rt,Wt)&&et(Pt,Wt,Rt[Wt]);if(ie)for(var Wt of ie(Rt))Bt.call(Rt,Wt)&&et(Pt,Wt,Rt[Wt]);return Pt},ct=(Pt,Rt)=>Nt(Pt,Je(Rt));const lt=re.default.Option,gt={labelCol:{span:4},wrapperCol:{span:20}},mt={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};$n.Z=({callback:Pt,onCancel:Rt})=>{const[Wt,te]=(0,Lt.useState)("python");function Jt(le){te(mt[le][1])}function Vt(le){Pt(le)}return Lt.createElement(fe.default,ct(nt({},gt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Vt,style:{width:500}}),Lt.createElement(fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Lt.createElement(re.default,{getPopupContainer:le=>le.parentNode,onChange:Jt},Object.keys(mt).map(le=>Lt.createElement(lt,{key:le,value:le},mt[le][0])))),Lt.createElement(fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Lt.createElement(St,{mode:Wt})),Lt.createElement("div",{className:"flex-container flex-end"},Lt.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Lt.createElement(pe.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))};function St({value:Pt,onChange:Rt,mode:Wt,options:te={}}){const Jt=(0,Lt.useRef)(),[Vt,le]=(0,Lt.useState)();return(0,Lt.useEffect)(()=>{if(Vt){let ae=function(Fe){const De=Fe.getValue();Rt&&Rt(De)};return Vt.on("change",ae),()=>{Vt.off("change",ae)}}},[Vt,Rt]),(0,Lt.useEffect)(()=>{Vt&&Vt.setOption("mode",Wt)},[Vt,Wt]),(0,Lt.useEffect)(()=>{Vt&&(Pt!==Vt.getValue()||Pt==="")&&setTimeout(()=>{Vt.setValue(Pt||"")},300)},[Vt,Pt]),(0,Lt.useEffect)(()=>{if(Jt.current&&!Vt){const ae=Ht().fromTextArea(Jt.current,nt({mode:Wt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},te));le(ae)}},[Jt.current,Vt]),Lt.createElement("div",{className:"my-codemirror-container"},Lt.createElement("textarea",{ref:Jt}))}},39793:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return ui}});var Lt=Et(59301),re=Et(89780),fe=Et.n(re),pe=Et(76374),ne=Et(8336),Ht=Et(6313),oe=Et(25717),Oe=Et(99498),ge=Et(25419),Nt=Et(67549),Je=Et(76902),ie=({value:Te="",className:Ze,showTextOnly:Ne,showLines:ln,style:Oi={}})=>{const Ni=(0,Lt.useMemo)(()=>"",[Te]);return Lt.createElement(Lt.Fragment,null,Lt.createElement("div",{dangerouslySetInnerHTML:{__html:Ni}}))},nn=Object.defineProperty,Bt=Object.defineProperties,et=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,gt=(Te,Ze,Ne)=>Ze in Te?nn(Te,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Te[Ze]=Ne,mt=(Te,Ze)=>{for(var Ne in Ze||(Ze={}))ct.call(Ze,Ne)&>(Te,Ne,Ze[Ne]);if(nt)for(var Ne of nt(Ze))lt.call(Ze,Ne)&>(Te,Ne,Ze[Ne]);return Te},St=(Te,Ze)=>Bt(Te,et(Ze));let Pt=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Rt({onActionCallback:Te,title:Ze,icon:Ne,actionName:ln,className:Oi="",children:Ni}){function $i(){Te(ln)}return Lt.createElement("a",{title:Ze,className:Oi,onClick:$i},Lt.createElement("i",{className:`${Ne}`}),Ni)}var Wt=({watch:Te,showNullButton:Ze,showNullProgramButton:Ne,onActionCallback:ln,fullScreen:Oi,insertTemp:Ni,hidetoolBar:$i,extraUse:Ye})=>{const cn=[...Pt,{title:`${Te?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Te?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Lt.createElement("ul",{className:"markdown-toolbar-container"},!$i&&cn.map((Pi,dr)=>Lt.createElement("li",{key:dr},Pi.actionName?Lt.createElement(Rt,St(mt({},Pi),{onActionCallback:ln})):Lt.createElement("span",{className:"v-line"}))),Ze?Lt.createElement("li",null,Lt.createElement(Rt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ln},Lt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ne?Lt.createElement(Lt.Fragment,null,Lt.createElement("li",null,Lt.createElement(Rt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ln},Lt.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),Lt.createElement("li",null,Lt.createElement(Rt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ln},Lt.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Ni&&Lt.createElement("li",null,Lt.createElement(Rt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ni}`,onActionCallback:ln},Lt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ye&&Lt.createElement("li",null,Ye),Lt.createElement("li",{className:"btn-full-screen"},Lt.createElement(Rt,{icon:`${Oi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Oi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ln})))},te=Et(91558),Jt=Et(28284),Vt=Et(37568),le=Et(99571),ae=Object.defineProperty,Fe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable,Ge=(Te,Ze,Ne)=>Ze in Te?ae(Te,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Te[Ze]=Ne,sn=(Te,Ze)=>{for(var Ne in Ze||(Ze={}))Sn.call(Ze,Ne)&&Ge(Te,Ne,Ze[Ne]);if(Ee)for(var Ne of Ee(Ze))rn.call(Ze,Ne)&&Ge(Te,Ne,Ze[Ne]);return Te},$t=(Te,Ze)=>Fe(Te,De(Ze));const It={labelCol:{span:4},wrapperCol:{span:20}};var Pe=({callback:Te,onCancel:Ze})=>{function Ne(ln){Te(ln)}return Lt.createElement(Jt.default,$t(sn({},It),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ne,style:{width:500}}),Lt.createElement(Jt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Lt.createElement(Vt.default,null)),Lt.createElement(Jt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Lt.createElement(Vt.default,null)),Lt.createElement("div",{className:"flex-container flex-end"},Lt.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Lt.createElement(le.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))},an=Et(69720),Ve=Et(17077),Se=Et(62957),$e=Et(77019),He=Et(9507),xn=Et(59301),we=({callback:Te,onCancel:Ze})=>{const Ne=document.createElement("canvas"),ln=Ne.getContext("2d");Ne.width=1e3,Ne.height=800,ln.fillStyle="#ffffff",ln.fillRect(0,0,Ne.width,Ne.height);const Oi=Ne.toDataURL("image/png");return xn.createElement(Se.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},xn.createElement($e.Z,{style:{height:"100vh"}},xn.createElement(He.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Oi,visible:!0,title:String(Date.now())},onOk:Ni=>{Te({src:Ni.url})},onClose:Ze})))},de=Et(12378);function ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ke,go.CommandHandler),ke.prototype.canAlignSelection=function(){var Te=this.diagram;return!(Te===null||Te.isReadOnly||Te.isModelReadOnly||Te.selection.count<2)},ke.prototype.alignLeft=function(){var Te=this.diagram;Te.startTransaction("aligning left");var Ze=1/0;Te.selection.each(function(Ne){Ne instanceof go.Link||(Ze=Math.min(Ne.position.x,Ze))}),Te.selection.each(function(Ne){Ne instanceof go.Link||Ne.move(new go.Point(Ze,Ne.position.y))}),Te.commitTransaction("aligning left")},ke.prototype.alignRight=function(){var Te=this.diagram;Te.startTransaction("aligning right");var Ze=-1/0;Te.selection.each(function(Ne){if(!(Ne instanceof go.Link)){var ln=Ne.actualBounds.x+Ne.actualBounds.width;Ze=Math.max(ln,Ze)}}),Te.selection.each(function(Ne){Ne instanceof go.Link||Ne.move(new go.Point(Ze-Ne.actualBounds.width,Ne.position.y))}),Te.commitTransaction("aligning right")},ke.prototype.alignTop=function(){var Te=this.diagram;Te.startTransaction("alignTop");var Ze=1/0;Te.selection.each(function(Ne){Ne instanceof go.Link||(Ze=Math.min(Ne.position.y,Ze))}),Te.selection.each(function(Ne){Ne instanceof go.Link||Ne.move(new go.Point(Ne.position.x,Ze))}),Te.commitTransaction("alignTop")},ke.prototype.alignBottom=function(){var Te=this.diagram;Te.startTransaction("aligning bottom");var Ze=-1/0;Te.selection.each(function(Ne){if(!(Ne instanceof go.Link)){var ln=Ne.actualBounds.y+Ne.actualBounds.height;Ze=Math.max(ln,Ze)}}),Te.selection.each(function(Ne){Ne instanceof go.Link||Ne.move(new go.Point(Ne.actualBounds.x,Ze-Ne.actualBounds.height))}),Te.commitTransaction("aligning bottom")},ke.prototype.alignCenterX=function(){var Te=this.diagram,Ze=Te.selection.first();if(Ze){Te.startTransaction("aligning Center X");var Ne=Ze.actualBounds.x+Ze.actualBounds.width/2;Te.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(Ne-ln.actualBounds.width/2,ln.actualBounds.y))}),Te.commitTransaction("aligning Center X")}},ke.prototype.alignCenterY=function(){var Te=this.diagram,Ze=Te.selection.first();if(Ze){Te.startTransaction("aligning Center Y");var Ne=Ze.actualBounds.y+Ze.actualBounds.height/2;Te.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(ln.actualBounds.x,Ne-ln.actualBounds.height/2))}),Te.commitTransaction("aligning Center Y")}},ke.prototype.alignColumn=function(Te){var Ze=this.diagram;Ze.startTransaction("align Column"),Te===void 0&&(Te=0),Te=parseFloat(Te);var Ne=new Array;Ze.selection.each(function(Ye){Ye instanceof go.Link||Ne.push(Ye)});for(var ln=0;ln0){for(var Ye=Ni.elt($i-1);Ye!==null&&Ye.isTreeExpanded&&!Ye.isTreeLeaf;){var cn=this._sortTreeChildrenByY(Ye);Ye=cn.last()}Ye!==null&&Te.select(Ye)}else Te.select(Oi)}}else if(Ne.key==="Down")if(Ze.isTreeExpanded&&!Ze.isTreeLeaf){var ln=this._sortTreeChildrenByY(Ze).first();ln!==null&&Te.select(ln)}else for(;Ze!==null;){var Oi=Ze.findTreeParentNode();if(Oi===null)break;var Ni=this._sortTreeChildrenByY(Oi),$i=Ni.indexOf(Ze);if($iNi.y?1:Oi.xNi.x?1:0}),Ze},ke.prototype.copyToClipboard=function(Te){go.CommandHandler.prototype.copyToClipboard.call(this,Te),this._lastPasteOffset.set(this.pasteOffset)},ke.prototype.pasteFromClipboard=function(){var Te=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Te,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Te},Object.defineProperty(ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Te){if(Te!=="move"&&Te!=="select"&&Te!=="scroll"&&Te!=="tree"&&Te!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Te);this._arrowKeyBehavior=Te}}),Object.defineProperty(ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Te){if(!(Te instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Te);this._pasteOffset.set(Te)}});var ze=ke,fn=Et(63720),Dt=Et(5269),wt=Et(38986),yt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},kt=Et(48790),jt=Et(59301),Mt=(Te,Ze,Ne)=>new Promise((ln,Oi)=>{var Ni=cn=>{try{Ye(Ne.next(cn))}catch(Pi){Oi(Pi)}},$i=cn=>{try{Ye(Ne.throw(cn))}catch(Pi){Oi(Pi)}},Ye=cn=>cn.done?ln(cn.value):Promise.resolve(cn.value).then(Ni,$i);Ye((Ne=Ne.apply(Te,Ze)).next())});function Gt({onCancel:Te,callback:Ze}){let Ne=(0,Lt.useRef)(),ln=(0,Lt.useRef)(),Oi=(0,Lt.useRef)(),Ni=(0,Lt.useRef)(!1);const $i=(0,Lt.useRef)(!1),[Ye,cn]=(0,Lt.useState)(0);function Pi(){const Yn=de.bx.make,Qt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Ne.current=new de.S0(ln.current,{padding:20,grid:Yn(de.s_,"Grid",Yn(de.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Yn(de.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:je=>{var _i=je.diagram.commandHandler.addTopLevelParts(je.diagram.selection,!0);_i||je.diagram.currentTool.doCancel()},commandHandler:Yn(ze),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:je=>{var _i=je.subject;_i.location=_i.location.copy().snapToGridPoint(je.diagram.grid.gridOrigin,je.diagram.grid.gridCellSize),setTimeout(()=>{je.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:je=>{var _i=je.subject;setTimeout(()=>{je.diagram.commandHandler.editTextBlock()})},LinkRelinked:je=>{var _i=je.parameter.part;_i.invalidateConnectedLinks();var Ar=je.subject;je.diagram.toolManager.linkingTool.isForwards?Ar.toNode.invalidateConnectedLinks():Ar.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ne.current.nodeTemplate=Yn(de.NB,"Auto",{locationSpot:de.z6.Center,locationObjectName:"SHAPE",desiredSize:new de.$u(120,60),minSize:new de.$u(40,40),resizable:!0,resizeCellSize:new de.$u(10,10),rotatable:!0},new de.KX("location","loc",de.E9.parse).makeTwoWay(de.E9.stringify),new de.KX("desiredSize","size",de.$u.parse).makeTwoWay(de.$u.stringify),Yn(de.bn,{name:"SHAPE",fill:Qt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:de.z6.AllSides,toSpot:de.z6.AllSides},new de.KX("figure"),new de.KX("fill"),new de.KX("stroke","borderColor"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Yn(de.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Yn(de.al,{margin:1,textAlign:"center",overflow:de.al.OverflowEllipsis,editable:!0},new de.KX("text").makeTwoWay(),new de.KX("stroke","color"))),Ne.current.nodeTemplate.toolTip=Yn("ToolTip",Yn(de.s_,"Vertical",{maxSize:new de.$u(200,NaN)},Yn(de.al,{font:"bold 10pt sans-serif",textAlign:"center"},new de.KX("text")),Yn(de.al,{font:"10pt sans-serif",textAlign:"center"},new de.KX("text","details"))));function Me(je,_i){var Ar=(Wi,Wr)=>{Wi.handled=!0,Wi.diagram.model.commit(Nr=>{var Xr=Wr.part.adornedPart,zr=new de.E9().setRectSpot(Xr.actualBounds,je);zr.subtract(Xr.location),zr.scale(2,2),zr.x+=Math.sign(zr.x)*130,zr.y+=Math.sign(zr.y)*130,zr.add(Xr.location),zr.snapToGridPoint(Wi.diagram.grid.gridOrigin,Wi.diagram.grid.gridCellSize);var Hr=Nr.copyNodeData(Xr.data);Nr.setGroupKeyForNodeData(Hr,Nr.getGroupKeyForNodeData(Xr.data)),Nr.addNodeData(Hr);var qr={from:Xr.key,to:Nr.getKeyForNodeData(Hr)};Nr.addLinkData(qr);var pn=Wi.diagram.findNodeForData(Hr);pn.location=zr,Wi.diagram.select(pn),setTimeout(()=>{Wi.diagram.commandHandler.editTextBlock()},20)})};return Yn(de.bn,{figure:_i,alignment:je,alignmentFocus:je.opposite(),width:je.equals(de.z6.Top)||je.equals(de.z6.Bottom)?25:18,height:je.equals(de.z6.Top)||je.equals(de.z6.Bottom)?18:25,fill:"orange",stroke:Qt.white,strokeWidth:4,mouseEnter:(Wi,Wr)=>Wr.fill="dodgerblue",mouseLeave:(Wi,Wr)=>Wr.fill="orange",isActionable:!0,click:Ar,contextClick:Ar})}function Gn(je){return Yn(de.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(_i,Ar)=>Ar.fill="dodgerblue",mouseLeave:(_i,Ar)=>Ar.fill="orange",click:(_i,Ar)=>{_i.diagram.commandHandler.showContextMenu(Ar.part.adornedPart)}},je||{})}Ne.current.nodeTemplate.selectionAdornmentTemplate=Yn(de.uz,"Spot",Yn(de.Vm,{padding:10}),Me(de.z6.Top,"TriangleUp"),Me(de.z6.Left,"TriangleLeft"),Me(de.z6.Right,"TriangleRight"),Me(de.z6.Bottom,"TriangleDown"),Gn({alignment:new de.z6(.75,0)}));function qn(je,_i){return(Ar,Wi)=>{Ar.handled=!0,Ar.diagram.model.commit(Wr=>{Wr.set(Wi.part.adornedPart.data,je,_i)})}}function Xe(je,_i){return _i||(_i="color"),Yn(de.bn,{width:16,height:16,stroke:"lightgray",fill:je,margin:1,background:"transparent",mouseEnter:(Ar,Wi)=>Wi.stroke="dodgerblue",mouseLeave:(Ar,Wi)=>Wi.stroke="lightgray",click:qn(_i,je),contextClick:qn(_i,je)})}function ri(){return[Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Xe(Qt.white,"fill"),Xe(Qt.beige,"fill"),Xe(Qt.extralightblue,"fill"),Xe(Qt.extralightred,"fill"))),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Xe(Qt.lightgray,"fill"),Xe(Qt.lightgreen,"fill"),Xe(Qt.lightblue,"fill"),Xe(Qt.lightred,"fill")))]}function Zi(){return[Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Xe(Qt.black),Xe(Qt.green),Xe(Qt.blue),Xe(Qt.red))),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Xe(Qt.white),Xe(Qt.magenta),Xe(Qt.purple),Xe(Qt.orange)))]}function Gi(je,_i){return _i||(_i="thickness"),Yn(de.bn,"LineH",{width:16,height:16,strokeWidth:je,margin:1,background:"transparent",mouseEnter:(Ar,Wi)=>Wi.background="dodgerblue",mouseLeave:(Ar,Wi)=>Wi.background="transparent",click:qn(_i,je),contextClick:qn(_i,je)})}function ir(je,_i){return _i||(_i="dash"),Yn(de.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:je,margin:1,background:"transparent",mouseEnter:(Ar,Wi)=>Wi.background="dodgerblue",mouseLeave:(Ar,Wi)=>Wi.background="transparent",click:qn(_i,je),contextClick:qn(_i,je)})}function ai(){return[Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Gi(1),Gi(2),Gi(3),Gi(4))),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",ir(null),ir([2,4]),ir([4,4])))]}function Jn(je,_i){return _i||(_i="figure"),Yn(de.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:je,margin:1,background:"transparent",mouseEnter:(Ar,Wi)=>Wi.fill="dodgerblue",mouseLeave:(Ar,Wi)=>Wi.fill="lightgray",click:qn(_i,je),contextClick:qn(_i,je)})}Ne.current.nodeTemplate.contextMenu=Yn("ContextMenu",Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Jn("Rectangle"),Jn("RoundedRectangle"),Jn("Ellipse"),Jn("Diamond"))),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Jn("Parallelogram2"),Jn("ManualOperation"),Jn("Procedure"),Jn("Cylinder1"))),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Jn("Terminator"),Jn("CreateRequest"),Jn("Document"),Jn("TriangleDown"))),ri(),Zi(),ai()),Ne.current.groupTemplate=Yn(de.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:de.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(je,_i)=>{var Ar=_i.addMembers(_i.diagram.selection,!0);Ar||_i.diagram.currentTool.doCancel()},avoidable:!1},new de.KX("location","loc",de.E9.parse).makeTwoWay(de.E9.stringify),Yn(de.s_,"Auto",{name:"BODY"},Yn(de.bn,{parameter1:10,fill:Qt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:de.z6.AllSides,toSpot:de.z6.AllSides},new de.KX("fill"),new de.KX("stroke","color"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Yn(de.Vm,{background:"transparent",margin:20})),Yn(de.al,{alignment:de.z6.Top,alignmentFocus:de.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new de.KX("text"),new de.KX("stroke","color"))),Ne.current.groupTemplate.selectionAdornmentTemplate=Yn(de.uz,"Spot",Yn(de.s_,"Auto",Yn(de.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Yn(de.Vm,{margin:1.5})),Gn({alignment:de.z6.TopRight,alignmentFocus:de.z6.BottomRight})),Ne.current.groupTemplate.contextMenu=Yn("ContextMenu",ri(),Zi(),ai()),Ne.current.linkTemplate=Yn(de.rU,{layerName:"Foreground",routing:de.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new de.KX("fromSpot","fromSpot",de.z6.parse),new de.KX("toSpot","toSpot",de.z6.parse),new de.KX("fromShortLength","dir",je=>je>=1?10:0),new de.KX("toShortLength","dir",je=>je>=1?10:0),new de.KX("points").makeTwoWay(),Yn(de.bn,{strokeWidth:2},new de.KX("stroke","color"),new de.KX("strokeWidth","thickness"),new de.KX("strokeDashArray","dash")),Yn(de.bn,{segmentIndex:0,segmentOffset:new de.E9(15,0),segmentOrientation:de.rU.OrientAlong,alignmentFocus:de.z6.Right,figure:"circle",width:10,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",je=>je===1)),Yn(de.bn,{segmentIndex:-1,segmentOffset:new de.E9(-10,6),segmentOrientation:de.rU.OrientPlus90,alignmentFocus:de.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",je=>je>=1),new de.KX("width","thickness",je=>7+3*je),new de.KX("height","thickness",je=>7+3*je),new de.KX("segmentOffset","thickness",je=>new de.E9(-15,4+1.5*je))),Yn(de.bn,{segmentIndex:0,segmentOffset:new de.E9(15,-6),segmentOrientation:de.rU.OrientMinus90,alignmentFocus:de.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new de.KX("fill","color"),new de.KX("visible","dir",je=>je===2),new de.KX("width","thickness",je=>7+3*je),new de.KX("height","thickness",je=>7+3*je),new de.KX("segmentOffset","thickness",je=>new de.E9(-15,4+1.5*je))),Yn(de.al,{alignmentFocus:new de.z6(0,1,-4,0),editable:!0},new de.KX("text").makeTwoWay(),new de.KX("stroke","color"))),Ne.current.linkTemplate.selectionAdornmentTemplate=Yn(de.uz,Yn(de.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:hi(2)},new de.KX("pathPattern","thickness",hi)),Gn({alignmentFocus:new de.z6(0,0,-6,-4)}));function hi(je){return Yn(de.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(je+4).toString()+" H3"})}function hr(je){var _i="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return je===0?_i="M0 0 M16 16 M0 8 L16 8":je===2&&(_i="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Yn(de.bn,{geometryString:_i,margin:2,background:"transparent",mouseEnter:(Ar,Wi)=>Wi.background="dodgerblue",mouseLeave:(Ar,Wi)=>Wi.background="transparent",click:qn("dir",je),contextClick:qn("dir",je)})}function tr(je){var _i=(Ar,Wi)=>{Ar.handled=!0,Ar.diagram.model.commit(Wr=>{var Nr=Wi.part.adornedPart;Wr.set(Nr.data,je?"toSpot":"fromSpot",de.z6.stringify(de.z6.AllSides)),(je?Nr.toNode:Nr.fromNode).invalidateConnectedLinks()})};return Yn(de.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ar,Wi)=>Wi.background="dodgerblue",mouseLeave:(Ar,Wi)=>Wi.background="transparent",click:_i,contextClick:_i})}function Dn(je,_i){var Ar=0,Wi=de.z6.RightSide;je.equals(de.z6.Top)?(Ar=270,Wi=de.z6.TopSide):je.equals(de.z6.Left)?(Ar=180,Wi=de.z6.LeftSide):je.equals(de.z6.Bottom)&&(Ar=90,Wi=de.z6.BottomSide),_i||(Ar-=180);var Wr=(Nr,Xr)=>{Nr.handled=!0,Nr.diagram.model.commit(zr=>{var Hr=Xr.part.adornedPart;zr.set(Hr.data,_i?"toSpot":"fromSpot",de.z6.stringify(Wi)),(_i?Hr.toNode:Hr.fromNode).invalidateConnectedLinks()})};return Yn(de.bn,{alignment:je,alignmentFocus:je.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ar,background:"transparent",mouseEnter:(Nr,Xr)=>Xr.background="dodgerblue",mouseLeave:(Nr,Xr)=>Xr.background="transparent",click:Wr,contextClick:Wr})}Ne.current.linkTemplate.contextMenu=Yn("ContextMenu",Zi(),ai(),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",hr(0),hr(1),hr(2))),Yn("ContextMenuButton",Yn(de.s_,"Horizontal",Yn(de.s_,"Spot",tr(!1),Dn(de.z6.Top,!1),Dn(de.z6.Left,!1),Dn(de.z6.Right,!1),Dn(de.z6.Bottom,!1)),Yn(de.s_,"Spot",{margin:new de.Zt(0,0,0,2)},tr(!0),Dn(de.z6.Top,!0),Dn(de.z6.Left,!0),Dn(de.z6.Right,!0),Dn(de.z6.Bottom,!0)))));const ki=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, {"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, {"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, {"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, {"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, {"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} ], "linkDataArray": [ {"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, {"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, {"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, {"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Fr=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function jr(je){return console.log("shapeName:",je),Fr.indexOf(je)>=0}var so=new de.YI(Oi.current,{maxSelectionCount:1,linkTemplate:Yn(de.rU,{locationSpot:de.z6.Center,selectionAdornmentTemplate:Yn(de.uz,"Link",{locationSpot:de.z6.Center},Yn(de.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Yn(de.bn,{toArrow:"Standard",stroke:null}))},{routing:de.rU.AvoidsNodes,curve:de.rU.JumpOver,corner:5,toShortLength:4},new de.KX("points"),Yn(de.bn,{isPanelMain:!0,strokeWidth:2}),Yn(de.bn,{toArrow:"Standard",stroke:null})),model:new de.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...de.bn.getFigureGenerators().toArray().map(je=>({text:"\u672A\u547D\u540D",size:"100 100",figure:je.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ne.current.addDiagramListener("TextEdited",function(je){var _i;const Ar=je.subject.part;var Wi=(_i=document.activeElement)==null?void 0:_i.value;typeof Wi=="string"&&Wi.trim()===""&&Ne.current.model.commit(function(Wr){Wr.set(Ar.data,"text","\u672A\u547D\u540D"),Ne.current.commandHandler.stopCommand()},"increment")}),so.nodeTemplate=Yn(de.NB,"Auto",{locationSpot:de.z6.Center},new de.KX("location","location",de.E9.parse).makeTwoWay(de.E9.stringify),Yn(de.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new de.KX("stroke").makeTwoWay(),new de.KX("fill").makeTwoWay(),new de.KX("figure")),Yn(de.al,{margin:new de.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new de.$u(16,16),maxSize:new de.$u(10,NaN),textAlign:"center",editable:!0},new de.KX("key").makeTwoWay())),setTimeout(()=>{Ne.current.grid=Yn(de.s_,"Grid",Yn(de.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Yn(de.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ne.current.grid.visible=!0,Ne.current.grid.gridCellStroke="darkgray",Ne.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ne.current,Ne.current}const dr=()=>Mt(this,null,function*(){var Yn,Qt=Ne.current.makeImage();const Me=yield(0,wt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Qt.src,file_data:JSON.stringify({login:(Yn=(0,kt.eY)())==null?void 0:Yn.login,data:JSON.parse(Ne.current.model.toJson())})}});Ze({src:Me.url})});return(0,Lt.useEffect)(()=>(setTimeout(()=>{Pi()},500),cn(Ye+1),()=>{Ne.current=null}),[]),jt.createElement("div",{ref:$i,className:"body-overflow-initial"},jt.createElement(Se.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ye,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:jt.createElement($e.Z,null,jt.createElement(Dt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),jt.createElement(Dt.Z,{onClick:()=>{var Yn,Qt,Me=Ne.current.selection.first();if(Ni.current=!Ni.current,document.activeElement&&Me){let Gn=(Qt=(Yn=document.activeElement)==null?void 0:Yn.value)==null?void 0:Qt.trim();typeof Gn=="string"&&Ne.current.model.commit(function(qn){qn.set(Me.data,"text",Gn||"\u672A\u547D\u540D"),Ne.current.commandHandler.stopCommand()},"increment")}cn(Ye+1)}},jt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Te},jt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative",display:Ni.current?"none":"block"},className:yt.flowChartWrp},jt.createElement("div",{style:{display:"flex",height:"100%"}},jt.createElement("div",{style:{width:"300px",height:"100%"}},jt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),jt.createElement("div",{style:{height:"calc(100% - 50px)"},className:yt.myPaletteDiv,ref:Oi})),jt.createElement("div",{style:{flex:1,position:"relative"}},jt.createElement("div",{ref:ln,style:{height:"80vh"}}))),jt.createElement("div",{className:"tr"},jt.createElement(le.ZP,{size:"large",onClick:dr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ce=Gt,be=Et(47889),on=Et(71051);const Ae=be.ZP.Group,Le={margin:"0 8px"};var _e=({callback:Te,onCancel:Ze})=>{function Ne(ln){Te(ln)}return Lt.createElement(Jt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ne},Lt.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Lt.createElement("span",{style:Le},"\u5355\u5143\u683C\u6570\uFF1A"),Lt.createElement("span",{style:Le},"\u884C\u6570"),Lt.createElement(Jt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Lt.createElement(on.Z,null)),Lt.createElement("span",{style:Le},"\u5217\u6570"),Lt.createElement(Jt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Lt.createElement(on.Z,null))),Lt.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Lt.createElement("span",{style:Le},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Lt.createElement(Jt.default.Item,{name:"align"},Lt.createElement(Ae,null,Lt.createElement(be.ZP,{value:"default"},Lt.createElement("i",{className:"fa fa-align-justify"})),Lt.createElement(be.ZP,{value:"left"},Lt.createElement("i",{className:"fa fa-align-left"})),Lt.createElement(be.ZP,{value:"center"},Lt.createElement("i",{className:"fa fa-align-center"})),Lt.createElement(be.ZP,{value:"right"},Lt.createElement("i",{className:"fa fa-align-right"}))))),Lt.createElement("div",{className:"flex-container flex-end"},Lt.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Lt.createElement(le.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))},un=Et(71411),Pn=Et(43001),gn=Et.n(Pn),Zn=(0,Lt.forwardRef)(({use3d:Te,width:Ze,height:Ne,callback:ln,showSaveButton:Oi},Ni)=>{const $i=(0,Lt.useRef)(),Ye=(0,Lt.useRef)(),[cn,Pi]=(0,Lt.useState)(!1),dr=(0,Lt.useRef)({id:$i,appName:"graphing",width:Ze||1e3,height:Ne||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Lt.useEffect)(()=>{Ye.current=new(gn())(dr.current,!0),window.onload=function(){Ye.current.inject("applet_container")}},[]);const Yn=()=>{var Qt=window.ggbApplet.getPNGBase64(1,!0,72);return ln&&ln(Qt),Qt};return(0,Lt.useEffect)(()=>{dr.current.appName=cn?"3D":"graphing",Ye.current.inject("applet_container")},[cn]),(0,Lt.useEffect)(()=>{Pi(Te)},[Te]),(0,Lt.useImperativeHandle)(Ni,()=>({getImgData:Yn})),Lt.createElement(Lt.Fragment,null,Lt.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:$i}),Lt.createElement($e.Z,{align:"middle"},Lt.createElement(Dt.Z,{flex:1},Lt.createElement(un.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:cn,onChange:Qt=>Pi(Qt)})),Lt.createElement(Dt.Z,null,Lt.createElement(le.ZP,{size:"large",onClick:Yn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Hn=Et(76562),mn=Et(6767);const zn="link",Ri="upload-image",vi="add-flowchart",ji="draw-image",er="add-flowchart",Ke="code-block",Ue="add-table",ii="------------",Ai={default:ii,left:`:${ii}`,center:`:${ii}:`,right:`${ii}:`};var Fi=Et(37808);function Mi(){}let sr=0;const nr=1e4,fr="\u2581",_n="@\u2581\u2581@",qi="@\u2581@",Ct=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Bi=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function oi(Te){return/^\d+$/.test(Te)?`${Te}px`:Te}const Bn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",En={[Bn+"-B"]:"bold",[Bn+"-I"]:"italic"},vn={[zn]:"\u6DFB\u52A0\u94FE\u63A5",[Ke]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ri]:"\u6DFB\u52A0\u56FE\u7247",[ji]:"\u6DFB\u52A0\u753B\u56FE",[vi]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ue]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ui=({defaultValue:Te="",onChange:Ze,width:Ne="100%",height:ln=400,miniToolbar:Oi=!1,isFocus:Ni=!1,watch:$i,insertTemp:Ye,mode:cn="markdown",id:Pi="markdown-editor-id",showResizeBar:dr=!1,noStorage:Yn=!1,showNullButton:Qt=!1,showNullProgramButton:Me=!1,hidetoolBar:Gn=!1,fullScreen:qn=!1,onBlur:Xe,onCMBeforeChange:ri,onFullScreen:Zi,className:Gi="",disablePaste:ir=!1,disabled:ai=!1,disabledFill:Jn=!1,placeholder:hi="",values:hr="",extraUse:tr})=>{const[Dn,ki]=(0,Lt.useState)(null),[Fr,jr]=(0,Lt.useState)(Te),[so,je]=(0,Lt.useState)($i),[_i,Ar]=(0,Lt.useState)(qn),[Wi,Wr]=(0,Lt.useState)(""),[Nr,Xr]=(0,Lt.useState)(0),[zr,Hr]=(0,Lt.useState)(ln),[qr,pn]=(0,Lt.useState)(!1),[no,Cn]=(0,Lt.useState)(0),[rr,Or]=(0,Lt.useState)(0),Tr=(0,Lt.useRef)(),ho=(0,Lt.useRef)(),Gr=(0,Lt.useRef)(),xr=(0,Lt.useRef)();(0,Lt.useEffect)(()=>{const ei=window.scrollY||window.pageYOffset;jr(hr),Dn==null||Dn.setValue(hr),window.scrollTo(0,ei)},[hr]),(0,Lt.useEffect)(()=>{Zi==null||Zi(_i)},[_i]),(0,Lt.useEffect)(()=>{if(Tr.current){let ei=function(se,Yt){var ve;if(ir){Yt.preventDefault();return}const xe=Yt.clipboardData;if(xe){const Qe=xe.types.toString(),qe=xe.items;if(Qe==="Files"||xe.types.indexOf("Files")>-1){if(Yt.preventDefault(),cn=="stex")return;try{let hn=qe[1];((ve=qe[0])==null?void 0:ve.kind)==="file"&&(hn=qe[0]);const On=hn.getAsFile(),Un=On.name.split(".").pop();(0,Ve.I)(On,dn=>{var di,Ci,he;dn.id?((di=On==null?void 0:On.type)==null?void 0:di.indexOf("image"))>-1?Ft.replaceSelection(``):((Ci=On==null?void 0:On.type)==null?void 0:Ci.indexOf("video"))>-1?Ft.replaceSelection(``):((he=On==null?void 0:On.type)==null?void 0:he.indexOf("pdf"))>-1?Ft.replaceSelection(`${On.name}`):Bi.includes(Un)?Ft.replaceSelection(`${On.name}`):Ft.replaceSelection(`[${On.name}](/api/attachments/${dn.id}?type=${dn.content_type})`):(dn==null?void 0:dn.status)===401&&(document.location.href="/user/login")})}catch(hn){mn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ft=fe().fromTextArea(Tr.current,{mode:cn,lineNumbers:!Oi,lineWrapping:!0,value:Te,autoCloseTags:!0,autoCloseBrackets:!0});return Ft.on("keyup",function(se,Yt){Yt.keyCode===8&&(se.getValue()==""?Ft.setOption("placeholder",hi):Ft.setOption("placeholder",null))}),Ft.on("keydown",function(se,Yt){if(Yt.keyCode===8){var ve=We(se);ve&&Yt.preventDefault()}}),Ni&&Ft.focus(),Ft.on("paste",ei),ai&&Ft.on("beforeChange",function(se,Yt){(Yt.origin==="paste"||Yt.origin==="+input")&&Yt.cancel()}),ki(Ft),()=>{Ft.off("paste",ei)}}},[]);const lo=(0,Lt.useCallback)(()=>{if(ho.current)try{}catch(ei){console.log(ei,"---- to set md editor body height")}},[zr,ho,_i]);(0,Lt.useEffect)(()=>{function ei(){let Ft=new pe.Z(se=>{for(let Yt of se)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&(lo(),Dn.setSize("100%","100%"),Dn.refresh())});return Ft.observe(Tr.current.parentElement),Ft}if(Dn){const Ft=ei();return()=>{var se,Yt;(se=Tr.current)!=null&&se.parentElement&&Ft.unobserve((Yt=Tr.current)==null?void 0:Yt.parentElement)}}},[Dn,lo]),(0,Lt.useEffect)(()=>{if(Dn){let ei=[];for(const[Ft,se]of Object.entries(En)){let Yt={[Ft]:()=>{An(se)}};ei.push(Yt),Dn.addKeyMap(Yt)}return()=>{for(let Ft of ei)Dn.removeKeyMap(Ft)}}},[Dn]),(0,Lt.useEffect)(()=>{qn!==_i&&Ar(qn)},[qn]),(0,Fi.Z)(()=>{if(!Yn&&Nr>0){let ei=new Date().getTime(),Ft=window.sessionStorage.getItem(Pi);ei>=Nr+nr&&(!Ft||Ft!==Fr)&&(window.sessionStorage.setItem(Pi,Fr),pn(!0))}},nr),(0,Lt.useEffect)(()=>{je($i)},[Dn,$i]),(0,Lt.useEffect)(()=>{Dn&&Ni&&Dn.focus()},[Dn,Ni]),(0,Lt.useEffect)(()=>{if(so&&Dn){let ei=function(se){let Yt=se.target;if(xr.current){let ve=Yt.scrollTop/Yt.scrollHeight;xr.current.scrollTop=xr.current.scrollHeight*ve}};const Ft=Dn.getScrollerElement();return Ft.addEventListener("scroll",ei),()=>{Ft.removeEventListener("scroll",ei)}}},[Dn,so]),(0,Lt.useEffect)(()=>{if(Dn&&ri){let ei=function(Ft,se){ri(Ft,se)};return Dn.on("beforeChange",ei),()=>{Dn.off("beforeChange",ei)}}},[Dn,ri]),(0,Lt.useEffect)(()=>{if(Dn&&Xe){let ei=function(){Xe(Dn.getValue())};return Dn.on("blur",ei),()=>{Dn.off("blur",ei)}}},[Dn,Xe]);function We(ei,Ft){var se=ei.getDoc(),Yt=se.getCursor(),ve=se.getLine(Yt.line),xe=ve.charAt(Yt.ch-1),Qe=ve.lastIndexOf("@\u2581@",Yt.ch),qe=ve.lastIndexOf("@\u2581\u2581@",Yt.ch),hn=Qe>qe?Qe:qe,On=Qe>qe?3:4;if(_n.indexOf(xe)===-1)return null;if(console.log("change1:",Ft,ei,ve,Yt,hn,Qe,qe,xe),hn>=0&&Yt.ch-hn<5){var Un=hn+On;return se.replaceRange("",{line:Yt.line,ch:hn},{line:Yt.line,ch:Un}),{line:Yt.line,ch:Un}}return null}(0,Lt.useEffect)(()=>{if(Dn){let ei=function(Ft,se){const Yt=Ft.getValue();jr(Yt),Xr(new Date().getTime()),Ft.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ze&&(Me?Ze(Yt,Mn(Yt)):Ze(Yt))};return Dn.on("change",ei),()=>{Dn.off("change",ei)}}},[Dn,Ze]),(0,Lt.useEffect)(()=>{if(Dn)if(Te==null)Dn.setValue(""),jr("");else{const ei=window.scrollY||window.pageYOffset;Te!==Dn.getValue()&&(Dn.setValue(Te),jr(Te),Dn.setCursor(ai?1:Dn.lineCount(),0),window.scrollTo(0,ei))}},[Dn,Te]);const An=(0,Lt.useCallback)(ei=>{const Ft=Dn.getCursor(),se=Dn.getSelection();let Yt=se.split(` `);switch(ei){case"bold":return Dn.replaceSelection("**"+se+"**"),se===""&&Dn.setCursor(Ft.line,Ft.ch+2),Dn.focus();case"italic":return Dn.replaceSelection("*"+se+"*"),se===""&&Dn.setCursor(Ft.line,Ft.ch+1),Dn.focus();case"code":return Dn.replaceSelection("`"+se+"`"),se===""&&Dn.setCursor(Ft.line,Ft.ch+1),Dn.focus();case"inline-latex":return Wr("inline-latex"),Dn.focus();case"latex":return Dn.replaceSelection("```latex\n"+se+"\n```"),Dn.setCursor(Ft.line+1,se.length+1),Dn.focus();case"line-break":return Dn.replaceSelection(`
`),Dn.focus();case"list-ul":return se===""?Dn.replaceSelection("- "+se):Dn.replaceSelection(Yt.map(ve=>ve===""?"":`- ${ve}`).join(` `)),Dn.focus();case"list-ol":return se===""?Dn.replaceSelection("1. "+se):Dn.replaceSelection(Yt.map((ve,xe)=>ve===""?"":`${xe+1}. ${ve}`).join(` `)),Dn.focus();case"add-null-ch":return se===""&&Dn.setCursor(Ft.line,Ft.ch),Dn.replaceSelection(fr),Dn.focus();case"add-signal":return se===""&&Dn.setCursor(Ft.line,Ft.ch),Dn.replaceSelection(qi),Dn.focus();case"add-multiple":return se===""&&Dn.setCursor(Ft.line,Ft.ch),Dn.replaceSelection(_n),Dn.focus();case"inster-template-1":return se===""&&Dn.setCursor(Ft.line,Ft.ch),Dn.replaceSelection(Ct),Dn.focus();case"eraser":return Dn.setValue(""),Dn.focus();case"trigger-watch":return je(!so),Dn.focus();case"trigger-full-screen":return Ar(!_i),Dn.focus();case zn:Wr(zn);return;case Ke:Wr(Ke);return;case Ri:Wr(Ri);return;case ji:Wr(ji);return;case"maths-latex":Wr("maths-latex");return;case vi:Wr(vi);return;case Ue:Wr(Ue);return;default:throw new Error}},[Dn,so,_i]),Be=(0,Lt.useCallback)((ei,Ft)=>{var se,Yt,ve,xe,Qe,qe;switch(Wr(""),Wi){case zn:const{title:di,link:Ci}=ei;return Dn.replaceSelection(`[${di}](${Ci})`),Dn.focus();case Ke:const{language:he,content:ti}=ei;return Dn.replaceSelection(["```"+he,ti,"```"].join(` `)),Dn.focus();case"maths-latex":for(var hn=atob(ei),On=new Uint8Array(hn.length),Un=0;Un{Ti.id?Dn.replaceSelection(`![,](/api/attachments/${Ti.id}?type=${Ti.content_type})`):(Ti==null?void 0:Ti.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Dn.replaceSelection("`$$"+ei+"$$`");break;case Ri:case ji:case er:const{src:Xn,alt:jn}=ei,Tn=Ft,Ei=(ve=(Yt=(se=Tn==null?void 0:Tn.name)==null?void 0:se.split("."))==null?void 0:Yt.pop)==null?void 0:ve.call(Yt);return((xe=Tn==null?void 0:Tn.type)==null?void 0:xe.indexOf("image"))>-1||!(Tn!=null&&Tn.type)?Tn!=null&&Tn.align||Tn!=null&&Tn.width?Dn.replaceSelection(`

${jn||

`):Dn.replaceSelection(`${jn||`):((Qe=Tn==null?void 0:Tn.type)==null?void 0:Qe.indexOf("video"))>-1?Dn.replaceSelection(``):((qe=Tn==null?void 0:Tn.type)==null?void 0:qe.indexOf("pdf"))>-1?Dn.replaceSelection(`${Tn.name}`):Bi.includes(Ei)?Dn.replaceSelection(`${Tn.name}`):Dn.replaceSelection(`[${Tn.name}](${Xn})`),Dn.focus();case Ue:const{row:bi,col:mi,align:ni}=ei;let Vn=` `;for(let Ti=0;Ti{switch(Wi){case zn:return Lt.createElement(Pe,{callback:Be,onCancel:Qn});case Ke:return Lt.createElement(an.Z,{callback:Be,onCancel:Qn});case Ri:return Lt.createElement(Ve.Z,{callback:Be,onCancel:Qn});case vi:return Lt.createElement(Ce,{callback:Be,onCancel:Qn});case Ue:return Lt.createElement(_e,{callback:Be,onCancel:Qn});case"maths-latex":return Lt.createElement(Zn,{showSaveButton:!0,callback:Be});case"inline-latex":return Lt.createElement(Hn.Z,{showSaveButton:!0,callback:Be});default:return null}},[Wi]);function Qn(){Wr("")}(0,Lt.useEffect)(()=>{if(Gr.current){let ei=function(Qe){ve=!0,xe=Qe.pageY},Ft=function(){ve=!1},se=function(Qe){if(ve){let qe=Qe.pageY-xe;qe<0&&(qe=0),qe>300&&(qe=300);let hn=ln+qe+"px";Hr(hn)}},Yt=Gr.current,ve=!1,xe=0;return Yt.addEventListener("mousedown",ei),document.addEventListener("mousemove",se),document.addEventListener("mouseup",Ft),()=>{Yt.removeEventListener("mousedown",ei),document.removeEventListener("mousemove",se),document.removeEventListener("mouseup",Ft)}}},[Dn,Gr]),(0,Lt.useEffect)(()=>{Hr(ln)},[ln]);const Li=oi(Ne),Xi=oi(zr),Vi={width:Li,height:Xi},yi=(0,Lt.useMemo)(()=>{if(Nr){let ei=new Date(Nr),Ft=ei.getHours(),se=ei.getMinutes(),Yt=ei.getSeconds();return Ft=Ft<10?"0"+Ft:Ft,se=se<10?"0"+se:se,Yt=Yt<10?"0"+Yt:Yt,`${Ft}:${se}:${Yt}`}return 0},[Nr]),Mn=ei=>{const Ft=[];if(Me){let se=-1;ei=ei.replace(/(@▁▁@|@▁@)/g,function(Yt,ve,xe){Ft.push({multiLine:Yt!==qi})})}return Ft};function si(){window.sessionStorage.removeItem(Pi),pn(!1),Xr(0)}function ci(){pn(!1),Xr(0),Dn.setValue(window.sessionStorage.getItem(Pi))}(0,Lt.useEffect)(()=>{vn[Wi]&&Wi!==ji&&Wi!==vi&&setTimeout(()=>{const ei=document.getElementsByClassName("markdown-popup-form")[0],Ft=window.innerWidth/2-ei.offsetWidth/2,se=window.innerHeight/2-ei.offsetHeight/2;Cn(Ft),Or(se)},0)},[Wi]);const Kn=ei=>{ei.preventDefault();const Ft=ei.clientX-no,se=ei.clientY-rr;document.body.onmousemove=Yt=>{let ve=Yt.clientX-Ft,xe=Yt.clientY-se;const Qe=document.getElementsByClassName("markdown-popup-form")[0],qe=window.innerWidth-Qe.offsetWidth,hn=window.innerHeight-Qe.offsetHeight;ve=Math.max(0,Math.min(ve,qe)),xe=Math.max(0,Math.min(xe,hn)),fi(Yt.clientX,Yt.clientY,Ft,se)&&(Cn(ve),Or(xe))},document.body.onmouseup=function(){document.body.onmousemove=null}},fi=(ei,Ft,se,Yt)=>{const ve=document.body.clientHeight,xe=document.body.clientWidth;return ei<20&&se>ei||ei>xe-20&&seFt||Ft>ve-20&&YtVt in Jt?Je(Jt,Vt,{enumerable:!0,configurable:!0,writable:!0,value:le}):Jt[Vt]=le,lt=(Jt,Vt)=>{for(var le in Vt||(Vt={}))et.call(Vt,le)&&ct(Jt,le,Vt[le]);if(Bt)for(var le of Bt(Vt))nt.call(Vt,le)&&ct(Jt,le,Vt[le]);return Jt},gt=(Jt,Vt)=>ie(Jt,nn(Vt));const{useForm:mt}=Lt.default,St={width:280,marginRight:10},Pt={labelCol:{span:5},wrapperCol:{span:19}};var Rt=({callback:Jt,onCancel:Vt})=>{const[le]=mt();let ae=(0,ge.useRef)();function Fe(Sn){ae.current.width=le.getFieldValue("width"),ae.current.align=le.getFieldValue("align"),Jt(Sn,ae.current)}function De(Sn,rn){if(Sn.status===-1){re.ZP.error(Sn.message);return}le.setFieldsValue({src:`/api/attachments/${Sn.id}`,type:rn.type})}function Ee(Sn){let rn=Sn.target.files[0];ae.current=rn,te(rn,De)}return Nt.createElement(Lt.default,gt(lt({form:le},Pt),{className:"upload-image-panel",onFinish:Fe,style:{width:470,overflow:"hidden"}}),Nt.createElement(Lt.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Nt.createElement("div",{className:"flex-container"},Nt.createElement(Lt.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},Nt.createElement(fe.default,{style:St})),Nt.createElement(Wt,{onFileChange:Ee}))),Nt.createElement(Lt.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Nt.createElement(fe.default,{style:{width:264}})),Nt.createElement(Lt.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Nt.createElement(pe.Z,null,Nt.createElement(Lt.default.Item,{name:"width",style:{margin:0}},Nt.createElement(ne.Z,{style:{width:264}})),Nt.createElement("span",{className:"ml8"},"%"))),Nt.createElement(Lt.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Nt.createElement(Ht.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Nt.createElement("aside",null,Nt.createElement(Lt.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Nt.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Nt.createElement(oe.ZP,{type:"default",onClick:Vt},"\u53D6\u6D88"))))};function Wt({onFileChange:Jt}){return Nt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Nt.createElement("input",{type:"file",onChange:Jt}))}function te(Jt,Vt){if(!Jt)throw new String("\u6CA1\u6709\u6587\u4EF6");let le=new FormData;le.append("editormd-image-file",Jt),le.append("file_param_name","editormd-image-file"),le.append("byxhr","true");var ae=new window.XMLHttpRequest;ae.withCredentials=!0,ae.addEventListener("load",function(Fe){Vt(JSON.parse(Fe.target.responseText),Jt)},!1),ae.addEventListener("error",function(Fe){console.error(Fe)},!1),ae.open("POST",`${Oe.KI}/api/attachments.json`),ae.send(le)}},91558:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return fe}});var Lt=Et(59301),re=Et(4676);class fe extends Lt.Component{constructor(ne){super(ne);const Ht=window.document;this.node=Ht.createElement("div"),Ht.body.appendChild(this.node)}render(){const{children:ne}=this.props;return(0,re.createPortal)(ne,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},75975:function(bn,$n,Et){"use strict";Et.d($n,{SV:function(){return de},ZP:function(){return we}});var Lt=Et(59301),re=Et(76374);const fe={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},ne={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},Ht={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},oe={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var Oe=Et(53184),ge=Et.n(Oe),Nt=(ke,ze,fn)=>new Promise((Dt,wt)=>{var yt=Mt=>{try{jt(fn.next(Mt))}catch(Gt){wt(Gt)}},kt=Mt=>{try{jt(fn.throw(Mt))}catch(Gt){wt(Gt)}},jt=Mt=>Mt.done?Dt(Mt.value):Promise.resolve(Mt.value).then(yt,kt);jt((fn=fn.apply(ke,ze)).next())});const Je={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ie=(ke,ze,fn,Dt)=>{const wt=ze.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:fn.lineNumber,endColumn:fn.column});return Array.from(new Set(wt.match(/\b\w{2,}\b/g)||[])).map(kt=>({label:kt,kind:ke.languages.CompletionItemKind.Text,insertText:kt,range:Dt}))},nn=(ke,ze,fn,Dt)=>{ke.languages.registerCompletionItemProvider(ze,{provideCompletionItems(wt,yt){const kt=wt.getWordUntilPosition(yt),jt={startLineNumber:yt.lineNumber,endLineNumber:yt.lineNumber,startColumn:kt.startColumn,endColumn:kt.endColumn},Mt=wt.getLineContent(yt.lineNumber).substring(kt.startColumn-2,kt.endColumn);return{suggestions:[...ie(ke,wt,yt,jt),...fn.map(Ce=>({label:Ce,kind:ke.languages.CompletionItemKind.Keyword,documentation:Ce,insertText:Ce,insertTextRules:ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:jt})),...Dt.map(Ce=>({label:Ce.label,kind:ke.languages.CompletionItemKind.Snippet,documentation:Ce.content,insertText:Mt.startsWith("#")?Ce.content.replace(/#/,""):Ce.content,insertTextRules:ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:jt}))]}}})};var Bt=ke=>{Je.languages.forEach(ze=>{ke.languages.registerDocumentFormattingEditProvider(ze,{provideDocumentFormattingEdits(fn){return Nt(this,null,function*(){const Dt=ge()(fn.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:fn.getFullModelRange(),text:Dt}]})}})}),nn(ke,"java",pe.keywords,pe.quickKey),nn(ke,"cpp",ne.keywords,ne.quickKey),nn(ke,"c",fe.keywords,[]),nn(ke,"python",Ht.keywords,Ht.quickKey),nn(ke,"scala",oe.keywords,oe.quickKey)};const et="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var nt=Object.defineProperty,ct=(ke,ze,fn)=>ze in ke?nt(ke,ze,{enumerable:!0,configurable:!0,writable:!0,value:fn}):ke[ze]=fn,lt=(ke,ze,fn)=>ct(ke,typeof ze!="symbol"?ze+"":ze,fn);const gt=class px{constructor(ze,fn,Dt){this.placeholder=ze,this.editor=fn,this.monaco=Dt,fn.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return px.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};lt(gt,"ID","editor.widget.placeholderHint");var St=gt,Pt=Et(96236),Rt=Et(6767),Wt=Et(25399),te=Et(89392),Jt=Et(49535),Vt=Et(56102),le=Object.defineProperty,ae=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,rn=(ke,ze,fn)=>ze in ke?le(ke,ze,{enumerable:!0,configurable:!0,writable:!0,value:fn}):ke[ze]=fn,Ge=(ke,ze)=>{for(var fn in ze||(ze={}))Ee.call(ze,fn)&&rn(ke,fn,ze[fn]);if(De)for(var fn of De(ze))Sn.call(ze,fn)&&rn(ke,fn,ze[fn]);return ke},sn=(ke,ze)=>ae(ke,Fe(ze)),$t=(ke,ze)=>{var fn={};for(var Dt in ke)Ee.call(ke,Dt)&&ze.indexOf(Dt)<0&&(fn[Dt]=ke[Dt]);if(ke!=null&&De)for(var Dt of De(ke))ze.indexOf(Dt)<0&&Sn.call(ke,Dt)&&(fn[Dt]=ke[Dt]);return fn},It=(ke,ze,fn)=>new Promise((Dt,wt)=>{var yt=Mt=>{try{jt(fn.next(Mt))}catch(Gt){wt(Gt)}},kt=Mt=>{try{jt(fn.throw(Mt))}catch(Gt){wt(Gt)}},jt=Mt=>Mt.done?Dt(Mt.value):Promise.resolve(Mt.value).then(yt,kt);jt((fn=fn.apply(ke,ze)).next())});function Pe(ke){return/^\d+$/.test(ke)?`${ke}px`:ke}function an(){}let Ve=!1;const Se={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function $e(ke=[]){let ze=ke;if(Array.isArray(ke)){for(let fn=0;fnIt(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ke){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ke)}});var we=ke=>{var ze=ke,{width:fn="100%",height:Dt="100%",value:wt,language:yt="javascript",style:kt={},options:jt={},overrideServices:Mt={},theme:Gt="vs-dark",onEditBlur:Ce,isCopy:be=!1,onSave:on,autoHeight:Ae=!1,forbidCopy:Le=!1,onChange:_e=an,editorDidMount:un=an,onFocus:Pn=an,onBreakPoint:gn=an,breakPointValue:en=[],filename:Zn="educoder.txt",errorLine:Hn,errorContent:mn="",highlightLine:zn,openBreakPoint:Ri=!1,placeholder:vi="",showMiniMap:ji=!0}=ze,er=$t(ze,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Ke=(0,Lt.useRef)(),Ue=(0,Lt.useRef)({}),ii=(0,Lt.useRef)(),Ai=(0,Lt.useRef)(),Fi=(0,Lt.useRef)([]),Mi=(0,Lt.useRef)(!1),sr=(0,Lt.useRef)(),nr=(0,Lt.useRef)(),fr=(0,Lt.useRef)(!1),[_n,qi]=(0,Lt.useState)(!1);function Ct(){let Ye;return Ke.current&&(Ye=new re.Z(cn=>{for(let Pi of cn)(Pi.target.offsetHeight>0||Pi.target.offsetWidth>0)&&Ue.current.instance.layout()}),Ye.observe(Ke.current)),Ye}function Bi(){Rt.ZP.warning({content:decodeURIComponent(et),key:"monaco-editor-tip"})}const oi=()=>{let Ye=Ue.current.instance;if(wt!=null&&Ye&&_n){const cn=Ye.getModel();cn&&wt!==cn.getValue()&&(Ve=!0,cn.setValue(wt),Ye.layout(),Ve=!1)}};(0,Lt.useEffect)(()=>{const Ye=Jt.Z.subscribe("formatDocument",cn=>{var Pi;let dr=Ue.current.instance;(Pi=dr==null?void 0:dr.getAction)==null||Pi.call(dr,"editor.action.formatDocument").run()});return window.updateMonacoValue=cn=>{_e(cn)},Ye},[]),(0,Lt.useEffect)(()=>{var Ye;let cn=Ue.current.instance;Ai.current&&clearTimeout(Ai.current),Ai.current=setTimeout(()=>{oi()},500),wt&&(wt!=null&&wt.length)&&((Ye=cn==null?void 0:cn.updateOptions)==null||Ye.call(cn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(wt.split(/\r\n|\r|\n/g).length))+3,5)}))},[wt,_n,Ue.current]),(0,Lt.useEffect)(()=>{if(Hn&&Ue.current&&Ue.current.instance){let cn=Ue.current.instance;cn.changeViewZones(function(Pi){var dr=document.createElement("div");dr.style.padding="10px 20px",dr.style.width="calc(100% - 20px)",dr.className="my-error-line-wrp",dr.innerHTML=mn,Pi.addZone({afterLineNumber:Hn||11,heightInLines:3,domNode:dr})});var Ye={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};cn.addOverlayWidget(Ye),cn.revealPositionInCenter({lineNumber:20,column:1})}},[Hn,Ue.current,_n]);const Wn=(Ye="",cn)=>{if(!Ye||Ye.trim()==="")return!0;const dr=Ue.current.instance.getModel().getLineTokens(cn);let Yn=!1;for(let Qt=0;Qt<2;Qt++)dr.getStandardTokenType(Qt)===1&&(Yn=!0);return Yn};(0,Lt.useEffect)(()=>{var Ye;const cn=(Ye=Ue.current)==null?void 0:Ye.instance;if(cn&&_n&&Le){const Pi=cn.onDidBlurEditorWidget(()=>{fr.current=!1}),dr=cn.onDidFocusEditorText(()=>{fr.current=!0});return()=>{Pi.dispose(),dr.dispose()}}},[Ue.current,_n,Le]),(0,Lt.useEffect)(()=>{var Ye;if((Ye=Ue.current)!=null&&Ye.instance&&_n&&Ri){let cn=Ue.current.instance,Pi=cn.getModel();if(!Pi)return;(()=>{var ai;let Jn=[],hi=[];const hr=Pi.getAllDecorations();for(let Dn of hr)Dn.options.className==="highlighted-line"&&(Jn.push((ai=Dn==null?void 0:Dn.range)==null?void 0:ai.startLineNumber),hi.push(Dn==null?void 0:Dn.id));if(zn===Jn[0])return;Pi.deltaDecorations(hi,[]);const tr=Pi.getLineCount();zn&&zn<=tr&&(cn.deltaDecorations([],[{range:new He.Range(zn,1,zn,Pi.getLineMaxColumn(zn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),cn.revealLineInCenter(zn))})();const Yn=(ai=!1)=>{var Jn;let hi=[],hr=[];const tr=Pi.getAllDecorations();for(let Dn of tr)Dn.options.linesDecorationsClassName==="breakpoints-select"&&(hi.push((Jn=Dn==null?void 0:Dn.range)==null?void 0:Jn.startLineNumber),hr.push(Dn==null?void 0:Dn.id));if(ai)return{lines:hi,ids:hr};gn(hi)},Qt=ai=>It(void 0,null,function*(){let Jn={range:new He.Range(ai,1,ai,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Pi.deltaDecorations([],[Jn]),Yn()}),Me=ai=>It(void 0,null,function*(){let Jn=[];const hi=cn.getLineDecorations(ai);for(let hr of hi)hr.options.linesDecorationsClassName==="breakpoints-select"&&Jn.push(hr.id);yield Pi.deltaDecorations(Jn,[]),Yn()}),Gn=ai=>{let Jn=cn.getLineDecorations(ai);for(let hi of Jn)if(hi.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,te.isEqual)(en,Yn(!0).lines)){Pi.deltaDecorations(Yn(!0).ids,[]);const ai=en.map(Jn=>({range:new He.Range(Jn,1,Jn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Pi.deltaDecorations([],ai)}const qn=cn.onDidChangeModelContent(ai=>{let Jn=cn.getPosition();if(Jn){let hi=Jn.lineNumber;clearTimeout(nr.current),nr.current=setTimeout(()=>{Wn(Pi.getLineContent(hi),hi)?Me(hi):Gn(hi)?(Me(hi),Qt(hi)):Yn()},100)}}),Xe=cn.onMouseDown(ai=>{var Jn,hi,hr;if(ai.target.detail&&((hr=(hi=(Jn=ai.target)==null?void 0:Jn.element)==null?void 0:hi.className)!=null&&hr.includes("line-numbers"))){let tr=ai.target.position.lineNumber;if(Wn(Pi.getLineContent(tr),tr))return;Gn(tr)?Me(tr):Qt(tr)}}),ri=ai=>{let Jn={range:new He.Range(ai,1,ai,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Fi.current=cn.deltaDecorations(Fi.current,[Jn])},Zi=()=>{Fi.current=cn.deltaDecorations(Fi.current,[])},Gi=cn.onMouseMove(ai=>{var Jn,hi,hr;if(Zi(),ai.target.detail&&((hr=(hi=(Jn=ai.target)==null?void 0:Jn.element)==null?void 0:hi.className)!=null&&hr.includes("line-numbers"))){let tr=ai.target.position.lineNumber;if(Wn(Pi.getLineContent(tr),tr))return;ri(tr)}}),ir=cn.onMouseLeave(()=>{Zi()});return()=>{qn.dispose(),Xe.dispose(),Gi.dispose(),ir.dispose()}}},[Ue.current,_n,en,zn,Ri,yt]),(0,Lt.useEffect)(()=>{var Ye;(Ye=Ue.current)!=null&&Ye.instance&&Ri&&Ue.current.instance.setPosition({lineNumber:0,column:0})},[zn]);function Bn(){let Ye=Ue.current.instance;if(Ye){const cn=Ye.getSelection(),Pi=Ue.current.pastePos||{},dr=new He.Range(Pi.startLineNumber||cn.endLineNumber,Pi.startColumn||cn.endColumn,Pi.endLineNumber||cn.endLineNumber,Pi.endColumn||cn.endColumn);setTimeout(()=>{Ye.executeEdits("",[{range:dr,text:""}])},300)}}function En(Ye){(window.navigator.platform.match("Mac")?Ye.metaKey:Ye.ctrlKey)&&Ye.keyCode==83&&(Ye.preventDefault(),on())}const vn=()=>{if(Ae&&Ue.current.instance){const Ye=Ue.current.instance.getContentHeight();Ni(Ye{if(!fr.current)return;const{keyCode:cn,ctrlKey:Pi,metaKey:dr,target:Yn,type:Qt}=Ye;return(Qt==="paste"||(cn===67||cn===86)&&(dr||Pi))&&Yn.nodeName==="TEXTAREA"&&(Bi(),Ye.preventDefault()),!1};function Ze(Ye,cn){var Pi=window.URL||window.webkitURL||window,dr=new Blob([cn]),Yn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Yn.href=Pi.createObjectURL(dr),Yn.download=Ye,ui(Yn)}(0,Lt.useEffect)(()=>{vn()},[vn]),(0,Lt.useEffect)(()=>{Ke.current&&!_n&&Promise.all([Et.e(8909),Et.e(6656)]).then(Et.bind(Et,71448)).then(Ye=>{try{He=Ye,Ue.current.instance=He.editor.create(Ke.current,{value:wt,language:$e(yt),theme:Gt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:ji||!1}},Mt);const cn=Ue.current.instance;let Yn=[...Pt.BH._menuItems].find(qn=>qn[0]._debugName=="EditorContext")[1],Qt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Me=(qn,Xe)=>{var ri,Zi;let Gi=qn._first;do Xe.includes((Zi=(ri=Gi.element)==null?void 0:ri.command)==null?void 0:Zi.id)&&qn._remove(Gi);while(Gi=Gi.next)};if(un(cn,He),setTimeout(()=>{vn(),Ue.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ze(Zn||"educoder.txt",cn.getValue())}})},500),Ue.current.subscription=cn.onDidChangeModelContent(qn=>{Mi.current?clearTimeout(sr.current):(vn(),_e(cn.getValue(),qn)),sr.current=setTimeout(()=>{Mi.current=!1},500)}),window.Monaco||Bt(He,$e(yt)),Le&&(Me(Yn,Qt),Ke.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Te),window.removeEventListener("paste",Te),window.addEventListener("keydown",Te),window.addEventListener("paste",Te)),window.Monaco=He,Ce&&cn.onDidBlurEditorWidget(()=>{Ce(cn.getValue())}),Pn&&cn.onDidFocusEditorText(()=>{Le&&xn(),Pn(cn.getValue())}),Le){xn();try{cn.onDidPaste(qn=>{const Xe=cn.getSelection(),ri=Ue.current.pastePos||{},Zi=new He.Range(ri.startLineNumber||Xe.endLineNumber,ri.startColumn||Xe.endColumn,ri.endLineNumber||Xe.endLineNumber,ri.endColumn||Xe.endColumn);cn.executeEdits("",[{range:qn.range,text:""}])})}catch(qn){}}let Gn=Ct();return vi&&typeof vi=="string"&&new St(vi,cn,He),qi(!0),()=>{const qn=Ue.current.instance;qn.dispose();const Xe=qn.getModel();Xe&&Xe.dispose(),Ue.current.subscription&&Ue.current.subscription.dispose(),Gn.unobserve(Ke.current)}}catch(cn){}})},[]),(0,Lt.useEffect)(()=>{if(Ue.current.instance&&_n)return document.addEventListener("keydown",En,!1),()=>{document.removeEventListener("keydown",En)}},[on,_n]),(0,Lt.useEffect)(()=>{let Ye=Ue.current.instance;if(Ye&&_n){let cn=$e(yt);He.editor.setModelLanguage(Ye.getModel(),cn)}},[yt,_n]),(0,Lt.useEffect)(()=>{Ue.current.instance&&_n&&He.editor.setTheme(Gt)},[Gt,_n]),(0,Lt.useEffect)(()=>{let Ye=Ue.current.instance;ii.current=jt,Ye&&_n&&(Ye.updateOptions(Ge({},jt)),setTimeout(()=>{Ye.getModel().updateOptions(Ge({},jt))},200))},[JSON.stringify(jt),_n]),(0,Lt.useEffect)(()=>{let Ye=Ue.current.instance;Ye&&_n&&Ye.layout()},[fn,Dt,_n]);const[Ne,ln]=(0,Lt.useState)(Pe(fn)),[Oi,Ni]=(0,Lt.useState)(Pe(Dt)),$i=sn(Ge({},kt),{width:Ne,height:Oi,position:"relative"});return Lt.createElement("div",{className:"my-monaco-editor",ref:Ke,style:$i},be&&Lt.createElement(Vt.CopyToClipboard,{text:wt,onCopy:()=>Rt.ZP.success("\u590D\u5236\u6210\u529F")},Lt.createElement(Wt.Z,{title:"\u590D\u5236\u4EE3\u7801"},Lt.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},Lt.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function de({width:ke="100%",height:ze="100%",original:fn,modified:Dt,language:wt,options:yt={}}){const kt=(0,Lt.useRef)(),[jt,Mt]=(0,Lt.useState)(null);function Gt(Ae){let Le;return kt.current&&(Le=new re.Z(_e=>{for(let un of _e)(un.target.offsetHeight>0||un.target.offsetWidth>0)&&Ae.layout()}),Le.observe(kt.current)),Le}(0,Lt.useEffect)(()=>(kt.current&&Promise.all([Et.e(8909),Et.e(9404)]).then(Et.bind(Et,2550)).then(Ae=>{He=Ae;const Le=He.editor.createDiffEditor(kt.current,sn(Ge({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},yt),{wordWrap:!0}));Mt(Le);let _e=Gt(Le);return()=>{Le.dispose();const un=Le.getModel();un&&un.dispose(),_e.unobserve(kt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,Lt.useEffect)(()=>{jt&&jt.setModel({original:He.editor.createModel(fn,wt),modified:He.editor.createModel(Dt,wt)})},[fn,Dt,wt,jt]);const Ce=Pe(ke),be=Pe(ze),on={width:Ce,height:be};return Lt.createElement("div",{className:"my-diff-editor",ref:kt,style:on})}},10661:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return ie}});var Lt={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},re=Et(29787),fe=Et(25399),pe=Et(60242),ne=Et(92310),Ht=Et.n(ne),oe=Et(51257),Oe=Et(28426),ge=Et(48790),Nt=Et(59301),ie=({className:nn,dataSource:Bt=[],col:et=4,right:nt,bottom:ct=23,precision:lt=0,wrapWidth:gt=1200,trackEventItems:mt,loading:St,onRemove:Pt=()=>{},isCurrent:Rt=!0,showProgress:Wt=!1,showAlias:te=!1})=>{const Jt=Math.floor((gt-(et-1)*nt)/et),Vt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Nt.createElement(re.Z,{spinning:St},Nt.createElement("div",{className:Ht()(Lt.list,nn)},!!(Bt!=null&&Bt.length)&&(Bt==null?void 0:Bt.map((le,ae)=>{var Fe,De,Ee,Sn,rn,Ge;const{name:sn,id:$t,identifier:It,featured:Pe,school_name:an,image_url:Ve,excellent:Se,is_plan:$e}=le;return Nt.createElement("div",{key:$t,className:Rt&&Wt?Lt.wrapisCurrent:Lt.wrap,style:{width:Jt,marginRight:(1+ae)%et===0?0:nt+lt,marginBottom:ct}},Nt.createElement("a",{className:Lt.li,onClick:He=>{He.preventDefault(),He.stopPropagation(),mt&&(0,oe.L9)([mt]),(0,oe.xg)(`/paths/${It}`)}},Nt.createElement("div",{className:Lt.img},Nt.createElement("img",{className:Lt.cover,src:`${Ve}`}),Rt&&(0,ge.bg)()&&(le==null?void 0:le.studying)&&Nt.createElement("div",{className:`${Lt.movebq} user-path-items`,onClick:He=>{He.stopPropagation(),Pt(le)}},Nt.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Nt.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Fe=le==null?void 0:le.subject_tags)==null?void 0:Fe.map((He,xn)=>{var we,de;if(xn===0){const ze=(we=Vt.find(fn=>fn.name==He))==null?void 0:we.swimg;return Nt.createElement("img",{className:Lt.sign,src:ze,style:{left:"-4px"}})}const ke=(de=Vt.find(ze=>ze.name==He))==null?void 0:de.ptimg;return Nt.createElement("img",{className:Lt.sign,src:ke,style:{left:`${48+52*(xn-1)+2*xn}px`}})}),Nt.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(le==null?void 0:le.excellent)&&Nt.createElement("div",{className:Lt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Nt.createElement("div",{className:Lt.name},Nt.createElement(fe.Z,{title:te&&(le!=null&&le.excellent_alias_name)?Nt.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${sn}`,Nt.createElement("br",null),Nt.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${le==null?void 0:le.excellent_alias_name}`)):sn},Nt.createElement("span",{className:Lt.e},te&&(le==null?void 0:le.excellent_alias_name)||sn))),Rt&&Wt&&((De=le==null?void 0:le.progress)==null?void 0:De.all_score)!=0&&Nt.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Nt.createElement(pe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Ee=le==null?void 0:le.progress)==null?void 0:Ee.my_score)/((Sn=le==null?void 0:le.progress)==null?void 0:Sn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(rn=le==null?void 0:le.progress)==null?void 0:rn.my_score,"/",(Ge=le==null?void 0:le.progress)==null?void 0:Ge.all_score),(!Rt||!Wt)&&Nt.createElement(fe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${an}`},Nt.createElement("div",{className:Lt.unit},Nt.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),an)),(!Rt||!Wt)&&Nt.createElement("div",{className:Lt.tags},Nt.createElement("div",null,Nt.createElement(fe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Nt.createElement("span",null,Nt.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Nt.createElement("span",null,le.stages_count))),Nt.createElement(fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Nt.createElement("span",null,Nt.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Nt.createElement("span",null,le.members_count)))))))})),!Bt.length&&Nt.createElement(Oe.Z,null)))}},9148:function(bn,$n,Et){"use strict";Et.d($n,{jL:function(){return ne},w9:function(){return Pe},QD:function(){return Hn},cQ:function(){return rn.Z},op:function(){return _e},O5:function(){return oi},_b:function(){return er},t7:function(){return lt},Gi:function(){return xn},YG:function(){return $e},qp:function(){return Je},vr:function(){return Ri},qE:function(){return gn},Je:function(){return St},wb:function(){return Sn},cq:function(){return Dt},tp:function(){return Bt}});var Lt=Et(59301),re={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyO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OAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ne=({dataSource:Wn=[],img:Bn,imgWidth:En=346,title:vn,sunTitle:ui,bannerExtraContent:Te})=>Lt.createElement("div",{className:re.banner},Lt.createElement("div",{className:re.content},Lt.createElement("aside",null,Lt.createElement("p",null,Lt.createElement("b",null,vn),Lt.createElement("span",null,ui)),Wn.length>0&&Lt.createElement("div",{className:re.btns},Wn.map((Ze,Ne)=>Lt.createElement("div",{key:Ne,onClick:Ze.click},Ze.name,Ze.sign?Lt.createElement("img",{src:fe,width:39}):null))),Te),Bn&&Lt.createElement("img",{style:{marginTop:33,marginRight:38},src:Bn,width:En}))),Ht={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},oe=Et(92310),Oe=Et.n(oe),ge=Et(89392),Je=({dataSource:Wn=[],value:Bn,onChange:En,onTitleChange:vn,className:ui,title:Te,titleWidth:Ze=41,style:Ne={},fontColor:ln="#6A7283",showCount:Oi})=>{const[Ni,$i]=(0,Lt.useState)(0),[Ye,cn]=(0,Lt.useState)(!1),Pi=(0,Lt.useRef)(null),dr=(0,Lt.useRef)(null);return(0,Lt.useEffect)(()=>{var Yn;Wn.length!==0&&(((Yn=Pi==null?void 0:Pi.current)==null?void 0:Yn.clientHeight)>97?$i(1):$i(0)),Wn.length===0&&$i(0),cn(!1)},[Wn]),Lt.createElement("div",{className:Oe()(Ht.row,ui),style:Ne},Lt.createElement("div",{onClick:(0,ge.throttle)(()=>vn==null?void 0:vn(),2e3),style:{width:Ze,marginTop:Ye?12:4},className:`${Ht.title} ${vn?"current":""}`},Te),Lt.createElement("div",{className:Ye?`${Ht.tagsWrap} ${Ht.tagsBorderWrap}`:Ht.tagsWrap},Lt.createElement("div",{className:Ht.bar,ref:dr,style:Ni>0?{height:Ni===1?97:"auto",overflow:Ni===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},Lt.createElement("div",{className:Ht.tag,ref:Pi},Wn==null?void 0:Wn.map(Yn=>Lt.createElement("span",{onClick:()=>En(Yn.id),key:Yn.id,style:{color:ln},className:Bn===Yn.id?Ht.active:""},Lt.createElement("span",{title:Yn.name,className:Ht.name},Yn.name),!!Oi&&Lt.createElement("span",{className:Ht.num},Yn.count))))),!!Ni&&Lt.createElement(Lt.Fragment,null,Ni===1?Lt.createElement("div",{onClick:()=>{var Yn;$i(2),((Yn=Pi==null?void 0:Pi.current)==null?void 0:Yn.clientHeight)>245?cn(!0):cn(!1)},className:Ht.action},"\u5C55\u5F00",Lt.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Lt.createElement("div",{onClick:()=>{dr.current.scrollTop=0,$i(1),cn(!1)},className:Ht.action},"\u6536\u8D77",Lt.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ie={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Bt=({dataSource:Wn=[],value:Bn,onChange:En,className:vn,style:ui={}})=>Lt.createElement("div",{style:ui,className:Oe()(ie.tabs,vn)},Wn.map(Te=>Lt.createElement("span",{onClick:()=>En(Te.id),className:Bn===Te.id?ie.active:"",key:Te.id},Te.name))),et={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},nt=Et(37568),lt=({dataSource:Wn=[],value:Bn="",onChange:En,onInputChange:vn=()=>{},className:ui,style:Te={},placeholder:Ze,allowClear:Ne=!1})=>{var ln;const[Oi,Ni]=(0,Lt.useState)(""),[$i,Ye]=(0,Lt.useState)("");(0,Lt.useEffect)(()=>{var dr;let Yn=Bn;(dr=JSON.stringify(Bn))!=null&&dr.includes("{")&&(Ni(Bn.id),Yn=Bn.value||"");try{Ye(decodeURIComponent(Yn||""))}catch(Qt){Ye(decodeURIComponent(Yn||""))}},[Bn]);const cn=()=>{En(encodeURIComponent($i),Oi||null)},Pi=dr=>{dr!==Oi&&(Ni(dr),En(encodeURIComponent($i),dr))};return Lt.createElement("div",{className:Oe()(et.input,ui),style:Te},!!Wn.length&&Lt.createElement("div",{className:et.dropdown},Lt.createElement("div",{className:et.text},(ln=Wn.find(dr=>dr.id===Oi))==null?void 0:ln.name,Lt.createElement("i",{className:"iconfont icon-zhankai4"}),Lt.createElement("b",{className:et.b1}),Lt.createElement("b",{className:et.b2})),Lt.createElement("div",{className:et.menu},Wn.map((dr,Yn)=>Lt.createElement("div",{key:Yn,onClick:()=>Pi(dr.id)},dr.name)))),Lt.createElement(nt.default,{onPressEnter:cn,value:$i,onChange:dr=>{Ye(dr.target.value),vn(encodeURIComponent(dr.target.value),Oi||null)},bordered:!1,placeholder:Ze}),Lt.createElement("i",{onClick:cn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},gt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},St=({value:Wn,onChange:Bn,className:En,total:vn,pageSize:ui,style:Te={}})=>{const Ze=Wn<2,Ne=Wn>=Math.ceil(vn/ui);return vn<=ui?Lt.createElement(Lt.Fragment,null):Lt.createElement("div",{className:Oe()(gt.quickPager,En),style:Te},Lt.createElement("div",{onClick:()=>{Ze||Bn(Wn-1,"prev")},className:Ze?gt.disabled:""},"\u4E0A\u4E00\u9875"),Lt.createElement("div",{onClick:()=>{Ne||Bn(Wn+1,"next")},className:Ne?gt.disabled:""},"\u4E0B\u4E00\u9875"))},Pt={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Rt=Et(29787),Wt=Et(25399),te=Et(58018),Jt=Et(346),Vt=Et(51257),le=Et(96908),ae=Et(57177),Fe=Et(81378),De=Et(28426),Sn=({className:Wn,dataSource:Bn=[],col:En=4,right:vn,bottom:ui=23,precision:Te=0,wrapWidth:Ze=1200,trackEventItems:Ne,loading:ln})=>{const Oi=Math.floor((Ze-(En-1)*vn)/En);return Lt.createElement(Rt.Z,{spinning:ln},Lt.createElement("div",{className:Oe()(Pt.list,Wn)},!!Bn.length&&Bn.map((Ni,$i)=>{const{name:Ye,id:cn,identifier:Pi,power:dr,cover_image_id:Yn,pic:Qt}=Ni;return Lt.createElement("div",{className:Pt.wrap,key:cn,style:{width:Oi,marginRight:(1+$i)%En===0?0:vn+Te,marginBottom:ui}},Lt.createElement("a",{target:"_blank",href:`/shixuns/${Pi}/challenges`,className:Pt.li,onClick:Me=>{Me.preventDefault(),Ne&&(0,Vt.L9)([Ne]),dr&&(0,Vt.xg)(`/shixuns/${Pi}/challenges`)}},Lt.createElement("div",{className:Pt.img},Lt.createElement("img",{className:Pt.cover,src:`${Qt}`}),Ni.is_jupyter&&Lt.createElement("img",{className:Pt.sign,src:le}),Ni.is_jupyter_lab&&Lt.createElement("img",{className:Pt.sign,src:ae}),Ni.is_unity_3d&&Lt.createElement("img",{className:Pt.sign,src:Fe})),Lt.createElement("div",{className:Pt.name},Lt.createElement(Wt.Z,{title:Ye||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Lt.createElement("span",{className:Pt.e},Ye||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Lt.createElement("div",{className:Pt.tags},Lt.createElement(Wt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Lt.createElement("span",null,Lt.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Lt.createElement("span",null,Ni.challenges_count))),!!Ni.myshixuns_count&&Lt.createElement(Wt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Lt.createElement("span",null,Lt.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Lt.createElement("span",null,Ni.myshixuns_count))),Lt.createElement(Wt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Lt.createElement("span",null,Lt.createElement("span",null,Ni.level))),Lt.createElement("div",{className:Pt.rate},Lt.createElement(te.Z,{allowHalf:!0,disabled:!0,defaultValue:Ni.score_info}),Lt.createElement("span",null,"\xA0",Ni.score_info?`${Ni.score_info}\u5206`:"5\u5206")))),!dr&&Lt.createElement("div",{className:Pt.lockWrap},Lt.createElement("img",{src:`${Jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Lt.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Bn.length&&Lt.createElement(De.Z,null)))},rn=Et(10661),Ge={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},sn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6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DlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",$t=Et(59301),Pe=({className:Wn,dataSource:Bn=[],col:En=4,right:vn,bottom:ui=23,precision:Te=0,wrapWidth:Ze=1200,trackEventItems:Ne,loading:ln,handleVery:Oi=()=>!0})=>{const Ni=Math.floor((Ze-(En-1)*vn)/En);return $t.createElement(Rt.Z,{spinning:ln},$t.createElement("div",{className:Oe()(Ge.list,Wn)},!!Bn.length&&Bn.map(($i,Ye)=>{const{subject_identifier:cn,id:Pi,identifier:dr,power:Yn}=$i,Qt=$i.is_public!=0&&$i.is_public;return $t.createElement("div",{className:Ge.wrap,key:Pi,style:{width:Ni,marginRight:(1+Ye)%En===0?0:vn+Te,marginBottom:ui}},$t.createElement("a",{className:Ge.li,onClick:Me=>{Me.preventDefault(),Oi($i==null?void 0:$i.first_category_url)&&(Ne&&(0,Vt.L9)([Ne]),(0,Vt.xg)($i.first_category_url))}},$t.createElement("div",{className:Ge.top},$t.createElement(Wt.Z,{title:$i.name},$t.createElement("div",{className:Ge.name},$i.name)),$t.createElement("img",{className:Ge.img,src:Jt.Z.IMG_SERVER+"/images/"+$i.avatar_url}),$t.createElement("div",{className:Ge.text,title:$i.creator},$i.creator),cn&&$t.createElement("div",{className:Ge.btns},$t.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),$t.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Qt&&$t.createElement("div",{className:Ge.sign},"\u516C\u5F00")),$t.createElement("div",{className:Ge.bottom},$i.visits>0&&$t.createElement(Wt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},$t.createElement("span",null,$t.createElement("i",{className:"iconfont icon-liulanyan"}),$t.createElement("span",null,$i.visits))),$i.course_members_count>0&&$t.createElement(Wt.Z,{title:"\u6210\u5458",placement:"bottom"},$t.createElement("span",null,$t.createElement("i",{className:"iconfont icon-chengyuan"}),$i.course_members_count)),$i.tasks_count>0&&$t.createElement(Wt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},$t.createElement("span",null,$t.createElement("i",{className:"iconfont icon-zuoye"}),$i.tasks_count)),$i.is_end?$t.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):$t.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!$i.is_accessible&&$t.createElement("div",{className:Ge.lockWrap},$t.createElement("img",{src:`${Jt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),$t.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Bn.length&&$t.createElement(De.Z,null)))},an={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Ve=Et(25690),$e=({dataSource:Wn=[],value:Bn,onChange:En,className:vn,style:ui={},tabBarExtraContent:Te})=>Lt.createElement("div",{className:Oe()(an.tabs,vn),style:ui},Lt.createElement("div",{className:an.tabsWrap},Wn.map((Ze,Ne)=>!(Ze!=null&&Ze.hide)&&Lt.createElement("aside",{className:an.tab,onClick:()=>{En(Ze.id),Ze.link&&Ve.history.push(Ze.link)},key:Ne},Lt.createElement("div",{className:Bn===Ze.id?an.active:""},Ze.name),(Ze==null?void 0:Ze.resetCount)==null&&(Ze==null?void 0:Ze.total)!==void 0&&Lt.createElement("span",null,"\uFF08",Ze==null?void 0:Ze.total,"\uFF09"),(Ze==null?void 0:Ze.resetCount)!==void 0&&(Ze==null?void 0:Ze.total)!==void 0&&Lt.createElement(Wt.Z,{title:(Ze==null?void 0:Ze.tip)!=null?Ze==null?void 0:Ze.tip:""},Lt.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Lt.createElement("span",{style:{color:"#000"}},Ze==null?void 0:Ze.resetCount),"/",Lt.createElement("span",null,Ze==null?void 0:Ze.total),"\uFF09"))))),Lt.createElement("div",{className:an.tabBar},Te)),xn=({className:Wn,style:Bn={},children:En})=>Lt.createElement("div",{className:Oe()(Wn),style:Bn},En),we={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},de=Et(75727),ke=Et(93041);const ze=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Dt=({sortValue:Wn,dropValue:Bn,className:En,onSort:vn,onDrop:ui,dataSource:Te=ze})=>{var Ze;return Lt.createElement("div",{className:Oe()(we.orderWrap,En)},Lt.createElement(de.Z,{dropdownRender:()=>Lt.createElement(ke.default,null,Te.map((Ne,ln)=>Lt.createElement(ke.default.Item,{key:ln,onClick:()=>ui(Ne.id)},Ne.name)))},Lt.createElement("span",{className:we.orderTextWrap},(Ze=Te.find(Ne=>Bn===Ne.id))==null?void 0:Ze.name)),Lt.createElement("span",{className:we.orderIconWrap},Lt.createElement("span",{className:we.orderAsc},Lt.createElement("i",{className:Wn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${we.cursorPointer} ${we.active}`:`iconfont icon-sanjiaoxing-up font12 ${we.cursorPointer}`,onClick:()=>vn(Wn==="asc"?"desc":"asc")})),Lt.createElement("span",{className:we.orderDesc},Lt.createElement("i",{className:Wn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${we.cursorPointer} ${we.active}`:`iconfont icon-sanjiaoxing-down font12 ${we.cursorPointer}`,onClick:()=>vn(Wn==="asc"?"desc":"asc")}))))},wt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},yt=Et(99571),kt=Object.defineProperty,jt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Ce=(Wn,Bn,En)=>Bn in Wn?kt(Wn,Bn,{enumerable:!0,configurable:!0,writable:!0,value:En}):Wn[Bn]=En,be=(Wn,Bn)=>{for(var En in Bn||(Bn={}))Mt.call(Bn,En)&&Ce(Wn,En,Bn[En]);if(jt)for(var En of jt(Bn))Gt.call(Bn,En)&&Ce(Wn,En,Bn[En]);return Wn},on=(Wn,Bn)=>{var En={};for(var vn in Wn)Mt.call(Wn,vn)&&Bn.indexOf(vn)<0&&(En[vn]=Wn[vn]);if(Wn!=null&&jt)for(var vn of jt(Wn))Bn.indexOf(vn)<0&&Gt.call(Wn,vn)&&(En[vn]=Wn[vn]);return En},Ae=(Wn,Bn,En)=>new Promise((vn,ui)=>{var Te=ln=>{try{Ne(En.next(ln))}catch(Oi){ui(Oi)}},Ze=ln=>{try{Ne(En.throw(ln))}catch(Oi){ui(Oi)}},Ne=ln=>ln.done?vn(ln.value):Promise.resolve(ln.value).then(Te,Ze);Ne((En=En.apply(Wn,Bn)).next())}),_e=Wn=>{var Bn=Wn,{className:En,style:vn,children:ui,loading:Te=!1,openLoading:Ze,onClick:Ne=()=>{},size:ln="middle",shape:Oi="round"}=Bn,Ni=on(Bn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[$i,Ye]=(0,Lt.useState)(!1);return Lt.createElement(yt.ZP,be({onClick:(0,ge.throttle)(cn=>Ae(void 0,null,function*(){Ze&&Ye(!0);try{yield Ne(cn)}catch(Pi){console.log("error",Pi)}Ze&&Ye(!1)}),2e3,{leading:!0,trailing:!1}),className:Oe()(wt.btn,wt[`${ln}-${Oi}`],En),style:vn,size:ln,shape:Oi,loading:$i||Te},Ni),ui)},un={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},gn=({className:Wn,style:Bn,children:En=null,onClick:vn,title:ui})=>Lt.createElement("div",{className:Oe()(un.head,Wn),style:Bn},Lt.createElement("span",{className:"primary-hover",onClick:vn},Lt.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),Lt.createElement("b",{title:ui},ui),Lt.createElement("div",{className:un.node},En)),en={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Hn=({confirmShow:Wn=!0,confirmTitle:Bn,confirmClick:En,cancelShow:vn=!0,cancelTitle:ui,cancelClick:Te,className:Ze,style:Ne,confirmLoading:ln=!1})=>Lt.createElement("div",{className:Oe()(en.btns,Ze),style:Ne},Wn&&Lt.createElement(yt.ZP,{loading:ln,onClick:En,type:"primary",className:en.confirm},Bn),vn&&Lt.createElement(yt.ZP,{onClick:Te,className:en.cancel},ui)),mn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ri=({className:Wn,style:Bn={},LeftContent:En,children:vn,RightContent:ui})=>Lt.createElement("div",{className:Oe()(mn.fixedBottom,Wn),style:Bn},Lt.createElement("div",{className:mn.wrap},Lt.createElement("div",{className:mn.left},En),Lt.createElement("div",{className:mn.center},vn),Lt.createElement("div",{className:mn.right},ui))),vi={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},er=({className:Wn,style:Bn={},dataSource:En=[]})=>Lt.createElement("div",{className:Oe()(vi.crumbs,Wn),style:Bn},En.map((vn,ui)=>uiVe.history.push(vn.path)},vn.name):Lt.createElement("span",null,vn.name),Lt.createElement("span",null,"\xA0",">","\xA0")):Lt.createElement("span",{key:ui,style:{color:"#5F6368"}},vn.name))),Ke=Et(11938),Ue=Object.defineProperty,ii=Object.defineProperties,Ai=Object.getOwnPropertyDescriptors,Fi=Object.getOwnPropertySymbols,Mi=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,nr=(Wn,Bn,En)=>Bn in Wn?Ue(Wn,Bn,{enumerable:!0,configurable:!0,writable:!0,value:En}):Wn[Bn]=En,fr=(Wn,Bn)=>{for(var En in Bn||(Bn={}))Mi.call(Bn,En)&&nr(Wn,En,Bn[En]);if(Fi)for(var En of Fi(Bn))sr.call(Bn,En)&&nr(Wn,En,Bn[En]);return Wn},_n=(Wn,Bn)=>ii(Wn,Ai(Bn)),qi=(Wn,Bn)=>{var En={};for(var vn in Wn)Mi.call(Wn,vn)&&Bn.indexOf(vn)<0&&(En[vn]=Wn[vn]);if(Wn!=null&&Fi)for(var vn of Fi(Wn))Bn.indexOf(vn)<0&&sr.call(Wn,vn)&&(En[vn]=Wn[vn]);return En};const{Countdown:Ct}=Ke.default;var oi=Wn=>{var Bn=Wn,{onChange:En}=Bn,vn=qi(Bn,["onChange"]);const[ui,Te]=(0,Lt.useState)(null);(0,Lt.useEffect)(()=>{typeof ui=="number"&&ui>=0&&En(ui)},[ui]);const Ze=Ne=>{const ln=Math.floor(Ne/1e3);Te(ln)};return Lt.createElement(Ct,_n(fr({},vn),{onChange:Ze}))}},37808:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return re}});var Lt=Et(59301);function re(fe,pe){const ne=(0,Lt.useRef)();(0,Lt.useEffect)(()=>{ne.current=fe}),(0,Lt.useEffect)(()=>{function Ht(){ne.current()}if(pe!==null){let oe=setInterval(Ht,pe);return()=>clearInterval(oe)}},[pe])}},26090:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return sn}});var Lt=Et(59301),re=Et(25690),fe=Et(8848),pe=Et(37568),ne=Et(28284),Ht=Et(6767),oe=Et(62957),Oe=Et(62673),ge=Et(25399),Nt=Et(71051),Je=Et(47889),ie=Et(77736),nn=Et(77019),Bt=Et(82326),et=Et(71411),nt=Et(81705),ct=Et(9148),lt={wrap:"wrap___BgpUe",row:"row___UWxAG",textarea:"textarea___gaLin",btn:"btn___ZpuhS",sub:"sub___Jd_ZS"},gt=Et(75975),mt=Et(38986),St=Et(48790),Pt=Et(59301),Rt=Object.defineProperty,Wt=Object.defineProperties,te=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ae=($t,It,Pe)=>It in $t?Rt($t,It,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$t[It]=Pe,Fe=($t,It)=>{for(var Pe in It||(It={}))Vt.call(It,Pe)&&ae($t,Pe,It[Pe]);if(Jt)for(var Pe of Jt(It))le.call(It,Pe)&&ae($t,Pe,It[Pe]);return $t},De=($t,It)=>Wt($t,te(It)),Ee=($t,It,Pe)=>new Promise((an,Ve)=>{var Se=xn=>{try{He(Pe.next(xn))}catch(we){Ve(we)}},$e=xn=>{try{He(Pe.throw(xn))}catch(we){Ve(we)}},He=xn=>xn.done?an(xn.value):Promise.resolve(xn.value).then(Se,$e);He((Pe=Pe.apply($t,It)).next())});const{Panel:Sn}=fe.default,{TextArea:rn}=pe.default;var sn=({active:$t,type:It="jupyter"})=>{var Pe,an;const Ve=(0,re.useParams)(),[Se]=ne.default.useForm(),[$e,He]=(0,Lt.useState)({}),[xn,we]=(0,Lt.useState)(!1),[de,ke]=(0,Lt.useState)(0),[ze,fn]=(0,Lt.useState)([]),[Dt,wt]=(0,Lt.useState)([]),[yt,kt]=(0,Lt.useState)([]),jt=(an=(Pe=(0,St.eY)())==null?void 0:Pe.shixun)==null?void 0:an.editable;(0,Lt.useEffect)(()=>{$t==="testCase"&&Mt()},[$t]),(0,Lt.useEffect)(()=>{Gt()},[]);const Mt=()=>Ee(void 0,null,function*(){var gn,en,Zn,Hn,mn,zn,Ri,vi,ji,er,Ke,Ue,ii,Ai;const Fi=[{hidden:0,input:"",output:"",score:100}],Mi=yield(0,mt.ZP)(`/api/shixuns/${Ve==null?void 0:Ve.id}/jupyter_evalute_setting.json`,{method:"get"});if((Mi==null?void 0:Mi.status)===0){kt((gn=Mi==null?void 0:Mi.data)==null?void 0:gn.standard_scripts);const sr={open_evaluate:(en=Mi==null?void 0:Mi.data)==null?void 0:en.open_evaluate,exec_time:((Zn=Mi==null?void 0:Mi.data)==null?void 0:Zn.exec_time)||3,test_set_score:((Hn=Mi==null?void 0:Mi.data)==null?void 0:Hn.test_set_score)===null?!1:(mn=Mi==null?void 0:Mi.data)==null?void 0:mn.test_set_score,test_set_average:((zn=Mi==null?void 0:Mi.data)==null?void 0:zn.test_set_average)===null?!0:(Ri=Mi==null?void 0:Mi.data)==null?void 0:Ri.test_set_average,choice_standard_scripts:((vi=Mi==null?void 0:Mi.data)==null?void 0:vi.choice_standard_scripts)||null,evaluate_script:((ji=Mi==null?void 0:Mi.data)==null?void 0:ji.evaluate_script)||"",evaluate_method:(er=Mi==null?void 0:Mi.data)==null?void 0:er.evaluate_method,use_jupyter_result:(Ke=Mi==null?void 0:Mi.data)==null?void 0:Ke.use_jupyter_result};Se.setFieldsValue(sr),He(sr),fn((ii=(Ue=Mi==null?void 0:Mi.data)==null?void 0:Ue.test_sets)!=null&&ii.length?(Ai=Mi==null?void 0:Mi.data)==null?void 0:Ai.test_sets:Fi)}}),Gt=()=>Ee(void 0,null,function*(){var gn;const en=yield(0,mt.ZP)(`/api/shixuns/${Ve==null?void 0:Ve.id}/get_jupyter_tags.json`,{method:"get"});(en==null?void 0:en.status)===0&&wt(((gn=en==null?void 0:en.data)==null?void 0:gn.list)||[])}),Ce=gn=>Ee(void 0,null,function*(){const Zn=ze.map(mn=>mn.score).reduce((mn,zn)=>mn+zn,0);if(gn.test_set_score&&Zn!==100){Ht.ZP.warning("\u6D4B\u8BD5\u7528\u4F8B\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}if(gn.evaluate_method===3&&(ze!=null&&ze.some(mn=>!mn.tags))){Ht.ZP.warning("\u8BF7\u9009\u62E9\u6307\u5B9A\u4EE3\u7801\u5757");return}we(!0),(yield(0,mt.ZP)(`/api/shixuns/${Ve==null?void 0:Ve.id}/update_jupyter_evaluate_setting.json`,{method:"post",body:De(Fe({},gn),{mirror_script_id:gn==null?void 0:gn.choice_standard_scripts,open_evaluate:gn!=null&&gn.open_evaluate?1:0,test_set:ze.map(mn=>De(Fe({},mn),{is_file:!1}))})})).status===0&&Ht.ZP.success("\u4FDD\u5B58\u6210\u529F"),we(!1)}),be=gn=>{He(Fe({},Se.getFieldsValue())),"test_set_average"in gn&&(gn!=null&&gn.test_set_average)&&on(ze),"test_set_score"in gn&&(gn!=null&&gn.test_set_score)&&(Se.setFieldsValue({test_set_average:!0}),He(De(Fe({},Se.getFieldsValue()),{test_set_average:!0})),on(ze)),"choice_standard_scripts"in gn&&oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Pt.createElement("div",{className:"tc font16"},"\u539F\u6709\u811A\u672C\u5C06\u88AB\u65B0\u7684\u811A\u672C\u8986\u76D6\uFF0C\u65E0\u6CD5\u64A4\u9500",Pt.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u6267\u884C\u8986\u76D6\u64CD\u4F5C"),onOk:()=>Ee(void 0,null,function*(){const en=yield(0,mt.ZP)(`/api/shixuns/${Ve==null?void 0:Ve.id}/get_script_contents.json`,{method:"get",params:{id:Ve==null?void 0:Ve.id,script_id:gn==null?void 0:gn.choice_standard_scripts}});en!=null&&en.content&&(oe.default.info({centered:!0,title:"\u63D0\u793A",okText:"\u77E5\u9053\u5566",content:Pt.createElement("div",{className:"tc font16"},"\u8BC4\u6D4B\u811A\u672C\u751F\u6210\u6210\u529F\uFF01")}),Se.setFieldsValue({evaluate_script:en==null?void 0:en.content}),He(De(Fe({},Se.getFieldsValue()),{evaluate_script:en==null?void 0:en.content})))})})},on=gn=>{let en=0;const Zn=Math.floor((100-en)/gn.length),Hn=Zn+(100-en)%gn.length;gn=gn.map((mn,zn)=>zn===gn.length-1?De(Fe({},mn),{score:Hn}):De(Fe({},mn),{score:Zn})),fn(gn)},Ae=()=>{const gn=[...ze,{hidden:0,input:"",output:"",score:0}];Se.getFieldValue("test_set_average")?on(gn):fn(gn)},{test_set_score:Le,test_set_average:_e,choice_standard_scripts:un,open_evaluate:Pn}=$e;return Pt.createElement("section",{className:lt.wrap},Pt.createElement(ne.default,{form:Se,disabled:!Pn,layout:"vertical",onValuesChange:be,onFinish:Ce},Pt.createElement(ne.default.Item,{name:"open_evaluate",style:{marginTop:10},valuePropName:"checked"},Pt.createElement(Oe.default,{disabled:!1},"\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD")),Pt.createElement("h4",{className:"font14"},"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),Pt.createElement(ge.Z,{title:!Pn&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Pt.createElement(ne.default.Item,{label:"\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09\uFF1A",name:"exec_time",className:lt.row,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}]},Pt.createElement(Nt.Z,{size:"large",style:{width:400},min:3}))),Pt.createElement("h4",{className:"font14 mb10"},"\u7CFB\u7EDF\u8BC4\u5206\u89C4\u5219"),Pt.createElement(ge.Z,{title:!Pn&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Pt.createElement(ne.default.Item,{name:"test_set_score"},Pt.createElement(Je.ZP.Group,null,Pt.createElement(ie.Z,{direction:"vertical"},Pt.createElement(Je.ZP,{value:!1},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",Pt.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u4EC5\u5F53\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u83B7\u5F97\u4E00\u6B21\u6027\u5956\u52B1\uFF09")),Pt.createElement(Je.ZP,{value:!0},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",Pt.createElement("span",{className:"c-grey-999"}," \uFF08\u5B66\u5458\u8BC4\u6D4B\uFF0C\u901A\u8FC7\u6D4B\u8BD5\u96C6\u5373\u53EF\u83B7\u5F97\u5BF9\u5E94\u5956\u52B1\uFF09")))))),Pt.createElement(ne.default.Item,{label:Pt.createElement("span",{style:{fontWeight:500},className:"c-black"},"\u8BC4\u6D4B\u8BBE\u7F6E"),name:"evaluate_method",style:{flexDirection:"row",marginTop:15},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u8BBE\u7F6E"}]},Pt.createElement(Je.ZP.Group,null,Pt.createElement(ie.Z,{direction:"vertical"},Pt.createElement(Je.ZP,{value:1},"\u901A\u8FC7\u6240\u6709\u4EE3\u7801\u5757\u8BC4\u6D4B",Pt.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6240\u6709\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09")),Pt.createElement(Je.ZP,{value:3},"\u901A\u8FC7\u6307\u5B9A\u4EE3\u7801\u5757\u8BC4\u6D4B",Pt.createElement("span",{className:"c-grey-999"}," \uFF08\u5BF9\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u7684\u6307\u5B9A\u975E\u7A7A\u4EE3\u7801\u5757\u8FDB\u884C\u8BC4\u6D4B\uFF09"))))),Pt.createElement(nn.Z,{align:"middle",justify:"space-between",className:"font14"},Pt.createElement("div",{style:{fontWeight:500}},Pt.createElement("span",{className:lt.sub},"*"),"\u6D4B\u8BD5\u7528\u4F8B"),Pt.createElement(ge.Z,{title:!Pn&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Pt.createElement(ct.op,{style:{borderRadius:2},onClick:Ae},"\u6DFB\u52A0\u6D4B\u8BD5\u7528\u4F8B"))),Le&&Pt.createElement(ne.default.Item,{name:"test_set_average"},Pt.createElement(Je.ZP.Group,null,Pt.createElement(Je.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),Pt.createElement(Je.ZP,{value:!1,style:{marginLeft:50}},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),Pt.createElement(ge.Z,{title:!Pn&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Pt.createElement("div",null,ze.map((gn,en)=>Pt.createElement(fe.default,{activeKey:de,key:en,onChange:()=>{ke(Zn=>Zn===en?null:en)}},Pt.createElement(Sn,{header:Pt.createElement("div",{className:"font16"},Pt.createElement("span",{className:"mr10"},"\u6D4B\u8BD5\u7528\u4F8B",en+1),$e.test_set_score&&Pt.createElement("span",{style:{marginLeft:40}},Pt.createElement(Nt.Z,{style:{width:120},value:gn.score,onClick:Zn=>Zn.stopPropagation(),min:0,max:100,precision:0,onBlur:Zn=>{if(Number(Zn)<0||Number(Zn)>100){Ht.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const Hn=ze.map((zn,Ri)=>Ri===en?De(Fe({},zn),{score:100}):zn),mn={test_set_average:!1};He(Fe(Fe({},$e),mn)),Se.setFieldsValue(mn),fn(Hn)}},disabled:_e,onChange:Zn=>{const Hn=ze.map((zn,Ri)=>Ri===en?De(Fe({},zn),{score:Zn?Number(Zn):0}):zn),mn={test_set_average:!1};He(Fe(Fe({},$e),mn)),Se.setFieldsValue(mn),fn(Hn)}}),Pt.createElement("span",{className:"ml10 mr10"},"%")),Pt.createElement("span",{className:"tr flex1",style:{float:"right"}},en!==0&&Pt.createElement(ge.Z,{placement:"bottom",title:"\u5220\u9664"},Pt.createElement("span",{style:{color:"#c5c5c5"},className:"current iconfont icon-shanchu4",onClick:Zn=>{Zn.stopPropagation(),oe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u6D4B\u8BD5\u7528\u4F8B\u5417\uFF1F",onOk:()=>{const Hn=ze.filter((mn,zn)=>zn!==en);on(Hn)}})}})))),key:en},Pt.createElement("div",null,$e.evaluate_method===3&&Pt.createElement(nn.Z,{align:"middle",className:"mb20"},Pt.createElement("div",null,Pt.createElement("span",{className:lt.sub},"*"),Pt.createElement("span",null,"\u6307\u5B9A\u4EE3\u7801\u5757"),Pt.createElement(ge.Z,{title:"\u8BF7\u5148\u5728Jupyter\u4E2D\u5BF9\u60A8\u9700\u8981\u8BC4\u6D4B\u7684\u6307\u5B9A\u4EE3\u7801\u5757\u5B8C\u6210\u6807\u7B7E\u8BBE\u7F6E\u3002"},Pt.createElement("i",{style:{marginLeft:6,marginRight:20,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),Pt.createElement(Bt.default,{value:gn.tags,size:"large",style:{width:450},onChange:Zn=>{const Hn=ze.map((mn,zn)=>zn===en?De(Fe({},mn),{tags:Zn}):mn);fn(Hn)}},Dt==null?void 0:Dt.map(Zn=>Pt.createElement(Bt.default.Option,{value:Zn==null?void 0:Zn.tags,key:Zn==null?void 0:Zn.tags},Zn==null?void 0:Zn.tags)))),Pt.createElement(nn.Z,{align:"middle"},Pt.createElement("div",null," ",Pt.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),Pt.createElement(rn,{bordered:!1,className:lt.textarea,rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:gn.output,onChange:Zn=>{const Hn=ze.map((mn,zn)=>zn===en?De(Fe({},mn),{output:Zn.target.value}):mn);fn(Hn)}})),Pt.createElement(nn.Z,{className:"mt20",align:"middle"},Pt.createElement("div",null,Pt.createElement("span",null,"\u53EF\u89C1\u6027"),Pt.createElement(ge.Z,{title:Pt.createElement("div",null,Pt.createElement("div",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),Pt.createElement("div",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),Pt.createElement("div",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"))},Pt.createElement("i",{style:{marginLeft:6,marginRight:13,color:"#145DFF"},className:"iconfont icon-xiaowenhao2 font14"}))),Pt.createElement("div",null,Pt.createElement(Oe.default,{className:"font14 ml5",checked:gn.hidden===1,onChange:Zn=>{const Hn=ze.map((mn,zn)=>{if(zn===en){let Ri={is_invisible:!1,actual_output_visible:!1};return Zn.target.checked&&(Ri={is_invisible:!0,actual_output_visible:!0}),De(Fe(Fe({},mn),Ri),{hidden:Zn.target.checked?1:0})}return mn});fn(Hn)}},"\u5168\u90E8\u9690\u85CF")),Pt.createElement(Oe.default,{checked:gn.is_invisible,style:{margin:"0 60px"},onChange:Zn=>{const Hn=ze.map((mn,zn)=>{if(zn===en){let Ri=0;return Zn.target.checked&&mn.actual_output_visible&&(Ri=1),De(Fe({},mn),{hidden:Ri,is_invisible:Zn.target.checked})}return mn});fn(Hn)}},"\u9690\u85CF\u9884\u671F\u8F93\u51FA"),Pt.createElement(Oe.default,{checked:gn.actual_output_visible,onChange:Zn=>{const Hn=ze.map((mn,zn)=>{if(zn===en){let Ri=0;return Zn.target.checked&&mn.is_invisible&&(Ri=1),De(Fe({},mn),{hidden:Ri,actual_output_visible:Zn.target.checked})}return mn});fn(Hn)}},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),Pt.createElement("div",{className:"mt20"},Pt.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),Pt.createElement(Oe.default,{checked:gn.last_match_rule,onChange:Zn=>{const Hn=ze.map((mn,zn)=>zn===en?De(Fe({},mn),{last_match_rule:Zn.target.checked}):mn);fn(Hn)}},Pt.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",Pt.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))))))),Pt.createElement("h4",{className:"font14 mt20 mb10"},Pt.createElement("span",{className:lt.sub},"*"),"\u8BC4\u6D4B\u811A\u672C"),Pt.createElement(ge.Z,{title:!Pn&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Pt.createElement(ne.default.Item,{name:"choice_standard_scripts",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"}]},Pt.createElement(Bt.default,{getPopupContainer:gn=>gn.parentNode,size:"large",style:{width:400},placeholder:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u811A\u672C"},yt.map((gn,en)=>Pt.createElement(Bt.default.Option,{value:gn.id,key:en},gn.scptname))))),Pt.createElement(ge.Z,{title:!Pn&&"\u8BF7\u542F\u7528Jupyter\u8BC4\u6D4B\u529F\u80FD\u540E\uFF0C\u8FDB\u884C\u7F16\u8F91",placement:"topLeft"},Pt.createElement(ne.default.Item,{name:"evaluate_script"},Pt.createElement(gt.ZP,{height:450,style:{border:"1px solid #ccc"},language:"shell",theme:"vs-light",options:{readOnly:!Pn}}))),(0,St.Ny)()&&Pt.createElement(nn.Z,{className:"mb20",align:"middle"},Pt.createElement(ne.default.Item,{name:"use_jupyter_result",className:"mt10",valuePropName:"checked",noStyle:!0},Pt.createElement(et.Z,null)),Pt.createElement("div",{className:"ml10"},"\u662F\u5426\u6CBF\u7528Jupyter\u8FD0\u884C\u7ED3\u679C"))),Pt.createElement(nt.t,{okText:"\u4FDD\u5B58",hasOkBtn:jt,loading:xn,onCancel:()=>re.history.push(`/shixuns/${Ve==null?void 0:Ve.id}/challenges`),onOk:()=>Se.submit(),className:It==="jupyterLab"?lt.btn:""}))}},15067:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return te}});var Lt=Et(59301),re=Et(62957),fe=Et(99571),pe=Et(6767),ne=Et(20554),Ht=Et(29787),oe=Et(42440),Oe=Et(71051),ge={modal:"modal___NEEbt",con_warp:"con_warp___fZ8It",flex:"flex___Vqd1D",config_Warp:"config_Warp___m6wfT",config_btn:"config_btn___OL6qH",sceneList:"sceneList___SKegj",sceneItem:"sceneItem___RPw0S",sceneItemActive:"sceneItemActive___O_xTR"},Nt=Et(11724),Je=Et(62772),ie=Et(38986),nn=Et(59301),Bt=Object.defineProperty,et=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,mt=(Jt,Vt,le)=>Vt in Jt?Bt(Jt,Vt,{enumerable:!0,configurable:!0,writable:!0,value:le}):Jt[Vt]=le,St=(Jt,Vt)=>{for(var le in Vt||(Vt={}))lt.call(Vt,le)&&mt(Jt,le,Vt[le]);if(ct)for(var le of ct(Vt))gt.call(Vt,le)&&mt(Jt,le,Vt[le]);return Jt},Pt=(Jt,Vt)=>et(Jt,nt(Vt)),Rt=(Jt,Vt,le)=>new Promise((ae,Fe)=>{var De=rn=>{try{Sn(le.next(rn))}catch(Ge){Fe(Ge)}},Ee=rn=>{try{Sn(le.throw(rn))}catch(Ge){Fe(Ge)}},Sn=rn=>rn.done?ae(rn.value):Promise.resolve(rn.value).then(De,Ee);Sn((le=le.apply(Jt,Vt)).next())}),te=({visible:Jt,onOk:Vt,onCancel:le,info:ae})=>{const[Fe,De]=(0,Lt.useState)("1"),[Ee,Sn]=(0,Lt.useState)([{name:"gpu_limit",label:"GPU\u663E\u5361\u6570\u91CF",value:1,min:0,max:4,typeName:"\u4E2A"},{name:"gpu_memory_limit",label:"GPU\u663E\u5B58\u5927\u5C0F",value:1,min:0,max:64,typeName:"GB"}]),[rn,Ge]=(0,Lt.useState)([]),[sn,$t]=(0,Lt.useState)(0),[It,Pe]=(0,Lt.useState)(null),[an,Ve]=(0,Lt.useState)(!1);(0,Lt.useEffect)(()=>{Jt&&Se()},[Jt]);const Se=()=>{De("1"),Pe(null),$t(0),Ee[0].value=(ae==null?void 0:ae.gpu_limit)||1,Ee[1].value=(ae==null?void 0:ae.gpu_memory_limit)||16,Sn([...Ee])};(0,Lt.useEffect)(()=>{var Dt,wt;((wt=(Dt=rn==null?void 0:rn[sn])==null?void 0:Dt.content)==null?void 0:wt.length)>0&&Pe(Pt(St({},rn[sn].content[0]),{index:0}))},[Fe,sn,rn]);const $e=()=>Rt(void 0,null,function*(){yield(0,ie.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(Dt=>{var wt;if(Ge(Dt),(Dt==null?void 0:Dt.length)>0){let yt=Pt(St({},(wt=Dt==null?void 0:Dt[0])==null?void 0:wt.content[0]),{index:0});Pe(yt)}})}),He=Dt=>{De(Dt),Dt==="2"&&$t(0)},xn=(Dt,wt)=>{Sn(Ee.map(yt=>yt.name===Dt?wt(yt):yt))},we=(Dt,wt)=>{isNaN(Dt)||xn(wt,yt=>Pt(St({},yt),{value:Dt}))},de=(Dt,wt)=>{var yt;if(console.log("decline",Dt.value),Dt.value=Number(Dt.value),Dt.value<=((yt=Dt.min)!=null?yt:-1/0))return;let kt=Dt.value-.5Pt(St({},jt),{value:kt}))},ke=(Dt,wt)=>{var yt;if(Dt.value=Number(Dt.value),Dt.value>=((yt=Dt.max)!=null?yt:1/0))return;let kt=Dt.value+.5>Dt.max?Dt.max:Dt.value+(wt||.5);xn(Dt.name,jt=>Pt(St({},jt),{value:kt}))},ze=(Dt,wt)=>{isNaN(Dt)||xn(wt,yt=>Pt(St({},yt),{value:Dt}))},fn=Dt=>{if(Dt==null||Number.isInteger(Dt))return Dt;const wt=Dt%1;return wt===.5?Dt:Math.floor(Dt)+(wt<.5?.5:1)};return nn.createElement(nn.Fragment,null,nn.createElement(re.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:Jt,width:752,destroyOnClose:!0,centered:!0,onCancel:le,className:ge.modal,footer:[nn.createElement("div",{className:ge.btn_warp,key:"1"},nn.createElement(fe.ZP,{onClick:le},"\u53D6\u6D88"),nn.createElement(fe.ZP,{type:"primary",onClick:()=>{let Dt=St({},ae);if(Fe=="1")Dt.gpu_limit=Ee[0].value,Dt.gpu_memory_limit=Ee[1].value;else if(Fe=="2"){if(!It){pe.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}Dt=Pt(St({},Dt),{gpu_limit:It.gpu_limit,gpu_memory_limit:It.gpu_memory_limit})}Vt(Dt)}},"\u4FDD\u5B58"))]},nn.createElement(ne.default,{activeKey:Fe,onChange:He},nn.createElement(ne.default.TabPane,{tab:"GPU\u914D\u7F6E",key:1},nn.createElement(Ht.Z,{spinning:an},Ee==null?void 0:Ee.map(Dt=>nn.createElement("div",{className:ge.con_warp,key:Dt==null?void 0:Dt.name},nn.createElement("div",null,Dt==null?void 0:Dt.label),nn.createElement("div",null,nn.createElement(oe.Z,{min:Dt==null?void 0:Dt.min,max:Dt==null?void 0:Dt.max,onChange:wt=>we(wt,Dt==null?void 0:Dt.name),value:Dt==null?void 0:Dt.value,step:Dt.name==="gpu_limit"?1:.5,style:{width:422,height:6,margin:"0 20px 0 12px"}})),nn.createElement("div",{className:`${ge.config_Warp} ${ge.flex}`},nn.createElement("div",{className:`${ge.config_btn} ${ge.flex}`,onClick:()=>de(Dt,Dt.name==="gpu_limit"?1:.5)},nn.createElement(Nt.Z,null)),nn.createElement(Oe.Z,{min:Dt==null?void 0:Dt.min,max:Dt==null?void 0:Dt.max,size:"large",step:Dt.name==="gpu_limit"?1:.5,controls:!1,style:{width:55},value:Dt==null?void 0:Dt.value,onChange:wt=>{const yt=fn(wt);ze(yt,Dt==null?void 0:Dt.name)}}),nn.createElement("div",{className:`${ge.config_btn} ${ge.flex}`,onClick:()=>ke(Dt,Dt.name==="gpu_limit"?1:.5)},nn.createElement(Je.Z,null))),nn.createElement("div",null,Dt==null?void 0:Dt.typeName))))))))}},42546:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return wt}});var Lt=Et(59301),re=Et(62957),fe=Et(6767),pe=Et(30641),ne=Et(20554),Ht=Et(29787),oe=Et(25399),Oe=Et(99571),ge={header_body:"header_body___lAlEX",close:"close___OXweN",no_data:"no_data___h77J2",recommend_config_introduce:"recommend_config_introduce___ifFGY",recommend_config:"recommend_config___UXyKS",recommend_config_item:"recommend_config_item___zONum",item_title:"item_title___w5vXw",recommend_text:"recommend_text___f68Eu",item_content:"item_content___j_zbN",recommend_config_active_item:"recommend_config_active_item___SrTkJ",recommend_config_footer:"recommend_config_footer___PHnlA",application:"application___uh4gI",tooltip:"tooltip___f0uXh",disabled:"disabled___Ha9Ba"},Nt=Et(99267),Je=Et(61485),ie=Et(13014),nn=Et(93314),Bt=Et(38986),et=Et(76411),nt={lineChart:"lineChart___dCEZW"},ct=Et(61186),lt=Et.n(ct),gt=Et(59301),St=({dataInfo:yt,indexKey:kt,valueName:jt,startAndEndTime:Mt,colors:Gt=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"],imageTypeName:Ce})=>{let be=null;(0,Lt.useEffect)(()=>{gn()},[yt]),(0,Lt.useEffect)(()=>{window.addEventListener("resize",on(()=>{be&&be.resize()},200))},[window.onresize]);const on=(en,Zn,Hn=!1)=>{let mn,zn;return(...Ri)=>{if(Hn){en.apply(zn,Ri),Hn=!1;return}clearTimeout(mn),mn=setTimeout(()=>{en.apply(zn,Ri)},Zn)}},Ae=en=>en?en.map(Zn=>{const Hn=new Date(Zn),mn=String(Hn.getMonth()+1).padStart(2,"0"),zn=String(Hn.getDate()).padStart(2,"0"),Ri=String(Hn.getHours()).padStart(2,"0"),vi=String(Hn.getMinutes()).padStart(2,"0");return`${mn}/${zn} ${Ri}:${vi}`}):[],Le=(en,Zn)=>en.map(Hn=>{const mn=Zn.timestamps.indexOf(Hn);return mn!==-1?Zn.values[mn]:null});function _e(en){let Zn=1/0;for(let mn=0;mn{let mn=[];for(let zn=en;zn<=Zn;zn+=Hn)mn.push(zn);return mn},Pn=()=>{var en;const Zn=((en=yt==null?void 0:yt.x)==null?void 0:en.flat())||[];let Hn=[...new Set(Zn)].sort((Ue,ii)=>Ue-ii),mn=_e(Hn),zn=mn==null?void 0:mn.newArray,Ri=mn==null?void 0:mn.minInterval;Hn=[...new Set([...Hn,...zn])].sort((Ue,ii)=>Ue-ii);let vi=lt()(Mt[0],"YYYY-MM-DD HH:mm").valueOf(),ji=un(vi,Hn[0]-Ri,Ri),er=lt()(Mt[1],"YYYY-MM-DD HH:mm").valueOf(),Ke=un(Hn[Hn.length-1]+Ri,er,Ri);return Hn=[...ji,...Hn,...Ke],[...new Set(Hn)].sort((Ue,ii)=>Ue-ii)},gn=()=>{var en;be=et.init(document.getElementById(`lineChart${kt}`));let Zn=Pn(),Hn=(en=yt==null?void 0:yt.y)==null?void 0:en.map((zn,Ri)=>{var vi;let ji={timestamps:(vi=yt==null?void 0:yt.x)==null?void 0:vi[Ri],values:zn};return zn=Le(Zn,ji),{name:jt[Ri],type:"line",itemStyle:{show:!1},lineStyle:{color:Gt[Ri]},data:zn}}),mn={tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{color:"rgba(212, 217, 227, 1)",type:"dashed"}},backgroundColor:"#fff",textStyle:{color:"#333333"},padding:10,extraCssText:"box-shadow: 0px 4px 8px 0px rgba(184,194,202,0.5)",formatter:function(zn){var Ri;let vi="";return zn.forEach((ji,er)=>{console.log("item",ji),vi+=`
${Ce[ji==null?void 0:ji.componentIndex]}
${ji.value>0?ji.value.toFixed(5):ji.value==0?0:"--"} ${kt==0?"Cores":"MiB"}
`}),`
${(Ri=zn[0])==null?void 0:Ri.name}
${vi}
`}},grid:{right:"5%",bottom:"20%",top:"10%"},dataZoom:[{show:!0,start:0,end:100},{type:"inside",start:20,end:100}],xAxis:[{type:"category",gridIndex:0,boundaryGap:!0,axisTick:{show:!1,alignWithLabel:!1},axisLine:{show:!0,lineStyle:{color:"#F0F0F0",type:"solid"}},axisLabel:{show:!0,color:"#9096A3"},splitLine:{show:!1},data:Ae(Zn)}],yAxis:[{type:"value",gridIndex:0,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,color:"#9096A3",formatter:kt==1?"{value} MiB":"{value} Cores"},splitLine:{show:!0,lineStyle:{color:"#EDEDED",type:"dashed"}}}],series:Hn};be.setOption(mn)};return gt.createElement("div",{id:`lineChart${kt}`,className:nt.lineChart})},Pt=Et(9148),Rt={flex_warp:"flex_warp___Rtigf",chart_content:"chart_content___tVmUj",chart_title:"chart_title___AOPx7",listdata:"listdata___mi4KG",block:"block___prArl",typename:"typename___j4diD",val:"val___MeuWc",info_con:"info_con___eIdJL",info_top:"info_top___UKMbT",fullscreen:"fullscreen___PICBn",chart_content_qp:"chart_content_qp___ae1n1",spin_dom:"spin_dom___T7PCy"},Wt=Et(82326),te=Et(16326),Jt=Et(1560);const Vt=yt=>{const kt=new Date,Mt=(Gt=>{const Ce=new Date(kt);switch(Gt){case"\u6700\u8FD130\u5206\u949F":Ce.setMinutes(kt.getMinutes()-30);break;case"\u6700\u8FD13\u5C0F\u65F6":Ce.setHours(kt.getHours()-3);break;case"\u6700\u8FD124\u5C0F\u65F6":Ce.setDate(kt.getDate()-1);break;case"\u6700\u8FD17\u5929":Ce.setDate(kt.getDate()-7);break;case"\u6700\u8FD115\u5929":Ce.setDate(kt.getDate()-15);break;default:return null}return Ce})(yt);return Mt?{startTime:Mt,endTime:kt}:null},le=(yt,kt,jt)=>{if(!yt)return!1;const Mt=lt()(),[Gt,Ce]=kt;if(yt.isAfter(Mt))return!0;if(Gt){const be=Gt.clone().add(jt,"days");if(Ce&&yt.isAfter(be))return!0}if(Ce){const be=Ce.clone().subtract(jt,"days");return yt.isBefore(be)||yt.isAfter(Mt)}return!1},ae=yt=>yt<=5?"30s":yt<=15?"1m":yt<=30?"2m":yt<=60?"5m":yt<=180?"10m":yt<=360?"30m":yt<=720?"1h":yt<=1440?"2h":yt<=2880?"4h":yt<=4320?"8h":yt<=10080||yt<=14400?"12h":yt<=21600?"1d":"\u6CA1\u6709\u5339\u914D\u7684\u65F6\u95F4\u95F4\u9694",Fe=yt=>{const[kt,jt]=yt,Mt=moment.isMoment(kt)?kt:moment(kt),Gt=moment.isMoment(jt)?jt:moment(jt);if(!Mt.isValid()||!Gt.isValid())throw new Error("Invalid date provided");const be=moment.duration(Gt.diff(Mt)).asMinutes();return ae(be)},De=(yt,kt,jt=20)=>{const Mt=new Date(yt).getTime(),Gt=new Date(kt).getTime(),Ce=jt*1e3,be=[];let on=Mt;for(;on<=Gt;)be.push(on),on+=Ce;return be};var Ee=Et(89392),Sn=Et(28426),rn=Et(84989),Ge=Et(59301),sn=(yt,kt,jt)=>new Promise((Mt,Gt)=>{var Ce=Ae=>{try{on(jt.next(Ae))}catch(Le){Gt(Le)}},be=Ae=>{try{on(jt.throw(Ae))}catch(Le){Gt(Le)}},on=Ae=>Ae.done?Mt(Ae.value):Promise.resolve(Ae.value).then(Ce,be);on((jt=jt.apply(yt,kt)).next())});const $t=Wt.default.Option,{RangePicker:It}=te.default;var an=({identifier:yt,data:kt,isFirst:jt,setIsFirst:Mt,info:Gt})=>{var Ce;const[be,on]=(0,Lt.useState)([]),[Ae,Le]=(0,Lt.useState)([]),[_e,un]=(0,Lt.useState)(null),[Pn,gn]=(0,Lt.useState)(""),[en,Zn]=(0,Lt.useState)([null,null]),[Hn,mn]=(0,Lt.useState)([]),[zn,Ri]=(0,Lt.useState)(!1),[vi,ji]=(0,Lt.useState)([]),[er,Ke]=(0,Lt.useState)(!1),[Ue,ii]=(0,Lt.useState)(!1),[Ai,Fi]=(0,Lt.useState)(""),[Mi,sr]=(0,Lt.useState)(1),nr=["\u6700\u8FD130\u5206\u949F","\u6700\u8FD13\u5C0F\u65F6","\u6700\u8FD124\u5C0F\u65F6","\u6700\u8FD17\u5929","\u6700\u8FD115\u5929"],fr=["#DA4928","#2EC25B","#FEBD49","#498FEA","#9363D8"];(0,Lt.useEffect)(()=>{var vn,ui,Te,Ze;if(kt&&jt){Bn(),on(kt==null?void 0:kt.recent_users),Le(kt==null?void 0:kt.managers);const Ne=(Gt==null?void 0:Gt.type)==="\u6311\u6218\u9875\u9762";((vn=kt==null?void 0:kt.managers)==null?void 0:vn.length)>0?un(Ne?Gt==null?void 0:Gt.myshixun_id:(ui=kt==null?void 0:kt.managers[0])==null?void 0:ui.id):((Te=kt==null?void 0:kt.recent_users)==null?void 0:Te.length)>0&&un(Ne?Gt==null?void 0:Gt.myshixun_id:(Ze=kt==null?void 0:kt.recent_users[0])==null?void 0:Ze.id),gn("\u6700\u8FD130\u5206\u949F"),Mt(!1)}},[kt]),(0,Lt.useEffect)(()=>{if(Pn){let vn=Vt(Pn);Zn([lt()(vn==null?void 0:vn.startTime),lt()(vn==null?void 0:vn.endTime)])}},[Pn]),(0,Lt.useEffect)(()=>{_e&&(en!=null&&en[0])&&(en!=null&&en[1])&&_n()},[_e,en]);const _n=()=>sn(void 0,null,function*(){var vn;Ri(!0);let ui={startTimeString:en[0]?en[0].format("YYYY-MM-DD HH:mm"):null,endTimeString:en[1]?en[1].format("YYYY-MM-DD HH:mm"):null,samplingInterval:"20s",isSortBoolean:!1,id:_e};const Te=yield(0,Bt.ZP)(`/api/shixuns/${yt}/cpu_rank_data.json`,{method:"get",params:ui});(Te==null?void 0:Te.status)==0&&(ji((vn=Te==null?void 0:Te.data)==null?void 0:vn.statisticsList),sr(Mi+1)),Ri(!1)}),qi=(0,Lt.useRef)((0,Ee.throttle)(vn=>Ct(vn),1200,{leading:!0,trailing:!0})).current,Ct=vn=>sn(void 0,null,function*(){if(vn=="")return;const ui=yield(0,Bt.ZP)(`/api/shixuns/${yt}/cpu_search_data`,{method:"get",params:{search:vn}});(ui==null?void 0:ui.status)==0&&mn(ui==null?void 0:ui.data)}),Bi=(vn,ui)=>{vn==="CPU"?(er?(0,rn.BU)():(0,rn.Dj)(document.getElementById(`tj${ui}`)),Ke(!er)):(Ue?(0,rn.BU)():(0,rn.Dj)(document.getElementById(`tj${ui}`)),ii(!Ue))},oi=(vn,ui,Te)=>{const Ze=ui==="CPU"?"cpuUsageChart":"memoryUsageChart";let Ne=vn.map(Oi=>{var Ni,$i,Ye,cn;const Pi=(Ni=Oi.promQueryResult)==null?void 0:Ni[Ze],dr=`${Oi.envId}-${Oi.myPracticalTrainingId}_${ui}`,Yn=((cn=(Ye=($i=Pi==null?void 0:Pi.results[dr])==null?void 0:$i.frames[0])==null?void 0:Ye.data)==null?void 0:cn.values)||[];return Yn.length>0?Yn[Te]:[]});return Ne.some(Oi=>Array.isArray(Oi)&&Oi.length>0)?Ne:[]},Wn=vn=>{un(vn),Bn()},Bn=()=>{mn([]),Fi("")},En=vn=>{let ui=!1;for(let Te=0;Te<(vi==null?void 0:vi.length);Te++){let Ze=oi(vi,vn,1)[Te];if(Ze&&(Ze==null?void 0:Ze.length)>0){ui=!0;break}}return(vi==null?void 0:vi.length)>0&&ui};return Ge.createElement(Ge.Fragment,null,Ge.createElement("div",{className:`${Rt.flex_warp}`},Ge.createElement(Jt.Z,{allowClear:!0,showSearch:!0,value:Ai,style:{width:280},onSearch:qi,placeholder:"\u641C\u7D22\u59D3\u540D/\u624B\u673A\u53F7/\u90AE\u7BB1",onChange:(vn,ui)=>{Fi(vn),ui!=null&&ui.key&&un(Number(ui==null?void 0:ui.key))},onClear:Bn,size:"large"},Hn==null?void 0:Hn.map((vn,ui)=>Ge.createElement($t,{key:vn.id,value:vn.name},vn.name.length>4?`${vn.name.slice(0,4)}...`:vn.name,`( ${vn.phone?vn.phone:""} ${vn.mail?` - ${vn.mail}`:""})`))),Ge.createElement("div",null,Ge.createElement(Wt.default,{style:{width:130,marginRight:20},placeholder:"\u8BF7\u9009\u62E9",size:"large",value:Pn,onChange:vn=>{gn(vn)}},nr.map((vn,ui)=>Ge.createElement(Wt.default.Option,{key:ui,value:vn},vn))),Ge.createElement(It,{style:{width:320},showTime:!0,size:"large",allowClear:!1,value:en,disabledDate:vn=>le(vn,en,15),format:"YYYY-MM-DD HH:mm",onChange:vn=>{Zn(vn),gn(void 0)}}))),Ge.createElement(Pt.qp,{title:"\u5408\u4F5C\u6210\u5458",style:{marginTop:"24px"},value:_e,onChange:vn=>Wn(vn),dataSource:Ae,titleWidth:60,key:1}),Ge.createElement(Pt.qp,{title:"\u6700\u8FD1\u5B9E\u9A8C",className:(be==null?void 0:be.length)==0?"mt0":"",style:{marginBottom:(be==null?void 0:be.length)>0?"0px":"17px"},value:_e,onChange:vn=>Wn(vn),dataSource:be,titleWidth:60,key:2}),(Ce=[{name:"CPU",type:"CPU"},{name:"\u5185\u5B58",type:"MEMORY"}])==null?void 0:Ce.map((vn,ui)=>Ge.createElement("div",{className:`${Rt.chart_content}`,key:ui,id:`tj${ui}`},Ge.createElement("div",{className:Rt.chart_title},Ge.createElement("span",null,vn==null?void 0:vn.name,"\u4F7F\u7528\u91CF"),Ge.createElement("i",{className:`${Rt.fullscreen} iconfont ${(vn==null?void 0:vn.type)=="CPU"?er?"icon-tuichuquanping2":"icon-quanping2":Ue?"icon-tuichuquanping2":"icon-quanping2"} `,onClick:()=>Bi(vn.type,ui)})),Ge.createElement(Ht.Z,{spinning:zn},En(vn.type)?Ge.createElement("div",{style:{marginTop:(vn==null?void 0:vn.type)=="CPU"?er?"7%":"":Ue?"7%":""}},Ge.createElement(St,{dataInfo:{y:oi(vi,vn==null?void 0:vn.type,1)||[],x:oi(vi,vn==null?void 0:vn.type,0)||[]},startAndEndTime:en,colors:fr,indexKey:ui,valueName:vi.map(Te=>Te.name),imageTypeName:vi.map(Te=>{var Ze;return(Ze=Te==null?void 0:Te.promQueryResult)==null?void 0:Ze.imageTypeName}),key:`${ui}-${Mi}`}),Ge.createElement("div",{className:Rt.info_con},Ge.createElement("div",{className:Rt.info_top},Ge.createElement("div",null,"\u6700\u5927\u503C"),Ge.createElement("div",null,"\u6700\u5C0F\u503C"),Ge.createElement("div",null,"\u5E73\u5747\u503C")),vi.map((Te,Ze)=>{var Ne;let ln=Te==null?void 0:Te.promQueryResult;return Ge.createElement("div",{className:Rt.listdata,key:Ze},Ge.createElement("div",{className:Rt.block,style:{backgroundColor:fr[Ze],marginRight:10}}),Ge.createElement("div",{className:Rt.typename},(Ne=Te==null?void 0:Te.promQueryResult)==null?void 0:Ne.imageTypeName),Ge.createElement("div",{className:Rt.val},(vn==null?void 0:vn.type)=="CPU"?`${ln==null?void 0:ln.cpuMaxDoubleValue}Cores`:`${ln==null?void 0:ln.memoryDoubleMaxValue}MiB`),Ge.createElement("div",{className:Rt.val},(vn==null?void 0:vn.type)=="CPU"?`${ln==null?void 0:ln.cpuMinDoubleValue}Cores`:`${ln==null?void 0:ln.memoryDoubleMinValue}MiB`),Ge.createElement("div",{className:Rt.val},(vn==null?void 0:vn.type)=="CPU"?`${ln==null?void 0:ln.cpuAvgDoubleValue}Cores`:`${ln==null?void 0:ln.memoryDoubleAvgValue}MiB`))}))):Ge.createElement(Sn.Z,null)))))},Ve=Et(59301),Se=(yt,kt,jt)=>new Promise((Mt,Gt)=>{var Ce=Ae=>{try{on(jt.next(Ae))}catch(Le){Gt(Le)}},be=Ae=>{try{on(jt.throw(Ae))}catch(Le){Gt(Le)}},on=Ae=>Ae.done?Mt(Ae.value):Promise.resolve(Ae.value).then(Ce,be);on((jt=jt.apply(yt,kt)).next())}),He=({getApi:yt,identifier:kt,visible:jt,info:Mt})=>{const[Gt,Ce]=(0,Lt.useState)({}),[be,on]=(0,Lt.useState)(!0);(0,Lt.useEffect)(()=>{on(!0)},[jt]),(0,Lt.useEffect)(()=>{yt&&be&&Ae()},[yt]);const Ae=()=>Se(void 0,null,function*(){const Le=yield(0,Bt.ZP)(`/api/shixuns/${kt}/cpu_basic_data.json`,{method:"get"});(Le==null?void 0:Le.status)==0&&Ce(Le)});return Ve.createElement("div",null,Ve.createElement(an,{isFirst:be,setIsFirst:Le=>on(Le),identifier:kt,data:Gt,info:Mt}))},xn=Et(51257),we=Et(25690),de=Et(75736),ke=Et(40197),ze=Et(59301),fn=(yt,kt,jt)=>new Promise((Mt,Gt)=>{var Ce=Ae=>{try{on(jt.next(Ae))}catch(Le){Gt(Le)}},be=Ae=>{try{on(jt.throw(Ae))}catch(Le){Gt(Le)}},on=Ae=>Ae.done?Mt(Ae.value):Promise.resolve(Ae.value).then(Ce,be);on((jt=jt.apply(yt,kt)).next())});const Dt=({globalSetting:yt,dispatch:kt,practiceSetting:jt,shixunsDetail:Mt,visible:Gt,onCancel:Ce,info:be,identifier:on,isJupyter:Ae,onOk:Le})=>{const[_e,un]=(0,Lt.useState)("1"),[Pn,gn]=(0,Lt.useState)("\u63A8\u8350\u914D\u7F6E"),[en,Zn]=(0,Lt.useState)([]),[Hn,mn]=(0,Lt.useState)(!1),[zn,Ri]=(0,Lt.useState)(!1),[vi,ji]=(0,Lt.useState)({}),[er,Ke]=(0,Lt.useState)(!1);(0,Lt.useEffect)(()=>{Gt&&(Ri(!1),un("1"),gn("\u63A8\u8350\u914D\u7F6E"),(be==null?void 0:be.type)=="\u6311\u6218\u9875\u9762"?Zn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E"]):Zn(["\u5F53\u524D\u914D\u7F6E","\u63A8\u8350\u914D\u7F6E","\u589E\u5F3A\u914D\u7F6E"]),ji({}),Ue(),(be==null?void 0:be.type)=="\u6311\u6218\u9875\u9762"&&kt({type:"shixunsDetail/getShixunsDetail",payload:{id:on}}))},[Gt]);const Ue=()=>fn(void 0,null,function*(){Ke(!0);const _n=yield(0,de.HS)(on);[0,-10].includes(_n.status)&&(ji(_n),Ke(!1))}),ii=_n=>{_n=="2"?Ri(!0):Ri(!1),un(_n)},Ai=()=>{re.default.info({centered:!0,icon:null,width:424,title:"\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458",content:ze.createElement("div",{className:"tc"},ze.createElement("img",{src:ie,alt:"\u4E8C\u7EF4\u7801",width:182,height:182,style:{pointerEvents:"none",userSelect:"none"}})),okText:"\u6211\u77E5\u9053\u4E86"})},Fi=()=>fn(void 0,null,function*(){if((0,ke.gy)(kt,"\u4E0D\u80FD\u9009\u62E9/\u66F4\u6362\u5B9E\u9A8C\u73AF\u5883")||Pn=="\u5F53\u524D\u914D\u7F6E")return;mn(!0),(yield(0,Bt.ZP)(`/api/shixuns/${on}/apply_recommend_config.json`,{method:"put",body:{data:Pn=="\u63A8\u8350\u914D\u7F6E"?vi==null?void 0:vi.recommend:vi==null?void 0:vi.high}})).status==0&&(fe.ZP.success("\u5E94\u7528\u6210\u529F"),mn(!1),Ce(),Le())}),Mi=()=>fn(void 0,null,function*(){var _n,qi;if(yield sr(),(0,xn.L9)(["\u5B9E\u8DF5\u9879\u76EE","\u8BBE\u7F6E","\u6A21\u62DF\u5B9E\u6218"]),(_n=Mt.detail)!=null&&_n.is_jupyter||(qi=Mt.detail)!=null&&qi.is_jupyter_lab){kt({type:"shixunsDetail/execJupyter",payload:{id:on}}).then(Bi=>{var oi;Bi!=null&&Bi.identifier&&((oi=we.history)==null||oi.push(`/tasks/${Bi.identifier}/jupyter`))});return}kt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Ct=Ae?yield(0,de.BK)({id:on}):yield(0,de.Ir)({id:on});if(kt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Ct!=null&&Ct.game_identifier||Ct!=null&&Ct.identifier){(0,xn.xg)(Ae?`/tasks/${Ct==null?void 0:Ct.identifier}/jupyter`:`/tasks/${Ct.game_identifier}`);return}(Ct==null?void 0:Ct.status)===-3?(0,xn.eF)():(Ct==null?void 0:Ct.status)===2?nr(Ct==null?void 0:Ct.message):(Ct==null?void 0:Ct.status)===3&&fr(Ct==null?void 0:Ct.message)}),sr=()=>new Promise((_n,qi)=>{var Ct;(Ct=jt==null?void 0:jt.sideBar)!=null&&Ct.confirmLeave?re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{kt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),_n()},onCancel:()=>{qi()}}):_n()}),nr=_n=>{_n=_n!=null&&_n.includes(".json")?_n:`${_n}.json`,re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ze.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>fn(void 0,null,function*(){const qi=yield(0,Bt.ZP)("/api"+_n,{method:"get"});if(!qi)return;fe.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Ct=yield(0,de.Ir)({id:qi.shixun_identifier});if(Ct!=null&&Ct.game_identifier){(0,xn.xg)(`/tasks/${Ct.game_identifier}`);return}(Ct==null?void 0:Ct.status)===2?nr(Ct==null?void 0:Ct.message):(Ct==null?void 0:Ct.status)===3&&fr(Ct==null?void 0:Ct.message)})})},fr=_n=>{re.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ze.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",_n,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})};return ze.createElement(ze.Fragment,null,ze.createElement(pe.Z,{title:null,placement:"right",open:Gt,width:1e3,onClose:Ce,closeIcon:null,footer:null},ze.createElement("div",{className:ge.header_body},ze.createElement("span",null,"\u914D\u7F6E\u4E0E\u76D1\u63A7"),ze.createElement(Nt.Z,{className:ge.close,onClick:Ce})),ze.createElement(ne.default,{activeKey:_e,onChange:ii},ze.createElement(ne.default.TabPane,{tab:"\u63A8\u8350\u914D\u7F6E",key:1},ze.createElement(Ht.Z,{spinning:er,size:"large",tip:ze.createElement("div",{style:{color:"#666",fontSize:"14px"}},ze.createElement("div",{style:{color:"#232B40",fontWeight:"bolder",marginBottom:24,marginTop:14}},"\u6B63\u5728\u8BA1\u7B97\u2026"),ze.createElement("div",{style:{lineHeight:"26px"}},"\u7CFB\u7EDF\u6B63\u5728\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\u8BA1\u7B97\u63A8\u8350\u914D\u7F6E",ze.createElement("br",null),"\u8BF7\u8010\u5FC3\u7B49\u5F85\u2026"))},(vi==null?void 0:vi.status)==0?ze.createElement(ze.Fragment,null,ze.createElement("div",{className:ge.recommend_config_introduce},ze.createElement("div",null,"\u5F53\u524D\u914D\u7F6E\uFF1A\u5B9E\u9A8C\u73AF\u5883\u76EE\u524D\u5DF2\u7ECF\u914D\u7F6E\u7684\u8D44\u6E90\u3002"),ze.createElement("div",null,"\u63A8\u8350\u914D\u7F6E\uFF1A\u7CFB\u7EDF\u6839\u636E\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\u7684\u5B9E\u9645\u60C5\u51B5\uFF0C\u8BA1\u7B97\u51FA\u63A8\u8350\u914D\u7F6E\u3002\u4F7F\u7528\u7684\u4EBA\u8D8A\u591A\uFF0C\u63A8\u8350\u8D8A\u51C6\u786E\u3002"),ze.createElement("div",null,"\u589E\u5F3A\u914D\u7F6E\uFF1A\u9002\u7528\u4E8E\u8D44\u6E90\u6D88\u8017\u8F83\u9AD8\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),ze.createElement("div",{className:ge.recommend_config},en.map((_n,qi)=>ze.createElement("div",{className:`${ge.recommend_config_item} ${_n==Pn?ge.recommend_config_active_item:""}`,key:_n,onClick:()=>gn(_n)},ze.createElement("div",{className:ge.item_title},ze.createElement("div",null,_n),qi==1?ze.createElement("div",{className:ge.recommend_text},"\u63A8\u8350"):ze.createElement(ze.Fragment,null)),(_n=="\u5F53\u524D\u914D\u7F6E"&&(vi==null?void 0:vi.current)||_n=="\u63A8\u8350\u914D\u7F6E"&&(vi==null?void 0:vi.recommend)||_n=="\u589E\u5F3A\u914D\u7F6E"&&(vi==null?void 0:vi.high)||[]).map((Ct,Bi)=>ze.createElement("div",{className:ge.item_content,key:Bi},ze.createElement("span",null,Ct==null?void 0:Ct.image_name),Ct!=null&&Ct.cpu_limit?ze.createElement("span",null,Ct==null?void 0:Ct.cpu_limit,"\u6838",Ct==null?void 0:Ct.memory_limit,"G"):ze.createElement("div",null,ze.createElement("span",null,"\u6682\u65E0\u63A8\u8350"),ze.createElement(oe.Z,{title:ze.createElement("div",{style:{lineHeight:"22px",padding:5}},"\u5B9E\u9A8C\u73AF\u5883\u4E3A\u7279\u6B8A\u7684\u4E13\u6709\u4E91\u6216\u65E0\u4F7F\u7528\u6570",ze.createElement("br",null),"\u636E\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u7ED9\u51FA\u63A8\u8350\u503C\u3002\u4E00\u952E\u5E94\u7528",ze.createElement("br",null),"\u7684\u65F6\u5019\uFF0C\u5C06\u4F7F\u7528\u539F\u914D\u7F6E\u3002")},ze.createElement(Je.Z,{className:ge.tooltip})))))))),ze.createElement("div",{className:ge.recommend_config_footer},ze.createElement("div",null,ze.createElement("span",null,"\u6CA1\u627E\u5230\u5408\u9002\u7684\u914D\u7F6E\uFF1F"),ze.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>Ai()},"\u8054\u7CFB\u7BA1\u7406\u5458")),ze.createElement(Oe.ZP,{type:"primary",shape:"round",disabled:Pn=="\u5F53\u524D\u914D\u7F6E",onClick:Fi,loading:Hn},"\u4E00\u952E\u5E94\u7528"))):er?ze.createElement("div",{style:{height:400}}):ze.createElement("div",{className:ge.no_data},ze.createElement("img",{src:nn,style:{pointerEvents:"none",userSelect:"none",width:212,height:160}}),ze.createElement("p",{className:"mt20 mb20 font14",style:{color:"#7B8394",width:"100%",lineHeight:"26px"}},"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6CA1\u6709\u4EFB\u4F55\u4EBA\u4F7F\u7528\u8FC7\uFF0C\u7CFB\u7EDF\u65E0\u6CD5\u6839\u636E\u5B9E\u9645\u4F7F\u7528\u60C5\u51B5\u7ED9\u51FA\u63A8\u8350\u914D\u7F6E\u3002",ze.createElement("br",null),"\u5EFA\u8BAE\u60A8\u5148\u6A21\u62DF\u5B9E\u6218\u5E76\u901A\u5173~"),(be==null?void 0:be.type)!="\u6311\u6218\u9875\u9762"&&ze.createElement("div",{className:ge.application,onClick:()=>{Mi(),Ce()}},"\u6A21\u62DF\u5B9E\u6218")))),ze.createElement(ne.default.TabPane,{tab:"\u8D44\u6E90\u76D1\u63A7",key:2},ze.createElement(He,{getApi:zn,identifier:on,visible:Gt,info:be})))))};var wt=(0,we.connect)(({globalSetting:yt,practiceSetting:kt,shixunsDetail:jt})=>({globalSetting:yt,practiceSetting:kt,shixunsDetail:jt}))(Dt)},74976:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return Vt}});var Lt=Et(59301),re=Et(62957),fe=Et(99571),pe=Et(6767),ne=Et(20554),Ht=Et(29787),oe=Et(42440),Oe=Et(71051),ge=Et(54172),Nt={modal:"modal___aF6vS",con_warp:"con_warp___W1gHS",flex:"flex___Cbe__",config_Warp:"config_Warp___lXnUZ",config_btn:"config_btn___OAH7T",sceneList:"sceneList___N5Y3k",sceneItem:"sceneItem____bE1H",sceneItemActive:"sceneItemActive___e82B8"},Je=Et(11724),ie=Et(62772),nn=Et(38986),Bt=Et(28426),et=Et(59301),nt=Object.defineProperty,ct=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Pt=(le,ae,Fe)=>ae in le?nt(le,ae,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):le[ae]=Fe,Rt=(le,ae)=>{for(var Fe in ae||(ae={}))mt.call(ae,Fe)&&Pt(le,Fe,ae[Fe]);if(gt)for(var Fe of gt(ae))St.call(ae,Fe)&&Pt(le,Fe,ae[Fe]);return le},Wt=(le,ae)=>ct(le,lt(ae)),te=(le,ae,Fe)=>new Promise((De,Ee)=>{var Sn=sn=>{try{Ge(Fe.next(sn))}catch($t){Ee($t)}},rn=sn=>{try{Ge(Fe.throw(sn))}catch($t){Ee($t)}},Ge=sn=>sn.done?De(sn.value):Promise.resolve(sn.value).then(Sn,rn);Ge((Fe=Fe.apply(le,ae)).next())}),Vt=({visible:le,onOk:ae,onCancel:Fe,info:De})=>{var Ee,Sn,rn,Ge,sn;const[$t,It]=(0,Lt.useState)("1"),[Pe,an]=(0,Lt.useState)([]),[Ve,Se]=(0,Lt.useState)([]),[$e,He]=(0,Lt.useState)(0),[xn,we]=(0,Lt.useState)(null),[de,ke]=(0,Lt.useState)(!1);(0,Lt.useEffect)(()=>{le&&(ze(),fn(),Dt())},[le]);const ze=()=>{It("1"),an([]),we(null),He(0)};(0,Lt.useEffect)(()=>{var be,on;((on=(be=Ve==null?void 0:Ve[$e])==null?void 0:be.content)==null?void 0:on.length)>0&&we(Wt(Rt({},Ve[$e].content[0]),{index:0}))},[$t,$e,Ve]);const fn=()=>te(void 0,null,function*(){ke(!0),yield(0,nn.ZP)("/api/home/cpu_memory_limit.json",{method:"GET"}).then(be=>{let{max_cpu:on,max_memory:Ae,min_cpu:Le,min_memory:_e}=be,{cpu:un,memory:Pn}=De;an([{name:"CPU",value:un,min:Le,max:on,typeName:"\u6838"},{name:"\u5185\u5B58",value:Pn,min:_e,max:Ae,typeName:"GB"}])}),ke(!1)}),Dt=()=>te(void 0,null,function*(){yield(0,nn.ZP)("/api/home/example_cpu_list.json",{method:"GET"}).then(be=>{var on;if(Se(be),(be==null?void 0:be.length)>0){let Ae=Wt(Rt({},(on=be==null?void 0:be[0])==null?void 0:on.content[0]),{index:0});we(Ae)}})}),wt=be=>{It(be),be==="2"&&He(0)},yt=(be,on)=>{an(Pe.map(Ae=>Ae.name===be?on(Ae):Ae))},kt=(be,on)=>{isNaN(be)||yt(on,Ae=>Wt(Rt({},Ae),{value:be}))},jt=be=>{var on;if(console.log("decline",be.value),be.value=Number(be.value),be.value<=((on=be.min)!=null?on:-1/0))return;let Ae=be.value-.5Wt(Rt({},Le),{value:Ae}))},Mt=be=>{var on;if(be.value=Number(be.value),be.value>=((on=be.max)!=null?on:1/0))return;let Ae=be.value+.5>be.max?be.max:be.value+.5;yt(be.name,Le=>Wt(Rt({},Le),{value:Ae}))},Gt=(be,on)=>{isNaN(be)||yt(on,Ae=>Wt(Rt({},Ae),{value:be}))},Ce=be=>{if(be==null||Number.isInteger(be))return be;const on=be%1;return on===.5?be:Math.floor(be)+(on<.5?.5:1)};return et.createElement(et.Fragment,null,et.createElement(re.default,{title:"\u8D44\u6E90\u914D\u7F6E",open:le,width:752,destroyOnClose:!0,centered:!0,onCancel:Fe,className:Nt.modal,footer:[et.createElement("div",{className:Nt.btn_warp,key:"1"},et.createElement(fe.ZP,{onClick:Fe},"\u53D6\u6D88"),et.createElement(fe.ZP,{type:"primary",onClick:()=>{let be=Rt({},De);if($t=="1")be.cpu=Pe[0].value,be.memory=Pe[1].value;else if($t=="2"){if(!xn){pe.ZP.error("\u8BF7\u9009\u62E9\u4E00\u6761\u573A\u666F\u5BF9\u5E94\u7684CPU\u4E0E\u5185\u5B58");return}be=Wt(Rt({},be),{cpu:xn.cpu,memory:xn.memory})}ae(be)}},"\u4FDD\u5B58"))]},et.createElement(ne.default,{activeKey:$t,onChange:wt},et.createElement(ne.default.TabPane,{tab:"\u81EA\u5B9A\u4E49\u914D\u7F6E",key:1},et.createElement(Ht.Z,{spinning:de},Pe==null?void 0:Pe.map(be=>et.createElement("div",{className:Nt.con_warp,key:be==null?void 0:be.name},et.createElement("div",null,be==null?void 0:be.name),et.createElement("div",null,et.createElement(oe.Z,{min:be==null?void 0:be.min,max:be==null?void 0:be.max,onChange:on=>kt(on,be==null?void 0:be.name),value:be==null?void 0:be.value,step:.5,style:{width:482,height:6,margin:"0 20px 0 12px"}})),et.createElement("div",{className:`${Nt.config_Warp} ${Nt.flex}`},et.createElement("div",{className:`${Nt.config_btn} ${Nt.flex}`,onClick:()=>jt(be)},et.createElement(Je.Z,null)),et.createElement(Oe.Z,{min:be==null?void 0:be.min,max:be==null?void 0:be.max,size:"large",step:"0.1",controls:!1,style:{width:50},value:be==null?void 0:be.value,onChange:on=>{const Ae=Ce(on);Gt(Ae,be==null?void 0:be.name)}}),et.createElement("div",{className:`${Nt.config_btn} ${Nt.flex}`,onClick:()=>Mt(be)},et.createElement(ie.Z,null))),et.createElement("div",null,be==null?void 0:be.typeName))))),(Ve==null?void 0:Ve.length)>0&&et.createElement(ne.default.TabPane,{tab:"\u6309\u573A\u666F\u9009\u62E9",key:2},et.createElement("div",{className:Nt.sceneList},Ve==null?void 0:Ve.map((be,on)=>et.createElement("div",{className:`${Nt.sceneItem} ${$e==on&&Nt.sceneItemActive}`,key:be==null?void 0:be.id,onClick:()=>{He(on)}},be==null?void 0:be.name))),((Sn=(Ee=Ve==null?void 0:Ve[$e])==null?void 0:Ee.content)==null?void 0:Sn.length)>0?et.createElement(ge.default,{rowSelection:{type:"radio",selectedRowKeys:[xn==null?void 0:xn.index],onChange:(be,on)=>{we(on[0])}},columns:[{title:"CPU",dataIndex:"cpu",align:"center",render:(be,on)=>et.createElement("div",null,be,"\u6838")},{title:"\u5185\u5B58",dataIndex:"memory",align:"center",render:(be,on)=>et.createElement("div",null,be,"GB")}],dataSource:(rn=Ve==null?void 0:Ve[$e])==null?void 0:rn.content.map((be,on)=>Wt(Rt({},be),{index:on})),rowKey:"index",pagination:!1,scroll:((sn=(Ge=Ve==null?void 0:Ve[$e])==null?void 0:Ge.content)==null?void 0:sn.length)>3?{y:148}:{}}):et.createElement(Bt.Z,null)))))}},58473:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return gt}});var Lt=Et(59301),re=Et(25690),fe=Et(37568),pe=Et(28284),ne=Et(62957),Ht=Et(6767),oe=Et(14566),Oe=Et(99571),ge=Et(346),Nt=Et(55351),Je={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},ie=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,et=(mt,St)=>{var Pt={};for(var Rt in mt)nn.call(mt,Rt)&&St.indexOf(Rt)<0&&(Pt[Rt]=mt[Rt]);if(mt!=null&&ie)for(var Rt of ie(mt))St.indexOf(Rt)<0&&Bt.call(mt,Rt)&&(Pt[Rt]=mt[Rt]);return Pt},nt=(mt,St,Pt)=>new Promise((Rt,Wt)=>{var te=le=>{try{Vt(Pt.next(le))}catch(ae){Wt(ae)}},Jt=le=>{try{Vt(Pt.throw(le))}catch(ae){Wt(ae)}},Vt=le=>le.done?Rt(le.value):Promise.resolve(le.value).then(te,Jt);Vt((Pt=Pt.apply(mt,St)).next())});const ct=fe.default.TextArea,lt=mt=>{var St=mt,{newShixuns:Pt,globalSetting:Rt,loading:Wt,dispatch:te}=St,Jt=et(St,["newShixuns","globalSetting","loading","dispatch"]);const[Vt]=pe.default.useForm(),[le,ae]=(0,Lt.useState)([]),Fe=Ge=>{["uploading","done","removed"].includes(Ge.file.status)&&ae(Ge.fileList)},De=Ge=>{var sn;if(!Ge.percent||Ge.percent==100){const $t=(sn=Ge.response)==null?void 0:sn.id;return ne.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>nt(void 0,null,function*(){(yield te({type:"newShixuns/deleteAttachment",payload:{id:$t}}))&&ae(le.filter(Pe=>{var an;return((an=Pe.response)==null?void 0:an.id)!==$t}))})}),!1}},Ee=Ge=>le.length?!1:Ge.size/1024/1024>50?(Ht.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,Sn=Ge=>nt(void 0,null,function*(){var sn,$t;const{language:It,env:Pe,mode:an,code:Ve}=Ge||{},Se=yield te({type:"newShixuns/applyShixunMirror",payload:{language:It,runtime:Pe,run_method:an,attachment_id:($t=(sn=le==null?void 0:le[0])==null?void 0:sn.response)==null?void 0:$t.id}});te({type:"newShixuns/setActionTabs",payload:{}}),Se&&Ht.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),rn=()=>{Vt.resetFields(),ae([])};return Lt.createElement(ne.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Pt.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:rn},Lt.createElement("section",{className:Je.qrCode},Lt.createElement("aside",{className:Je.a1},Lt.createElement("div",{className:Je.code},Lt.createElement("img",{width:120,height:120,src:Nt,alt:"\u4E8C\u7EF4\u7801"})),Lt.createElement("div",{className:Je.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),Lt.createElement("div",{className:Je.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),Lt.createElement("aside",{className:Je.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",Lt.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),Lt.createElement(pe.default,{className:Je.formWrap,form:Vt,labelCol:{span:4},wrapperCol:{span:20},onFinish:Sn},Lt.createElement(pe.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},Lt.createElement(ct,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),Lt.createElement(pe.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},Lt.createElement(ct,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),Lt.createElement(pe.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},Lt.createElement(ct,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),Lt.createElement(pe.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},Lt.createElement("div",{className:Je.upload},Lt.createElement(oe.default,{fileList:le,action:`${ge.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:Fe,onRemove:De,beforeUpload:Ee,withCredentials:!0},Lt.createElement("span",{className:`${Je.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),Lt.createElement("span",{className:`${Je.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),Lt.createElement("div",{className:Je.footerWrap},Lt.createElement(pe.default.Item,null,Lt.createElement(Oe.ZP,{className:"mr5",size:"middle",onClick:()=>{te({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),Lt.createElement(Oe.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Wt["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var gt=(0,re.connect)(({newShixuns:mt,loading:St,globalSetting:Pt})=>({newShixuns:mt,globalSetting:Pt,loading:St.effects}))(lt)},70495:function(bn,$n,Et){"use strict";var Lt=Et(59301),re=Et(25690),fe=Et(62957),pe=Et(55351);const ne=({newShixuns:Ht,dispatch:oe,user:Oe})=>{var ge;const[Nt,Je]=(0,Lt.useState)(!1);(0,Lt.useEffect)(()=>{Ht.actionTabs.key==="Create-Environment"&&nn()},[(ge=Ht==null?void 0:Ht.actionTabs)==null?void 0:ge.key]);const ie=()=>{oe({type:"newShixuns/setActionTabs",payload:{}})},nn=()=>{var Bt,et,nt,ct;ie(),((Bt=Oe.userInfo)==null?void 0:Bt.mirror_marker_status)===0?Je(!0):((et=Oe.userInfo)==null?void 0:et.mirror_marker_status)===1?re.history.push(`/users/${(nt=Oe.userInfo)==null?void 0:nt.login}/experiment-img/add`):((ct=Oe.userInfo)==null?void 0:ct.mirror_marker_status)===2&&fe.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var lt;re.history.push(`/users/${(lt=Oe.userInfo)==null?void 0:lt.login}/experiment-img`)}})};return Lt.createElement(fe.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:Nt,footer:null,onCancel:()=>{Je(!1)}},Lt.createElement("div",{style:{textAlign:"center"}},Lt.createElement("br",null),Lt.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:pe,alt:"\u4E8C\u7EF4\u7801"})),Lt.createElement("img",null))};$n.Z=(0,re.connect)(({newShixuns:Ht,user:oe,globalSetting:Oe})=>({newShixuns:Ht,globalSetting:Oe,user:oe}))(ne)},84989:function(bn,$n,Et){"use strict";Et.d($n,{BU:function(){return re},Dj:function(){return Lt},gH:function(){return fe},vp:function(){return pe}});function Lt(ne){try{ne.mozRequestFullScreen?ne.mozRequestFullScreen():ne.webkitRequestFullScreen&&ne.webkitRequestFullScreen()}catch(Ht){console.log(Ht,":e")}}function re(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const fe=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function pe(){var ne=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,Ht=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",ne),window.isFullScreen?window.isFullScreen:ne!=null}},81428:function(bn,$n,Et){"use strict";Et.d($n,{AL:function(){return St},Iy:function(){return Je},Qv:function(){return Bt},ez:function(){return mt},jb:function(){return ie}});var Lt=Et(32834),re=Et.n(Lt),fe=Et(11690),pe=Et.n(fe);let ne=1;function Ht(Jt,Vt){const le=Jt.match(/^(\s+)(?:```)/);if(le===null)return Vt;const ae=le[1];return Vt.split(` `).map(Fe=>{const De=Fe.match(/^\s+/);if(De===null)return Fe;const[Ee]=De;return Ee.length>=ae.length?Fe.slice(ae.length):Fe}).join(` `)}let oe=[],Oe=["
    "];const ge=new(re()).Renderer,Nt=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Je(){oe.length=0,Oe=["
      "]}const ie={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function nn(Jt,Vt,le,ae){if(Vt>=Jt.length||Jt[Vt].level<=le)return Vt;var Fe=Jt[Vt];ae.push("
    • "+Fe.text+""),Vt++;var De=[];return Vt=nn(Jt,Vt,Fe.level,De),De.length>0&&(ae.push("
        "),De.forEach(function(Ee){ae.push(Ee)}),ae.push("
      ")),ae.push("
    • "),Vt=nn(Jt,Vt,le,ae),Vt}function Bt(){return nn(oe,0,0,Oe),Oe.push("
    "),Oe.join("")}const et={heading(Jt){const Vt=Nt.exec(Jt);if(ne+=1,Vt)return{type:"heading",raw:Vt[0],depth:Vt[1].length,text:Vt[2]}},fences(Jt){const Vt=this.rules.block.fences.exec(Jt);if(Vt){const le=Vt[0];let ae=Ht(le,Vt[3]||"");const Fe=Vt[2]?Vt[2].trim():Vt[2];if(["latex","katex","math"].indexOf(Fe)>=0){const De=lt(),Ee=ae;ae=De,gt[De]={type:"block",expression:Ee}}return{type:"code",raw:le,lang:Fe,text:ae}}}},nt=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ct=0;const lt=()=>`__special_katext_id_${ct++}__`;let gt={};function mt(){return gt}function St(){ct=0,gt={}}function Pt(Jt){return Jt=Jt.replace(nt,(Vt,le)=>{const ae=lt();return gt[ae]={type:"inline",expression:le},ae}),Jt}const Rt=ge.listitem;ge.listitem=function(Jt){return Rt(Pt(Jt))};const Wt=ge.paragraph;ge.paragraph=function(Jt){return Wt(Pt(Jt))};const te=ge.tablecell;ge.tablecell=function(Jt,Vt){return te(Pt(Jt),Vt)},ge.code=function(Jt,Vt,le){const ae=(Vt||"").match(/\S*/)[0];return ae?["latex","katex","math"].indexOf(ae)>=0?`

    ${Jt}

    `:`
    ${le?Jt:(0,fe.escape)(Jt,!0)}
    `:'
    '+(le?Jt:(0,fe.escape)(Jt,!0))+"
    "},ge.heading=function(Jt,Vt,le){let ae=this.options.headerPrefix+le.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return oe.push({anchor:ae,level:Vt,text:Jt}),"'+Jt+""},re().setOptions({silent:!0,gfm:!0,pedantic:!1}),re().use({tokenizer:et,renderer:ge}),$n.ZP=re()},40197:function(bn,$n,Et){"use strict";Et.d($n,{rX:function(){return Pt},pW:function(){return Rt},gy:function(){return Wt},xY:function(){return St},O5:function(){return mt},hs:function(){return nt},tJ:function(){return Bt},o1:function(){return et},Rd:function(){return gt}});var Lt=Et(25690),re=Et(62957),fe=Et(37285),pe=Et(6767),ne=Et(48790),Ht=Et(51257),oe=Et(87169),Oe=Et(25510),ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3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whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",Nt=Et.p+"static/newqrcode.a8740efb.png",Je=Et(32637),ie=Et(59301),nn=(te,Jt,Vt)=>new Promise((le,ae)=>{var Fe=Sn=>{try{Ee(Vt.next(Sn))}catch(rn){ae(rn)}},De=Sn=>{try{Ee(Vt.throw(Sn))}catch(rn){ae(rn)}},Ee=Sn=>Sn.done?le(Sn.value):Promise.resolve(Sn.value).then(Fe,De);Ee((Vt=Vt.apply(te,Jt)).next())});const Bt=(te,Jt=!1,Vt=!1,le="",ae=!1)=>!!(et(te)&&ct(te,Jt,Vt,le,ae)),et=te=>(0,ne.bg)()?!0:(te({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),nt=te=>{var Jt,Vt,le;const{user:ae}=(0,Lt.getDvaApp)()._store.getState();(0,ne.bg)()&&!((Vt=(Jt=ae==null?void 0:ae.userInfo)==null?void 0:Jt.course)!=null&&Vt.course_public)&&!((le=ae==null?void 0:ae.userInfo)!=null&&le.profile_completed)&&te({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ct=(te,Jt=!1,Vt=!0,le="",ae=!1)=>{var Fe;const{user:De}=(0,Lt.getDvaApp)()._store.getState();return(Fe=De.userInfo)!=null&&Fe.profile_completed?!0:(Vt?te({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:le,isCurrentPage:ae}}):re.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ht.xg)("/account/profile/edit"),lt()}}),!1)},lt=()=>{re.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},gt=()=>{re.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:ie.createElement("div",{style:{textAlign:"center"}},ie.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),ie.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:Je}),ie.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},mt=()=>{var te;const{user:Jt}=(0,Lt.getDvaApp)()._store.getState();return(te=Jt.userInfo)!=null&&te.professional_certification?!0:(re.default.confirm({title:"\u63D0\u793A",centered:!0,content:ie.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Ht.xg)("/account/certification")}}),!1)},St=()=>(0,ne.V9)()?!0:(re.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:ie.createElement("div",{className:"tc",style:{marginLeft:-38}},ie.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),ie.createElement("img",{src:Nt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Pt=(te,Jt)=>te?!0:(re.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:ie.createElement("div",null,ie.createElement("p",null,Jt||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),ie.createElement("div",{style:{marginLeft:"110px"}},ie.createElement("img",{src:ge,width:200}),ie.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Ht.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Rt=te=>{re.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:ie.createElement("div",null,ie.createElement("div",null,ie.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),ie.createElement(fe.Z,null),ie.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ie.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",ie.createElement("a",null,te),"\u5929\u3002"),ie.createElement("p",{style:{color:"#666666",fontSize:12}}," ",ie.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),ie.createElement("div",{style:{textAlign:"center",marginTop:30}},ie.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Oe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Wt=(te,Jt="")=>{const{shixunsDetail:{detail:Vt}}=(0,Lt.getDvaApp)()._store.getState();if((Vt==null?void 0:Vt.public)===2||(Vt==null?void 0:Vt.public)===1||(Vt==null?void 0:Vt.shixun_status)===3){let le="";return(Vt==null?void 0:Vt.public)===2&&(le="\u5DF2\u516C\u5F00"),(Vt==null?void 0:Vt.public)===1&&(le="\u5F85\u5BA1\u6838"),(Vt==null?void 0:Vt.shixun_status)===3&&(le="\u5DF2\u5173\u95ED"),re.default.info({centered:!0,icon:ie.createElement(oe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:ie.createElement("div",{className:"tc",style:{marginLeft:-38}},ie.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},ie.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",le,"\uFF0C",Jt,"\u3002"),ie.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),ie.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Oe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Vt==null?void 0:Vt.shixun_status)===2?(re.default.confirm({centered:!0,icon:ie.createElement(oe.Z,null),title:"\u63D0\u793A",content:ie.createElement("div",null,ie.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Jt,"\u3002"),ie.createElement("br",null),ie.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{re.default.confirm({width:440,centered:!0,icon:ie.createElement(oe.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>nn(void 0,null,function*(){(yield te({type:"shixunsDetail/cancelRelease",payload:{id:Vt==null?void 0:Vt.identifier}})).status!==401&&(pe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),te({type:"shixunsDetail/getShixunsDetail",payload:{id:Vt==null?void 0:Vt.identifier}}),te({type:"practiceSetting/getCommonData",payload:{id:Vt==null?void 0:Vt.identifier}}))})})}}),!0):!1}},88390:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return $t}});var Lt=Et(59301),re=Et(92310),fe=Et.n(re),pe=Et(77900),ne=Et(29509),Ht=Et(22703),oe=Et(48755),Oe=Et(36237),ge=Et(63356),Nt=Et(93427),Je=Et(51636),ie=Et(16931);const nn=new Oe.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),Bt=new Oe.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),et=new Oe.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),nt=new Oe.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),ct=new Oe.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),lt=new Oe.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),gt=It=>{const{componentCls:Pe,iconCls:an,antCls:Ve,badgeShadowSize:Se,textFontSize:$e,textFontSizeSM:He,statusSize:xn,dotSize:we,textFontWeight:de,indicatorHeight:ke,indicatorHeightSM:ze,marginXS:fn,calc:Dt}=It,wt=`${Ve}-scroll-number`,yt=(0,Nt.Z)(It,(kt,jt)=>{let{darkColor:Mt}=jt;return{[`&${Pe} ${Pe}-color-${kt}`]:{background:Mt,[`&:not(${Pe}-count)`]:{color:Mt},"a:hover &":{background:Mt}}}});return{[Pe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(It)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${Pe}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:It.indicatorZIndex,minWidth:ke,height:ke,color:It.badgeTextColor,fontWeight:de,fontSize:$e,lineHeight:(0,Oe.unit)(ke),whiteSpace:"nowrap",textAlign:"center",background:It.badgeColor,borderRadius:Dt(ke).div(2).equal(),boxShadow:`0 0 0 ${(0,Oe.unit)(Se)} ${It.badgeShadowColor}`,transition:`background ${It.motionDurationMid}`,a:{color:It.badgeTextColor},"a:hover":{color:It.badgeTextColor},"a:hover &":{background:It.badgeColorHover}},[`${Pe}-count-sm`]:{minWidth:ze,height:ze,fontSize:He,lineHeight:(0,Oe.unit)(ze),borderRadius:Dt(ze).div(2).equal()},[`${Pe}-multiple-words`]:{padding:`0 ${(0,Oe.unit)(It.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${Pe}-dot`]:{zIndex:It.indicatorZIndex,width:we,minWidth:we,height:we,background:It.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,Oe.unit)(Se)} ${It.badgeShadowColor}`},[`${Pe}-count, ${Pe}-dot, ${wt}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${an}-spin`]:{animationName:lt,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${Pe}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${Pe}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:xn,height:xn,verticalAlign:"middle",borderRadius:"50%"},[`${Pe}-status-success`]:{backgroundColor:It.colorSuccess},[`${Pe}-status-processing`]:{overflow:"visible",color:It.colorInfo,backgroundColor:It.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:Se,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:nn,animationDuration:It.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${Pe}-status-default`]:{backgroundColor:It.colorTextPlaceholder},[`${Pe}-status-error`]:{backgroundColor:It.colorError},[`${Pe}-status-warning`]:{backgroundColor:It.colorWarning},[`${Pe}-status-text`]:{marginInlineStart:fn,color:It.colorText,fontSize:It.fontSize}}}),yt),{[`${Pe}-zoom-appear, ${Pe}-zoom-enter`]:{animationName:Bt,animationDuration:It.motionDurationSlow,animationTimingFunction:It.motionEaseOutBack,animationFillMode:"both"},[`${Pe}-zoom-leave`]:{animationName:et,animationDuration:It.motionDurationSlow,animationTimingFunction:It.motionEaseOutBack,animationFillMode:"both"},[`&${Pe}-not-a-wrapper`]:{[`${Pe}-zoom-appear, ${Pe}-zoom-enter`]:{animationName:nt,animationDuration:It.motionDurationSlow,animationTimingFunction:It.motionEaseOutBack},[`${Pe}-zoom-leave`]:{animationName:ct,animationDuration:It.motionDurationSlow,animationTimingFunction:It.motionEaseOutBack},[`&:not(${Pe}-status)`]:{verticalAlign:"middle"},[`${wt}-custom-component, ${Pe}-count`]:{transform:"none"},[`${wt}-custom-component, ${wt}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[wt]:{overflow:"hidden",transition:`all ${It.motionDurationMid} ${It.motionEaseOutBack}`,[`${wt}-only`]:{position:"relative",display:"inline-block",height:ke,transition:`all ${It.motionDurationSlow} ${It.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${wt}-only-unit`]:{height:ke,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${wt}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${Pe}-count, ${Pe}-dot, ${wt}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},mt=It=>{const{fontHeight:Pe,lineWidth:an,marginXS:Ve,colorBorderBg:Se}=It,$e=Pe,He=an,xn=It.colorTextLightSolid,we=It.colorError,de=It.colorErrorHover;return(0,Je.mergeToken)(It,{badgeFontHeight:$e,badgeShadowSize:He,badgeTextColor:xn,badgeColor:we,badgeColorHover:de,badgeShadowColor:Se,badgeProcessingDuration:"1.2s",badgeRibbonOffset:Ve,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},St=It=>{const{fontSize:Pe,lineHeight:an,fontSizeSM:Ve,lineWidth:Se}=It;return{indicatorZIndex:"auto",indicatorHeight:Math.round(Pe*an)-2*Se,indicatorHeightSM:Pe,dotSize:Ve/2,textFontSize:Ve,textFontSizeSM:Ve,textFontWeight:"normal",statusSize:Ve/2}};var Pt=(0,ie.I$)("Badge",It=>{const Pe=mt(It);return gt(Pe)},St);const Rt=It=>{const{antCls:Pe,badgeFontHeight:an,marginXS:Ve,badgeRibbonOffset:Se,calc:$e}=It,He=`${Pe}-ribbon`,xn=`${Pe}-ribbon-wrapper`,we=(0,Nt.Z)(It,(de,ke)=>{let{darkColor:ze}=ke;return{[`&${He}-color-${de}`]:{background:ze,color:ze}}});return{[xn]:{position:"relative"},[He]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(It)),{position:"absolute",top:Ve,padding:`0 ${(0,Oe.unit)(It.paddingXS)}`,color:It.colorPrimary,lineHeight:(0,Oe.unit)(an),whiteSpace:"nowrap",backgroundColor:It.colorPrimary,borderRadius:It.borderRadiusSM,[`${He}-text`]:{color:It.badgeTextColor},[`${He}-corner`]:{position:"absolute",top:"100%",width:Se,height:Se,color:"currentcolor",border:`${(0,Oe.unit)($e(Se).div(2).equal())} solid`,transform:It.badgeRibbonCornerTransform,transformOrigin:"top",filter:It.badgeRibbonCornerFilter}}),we),{[`&${He}-placement-end`]:{insetInlineEnd:$e(Se).mul(-1).equal(),borderEndEndRadius:0,[`${He}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${He}-placement-start`]:{insetInlineStart:$e(Se).mul(-1).equal(),borderEndStartRadius:0,[`${He}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var Wt=(0,ie.I$)(["Badge","Ribbon"],It=>{const Pe=mt(It);return Rt(Pe)},St),Jt=It=>{const{className:Pe,prefixCls:an,style:Ve,color:Se,children:$e,text:He,placement:xn="end",rootClassName:we}=It,{getPrefixCls:de,direction:ke}=Lt.useContext(oe.E_),ze=de("ribbon",an),fn=`${ze}-wrapper`,[Dt,wt,yt]=Wt(ze,fn),kt=(0,ne.o2)(Se,!1),jt=fe()(ze,`${ze}-placement-${xn}`,{[`${ze}-rtl`]:ke==="rtl",[`${ze}-color-${Se}`]:kt},Pe),Mt={},Gt={};return Se&&!kt&&(Mt.background=Se,Gt.color=Se),Dt(Lt.createElement("div",{className:fe()(fn,we,wt,yt)},$e,Lt.createElement("div",{className:fe()(jt,wt),style:Object.assign(Object.assign({},Mt),Ve)},Lt.createElement("span",{className:`${ze}-text`},He),Lt.createElement("div",{className:`${ze}-corner`,style:Gt}))))};const Vt=It=>{const{prefixCls:Pe,value:an,current:Ve,offset:Se=0}=It;let $e;return Se&&($e={position:"absolute",top:`${Se}00%`,left:0}),Lt.createElement("span",{style:$e,className:fe()(`${Pe}-only-unit`,{current:Ve})},an)};function le(It,Pe,an){let Ve=It,Se=0;for(;(Ve+10)%10!==Pe;)Ve+=an,Se+=an;return Se}var Fe=It=>{const{prefixCls:Pe,count:an,value:Ve}=It,Se=Number(Ve),$e=Math.abs(an),[He,xn]=Lt.useState(Se),[we,de]=Lt.useState($e),ke=()=>{xn(Se),de($e)};Lt.useEffect(()=>{const Dt=setTimeout(ke,1e3);return()=>clearTimeout(Dt)},[Se]);let ze,fn;if(He===Se||Number.isNaN(Se)||Number.isNaN(He))ze=[Lt.createElement(Vt,Object.assign({},It,{key:Se,current:!0}))],fn={transition:"none"};else{ze=[];const Dt=Se+10,wt=[];for(let Mt=Se;Mt<=Dt;Mt+=1)wt.push(Mt);const yt=we<$e?1:-1,kt=wt.findIndex(Mt=>Mt%10===He);ze=(yt<0?wt.slice(0,kt+1):wt.slice(kt)).map((Mt,Gt)=>{const Ce=Mt%10;return Lt.createElement(Vt,Object.assign({},It,{key:Mt,value:Ce,offset:yt<0?Gt-kt:Gt,current:Gt===kt}))}),fn={transform:`translateY(${-le(He,Se,yt)}00%)`}}return Lt.createElement("span",{className:`${Pe}-only`,style:fn,onTransitionEnd:ke},ze)},De=function(It,Pe){var an={};for(var Ve in It)Object.prototype.hasOwnProperty.call(It,Ve)&&Pe.indexOf(Ve)<0&&(an[Ve]=It[Ve]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ve=Object.getOwnPropertySymbols(It);Se{const{prefixCls:an,count:Ve,className:Se,motionClassName:$e,style:He,title:xn,show:we,component:de="sup",children:ke}=It,ze=De(It,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:fn}=Lt.useContext(oe.E_),Dt=fn("scroll-number",an),wt=Object.assign(Object.assign({},ze),{"data-show":we,style:He,className:fe()(Dt,Se,$e),title:xn});let yt=Ve;if(Ve&&Number(Ve)%1===0){const kt=String(Ve).split("");yt=Lt.createElement("bdi",null,kt.map((jt,Mt)=>Lt.createElement(Fe,{prefixCls:Dt,count:Number(Ve),value:jt,key:kt.length-Mt})))}return He!=null&&He.borderColor&&(wt.style=Object.assign(Object.assign({},He),{boxShadow:`0 0 0 1px ${He.borderColor} inset`})),ke?(0,Ht.Tm)(ke,kt=>({className:fe()(`${Dt}-custom-component`,kt==null?void 0:kt.className,$e)})):Lt.createElement(de,Object.assign({},wt,{ref:Pe}),yt)}),rn=function(It,Pe){var an={};for(var Ve in It)Object.prototype.hasOwnProperty.call(It,Ve)&&Pe.indexOf(Ve)<0&&(an[Ve]=It[Ve]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ve=Object.getOwnPropertySymbols(It);Se{var an,Ve,Se,$e,He;const{prefixCls:xn,scrollNumberPrefixCls:we,children:de,status:ke,text:ze,color:fn,count:Dt=null,overflowCount:wt=99,dot:yt=!1,size:kt="default",title:jt,offset:Mt,style:Gt,className:Ce,rootClassName:be,classNames:on,styles:Ae,showZero:Le=!1}=It,_e=rn(It,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:un,direction:Pn,badge:gn}=Lt.useContext(oe.E_),en=un("badge",xn),[Zn,Hn,mn]=Pt(en),zn=Dt>wt?`${wt}+`:Dt,Ri=zn==="0"||zn===0,vi=Dt===null||Ri&&!Le,ji=(ke!=null||fn!=null)&&vi,er=yt&&!Ri,Ke=er?"":zn,Ue=(0,Lt.useMemo)(()=>(Ke==null||Ke===""||Ri&&!Le)&&!er,[Ke,Ri,Le,er]),ii=(0,Lt.useRef)(Dt);Ue||(ii.current=Dt);const Ai=ii.current,Fi=(0,Lt.useRef)(Ke);Ue||(Fi.current=Ke);const Mi=Fi.current,sr=(0,Lt.useRef)(er);Ue||(sr.current=er);const nr=(0,Lt.useMemo)(()=>{if(!Mt)return Object.assign(Object.assign({},gn==null?void 0:gn.style),Gt);const Bn={marginTop:Mt[1]};return Pn==="rtl"?Bn.left=parseInt(Mt[0],10):Bn.right=-parseInt(Mt[0],10),Object.assign(Object.assign(Object.assign({},Bn),gn==null?void 0:gn.style),Gt)},[Pn,Mt,Gt,gn==null?void 0:gn.style]),fr=jt!=null?jt:typeof Ai=="string"||typeof Ai=="number"?Ai:void 0,_n=Ue||!ze?null:Lt.createElement("span",{className:`${en}-status-text`},ze),qi=!Ai||typeof Ai!="object"?void 0:(0,Ht.Tm)(Ai,Bn=>({style:Object.assign(Object.assign({},nr),Bn.style)})),Ct=(0,ne.o2)(fn,!1),Bi=fe()(on==null?void 0:on.indicator,(an=gn==null?void 0:gn.classNames)===null||an===void 0?void 0:an.indicator,{[`${en}-status-dot`]:ji,[`${en}-status-${ke}`]:!!ke,[`${en}-color-${fn}`]:Ct}),oi={};fn&&!Ct&&(oi.color=fn,oi.background=fn);const Wn=fe()(en,{[`${en}-status`]:ji,[`${en}-not-a-wrapper`]:!de,[`${en}-rtl`]:Pn==="rtl"},Ce,be,gn==null?void 0:gn.className,(Ve=gn==null?void 0:gn.classNames)===null||Ve===void 0?void 0:Ve.root,on==null?void 0:on.root,Hn,mn);if(!de&&ji){const Bn=nr.color;return Zn(Lt.createElement("span",Object.assign({},_e,{className:Wn,style:Object.assign(Object.assign(Object.assign({},Ae==null?void 0:Ae.root),(Se=gn==null?void 0:gn.styles)===null||Se===void 0?void 0:Se.root),nr)}),Lt.createElement("span",{className:Bi,style:Object.assign(Object.assign(Object.assign({},Ae==null?void 0:Ae.indicator),($e=gn==null?void 0:gn.styles)===null||$e===void 0?void 0:$e.indicator),oi)}),ze&&Lt.createElement("span",{style:{color:Bn},className:`${en}-status-text`},ze)))}return Zn(Lt.createElement("span",Object.assign({ref:Pe},_e,{className:Wn,style:Object.assign(Object.assign({},(He=gn==null?void 0:gn.styles)===null||He===void 0?void 0:He.root),Ae==null?void 0:Ae.root)}),de,Lt.createElement(pe.default,{visible:!Ue,motionName:`${en}-zoom`,motionAppear:!1,motionDeadline:1e3},Bn=>{let{className:En}=Bn;var vn,ui;const Te=un("scroll-number",we),Ze=sr.current,Ne=fe()(on==null?void 0:on.indicator,(vn=gn==null?void 0:gn.classNames)===null||vn===void 0?void 0:vn.indicator,{[`${en}-dot`]:Ze,[`${en}-count`]:!Ze,[`${en}-count-sm`]:kt==="small",[`${en}-multiple-words`]:!Ze&&Mi&&Mi.toString().length>1,[`${en}-status-${ke}`]:!!ke,[`${en}-color-${fn}`]:Ct});let ln=Object.assign(Object.assign(Object.assign({},Ae==null?void 0:Ae.indicator),(ui=gn==null?void 0:gn.styles)===null||ui===void 0?void 0:ui.indicator),nr);return fn&&!Ct&&(ln=ln||{},ln.background=fn),Lt.createElement(Sn,{prefixCls:Te,show:!Ue,motionClassName:En,className:Ne,count:Mi,title:fr,style:ln,key:"scrollNumber"},qi)}),_n))});sn.Ribbon=Jt;var $t=sn},42440:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return er}});var Lt=Et(59301),re=Et(92310),fe=Et.n(re),pe=Et(98506),ne=Et(52873),Ht=Et(15142),oe=Et(26420),Oe=Et(16886),ge=Et(6089),Nt=Et(18929),Je=Et(13697),ie=Et(48736),nn=Et(67711),Bt=Et(33346),et=Et(4676);function nt(Ke,Ue,ii){return(Ke-Ue)/(ii-Ue)}function ct(Ke,Ue,ii,Ai){var Fi=nt(Ue,ii,Ai),Mi={};switch(Ke){case"rtl":Mi.right="".concat(Fi*100,"%"),Mi.transform="translateX(50%)";break;case"btt":Mi.bottom="".concat(Fi*100,"%"),Mi.transform="translateY(50%)";break;case"ttb":Mi.top="".concat(Fi*100,"%"),Mi.transform="translateY(-50%)";break;default:Mi.left="".concat(Fi*100,"%"),Mi.transform="translateX(-50%)";break}return Mi}function lt(Ke,Ue){return Array.isArray(Ke)?Ke[Ue]:Ke}var gt=Et(10228),mt=Lt.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),St=mt,Pt=Lt.createContext({}),Rt=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],Wt=Lt.forwardRef(function(Ke,Ue){var ii=Ke.prefixCls,Ai=Ke.value,Fi=Ke.valueIndex,Mi=Ke.onStartMove,sr=Ke.onDelete,nr=Ke.style,fr=Ke.render,_n=Ke.dragging,qi=Ke.draggingDelete,Ct=Ke.onOffsetChange,Bi=Ke.onChangeComplete,oi=Ke.onFocus,Wn=Ke.onMouseEnter,Bn=(0,Bt.Z)(Ke,Rt),En=Lt.useContext(St),vn=En.min,ui=En.max,Te=En.direction,Ze=En.disabled,Ne=En.keyboard,ln=En.range,Oi=En.tabIndex,Ni=En.ariaLabelForHandle,$i=En.ariaLabelledByForHandle,Ye=En.ariaRequired,cn=En.ariaValueTextFormatterForHandle,Pi=En.styles,dr=En.classNames,Yn="".concat(ii,"-handle"),Qt=function(Jn){Ze||Mi(Jn,Fi)},Me=function(Jn){oi==null||oi(Jn,Fi)},Gn=function(Jn){Wn(Jn,Fi)},qn=function(Jn){if(!Ze&&Ne){var hi=null;switch(Jn.which||Jn.keyCode){case gt.Z.LEFT:hi=Te==="ltr"||Te==="btt"?-1:1;break;case gt.Z.RIGHT:hi=Te==="ltr"||Te==="btt"?1:-1;break;case gt.Z.UP:hi=Te!=="ttb"?1:-1;break;case gt.Z.DOWN:hi=Te!=="ttb"?-1:1;break;case gt.Z.HOME:hi="min";break;case gt.Z.END:hi="max";break;case gt.Z.PAGE_UP:hi=2;break;case gt.Z.PAGE_DOWN:hi=-2;break;case gt.Z.BACKSPACE:case gt.Z.DELETE:sr(Fi);break}hi!==null&&(Jn.preventDefault(),Ct(hi,Fi))}},Xe=function(Jn){switch(Jn.which||Jn.keyCode){case gt.Z.LEFT:case gt.Z.RIGHT:case gt.Z.UP:case gt.Z.DOWN:case gt.Z.HOME:case gt.Z.END:case gt.Z.PAGE_UP:case gt.Z.PAGE_DOWN:Bi==null||Bi();break}},ri=ct(Te,Ai,vn,ui),Zi={};if(Fi!==null){var Gi;Zi={tabIndex:Ze?null:lt(Oi,Fi),role:"slider","aria-valuemin":vn,"aria-valuemax":ui,"aria-valuenow":Ai,"aria-disabled":Ze,"aria-label":lt(Ni,Fi),"aria-labelledby":lt($i,Fi),"aria-required":lt(Ye,Fi),"aria-valuetext":(Gi=lt(cn,Fi))===null||Gi===void 0?void 0:Gi(Ai),"aria-orientation":Te==="ltr"||Te==="rtl"?"horizontal":"vertical",onMouseDown:Qt,onTouchStart:Qt,onFocus:Me,onMouseEnter:Gn,onKeyDown:qn,onKeyUp:Xe}}var ir=Lt.createElement("div",(0,nn.Z)({ref:Ue,className:fe()(Yn,(0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Yn,"-").concat(Fi+1),Fi!==null&&ln),"".concat(Yn,"-dragging"),_n),"".concat(Yn,"-dragging-delete"),qi),dr.handle),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},ri),nr),Pi.handle)},Zi,Bn));return fr&&(ir=fr(ir,{index:Fi,prefixCls:ii,value:Ai,dragging:_n,draggingDelete:qi})),ir}),te=Wt,Jt=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],Vt=Lt.forwardRef(function(Ke,Ue){var ii=Ke.prefixCls,Ai=Ke.style,Fi=Ke.onStartMove,Mi=Ke.onOffsetChange,sr=Ke.values,nr=Ke.handleRender,fr=Ke.activeHandleRender,_n=Ke.draggingIndex,qi=Ke.draggingDelete,Ct=Ke.onFocus,Bi=(0,Bt.Z)(Ke,Jt),oi=Lt.useRef({}),Wn=Lt.useState(!1),Bn=(0,Oe.Z)(Wn,2),En=Bn[0],vn=Bn[1],ui=Lt.useState(-1),Te=(0,Oe.Z)(ui,2),Ze=Te[0],Ne=Te[1],ln=function(cn){Ne(cn),vn(!0)},Oi=function(cn,Pi){ln(Pi),Ct==null||Ct(cn)},Ni=function(cn,Pi){ln(Pi)};Lt.useImperativeHandle(Ue,function(){return{focus:function(cn){var Pi;(Pi=oi.current[cn])===null||Pi===void 0||Pi.focus()},hideHelp:function(){(0,et.flushSync)(function(){vn(!1)})}}});var $i=(0,pe.Z)({prefixCls:ii,onStartMove:Fi,onOffsetChange:Mi,render:nr,onFocus:Oi,onMouseEnter:Ni},Bi);return Lt.createElement(Lt.Fragment,null,sr.map(function(Ye,cn){var Pi=_n===cn;return Lt.createElement(te,(0,nn.Z)({ref:function(Yn){Yn?oi.current[cn]=Yn:delete oi.current[cn]},dragging:Pi,draggingDelete:Pi&&qi,style:lt(Ai,cn),key:cn,value:Ye,valueIndex:cn},$i))}),fr&&En&&Lt.createElement(te,(0,nn.Z)({key:"a11y"},$i,{value:sr[Ze],valueIndex:null,dragging:_n!==-1,draggingDelete:qi,render:fr,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),le=Vt,ae=function(Ue){var ii=Ue.prefixCls,Ai=Ue.style,Fi=Ue.children,Mi=Ue.value,sr=Ue.onClick,nr=Lt.useContext(St),fr=nr.min,_n=nr.max,qi=nr.direction,Ct=nr.includedStart,Bi=nr.includedEnd,oi=nr.included,Wn="".concat(ii,"-text"),Bn=ct(qi,Mi,fr,_n);return Lt.createElement("span",{className:fe()(Wn,(0,ne.Z)({},"".concat(Wn,"-active"),oi&&Ct<=Mi&&Mi<=Bi)),style:(0,pe.Z)((0,pe.Z)({},Bn),Ai),onMouseDown:function(vn){vn.stopPropagation()},onClick:function(){sr(Mi)}},Fi)},Fe=ae,De=function(Ue){var ii=Ue.prefixCls,Ai=Ue.marks,Fi=Ue.onClick,Mi="".concat(ii,"-mark");return Ai.length?Lt.createElement("div",{className:Mi},Ai.map(function(sr){var nr=sr.value,fr=sr.style,_n=sr.label;return Lt.createElement(Fe,{key:nr,prefixCls:Mi,style:fr,value:nr,onClick:Fi},_n)})):null},Ee=De,Sn=function(Ue){var ii=Ue.prefixCls,Ai=Ue.value,Fi=Ue.style,Mi=Ue.activeStyle,sr=Lt.useContext(St),nr=sr.min,fr=sr.max,_n=sr.direction,qi=sr.included,Ct=sr.includedStart,Bi=sr.includedEnd,oi="".concat(ii,"-dot"),Wn=qi&&Ct<=Ai&&Ai<=Bi,Bn=(0,pe.Z)((0,pe.Z)({},ct(_n,Ai,nr,fr)),typeof Fi=="function"?Fi(Ai):Fi);return Wn&&(Bn=(0,pe.Z)((0,pe.Z)({},Bn),typeof Mi=="function"?Mi(Ai):Mi)),Lt.createElement("span",{className:fe()(oi,(0,ne.Z)({},"".concat(oi,"-active"),Wn)),style:Bn})},rn=Sn,Ge=function(Ue){var ii=Ue.prefixCls,Ai=Ue.marks,Fi=Ue.dots,Mi=Ue.style,sr=Ue.activeStyle,nr=Lt.useContext(St),fr=nr.min,_n=nr.max,qi=nr.step,Ct=Lt.useMemo(function(){var Bi=new Set;if(Ai.forEach(function(Wn){Bi.add(Wn.value)}),Fi&&qi!==null)for(var oi=fr;oi<=_n;)Bi.add(oi),oi+=qi;return Array.from(Bi)},[fr,_n,qi,Fi,Ai]);return Lt.createElement("div",{className:"".concat(ii,"-step")},Ct.map(function(Bi){return Lt.createElement(rn,{prefixCls:ii,key:Bi,value:Bi,style:Mi,activeStyle:sr})}))},sn=Ge,$t=function(Ue){var ii=Ue.prefixCls,Ai=Ue.style,Fi=Ue.start,Mi=Ue.end,sr=Ue.index,nr=Ue.onStartMove,fr=Ue.replaceCls,_n=Lt.useContext(St),qi=_n.direction,Ct=_n.min,Bi=_n.max,oi=_n.disabled,Wn=_n.range,Bn=_n.classNames,En="".concat(ii,"-track"),vn=nt(Fi,Ct,Bi),ui=nt(Mi,Ct,Bi),Te=function(Oi){!oi&&nr&&nr(Oi,-1)},Ze={};switch(qi){case"rtl":Ze.right="".concat(vn*100,"%"),Ze.width="".concat(ui*100-vn*100,"%");break;case"btt":Ze.bottom="".concat(vn*100,"%"),Ze.height="".concat(ui*100-vn*100,"%");break;case"ttb":Ze.top="".concat(vn*100,"%"),Ze.height="".concat(ui*100-vn*100,"%");break;default:Ze.left="".concat(vn*100,"%"),Ze.width="".concat(ui*100-vn*100,"%")}var Ne=fr||fe()(En,(0,ne.Z)((0,ne.Z)({},"".concat(En,"-").concat(sr+1),sr!==null&&Wn),"".concat(ii,"-track-draggable"),nr),Bn.track);return Lt.createElement("div",{className:Ne,style:(0,pe.Z)((0,pe.Z)({},Ze),Ai),onMouseDown:Te,onTouchStart:Te})},It=$t,Pe=function(Ue){var ii=Ue.prefixCls,Ai=Ue.style,Fi=Ue.values,Mi=Ue.startPoint,sr=Ue.onStartMove,nr=Lt.useContext(St),fr=nr.included,_n=nr.range,qi=nr.min,Ct=nr.styles,Bi=nr.classNames,oi=Lt.useMemo(function(){if(!_n){if(Fi.length===0)return[];var Bn=Mi!=null?Mi:qi,En=Fi[0];return[{start:Math.min(Bn,En),end:Math.max(Bn,En)}]}for(var vn=[],ui=0;uiSe&&qi<$i.length:!1,ln(je),Gi(hr,rr,je)},Ar=function Wi(Wr){Wr.preventDefault(),document.removeEventListener("mouseup",Wi),document.removeEventListener("mousemove",_i),Gn.current&&(Gn.current.removeEventListener("touchmove",Qt.current),Gn.current.removeEventListener("touchend",Me.current)),Qt.current=null,Me.current=null,Gn.current=null,nr(je),ui(-1),ln(!1)};document.addEventListener("mouseup",Ar),document.addEventListener("mousemove",_i),hi.currentTarget.addEventListener("touchend",Ar),hi.currentTarget.addEventListener("touchmove",_i),Qt.current=_i,Me.current=Ar,Gn.current=hi.currentTarget},ai=Lt.useMemo(function(){var Jn=(0,Ht.Z)(ii).sort(function(ki,Fr){return ki-Fr}),hi=(0,Ht.Z)($i).sort(function(ki,Fr){return ki-Fr}),hr={};hi.forEach(function(ki){hr[ki]=(hr[ki]||0)+1}),Jn.forEach(function(ki){hr[ki]=(hr[ki]||0)-1});var tr=_n?1:0,Dn=Object.values(hr).reduce(function(ki,Fr){return ki+Math.abs(Fr)},0);return Dn<=tr?$i:ii},[ii,$i,_n]);return[vn,oi,Ne,ai,ir]}var xn=He;function we(Ke,Ue,ii,Ai,Fi,Mi){var sr=Lt.useCallback(function(oi){return Math.max(Ke,Math.min(Ue,oi))},[Ke,Ue]),nr=Lt.useCallback(function(oi){if(ii!==null){var Wn=Ke+Math.round((sr(oi)-Ke)/ii)*ii,Bn=function(Te){return(String(Te).split(".")[1]||"").length},En=Math.max(Bn(ii),Bn(Ue),Bn(Ke)),vn=Number(Wn.toFixed(En));return Ke<=vn&&vn<=Ue?vn:null}return null},[ii,Ke,Ue,sr]),fr=Lt.useCallback(function(oi){var Wn=sr(oi),Bn=Ai.map(function(ui){return ui.value});ii!==null&&Bn.push(nr(oi)),Bn.push(Ke,Ue);var En=Bn[0],vn=Ue-Ke;return Bn.forEach(function(ui){var Te=Math.abs(Wn-ui);Te<=vn&&(En=ui,vn=Te)}),En},[Ke,Ue,Ai,ii,sr,nr]),_n=function oi(Wn,Bn,En){var vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Bn=="number"){var ui,Te=Wn[En],Ze=Te+Bn,Ne=[];Ai.forEach(function(Ye){Ne.push(Ye.value)}),Ne.push(Ke,Ue),Ne.push(nr(Te));var ln=Bn>0?1:-1;vn==="unit"?Ne.push(nr(Te+ln*ii)):Ne.push(nr(Ze)),Ne=Ne.filter(function(Ye){return Ye!==null}).filter(function(Ye){return Bn<0?Ye<=Te:Ye>=Te}),vn==="unit"&&(Ne=Ne.filter(function(Ye){return Ye!==Te}));var Oi=vn==="unit"?Te:Ze;ui=Ne[0];var Ni=Math.abs(ui-Oi);if(Ne.forEach(function(Ye){var cn=Math.abs(Ye-Oi);cn1){var $i=(0,Ht.Z)(Wn);return $i[En]=ui,oi($i,Bn-ln,En,vn)}return ui}else{if(Bn==="min")return Ke;if(Bn==="max")return Ue}},qi=function(Wn,Bn,En){var vn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",ui=Wn[En],Te=_n(Wn,Bn,En,vn);return{value:Te,changed:Te!==ui}},Ct=function(Wn){return Mi===null&&Wn===0||typeof Mi=="number"&&Wn3&&arguments[3]!==void 0?arguments[3]:"unit",ui=Wn.map(fr),Te=ui[En],Ze=_n(ui,Bn,En,vn);if(ui[En]=Ze,Fi===!1){var Ne=Mi||0;En>0&&ui[En-1]!==Te&&(ui[En]=Math.max(ui[En],ui[En-1]+Ne)),En0;$i-=1)for(var Ye=!0;Ct(ui[$i]-ui[$i-1])&&Ye;){var cn=qi(ui,-1,$i-1);ui[$i-1]=cn.value,Ye=cn.changed}for(var Pi=ui.length-1;Pi>0;Pi-=1)for(var dr=!0;Ct(ui[Pi]-ui[Pi-1])&&dr;){var Yn=qi(ui,-1,Pi-1);ui[Pi-1]=Yn.value,dr=Yn.changed}for(var Qt=0;Qt=0?Gn:!1},[Gn,Gr]),lo=Lt.useMemo(function(){return Object.keys(tr||{}).map(function(ni){var Vn=tr[ni],Ti={value:Number(ni)};return Vn&&(0,oe.Z)(Vn)==="object"&&!Lt.isValidElement(Vn)&&("label"in Vn||"style"in Vn)?(Ti.style=Vn.style,Ti.label=Vn.label):Ti.label=Vn,Ti}).filter(function(ni){var Vn=ni.label;return Vn||typeof Vn=="number"}).sort(function(ni,Vn){return ni.value-Vn.value})},[tr]),We=we(Tr,ho,Gr,lo,Qt,xr),An=(0,Oe.Z)(We,2),Be=An[0],Ot=An[1],Qn=(0,Nt.Z)(Oi,{value:ln}),Li=(0,Oe.Z)(Qn,2),Xi=Li[0],Vi=Li[1],yi=Lt.useMemo(function(){var ni=Xi==null?[]:Array.isArray(Xi)?Xi:[Xi],Vn=(0,Oe.Z)(ni,1),Ti=Vn[0],cr=Ti===void 0?Tr:Ti,mr=Xi===null?[]:[cr];if(pn){if(mr=(0,Ht.Z)(ni),$i||Xi===void 0){var kr=$i>=0?$i+1:2;for(mr=mr.slice(0,kr);mr.length=0&&Nr.current.focus(ni)}dn(null)},[Un]);var Ci=Lt.useMemo(function(){return Cn&&Gr===null?!1:Cn},[Cn,Gr]),he=(0,ge.Z)(function(ni,Vn){xe(ni,Vn),cn==null||cn(Mn(yi))}),ti=Ft!==-1;Lt.useEffect(function(){if(!ti){var ni=yi.lastIndexOf(se);Nr.current.focus(ni)}},[ti]);var Xn=Lt.useMemo(function(){return(0,Ht.Z)(ve).sort(function(ni,Vn){return ni-Vn})},[ve]),jn=Lt.useMemo(function(){return pn?[Xn[0],Xn[Xn.length-1]]:[Tr,Xn[0]]},[Xn,pn,Tr]),Tn=(0,Oe.Z)(jn,2),Ei=Tn[0],bi=Tn[1];Lt.useImperativeHandle(Ue,function(){return{focus:function(){Nr.current.focus(0)},blur:function(){var Vn,Ti=document,cr=Ti.activeElement;(Vn=Xr.current)!==null&&Vn!==void 0&&Vn.contains(cr)&&(cr==null||cr.blur())}}}),Lt.useEffect(function(){oi&&Nr.current.focus(0)},[]);var mi=Lt.useMemo(function(){return{min:Tr,max:ho,direction:zr,disabled:qi,keyboard:Bi,step:Gr,included:Zi,includedStart:Ei,includedEnd:bi,range:pn,tabIndex:je,ariaLabelForHandle:_i,ariaLabelledByForHandle:Ar,ariaRequired:Wi,ariaValueTextFormatterForHandle:Wr,styles:nr||{},classNames:sr||{}}},[Tr,ho,zr,qi,Bi,Gr,Zi,Ei,bi,pn,je,_i,Ar,Wi,Wr,nr,sr]);return Lt.createElement(St.Provider,{value:mi},Lt.createElement("div",{ref:Xr,className:fe()(Ai,Fi,(0,ne.Z)((0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Ai,"-disabled"),qi),"".concat(Ai,"-vertical"),Xe),"".concat(Ai,"-horizontal"),!Xe),"".concat(Ai,"-with-marks"),lo.length)),style:Mi,onMouseDown:qe,id:fr},Lt.createElement("div",{className:fe()("".concat(Ai,"-rail"),sr==null?void 0:sr.rail),style:(0,pe.Z)((0,pe.Z)({},Jn),nr==null?void 0:nr.rail)}),jr!==!1&&Lt.createElement(an,{prefixCls:Ai,style:ir,values:yi,startPoint:Gi,onStartMove:Ci?he:void 0}),Lt.createElement(sn,{prefixCls:Ai,marks:lo,dots:Dn,style:hi,activeStyle:hr}),Lt.createElement(le,{ref:Nr,prefixCls:Ai,style:ai,values:ve,draggingIndex:Ft,draggingDelete:Yt,onStartMove:he,onOffsetChange:di,onFocus:Wn,onBlur:Bn,handleRender:ki,activeHandleRender:Fr,onChangeComplete:ci,onDelete:no?Kn:void 0}),Lt.createElement(Ee,{prefixCls:Ai,marks:lo,onClick:Qe})))}),ze=ke,fn=ze,Dt=Et(16089),wt=Et(2171),kt=(0,Lt.createContext)({}),jt=Et(8654),Mt=Et(25399),Ce=Lt.forwardRef((Ke,Ue)=>{const{open:ii,draggingDelete:Ai}=Ke,Fi=(0,Lt.useRef)(null),Mi=ii&&!Ai,sr=(0,Lt.useRef)(null);function nr(){Dt.Z.cancel(sr.current),sr.current=null}function fr(){sr.current=(0,Dt.Z)(()=>{var _n;(_n=Fi.current)===null||_n===void 0||_n.forceAlign(),sr.current=null})}return Lt.useEffect(()=>(Mi?fr():nr(),nr),[Mi,Ke.title]),Lt.createElement(Mt.Z,Object.assign({ref:(0,jt.sQ)(Fi,Ue)},Ke,{open:Mi}))}),be=Et(36237),on=Et(17835),Ae=Et(63356),Le=Et(16931),_e=Et(51636);const un=Ke=>{const{componentCls:Ue,antCls:ii,controlSize:Ai,dotSize:Fi,marginFull:Mi,marginPart:sr,colorFillContentHover:nr,handleColorDisabled:fr,calc:_n,handleSize:qi,handleSizeHover:Ct,handleActiveColor:Bi,handleActiveOutlineColor:oi,handleLineWidth:Wn,handleLineWidthHover:Bn,motionDurationMid:En}=Ke;return{[Ue]:Object.assign(Object.assign({},(0,Ae.Wf)(Ke)),{position:"relative",height:Ai,margin:`${(0,be.unit)(sr)} ${(0,be.unit)(Mi)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,be.unit)(Mi)} ${(0,be.unit)(sr)}`},[`${Ue}-rail`]:{position:"absolute",backgroundColor:Ke.railBg,borderRadius:Ke.borderRadiusXS,transition:`background-color ${En}`},[`${Ue}-track,${Ue}-tracks`]:{position:"absolute",transition:`background-color ${En}`},[`${Ue}-track`]:{backgroundColor:Ke.trackBg,borderRadius:Ke.borderRadiusXS},[`${Ue}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${Ue}-rail`]:{backgroundColor:Ke.railHoverBg},[`${Ue}-track`]:{backgroundColor:Ke.trackHoverBg},[`${Ue}-dot`]:{borderColor:nr},[`${Ue}-handle::after`]:{boxShadow:`0 0 0 ${(0,be.unit)(Wn)} ${Ke.colorPrimaryBorderHover}`},[`${Ue}-dot-active`]:{borderColor:Ke.dotActiveBorderColor}},[`${Ue}-handle`]:{position:"absolute",width:qi,height:qi,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:_n(Wn).mul(-1).equal(),insetBlockStart:_n(Wn).mul(-1).equal(),width:_n(qi).add(_n(Wn).mul(2)).equal(),height:_n(qi).add(_n(Wn).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:qi,height:qi,backgroundColor:Ke.colorBgElevated,boxShadow:`0 0 0 ${(0,be.unit)(Wn)} ${Ke.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${En}, inset-block-start ${En}, width ${En}, height ${En}, box-shadow ${En}, outline ${En} `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:_n(Ct).sub(qi).div(2).add(Bn).mul(-1).equal(),insetBlockStart:_n(Ct).sub(qi).div(2).add(Bn).mul(-1).equal(),width:_n(Ct).add(_n(Bn).mul(2)).equal(),height:_n(Ct).add(_n(Bn).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${(0,be.unit)(Bn)} ${Bi}`,outline:`6px solid ${oi}`,width:Ct,height:Ct,insetInlineStart:Ke.calc(qi).sub(Ct).div(2).equal(),insetBlockStart:Ke.calc(qi).sub(Ct).div(2).equal()}}},[`&-lock ${Ue}-handle`]:{"&::before, &::after":{transition:"none"}},[`${Ue}-mark`]:{position:"absolute",fontSize:Ke.fontSize},[`${Ue}-mark-text`]:{position:"absolute",display:"inline-block",color:Ke.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:Ke.colorText}},[`${Ue}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${Ue}-dot`]:{position:"absolute",width:Fi,height:Fi,backgroundColor:Ke.colorBgElevated,border:`${(0,be.unit)(Wn)} solid ${Ke.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${Ke.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:Ke.dotActiveBorderColor}},[`&${Ue}-disabled`]:{cursor:"not-allowed",[`${Ue}-rail`]:{backgroundColor:`${Ke.railBg} !important`},[`${Ue}-track`]:{backgroundColor:`${Ke.trackBgDisabled} !important`},[` ${Ue}-dot `]:{backgroundColor:Ke.colorBgElevated,borderColor:Ke.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${Ue}-handle::after`]:{backgroundColor:Ke.colorBgElevated,cursor:"not-allowed",width:qi,height:qi,boxShadow:`0 0 0 ${(0,be.unit)(Wn)} ${fr}`,insetInlineStart:0,insetBlockStart:0},[` ${Ue}-mark-text, ${Ue}-dot `]:{cursor:"not-allowed !important"}},[`&-tooltip ${ii}-tooltip-inner`]:{minWidth:"unset"}})}},Pn=(Ke,Ue)=>{const{componentCls:ii,railSize:Ai,handleSize:Fi,dotSize:Mi,marginFull:sr,calc:nr}=Ke,fr=Ue?"paddingBlock":"paddingInline",_n=Ue?"width":"height",qi=Ue?"height":"width",Ct=Ue?"insetBlockStart":"insetInlineStart",Bi=Ue?"top":"insetInlineStart",oi=nr(Ai).mul(3).sub(Fi).div(2).equal(),Wn=nr(Fi).sub(Ai).div(2).equal(),Bn=Ue?{borderWidth:`${(0,be.unit)(Wn)} 0`,transform:`translateY(${(0,be.unit)(nr(Wn).mul(-1).equal())})`}:{borderWidth:`0 ${(0,be.unit)(Wn)}`,transform:`translateX(${(0,be.unit)(Ke.calc(Wn).mul(-1).equal())})`};return{[fr]:Ai,[qi]:nr(Ai).mul(3).equal(),[`${ii}-rail`]:{[_n]:"100%",[qi]:Ai},[`${ii}-track,${ii}-tracks`]:{[qi]:Ai},[`${ii}-track-draggable`]:Object.assign({},Bn),[`${ii}-handle`]:{[Ct]:oi},[`${ii}-mark`]:{insetInlineStart:0,top:0,[Bi]:nr(Ai).mul(3).add(Ue?0:sr).equal(),[_n]:"100%"},[`${ii}-step`]:{insetInlineStart:0,top:0,[Bi]:Ai,[_n]:"100%",[qi]:Ai},[`${ii}-dot`]:{position:"absolute",[Ct]:nr(Ai).sub(Mi).div(2).equal()}}},gn=Ke=>{const{componentCls:Ue,marginPartWithMark:ii}=Ke;return{[`${Ue}-horizontal`]:Object.assign(Object.assign({},Pn(Ke,!0)),{[`&${Ue}-with-marks`]:{marginBottom:ii}})}},en=Ke=>{const{componentCls:Ue}=Ke;return{[`${Ue}-vertical`]:Object.assign(Object.assign({},Pn(Ke,!1)),{height:"100%"})}},Zn=Ke=>{const ii=Ke.controlHeightLG/4,Ai=Ke.controlHeightSM/2,Fi=Ke.lineWidth+1,Mi=Ke.lineWidth+1*1.5,sr=Ke.colorPrimary,nr=new on.FastColor(sr).setA(.2).toRgbString();return{controlSize:ii,railSize:4,handleSize:ii,handleSizeHover:Ai,dotSize:8,handleLineWidth:Fi,handleLineWidthHover:Mi,railBg:Ke.colorFillTertiary,railHoverBg:Ke.colorFillSecondary,trackBg:Ke.colorPrimaryBorder,trackHoverBg:Ke.colorPrimaryBorderHover,handleColor:Ke.colorPrimaryBorder,handleActiveColor:sr,handleActiveOutlineColor:nr,handleColorDisabled:new on.FastColor(Ke.colorTextDisabled).onBackground(Ke.colorBgContainer).toHexString(),dotBorderColor:Ke.colorBorderSecondary,dotActiveBorderColor:Ke.colorPrimaryBorder,trackBgDisabled:Ke.colorBgContainerDisabled}};var Hn=(0,Le.I$)("Slider",Ke=>{const Ue=(0,_e.mergeToken)(Ke,{marginPart:Ke.calc(Ke.controlHeight).sub(Ke.controlSize).div(2).equal(),marginFull:Ke.calc(Ke.controlSize).div(2).equal(),marginPartWithMark:Ke.calc(Ke.controlHeightLG).sub(Ke.controlSize).equal()});return[un(Ue),gn(Ue),en(Ue)]},Zn);function mn(){const[Ke,Ue]=Lt.useState(!1),ii=Lt.useRef(null),Ai=()=>{Dt.Z.cancel(ii.current)},Fi=Mi=>{Ai(),Mi?Ue(Mi):ii.current=(0,Dt.Z)(()=>{Ue(Mi)})};return Lt.useEffect(()=>Ai,[]),[Ke,Fi]}var zn=Et(48755),Ri=function(Ke,Ue){var ii={};for(var Ai in Ke)Object.prototype.hasOwnProperty.call(Ke,Ai)&&Ue.indexOf(Ai)<0&&(ii[Ai]=Ke[Ai]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fi=0,Ai=Object.getOwnPropertySymbols(Ke);Fitypeof ii=="number"?ii.toString():""}var er=Lt.forwardRef((Ke,Ue)=>{const{prefixCls:ii,range:Ai,className:Fi,rootClassName:Mi,style:sr,disabled:nr,tooltipPrefixCls:fr,tipFormatter:_n,tooltipVisible:qi,getTooltipPopupContainer:Ct,tooltipPlacement:Bi,tooltip:oi={},onChangeComplete:Wn,classNames:Bn,styles:En}=Ke,vn=Ri(Ke,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:ui}=Ke,{getPrefixCls:Te,direction:Ze,className:Ne,style:ln,classNames:Oi,styles:Ni,getPopupContainer:$i}=(0,zn.dj)("slider"),Ye=Lt.useContext(wt.Z),cn=nr!=null?nr:Ye,{handleRender:Pi,direction:dr}=Lt.useContext(kt),Qt=(dr||Ze)==="rtl",[Me,Gn]=mn(),[qn,Xe]=mn(),ri=Object.assign({},oi),{open:Zi,placement:Gi,getPopupContainer:ir,prefixCls:ai,formatter:Jn}=ri,hi=Zi!=null?Zi:qi,hr=(Me||qn)&&hi!==!1,tr=vi(Jn,_n),[Dn,ki]=mn(),Fr=pn=>{Wn==null||Wn(pn),ki(!1)},jr=(pn,no)=>pn||(no?Qt?"left":"right":"top"),so=Te("slider",ii),[je,_i,Ar]=Hn(so),Wi=fe()(Fi,Ne,Oi.root,Bn==null?void 0:Bn.root,Mi,{[`${so}-rtl`]:Qt,[`${so}-lock`]:Dn},_i,Ar);Qt&&!vn.vertical&&(vn.reverse=!vn.reverse),Lt.useEffect(()=>{const pn=()=>{(0,Dt.Z)(()=>{Xe(!1)},1)};return document.addEventListener("mouseup",pn),()=>{document.removeEventListener("mouseup",pn)}},[]);const Wr=Ai&&!hi,Nr=Pi||((pn,no)=>{const{index:Cn}=no,rr=pn.props;function Or(xr,lo,We){var An,Be,Ot,Qn;We&&((Be=(An=vn)[xr])===null||Be===void 0||Be.call(An,lo)),(Qn=(Ot=rr)[xr])===null||Qn===void 0||Qn.call(Ot,lo)}const Tr=Object.assign(Object.assign({},rr),{onMouseEnter:xr=>{Gn(!0),Or("onMouseEnter",xr)},onMouseLeave:xr=>{Gn(!1),Or("onMouseLeave",xr)},onMouseDown:xr=>{Xe(!0),ki(!0),Or("onMouseDown",xr)},onFocus:xr=>{var lo;Xe(!0),(lo=vn.onFocus)===null||lo===void 0||lo.call(vn,xr),Or("onFocus",xr,!0)},onBlur:xr=>{var lo;Xe(!1),(lo=vn.onBlur)===null||lo===void 0||lo.call(vn,xr),Or("onBlur",xr,!0)}}),ho=Lt.cloneElement(pn,Tr),Gr=(!!hi||hr)&&tr!==null;return Wr?ho:Lt.createElement(Ce,Object.assign({},ri,{prefixCls:Te("tooltip",ai!=null?ai:fr),title:tr?tr(no.value):"",open:Gr,placement:jr(Gi!=null?Gi:Bi,ui),key:Cn,classNames:{root:`${so}-tooltip`},getPopupContainer:ir||Ct||$i}),ho)}),Xr=Wr?(pn,no)=>{const Cn=Lt.cloneElement(pn,{style:Object.assign(Object.assign({},pn.props.style),{visibility:"hidden"})});return Lt.createElement(Ce,Object.assign({},ri,{prefixCls:Te("tooltip",ai!=null?ai:fr),title:tr?tr(no.value):"",open:tr!==null&&hr,placement:jr(Gi!=null?Gi:Bi,ui),key:"tooltip",classNames:{root:`${so}-tooltip`},getPopupContainer:ir||Ct||$i,draggingDelete:no.draggingDelete}),Cn)}:void 0,zr=Object.assign(Object.assign(Object.assign(Object.assign({},Ni.root),ln),En==null?void 0:En.root),sr),Hr=Object.assign(Object.assign({},Ni.tracks),En==null?void 0:En.tracks),qr=fe()(Oi.tracks,Bn==null?void 0:Bn.tracks);return je(Lt.createElement(fn,Object.assign({},vn,{classNames:Object.assign({handle:fe()(Oi.handle,Bn==null?void 0:Bn.handle),rail:fe()(Oi.rail,Bn==null?void 0:Bn.rail),track:fe()(Oi.track,Bn==null?void 0:Bn.track)},qr?{tracks:qr}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},Ni.handle),En==null?void 0:En.handle),rail:Object.assign(Object.assign({},Ni.rail),En==null?void 0:En.rail),track:Object.assign(Object.assign({},Ni.track),En==null?void 0:En.track)},Object.keys(Hr).length?{tracks:Hr}:{}),step:vn.step,range:Ai,className:Wi,style:zr,disabled:cn,ref:Ue,prefixCls:so,handleRender:Nr,activeHandleRender:Xr,onChangeComplete:Fr})))})},22275:function(bn,$n,Et){"use strict";var Lt,re=Et(95069).default;Lt={value:!0},$n.Z=void 0;var fe=re(Et(44820)),pe=re(Et(31191));const ne={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},fe.default),timePickerLocale:Object.assign({},pe.default)};ne.lang.ok="\u786E\u5B9A";var Ht=$n.Z=ne},31191:function(bn,$n){"use strict";Object.defineProperty($n,"__esModule",{value:!0}),$n.default=void 0;const Et={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};var Lt=$n.default=Et},99498:function(bn,$n,Et){(function(Lt){Lt(Et(89780))})(function(Lt){Lt.defineOption("placeholder","",function(Oe,ge,Nt){var Je=Nt&&Nt!=Lt.Init;if(ge&&!Je)Oe.on("blur",ne),Oe.on("change",Ht),Oe.on("swapDoc",Ht),Lt.on(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose=function(){pe(Oe)}),Ht(Oe);else if(!ge&&Je){Oe.off("blur",ne),Oe.off("change",Ht),Oe.off("swapDoc",Ht),Lt.off(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose),re(Oe);var ie=Oe.getWrapperElement();ie.className=ie.className.replace(" CodeMirror-empty","")}ge&&!Oe.hasFocus()&&ne(Oe)});function re(Oe){Oe.state.placeholder&&(Oe.state.placeholder.parentNode.removeChild(Oe.state.placeholder),Oe.state.placeholder=null)}function fe(Oe){re(Oe);var ge=Oe.state.placeholder=document.createElement("pre");ge.style.cssText="height: 0; overflow: visible",ge.style.direction=Oe.getOption("direction"),ge.className="CodeMirror-placeholder CodeMirror-line-like";var Nt=Oe.getOption("placeholder");typeof Nt=="string"&&(Nt=document.createTextNode(Nt)),ge.appendChild(Nt),Oe.display.lineSpace.insertBefore(ge,Oe.display.lineSpace.firstChild)}function pe(Oe){setTimeout(function(){var ge=!1,Nt=Oe.getInputField();Nt.nodeName=="TEXTAREA"?ge=!Nt.value:Oe.lineCount()==1&&(ge=!/[^\u200b]/.test(Nt.querySelector(".CodeMirror-line").textContent)),ge?fe(Oe):re(Oe)},20)}function ne(Oe){oe(Oe)&&fe(Oe)}function Ht(Oe){var ge=Oe.getWrapperElement(),Nt=oe(Oe);ge.className=ge.className.replace(" CodeMirror-empty","")+(Nt?" CodeMirror-empty":""),Nt?fe(Oe):re(Oe)}function oe(Oe){return Oe.lineCount()===1&&Oe.getLine(0)===""}})},25717:function(bn,$n,Et){(function(Lt){Lt(Et(89780))})(function(Lt){var re={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},fe=Lt.Pos;Lt.defineOption("autoCloseBrackets",!1,function(et,nt,ct){ct&&ct!=Lt.Init&&(et.removeKeyMap(ne),et.state.closeBrackets=null),nt&&(Ht(pe(nt,"pairs")),et.state.closeBrackets=nt,et.addKeyMap(ne))});function pe(et,nt){return nt=="pairs"&&typeof et=="string"?et:typeof et=="object"&&et[nt]!=null?et[nt]:re[nt]}var ne={Backspace:ge,Enter:Nt};function Ht(et){for(var nt=0;nt=0;gt--){var St=lt[gt].head;et.replaceRange("",fe(St.line,St.ch-1),fe(St.line,St.ch+1),"+delete")}}function Nt(et){var nt=Oe(et),ct=nt&&pe(nt,"explode");if(!ct||et.getOption("disableInput"))return Lt.Pass;for(var lt=et.listSelections(),gt=0;gt0;return{anchor:new fe(et.anchor.line,et.anchor.ch+(nt?-1:1)),head:new fe(et.head.line,et.head.ch+(nt?1:-1))}}function ie(et,nt){var ct=Oe(et);if(!ct||et.getOption("disableInput"))return Lt.Pass;var lt=pe(ct,"pairs"),gt=lt.indexOf(nt);if(gt==-1)return Lt.Pass;for(var mt=pe(ct,"closeBefore"),St=pe(ct,"triples"),Pt=lt.charAt(gt+1)==nt,Rt=et.listSelections(),Wt=gt%2==0,te,Jt=0;Jt=0&&et.getRange(le,fe(le.line,le.ch+3))==nt+nt+nt?ae="skipThree":ae="skip";else if(Pt&&le.ch>1&&St.indexOf(nt)>=0&&et.getRange(fe(le.line,le.ch-2),le)==nt+nt){if(le.ch>2&&/\bstring/.test(et.getTokenTypeAt(fe(le.line,le.ch-2))))return Lt.Pass;ae="addFour"}else if(Pt){var De=le.ch==0?" ":et.getRange(fe(le.line,le.ch-1),le);if(!Lt.isWordChar(Fe)&&De!=nt&&!Lt.isWordChar(De))ae="both";else return Lt.Pass}else if(Wt&&(Fe.length===0||/\s/.test(Fe)||mt.indexOf(Fe)>-1))ae="both";else return Lt.Pass;if(!te)te=ae;else if(te!=ae)return Lt.Pass}var Ee=gt%2?lt.charAt(gt-1):nt,Sn=gt%2?nt:lt.charAt(gt+1);et.operation(function(){if(te=="skip")et.execCommand("goCharRight");else if(te=="skipThree")for(var rn=0;rn<3;rn++)et.execCommand("goCharRight");else if(te=="surround"){for(var Ge=et.getSelections(),rn=0;rn'"]=function(nn){return pe(nn)}),ge.addKeyMap(ie)}});var re=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],fe=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function pe(ge){if(ge.getOption("disableInput"))return Lt.Pass;for(var Nt=ge.listSelections(),Je=[],ie=ge.getOption("autoCloseTags"),nn=0;nnBt.ch&&(gt=gt.slice(0,gt.length-et.end+Bt.ch));var Rt=gt.toLowerCase();if(!gt||et.type=="string"&&(et.end!=Bt.ch||!/[\"\']/.test(et.string.charAt(et.string.length-1))||et.string.length==1)||et.type=="tag"&<.close||et.string.indexOf("/")==Bt.ch-et.start-1||St&&oe(St,Rt)>-1||Oe(ge,nt.mode.xmlCurrentContext&&nt.mode.xmlCurrentContext(ct)||[],gt,Bt,!0))return Lt.Pass;var Wt=typeof ie=="object"&&ie.emptyTags;if(Wt&&oe(Wt,gt)>-1){Je[nn]={text:"/>",newPos:Lt.Pos(Bt.line,Bt.ch+2)};continue}var te=Pt&&oe(Pt,Rt)>-1;Je[nn]={indent:te,text:">"+(te?` `:"")+"",newPos:te?Lt.Pos(Bt.line+1,0):Lt.Pos(Bt.line,Bt.ch+1)}}for(var Jt=typeof ie=="object"&&ie.dontIndentOnAutoClose,nn=Nt.length-1;nn>=0;nn--){var Vt=Je[nn];ge.replaceRange(Vt.text,Nt[nn].head,Nt[nn].anchor,"+insert");var le=ge.listSelections().slice(0);le[nn]={head:Vt.newPos,anchor:Vt.newPos},ge.setSelections(le),!Jt&&Vt.indent&&(ge.indentLine(Vt.newPos.line,null,!0),ge.indentLine(Vt.newPos.line+1,null,!0))}}function ne(ge,Nt){for(var Je=ge.listSelections(),ie=[],nn=Nt?"/":""&&(St+=">"),ie[nt]=St}if(ge.replaceSelections(ie),Je=ge.listSelections(),!et)for(var nt=0;nt=0&&Nt[ct]==Je;ct--)++nt;ie=et.to;for(var ct=1;ct=ct.max))return ct.ch=0,ct.text=ct.cm.getLine(++ct.line),!0}function Nt(ct){if(!(ct.line<=ct.min))return ct.text=ct.cm.getLine(--ct.line),ct.ch=ct.text.length,!0}function Je(ct){for(;;){var lt=ct.text.indexOf(">",ct.ch);if(lt==-1){if(ge(ct))continue;return}if(!Oe(ct,lt+1)){ct.ch=lt+1;continue}var gt=ct.text.lastIndexOf("/",lt),mt=gt>-1&&!/\S/.test(ct.text.slice(gt+1,lt));return ct.ch=lt+1,mt?"selfClose":"regular"}}function ie(ct){for(;;){var lt=ct.ch?ct.text.lastIndexOf("<",ct.ch-1):-1;if(lt==-1){if(Nt(ct))continue;return}if(!Oe(ct,lt+1)){ct.ch=lt;continue}Ht.lastIndex=lt,ct.ch=lt;var gt=Ht.exec(ct.text);if(gt&>.index==lt)return gt}}function nn(ct){for(;;){Ht.lastIndex=ct.ch;var lt=Ht.exec(ct.text);if(!lt){if(ge(ct))continue;return}if(!Oe(ct,lt.index+1)){ct.ch=lt.index+1;continue}return ct.ch=lt.index+lt[0].length,lt}}function Bt(ct){for(;;){var lt=ct.ch?ct.text.lastIndexOf(">",ct.ch-1):-1;if(lt==-1){if(Nt(ct))continue;return}if(!Oe(ct,lt+1)){ct.ch=lt;continue}var gt=ct.text.lastIndexOf("/",lt),mt=gt>-1&&!/\S/.test(ct.text.slice(gt+1,lt));return ct.ch=lt+1,mt?"selfClose":"regular"}}function et(ct,lt){for(var gt=[];;){var mt=nn(ct),St,Pt=ct.line,Rt=ct.ch-(mt?mt[0].length:0);if(!mt||!(St=Je(ct)))return;if(St!="selfClose")if(mt[1]){for(var Wt=gt.length-1;Wt>=0;--Wt)if(gt[Wt]==mt[2]){gt.length=Wt;break}if(Wt<0&&(!lt||lt==mt[2]))return{tag:mt[2],from:re(Pt,Rt),to:re(ct.line,ct.ch)}}else gt.push(mt[2])}}function nt(ct,lt){for(var gt=[];;){var mt=Bt(ct);if(!mt)return;if(mt=="selfClose"){ie(ct);continue}var St=ct.line,Pt=ct.ch,Rt=ie(ct);if(!Rt)return;if(Rt[1])gt.push(Rt[2]);else{for(var Wt=gt.length-1;Wt>=0;--Wt)if(gt[Wt]==Rt[2]){gt.length=Wt;break}if(Wt<0&&(!lt||lt==Rt[2]))return{tag:Rt[2],from:re(ct.line,ct.ch),to:re(St,Pt)}}}}Lt.registerHelper("fold","xml",function(ct,lt){for(var gt=new oe(ct,lt.line,0);;){var mt=nn(gt);if(!mt||gt.line!=lt.line)return;var St=Je(gt);if(!St)return;if(!mt[1]&&St!="selfClose"){var Pt=re(gt.line,gt.ch),Rt=et(gt,mt[2]);return Rt&&fe(Rt.from,Pt)>0?{from:Pt,to:Rt.from}:null}}}),Lt.findMatchingTag=function(ct,lt,gt){var mt=new oe(ct,lt.line,lt.ch,gt);if(!(mt.text.indexOf(">")==-1&&mt.text.indexOf("<")==-1)){var St=Je(mt),Pt=St&&re(mt.line,mt.ch),Rt=St&&ie(mt);if(!(!St||!Rt||fe(mt,lt)>0)){var Wt={from:re(mt.line,mt.ch),to:Pt,tag:Rt[2]};return St=="selfClose"?{open:Wt,close:null,at:"open"}:Rt[1]?{open:nt(mt,Rt[2]),close:Wt,at:"close"}:(mt=new oe(ct,Pt.line,Pt.ch,gt),{open:Wt,close:et(mt,Rt[2]),at:"open"})}}},Lt.findEnclosingTag=function(ct,lt,gt,mt){for(var St=new oe(ct,lt.line,lt.ch,gt);;){var Pt=nt(St,mt);if(!Pt)break;var Rt=new oe(ct,lt.line,lt.ch,gt),Wt=et(Rt,Pt.tag);if(Wt)return{open:Pt,close:Wt}}},Lt.scanForClosingTag=function(ct,lt,gt,mt){var St=new oe(ct,lt.line,lt.ch,mt?{from:0,to:mt}:null);return et(St,gt)}})},89780:function(bn){(function($n,Et){bn.exports=Et()})(this,function(){"use strict";var $n=navigator.userAgent,Et=navigator.platform,Lt=/gecko\/\d/i.test($n),re=/MSIE \d/.test($n),fe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec($n),pe=/Edge\/(\d+)/.exec($n),ne=re||fe||pe,Ht=ne&&(re?document.documentMode||6:+(pe||fe)[1]),oe=!pe&&/WebKit\//.test($n),Oe=oe&&/Qt\/\d+\.\d+/.test($n),ge=!pe&&/Chrome\//.test($n),Nt=/Opera\//.test($n),Je=/Apple Computer/.test(navigator.vendor),ie=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test($n),nn=/PhantomJS/.test($n),Bt=!pe&&/AppleWebKit/.test($n)&&/Mobile\/\w+/.test($n),et=/Android/.test($n),nt=Bt||et||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test($n),ct=Bt||/Mac/.test(Et),lt=/\bCrOS\b/.test($n),gt=/win/i.test(Et),mt=Nt&&$n.match(/Version\/(\d*\.\d*)/);mt&&(mt=Number(mt[1])),mt&&mt>=15&&(Nt=!1,oe=!0);var St=ct&&(Oe||Nt&&(mt==null||mt<12.11)),Pt=Lt||ne&&Ht>=9;function Rt(it){return new RegExp("(^|\\s)"+it+"(?:$|\\s)\\s*")}var Wt=function(it,at){var dt=it.className,ht=Rt(at).exec(dt);if(ht){var pt=dt.slice(ht.index+ht[0].length);it.className=dt.slice(0,ht.index)+(pt?ht[1]+pt:"")}};function te(it){for(var at=it.childNodes.length;at>0;--at)it.removeChild(it.firstChild);return it}function Jt(it,at){return te(it).appendChild(at)}function Vt(it,at,dt,ht){var pt=document.createElement(it);if(dt&&(pt.className=dt),ht&&(pt.style.cssText=ht),typeof at=="string")pt.appendChild(document.createTextNode(at));else if(at)for(var At=0;At=at)return zt+(at-At);zt+=Ut-At,zt+=dt-zt%dt,At=Ut+1}}var It=function(){this.id=null,this.f=null,this.time=0,this.handler=Ge(this.onTimeout,this)};It.prototype.onTimeout=function(it){it.id=0,it.time<=+new Date?it.f():setTimeout(it.handler,it.time-+new Date)},It.prototype.set=function(it,at){this.f=at;var dt=+new Date+it;(!this.id||dt=at)return ht+Math.min(zt,at-pt);if(pt+=At-ht,pt+=dt-pt%dt,ht=At+1,pt>=at)return ht}}var we=[""];function de(it){for(;we.length<=it;)we.push(ke(we)+" ");return we[it]}function ke(it){return it[it.length-1]}function ze(it,at){for(var dt=[],ht=0;ht"\x80"&&(it.toUpperCase()!=it.toLowerCase()||yt.test(it))}function jt(it,at){return at?at.source.indexOf("\\w")>-1&&kt(it)?!0:at.test(it):kt(it)}function Mt(it){for(var at in it)if(it.hasOwnProperty(at)&&it[at])return!1;return!0}var Gt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ce(it){return it.charCodeAt(0)>=768&&Gt.test(it)}function be(it,at,dt){for(;(dt<0?at>0:atdt?-1:1;;){if(at==dt)return at;var pt=(at+dt)/2,At=ht<0?Math.ceil(pt):Math.floor(pt);if(At==at)return it(At)?at:dt;it(At)?dt=At:at=At+ht}}function Ae(it,at,dt,ht){if(!it)return ht(at,dt,"ltr",0);for(var pt=!1,At=0;Atat||at==dt&&zt.to==at)&&(ht(Math.max(zt.from,at),Math.min(zt.to,dt),zt.level==1?"rtl":"ltr",At),pt=!0)}pt||ht(at,dt,"ltr")}var Le=null;function _e(it,at,dt){var ht;Le=null;for(var pt=0;ptat)return pt;At.to==at&&(At.from!=At.to&&dt=="before"?ht=pt:Le=pt),At.from==at&&(At.from!=At.to&&dt!="before"?ht=pt:Le=pt)}return ht!=null?ht:Le}var un=function(){var it="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",at="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function dt(ue){return ue<=247?it.charAt(ue):1424<=ue&&ue<=1524?"R":1536<=ue&&ue<=1785?at.charAt(ue-1536):1774<=ue&&ue<=2220?"r":8192<=ue&&ue<=8203?"w":ue==8204?"b":"L"}var ht=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,pt=/[stwN]/,At=/[LRr]/,zt=/[Lb1n]/,Ut=/[1n]/;function Kt(ue,tn,ye){this.level=ue,this.from=tn,this.to=ye}return function(ue,tn){var ye=tn=="ltr"?"L":"R";if(ue.length==0||tn=="ltr"&&!ht.test(ue))return!1;for(var kn=ue.length,wn=[],zi=0;zi-1&&(ht[at]=pt.slice(0,At).concat(pt.slice(At+1)))}}}function mn(it,at){var dt=Zn(it,at);if(dt.length)for(var ht=Array.prototype.slice.call(arguments,2),pt=0;pt0}function ji(it){it.prototype.on=function(at,dt){en(this,at,dt)},it.prototype.off=function(at,dt){Hn(this,at,dt)}}function er(it){it.preventDefault?it.preventDefault():it.returnValue=!1}function Ke(it){it.stopPropagation?it.stopPropagation():it.cancelBubble=!0}function Ue(it){return it.defaultPrevented!=null?it.defaultPrevented:it.returnValue==!1}function ii(it){er(it),Ke(it)}function Ai(it){return it.target||it.srcElement}function Fi(it){var at=it.which;return at==null&&(it.button&1?at=1:it.button&2?at=3:it.button&4&&(at=2)),ct&&it.ctrlKey&&at==1&&(at=3),at}var Mi=function(){if(ne&&Ht<9)return!1;var it=Vt("div");return"draggable"in it||"dragDrop"in it}(),sr;function nr(it){if(sr==null){var at=Vt("span","\u200B");Jt(it,Vt("span",[at,document.createTextNode("x")])),it.firstChild.offsetHeight!=0&&(sr=at.offsetWidth<=1&&at.offsetHeight>2&&!(ne&&Ht<8))}var dt=sr?Vt("span","\u200B"):Vt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return dt.setAttribute("cm-text",""),dt}var fr;function _n(it){if(fr!=null)return fr;var at=Jt(it,document.createTextNode("A\u062EA")),dt=ae(at,0,1).getBoundingClientRect(),ht=ae(at,1,2).getBoundingClientRect();return te(it),!dt||dt.left==dt.right?!1:fr=ht.right-dt.right<3}var qi=` b`.split(/\n/).length!=3?function(it){for(var at=0,dt=[],ht=it.length;at<=ht;){var pt=it.indexOf(` `,at);pt==-1&&(pt=it.length);var At=it.slice(at,it.charAt(pt-1)=="\r"?pt-1:pt),zt=At.indexOf("\r");zt!=-1?(dt.push(At.slice(0,zt)),at+=zt+1):(dt.push(At),at=pt+1)}return dt}:function(it){return it.split(/\r\n?|\n/)},Ct=window.getSelection?function(it){try{return it.selectionStart!=it.selectionEnd}catch(at){return!1}}:function(it){var at;try{at=it.ownerDocument.selection.createRange()}catch(dt){}return!at||at.parentElement()!=it?!1:at.compareEndPoints("StartToEnd",at)!=0},Bi=function(){var it=Vt("div");return"oncopy"in it?!0:(it.setAttribute("oncopy","return;"),typeof it.oncopy=="function")}(),oi=null;function Wn(it){if(oi!=null)return oi;var at=Jt(it,Vt("span","x")),dt=at.getBoundingClientRect(),ht=ae(at,0,1).getBoundingClientRect();return oi=Math.abs(dt.left-ht.left)>1}var Bn={},En={};function vn(it,at){arguments.length>2&&(at.dependencies=Array.prototype.slice.call(arguments,2)),Bn[it]=at}function ui(it,at){En[it]=at}function Te(it){if(typeof it=="string"&&En.hasOwnProperty(it))it=En[it];else if(it&&typeof it.name=="string"&&En.hasOwnProperty(it.name)){var at=En[it.name];typeof at=="string"&&(at={name:at}),it=wt(at,it),it.name=at.name}else{if(typeof it=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(it))return Te("application/xml");if(typeof it=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(it))return Te("application/json")}return typeof it=="string"?{name:it}:it||{name:"null"}}function Ze(it,at){at=Te(at);var dt=Bn[at.name];if(!dt)return Ze(it,"text/plain");var ht=dt(it,at);if(Ne.hasOwnProperty(at.name)){var pt=Ne[at.name];for(var At in pt)pt.hasOwnProperty(At)&&(ht.hasOwnProperty(At)&&(ht["_"+At]=ht[At]),ht[At]=pt[At])}if(ht.name=at.name,at.helperType&&(ht.helperType=at.helperType),at.modeProps)for(var zt in at.modeProps)ht[zt]=at.modeProps[zt];return ht}var Ne={};function ln(it,at){var dt=Ne.hasOwnProperty(it)?Ne[it]:Ne[it]={};sn(at,dt)}function Oi(it,at){if(at===!0)return at;if(it.copyState)return it.copyState(at);var dt={};for(var ht in at){var pt=at[ht];pt instanceof Array&&(pt=pt.concat([])),dt[ht]=pt}return dt}function Ni(it,at){for(var dt;it.innerMode&&(dt=it.innerMode(at),!(!dt||dt.mode==it));)at=dt.state,it=dt.mode;return dt||{mode:it,state:at}}function $i(it,at,dt){return it.startState?it.startState(at,dt):!0}var Ye=function(it,at,dt){this.pos=this.start=0,this.string=it,this.tabSize=at||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=dt};Ye.prototype.eol=function(){return this.pos>=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.posat},Ye.prototype.eatSpace=function(){for(var it=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>it},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(it){var at=this.string.indexOf(it,this.pos);if(at>-1)return this.pos=at,!0},Ye.prototype.backUp=function(it){this.pos-=it},Ye.prototype.column=function(){return this.lastColumnPos0?null:(At&&at!==!1&&(this.pos+=At[0].length),At)}},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(it,at){this.lineStart+=it;try{return at()}finally{this.lineStart-=it}},Ye.prototype.lookAhead=function(it){var at=this.lineOracle;return at&&at.lookAhead(it)},Ye.prototype.baseToken=function(){var it=this.lineOracle;return it&&it.baseToken(this.pos)};function cn(it,at){if(at-=it.first,at<0||at>=it.size)throw new Error("There is no line "+(at+it.first)+" in the document.");for(var dt=it;!dt.lines;)for(var ht=0;;++ht){var pt=dt.children[ht],At=pt.chunkSize();if(at=it.first&&atdt?Xe(dt,cn(it,dt).text.length):hr(at,cn(it,at.line).text.length)}function hr(it,at){var dt=it.ch;return dt==null||dt>at?Xe(it.line,at):dt<0?Xe(it.line,0):it}function tr(it,at){for(var dt=[],ht=0;htthis.maxLookAhead&&(this.maxLookAhead=it),at},ki.prototype.baseToken=function(it){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=it;)this.baseTokenPos+=2;var at=this.baseTokens[this.baseTokenPos+1];return{type:at&&at.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-it}},ki.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ki.fromSaved=function(it,at,dt){return at instanceof Dn?new ki(it,Oi(it.mode,at.state),dt,at.lookAhead):new ki(it,Oi(it.mode,at),dt)},ki.prototype.save=function(it){var at=it!==!1?Oi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Dn(at,this.maxLookAhead):at};function Fr(it,at,dt,ht){var pt=[it.state.modeGen],At={};Xr(it,at.text,it.doc.mode,dt,function(ue,tn){return pt.push(ue,tn)},At,ht);for(var zt=dt.state,Ut=function(ue){dt.baseTokens=pt;var tn=it.state.overlays[ue],ye=1,kn=0;dt.state=!0,Xr(it,at.text,tn.mode,dt,function(wn,zi){for(var Ki=ye;knwn&&pt.splice(ye,1,wn,pt[ye+1],ar),ye+=2,kn=Math.min(wn,ar)}if(zi)if(tn.opaque)pt.splice(Ki,ye-Ki,wn,"overlay "+zi),ye=Ki+2;else for(;Kiit.options.maxHighlightLength&&Oi(it.doc.mode,ht.state),At=Fr(it,at,ht);pt&&(ht.state=pt),at.stateAfter=ht.save(!pt),at.styles=At.styles,At.classes?at.styleClasses=At.classes:at.styleClasses&&(at.styleClasses=null),dt===it.doc.highlightFrontier&&(it.doc.modeFrontier=Math.max(it.doc.modeFrontier,++it.doc.highlightFrontier))}return at.styles}function so(it,at,dt){var ht=it.doc,pt=it.display;if(!ht.mode.startState)return new ki(ht,!0,at);var At=zr(it,at,dt),zt=At>ht.first&&cn(ht,At-1).stateAfter,Ut=zt?ki.fromSaved(ht,zt,At):new ki(ht,$i(ht.mode),At);return ht.iter(At,at,function(Kt){je(it,Kt.text,Ut);var ue=Ut.line;Kt.stateAfter=ue==at-1||ue%5==0||ue>=pt.viewFrom&&ueat.start)return At}throw new Error("Mode "+it.name+" failed to advance stream.")}var Wi=function(it,at,dt){this.start=it.start,this.end=it.pos,this.string=it.current(),this.type=at||null,this.state=dt};function Wr(it,at,dt,ht){var pt=it.doc,At=pt.mode,zt;at=hi(pt,at);var Ut=cn(pt,at.line),Kt=so(it,at.line,dt),ue=new Ye(Ut.text,it.options.tabSize,Kt),tn;for(ht&&(tn=[]);(ht||ue.posit.options.maxHighlightLength?(Ut=!1,zt&&je(it,at,ht,tn.pos),tn.pos=at.length,ye=null):ye=Nr(Ar(dt,tn,ht.state,kn),At),kn){var wn=kn[0].name;wn&&(ye="m-"+(ye?wn+" "+ye:wn))}if(!Ut||ue!=ye){for(;Ktzt;--Ut){if(Ut<=At.first)return At.first;var Kt=cn(At,Ut-1),ue=Kt.stateAfter;if(ue&&(!dt||Ut+(ue instanceof Dn?ue.lookAhead:0)<=At.modeFrontier))return Ut;var tn=$t(Kt.text,null,it.options.tabSize);(pt==null||ht>tn)&&(pt=Ut-1,ht=tn)}return pt}function Hr(it,at){if(it.modeFrontier=Math.min(it.modeFrontier,at),!(it.highlightFrontierdt;ht--){var pt=cn(it,ht).stateAfter;if(pt&&(!(pt instanceof Dn)||ht+pt.lookAhead=at:At.to>at);(ht||(ht=[])).push(new rr(zt,At.from,Kt?null:At.to))}}return ht}function xr(it,at,dt){var ht;if(it)for(var pt=0;pt=at:At.to>at);if(Ut||At.from==at&&zt.type=="bookmark"&&(!dt||At.marker.insertLeft)){var Kt=At.from==null||(zt.inclusiveLeft?At.from<=at:At.from0&&Ut)for(var eo=0;eo0)){var tn=[Kt,1],ye=ri(ue.from,Ut.from),kn=ri(ue.to,Ut.to);(ye<0||!zt.inclusiveLeft&&!ye)&&tn.push({from:ue.from,to:Ut.from}),(kn>0||!zt.inclusiveRight&&!kn)&&tn.push({from:Ut.to,to:ue.to}),pt.splice.apply(pt,tn),Kt+=tn.length-3}}return pt}function Be(it){var at=it.markedSpans;if(at){for(var dt=0;dtat)&&(!ht||Xi(ht,At.marker)<0)&&(ht=At.marker)}return ht}function ci(it,at,dt,ht,pt){var At=cn(it,at),zt=pn&&At.markedSpans;if(zt)for(var Ut=0;Ut=0&&ye<=0||tn<=0&&ye>=0)&&(tn<=0&&(Kt.marker.inclusiveRight&&pt.inclusiveLeft?ri(ue.to,dt)>=0:ri(ue.to,dt)>0)||tn>=0&&(Kt.marker.inclusiveRight&&pt.inclusiveLeft?ri(ue.from,ht)<=0:ri(ue.from,ht)<0)))return!0}}}function Kn(it){for(var at;at=yi(it);)it=at.find(-1,!0).line;return it}function fi(it){for(var at;at=Mn(it);)it=at.find(1,!0).line;return it}function ei(it){for(var at,dt;at=Mn(it);)it=at.find(1,!0).line,(dt||(dt=[])).push(it);return dt}function Ft(it,at){var dt=cn(it,at),ht=Kn(dt);return dt==ht?at:Qt(ht)}function se(it,at){if(at>it.lastLine())return at;var dt=cn(it,at),ht;if(!Yt(it,dt))return at;for(;ht=Mn(dt);)dt=ht.find(1,!0).line;return Qt(dt)+1}function Yt(it,at){var dt=pn&&at.markedSpans;if(dt){for(var ht=void 0,pt=0;ptat.maxLineLength&&(at.maxLineLength=pt,at.maxLine=ht)})}var hn=function(it,at,dt){this.text=it,Ot(this,at),this.height=dt?dt(this):1};hn.prototype.lineNo=function(){return Qt(this)},ji(hn);function On(it,at,dt,ht){it.text=at,it.stateAfter&&(it.stateAfter=null),it.styles&&(it.styles=null),it.order!=null&&(it.order=null),Be(it),Ot(it,dt);var pt=ht?ht(it):1;pt!=it.height&&Yn(it,pt)}function Un(it){it.parent=null,Be(it)}var dn={},di={};function Ci(it,at){if(!it||/^\s*$/.test(it))return null;var dt=at.addModeClass?di:dn;return dt[it]||(dt[it]=it.replace(/\S+/g,"cm-$&"))}function he(it,at){var dt=le("span",null,null,oe?"padding-right: .1px":null),ht={pre:le("pre",[dt],"CodeMirror-line"),content:dt,col:0,pos:0,cm:it,trailingSpace:!1,splitSpaces:it.getOption("lineWrapping")};at.measure={};for(var pt=0;pt<=(at.rest?at.rest.length:0);pt++){var At=pt?at.rest[pt-1]:at.line,zt=void 0;ht.pos=0,ht.addToken=Xn,_n(it.display.measure)&&(zt=Pn(At,it.doc.direction))&&(ht.addToken=Tn(ht.addToken,zt)),ht.map=[];var Ut=at!=it.display.externalMeasured&&Qt(At);bi(At,ht,jr(it,At,Ut)),At.styleClasses&&(At.styleClasses.bgClass&&(ht.bgClass=Sn(At.styleClasses.bgClass,ht.bgClass||"")),At.styleClasses.textClass&&(ht.textClass=Sn(At.styleClasses.textClass,ht.textClass||""))),ht.map.length==0&&ht.map.push(0,0,ht.content.appendChild(nr(it.display.measure))),pt==0?(at.measure.map=ht.map,at.measure.cache={}):((at.measure.maps||(at.measure.maps=[])).push(ht.map),(at.measure.caches||(at.measure.caches=[])).push({}))}if(oe){var Kt=ht.content.lastChild;(/\bcm-tab\b/.test(Kt.className)||Kt.querySelector&&Kt.querySelector(".cm-tab"))&&(ht.content.className="cm-tab-wrap-hack")}return mn(it,"renderLine",it,at.line,ht.pre),ht.pre.className&&(ht.textClass=Sn(ht.pre.className,ht.textClass||"")),ht}function ti(it){var at=Vt("span","\u2022","cm-invalidchar");return at.title="\\u"+it.charCodeAt(0).toString(16),at.setAttribute("aria-label",at.title),at}function Xn(it,at,dt,ht,pt,At,zt){if(at){var Ut=it.splitSpaces?jn(at,it.trailingSpace):at,Kt=it.cm.state.specialChars,ue=!1,tn;if(!Kt.test(at))it.col+=at.length,tn=document.createTextNode(Ut),it.map.push(it.pos,it.pos+at.length,tn),ne&&Ht<9&&(ue=!0),it.pos+=at.length;else{tn=document.createDocumentFragment();for(var ye=0;;){Kt.lastIndex=ye;var kn=Kt.exec(at),wn=kn?kn.index-ye:at.length-ye;if(wn){var zi=document.createTextNode(Ut.slice(ye,ye+wn));ne&&Ht<9?tn.appendChild(Vt("span",[zi])):tn.appendChild(zi),it.map.push(it.pos,it.pos+wn,zi),it.col+=wn,it.pos+=wn}if(!kn)break;ye+=wn+1;var Ki=void 0;if(kn[0]==" "){var ar=it.cm.options.tabSize,Mr=ar-it.col%ar;Ki=tn.appendChild(Vt("span",de(Mr),"cm-tab")),Ki.setAttribute("role","presentation"),Ki.setAttribute("cm-text"," "),it.col+=Mr}else kn[0]=="\r"||kn[0]==` `?(Ki=tn.appendChild(Vt("span",kn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ki.setAttribute("cm-text",kn[0]),it.col+=1):(Ki=it.cm.options.specialCharPlaceholder(kn[0]),Ki.setAttribute("cm-text",kn[0]),ne&&Ht<9?tn.appendChild(Vt("span",[Ki])):tn.appendChild(Ki),it.col+=1);it.map.push(it.pos,it.pos+1,Ki),it.pos++}}if(it.trailingSpace=Ut.charCodeAt(at.length-1)==32,dt||ht||pt||ue||At||zt){var Jr=dt||"";ht&&(Jr+=ht),pt&&(Jr+=pt);var Rr=Vt("span",[tn],Jr,At);if(zt)for(var eo in zt)zt.hasOwnProperty(eo)&&eo!="style"&&eo!="class"&&Rr.setAttribute(eo,zt[eo]);return it.content.appendChild(Rr)}it.content.appendChild(tn)}}function jn(it,at){if(it.length>1&&!/ /.test(it))return it;for(var dt=at,ht="",pt=0;ptue&&ye.from<=ue));kn++);if(ye.to>=tn)return it(dt,ht,pt,At,zt,Ut,Kt);it(dt,ht.slice(0,ye.to-ue),pt,At,null,Ut,Kt),At=null,ht=ht.slice(ye.to-ue),ue=ye.to}}}function Ei(it,at,dt,ht){var pt=!ht&&dt.widgetNode;pt&&it.map.push(it.pos,it.pos+at,pt),!ht&&it.cm.display.input.needsContentAttribute&&(pt||(pt=it.content.appendChild(document.createElement("span"))),pt.setAttribute("cm-marker",dt.id)),pt&&(it.cm.display.input.setUneditable(pt),it.content.appendChild(pt)),it.pos+=at,it.trailingSpace=!1}function bi(it,at,dt){var ht=it.markedSpans,pt=it.text,At=0;if(!ht){for(var zt=1;ztKt||Ko.collapsed&&Br.to==Kt&&Br.from==Kt)){if(Br.to!=null&&Br.to!=Kt&&wn>Br.to&&(wn=Br.to,Ki=""),Ko.className&&(zi+=" "+Ko.className),Ko.css&&(kn=(kn?kn+";":"")+Ko.css),Ko.startStyle&&Br.from==Kt&&(ar+=" "+Ko.startStyle),Ko.endStyle&&Br.to==wn&&(eo||(eo=[])).push(Ko.endStyle,Br.to),Ko.title&&((Jr||(Jr={})).title=Ko.title),Ko.attributes)for(var Ba in Ko.attributes)(Jr||(Jr={}))[Ba]=Ko.attributes[Ba];Ko.collapsed&&(!Mr||Xi(Mr.marker,Ko)<0)&&(Mr=Br)}else Br.from>Kt&&wn>Br.from&&(wn=Br.from)}if(eo)for(var ms=0;ms=Ut)break;for(var sl=Math.min(Ut,wn);;){if(tn){var Vs=Kt+tn.length;if(!Mr){var cs=Vs>sl?tn.slice(0,sl-Kt):tn;at.addToken(at,cs,ye?ye+zi:zi,ar,Kt+cs.length==wn?Ki:"",kn,Jr)}if(Vs>=sl){tn=tn.slice(sl-Kt),Kt=sl;break}Kt=Vs,ar=""}tn=pt.slice(At,At=dt[ue++]),ye=Ci(dt[ue++],at.cm.options)}}}function mi(it,at,dt){this.line=at,this.rest=ei(at),this.size=this.rest?Qt(ke(this.rest))-dt+1:1,this.node=this.text=null,this.hidden=Yt(it,at)}function ni(it,at,dt){for(var ht=[],pt,At=at;At2&&At.push((Kt.bottom+ue.top)/2-dt.top)}}At.push(dt.bottom-dt.top)}}function oo(it,at,dt){if(it.line==at)return{map:it.measure.map,cache:it.measure.cache};for(var ht=0;htdt)return{map:it.measure.maps[pt],cache:it.measure.caches[pt],before:!0}}function ta(it,at){at=Kn(at);var dt=Qt(at),ht=it.display.externalMeasured=new mi(it.doc,at,dt);ht.lineN=dt;var pt=ht.built=he(it,ht);return ht.text=pt.pre,Jt(it.display.lineMeasure,pt.pre),ht}function Mo(it,at,dt,ht){return Yo(it,Fo(it,at),dt,ht)}function na(it,at){if(at>=it.display.viewFrom&&at=dt.lineN&&atat)&&(At=Kt-Ut,pt=At-1,at>=Kt&&(zt="right")),pt!=null){if(ht=it[ue+2],Ut==Kt&&dt==(ht.insertLeft?"left":"right")&&(zt=dt),dt=="left"&&pt==0)for(;ue&&it[ue-2]==it[ue-3]&&it[ue-1].insertLeft;)ht=it[(ue-=3)+2],zt="left";if(dt=="right"&&pt==Kt-Ut)for(;ue=0&&(dt=it[pt]).left==dt.right;pt--);return dt}function Ao(it,at,dt,ht){var pt=Qo(at.map,dt,ht),At=pt.node,zt=pt.start,Ut=pt.end,Kt=pt.collapse,ue;if(At.nodeType==3){for(var tn=0;tn<4;tn++){for(;zt&&Ce(at.line.text.charAt(pt.coverStart+zt));)--zt;for(;pt.coverStart+Ut0&&(Kt=ht="right");var ye;it.options.lineWrapping&&(ye=At.getClientRects()).length>1?ue=ye[ht=="right"?ye.length-1:0]:ue=At.getBoundingClientRect()}if(ne&&Ht<9&&!zt&&(!ue||!ue.left&&!ue.right)){var kn=At.parentNode.getClientRects()[0];kn?ue={left:kn.left,right:kn.left+Ga(it.display),top:kn.top,bottom:kn.bottom}:ue=ia}for(var wn=ue.top-at.rect.top,zi=ue.bottom-at.rect.top,Ki=(wn+zi)/2,ar=at.view.measure.heights,Mr=0;Mr=ht.text.length?(Kt=ht.text.length,ue="before"):Kt<=0&&(Kt=0,ue="after"),!Ut)return zt(ue=="before"?Kt-1:Kt,ue=="before");function tn(zi,Ki,ar){var Mr=Ut[Ki],Jr=Mr.level==1;return zt(ar?zi-1:zi,Jr!=ar)}var ye=_e(Ut,Kt,ue),kn=Le,wn=tn(Kt,ye,ue=="before");return kn!=null&&(wn.other=tn(Kt,kn,ue!="before")),wn}function lr(it,at){var dt=0;at=hi(it.doc,at),it.options.lineWrapping||(dt=Ga(it.display)*at.ch);var ht=cn(it.doc,at.line),pt=xe(ht)+vr(it.display);return{left:dt,right:dt,top:pt,bottom:pt+ht.height}}function Ir(it,at,dt,ht,pt){var At=Xe(it,at,dt);return At.xRel=pt,ht&&(At.outside=ht),At}function wr(it,at,dt){var ht=it.doc;if(dt+=it.display.viewOffset,dt<0)return Ir(ht.first,0,null,-1,-1);var pt=Me(ht,dt),At=ht.first+ht.size-1;if(pt>At)return Ir(ht.first+ht.size-1,cn(ht,At).text.length,null,1,1);at<0&&(at=0);for(var zt=cn(ht,pt);;){var Ut=Ln(it,zt,pt,at,dt),Kt=si(zt,Ut.ch+(Ut.xRel>0||Ut.outside>0?1:0));if(!Kt)return Ut;var ue=Kt.find(1);if(ue.line==pt)return ue;zt=cn(ht,pt=ue.line)}}function pi(it,at,dt,ht){ht-=vo(at);var pt=at.text.length,At=on(function(zt){return Yo(it,dt,zt-1).bottom<=ht},pt,0);return pt=on(function(zt){return Yo(it,dt,zt).top>ht},At,pt),{begin:At,end:pt}}function Zo(it,at,dt,ht){dt||(dt=Fo(it,at));var pt=_o(it,at,Yo(it,dt,ht),"line").top;return pi(it,at,dt,pt)}function ce(it,at,dt,ht){return it.bottom<=dt?!1:it.top>dt?!0:(ht?it.left:it.right)>at}function Ln(it,at,dt,ht,pt){pt-=xe(at);var At=Fo(it,at),zt=vo(at),Ut=0,Kt=at.text.length,ue=!0,tn=Pn(at,it.doc.direction);if(tn){var ye=(it.options.lineWrapping?ja:za)(it,at,dt,At,tn,ht,pt);ue=ye.level!=1,Ut=ue?ye.from:ye.to-1,Kt=ue?ye.to:ye.from-1}var kn=null,wn=null,zi=on(function(Lo){var Br=Yo(it,At,Lo);return Br.top+=zt,Br.bottom+=zt,ce(Br,ht,pt,!1)?(Br.top<=pt&&Br.left<=ht&&(kn=Lo,wn=Br),!0):!1},Ut,Kt),Ki,ar,Mr=!1;if(wn){var Jr=ht-wn.left=eo.bottom?1:0}return zi=be(at.text,zi,1),Ir(dt,zi,ar,Mr,ht-Ki)}function za(it,at,dt,ht,pt,At,zt){var Ut=on(function(ye){var kn=pt[ye],wn=kn.level!=1;return ce(Lr(it,Xe(dt,wn?kn.to:kn.from,wn?"before":"after"),"line",at,ht),At,zt,!0)},0,pt.length-1),Kt=pt[Ut];if(Ut>0){var ue=Kt.level!=1,tn=Lr(it,Xe(dt,ue?Kt.from:Kt.to,ue?"after":"before"),"line",at,ht);ce(tn,At,zt,!0)&&tn.top>zt&&(Kt=pt[Ut-1])}return Kt}function ja(it,at,dt,ht,pt,At,zt){var Ut=pi(it,at,ht,zt),Kt=Ut.begin,ue=Ut.end;/\s/.test(at.text.charAt(ue-1))&&ue--;for(var tn=null,ye=null,kn=0;kn=ue||wn.to<=Kt)){var zi=wn.level!=1,Ki=Yo(it,ht,zi?Math.min(ue,wn.to)-1:Math.max(Kt,wn.from)).right,ar=Kiar)&&(tn=wn,ye=ar)}}return tn||(tn=pt[pt.length-1]),tn.fromue&&(tn={from:tn.from,to:ue,level:tn.level}),tn}var da;function ca(it){if(it.cachedTextHeight!=null)return it.cachedTextHeight;if(da==null){da=Vt("pre",null,"CodeMirror-line-like");for(var at=0;at<49;++at)da.appendChild(document.createTextNode("x")),da.appendChild(Vt("br"));da.appendChild(document.createTextNode("x"))}Jt(it.measure,da);var dt=da.offsetHeight/50;return dt>3&&(it.cachedTextHeight=dt),te(it.measure),dt||1}function Ga(it){if(it.cachedCharWidth!=null)return it.cachedCharWidth;var at=Vt("span","xxxxxxxxxx"),dt=Vt("pre",[at],"CodeMirror-line-like");Jt(it.measure,dt);var ht=at.getBoundingClientRect(),pt=(ht.right-ht.left)/10;return pt>2&&(it.cachedCharWidth=pt),pt||10}function Ta(it){for(var at=it.display,dt={},ht={},pt=at.gutters.clientLeft,At=at.gutters.firstChild,zt=0;At;At=At.nextSibling,++zt){var Ut=it.display.gutterSpecs[zt].className;dt[Ut]=At.offsetLeft+At.clientLeft+pt,ht[Ut]=At.clientWidth}return{fixedPos:Hs(at),gutterTotalWidth:at.gutters.offsetWidth,gutterLeft:dt,gutterWidth:ht,wrapperWidth:at.wrapper.clientWidth}}function Hs(it){return it.scroller.getBoundingClientRect().left-it.sizer.getBoundingClientRect().left}function aa(it){var at=ca(it.display),dt=it.options.lineWrapping,ht=dt&&Math.max(5,it.display.scroller.clientWidth/Ga(it.display)-3);return function(pt){if(Yt(it.doc,pt))return 0;var At=0;if(pt.widgets)for(var zt=0;zt0&&(ue=cn(it.doc,Kt.line).text).length==Kt.ch){var tn=$t(ue,ue.length,it.options.tabSize)-ue.length;Kt=Xe(Kt.line,Math.max(0,Math.round((At-$r(it.display).left)/Ga(it.display))-tn))}return Kt}function $a(it,at){if(at>=it.display.viewTo||(at-=it.display.viewFrom,at<0))return null;for(var dt=it.display.view,ht=0;htat)&&(pt.updateLineNumbers=at),it.curOp.viewChanged=!0,at>=pt.viewTo)pn&&Ft(it.doc,at)pt.viewFrom?ga(it):(pt.viewFrom+=ht,pt.viewTo+=ht);else if(at<=pt.viewFrom&&dt>=pt.viewTo)ga(it);else if(at<=pt.viewFrom){var At=ls(it,dt,dt+ht,1);At?(pt.view=pt.view.slice(At.index),pt.viewFrom=At.lineN,pt.viewTo+=ht):ga(it)}else if(dt>=pt.viewTo){var zt=ls(it,at,at,-1);zt?(pt.view=pt.view.slice(0,zt.index),pt.viewTo=zt.lineN):ga(it)}else{var Ut=ls(it,at,at,-1),Kt=ls(it,dt,dt+ht,1);Ut&&Kt?(pt.view=pt.view.slice(0,Ut.index).concat(ni(it,Ut.lineN,Kt.lineN)).concat(pt.view.slice(Kt.index)),pt.viewTo+=ht):ga(it)}var ue=pt.externalMeasured;ue&&(dt=pt.lineN&&at=ht.viewTo)){var At=ht.view[$a(it,at)];if(At.node!=null){var zt=At.changes||(At.changes=[]);Pe(zt,dt)==-1&&zt.push(dt)}}}function ga(it){it.display.viewFrom=it.display.viewTo=it.doc.first,it.display.view=[],it.display.viewOffset=0}function ls(it,at,dt,ht){var pt=$a(it,at),At,zt=it.display.view;if(!pn||dt==it.doc.first+it.doc.size)return{index:pt,lineN:dt};for(var Ut=it.display.viewFrom,Kt=0;Kt0){if(pt==zt.length-1)return null;At=Ut+zt[pt].size-at,pt++}else At=Ut-at;at+=At,dt+=At}for(;Ft(it.doc,dt)!=dt;){if(pt==(ht<0?0:zt.length-1))return null;dt+=ht*zt[pt-(ht<0?1:0)].size,pt+=ht}return{index:pt,lineN:dt}}function ra(it,at,dt){var ht=it.display,pt=ht.view;pt.length==0||at>=ht.viewTo||dt<=ht.viewFrom?(ht.view=ni(it,at,dt),ht.viewFrom=at):(ht.viewFrom>at?ht.view=ni(it,at,ht.viewFrom).concat(ht.view):ht.viewFromdt&&(ht.view=ht.view.slice(0,$a(it,dt)))),ht.viewTo=dt}function us(it){for(var at=it.display.view,dt=0,ht=0;ht=it.display.viewTo||Ut.to().line0?at.blinker=setInterval(function(){it.hasFocus()||fl(it),at.cursorDiv.style.visibility=(dt=!dt)?"":"hidden"},it.options.cursorBlinkRate):it.options.cursorBlinkRate<0&&(at.cursorDiv.style.visibility="hidden")}}function ua(it){it.state.focused||(it.display.input.focus(),Xo(it))}function pa(it){it.state.delayingBlurEvent=!0,setTimeout(function(){it.state.delayingBlurEvent&&(it.state.delayingBlurEvent=!1,fl(it))},100)}function Xo(it,at){it.state.delayingBlurEvent&&(it.state.delayingBlurEvent=!1),it.options.readOnly!="nocursor"&&(it.state.focused||(mn(it,"focus",it,at),it.state.focused=!0,Ee(it.display.wrapper,"CodeMirror-focused"),!it.curOp&&it.display.selForContextMenu!=it.doc.sel&&(it.display.input.reset(),oe&&setTimeout(function(){return it.display.input.reset(!0)},20)),it.display.input.receivedFocus()),Uo(it))}function fl(it,at){it.state.delayingBlurEvent||(it.state.focused&&(mn(it,"blur",it,at),it.state.focused=!1,Wt(it.display.wrapper,"CodeMirror-focused")),clearInterval(it.display.blinker),setTimeout(function(){it.state.focused||(it.display.shift=!1)},150))}function Qr(it){for(var at=it.display,dt=at.lineDiv.offsetTop,ht=0;ht.005||tn<-.005)&&(Yn(pt.line,zt),pu(pt.line),pt.rest))for(var ye=0;yeit.display.sizerWidth){var kn=Math.ceil(Ut/Ga(it.display));kn>it.display.maxLineLength&&(it.display.maxLineLength=kn,it.display.maxLine=pt.line,it.display.maxLineChanged=!0)}}}}function pu(it){if(it.widgets)for(var at=0;at=zt&&(At=Me(at,xe(cn(at,Kt))-it.wrapper.clientHeight),zt=Kt)}return{from:At,to:Math.max(zt,At+1)}}function Gl(it,at){if(!zn(it,"scrollCursorIntoView")){var dt=it.display,ht=dt.sizer.getBoundingClientRect(),pt=null;if(at.top+ht.top<0?pt=!0:at.bottom+ht.top>(window.innerHeight||document.documentElement.clientHeight)&&(pt=!1),pt!=null&&!nn){var At=Vt("div","\u200B",null,`position: absolute; top: `+(at.top-dt.viewOffset-vr(it.display))+`px; height: `+(at.bottom-at.top+Ur(it)+dt.barHeight)+`px; left: `+at.left+"px; width: "+Math.max(2,at.right-at.left)+"px;");it.display.lineSpace.appendChild(At),At.scrollIntoView(pt),it.display.lineSpace.removeChild(At)}}}function Qs(it,at,dt,ht){ht==null&&(ht=0);var pt;!it.options.lineWrapping&&at==dt&&(at=at.ch?Xe(at.line,at.sticky=="before"?at.ch-1:at.ch,"after"):at,dt=at.sticky=="before"?Xe(at.line,at.ch+1,"before"):at);for(var At=0;At<5;At++){var zt=!1,Ut=Lr(it,at),Kt=!dt||dt==at?Ut:Lr(it,dt);pt={left:Math.min(Ut.left,Kt.left),top:Math.min(Ut.top,Kt.top)-ht,right:Math.max(Ut.left,Kt.left),bottom:Math.max(Ut.bottom,Kt.bottom)+ht};var ue=mu(it,pt),tn=it.doc.scrollTop,ye=it.doc.scrollLeft;if(ue.scrollTop!=null&&(gl(it,ue.scrollTop),Math.abs(it.doc.scrollTop-tn)>1&&(zt=!0)),ue.scrollLeft!=null&&(pl(it,ue.scrollLeft),Math.abs(it.doc.scrollLeft-ye)>1&&(zt=!0)),!zt)break}return pt}function Fl(it,at){var dt=mu(it,at);dt.scrollTop!=null&&gl(it,dt.scrollTop),dt.scrollLeft!=null&&pl(it,dt.scrollLeft)}function mu(it,at){var dt=it.display,ht=ca(it.display);at.top<0&&(at.top=0);var pt=it.curOp&&it.curOp.scrollTop!=null?it.curOp.scrollTop:dt.scroller.scrollTop,At=xo(it),zt={};at.bottom-at.top>At&&(at.bottom=at.top+At);var Ut=it.doc.height+to(dt),Kt=at.topUt-ht;if(at.toppt+At){var tn=Math.min(at.top,(ue?Ut:at.bottom)-At);tn!=pt&&(zt.scrollTop=tn)}var ye=it.options.fixedGutter?0:dt.gutters.offsetWidth,kn=it.curOp&&it.curOp.scrollLeft!=null?it.curOp.scrollLeft:dt.scroller.scrollLeft-ye,wn=mo(it)-dt.gutters.offsetWidth,zi=at.right-at.left>wn;return zi&&(at.right=at.left+wn),at.left<10?zt.scrollLeft=0:at.leftwn+kn-3&&(zt.scrollLeft=at.right+(zi?0:10)-wn),zt}function vu(it,at){at!=null&&(Ws(it),it.curOp.scrollTop=(it.curOp.scrollTop==null?it.doc.scrollTop:it.curOp.scrollTop)+at)}function Zs(it){Ws(it);var at=it.getCursor();it.curOp.scrollToPos={from:at,to:at,margin:it.options.cursorScrollMargin}}function Vl(it,at,dt){(at!=null||dt!=null)&&Ws(it),at!=null&&(it.curOp.scrollLeft=at),dt!=null&&(it.curOp.scrollTop=dt)}function Go(it,at){Ws(it),it.curOp.scrollToPos=at}function Ws(it){var at=it.curOp.scrollToPos;if(at){it.curOp.scrollToPos=null;var dt=lr(it,at.from),ht=lr(it,at.to);yu(it,dt,ht,at.margin)}}function yu(it,at,dt,ht){var pt=mu(it,{left:Math.min(at.left,dt.left),top:Math.min(at.top,dt.top)-ht,right:Math.max(at.right,dt.right),bottom:Math.max(at.bottom,dt.bottom)+ht});Vl(it,pt.scrollLeft,pt.scrollTop)}function gl(it,at){Math.abs(it.doc.scrollTop-at)<2||(Lt||fh(it,{top:at}),Fu(it,at,!0),Lt&&fh(it),ns(it,100))}function Fu(it,at,dt){at=Math.max(0,Math.min(it.display.scroller.scrollHeight-it.display.scroller.clientHeight,at)),!(it.display.scroller.scrollTop==at&&!dt)&&(it.doc.scrollTop=at,it.display.scrollbars.setScrollTop(at),it.display.scroller.scrollTop!=at&&(it.display.scroller.scrollTop=at))}function pl(it,at,dt,ht){at=Math.max(0,Math.min(at,it.display.scroller.scrollWidth-it.display.scroller.clientWidth)),!((dt?at==it.doc.scrollLeft:Math.abs(it.doc.scrollLeft-at)<2)&&!ht)&&(it.doc.scrollLeft=at,nf(it),it.display.scroller.scrollLeft!=at&&(it.display.scroller.scrollLeft=at),it.display.scrollbars.setScrollLeft(at))}function Eo(it){var at=it.display,dt=at.gutters.offsetWidth,ht=Math.round(it.doc.height+to(it.display));return{clientHeight:at.scroller.clientHeight,viewHeight:at.wrapper.clientHeight,scrollWidth:at.scroller.scrollWidth,clientWidth:at.scroller.clientWidth,viewWidth:at.wrapper.clientWidth,barLeft:it.options.fixedGutter?dt:0,docHeight:ht,scrollHeight:ht+Ur(it)+at.barHeight,nativeBarWidth:at.nativeBarWidth,gutterWidth:dt}}var Wo=function(it,at,dt){this.cm=dt;var ht=this.vert=Vt("div",[Vt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),pt=this.horiz=Vt("div",[Vt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ht.tabIndex=pt.tabIndex=-1,it(ht),it(pt),en(ht,"scroll",function(){ht.clientHeight&&at(ht.scrollTop,"vertical")}),en(pt,"scroll",function(){pt.clientWidth&&at(pt.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ne&&Ht<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Wo.prototype.update=function(it){var at=it.scrollWidth>it.clientWidth+1,dt=it.scrollHeight>it.clientHeight+1,ht=it.nativeBarWidth;if(dt){this.vert.style.display="block",this.vert.style.bottom=at?ht+"px":"0";var pt=it.viewHeight-(at?ht:0);this.vert.firstChild.style.height=Math.max(0,it.scrollHeight-it.clientHeight+pt)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(at){this.horiz.style.display="block",this.horiz.style.right=dt?ht+"px":"0",this.horiz.style.left=it.barLeft+"px";var At=it.viewWidth-it.barLeft-(dt?ht:0);this.horiz.firstChild.style.width=Math.max(0,it.scrollWidth-it.clientWidth+At)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&it.clientHeight>0&&(ht==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:dt?ht:0,bottom:at?ht:0}},Wo.prototype.setScrollLeft=function(it){this.horiz.scrollLeft!=it&&(this.horiz.scrollLeft=it),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Wo.prototype.setScrollTop=function(it){this.vert.scrollTop!=it&&(this.vert.scrollTop=it),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Wo.prototype.zeroWidthHack=function(){var it=ct&&!ie?"12px":"18px";this.horiz.style.height=this.vert.style.width=it,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new It,this.disableVert=new It},Wo.prototype.enableZeroWidthBar=function(it,at,dt){it.style.pointerEvents="auto";function ht(){var pt=it.getBoundingClientRect(),At=dt=="vert"?document.elementFromPoint(pt.right-1,(pt.top+pt.bottom)/2):document.elementFromPoint((pt.right+pt.left)/2,pt.bottom-1);At!=it?it.style.pointerEvents="none":at.set(1e3,ht)}at.set(1e3,ht)},Wo.prototype.clear=function(){var it=this.horiz.parentNode;it.removeChild(this.horiz),it.removeChild(this.vert)};var wa=function(){};wa.prototype.update=function(){return{bottom:0,right:0}},wa.prototype.setScrollLeft=function(){},wa.prototype.setScrollTop=function(){},wa.prototype.clear=function(){};function ts(it,at){at||(at=Eo(it));var dt=it.display.barWidth,ht=it.display.barHeight;Ja(it,at);for(var pt=0;pt<4&&dt!=it.display.barWidth||ht!=it.display.barHeight;pt++)dt!=it.display.barWidth&&it.options.lineWrapping&&Qr(it),Ja(it,Eo(it)),dt=it.display.barWidth,ht=it.display.barHeight}function Ja(it,at){var dt=it.display,ht=dt.scrollbars.update(at);dt.sizer.style.paddingRight=(dt.barWidth=ht.right)+"px",dt.sizer.style.paddingBottom=(dt.barHeight=ht.bottom)+"px",dt.heightForcer.style.borderBottom=ht.bottom+"px solid transparent",ht.right&&ht.bottom?(dt.scrollbarFiller.style.display="block",dt.scrollbarFiller.style.height=ht.bottom+"px",dt.scrollbarFiller.style.width=ht.right+"px"):dt.scrollbarFiller.style.display="",ht.bottom&&it.options.coverGutterNextToScrollbar&&it.options.fixedGutter?(dt.gutterFiller.style.display="block",dt.gutterFiller.style.height=ht.bottom+"px",dt.gutterFiller.style.width=at.gutterWidth+"px"):dt.gutterFiller.style.display=""}var Nl={native:Wo,null:wa};function ml(it){it.display.scrollbars&&(it.display.scrollbars.clear(),it.display.scrollbars.addClass&&Wt(it.display.wrapper,it.display.scrollbars.addClass)),it.display.scrollbars=new Nl[it.options.scrollbarStyle](function(at){it.display.wrapper.insertBefore(at,it.display.scrollbarFiller),en(at,"mousedown",function(){it.state.focused&&setTimeout(function(){return it.display.input.focus()},0)}),at.setAttribute("cm-not-content","true")},function(at,dt){dt=="horizontal"?pl(it,at):gl(it,at)},it),it.display.scrollbars.addClass&&Ee(it.display.wrapper,it.display.scrollbars.addClass)}var Do=0;function fo(it){it.curOp={cm:it,viewChanged:!1,startHeight:it.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Do},Ti(it.curOp)}function Ka(it){var at=it.curOp;at&&mr(at,function(dt){for(var ht=0;ht=dt.viewTo)||dt.maxLineChanged&&at.options.lineWrapping,it.update=it.mustUpdate&&new Xh(at,it.mustUpdate&&{top:it.scrollTop,ensure:it.scrollToPos},it.forceUpdate)}function hg(it){it.updatedDisplay=it.mustUpdate&&ef(it.cm,it.update)}function tf(it){var at=it.cm,dt=at.display;it.updatedDisplay&&Qr(at),it.barMeasure=Eo(at),dt.maxLineChanged&&!at.options.lineWrapping&&(it.adjustWidthTo=Mo(at,dt.maxLine,dt.maxLine.text.length).left+3,at.display.sizerWidth=it.adjustWidthTo,it.barMeasure.scrollWidth=Math.max(dt.scroller.clientWidth,dt.sizer.offsetLeft+it.adjustWidthTo+Ur(at)+at.display.barWidth),it.maxScrollLeft=Math.max(0,dt.sizer.offsetLeft+it.adjustWidthTo-mo(at))),(it.updatedDisplay||it.selectionChanged)&&(it.preparedSelection=dt.input.prepareSelection())}function Ha(it){var at=it.cm;it.adjustWidthTo!=null&&(at.display.sizer.style.minWidth=it.adjustWidthTo+"px",it.maxScrollLeft=it.display.viewTo)){var dt=+new Date+it.options.workTime,ht=so(it,at.highlightFrontier),pt=[];at.iter(ht.line,Math.min(at.first+at.size,it.display.viewTo+500),function(At){if(ht.line>=it.display.viewFrom){var zt=At.styles,Ut=At.text.length>it.options.maxHighlightLength?Oi(at.mode,ht.state):null,Kt=Fr(it,At,ht,!0);Ut&&(ht.state=Ut),At.styles=Kt.styles;var ue=At.styleClasses,tn=Kt.classes;tn?At.styleClasses=tn:ue&&(At.styleClasses=null);for(var ye=!zt||zt.length!=At.styles.length||ue!=tn&&(!ue||!tn||ue.bgClass!=tn.bgClass||ue.textClass!=tn.textClass),kn=0;!ye&&kndt)return ns(it,it.options.workDelay),!0}),at.highlightFrontier=ht.line,at.modeFrontier=Math.max(at.modeFrontier,ht.line),pt.length&&io(it,function(){for(var At=0;At=dt.viewFrom&&at.visible.to<=dt.viewTo&&(dt.updateLineNumbers==null||dt.updateLineNumbers>=dt.viewTo)&&dt.renderedView==dt.view&&us(it)==0)return!1;ss(it)&&(ga(it),at.dims=Ta(it));var pt=ht.first+ht.size,At=Math.max(at.visible.from-it.options.viewportMargin,ht.first),zt=Math.min(pt,at.visible.to+it.options.viewportMargin);dt.viewFromzt&&dt.viewTo-zt<20&&(zt=Math.min(pt,dt.viewTo)),pn&&(At=Ft(it.doc,At),zt=se(it.doc,zt));var Ut=At!=dt.viewFrom||zt!=dt.viewTo||dt.lastWrapHeight!=at.wrapperHeight||dt.lastWrapWidth!=at.wrapperWidth;ra(it,At,zt),dt.viewOffset=xe(cn(it.doc,dt.viewFrom)),it.display.mover.style.top=dt.viewOffset+"px";var Kt=us(it);if(!Ut&&Kt==0&&!at.force&&dt.renderedView==dt.view&&(dt.updateLineNumbers==null||dt.updateLineNumbers>=dt.viewTo))return!1;var ue=Wp(it);return Kt>4&&(dt.lineDiv.style.display="none"),dg(it,dt.updateLineNumbers,at.dims),Kt>4&&(dt.lineDiv.style.display=""),dt.renderedView=dt.view,ol(ue),te(dt.cursorDiv),te(dt.selectionDiv),dt.gutters.style.height=dt.sizer.style.minHeight=0,Ut&&(dt.lastWrapHeight=at.wrapperHeight,dt.lastWrapWidth=at.wrapperWidth,ns(it,400)),dt.updateLineNumbers=null,!0}function va(it,at){for(var dt=at.viewport,ht=!0;;ht=!1){if(!ht||!it.options.lineWrapping||at.oldDisplayWidth==mo(it)){if(dt&&dt.top!=null&&(dt={top:Math.min(it.doc.height+to(it.display)-xo(it),dt.top)}),at.visible=wo(it.display,it.doc,dt),at.visible.from>=it.display.viewFrom&&at.visible.to<=it.display.viewTo)break}else ht&&(at.visible=wo(it.display,it.doc,dt));if(!ef(it,at))break;Qr(it);var pt=Eo(it);Da(it),ts(it,pt),ph(it,pt),at.force=!1}at.signal(it,"update",it),(it.display.viewFrom!=it.display.reportedViewFrom||it.display.viewTo!=it.display.reportedViewTo)&&(at.signal(it,"viewportChange",it,it.display.viewFrom,it.display.viewTo),it.display.reportedViewFrom=it.display.viewFrom,it.display.reportedViewTo=it.display.viewTo)}function fh(it,at){var dt=new Xh(it,at);if(ef(it,dt)){Qr(it),va(it,dt);var ht=Eo(it);Da(it),ts(it,ht),ph(it,ht),dt.finish()}}function dg(it,at,dt){var ht=it.display,pt=it.options.lineNumbers,At=ht.lineDiv,zt=At.firstChild;function Ut(zi){var Ki=zi.nextSibling;return oe&&ct&&it.display.currentWheelTarget==zi?zi.style.display="none":zi.parentNode.removeChild(zi),Ki}for(var Kt=ht.view,ue=ht.viewFrom,tn=0;tn-1&&(wn=!1),ur(it,ye,ue,dt)),wn&&(te(ye.lineNumber),ye.lineNumber.appendChild(document.createTextNode(qn(it.options,ue)))),zt=ye.node.nextSibling}ue+=ye.size}for(;zt;)zt=Ut(zt)}function gh(it){var at=it.gutters.offsetWidth;it.sizer.style.marginLeft=at+"px"}function ph(it,at){it.display.sizer.style.minHeight=at.docHeight+"px",it.display.heightForcer.style.top=at.docHeight+"px",it.display.gutters.style.height=at.docHeight+it.display.barHeight+Ur(it)+"px"}function nf(it){var at=it.display,dt=at.view;if(!(!at.alignWidgets&&(!at.gutters.firstChild||!it.options.fixedGutter))){for(var ht=Hs(at)-at.scroller.scrollLeft+it.doc.scrollLeft,pt=at.gutters.offsetWidth,At=ht+"px",zt=0;ztzt.clientWidth,Kt=zt.scrollHeight>zt.clientHeight;if(ht&&Ut||pt&&Kt){if(pt&&ct&&oe){t:for(var ue=at.target,tn=At.view;ue!=zt;ue=ue.parentNode)for(var ye=0;ye=0&&ri(it,ht.to())<=0)return dt}return-1};var ya=function(it,at){this.anchor=it,this.head=at};ya.prototype.from=function(){return ai(this.anchor,this.head)},ya.prototype.to=function(){return ir(this.anchor,this.head)},ya.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ru(it,at,dt){var ht=it&&it.options.selectionsMayTouch,pt=at[dt];at.sort(function(kn,wn){return ri(kn.from(),wn.from())}),dt=Pe(at,pt);for(var At=1;At0:Kt>=0){var ue=ai(Ut.from(),zt.from()),tn=ir(Ut.to(),zt.to()),ye=Ut.empty()?zt.from()==zt.head:Ut.from()==Ut.head;At<=dt&&--dt,at.splice(--At,2,new ya(ye?tn:ue,ye?ue:tn))}}return new Kl(at,dt)}function Qu(it,at){return new Kl([new ya(it,at||it)],0)}function vh(it){return it.text?Xe(it.from.line+it.text.length-1,ke(it.text).length+(it.text.length==1?it.from.ch:0)):it.to}function Uh(it,at){if(ri(it,at.from)<0)return it;if(ri(it,at.to)<=0)return vh(at);var dt=it.line+at.text.length-(at.to.line-at.from.line)-1,ht=it.ch;return it.line==at.to.line&&(ht+=vh(at).ch-at.to.ch),Xe(dt,ht)}function hc(it,at){for(var dt=[],ht=0;ht1&&it.remove(Ut.line+1,zi-1),it.insert(Ut.line+1,Mr)}Si(it,"change",it,at)}function xu(it,at,dt){function ht(pt,At,zt){if(pt.linked)for(var Ut=0;Ut1&&!it.done[it.done.length-2].ranges)return it.done.pop(),ke(it.done)}function pc(it,at,dt,ht){var pt=it.history;pt.undone.length=0;var At=+new Date,zt,Ut;if((pt.lastOp==ht||pt.lastOrigin==at.origin&&at.origin&&(at.origin.charAt(0)=="+"&&pt.lastModTime>At-(it.cm?it.cm.options.historyEventDelay:500)||at.origin.charAt(0)=="*"))&&(zt=gc(pt,pt.lastOp==ht)))Ut=ke(zt.changes),ri(at.from,at.to)==0&&ri(at.from,Ut.to)==0?Ut.to=vh(at):zt.changes.push(af(it,at));else{var Kt=ke(pt.done);for((!Kt||!Kt.ranges)&&Dd(it.sel,pt.done),zt={changes:[af(it,at)],generation:pt.generation},pt.done.push(zt);pt.done.length>pt.undoDepth;)pt.done.shift(),pt.done[0].ranges||pt.done.shift()}pt.done.push(dt),pt.generation=++pt.maxGeneration,pt.lastModTime=pt.lastSelTime=At,pt.lastOp=pt.lastSelOp=ht,pt.lastOrigin=pt.lastSelOrigin=at.origin,Ut||mn(it,"historyAdded")}function fg(it,at,dt,ht){var pt=at.charAt(0);return pt=="*"||pt=="+"&&dt.ranges.length==ht.ranges.length&&dt.somethingSelected()==ht.somethingSelected()&&new Date-it.history.lastSelTime<=(it.cm?it.cm.options.historyEventDelay:500)}function mc(it,at,dt,ht){var pt=it.history,At=ht&&ht.origin;dt==pt.lastSelOp||At&&pt.lastSelOrigin==At&&(pt.lastModTime==pt.lastSelTime&&pt.lastOrigin==At||fg(it,At,ke(pt.done),at))?pt.done[pt.done.length-1]=at:Dd(at,pt.done),pt.lastSelTime=+new Date,pt.lastSelOrigin=At,pt.lastSelOp=dt,ht&&ht.clearRedo!==!1&&Td(pt.undone)}function Dd(it,at){var dt=ke(at);dt&&dt.ranges&&dt.equals(it)||at.push(it)}function yh(it,at,dt,ht){var pt=at["spans_"+it.id],At=0;it.iter(Math.max(it.first,dt),Math.min(it.first+it.size,ht),function(zt){zt.markedSpans&&((pt||(pt=at["spans_"+it.id]={}))[At]=zt.markedSpans),++At})}function qs(it){if(!it)return null;for(var at,dt=0;dt-1&&(ke(Ut)[ye]=ue[ye],delete ue[ye])}}return ht}function lf(it,at,dt,ht){if(ht){var pt=it.anchor;if(dt){var At=ri(at,pt)<0;At!=ri(dt,pt)<0?(pt=at,at=dt):At!=ri(at,dt)<0&&(at=dt)}return new ya(pt,at)}else return new ya(dt||at,at)}function uf(it,at,dt,ht,pt){pt==null&&(pt=it.cm&&(it.cm.display.shift||it.extend)),Gs(it,new Kl([lf(it.sel.primary(),at,dt,pt)],0),ht)}function Gp(it,at,dt){for(var ht=[],pt=it.cm&&(it.cm.display.shift||it.extend),At=0;At=at.ch:Ut.to>at.ch))){if(pt&&(mn(Kt,"beforeCursorEnter"),Kt.explicitlyCleared))if(At.markedSpans){--zt;continue}else break;if(!Kt.atomic)continue;if(dt){var ye=Kt.find(ht<0?1:-1),kn=void 0;if((ht<0?tn:ue)&&(ye=pg(it,ye,-ht,ye&&ye.line==at.line?At:null)),ye&&ye.line==at.line&&(kn=ri(ye,dt))&&(ht<0?kn<0:kn>0))return _u(it,ye,at,ht,pt)}var wn=Kt.find(ht<0?-1:1);return(ht<0?ue:tn)&&(wn=pg(it,wn,ht,wn.line==at.line?At:null)),wn?_u(it,wn,at,ht,pt):null}}return at}function Sc(it,at,dt,ht,pt){var At=ht||1,zt=_u(it,at,dt,At,pt)||!pt&&_u(it,at,dt,At,!0)||_u(it,at,dt,-At,pt)||!pt&&_u(it,at,dt,-At,!0);return zt||(it.cantEdit=!0,Xe(it.first,0))}function pg(it,at,dt,ht){return dt<0&&at.ch==0?at.line>it.first?hi(it,Xe(at.line-1)):null:dt>0&&at.ch==(ht||cn(it,at.line)).text.length?at.line=0;--pt)qh(it,{from:ht[pt].from,to:ht[pt].to,text:pt?[""]:at.text,origin:at.origin});else qh(it,at)}}function qh(it,at){if(!(at.text.length==1&&at.text[0]==""&&ri(at.from,at.to)==0)){var dt=hc(it,at);pc(it,at,dt,it.cm?it.cm.curOp.id:NaN),Bd(it,at,dt,lo(it,at));var ht=[];xu(it,function(pt,At){!At&&Pe(ht,pt.history)==-1&&(vg(pt.history,at),ht.push(pt.history)),Bd(pt,at,null,lo(pt,at))})}}function Pc(it,at,dt){var ht=it.cm&&it.cm.state.suppressEdits;if(!(ht&&!dt)){for(var pt=it.history,At,zt=it.sel,Ut=at=="undo"?pt.done:pt.undone,Kt=at=="undo"?pt.undone:pt.done,ue=0;ue=0;--wn){var zi=kn(wn);if(zi)return zi.v}}}}function mg(it,at){if(at!=0&&(it.first+=at,it.sel=new Kl(ze(it.sel.ranges,function(pt){return new ya(Xe(pt.anchor.line+at,pt.anchor.ch),Xe(pt.head.line+at,pt.head.ch))}),it.sel.primIndex),it.cm)){sa(it.cm,it.first,it.first-at,at);for(var dt=it.cm.display,ht=dt.viewFrom;htit.lastLine())){if(at.from.lineAt&&(at={from:at.from,to:Xe(At,cn(it,At).text.length),text:[at.text[0]],origin:at.origin}),at.removed=Pi(it,at.from,at.to),dt||(dt=hc(it,at)),it.cm?Kp(it.cm,at,ht):rf(it,at,ht),Qh(it,dt,Se),it.cantEdit&&Sc(it,Xe(it.firstLine(),0))&&(it.cantEdit=!1)}}function Kp(it,at,dt){var ht=it.doc,pt=it.display,At=at.from,zt=at.to,Ut=!1,Kt=At.line;it.options.lineWrapping||(Kt=Qt(Kn(cn(ht,At.line))),ht.iter(Kt,zt.line+1,function(wn){if(wn==pt.maxLine)return Ut=!0,!0})),ht.sel.contains(at.from,at.to)>-1&&Ri(it),rf(ht,at,dt,aa(it)),it.options.lineWrapping||(ht.iter(Kt,At.line+at.text.length,function(wn){var zi=Qe(wn);zi>pt.maxLineLength&&(pt.maxLine=wn,pt.maxLineLength=zi,pt.maxLineChanged=!0,Ut=!1)}),Ut&&(it.curOp.updateMaxLine=!0)),Hr(ht,At.line),ns(it,400);var ue=at.text.length-(zt.line-At.line)-1;at.full?sa(it):At.line==zt.line&&at.text.length==1&&!cg(it.doc,at)?co(it,At.line,"text"):sa(it,At.line,zt.line+1,ue);var tn=vi(it,"changes"),ye=vi(it,"change");if(ye||tn){var kn={from:At,to:zt,text:at.text,removed:at.removed,origin:at.origin};ye&&Si(it,"change",it,kn),tn&&(it.curOp.changeObjs||(it.curOp.changeObjs=[])).push(kn)}it.display.selForContextMenu=null}function _h(it,at,dt,ht,pt){var At;ht||(ht=dt),ri(ht,dt)<0&&(At=[ht,dt],dt=At[0],ht=At[1]),typeof at=="string"&&(at=it.splitLines(at)),xh(it,{from:dt,to:ht,text:at,origin:pt})}function Xl(it,at,dt,ht){dt1||!(this.children[0]instanceof Od))){var Ut=[];this.collapse(Ut),this.children=[new Od(Ut)],this.children[0].parent=this}},collapse:function(it){for(var at=0;at50){for(var zt=pt.lines.length%25+25,Ut=zt;Ut10);it.parent.maybeSpill()}},iterN:function(it,at,dt){for(var ht=0;htit.display.maxLineLength&&(it.display.maxLine=ue,it.display.maxLineLength=tn,it.display.maxLineChanged=!0)}ht!=null&&it&&this.collapsed&&sa(it,ht,pt+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,it&&vc(it.doc)),it&&Si(it,"markerCleared",it,this,ht,pt),at&&Ka(it),this.parent&&this.parent.clear()}},Re.prototype.find=function(it,at){it==null&&this.type=="bookmark"&&(it=1);for(var dt,ht,pt=0;pt0||zt==0&&At.clearWhenEmpty!==!1)return At;if(At.replacedWith&&(At.collapsed=!0,At.widgetNode=le("span",[At.replacedWith],"CodeMirror-widget"),ht.handleMouseEvents||At.widgetNode.setAttribute("cm-ignore-events","true"),ht.insertLeft&&(At.widgetNode.insertLeft=!0)),At.collapsed){if(ci(it,at.line,at,dt,At)||at.line!=dt.line&&ci(it,dt.line,at,dt,At))throw new Error("Inserting collapsed marker partially overlapping an existing one");Cn()}At.addToHistory&&pc(it,{from:at,to:dt,origin:"markText"},it.sel,NaN);var Ut=at.line,Kt=it.cm,ue;if(it.iter(Ut,dt.line+1,function(ye){Kt&&At.collapsed&&!Kt.options.lineWrapping&&Kn(ye)==Kt.display.maxLine&&(ue=!0),At.collapsed&&Ut!=at.line&&Yn(ye,0),ho(ye,new rr(At,Ut==at.line?at.ch:null,Ut==dt.line?dt.ch:null)),++Ut}),At.collapsed&&it.iter(at.line,dt.line+1,function(ye){Yt(it,ye)&&Yn(ye,0)}),At.clearOnEnter&&en(At,"beforeCursorEnter",function(){return At.clear()}),At.readOnly&&(no(),(it.history.done.length||it.history.undone.length)&&it.clearHistory()),At.collapsed&&(At.id=++Up,At.atomic=!0),Kt){if(ue&&(Kt.curOp.updateMaxLine=!0),At.collapsed)sa(Kt,at.line,dt.line+1);else if(At.className||At.startStyle||At.endStyle||At.css||At.attributes||At.title)for(var tn=at.line;tn<=dt.line;tn++)co(Kt,tn,"text");At.atomic&&vc(Kt.doc),Si(Kt,"markerAdded",Kt,At)}return At}var Tu=function(it,at){this.markers=it,this.primary=at;for(var dt=0;dt=0;Kt--)xh(this,ht[Kt]);Ut?hf(this,Ut):this.cm&&Zs(this.cm)}),undo:$o(function(){Pc(this,"undo")}),redo:$o(function(){Pc(this,"redo")}),undoSelection:$o(function(){Pc(this,"undo",!0)}),redoSelection:$o(function(){Pc(this,"redo",!0)}),setExtending:function(it){this.extend=it},getExtending:function(){return this.extend},historySize:function(){for(var it=this.history,at=0,dt=0,ht=0;ht=it.ch)&&at.push(pt.marker.parent||pt.marker)}return at},findMarks:function(it,at,dt){it=hi(this,it),at=hi(this,at);var ht=[],pt=it.line;return this.iter(it.line,at.line+1,function(At){var zt=At.markedSpans;if(zt)for(var Ut=0;Ut=Kt.to||Kt.from==null&&pt!=it.line||Kt.from!=null&&pt==at.line&&Kt.from>=at.ch)&&(!dt||dt(Kt.marker))&&ht.push(Kt.marker.parent||Kt.marker)}++pt}),ht},getAllMarks:function(){var it=[];return this.iter(function(at){var dt=at.markedSpans;if(dt)for(var ht=0;htit)return at=it,!0;it-=At,++dt}),hi(this,Xe(dt,at))},indexFromPos:function(it){it=hi(this,it);var at=it.ch;if(it.lineat&&(at=it.from),it.to!=null&&it.to-1){at.state.draggingText(it),setTimeout(function(){return at.display.input.focus()},20);return}try{var tn=it.dataTransfer.getData("Text");if(tn){var ye;if(at.state.draggingText&&!at.state.draggingText.copy&&(ye=at.listSelections()),Qh(at.doc,Qu(dt,dt)),ye)for(var kn=0;kn=0;Ut--)_h(it.doc,"",ht[Ut].from,ht[Ut].to,"+delete");Zs(it)})}function Mg(it,at,dt){var ht=be(it.text,at+dt,dt);return ht<0||ht>it.text.length?null:ht}function os(it,at,dt){var ht=Mg(it,at.ch,dt);return ht==null?null:new Xe(at.line,ht,dt<0?"after":"before")}function bc(it,at,dt,ht,pt){if(it){at.doc.direction=="rtl"&&(pt=-pt);var At=Pn(dt,at.doc.direction);if(At){var zt=pt<0?ke(At):At[0],Ut=pt<0==(zt.level==1),Kt=Ut?"after":"before",ue;if(zt.level>0||at.doc.direction=="rtl"){var tn=Fo(at,dt);ue=pt<0?dt.text.length-1:0;var ye=Yo(at,tn,ue).top;ue=on(function(kn){return Yo(at,tn,kn).top==ye},pt<0==(zt.level==1)?zt.from:zt.to-1,ue),Kt=="before"&&(ue=Mg(dt,ue,1))}else ue=pt<0?zt.to:zt.from;return new Xe(ht,ue,Kt)}}return new Xe(ht,pt<0?dt.text.length:0,pt<0?"before":"after")}function ff(it,at,dt,ht){var pt=Pn(at,it.doc.direction);if(!pt)return os(at,dt,ht);dt.ch>=at.text.length?(dt.ch=at.text.length,dt.sticky="before"):dt.ch<=0&&(dt.ch=0,dt.sticky="after");var At=_e(pt,dt.ch,dt.sticky),zt=pt[At];if(it.doc.direction=="ltr"&&zt.level%2==0&&(ht>0?zt.to>dt.ch:zt.from=zt.from&&kn>=tn.begin)){var wn=ye?"before":"after";return new Xe(dt.line,kn,wn)}}var zi=function(Mr,Jr,Rr){for(var eo=function(Ba,ms){return ms?new Xe(dt.line,Ut(Ba,1),"before"):new Xe(dt.line,Ba,"after")};Mr>=0&&Mr0==(Lo.level!=1),Ko=Br?Rr.begin:Ut(Rr.end,-1);if(Lo.from<=Ko&&Ko0?tn.end:Ut(tn.begin,-1);return ar!=null&&!(ht>0&&ar==at.text.length)&&(Ki=zi(ht>0?0:pt.length-1,ht,ue(ar)),Ki)?Ki:null}var Ph={selectAll:rs,singleSelection:function(it){return it.setSelection(it.getCursor("anchor"),it.getCursor("head"),Se)},killLine:function(it){return Sl(it,function(at){if(at.empty()){var dt=cn(it.doc,at.head.line).text.length;return at.head.ch==dt&&at.head.line0)pt=new Xe(pt.line,pt.ch+1),it.replaceRange(At.charAt(pt.ch-1)+At.charAt(pt.ch-2),Xe(pt.line,pt.ch-2),pt,"+transpose");else if(pt.line>it.doc.first){var zt=cn(it.doc,pt.line-1).text;zt&&(pt=new Xe(pt.line,1),it.replaceRange(At.charAt(0)+it.doc.lineSeparator()+zt.charAt(zt.length-1),Xe(pt.line-1,zt.length-1),pt,"+transpose"))}}dt.push(new ya(pt,pt))}it.setSelections(dt)})},newlineAndIndent:function(it){return io(it,function(){for(var at=it.listSelections(),dt=at.length-1;dt>=0;dt--)it.replaceRange(it.doc.lineSeparator(),at[dt].anchor,at[dt].head,"+input");at=it.listSelections();for(var ht=0;htit&&ri(at,this.pos)==0&&dt==this.button};var Zd,rd;function Dg(it,at){var dt=+new Date;return rd&&rd.compare(dt,it,at)?(Zd=rd=null,"triple"):Zd&&Zd.compare(dt,it,at)?(rd=new Tg(dt,it,at),Zd=null,"double"):(Zd=new Tg(dt,it,at),rd=null,"single")}function wu(it){var at=this,dt=at.display;if(!(zn(at,it)||dt.activeTouch&&dt.input.supportsTouch())){if(dt.input.ensurePolled(),dt.shift=it.shiftKey,Yr(dt,it)){oe||(dt.scroller.draggable=!1,setTimeout(function(){return dt.scroller.draggable=!0},100));return}if(!Sf(at,it)){var ht=Va(at,it),pt=Fi(it),At=ht?Dg(ht,pt):"single";window.focus(),pt==1&&at.state.selectingText&&at.state.selectingText(it),!(ht&&Bg(at,pt,ht,At,it))&&(pt==1?ht?im(at,ht,At,it):Ai(it)==dt.scroller&&er(it):pt==2?(ht&&uf(at.doc,ht),setTimeout(function(){return dt.input.focus()},20)):pt==3&&(Pt?at.display.input.onContextMenu(it):pa(at)))}}}function Bg(it,at,dt,ht,pt){var At="Click";return ht=="double"?At="Double"+At:ht=="triple"&&(At="Triple"+At),At=(at==1?"Left":at==2?"Middle":"Right")+At,nd(it,bg(At,pt),pt,function(zt){if(typeof zt=="string"&&(zt=Ph[zt]),!zt)return!1;var Ut=!1;try{it.isReadOnly()&&(it.state.suppressEdits=!0),Ut=zt(it,dt)!=Ve}finally{it.state.suppressEdits=!1}return Ut})}function vf(it,at,dt){var ht=it.getOption("configureMouse"),pt=ht?ht(it,at,dt):{};if(pt.unit==null){var At=lt?dt.shiftKey&&dt.metaKey:dt.altKey;pt.unit=At?"rectangle":at=="single"?"char":at=="double"?"word":"line"}return(pt.extend==null||it.doc.extend)&&(pt.extend=it.doc.extend||dt.shiftKey),pt.addNew==null&&(pt.addNew=ct?dt.metaKey:dt.ctrlKey),pt.moveOnDrag==null&&(pt.moveOnDrag=!(ct?dt.altKey:dt.ctrlKey)),pt}function im(it,at,dt,ht){ne?setTimeout(Ge(ua,it),0):it.curOp.focus=De();var pt=vf(it,dt,ht),At=it.doc.sel,zt;it.options.dragDrop&&Mi&&!it.isReadOnly()&&dt=="single"&&(zt=At.contains(at))>-1&&(ri((zt=At.ranges[zt]).from(),at)<0||at.xRel>0)&&(ri(zt.to(),at)>0||at.xRel<0)?Og(it,ht,at,pt):ev(it,ht,at,pt)}function Og(it,at,dt,ht){var pt=it.display,At=!1,zt=uo(it,function(ue){oe&&(pt.scroller.draggable=!1),it.state.draggingText=!1,Hn(pt.wrapper.ownerDocument,"mouseup",zt),Hn(pt.wrapper.ownerDocument,"mousemove",Ut),Hn(pt.scroller,"dragstart",Kt),Hn(pt.scroller,"drop",zt),At||(er(ue),ht.addNew||uf(it.doc,dt,null,null,ht.extend),oe&&!Je||ne&&Ht==9?setTimeout(function(){pt.wrapper.ownerDocument.body.focus({preventScroll:!0}),pt.input.focus()},20):pt.input.focus())}),Ut=function(ue){At=At||Math.abs(at.clientX-ue.clientX)+Math.abs(at.clientY-ue.clientY)>=10},Kt=function(){return At=!0};oe&&(pt.scroller.draggable=!0),it.state.draggingText=zt,zt.copy=!ht.moveOnDrag,pt.scroller.dragDrop&&pt.scroller.dragDrop(),en(pt.wrapper.ownerDocument,"mouseup",zt),en(pt.wrapper.ownerDocument,"mousemove",Ut),en(pt.scroller,"dragstart",Kt),en(pt.scroller,"drop",zt),pa(it),setTimeout(function(){return pt.input.focus()},20)}function Ig(it,at,dt){if(dt=="char")return new ya(at,at);if(dt=="word")return it.findWordAt(at);if(dt=="line")return new ya(Xe(at.line,0),hi(it.doc,Xe(at.line+1,0)));var ht=dt(it,at);return new ya(ht.from,ht.to)}function ev(it,at,dt,ht){var pt=it.display,At=it.doc;er(at);var zt,Ut,Kt=At.sel,ue=Kt.ranges;if(ht.addNew&&!ht.extend?(Ut=At.sel.contains(dt),Ut>-1?zt=ue[Ut]:zt=new ya(dt,dt)):(zt=At.sel.primary(),Ut=At.sel.primIndex),ht.unit=="rectangle")ht.addNew||(zt=new ya(dt,dt)),dt=Va(it,at,!0,!0),Ut=-1;else{var tn=Ig(it,dt,ht.unit);ht.extend?zt=lf(zt,tn.anchor,tn.head,ht.extend):zt=tn}ht.addNew?Ut==-1?(Ut=ue.length,Gs(At,ru(it,ue.concat([zt]),Ut),{scroll:!1,origin:"*mouse"})):ue.length>1&&ue[Ut].empty()&&ht.unit=="char"&&!ht.extend?(Gs(At,ru(it,ue.slice(0,Ut).concat(ue.slice(Ut+1)),0),{scroll:!1,origin:"*mouse"}),Kt=At.sel):Sh(At,Ut,zt,$e):(Ut=0,Gs(At,new Kl([zt],0),$e),Kt=At.sel);var ye=dt;function kn(Rr){if(ri(ye,Rr)!=0)if(ye=Rr,ht.unit=="rectangle"){for(var eo=[],Lo=it.options.tabSize,Br=$t(cn(At,dt.line).text,dt.ch,Lo),Ko=$t(cn(At,Rr.line).text,Rr.ch,Lo),Ba=Math.min(Br,Ko),ms=Math.max(Br,Ko),Ya=Math.min(dt.line,Rr.line),sl=Math.min(it.lastLine(),Math.max(dt.line,Rr.line));Ya<=sl;Ya++){var Vs=cn(At,Ya).text,cs=xn(Vs,Ba,Lo);Ba==ms?eo.push(new ya(Xe(Ya,cs),Xe(Ya,cs))):Vs.length>cs&&eo.push(new ya(Xe(Ya,cs),Xe(Ya,xn(Vs,ms,Lo))))}eo.length||eo.push(new ya(dt,dt)),Gs(At,ru(it,Kt.ranges.slice(0,Ut).concat(eo),Ut),{origin:"*mouse",scroll:!1}),it.scrollIntoView(Rr)}else{var xl=zt,Bs=Ig(it,Rr,ht.unit),fs=xl.anchor,ha;ri(Bs.anchor,fs)>0?(ha=Bs.head,fs=ai(xl.from(),Bs.anchor)):(ha=Bs.anchor,fs=ir(xl.to(),Bs.head));var Qa=Kt.ranges.slice(0);Qa[Ut]=rm(it,new ya(hi(At,fs),ha)),Gs(At,ru(it,Qa,Ut),$e)}}var wn=pt.wrapper.getBoundingClientRect(),zi=0;function Ki(Rr){var eo=++zi,Lo=Va(it,Rr,!0,ht.unit=="rectangle");if(Lo)if(ri(Lo,ye)!=0){it.curOp.focus=De(),kn(Lo);var Br=wo(pt,At);(Lo.line>=Br.to||Lo.linewn.bottom?20:0;Ko&&setTimeout(uo(it,function(){zi==eo&&(pt.scroller.scrollTop+=Ko,Ki(Rr))}),50)}}function ar(Rr){it.state.selectingText=!1,zi=1/0,Rr&&(er(Rr),pt.input.focus()),Hn(pt.wrapper.ownerDocument,"mousemove",Mr),Hn(pt.wrapper.ownerDocument,"mouseup",Jr),At.history.lastSelOrigin=null}var Mr=uo(it,function(Rr){Rr.buttons===0||!Fi(Rr)?ar(Rr):Ki(Rr)}),Jr=uo(it,ar);it.state.selectingText=Jr,en(pt.wrapper.ownerDocument,"mousemove",Mr),en(pt.wrapper.ownerDocument,"mouseup",Jr)}function rm(it,at){var dt=at.anchor,ht=at.head,pt=cn(it.doc,dt.line);if(ri(dt,ht)==0&&dt.sticky==ht.sticky)return at;var At=Pn(pt);if(!At)return at;var zt=_e(At,dt.ch,dt.sticky),Ut=At[zt];if(Ut.from!=dt.ch&&Ut.to!=dt.ch)return at;var Kt=zt+(Ut.from==dt.ch==(Ut.level!=1)?0:1);if(Kt==0||Kt==At.length)return at;var ue;if(ht.line!=dt.line)ue=(ht.line-dt.line)*(it.doc.direction=="ltr"?1:-1)>0;else{var tn=_e(At,ht.ch,ht.sticky),ye=tn-zt||(ht.ch-dt.ch)*(Ut.level==1?-1:1);tn==Kt-1||tn==Kt?ue=ye<0:ue=ye>0}var kn=At[Kt+(ue?-1:0)],wn=ue==(kn.level==1),zi=wn?kn.from:kn.to,Ki=wn?"after":"before";return dt.ch==zi&&dt.sticky==Ki?at:new ya(new Xe(dt.line,zi,Ki),ht)}function yf(it,at,dt,ht){var pt,At;if(at.touches)pt=at.touches[0].clientX,At=at.touches[0].clientY;else try{pt=at.clientX,At=at.clientY}catch(kn){return!1}if(pt>=Math.floor(it.display.gutters.getBoundingClientRect().right))return!1;ht&&er(at);var zt=it.display,Ut=zt.lineDiv.getBoundingClientRect();if(At>Ut.bottom||!vi(it,dt))return Ue(at);At-=Ut.top-zt.viewOffset;for(var Kt=0;Kt=pt){var tn=Me(it.doc,At),ye=it.display.gutterSpecs[Kt];return mn(it,dt,it,tn,ye.className,at),Ue(at)}}}function Sf(it,at){return yf(it,at,"gutterClick",!0)}function xf(it,at){Yr(it.display,at)||om(it,at)||zn(it,at,"contextmenu")||Pt||it.display.input.onContextMenu(at)}function om(it,at){return vi(it,"gutterContextMenu")?yf(it,at,"gutterContextMenu",!1):!1}function Pf(it){it.display.wrapper.className=it.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+it.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ra(it)}var wh={toString:function(){return"CodeMirror.Init"}},Rg={},Mc={};function am(it){var at=it.optionHandlers;function dt(ht,pt,At,zt){it.defaults[ht]=pt,At&&(at[ht]=zt?function(Ut,Kt,ue){ue!=wh&&At(Ut,Kt,ue)}:At)}it.defineOption=dt,it.Init=wh,dt("value","",function(ht,pt){return ht.setValue(pt)},!0),dt("mode",null,function(ht,pt){ht.doc.modeOption=pt,Vo(ht)},!0),dt("indentUnit",2,Vo,!0),dt("indentWithTabs",!1),dt("smartIndent",!0),dt("tabSize",4,function(ht){cc(ht),Ra(ht),sa(ht)},!0),dt("lineSeparator",null,function(ht,pt){if(ht.doc.lineSep=pt,!!pt){var At=[],zt=ht.doc.first;ht.doc.iter(function(Kt){for(var ue=0;;){var tn=Kt.text.indexOf(pt,ue);if(tn==-1)break;ue=tn+pt.length,At.push(Xe(zt,tn))}zt++});for(var Ut=At.length-1;Ut>=0;Ut--)_h(ht.doc,pt,At[Ut],Xe(At[Ut].line,At[Ut].ch+pt.length))}}),dt("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ht,pt,At){ht.state.specialChars=new RegExp(pt.source+(pt.test(" ")?"":"| "),"g"),At!=wh&&ht.refresh()}),dt("specialCharPlaceholder",ti,function(ht){return ht.refresh()},!0),dt("electricChars",!0),dt("inputStyle",nt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),dt("spellcheck",!1,function(ht,pt){return ht.getInputField().spellcheck=pt},!0),dt("autocorrect",!1,function(ht,pt){return ht.getInputField().autocorrect=pt},!0),dt("autocapitalize",!1,function(ht,pt){return ht.getInputField().autocapitalize=pt},!0),dt("rtlMoveVisually",!gt),dt("wholeLineUpdateBefore",!0),dt("theme","default",function(ht){Pf(ht),Tl(ht)},!0),dt("keyMap","default",function(ht,pt,At){var zt=ed(pt),Ut=At!=wh&&ed(At);Ut&&Ut.detach&&Ut.detach(ht,zt),zt.attach&&zt.attach(ht,Ut||null)}),dt("extraKeys",null),dt("configureMouse",null),dt("lineWrapping",!1,sm,!0),dt("gutters",[],function(ht,pt){ht.display.gutterSpecs=xs(pt,ht.options.lineNumbers),Tl(ht)},!0),dt("fixedGutter",!0,function(ht,pt){ht.display.gutters.style.left=pt?Hs(ht.display)+"px":"0",ht.refresh()},!0),dt("coverGutterNextToScrollbar",!1,function(ht){return ts(ht)},!0),dt("scrollbarStyle","native",function(ht){ml(ht),ts(ht),ht.display.scrollbars.setScrollTop(ht.doc.scrollTop),ht.display.scrollbars.setScrollLeft(ht.doc.scrollLeft)},!0),dt("lineNumbers",!1,function(ht,pt){ht.display.gutterSpecs=xs(ht.options.gutters,pt),Tl(ht)},!0),dt("firstLineNumber",1,Tl,!0),dt("lineNumberFormatter",function(ht){return ht},Tl,!0),dt("showCursorWhenSelecting",!1,Da,!0),dt("resetSelectionOnContextMenu",!0),dt("lineWiseCopyCut",!0),dt("pasteLinesPerSelection",!0),dt("selectionsMayTouch",!1),dt("readOnly",!1,function(ht,pt){pt=="nocursor"&&(fl(ht),ht.display.input.blur()),ht.display.input.readOnlyChanged(pt)}),dt("screenReaderLabel",null,function(ht,pt){pt=pt===""?null:pt,ht.display.input.screenReaderLabelChanged(pt)}),dt("disableInput",!1,function(ht,pt){pt||ht.display.input.reset()},!0),dt("dragDrop",!0,wf),dt("allowDropFileTypes",null),dt("cursorBlinkRate",530),dt("cursorScrollMargin",0),dt("cursorHeight",1,Da,!0),dt("singleCursorHeightPerLine",!0,Da,!0),dt("workTime",100),dt("workDelay",100),dt("flattenSpans",!0,cc,!0),dt("addModeClass",!1,cc,!0),dt("pollInterval",100),dt("undoDepth",200,function(ht,pt){return ht.doc.history.undoDepth=pt}),dt("historyEventDelay",1250),dt("viewportMargin",10,function(ht){return ht.refresh()},!0),dt("maxHighlightLength",1e4,cc,!0),dt("moveInputWithCursor",!0,function(ht,pt){pt||ht.display.input.resetPosition()}),dt("tabindex",null,function(ht,pt){return ht.display.input.getField().tabIndex=pt||""}),dt("autofocus",null),dt("direction","ltr",function(ht,pt){return ht.doc.setDirection(pt)},!0),dt("phrases",null)}function wf(it,at,dt){var ht=dt&&dt!=wh;if(!at!=!ht){var pt=it.display.dragFunctions,At=at?en:Hn;At(it.display.scroller,"dragstart",pt.start),At(it.display.scroller,"dragenter",pt.enter),At(it.display.scroller,"dragover",pt.over),At(it.display.scroller,"dragleave",pt.leave),At(it.display.scroller,"drop",pt.drop)}}function sm(it){it.options.lineWrapping?(Ee(it.display.wrapper,"CodeMirror-wrap"),it.display.sizer.style.minWidth="",it.display.sizerWidth=null):(Wt(it.display.wrapper,"CodeMirror-wrap"),qe(it)),Vr(it),sa(it),Ra(it),setTimeout(function(){return ts(it)},100)}function la(it,at){var dt=this;if(!(this instanceof la))return new la(it,at);this.options=at=at?sn(at):{},sn(Rg,at,!1);var ht=at.value;typeof ht=="string"?ht=new Ds(ht,at.mode,null,at.lineSeparator,at.direction):at.mode&&(ht.modeOption=at.mode),this.doc=ht;var pt=new la.inputStyles[at.inputStyle](this),At=this.display=new mh(it,ht,pt,at);At.wrapper.CodeMirror=this,Pf(this),at.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ml(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new It,keySeq:null,specialChars:null},at.autofocus&&!nt&&At.input.focus(),ne&&Ht<11&&setTimeout(function(){return dt.display.input.reset(!0)},20),Wd(this),Bl(),fo(this),this.curOp.forceUpdate=!0,of(this,ht),at.autofocus&&!nt||this.hasFocus()?setTimeout(function(){dt.hasFocus()&&!dt.state.focused&&Xo(dt)},20):fl(this);for(var zt in Mc)Mc.hasOwnProperty(zt)&&Mc[zt](this,at[zt],wh);ss(this),at.finishInit&&at.finishInit(this);for(var Ut=0;Ut20*20}en(at.scroller,"touchstart",function(Kt){if(!zn(it,Kt)&&!At(Kt)&&!Sf(it,Kt)){at.input.ensurePolled(),clearTimeout(dt);var ue=+new Date;at.activeTouch={start:ue,moved:!1,prev:ue-ht.end<=300?ht:null},Kt.touches.length==1&&(at.activeTouch.left=Kt.touches[0].pageX,at.activeTouch.top=Kt.touches[0].pageY)}}),en(at.scroller,"touchmove",function(){at.activeTouch&&(at.activeTouch.moved=!0)}),en(at.scroller,"touchend",function(Kt){var ue=at.activeTouch;if(ue&&!Yr(at,Kt)&&ue.left!=null&&!ue.moved&&new Date-ue.start<300){var tn=it.coordsChar(at.activeTouch,"page"),ye;!ue.prev||zt(ue,ue.prev)?ye=new ya(tn,tn):!ue.prev.prev||zt(ue,ue.prev.prev)?ye=it.findWordAt(tn):ye=new ya(Xe(tn.line,0),hi(it.doc,Xe(tn.line+1,0))),it.setSelection(ye.anchor,ye.head),it.focus(),er(Kt)}pt()}),en(at.scroller,"touchcancel",pt),en(at.scroller,"scroll",function(){at.scroller.clientHeight&&(gl(it,at.scroller.scrollTop),pl(it,at.scroller.scrollLeft,!0),mn(it,"scroll",it))}),en(at.scroller,"mousewheel",function(Kt){return Ps(it,Kt)}),en(at.scroller,"DOMMouseScroll",function(Kt){return Ps(it,Kt)}),en(at.wrapper,"scroll",function(){return at.wrapper.scrollTop=at.wrapper.scrollLeft=0}),at.dragFunctions={enter:function(Kt){zn(it,Kt)||ii(Kt)},over:function(Kt){zn(it,Kt)||(_p(it,Kt),ii(Kt))},start:function(Kt){return qp(it,Kt)},drop:uo(it,xg),leave:function(Kt){zn(it,Kt)||$p(it)}};var Ut=at.input.getField();en(Ut,"keyup",function(Kt){return Ng.call(it,Kt)}),en(Ut,"keydown",uo(it,Eg)),en(Ut,"keypress",uo(it,Pu)),en(Ut,"focus",function(Kt){return Xo(it,Kt)}),en(Ut,"blur",function(Kt){return fl(it,Kt)})}var od=[];la.defineInitHook=function(it){return od.push(it)};function ps(it,at,dt,ht){var pt=it.doc,At;dt==null&&(dt="add"),dt=="smart"&&(pt.mode.indent?At=so(it,at).state:dt="prev");var zt=it.options.tabSize,Ut=cn(pt,at),Kt=$t(Ut.text,null,zt);Ut.stateAfter&&(Ut.stateAfter=null);var ue=Ut.text.match(/^\s*/)[0],tn;if(!ht&&!/\S/.test(Ut.text))tn=0,dt="not";else if(dt=="smart"&&(tn=pt.mode.indent(At,Ut.text.slice(ue.length),Ut.text),tn==Ve||tn>150)){if(!ht)return;dt="prev"}dt=="prev"?at>pt.first?tn=$t(cn(pt,at-1).text,null,zt):tn=0:dt=="add"?tn=Kt+it.options.indentUnit:dt=="subtract"?tn=Kt-it.options.indentUnit:typeof dt=="number"&&(tn=Kt+dt),tn=Math.max(0,tn);var ye="",kn=0;if(it.options.indentWithTabs)for(var wn=Math.floor(tn/zt);wn;--wn)kn+=zt,ye+=" ";if(knzt,Kt=qi(at),ue=null;if(Ut&&ht.ranges.length>1)if(al&&al.text.join(` `)==at){if(ht.ranges.length%al.text.length==0){ue=[];for(var tn=0;tn=0;kn--){var wn=ht.ranges[kn],zi=wn.from(),Ki=wn.to();wn.empty()&&(dt&&dt>0?zi=Xe(zi.line,zi.ch-dt):it.state.overwrite&&!Ut?Ki=Xe(Ki.line,Math.min(cn(At,Ki.line).text.length,Ki.ch+ke(Kt).length)):Ut&&al&&al.lineWise&&al.text.join(` `)==Kt.join(` `)&&(zi=Ki=Xe(zi.line,0)));var ar={from:zi,to:Ki,text:ue?ue[kn%ue.length]:Kt,origin:pt||(Ut?"paste":it.state.cutIncoming>zt?"cut":"+input")};xh(it.doc,ar),Si(it,"inputRead",it,ar)}at&&!Ut&&jg(it,at),Zs(it),it.curOp.updateInput<2&&(it.curOp.updateInput=ye),it.curOp.typing=!0,it.state.pasteIncoming=it.state.cutIncoming=-1}function zg(it,at){var dt=it.clipboardData&&it.clipboardData.getData("Text");if(dt)return it.preventDefault(),!at.isReadOnly()&&!at.options.disableInput&&io(at,function(){return Ac(at,dt,0,null,"paste")}),!0}function jg(it,at){if(!(!it.options.electricChars||!it.options.smartIndent))for(var dt=it.doc.sel,ht=dt.ranges.length-1;ht>=0;ht--){var pt=dt.ranges[ht];if(!(pt.head.ch>100||ht&&dt.ranges[ht-1].head.line==pt.head.line)){var At=it.getModeAt(pt.head),zt=!1;if(At.electricChars){for(var Ut=0;Ut-1){zt=ps(it,pt.head.line,"smart");break}}else At.electricInput&&At.electricInput.test(cn(it.doc,pt.head.line).text.slice(0,pt.head.ch))&&(zt=ps(it,pt.head.line,"smart"));zt&&Si(it,"electricInput",it,pt.head.line)}}}function Hg(it){for(var at=[],dt=[],ht=0;htAt&&(ps(this,Ut.head.line,ht,!0),At=Ut.head.line,zt==this.doc.sel.primIndex&&Zs(this));else{var Kt=Ut.from(),ue=Ut.to(),tn=Math.max(At,Kt.line);At=Math.min(this.lastLine(),ue.line-(ue.ch?0:1))+1;for(var ye=tn;ye0&&Sh(this.doc,zt,new ya(Kt,kn[zt].to()),Se)}}}),getTokenAt:function(ht,pt){return Wr(this,ht,pt)},getLineTokens:function(ht,pt){return Wr(this,Xe(ht),pt,!0)},getTokenTypeAt:function(ht){ht=hi(this.doc,ht);var pt=jr(this,cn(this.doc,ht.line)),At=0,zt=(pt.length-1)/2,Ut=ht.ch,Kt;if(Ut==0)Kt=pt[2];else for(;;){var ue=At+zt>>1;if((ue?pt[ue*2-1]:0)>=Ut)zt=ue;else if(pt[ue*2+1]Kt&&(ht=Kt,zt=!0),Ut=cn(this.doc,ht)}else Ut=ht;return _o(this,Ut,{top:0,left:0},pt||"page",At||zt).top+(zt?this.doc.height-xe(Ut):0)},defaultTextHeight:function(){return ca(this.display)},defaultCharWidth:function(){return Ga(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ht,pt,At,zt,Ut){var Kt=this.display;ht=Lr(this,hi(this.doc,ht));var ue=ht.bottom,tn=ht.left;if(pt.style.position="absolute",pt.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(pt),Kt.sizer.appendChild(pt),zt=="over")ue=ht.top;else if(zt=="above"||zt=="near"){var ye=Math.max(Kt.wrapper.clientHeight,this.doc.height),kn=Math.max(Kt.sizer.clientWidth,Kt.lineSpace.clientWidth);(zt=="above"||ht.bottom+pt.offsetHeight>ye)&&ht.top>pt.offsetHeight?ue=ht.top-pt.offsetHeight:ht.bottom+pt.offsetHeight<=ye&&(ue=ht.bottom),tn+pt.offsetWidth>kn&&(tn=kn-pt.offsetWidth)}pt.style.top=ue+"px",pt.style.left=pt.style.right="",Ut=="right"?(tn=Kt.sizer.clientWidth-pt.offsetWidth,pt.style.right="0px"):(Ut=="left"?tn=0:Ut=="middle"&&(tn=(Kt.sizer.clientWidth-pt.offsetWidth)/2),pt.style.left=tn+"px"),At&&Fl(this,{left:tn,top:ue,right:tn+pt.offsetWidth,bottom:ue+pt.offsetHeight})},triggerOnKeyDown:Co(Eg),triggerOnKeyPress:Co(Pu),triggerOnKeyUp:Ng,triggerOnMouseDown:Co(wu),execCommand:function(ht){if(Ph.hasOwnProperty(ht))return Ph[ht].call(null,this)},triggerElectric:Co(function(ht){jg(this,ht)}),findPosH:function(ht,pt,At,zt){var Ut=1;pt<0&&(Ut=-1,pt=-pt);for(var Kt=hi(this.doc,ht),ue=0;ue0&&tn(At.charAt(zt-1));)--zt;for(;Ut.5||this.options.lineWrapping)&&Vr(this),mn(this,"refresh",this)}),swapDoc:Co(function(ht){var pt=this.doc;return pt.cm=null,this.state.selectingText&&this.state.selectingText(),of(this,ht),Ra(this),this.display.input.reset(),Vl(this,ht.scrollLeft,ht.scrollTop),this.curOp.forceScroll=!0,Si(this,"swapDoc",this,pt),pt}),phrase:function(ht){var pt=this.options.phrases;return pt&&Object.prototype.hasOwnProperty.call(pt,ht)?pt[ht]:ht},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ji(it),it.registerHelper=function(ht,pt,At){dt.hasOwnProperty(ht)||(dt[ht]=it[ht]={_global:[]}),dt[ht][pt]=At},it.registerGlobalHelper=function(ht,pt,At,zt){it.registerHelper(ht,pt,zt),dt[ht]._global.push({pred:At,val:zt})}}function kc(it,at,dt,ht,pt){var At=at,zt=dt,Ut=cn(it,at.line),Kt=pt&&it.direction=="rtl"?-dt:dt;function ue(){var Jr=at.line+Kt;return Jr=it.first+it.size?!1:(at=new Xe(Jr,at.ch,at.sticky),Ut=cn(it,Jr))}function tn(Jr){var Rr;if(ht=="codepoint"){var eo=Ut.text.charCodeAt(at.ch+(ht>0?0:-1));isNaN(eo)?Rr=null:Rr=new Xe(at.line,Math.max(0,Math.min(Ut.text.length,at.ch+dt*(eo>=55296&&eo<56320?2:1))),-dt)}else pt?Rr=ff(it.cm,Ut,at,dt):Rr=os(Ut,at,dt);if(Rr==null)if(!Jr&&ue())at=bc(pt,it.cm,Ut,at.line,Kt);else return!1;else at=Rr;return!0}if(ht=="char"||ht=="codepoint")tn();else if(ht=="column")tn(!0);else if(ht=="word"||ht=="group")for(var ye=null,kn=ht=="group",wn=it.cm&&it.cm.getHelper(at,"wordChars"),zi=!0;!(dt<0&&!tn(!zi));zi=!1){var Ki=Ut.text.charAt(at.ch)||` `,ar=jt(Ki,wn)?"w":kn&&Ki==` `?"n":!kn||/\s/.test(Ki)?null:"p";if(kn&&!zi&&!ar&&(ar="s"),ye&&ye!=ar){dt<0&&(dt=1,tn(),at.sticky="after");break}if(ar&&(ye=ar),dt>0&&!tn(!zi))break}var Mr=Sc(it,at,At,zt,!0);return Zi(At,Mr)&&(Mr.hitSide=!0),Mr}function Lh(it,at,dt,ht){var pt=it.doc,At=at.left,zt;if(ht=="page"){var Ut=Math.min(it.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Kt=Math.max(Ut-.5*ca(it.display),3);zt=(dt>0?at.bottom:at.top)+dt*Kt}else ht=="line"&&(zt=dt>0?at.bottom+3:at.top-3);for(var ue;ue=wr(it,At,zt),!!ue.outside;){if(dt<0?zt<=0:zt>=pt.height){ue.hitSide=!0;break}zt+=dt*5}return ue}var Ma=function(it){this.cm=it,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new It,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ma.prototype.init=function(it){var at=this,dt=this,ht=dt.cm,pt=dt.div=it.lineDiv;Zg(pt,ht.options.spellcheck,ht.options.autocorrect,ht.options.autocapitalize);function At(Ut){for(var Kt=Ut.target;Kt;Kt=Kt.parentNode){if(Kt==pt)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Kt.className))break}return!1}en(pt,"paste",function(Ut){!At(Ut)||zn(ht,Ut)||zg(Ut,ht)||Ht<=11&&setTimeout(uo(ht,function(){return at.updateFromDOM()}),20)}),en(pt,"compositionstart",function(Ut){at.composing={data:Ut.data,done:!1}}),en(pt,"compositionupdate",function(Ut){at.composing||(at.composing={data:Ut.data,done:!1})}),en(pt,"compositionend",function(Ut){at.composing&&(Ut.data!=at.composing.data&&at.readFromDOMSoon(),at.composing.done=!0)}),en(pt,"touchstart",function(){return dt.forceCompositionEnd()}),en(pt,"input",function(){at.composing||at.readFromDOMSoon()});function zt(Ut){if(!(!At(Ut)||zn(ht,Ut))){if(ht.somethingSelected())ad({lineWise:!1,text:ht.getSelections()}),Ut.type=="cut"&&ht.replaceSelection("",null,"cut");else if(ht.options.lineWiseCopyCut){var Kt=Hg(ht);ad({lineWise:!0,text:Kt.text}),Ut.type=="cut"&&ht.operation(function(){ht.setSelections(Kt.ranges,0,Se),ht.replaceSelection("",null,"cut")})}else return;if(Ut.clipboardData){Ut.clipboardData.clearData();var ue=al.text.join(` `);if(Ut.clipboardData.setData("Text",ue),Ut.clipboardData.getData("Text")==ue){Ut.preventDefault();return}}var tn=Wg(),ye=tn.firstChild;ht.display.lineSpace.insertBefore(tn,ht.display.lineSpace.firstChild),ye.value=al.text.join(` `);var kn=document.activeElement;rn(ye),setTimeout(function(){ht.display.lineSpace.removeChild(tn),kn.focus(),kn==pt&&dt.showPrimarySelection()},50)}}en(pt,"copy",zt),en(pt,"cut",zt)},Ma.prototype.screenReaderLabelChanged=function(it){it?this.div.setAttribute("aria-label",it):this.div.removeAttribute("aria-label")},Ma.prototype.prepareSelection=function(){var it=El(this.cm,!1);return it.focus=document.activeElement==this.div,it},Ma.prototype.showSelection=function(it,at){!it||!this.cm.display.view.length||((it.focus||at)&&this.showPrimarySelection(),this.showMultipleSelections(it))},Ma.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ma.prototype.showPrimarySelection=function(){var it=this.getSelection(),at=this.cm,dt=at.doc.sel.primary(),ht=dt.from(),pt=dt.to();if(at.display.viewTo==at.display.viewFrom||ht.line>=at.display.viewTo||pt.line=at.display.viewFrom&&Cf(at,ht)||{node:Ut[0].measure.map[2],offset:0},ue=pt.lineit.firstLine()&&(ht=Xe(ht.line-1,cn(it.doc,ht.line-1).length)),pt.ch==cn(it.doc,pt.line).text.length&&pt.lineat.viewTo-1)return!1;var At,zt,Ut;ht.line==at.viewFrom||(At=$a(it,ht.line))==0?(zt=Qt(at.view[0].line),Ut=at.view[0].node):(zt=Qt(at.view[At].line),Ut=at.view[At-1].node.nextSibling);var Kt=$a(it,pt.line),ue,tn;if(Kt==at.view.length-1?(ue=at.viewTo-1,tn=at.lineDiv.lastChild):(ue=Qt(at.view[Kt+1].line)-1,tn=at.view[Kt+1].node.previousSibling),!Ut)return!1;for(var ye=it.doc.splitLines(Vd(it,Ut,tn,zt,ue)),kn=Pi(it.doc,Xe(zt,0),Xe(ue,cn(it.doc,ue).text.length));ye.length>1&&kn.length>1;)if(ke(ye)==ke(kn))ye.pop(),kn.pop(),ue--;else if(ye[0]==kn[0])ye.shift(),kn.shift(),zt++;else break;for(var wn=0,zi=0,Ki=ye[0],ar=kn[0],Mr=Math.min(Ki.length,ar.length);wnht.ch&&Jr.charCodeAt(Jr.length-zi-1)==Rr.charCodeAt(Rr.length-zi-1);)wn--,zi++;ye[ye.length-1]=Jr.slice(0,Jr.length-zi).replace(/^\u200b+/,""),ye[0]=ye[0].slice(wn).replace(/\u200b+$/,"");var Lo=Xe(zt,wn),Br=Xe(ue,kn.length?ke(kn).length-zi:0);if(ye.length>1||ye[0]||ri(Lo,Br))return _h(it.doc,ye,Lo,Br,"+input"),!0},Ma.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ma.prototype.reset=function(){this.forceCompositionEnd()},Ma.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ma.prototype.readFromDOMSoon=function(){var it=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(it.readDOMTimeout=null,it.composing)if(it.composing.done)it.composing=null;else return;it.updateFromDOM()},80))},Ma.prototype.updateFromDOM=function(){var it=this;(this.cm.isReadOnly()||!this.pollContent())&&io(this.cm,function(){return sa(it.cm)})},Ma.prototype.setUneditable=function(it){it.contentEditable="false"},Ma.prototype.onKeyPress=function(it){it.charCode==0||this.composing||(it.preventDefault(),this.cm.isReadOnly()||uo(this.cm,Ac)(this.cm,String.fromCharCode(it.charCode==null?it.keyCode:it.charCode),0))},Ma.prototype.readOnlyChanged=function(it){this.div.contentEditable=String(it!="nocursor")},Ma.prototype.onContextMenu=function(){},Ma.prototype.resetPosition=function(){},Ma.prototype.needsContentAttribute=!0;function Cf(it,at){var dt=na(it,at.line);if(!dt||dt.hidden)return null;var ht=cn(it.doc,at.line),pt=oo(dt,ht,at.line),At=Pn(ht,it.doc.direction),zt="left";if(At){var Ut=_e(At,at.ch);zt=Ut%2?"right":"left"}var Kt=Qo(pt.map,at.ch,zt);return Kt.offset=Kt.collapse=="right"?Kt.end:Kt.start,Kt}function Gg(it){for(var at=it;at;at=at.parentNode)if(/CodeMirror-gutter-wrapper/.test(at.className))return!0;return!1}function Gd(it,at){return at&&(it.bad=!0),it}function Vd(it,at,dt,ht,pt){var At="",zt=!1,Ut=it.doc.lineSeparator(),Kt=!1;function ue(wn){return function(zi){return zi.id==wn}}function tn(){zt&&(At+=Ut,Kt&&(At+=Ut),zt=Kt=!1)}function ye(wn){wn&&(tn(),At+=wn)}function kn(wn){if(wn.nodeType==1){var zi=wn.getAttribute("cm-text");if(zi){ye(zi);return}var Ki=wn.getAttribute("cm-marker"),ar;if(Ki){var Mr=it.findMarks(Xe(ht,0),Xe(pt+1,0),ue(+Ki));Mr.length&&(ar=Mr[0].find(0))&&ye(Pi(it.doc,ar.from,ar.to).join(Ut));return}if(wn.getAttribute("contenteditable")=="false")return;var Jr=/^(pre|div|p|li|table|br)$/i.test(wn.nodeName);if(!/^br$/i.test(wn.nodeName)&&wn.textContent.length==0)return;Jr&&tn();for(var Rr=0;Rr=9&&at.hasSelection&&(at.hasSelection=null),dt.poll()}),en(pt,"paste",function(zt){zn(ht,zt)||zg(zt,ht)||(ht.state.pasteIncoming=+new Date,dt.fastPoll())});function At(zt){if(!zn(ht,zt)){if(ht.somethingSelected())ad({lineWise:!1,text:ht.getSelections()});else if(ht.options.lineWiseCopyCut){var Ut=Hg(ht);ad({lineWise:!0,text:Ut.text}),zt.type=="cut"?ht.setSelections(Ut.ranges,null,Se):(dt.prevInput="",pt.value=Ut.text.join(` `),rn(pt))}else return;zt.type=="cut"&&(ht.state.cutIncoming=+new Date)}}en(pt,"cut",At),en(pt,"copy",At),en(it.scroller,"paste",function(zt){if(!(Yr(it,zt)||zn(ht,zt))){if(!pt.dispatchEvent){ht.state.pasteIncoming=+new Date,dt.focus();return}var Ut=new Event("paste");Ut.clipboardData=zt.clipboardData,pt.dispatchEvent(Ut)}}),en(it.lineSpace,"selectstart",function(zt){Yr(it,zt)||er(zt)}),en(pt,"compositionstart",function(){var zt=ht.getCursor("from");dt.composing&&dt.composing.range.clear(),dt.composing={start:zt,range:ht.markText(zt,ht.getCursor("to"),{className:"CodeMirror-composing"})}}),en(pt,"compositionend",function(){dt.composing&&(dt.poll(),dt.composing.range.clear(),dt.composing=null)})},ds.prototype.createField=function(it){this.wrapper=Wg(),this.textarea=this.wrapper.firstChild},ds.prototype.screenReaderLabelChanged=function(it){it?this.textarea.setAttribute("aria-label",it):this.textarea.removeAttribute("aria-label")},ds.prototype.prepareSelection=function(){var it=this.cm,at=it.display,dt=it.doc,ht=El(it);if(it.options.moveInputWithCursor){var pt=Lr(it,dt.sel.primary().head,"div"),At=at.wrapper.getBoundingClientRect(),zt=at.lineDiv.getBoundingClientRect();ht.teTop=Math.max(0,Math.min(at.wrapper.clientHeight-10,pt.top+zt.top-At.top)),ht.teLeft=Math.max(0,Math.min(at.wrapper.clientWidth-10,pt.left+zt.left-At.left))}return ht},ds.prototype.showSelection=function(it){var at=this.cm,dt=at.display;Jt(dt.cursorDiv,it.cursors),Jt(dt.selectionDiv,it.selection),it.teTop!=null&&(this.wrapper.style.top=it.teTop+"px",this.wrapper.style.left=it.teLeft+"px")},ds.prototype.reset=function(it){if(!(this.contextMenuPending||this.composing)){var at=this.cm;if(at.somethingSelected()){this.prevInput="";var dt=at.getSelection();this.textarea.value=dt,at.state.focused&&rn(this.textarea),ne&&Ht>=9&&(this.hasSelection=dt)}else it||(this.prevInput=this.textarea.value="",ne&&Ht>=9&&(this.hasSelection=null))}},ds.prototype.getField=function(){return this.textarea},ds.prototype.supportsTouch=function(){return!1},ds.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!nt||De()!=this.textarea))try{this.textarea.focus()}catch(it){}},ds.prototype.blur=function(){this.textarea.blur()},ds.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ds.prototype.receivedFocus=function(){this.slowPoll()},ds.prototype.slowPoll=function(){var it=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){it.poll(),it.cm.state.focused&&it.slowPoll()})},ds.prototype.fastPoll=function(){var it=!1,at=this;at.pollingFast=!0;function dt(){var ht=at.poll();!ht&&!it?(it=!0,at.polling.set(60,dt)):(at.pollingFast=!1,at.slowPoll())}at.polling.set(20,dt)},ds.prototype.poll=function(){var it=this,at=this.cm,dt=this.textarea,ht=this.prevInput;if(this.contextMenuPending||!at.state.focused||Ct(dt)&&!ht&&!this.composing||at.isReadOnly()||at.options.disableInput||at.state.keySeq)return!1;var pt=dt.value;if(pt==ht&&!at.somethingSelected())return!1;if(ne&&Ht>=9&&this.hasSelection===pt||ct&&/[\uf700-\uf7ff]/.test(pt))return at.display.input.reset(),!1;if(at.doc.sel==at.display.selForContextMenu){var At=pt.charCodeAt(0);if(At==8203&&!ht&&(ht="\u200B"),At==8666)return this.reset(),this.cm.execCommand("undo")}for(var zt=0,Ut=Math.min(ht.length,pt.length);zt1e3||pt.indexOf(` `)>-1?dt.value=it.prevInput="":it.prevInput=pt,it.composing&&(it.composing.range.clear(),it.composing.range=at.markText(it.composing.start,at.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ds.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ds.prototype.onKeyPress=function(){ne&&Ht>=9&&(this.hasSelection=null),this.fastPoll()},ds.prototype.onContextMenu=function(it){var at=this,dt=at.cm,ht=dt.display,pt=at.textarea;at.contextMenuPending&&at.contextMenuPending();var At=Va(dt,it),zt=ht.scroller.scrollTop;if(!At||Nt)return;var Ut=dt.options.resetSelectionOnContextMenu;Ut&&dt.doc.sel.contains(At)==-1&&uo(dt,Gs)(dt.doc,Qu(At),Se);var Kt=pt.style.cssText,ue=at.wrapper.style.cssText,tn=at.wrapper.offsetParent.getBoundingClientRect();at.wrapper.style.cssText="position: static",pt.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(it.clientY-tn.top-5)+"px; left: "+(it.clientX-tn.left-5)+`px; z-index: 1000; background: `+(ne?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var ye;oe&&(ye=window.scrollY),ht.input.focus(),oe&&window.scrollTo(null,ye),ht.input.reset(),dt.somethingSelected()||(pt.value=at.prevInput=" "),at.contextMenuPending=wn,ht.selForContextMenu=dt.doc.sel,clearTimeout(ht.detectingSelectAll);function kn(){if(pt.selectionStart!=null){var Ki=dt.somethingSelected(),ar="\u200B"+(Ki?pt.value:"");pt.value="\u21DA",pt.value=ar,at.prevInput=Ki?"":"\u200B",pt.selectionStart=1,pt.selectionEnd=ar.length,ht.selForContextMenu=dt.doc.sel}}function wn(){if(at.contextMenuPending==wn&&(at.contextMenuPending=!1,at.wrapper.style.cssText=ue,pt.style.cssText=Kt,ne&&Ht<9&&ht.scrollbars.setScrollTop(ht.scroller.scrollTop=zt),pt.selectionStart!=null)){(!ne||ne&&Ht<9)&&kn();var Ki=0,ar=function(){ht.selForContextMenu==dt.doc.sel&&pt.selectionStart==0&&pt.selectionEnd>0&&at.prevInput=="\u200B"?uo(dt,rs)(dt):Ki++<10?ht.detectingSelectAll=setTimeout(ar,500):(ht.selForContextMenu=null,ht.input.reset())};ht.detectingSelectAll=setTimeout(ar,200)}}if(ne&&Ht>=9&&kn(),Pt){ii(it);var zi=function(){Hn(window,"mouseup",zi),setTimeout(wn,20)};en(window,"mouseup",zi)}else setTimeout(wn,50)},ds.prototype.readOnlyChanged=function(it){it||this.reset(),this.textarea.disabled=it=="nocursor",this.textarea.readOnly=!!it},ds.prototype.setUneditable=function(){},ds.prototype.needsContentAttribute=!1;function um(it,at){if(at=at?sn(at):{},at.value=it.value,!at.tabindex&&it.tabIndex&&(at.tabindex=it.tabIndex),!at.placeholder&&it.placeholder&&(at.placeholder=it.placeholder),at.autofocus==null){var dt=De();at.autofocus=dt==it||it.getAttribute("autofocus")!=null&&dt==document.body}function ht(){it.value=Ut.getValue()}var pt;if(it.form&&(en(it.form,"submit",ht),!at.leaveSubmitMethodAlone)){var At=it.form;pt=At.submit;try{var zt=At.submit=function(){ht(),At.submit=pt,At.submit(),At.submit=zt}}catch(Kt){}}at.finishInit=function(Kt){Kt.save=ht,Kt.getTextArea=function(){return it},Kt.toTextArea=function(){Kt.toTextArea=isNaN,ht(),it.parentNode.removeChild(Kt.getWrapperElement()),it.style.display="",it.form&&(Hn(it.form,"submit",ht),!at.leaveSubmitMethodAlone&&typeof it.form.submit=="function"&&(it.form.submit=pt))}},it.style.display="none";var Ut=la(function(Kt){return it.parentNode.insertBefore(Kt,it.nextSibling)},at);return Ut}function Kd(it){it.off=Hn,it.on=en,it.wheelEventPixels=Dl,it.Doc=Ds,it.splitLines=qi,it.countColumn=$t,it.findColumn=xn,it.isWordChar=kt,it.Pass=Ve,it.signal=mn,it.Line=hn,it.changeEnd=vh,it.scrollbarModel=Nl,it.Pos=Xe,it.cmpPos=ri,it.modes=Bn,it.mimeModes=En,it.resolveMode=Te,it.getMode=Ze,it.modeExtensions=Ne,it.extendMode=ln,it.copyState=Oi,it.startState=$i,it.innerMode=Ni,it.commands=Ph,it.keyMap=yl,it.keyName=em,it.isModifierKey=Rd,it.lookupKey=Yl,it.normalizeKeyMap=Lg,it.StringStream=Ye,it.SharedTextMarker=Tu,it.TextMarker=Re,it.LineWidget=$u,it.e_preventDefault=er,it.e_stopPropagation=Ke,it.e_stop=ii,it.addClass=Ee,it.contains=Fe,it.rmClass=Wt,it.keyNames=Du}am(la),Ch(la);var th="iter insert remove copy getEditor constructor".split(" ");for(var Fc in Ds.prototype)Ds.prototype.hasOwnProperty(Fc)&&Pe(th,Fc)<0&&(la.prototype[Fc]=function(it){return function(){return it.apply(this.doc,arguments)}}(Ds.prototype[Fc]));return ji(Ds),la.inputStyles={textarea:ds,contenteditable:Ma},la.defineMode=function(it){!la.defaults.mode&&it!="null"&&(la.defaults.mode=it),vn.apply(this,arguments)},la.defineMIME=ui,la.defineMode("null",function(){return{token:function(it){return it.skipToEnd()}}}),la.defineMIME("text/plain","null"),la.defineExtension=function(it,at){la.prototype[it]=at},la.defineDocExtension=function(it,at){Ds.prototype[it]=at},la.fromTextArea=um,Kd(la),la.version="5.58.2",la})},25419:function(bn,$n,Et){(function(Lt){Lt(Et(89780),Et(15525),Et(98101))})(function(Lt){"use strict";Lt.defineMode("markdown",function(re,fe){var pe=Lt.getMode(re,"text/html"),ne=pe.name=="null";function Ht($t){if(Lt.findModeByName){var It=Lt.findModeByName($t);It&&($t=It.mime||It.mimes[0])}var Pe=Lt.getMode(re,$t);return Pe.name=="null"?null:Pe}fe.highlightFormatting===void 0&&(fe.highlightFormatting=!1),fe.maxBlockquoteDepth===void 0&&(fe.maxBlockquoteDepth=0),fe.taskLists===void 0&&(fe.taskLists=!1),fe.strikethrough===void 0&&(fe.strikethrough=!1),fe.emoji===void 0&&(fe.emoji=!1),fe.fencedCodeBlockHighlighting===void 0&&(fe.fencedCodeBlockHighlighting=!0),fe.fencedCodeBlockDefaultMode===void 0&&(fe.fencedCodeBlockDefaultMode="text/plain"),fe.xml===void 0&&(fe.xml=!0),fe.tokenTypeOverrides===void 0&&(fe.tokenTypeOverrides={});var oe={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Oe in oe)oe.hasOwnProperty(Oe)&&fe.tokenTypeOverrides[Oe]&&(oe[Oe]=fe.tokenTypeOverrides[Oe]);var ge=/^([*\-_])(?:\s*\1){2,}\s*$/,Nt=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Je=/^\[(x| )\](?=\s)/i,ie=fe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,nn=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Bt=/^[^#!\[\]*_\\<>` "'(~:]+/,et=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,nt=/^\s*\[[^\]]+?\]:.*$/,ct=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,lt=" ";function gt($t,It,Pe){return It.f=It.inline=Pe,Pe($t,It)}function mt($t,It,Pe){return It.f=It.block=Pe,Pe($t,It)}function St($t){return!$t||!/\S/.test($t.string)}function Pt($t){if($t.linkTitle=!1,$t.linkHref=!1,$t.linkText=!1,$t.em=!1,$t.strong=!1,$t.strikethrough=!1,$t.quote=0,$t.indentedCode=!1,$t.f==Wt){var It=ne;if(!It){var Pe=Lt.innerMode(pe,$t.htmlState);It=Pe.mode.name=="xml"&&Pe.state.tagStart===null&&!Pe.state.context&&Pe.state.tokenize.isInText}It&&($t.f=le,$t.block=Rt,$t.htmlState=null)}return $t.trailingSpace=0,$t.trailingSpaceNewLine=!1,$t.prevLine=$t.thisLine,$t.thisLine={stream:null},null}function Rt($t,It){var Pe=$t.column()===It.indentation,an=St(It.prevLine.stream),Ve=It.indentedCode,Se=It.prevLine.hr,$e=It.list!==!1,He=(It.listStack[It.listStack.length-1]||0)+3;It.indentedCode=!1;var xn=It.indentation;if(It.indentationDiff===null&&(It.indentationDiff=It.indentation,$e)){for(It.list=null;xn=4&&(Ve||It.prevLine.fencedCodeEnd||It.prevLine.header||an))return $t.skipToEnd(),It.indentedCode=!0,oe.code;if($t.eatSpace())return null;if(Pe&&It.indentation<=He&&(ke=$t.match(ie))&&ke[1].length<=6)return It.quote=0,It.header=ke[1].length,It.thisLine.header=!0,fe.highlightFormatting&&(It.formatting="header"),It.f=It.inline,Jt(It);if(It.indentation<=He&&$t.eat(">"))return It.quote=Pe?1:It.quote+1,fe.highlightFormatting&&(It.formatting="quote"),$t.eatSpace(),Jt(It);if(!de&&!It.setext&&Pe&&It.indentation<=He&&(ke=$t.match(Nt))){var ze=ke[1]?"ol":"ul";return It.indentation=xn+$t.current().length,It.list=!0,It.quote=0,It.listStack.push(It.indentation),It.em=!1,It.strong=!1,It.code=!1,It.strikethrough=!1,fe.taskLists&&$t.match(Je,!1)&&(It.taskList=!0),It.f=It.inline,fe.highlightFormatting&&(It.formatting=["list","list-"+ze]),Jt(It)}else{if(Pe&&It.indentation<=He&&(ke=$t.match(et,!0)))return It.quote=0,It.fencedEndRE=new RegExp(ke[1]+"+ *$"),It.localMode=fe.fencedCodeBlockHighlighting&&Ht(ke[2]||fe.fencedCodeBlockDefaultMode),It.localMode&&(It.localState=Lt.startState(It.localMode)),It.f=It.block=te,fe.highlightFormatting&&(It.formatting="code-block"),It.code=-1,Jt(It);if(It.setext||(!we||!$e)&&!It.quote&&It.list===!1&&!It.code&&!de&&!nt.test($t.string)&&(ke=$t.lookAhead(1))&&(ke=ke.match(nn)))return It.setext?(It.header=It.setext,It.setext=0,$t.skipToEnd(),fe.highlightFormatting&&(It.formatting="header")):(It.header=ke[0].charAt(0)=="="?1:2,It.setext=It.header),It.thisLine.header=!0,It.f=It.inline,Jt(It);if(de)return $t.skipToEnd(),It.hr=!0,It.thisLine.hr=!0,oe.hr;if($t.peek()==="[")return gt($t,It,Sn)}return gt($t,It,It.inline)}function Wt($t,It){var Pe=pe.token($t,It.htmlState);if(!ne){var an=Lt.innerMode(pe,It.htmlState);(an.mode.name=="xml"&&an.state.tagStart===null&&!an.state.context&&an.state.tokenize.isInText||It.md_inside&&$t.current().indexOf(">")>-1)&&(It.f=le,It.block=Rt,It.htmlState=null)}return Pe}function te($t,It){var Pe=It.listStack[It.listStack.length-1]||0,an=It.indentation=$t.quote?It.push(oe.formatting+"-"+$t.formatting[Pe]+"-"+$t.quote):It.push("error"))}if($t.taskOpen)return It.push("meta"),It.length?It.join(" "):null;if($t.taskClosed)return It.push("property"),It.length?It.join(" "):null;if($t.linkHref?It.push(oe.linkHref,"url"):($t.strong&&It.push(oe.strong),$t.em&&It.push(oe.em),$t.strikethrough&&It.push(oe.strikethrough),$t.emoji&&It.push(oe.emoji),$t.linkText&&It.push(oe.linkText),$t.code&&It.push(oe.code),$t.image&&It.push(oe.image),$t.imageAltText&&It.push(oe.imageAltText,"link"),$t.imageMarker&&It.push(oe.imageMarker)),$t.header&&It.push(oe.header,oe.header+"-"+$t.header),$t.quote&&(It.push(oe.quote),!fe.maxBlockquoteDepth||fe.maxBlockquoteDepth>=$t.quote?It.push(oe.quote+"-"+$t.quote):It.push(oe.quote+"-"+fe.maxBlockquoteDepth)),$t.list!==!1){var an=($t.listStack.length-1)%3;an?an===1?It.push(oe.list2):It.push(oe.list3):It.push(oe.list1)}return $t.trailingSpaceNewLine?It.push("trailing-space-new-line"):$t.trailingSpace&&It.push("trailing-space-"+($t.trailingSpace%2?"a":"b")),It.length?It.join(" "):null}function Vt($t,It){if($t.match(Bt,!0))return Jt(It)}function le($t,It){var Pe=It.text($t,It);if(typeof Pe!="undefined")return Pe;if(It.list)return It.list=null,Jt(It);if(It.taskList){var an=$t.match(Je,!0)[1]===" ";return an?It.taskOpen=!0:It.taskClosed=!0,fe.highlightFormatting&&(It.formatting="task"),It.taskList=!1,Jt(It)}if(It.taskOpen=!1,It.taskClosed=!1,It.header&&$t.match(/^#+$/,!0))return fe.highlightFormatting&&(It.formatting="header"),Jt(It);var Ve=$t.next();if(It.linkTitle){It.linkTitle=!1;var Se=Ve;Ve==="("&&(Se=")"),Se=(Se+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var $e="^\\s*(?:[^"+Se+"\\\\]+|\\\\\\\\|\\\\.)"+Se;if($t.match(new RegExp($e),!0))return oe.linkHref}if(Ve==="`"){var He=It.formatting;fe.highlightFormatting&&(It.formatting="code"),$t.eatWhile("`");var xn=$t.current().length;if(It.code==0&&(!It.quote||xn==1))return It.code=xn,Jt(It);if(xn==It.code){var we=Jt(It);return It.code=0,we}else return It.formatting=He,Jt(It)}else if(It.code)return Jt(It);if(Ve==="\\"&&($t.next(),fe.highlightFormatting)){var de=Jt(It),ke=oe.formatting+"-escape";return de?de+" "+ke:ke}if(Ve==="!"&&$t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return It.imageMarker=!0,It.image=!0,fe.highlightFormatting&&(It.formatting="image"),Jt(It);if(Ve==="["&&It.imageMarker&&$t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return It.imageMarker=!1,It.imageAltText=!0,fe.highlightFormatting&&(It.formatting="image"),Jt(It);if(Ve==="]"&&It.imageAltText){fe.highlightFormatting&&(It.formatting="image");var de=Jt(It);return It.imageAltText=!1,It.image=!1,It.inline=It.f=Fe,de}if(Ve==="["&&!It.image)return It.linkText&&$t.match(/^.*?\]/)||(It.linkText=!0,fe.highlightFormatting&&(It.formatting="link")),Jt(It);if(Ve==="]"&&It.linkText){fe.highlightFormatting&&(It.formatting="link");var de=Jt(It);return It.linkText=!1,It.inline=It.f=$t.match(/\(.*?\)| ?\[.*?\]/,!1)?Fe:le,de}if(Ve==="<"&&$t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){It.f=It.inline=ae,fe.highlightFormatting&&(It.formatting="link");var de=Jt(It);return de?de+=" ":de="",de+oe.linkInline}if(Ve==="<"&&$t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){It.f=It.inline=ae,fe.highlightFormatting&&(It.formatting="link");var de=Jt(It);return de?de+=" ":de="",de+oe.linkEmail}if(fe.xml&&Ve==="<"&&$t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ze=$t.string.indexOf(">",$t.pos);if(ze!=-1){var fn=$t.string.substring($t.start,ze);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(fn)&&(It.md_inside=!0)}return $t.backUp(1),It.htmlState=Lt.startState(pe),mt($t,It,Wt)}if(fe.xml&&Ve==="<"&&$t.match(/^\/\w*?>/))return It.md_inside=!1,"tag";if(Ve==="*"||Ve==="_"){for(var Dt=1,wt=$t.pos==1?" ":$t.string.charAt($t.pos-2);Dt<3&&$t.eat(Ve);)Dt++;var yt=$t.peek()||" ",kt=!/\s/.test(yt)&&(!ct.test(yt)||/\s/.test(wt)||ct.test(wt)),jt=!/\s/.test(wt)&&(!ct.test(wt)||/\s/.test(yt)||ct.test(yt)),Mt=null,Gt=null;if(Dt%2&&(!It.em&&kt&&(Ve==="*"||!jt||ct.test(wt))?Mt=!0:It.em==Ve&&jt&&(Ve==="*"||!kt||ct.test(yt))&&(Mt=!1)),Dt>1&&(!It.strong&&kt&&(Ve==="*"||!jt||ct.test(wt))?Gt=!0:It.strong==Ve&&jt&&(Ve==="*"||!kt||ct.test(yt))&&(Gt=!1)),Gt!=null||Mt!=null){fe.highlightFormatting&&(It.formatting=Mt==null?"strong":Gt==null?"em":"strong em"),Mt===!0&&(It.em=Ve),Gt===!0&&(It.strong=Ve);var we=Jt(It);return Mt===!1&&(It.em=!1),Gt===!1&&(It.strong=!1),we}}else if(Ve===" "&&($t.eat("*")||$t.eat("_"))){if($t.peek()===" ")return Jt(It);$t.backUp(1)}if(fe.strikethrough){if(Ve==="~"&&$t.eatWhile(Ve)){if(It.strikethrough){fe.highlightFormatting&&(It.formatting="strikethrough");var we=Jt(It);return It.strikethrough=!1,we}else if($t.match(/^[^\s]/,!1))return It.strikethrough=!0,fe.highlightFormatting&&(It.formatting="strikethrough"),Jt(It)}else if(Ve===" "&&$t.match(/^~~/,!0)){if($t.peek()===" ")return Jt(It);$t.backUp(2)}}if(fe.emoji&&Ve===":"&&$t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){It.emoji=!0,fe.highlightFormatting&&(It.formatting="emoji");var Ce=Jt(It);return It.emoji=!1,Ce}return Ve===" "&&($t.match(/^ +$/,!1)?It.trailingSpace++:It.trailingSpace&&(It.trailingSpaceNewLine=!0)),Jt(It)}function ae($t,It){var Pe=$t.next();if(Pe===">"){It.f=It.inline=le,fe.highlightFormatting&&(It.formatting="link");var an=Jt(It);return an?an+=" ":an="",an+oe.linkInline}return $t.match(/^[^>]+/,!0),oe.linkInline}function Fe($t,It){if($t.eatSpace())return null;var Pe=$t.next();return Pe==="("||Pe==="["?(It.f=It.inline=Ee(Pe==="("?")":"]"),fe.highlightFormatting&&(It.formatting="link-string"),It.linkHref=!0,Jt(It)):"error"}var De={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ee($t){return function(It,Pe){var an=It.next();if(an===$t){Pe.f=Pe.inline=le,fe.highlightFormatting&&(Pe.formatting="link-string");var Ve=Jt(Pe);return Pe.linkHref=!1,Ve}return It.match(De[$t]),Pe.linkHref=!0,Jt(Pe)}}function Sn($t,It){return $t.match(/^([^\]\\]|\\.)*\]:/,!1)?(It.f=rn,$t.next(),fe.highlightFormatting&&(It.formatting="link"),It.linkText=!0,Jt(It)):gt($t,It,le)}function rn($t,It){if($t.match(/^\]:/,!0)){It.f=It.inline=Ge,fe.highlightFormatting&&(It.formatting="link");var Pe=Jt(It);return It.linkText=!1,Pe}return $t.match(/^([^\]\\]|\\.)+/,!0),oe.linkText}function Ge($t,It){return $t.eatSpace()?null:($t.match(/^[^\s]+/,!0),$t.peek()===void 0?It.linkTitle=!0:$t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),It.f=It.inline=le,oe.linkHref+" url")}var sn={startState:function(){return{f:Rt,prevLine:{stream:null},thisLine:{stream:null},block:Rt,htmlState:null,indentation:0,inline:le,text:Vt,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function($t){return{f:$t.f,prevLine:$t.prevLine,thisLine:$t.thisLine,block:$t.block,htmlState:$t.htmlState&&Lt.copyState(pe,$t.htmlState),indentation:$t.indentation,localMode:$t.localMode,localState:$t.localMode?Lt.copyState($t.localMode,$t.localState):null,inline:$t.inline,text:$t.text,formatting:!1,linkText:$t.linkText,linkTitle:$t.linkTitle,linkHref:$t.linkHref,code:$t.code,em:$t.em,strong:$t.strong,strikethrough:$t.strikethrough,emoji:$t.emoji,header:$t.header,setext:$t.setext,hr:$t.hr,taskList:$t.taskList,list:$t.list,listStack:$t.listStack.slice(0),quote:$t.quote,indentedCode:$t.indentedCode,trailingSpace:$t.trailingSpace,trailingSpaceNewLine:$t.trailingSpaceNewLine,md_inside:$t.md_inside,fencedEndRE:$t.fencedEndRE}},token:function($t,It){if(It.formatting=!1,$t!=It.thisLine.stream){if(It.header=0,It.hr=!1,$t.match(/^\s*$/,!0))return Pt(It),null;if(It.prevLine=It.thisLine,It.thisLine={stream:$t},It.taskList=!1,It.trailingSpace=0,It.trailingSpaceNewLine=!1,!It.localState&&(It.f=It.block,It.f!=Wt)){var Pe=$t.match(/^\s*/,!0)[0].replace(/\t/g,lt).length;if(It.indentation=Pe,It.indentationDiff=null,Pe>0)return null}}return It.f($t,It)},innerMode:function($t){return $t.block==Wt?{state:$t.htmlState,mode:pe}:$t.localState?{state:$t.localState,mode:$t.localMode}:{state:$t,mode:sn}},indent:function($t,It,Pe){return $t.block==Wt&&pe.indent?pe.indent($t.htmlState,It,Pe):$t.localState&&$t.localMode.indent?$t.localMode.indent($t.localState,It,Pe):Lt.Pass},blankLine:Pt,getType:Jt,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return sn},"xml"),Lt.defineMIME("text/markdown","markdown"),Lt.defineMIME("text/x-markdown","markdown")})},98101:function(bn,$n,Et){(function(Lt){Lt(Et(89780))})(function(Lt){"use strict";Lt.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var re=0;re-1&&pe.substring(oe+1,pe.length);if(Oe)return Lt.findModeByExtension(Oe)},Lt.findModeByName=function(pe){pe=pe.toLowerCase();for(var ne=0;ne0?Bt.cmdState[Bt.cmdState.length-1]:null}function Ht(Bt){var et=Bt.cmdState.pop();et&&et.closeBracket()}function oe(Bt){for(var et=Bt.cmdState,nt=et.length-1;nt>=0;nt--){var ct=et[nt];if(ct.name!="DEFAULT")return ct}return{styleIdentifier:function(){return null}}}function Oe(Bt,et,nt){return function(){this.name=Bt,this.bracketNo=0,this.style=et,this.styles=nt,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var ge={};ge.importmodule=Oe("importmodule","tag",["string","builtin"]),ge.documentclass=Oe("documentclass","tag",["","atom"]),ge.usepackage=Oe("usepackage","tag",["atom"]),ge.begin=Oe("begin","tag",["atom"]),ge.end=Oe("end","tag",["atom"]),ge.label=Oe("label","tag",["atom"]),ge.ref=Oe("ref","tag",["atom"]),ge.eqref=Oe("eqref","tag",["atom"]),ge.cite=Oe("cite","tag",["atom"]),ge.bibitem=Oe("bibitem","tag",["atom"]),ge.Bibitem=Oe("Bibitem","tag",["atom"]),ge.RBibitem=Oe("RBibitem","tag",["atom"]),ge.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Nt(Bt,et){Bt.f=et}function Je(Bt,et){var nt;if(Bt.match(/^\\[a-zA-Z@]+/)){var ct=Bt.current().slice(1);return nt=ge.hasOwnProperty(ct)?ge[ct]:ge.DEFAULT,nt=new nt,pe(et,nt),Nt(et,nn),nt.style}if(Bt.match(/^\\[$&%#{}_]/)||Bt.match(/^\\[,;!\/\\]/))return"tag";if(Bt.match("\\["))return Nt(et,function(gt,mt){return ie(gt,mt,"\\]")}),"keyword";if(Bt.match("\\("))return Nt(et,function(gt,mt){return ie(gt,mt,"\\)")}),"keyword";if(Bt.match("$$"))return Nt(et,function(gt,mt){return ie(gt,mt,"$$")}),"keyword";if(Bt.match("$"))return Nt(et,function(gt,mt){return ie(gt,mt,"$")}),"keyword";var lt=Bt.next();if(lt=="%")return Bt.skipToEnd(),"comment";if(lt=="}"||lt=="]"){if(nt=ne(et),nt)nt.closeBracket(lt),Nt(et,nn);else return"error";return"bracket"}else return lt=="{"||lt=="["?(nt=ge.DEFAULT,nt=new nt,pe(et,nt),"bracket"):/\d/.test(lt)?(Bt.eatWhile(/[\w.%]/),"atom"):(Bt.eatWhile(/[\w\-_]/),nt=oe(et),nt.name=="begin"&&(nt.argument=Bt.current()),nt.styleIdentifier())}function ie(Bt,et,nt){if(Bt.eatSpace())return null;if(nt&&Bt.match(nt))return Nt(et,Je),"keyword";if(Bt.match(/^\\[a-zA-Z@]+/))return"tag";if(Bt.match(/^[a-zA-Z]+/))return"variable-2";if(Bt.match(/^\\[$&%#{}_]/)||Bt.match(/^\\[,;!\/]/)||Bt.match(/^[\^_&]/))return"tag";if(Bt.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Bt.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ct=Bt.next();return ct=="{"||ct=="}"||ct=="["||ct=="]"||ct=="("||ct==")"?"bracket":ct=="%"?(Bt.skipToEnd(),"comment"):"error"}function nn(Bt,et){var nt=Bt.peek(),ct;return nt=="{"||nt=="["?(ct=ne(et),ct.openBracket(nt),Bt.eat(nt),Nt(et,Je),"bracket"):/[ \t\r]/.test(nt)?(Bt.eat(nt),null):(Nt(et,Je),Ht(et),Je(Bt,et))}return{startState:function(){var Bt=fe.inMathMode?function(et,nt){return ie(et,nt)}:Je;return{cmdState:[],f:Bt}},copyState:function(Bt){return{cmdState:Bt.cmdState.slice(),f:Bt.f}},token:function(Bt,et){return et.f(Bt,et)},blankLine:function(Bt){Bt.f=Je,Bt.cmdState.length=0},lineComment:"%"}}),Lt.defineMIME("text/x-stex","stex"),Lt.defineMIME("text/x-latex","stex")})},15525:function(bn,$n,Et){(function(Lt){Lt(Et(89780))})(function(Lt){"use strict";var re={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},fe={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};Lt.defineMode("xml",function(pe,ne){var Ht=pe.indentUnit,oe={},Oe=ne.htmlMode?re:fe;for(var ge in Oe)oe[ge]=Oe[ge];for(var ge in ne)oe[ge]=ne[ge];var Nt,Je;function ie(ae,Fe){function De(rn){return Fe.tokenize=rn,rn(ae,Fe)}var Ee=ae.next();if(Ee=="<")return ae.eat("!")?ae.eat("[")?ae.match("CDATA[")?De(et("atom","]]>")):null:ae.match("--")?De(et("comment","-->")):ae.match("DOCTYPE",!0,!0)?(ae.eatWhile(/[\w\._\-]/),De(nt(1))):null:ae.eat("?")?(ae.eatWhile(/[\w\._\-]/),Fe.tokenize=et("meta","?>"),"meta"):(Nt=ae.eat("/")?"closeTag":"openTag",Fe.tokenize=nn,"tag bracket");if(Ee=="&"){var Sn;return ae.eat("#")?ae.eat("x")?Sn=ae.eatWhile(/[a-fA-F\d]/)&&ae.eat(";"):Sn=ae.eatWhile(/[\d]/)&&ae.eat(";"):Sn=ae.eatWhile(/[\w\.\-:]/)&&ae.eat(";"),Sn?"atom":"error"}else return ae.eatWhile(/[^&<]/),null}ie.isInText=!0;function nn(ae,Fe){var De=ae.next();if(De==">"||De=="/"&&ae.eat(">"))return Fe.tokenize=ie,Nt=De==">"?"endTag":"selfcloseTag","tag bracket";if(De=="=")return Nt="equals",null;if(De=="<"){Fe.tokenize=ie,Fe.state=mt,Fe.tagName=Fe.tagStart=null;var Ee=Fe.tokenize(ae,Fe);return Ee?Ee+" tag error":"tag error"}else return/[\'\"]/.test(De)?(Fe.tokenize=Bt(De),Fe.stringStartCol=ae.column(),Fe.tokenize(ae,Fe)):(ae.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Bt(ae){var Fe=function(De,Ee){for(;!De.eol();)if(De.next()==ae){Ee.tokenize=nn;break}return"string"};return Fe.isInAttribute=!0,Fe}function et(ae,Fe){return function(De,Ee){for(;!De.eol();){if(De.match(Fe)){Ee.tokenize=ie;break}De.next()}return ae}}function nt(ae){return function(Fe,De){for(var Ee;(Ee=Fe.next())!=null;){if(Ee=="<")return De.tokenize=nt(ae+1),De.tokenize(Fe,De);if(Ee==">")if(ae==1){De.tokenize=ie;break}else return De.tokenize=nt(ae-1),De.tokenize(Fe,De)}return"meta"}}function ct(ae,Fe,De){this.prev=ae.context,this.tagName=Fe,this.indent=ae.indented,this.startOfLine=De,(oe.doNotIndent.hasOwnProperty(Fe)||ae.context&&ae.context.noIndent)&&(this.noIndent=!0)}function lt(ae){ae.context&&(ae.context=ae.context.prev)}function gt(ae,Fe){for(var De;;){if(!ae.context||(De=ae.context.tagName,!oe.contextGrabbers.hasOwnProperty(De)||!oe.contextGrabbers[De].hasOwnProperty(Fe)))return;lt(ae)}}function mt(ae,Fe,De){return ae=="openTag"?(De.tagStart=Fe.column(),St):ae=="closeTag"?Pt:mt}function St(ae,Fe,De){return ae=="word"?(De.tagName=Fe.current(),Je="tag",te):oe.allowMissingTagName&&ae=="endTag"?(Je="tag bracket",te(ae,Fe,De)):(Je="error",St)}function Pt(ae,Fe,De){if(ae=="word"){var Ee=Fe.current();return De.context&&De.context.tagName!=Ee&&oe.implicitlyClosed.hasOwnProperty(De.context.tagName)&<(De),De.context&&De.context.tagName==Ee||oe.matchClosing===!1?(Je="tag",Rt):(Je="tag error",Wt)}else return oe.allowMissingTagName&&ae=="endTag"?(Je="tag bracket",Rt(ae,Fe,De)):(Je="error",Wt)}function Rt(ae,Fe,De){return ae!="endTag"?(Je="error",Rt):(lt(De),mt)}function Wt(ae,Fe,De){return Je="error",Rt(ae,Fe,De)}function te(ae,Fe,De){if(ae=="word")return Je="attribute",Jt;if(ae=="endTag"||ae=="selfcloseTag"){var Ee=De.tagName,Sn=De.tagStart;return De.tagName=De.tagStart=null,ae=="selfcloseTag"||oe.autoSelfClosers.hasOwnProperty(Ee)?gt(De,Ee):(gt(De,Ee),De.context=new ct(De,Ee,Sn==De.indented)),mt}return Je="error",te}function Jt(ae,Fe,De){return ae=="equals"?Vt:(oe.allowMissing||(Je="error"),te(ae,Fe,De))}function Vt(ae,Fe,De){return ae=="string"?le:ae=="word"&&oe.allowUnquoted?(Je="string",te):(Je="error",te(ae,Fe,De))}function le(ae,Fe,De){return ae=="string"?le:te(ae,Fe,De)}return{startState:function(ae){var Fe={tokenize:ie,state:mt,indented:ae||0,tagName:null,tagStart:null,context:null};return ae!=null&&(Fe.baseIndent=ae),Fe},token:function(ae,Fe){if(!Fe.tagName&&ae.sol()&&(Fe.indented=ae.indentation()),ae.eatSpace())return null;Nt=null;var De=Fe.tokenize(ae,Fe);return(De||Nt)&&De!="comment"&&(Je=null,Fe.state=Fe.state(Nt||De,ae,Fe),Je&&(De=Je=="error"?De+" error":Je)),De},indent:function(ae,Fe,De){var Ee=ae.context;if(ae.tokenize.isInAttribute)return ae.tagStart==ae.indented?ae.stringStartCol+1:ae.indented+Ht;if(Ee&&Ee.noIndent)return Lt.Pass;if(ae.tokenize!=nn&&ae.tokenize!=ie)return De?De.match(/^(\s*)/)[0].length:0;if(ae.tagName)return oe.multilineTagIndentPastTag!==!1?ae.tagStart+ae.tagName.length+2:ae.tagStart+Ht*(oe.multilineTagIndentFactor||1);if(oe.alignCDATA&&/$/,blockCommentStart:"",configuration:oe.htmlMode?"html":"xml",helperType:oe.htmlMode?"html":"xml",skipAttribute:function(ae){ae.state==Vt&&(ae.state=te)},xmlCurrentTag:function(ae){return ae.tagName?{name:ae.tagName,close:ae.type=="closeTag"}:null},xmlCurrentContext:function(ae){for(var Fe=[],De=ae.context;De;De=De.prev)De.tagName&&Fe.push(De.tagName);return Fe.reverse()}}}),Lt.defineMIME("text/xml","xml"),Lt.defineMIME("application/xml","xml"),Lt.mimeModes.hasOwnProperty("text/html")||Lt.defineMIME("text/html",{name:"xml",htmlMode:!0})})},12378:function(bn,$n,Et){"use strict";Et.d($n,{$u:function(){return ge},BD:function(){return Dt},E9:function(){return Oe},FF:function(){return sr},FJ:function(){return mt},Hn:function(){return gt},KX:function(){return Pt},NB:function(){return Ae},S0:function(){return ke},UL:function(){return Nt},Vk:function(){return lt},Vm:function(){return _e},YI:function(){return ze},ZA:function(){return fe},Zt:function(){return Je},al:function(){return Mt},bn:function(){return jt},bx:function(){return wt},g2:function(){return fn},h1:function(){return Vt},hD:function(){return ji},l4:function(){return Ht},rU:function(){return Le},s_:function(){return yt},uz:function(){return on},z6:function(){return ie}}),bn=Et.hmd(bn),function(){var Ct;function Bi(a){var y=0;return function(){return yx&&(x=Math.max(0,E+x)),(b==null||b>E)&&(b=E),b=Number(b),0>b&&(b=Math.max(0,E+b)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):Qt("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function ir(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):Qt("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function ai(){var a=so.pop();return a===void 0?[]:a}function Jn(a){a.length=0,so.push(a)}function hi(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(Xe(a)&&a.constructor)return hi(a.constructor);return typeof a}function hr(a){var y=a;return Xe(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function tr(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Dn(a,y,x){Object.defineProperty(wo.prototype,a,{get:y,set:x})}function ki(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var b=0,E=0;Ex;x++)y[x]=x;for(x=b=0;256>x;x++)b=(b+y[x]+119)%256,E=y[x],y[x]=y[b],y[b]=E;b=x=0;for(var z="",tt=0;tt-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var Fr=Ye.navigator!==void 0&&0this.key)return!1;a=a.s;var y=a.length,x=++this.Za,b=this.qf;if(b!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},qr.prototype.Ad=function(){return this.next()},qr.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},qr.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},qr.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},qr.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},qr.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--)x.push(a(y[b]));return a=new pn,a.s=x,a.xb(),a.iterator},qr.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--){var E=y[b];a(E)&&x.push(E)}return a=new pn,a.s=x,a.xb(),a.iterator},qr.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},qr.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},ln.Object.defineProperties(qr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),qr.prototype.first=qr.prototype.first,qr.prototype.hasNext=qr.prototype.Ad,qr.prototype.next=qr.prototype.next,qr.prototype.reset=qr.prototype.reset,qr.className="ListIteratorBackwards";function pn(a){rr(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&Qt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ct=pn.prototype,Ct.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Gn(a,"0 <= i < length",pn,"elt:i"),y[a]},Ct.get=function(a){return this.M(a)},Ct.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Gn(a,"0 <= i < length",pn,"setElt:i"),this._isFrozen&&Me(this,a),x[a]=y},Ct.set=function(a,y){this.cd(a,y)},Ct.first=function(){var a=this.s;return a.length===0?null:a[0]},Ct.jc=function(){var a=this.s,y=a.length;return 0a&&Gn(a,">= 0",pn,"insertAt:i"),this._isFrozen&&Me(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Ct.remove=function(a){if(a===null)return!1;this._isFrozen&&Me(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Ct.delete=function(a){return this.remove(a)},Ct.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Gn(a,"0 <= i < length",pn,"removeAt:i"),this._isFrozen&&Me(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Ct.removeRange=function(a,y){var x=this.s,b=x.length;if(0>a)a=0;else if(a>=b)return this;if(0>y)return this;if(y>=b&&(y=b-1),a>y)return this;this._isFrozen&&Me(this);for(var E=a,z=y+1;z=z)return this;if((0>y||y>=E-1)&&Gn(y,"0 <= from < length",pn,"sortRange:from"),z===2)return x=b[y],E=b[y+1],0=E)b.sort(a);else for(y=b.slice(0,x),y.sort(a),a=0;a=E)for(x=b.slice(y),x.sort(a),a=y;a=this.s.length)return Xr;var a=this.Sa;return a!==null?(a.reset(),a):new Hr(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Xr;var a=this.Hg;return a!==null?(a.reset(),a):new qr(this)}}}),pn.prototype.reverse=pn.prototype.reverse,pn.prototype.sortRange=pn.prototype.zi,pn.prototype.sort=pn.prototype.sort,pn.prototype.toSet=pn.prototype.Iv,pn.prototype.toArray=pn.prototype.Fa,pn.prototype.removeRange=pn.prototype.removeRange,pn.prototype.removeAt=pn.prototype.mb,pn.prototype.delete=pn.prototype.delete,pn.prototype.remove=pn.prototype.remove,pn.prototype.insertAt=pn.prototype.Gb,pn.prototype.pop=pn.prototype.pop,pn.prototype.last=pn.prototype.jc,pn.prototype.first=pn.prototype.first,pn.prototype.set=pn.prototype.set,pn.prototype.setElt=pn.prototype.cd,pn.prototype.get=pn.prototype.get,pn.prototype.elt=pn.prototype.M,pn.prototype.indexOf=pn.prototype.indexOf,pn.prototype.has=pn.prototype.has,pn.prototype.contains=pn.prototype.contains,pn.prototype.clear=pn.prototype.clear,pn.prototype.addAll=pn.prototype.addAll,pn.prototype.push=pn.prototype.push,pn.prototype.add=pn.prototype.add,pn.prototype.thaw=pn.prototype.ka,pn.prototype.freeze=pn.prototype.freeze,pn.className="List";function no(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}no.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},no.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},no.prototype.Ad=function(){return this.next()},no.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},no.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},no.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},no.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},no.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new pn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},no.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new pn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},no.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},no.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},ln.Object.defineProperties(no.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),no.prototype.first=no.prototype.first,no.prototype.hasNext=no.prototype.Ad,no.prototype.next=no.prototype.next,no.prototype.reset=no.prototype.reset,no.className="SetIterator";function Cn(a){rr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Qt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ct=Cn.prototype,Ct.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return Xr;var a=this.Sa;return a!==null?(a.reset(),a):new no(this)}}}),Cn.prototype.toList=Cn.prototype.Hv,Cn.prototype.toArray=Cn.prototype.Fa,Cn.prototype.clear=Cn.prototype.clear,Cn.prototype.retainAll=Cn.prototype.pA,Cn.prototype.removeAll=Cn.prototype.hp,Cn.prototype.delete=Cn.prototype.delete,Cn.prototype.remove=Cn.prototype.remove,Cn.prototype.first=Cn.prototype.first,Cn.prototype.containsAny=Cn.prototype.Ty,Cn.prototype.containsAll=Cn.prototype.Sy,Cn.prototype.has=Cn.prototype.has,Cn.prototype.contains=Cn.prototype.contains,Cn.prototype.addAll=Cn.prototype.addAll,Cn.prototype.add=Cn.prototype.add,Cn.prototype.thaw=Cn.prototype.ka,Cn.prototype.freeze=Cn.prototype.freeze;var ho=1;Cn.className="Set",Cn.uniqueHash=rr,Cn.hashIdUnique=Or,Cn.hashId=Tr;function Gr(a){this.ma=a,this.qa=a.Ja,this.sa=null}Gr.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Gr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},Gr.prototype.Ad=function(){return this.next()},Gr.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},Gr.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Gr.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Gr.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},Gr.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new pn;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},Gr.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new pn;for(y=y.ea;y!==null;){var b=y.key;a(b)&&x.add(b),y=y.va}return x.iterator},Gr.prototype.de=function(){this.value=this.key=null,this.qa=-1},Gr.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},ln.Object.defineProperties(Gr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Gr.prototype.first=Gr.prototype.first,Gr.prototype.hasNext=Gr.prototype.Ad,Gr.prototype.next=Gr.prototype.next,Gr.prototype.reset=Gr.prototype.reset,Gr.className="MapKeySetIterator";function xr(a){Cn.call(this),rr(this),this._isFrozen=!0,this.ma=a}Ne(xr,Cn),Ct=xr.prototype,Ct.freeze=function(){return this},Ct.ka=function(){return this},Ct.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Ct.add=function(){Qt("This Set is read-only: "+this.toString())},Ct.contains=function(a){return this.ma.contains(a)},Ct.has=function(a){return this.contains(a)},Ct.remove=function(){Qt("This Set is read-only: "+this.toString())},Ct.delete=function(a){return this.remove(a)},Ct.clear=function(){Qt("This Set is read-only: "+this.toString())},Ct.first=function(){var a=this.ma.ea;return a!==null?a.key:null},xr.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},xr.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},xr.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},xr.prototype.map=function(a){for(var y=new Cn,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},xr.prototype.filter=function(a){for(var y=new Cn,x=this.ma.ea;x!==null;){var b=x.key;a(b)&&y.add(b),x=x.va}return y},xr.prototype.copy=function(){return new xr(this.ma)},xr.prototype.Iv=function(){var a=new Cn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},xr.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,b;for(b in a)y[x]=a[b].key,x++;return y},xr.prototype.Hv=function(){var a=new pn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},ln.Object.defineProperties(xr.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Xr:new Gr(this.ma)}}}),xr.prototype.toList=xr.prototype.Hv,xr.prototype.toArray=xr.prototype.Fa,xr.prototype.toSet=xr.prototype.Iv,xr.prototype.first=xr.prototype.first,xr.prototype.clear=xr.prototype.clear,xr.prototype.delete=xr.prototype.delete,xr.prototype.remove=xr.prototype.remove,xr.prototype.has=xr.prototype.has,xr.prototype.contains=xr.prototype.contains,xr.prototype.add=xr.prototype.add,xr.prototype.thaw=xr.prototype.ka,xr.prototype.freeze=xr.prototype.freeze,xr.className="MapKeySet";function lo(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}lo.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},lo.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},lo.prototype.Ad=function(){return this.next()},lo.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},lo.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},lo.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},lo.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},lo.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new pn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},lo.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new pn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},lo.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},lo.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},ln.Object.defineProperties(lo.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),lo.prototype.first=lo.prototype.first,lo.prototype.hasNext=lo.prototype.Ad,lo.prototype.next=lo.prototype.next,lo.prototype.reset=lo.prototype.reset,lo.className="MapValueSetIterator";function We(a,y){this.key=a,this.value=y,this.ll=this.va=null}We.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},We.className="KeyValuePair";function An(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}An.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},An.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},An.prototype.Ad=function(){return this.next()},An.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},An.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},An.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},An.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},An.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new pn;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},An.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new pn;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},An.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},An.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},ln.Object.defineProperties(An.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),An.prototype.first=An.prototype.first,An.prototype.hasNext=An.prototype.Ad,An.prototype.next=An.prototype.next,An.prototype.reset=An.prototype.reset,An.className="MapIterator";function Be(a){rr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&Qt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ct=Be.prototype,Ct.xb=function(){var a=this.Ja;a++,999999999=this.count)return Xr;var a=this.Sa;return a!==null?(a.reset(),a):new An(this)}},iteratorKeys:{get:function(){return 0>=this.count?Xr:new Gr(this)}},iteratorValues:{get:function(){if(0>=this.count)return Xr;var a=this.jf;return a!==null?(a.reset(),a):new lo(this)}}}),Be.prototype.toKeySet=Be.prototype.Lf,Be.prototype.toArray=Be.prototype.Fa,Be.prototype.clear=Be.prototype.clear,Be.prototype.delete=Be.prototype.delete,Be.prototype.remove=Be.prototype.remove,Be.prototype.get=Be.prototype.get,Be.prototype.getValue=Be.prototype.I,Be.prototype.has=Be.prototype.has,Be.prototype.contains=Be.prototype.contains,Be.prototype.first=Be.prototype.first,Be.prototype.addAll=Be.prototype.addAll,Be.prototype.set=Be.prototype.set,Be.prototype.add=Be.prototype.add,Be.prototype.thaw=Be.prototype.ka,Be.prototype.freeze=Be.prototype.freeze,Be.className="Map";function Ot(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):Qt("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var Qn,Li,Xi,Vi,yi;Ot.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},Ot.prototype.h=function(a,y){return this.x=a,this.y=y,this},Ot.prototype.sg=function(a,y){return this.x=a,this.y=y,this},Ot.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},Ot.prototype.copy=function(){var a=new Ot;return a.x=this.x,a.y=this.y,a},Ct=Ot.prototype,Ct.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ct.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ct.freeze=function(){return this._isFrozen=!0,this},Ct.ka=function(){return Object.isFrozen(this)&&Qt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Mn(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new Ot(x,E)}return new Ot}function si(a){return a.x.toString()+" "+a.y.toString()}Ct.toString=function(){return"Point("+this.x+","+this.y+")"},Ct.D=function(a){return a instanceof Ot?this.x===a.x&&this.y===a.y:!1},Ct.hi=function(a,y){return this.x===a&&this.y===y},Ct.Xa=function(a){return ce.B(this.x,a.x)&&ce.B(this.y,a.y)},Ct.add=function(a){return this.x+=a.x,this.y+=a.y,this},Ct.re=function(a){return this.x-=a.x,this.y-=a.y,this},Ct.offset=function(a,y){return this.x+=a,this.y+=y,this},Ot.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));return this.x=a*y-b*x,this.y=b*y+a*x,this},Ct=Ot.prototype,Ct.scale=function(a,y){return this.x*=a,this.y*=y,this},Ct.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Ct.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Ct.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Ct.Ry=function(a,y){return ce.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Ct.fA=function(a,y,x,b){return ce.qh(a,y,x,b,this.x,this.y,this),this},Ct.gA=function(a,y){return ce.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Ct.uA=function(a,y,x,b){return ce.No(this.x,this.y,a,y,x,b,this),this},Ct.vA=function(a,y){return ce.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Ct.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Ct.yi=function(a,y,x,b,E){return this.x=a+E.x*x+E.offsetX,this.y=y+E.y*b+E.offsetY,this},Ct.transform=function(a){return a.Ga(this),this};function Kn(a,y){return y.Cd(a),a}function fi(a,y,x,b,E,z){var tt=E-x,rt=z-b,ot=tt*tt+rt*rt;x-=a,b-=y;var st=-x*tt-b*rt;return 0>=st||st>=ot?(tt=E-a,rt=z-y,Math.min(x*x+b*b,tt*tt+rt*rt)):(a=tt*b-rt*x,a*a/ot)}function ei(a,y,x,b){return a=x-a,y=b-y,a*a+y*y}function Ft(a,y,x,b){return a=x-a,y=b-y,a===0?0y?270:0:y===0?0a?b=0>y?b+180:180-b:0>y&&(b=360-b),b)}Ct.w=function(){return isFinite(this.x)&&isFinite(this.y)},Ot.alloc=function(){var a=se.pop();return a===void 0?new Ot:a},Ot.allocAt=function(a,y){var x=se.pop();return x===void 0?new Ot(a,y):(x.x=a,x.y=y,x)},Ot.free=function(a){se.push(a)},Ot.prototype.isReal=Ot.prototype.w,Ot.prototype.setSpot=Ot.prototype.yi,Ot.prototype.setRectSpot=Ot.prototype.xi,Ot.prototype.snapToGridPoint=Ot.prototype.vA,Ot.prototype.snapToGrid=Ot.prototype.uA,Ot.prototype.projectOntoLineSegmentPoint=Ot.prototype.gA,Ot.prototype.projectOntoLineSegment=Ot.prototype.fA,Ot.intersectingLineSegments=function(a,y,x,b,E,z,tt,rt){return ce.Rl(a,y,x,b,E,z,tt,rt)},Ot.prototype.compareWithLineSegmentPoint=Ot.prototype.Ry,Ot.compareWithLineSegment=function(a,y,x,b,E,z){return ce.Fl(a,y,x,b,E,z)},Ot.prototype.direction=Ot.prototype.direction,Ot.prototype.directionPoint=Ot.prototype.ab,Ot.prototype.normalize=Ot.prototype.normalize,Ot.prototype.distanceSquared=Ot.prototype.zd,Ot.prototype.distanceSquaredPoint=Ot.prototype.Bf,Ot.prototype.scale=Ot.prototype.scale,Ot.prototype.rotate=Ot.prototype.rotate,Ot.prototype.offset=Ot.prototype.offset,Ot.prototype.subtract=Ot.prototype.re,Ot.prototype.add=Ot.prototype.add,Ot.prototype.equalsApprox=Ot.prototype.Xa,Ot.prototype.equalTo=Ot.prototype.hi,Ot.prototype.equals=Ot.prototype.D,Ot.prototype.set=Ot.prototype.set,Ot.prototype.setTo=Ot.prototype.sg;var se=[];Ot.className="Point",Ot.parse=Mn,Ot.stringify=si,Ot.distanceLineSegmentSquared=fi,Ot.distanceSquared=ei,Ot.direction=Ft,Ot.Origin=Qn=new Ot(0,0).ja(),Ot.InfiniteTopLeft=Li=new Ot(-1/0,-1/0).ja(),Ot.InfiniteBottomRight=Xi=new Ot(1/0,1/0).ja(),Ot.SixPoint=Vi=new Ot(6,6).ja(),Ot.NoPoint=yi=new Ot(NaN,NaN).ja(),Ot.parse=Mn,Ot.stringify=si,Ot.distanceLineSegmentSquared=fi,Ot.distanceSquared=ei,Ot.direction=Ft;function Yt(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):Qt("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var ve,xe,Qe,qe,hn,On,Un;Yt.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},Yt.prototype.h=function(a,y){return this.width=a,this.height=y,this},Yt.prototype.sg=function(a,y){return this.width=a,this.height=y,this},Yt.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},Yt.prototype.copy=function(){var a=new Yt;return a.width=this.width,a.height=this.height,a},Ct=Yt.prototype,Ct.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ct.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ct.freeze=function(){return this._isFrozen=!0,this},Ct.ka=function(){return Object.isFrozen(this)&&Qt("cannot thaw constant: "+this),this._isFrozen=!1,this};function dn(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new Yt(x,E)}return new Yt}function di(a){return a.width.toString()+" "+a.height.toString()}Ct.toString=function(){return"Size("+this.width+","+this.height+")"},Ct.D=function(a){return a instanceof Yt?this.width===a.width&&this.height===a.height:!1},Ct.hi=function(a,y){return this.width===a&&this.height===y},Ct.Xa=function(a){return ce.B(this.width,a.width)&&ce.B(this.height,a.height)},Ct.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Ct.w=function(){return isFinite(this.width)&&isFinite(this.height)},Yt.alloc=function(){var a=Ci.pop();return a===void 0?new Yt:a},Yt.free=function(a){Ci.push(a)},Yt.prototype.isReal=Yt.prototype.w,Yt.prototype.inflate=Yt.prototype.Bc,Yt.prototype.equalsApprox=Yt.prototype.Xa,Yt.prototype.equalTo=Yt.prototype.hi,Yt.prototype.equals=Yt.prototype.D,Yt.prototype.set=Yt.prototype.set,Yt.prototype.setTo=Yt.prototype.sg;var Ci=[];Yt.className="Size",Yt.parse=dn,Yt.stringify=di,Yt.ZeroSize=ve=new Yt(0,0).ja(),Yt.OneSize=xe=new Yt(1,1).ja(),Yt.SixSize=Qe=new Yt(6,6).ja(),Yt.EightSize=qe=new Yt(8,8).ja(),Yt.TenSize=hn=new Yt(10,10).ja(),Yt.InfiniteSize=On=new Yt(1/0,1/0).ja(),Yt.NoSize=Un=new Yt(NaN,NaN).ja(),Yt.parse=dn,Yt.stringify=di;function he(a,y,x,b){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof b=="number"&&(0<=b||isNaN(b))?(this.x=a,this.y=y,this.width=x,this.height=b):a instanceof Ot?(x=a.x,a=a.y,y instanceof Ot?(b=y.x,y=y.y,this.x=Math.min(x,b),this.y=Math.min(a,y),this.width=Math.abs(x-b),this.height=Math.abs(a-y)):y instanceof Yt?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):Qt("Incorrect second argument supplied to Rect constructor "+y)):Qt("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Ct=he.prototype,Ct.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ct.h=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this};function ti(a,y,x){a.width=y,a.height=x}Ct.sg=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this},Ct.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ct.dd=function(a){return this.x=a.x,this.y=a.y,this},Ct.tA=function(a){return this.width=a.width,this.height=a.height,this},he.prototype.copy=function(){var a=new he;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Ct=he.prototype,Ct.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ct.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ct.freeze=function(){return this._isFrozen=!0,this},Ct.ka=function(){return Object.isFrozen(this)&&Qt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Xn(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;(b=a[y++])&&(E=parseFloat(b));for(var z=0;a[y]==="";)y++;(b=a[y++])&&(z=parseFloat(b));for(var tt=0;a[y]==="";)y++;return(b=a[y++])&&(tt=parseFloat(b)),new he(x,E,z,tt)}return new he}function jn(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Ct.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Ct.D=function(a){return a instanceof he?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Ct.hi=function(a,y,x,b){return this.x===a&&this.y===y&&this.width===x&&this.height===b},Ct.Xa=function(a){return ce.B(this.x,a.x)&&ce.B(this.y,a.y)&&ce.B(this.width,a.width)&&ce.B(this.height,a.height)};function Tn(a,y){return ce.$(a.x,y.x)&&ce.$(a.y,y.y)&&ce.$(a.width,y.width)&&ce.$(a.height,y.height)}Ct.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Ct.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Ct.contains=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+b<=this.y+this.height},Ct.offset=function(a,y){return this.x+=a,this.y+=y,this},Ct.Bc=function(a,y){return Ei(this,y,a,y,a)},Ct.Co=function(a){return Ei(this,a.top,a.right,a.bottom,a.left)},Ct.Fv=function(a){return Ei(this,-a.top,-a.right,-a.bottom,-a.left)},Ct.Hz=function(a,y,x,b){return Ei(this,a,y,x,b)};function Ei(a,y,x,b,E){var z=a.width;return x+E<=-z?(a.x+=z/2,a.width=0):(a.x-=E,a.width+=x+E),x=a.height,y+b<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+b),a}Ct.Ex=function(a){return bi(this,a.x,a.y,a.width,a.height)},Ct.Uu=function(a,y,x,b){return bi(this,a,y,x,b)};function bi(a,y,x,b,E){var z=Math.max(a.x,y),tt=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+b),x=Math.min(a.y+a.height,x+E),a.x=z,a.y=tt,a.width=Math.max(0,y-z),a.height=Math.max(0,x-tt),a}Ct.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Ct.Vu=function(a,y,x,b){var E=this.width,z=this.x;return E!==1/0&&x!==1/0&&(E+=z,x+=a,isNaN(x)||isNaN(E)||z>x||a>E)?!1:(a=this.height,x=this.y,!(a!==1/0&&b!==1/0&&(a+=x,b+=y,isNaN(b)||isNaN(a)||x>b||y>a)))};function mi(a,y){var x=a.width,b=a.x,E=y.x-10;return b>y.width+10+10+E||E>x+b?!1:(x=a.height,a=a.y,b=y.y-10,!(a>y.height+10+10+b||b>x+a))}Ct.Ye=function(a){return ni(this,a.x,a.y,0,0)},Ct.ed=function(a){return ni(this,a.x,a.y,a.width,a.height)},Ct.Kv=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),ni(this,a,y,x,b)};function ni(a,y,x,b,E){var z=Math.min(a.x,y),tt=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+b),x=Math.max(a.y+a.height,x+E),a.x=z,a.y=tt,a.width=y-z,a.height=x-tt,a}Ct.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function Vn(a,y,x,b,E,z,tt,rt){return tt===void 0&&(tt=0),rt===void 0&&(rt=0),a<=E&&E+tt<=a+x&&y<=z&&z+rt<=y+b}function Ti(a,y,x,b,E,z,tt,rt){return a>tt+E||E>x+a?!1:!(y>rt+z||z>b+y)}Ct.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Ct.Mz=function(){return this.width===0&&this.height===0},he.alloc=function(){var a=kr.pop();return a===void 0?new he:a},he.allocAt=function(a,y,x,b){var E=kr.pop();return E===void 0?new he(a,y,x,b):E.h(a,y,x,b)},he.free=function(a){kr.push(a)},ln.Object.defineProperties(he.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new Ot(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new Yt(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new Ot(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),he.prototype.isEmpty=he.prototype.Mz,he.prototype.isReal=he.prototype.w,he.intersectsLineSegment=function(a,y,x,b,E,z,tt,rt){return ce.Fx(a,y,x,b,E,z,tt,rt)},he.prototype.setSpot=he.prototype.yi,he.prototype.union=he.prototype.Kv,he.prototype.unionRect=he.prototype.ed,he.prototype.unionPoint=he.prototype.Ye,he.prototype.intersects=he.prototype.Vu,he.prototype.intersectsRect=he.prototype.Yc,he.prototype.intersect=he.prototype.Uu,he.prototype.intersectRect=he.prototype.Ex,he.prototype.grow=he.prototype.Hz,he.prototype.subtractMargin=he.prototype.Fv,he.prototype.addMargin=he.prototype.Co,he.prototype.inflate=he.prototype.Bc,he.prototype.offset=he.prototype.offset,he.prototype.contains=he.prototype.contains,he.prototype.containsRect=he.prototype.Re,he.prototype.containsPoint=he.prototype.ca,he.prototype.equalsApprox=he.prototype.Xa,he.prototype.equalTo=he.prototype.hi,he.prototype.equals=he.prototype.D,he.prototype.setSize=he.prototype.tA,he.prototype.setPoint=he.prototype.dd,he.prototype.set=he.prototype.set,he.prototype.setTo=he.prototype.sg;var cr=null,mr=null,kr=[];he.className="Rect",he.parse=Xn,he.stringify=jn,he.contains=Vn,he.intersects=Ti,he.ZeroRect=cr=new he(0,0,0,0).ja(),he.NoRect=mr=new he(NaN,NaN,NaN,NaN).ja(),he.parse=Xn,he.stringify=jn,he.contains=Vn,he.intersects=Ti;function Si(a,y,x,b){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):b!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=b):Qt("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Si.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Si.prototype.sg=function(a,y,x,b){return this.top=a,this.right=y,this.bottom=x,this.left=b,this},Si.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Si.prototype.copy=function(){var a=new Si;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Ct=Si.prototype,Ct.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ct.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ct.freeze=function(){return this._isFrozen=!0,this},Ct.ka=function(){return Object.isFrozen(this)&&Qt("cannot thaw constant: "+this),this._isFrozen=!1,this};function yr(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var b=a[y++];if(b&&(x=parseFloat(b)),isNaN(x))return new Si;for(var E=NaN;a[y]==="";)y++;if((b=a[y++])&&(E=parseFloat(b)),isNaN(E))return new Si(x);for(var z=NaN;a[y]==="";)y++;if((b=a[y++])&&(z=parseFloat(b)),isNaN(z))return new Si(x,E);for(var tt=NaN;a[y]==="";)y++;return(b=a[y++])&&(tt=parseFloat(b)),isNaN(tt)?new Si(x,E):new Si(x,E,z,tt)}return new Si}function ur(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Ct.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Ct.D=function(a){return a instanceof Si?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Ct.hi=function(a,y,x,b){return this.top===a&&this.right===y&&this.bottom===x&&this.left===b},Ct.Xa=function(a){return ce.B(this.top,a.top)&&ce.B(this.right,a.right)&&ce.B(this.bottom,a.bottom)&&ce.B(this.left,a.left)},Ct.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},Si.alloc=function(){var a=Pr.pop();return a===void 0?new Si:a},Si.free=function(a){Pr.push(a)},Si.prototype.isReal=Si.prototype.w,Si.prototype.equalsApprox=Si.prototype.Xa,Si.prototype.equalTo=Si.prototype.hi,Si.prototype.equals=Si.prototype.D,Si.prototype.set=Si.prototype.set,Si.prototype.setTo=Si.prototype.sg;var Sr=null,pr=null,Pr=[];Si.className="Margin",Si.parse=yr,Si.stringify=ur,Si.ZeroMargin=Sr=new Si(0,0,0,0).ja(),Si.TwoMargin=pr=new Si(2,2,2,2).ja(),Si.parse=yr,Si.stringify=ur;function Fn(a,y,x,b){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),b===void 0&&(b=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=b),this._isFrozen=!1}var Ii,Ui,or,Ji,Qi,xi,Dr,Kr,Yr,vr,to,$r,Ur,mo,xo,No,oo,ta,Mo,na,Fo,Yo,ia,Qo,jo,Ao,oa,Ca,Ho,Ra,ko,Po,vo,_o,bo,La;Fn.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},Fn.prototype.sg=function(a,y,x,b){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=b,this},Fn.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},Fn.prototype.copy=function(){var a=new Fn;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Ct=Fn.prototype,Ct.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ct.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ct.freeze=function(){return this._isFrozen=!0,this},Ct.ka=function(){return Object.isFrozen(this)&&Qt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Lr(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function lr(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return Ii;if(a==="TopLeft")return Ui;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return or;if(a==="TopRight")return Ji;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return Qi;if(a==="Center")return xi;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Dr;if(a==="BottomLeft")return Kr;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return Yr;if(a==="BottomRight")return vr;if(a==="TopSide")return to;if(a==="LeftSide")return $r;if(a==="RightSide")return Ur;if(a==="BottomSide")return mo;if(a==="TopBottomSides")return xo;if(a==="LeftRightSides")return No;if(a==="TopLeftSides")return oo;if(a==="TopRightSides")return ta;if(a==="BottomLeftSides")return Mo;if(a==="BottomRightSides")return na;if(a==="NotTopSide")return Fo;if(a==="NotLeftSide")return Yo;if(a==="NotRightSide")return ia;if(a==="NotBottomSide")return Qo;if(a==="AllSides")return jo;if(a==="Default")return Ao;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.m12*a+this.m22*b,z=this.m11*-b+this.m21*a,tt=this.m12*-b+this.m22*a;return this.m11=this.m11*a+this.m21*b,this.m12=E,this.m21=z,this.m22=tt,this.translate(-y,-x),this},Ct=pi.prototype,Ct.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Ct.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Ct.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Ct.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,b=a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ct.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,b=1.2*a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ct.pp=function(a){var y=a.x,x=a.y,b=y+a.width,E=x+a.height,z=this.m11,tt=this.m12,rt=this.m21,ot=this.m22,st=this.dx,ut=this.dy,ft=y*z+x*rt+st,vt=y*tt+x*ot+ut,xt=b*z+x*rt+st,bt=b*tt+x*ot+ut;return x=y*z+E*rt+st,y=y*tt+E*ot+ut,z=b*z+E*rt+st,b=b*tt+E*ot+ut,E=Math.min(ft,xt),ft=Math.max(ft,xt),xt=Math.min(vt,bt),vt=Math.max(vt,bt),E=Math.min(E,x),ft=Math.max(ft,x),xt=Math.min(xt,y),vt=Math.max(vt,y),E=Math.min(E,z),ft=Math.max(ft,z),xt=Math.min(xt,b),vt=Math.max(vt,b),a.h(E,xt,ft-E,vt-xt),a},pi.alloc=function(){var a=Zo.pop();return a===void 0?new pi:a},pi.free=function(a){Zo.push(a)},pi.prototype.transformRect=pi.prototype.pp,pi.prototype.transformPoint=pi.prototype.Ga,pi.prototype.scale=pi.prototype.scale,pi.prototype.translate=pi.prototype.translate,pi.prototype.rotate=pi.prototype.rotate,pi.prototype.invert=pi.prototype.Vj,pi.prototype.multiplyInverted=pi.prototype.bv,pi.prototype.multiply=pi.prototype.multiply,pi.prototype.reset=pi.prototype.reset,pi.prototype.isIdentity=pi.prototype.ws,pi.prototype.equals=pi.prototype.D,pi.prototype.setTransform=pi.prototype.setTransform,pi.prototype.set=pi.prototype.set;var Zo=[];pi.className="Transform",pi.xF="54a702f3e53909c447824c6706603faf4c";var ce={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=ce.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);ce.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=E&&(E=1e-6),aut-st)if(a-x>E||x-a>E){if(z=(b-y)/(x-a)*(z-a)+y,z-E<=tt&&tt<=z+E)return!0}else return!0;else if(y-b>E||b-y>E){if(tt=(x-a)/(b-y)*(tt-y)+a,tt-E<=z&&z<=tt+E)return!0}else return!0;return!1},cs:function(a,y,x,b,E,z,tt,rt,ot,st,ut,ft){if(ce.Yb(a,y,tt,rt,ft,x,b)&&ce.Yb(a,y,tt,rt,ft,E,z))return ce.Yb(a,y,tt,rt,ft,st,ut);var vt=(a+x)/2,xt=(y+b)/2,bt=(x+E)/2,Tt=(b+z)/2;E=(E+tt)/2,z=(z+rt)/2,b=(vt+bt)/2,x=(xt+Tt)/2,bt=(bt+E)/2,Tt=(Tt+z)/2;var Xt=(b+bt)/2,Zt=(x+Tt)/2;return ce.cs(a,y,vt,xt,b,x,Xt,Zt,ot,st,ut,ft)||ce.cs(Xt,Zt,bt,Tt,E,z,tt,rt,ot,st,ut,ft)},ax:function(a,y,x,b,E,z,tt,rt,ot){var st=(x+E)/2,ut=(b+z)/2;return ot.h((((a+x)/2+st)/2+(st+(E+tt)/2)/2)/2,(((y+b)/2+ut)/2+(ut+(z+rt)/2)/2)/2),ot},My:function(a,y,x,b,E,z,tt,rt){var ot=(x+E)/2,st=(b+z)/2;return Ft(((a+x)/2+ot)/2,((y+b)/2+st)/2,(ot+(E+tt)/2)/2,(st+(z+rt)/2)/2)},Dl:function(a,y,x,b,E,z,tt,rt,ot,st){if(ce.Yb(a,y,tt,rt,ot,x,b)&&ce.Yb(a,y,tt,rt,ot,E,z))ni(st,a,y,0,0),ni(st,tt,rt,0,0);else{var ut=(a+x)/2,ft=(y+b)/2,vt=(x+E)/2,xt=(b+z)/2;E=(E+tt)/2,z=(z+rt)/2,b=(ut+vt)/2,x=(ft+xt)/2,vt=(vt+E)/2,xt=(xt+z)/2;var bt=(b+vt)/2,Tt=(x+xt)/2;ce.Dl(a,y,ut,ft,b,x,bt,Tt,ot,st),ce.Dl(bt,Tt,vt,xt,E,z,tt,rt,ot,st)}return st},Qe:function(a,y,x,b,E,z,tt,rt,ot,st){if(ce.Yb(a,y,tt,rt,ot,x,b)&&ce.Yb(a,y,tt,rt,ot,E,z))st.length===0&&(st.push(a),st.push(y)),st.push(tt),st.push(rt);else{var ut=(a+x)/2,ft=(y+b)/2,vt=(x+E)/2,xt=(b+z)/2;E=(E+tt)/2,z=(z+rt)/2,b=(ut+vt)/2,x=(ft+xt)/2,vt=(vt+E)/2,xt=(xt+z)/2;var bt=(b+vt)/2,Tt=(x+xt)/2;ce.Qe(a,y,ut,ft,b,x,bt,Tt,ot,st),ce.Qe(bt,Tt,vt,xt,E,z,tt,rt,ot,st)}return st},jv:function(a,y,x,b,E,z,tt,rt,ot,st){if(ce.Yb(a,y,E,z,st,x,b))return ce.Yb(a,y,E,z,st,rt,ot);var ut=(a+x)/2,ft=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var vt=(ut+x)/2,xt=(ft+b)/2;return ce.jv(a,y,ut,ft,vt,xt,tt,rt,ot,st)||ce.jv(vt,xt,x,b,E,z,tt,rt,ot,st)},OA:function(a,y,x,b,E,z,tt){return tt.h(((a+x)/2+(x+E)/2)/2,((y+b)/2+(b+z)/2)/2),tt},iv:function(a,y,x,b,E,z,tt,rt){if(ce.Yb(a,y,E,z,tt,x,b))ni(rt,a,y,0,0),ni(rt,E,z,0,0);else{var ot=(a+x)/2,st=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var ut=(ot+x)/2,ft=(st+b)/2;ce.iv(a,y,ot,st,ut,ft,tt,rt),ce.iv(ut,ft,x,b,E,z,tt,rt)}return rt},ep:function(a,y,x,b,E,z,tt,rt){if(ce.Yb(a,y,E,z,tt,x,b))rt.length===0&&(rt.push(a),rt.push(y)),rt.push(E),rt.push(z);else{var ot=(a+x)/2,st=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var ut=(ot+x)/2,ft=(st+b)/2;ce.ep(a,y,ot,st,ut,ft,tt,rt),ce.ep(ut,ft,x,b,E,z,tt,rt)}return rt},Eo:function(a,y,x,b,E,z,tt,rt,ot,st,ut,ft,vt,xt){if(ce.Yb(a,y,tt,rt,vt,x,b)&&ce.Yb(a,y,tt,rt,vt,E,z))return!ce.Rl(a,y,tt,rt,ot,st,ut,ft)||(vt=(a-tt)*(st-ft)-(y-rt)*(ot-ut),vt===0)?!1:(xt.h(((a*rt-y*tt)*(ot-ut)-(a-tt)*(ot*ft-st*ut))/vt,((a*rt-y*tt)*(st-ft)-(y-rt)*(ot*ft-st*ut))/vt),!0);var bt=(a+x)/2,Tt=(y+b)/2,Xt=(x+E)/2,Zt=(b+z)/2;E=(E+tt)/2,z=(z+rt)/2,b=(bt+Xt)/2,x=(Tt+Zt)/2,Xt=(Xt+E)/2,Zt=(Zt+z)/2;var qt=(b+Xt)/2,_t=(x+Zt)/2,ee=1/0,me=!1,Ie=0,li=0;return ce.Eo(a,y,bt,Tt,b,x,qt,_t,ot,st,ut,ft,vt,xt)&&(a=(xt.x-ot)*(xt.x-ot)+(xt.y-st)*(xt.y-st),a=ut)return xt;if((ot>ut?ot-ut:ut-ot)<(st>ft?st-ft:ft-st)){if(ya)return xt}else if(aa)return xt;0vt&&xt--}else{bt=(a+x)/2,Tt=(y+b)/2;var Xt=(x+E)/2,Zt=(b+z)/2;E=(E+tt)/2,z=(z+rt)/2,b=(bt+Xt)/2,x=(Tt+Zt)/2,Xt=(Xt+E)/2,Zt=(Zt+z)/2;var qt=(b+Xt)/2,_t=(x+Zt)/2;xt+=ce.Fo(a,y,bt,Tt,b,x,qt,_t,ot,st,ut,ft,vt),xt+=ce.Fo(qt,_t,Xt,Zt,E,z,tt,rt,ot,st,ut,ft,vt)}return xt},qh:function(a,y,x,b,E,z,tt){return ce.$(a,x)?(yy?(tt.h(a,y),!1):(tt.h(a,z),!0)):ce.$(y,b)?(aa?(tt.h(a,y),!1):(tt.h(E,y),!0)):(E=((a-E)*(a-x)+(y-z)*(y-b))/((x-a)*(x-a)+(b-y)*(b-y)),-5e-6>E?(tt.h(a,y),!1):1.000005y?(ot.h(a,y),!1):(ot.h(a,x),!0)):(tt=(b-y)/(x-a),ce.$(rt,tt)?(ce.qh(a,y,x,b,E,z,ot),!1):(E=(tt*a-rt*E+z-y)/(tt-rt),ce.$(tt,0)?(aa?(ot.h(a,y),!1):(ot.h(E,y),!0)):ce.qh(a,y,x,b,E,tt*(E-a)+y,ot))))},MA:function(a,y,x,b,E){return ce.Ve(x.x,x.y,b.x,b.y,a.x,a.y,y.x,y.y,E)},KA:function(a,y,x,b,E,z,tt,rt,ot,st){function ut(Xt,Zt){var qt=(Xt-a)*(Xt-a)+(Zt-y)*(Zt-y);qt(x>a?x-a:a-x)){if(vt=1-(x-E)*(x-E)/(vt*vt),0>vt)return ot;vt=Math.sqrt(vt),b=-st*vt+z,ut(x,st*vt+z),ut(x,b)}else{if(x=(b-y)/(x-a),b=1/(vt*vt)+x*x/(st*st),rt=2*x*(y-x*a)/(st*st)-2*x*z/(st*st)-2*E/(vt*vt),vt=rt*rt-4*b*(2*x*a*z/(st*st)-2*y*z/(st*st)+z*z/(st*st)+E*E/(vt*vt)-1+(y-x*a)*(y-x*a)/(st*st)),0>vt)return ot;vt=Math.sqrt(vt),st=(-rt+vt)/(2*b),ut(st,x*st-x*a+y),vt=(-rt-vt)/(2*b),ut(vt,x*vt-x*a+y)}return ot},Ff:function(a,y,x,b,E,z,tt,rt,ot){var st=1e21,ut=a,ft=y;if(ce.Ve(a,y,a,b,E,z,tt,rt,ot)){var vt=(ot.x-E)*(ot.x-E)+(ot.y-z)*(ot.y-z);vtst},us:function(a,y,x){return ce.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,b,E,z,tt,rt){var ot=a+x,st=y+b;return E===tt?(z=y):z===rt?(E=a):!!(Vn(a,y,x,b,E,z)||Vn(a,y,x,b,tt,rt)||ce.Rl(a,y,ot,y,E,z,tt,rt)||ce.Rl(ot,y,ot,st,E,z,tt,rt)||ce.Rl(ot,st,a,st,E,z,tt,rt)||ce.Rl(a,st,a,y,E,z,tt,rt))},Rl:function(a,y,x,b,E,z,tt,rt){return a===x&&y===b&&E===tt&&z===rt?a===E&&y===z:0>=ce.Fl(a,y,x,b,E,z)*ce.Fl(a,y,x,b,tt,rt)&&0>=ce.Fl(E,z,tt,rt,a,y)*ce.Fl(E,z,tt,rt,x,b)},Fl:function(a,y,x,b,E,z){return x-=a,b-=y,a=E-a,y=z-y,z=a*b-y*x,z===0&&(z=a*x+y*b,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,b,E,z){var tt=Math.PI;z||(b*=tt/180,E*=tt/180);var rt=b>E?-1:1;z=[];var ot=tt/2,st=b;if(b=Math.min(2*tt,Math.abs(E-b)),1e-5>b)return ot=st+rt*Math.min(b,ot),rt=a+x*Math.cos(st),st=y+x*Math.sin(st),a+=x*Math.cos(ot),y+=x*Math.sin(ot),x=(rt+a)/2,ot=(st+y)/2,z.push([rt,st,x,ot,x,ot,a,y]),z;for(;1e-5x,z=0>b;if(ast&&(y=.5*(rt+ot),!(y===rt||y===ot));++st){var ut=a/(y+E),ft=tt/(y+z);if(ut=ut*ut+ft*ft-1,0ut)ot=y;else break}x=E*x/(y+E)-x,b=z*b/(y+z)-b,x=Math.sqrt(x*x+b*b)}else x=Math.abs(b-y);else b=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case Ln.u:var y=new he(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case Ln.F:if(y=new he(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case Ln.o:y="",x=this.figures.s;for(var b=x.length,E=0;E=ee-1?!0:st[Tt+1].match(me)!==null}function b(){return Tt++,st[Tt]}function E(Cr){var gr=parseFloat(b()),ao=parseFloat(b());Xt===Xt.toLowerCase()&&(gr=_t.x+gr,ao=_t.y+ao),Cr.h(gr,ao)}function z(){return E(_t),_t}function tt(){return E(qt),qt}function rt(){var Cr=Zt.toLowerCase();return Cr!=="c"&&Cr!=="s"&&Cr!=="q"&&Cr!=="t"?_t:new Ot(2*_t.x-qt.x,2*_t.y-qt.y)}y===void 0&&(y=!1);var ot=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(ot,"$1 $2"),a=a.replace(ot,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var st=a.split(" ");for(a=0;a=ee-1);)if(Zt=Xt,Xt=b(),Xt!=="")switch(Xt.toUpperCase()){case"X":xt=!0,ft=ut=!1;break;case"M":for(bt=z(),a.mc===null||xt===!0?(Rf(a,bt.x,bt.y,ut,!ft,vt),xt=!1):a.moveTo(bt.x,bt.y),ot.assign(_t);!x();)bt=z(),a.lineTo(bt.x,bt.y);break;case"L":for(;!x();)bt=z(),a.lineTo(bt.x,bt.y);break;case"H":for(;!x();)_t=new Ot((Xt===Xt.toLowerCase()?_t.x:0)+parseFloat(b()),_t.y),a.lineTo(_t.x,_t.y);break;case"V":for(;!x();)_t=new Ot(_t.x,(Xt===Xt.toLowerCase()?_t.y:0)+parseFloat(b())),a.lineTo(_t.x,_t.y);break;case"C":for(;!x();){bt=new Ot,E(bt);var Ie=tt(),li=z();kh(a,bt.x,bt.y,Ie.x,Ie.y,li.x,li.y)}break;case"S":for(;!x();)bt=rt(),Ie=tt(),li=z(),kh(a,bt.x,bt.y,Ie.x,Ie.y,li.x,li.y);break;case"Q":for(;!x();)bt=tt(),Ie=z(),jm(a,bt.x,bt.y,Ie.x,Ie.y);break;case"T":for(;!x();)qt=bt=rt(),Ie=z(),jm(a,bt.x,bt.y,Ie.x,Ie.y);break;case"B":for(;!x();){bt=parseFloat(b()),Ie=parseFloat(b()),li=parseFloat(b());var Di=parseFloat(b()),wi=parseFloat(b()),In=wi,yn=!1;x()||(In=parseFloat(b()),x()||(yn=parseFloat(b())!==0)),Xt===Xt.toLowerCase()&&(li+=_t.x,Di+=_t.y),a.arcTo(bt,Ie,li,Di,wi,In,yn)}break;case"A":for(;!x();)bt=Math.abs(parseFloat(b())),Ie=Math.abs(parseFloat(b())),li=parseFloat(b()),wi=Di=!1,yn=In=0,In=b(),In.length===1?(Di=!!parseFloat(In),wi=!!parseFloat(b()),In=parseFloat(b())):In.length===2?(Di=!!parseFloat(In[0]),wi=!!parseFloat(In[1]),In=parseFloat(b())):(Di=!!parseFloat(In[0]),wi=!!parseFloat(In[1]),In=parseFloat(In.slice(2))),yn=parseFloat(b()),Xt===Xt.toLowerCase()&&(In=_t.x+In,yn=_t.y+yn),_t.h(In,yn),wx(a,bt,Ie,li,Di,wi,In,yn);break;case"Z":Px(a),_t.assign(ot);break;case"F":for(bt="",Ie=1;st[Tt+Ie];)if(st[Tt+Ie]==="0")vt=!0,Ie++;else if(st[Tt+Ie].match(/[Uu]/)!==null)Ie++;else if(st[Tt+Ie].match(me)===null)Ie++;else{bt=st[Tt+Ie];break}bt.match(/[Mm]/)?ut=!0:0tt&&(tt+=360),bt.startAngle+=tt),0>a&&(bt.startAngle=180-bt.startAngle,bt.sweepAngle=-bt.sweepAngle),0>b&&(bt.startAngle=-bt.startAngle,bt.sweepAngle=-bt.sweepAngle),bt.radiusX*=Math.sqrt(a*a+x*x),bt.radiusY!==void 0&&(bt.radiusY*=Math.sqrt(y*y+b*b));break;case us:if(tt=bt.endX,rt=bt.endY,bt.endX=tt*a+rt*x+E,bt.endY=tt*y+rt*b+z,bt.radiusX===0||bt.radiusY===0)break;y!==0&&(tt=180*Math.atan2(y,a)/Math.PI,0>tt&&(tt+=360),bt.xAxisRotation+=tt),0>a&&(bt.xAxisRotation=180-bt.xAxisRotation,bt.isClockwiseArc=!bt.isClockwiseArc),0>b&&(bt.xAxisRotation=-bt.xAxisRotation,bt.isClockwiseArc=!bt.isClockwiseArc),bt.radiusX*=Math.sqrt(a*a+x*x),bt.radiusY*=Math.sqrt(y*y+b*b);break;default:Qt("Unknown Segment type: "+bt.type)}}}}return this._isInvalidBounds=!0,this},Ct.ca=function(a,y){y===void 0&&(y=0);var x=this.od,b=this.pd,E=this.Dc,z=this.Ec;switch(this.type){case Ln.j:return ce.Yb(x,b,E,z,y,a.x,a.y);case Ln.u:var tt=he.allocAt(Math.min(x,E)-y,Math.min(b,z)-y,Math.abs(E-x)+2*y,Math.abs(z-b)+2*y);return a=tt.ca(a),he.free(tt),a;case Ln.F:tt=Math.min(x,E)-y;var rt=Math.min(b,z)-y;return x=(Math.abs(E-x)+2*y)/2,y=(Math.abs(z-b)+2*y)/2,0>=x||0>=y?!1:(tt=a.x-(tt+x),rt=a.y-(rt+y),1>=tt*tt/(x*x)+rt*rt/(y*y));case Ln.o:return da(this,a,y,!0,!1);default:return!1}};function da(a,y,x,b,E){var z=y.x;y=y.y;for(var tt=a.bounds.x-20,rt=0,ot,st,ut,ft,vt=a.figures.s,xt=vt.length,bt=0;bt=a)return 0;if((E>tt?E-tt:tt-E)<(z>rt?z-rt:rt-z)){if(zrt)return 0}else if(yz)return 0}else if(Ett)return 0}else if(stE)return 0;return 0a?a=0:1=z)return b=z-tt,b=ut===0?0:b/ut,x=x[rt],rt=x[2*a],E=x[2*a+1],y.h(rt+(x[2*a+2]-rt)*b,E+(x[2*a+3]-E)*b),y;tt+=ut}}return y},Ct.wx=function(a){if(0>a?a=0:1=E)return E=y[tt],y=E[2*a],x=E[2*a+1],b=E[2*a+2],a=E[2*a+3],1>Math.abs(b-y)&&1>Math.abs(a-x)?0:1>Math.abs(b-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=b-y?0:180:180*Math.atan2(a-x,b-y)/Math.PI;z+=st}}return NaN},Ct.Qu=function(a,y){if(0>a?a=0:1=z)return b=z-tt,b=ut===0?0:b/ut,ut=x[rt],x=ut[2*a],rt=ut[2*a+1],E=ut[2*a+2],a=ut[2*a+3],y[0]=x+(E-x)*b,y[1]=rt+(a-rt)*b,y[2]=1>Math.abs(E-x)&&1>Math.abs(a-rt)?0:1>Math.abs(E-x)?0<=a-rt?90:270:1>Math.abs(a-rt)?0<=E-x?0:180:180*Math.atan2(a-rt,E-x)/Math.PI,y;tt+=ut}}return y},Ct.xx=function(a){if(this.type===Ln.j){var y=this.startX,x=this.startY,b=this.endX,E=this.endY;if(y!==b||x!==E){var z=a.x;if(a=a.y,y===b){if(x=b?b===x?0:1:Math.abs(a-x)/(b-tt)}if(x===E)return y=b?b===y?0:1:Math.abs(z-y)/(b-tt);tt=(b-y)*(b-y)+(E-x)*(E-x);var rt=Ot.alloc();return ce.qh(y,x,b,E,z,a,rt),a=rt.x,z=rt.y,Ot.free(rt),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/tt)}}else if(this.type===Ln.u){tt=this.startX,rt=this.startY;var ot=this.endX;if(E=this.endY,tt!==ot||rt!==E){y=ot-tt,x=E-rt,z=2*y+2*x,b=a.x,a=a.y,b=Math.min(Math.max(b,tt),ot),a=Math.min(Math.max(a,rt),E),tt=Math.abs(b-tt),ot=Math.abs(b-ot),rt=Math.abs(a-rt),E=Math.abs(a-E);var st=Math.min(tt,ot,rt,E);if(st===rt)return b/z;if(st===ot)return(y+a)/z;if(st===E)return(2*y+x-b)/z;if(st===tt)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,b=Ot.alloc(),E=1/0,rt=tt=0,ot=y.length;for(var ut=st=0,ft=0;fta?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,b=x.length,E=0;Ea&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(b,0),this.Pg=Math.max(E,0),typeof tt=="boolean"?tt&&(this.isLargeArc=!0):typeof tt=="number"&&tt&&(this.isLargeArc=!0),rt&&(this.isClockwiseArc=!0)):(this.Ne=b,this.Vh=E,a===ra&&(z=Math.max(z,0)),this.Wh=z,typeof tt=="number"?(a===ra&&(tt=Math.max(tt,0)),this.Pg=tt):this.Pg=0),this.ae=null}Vr.prototype.copy=function(){var a=new Vr;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Ct=Vr.prototype,Ct.Xa=function(a){if(!(a instanceof Vr)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case sa:case co:return ce.B(this.endX,a.endX)&&ce.B(this.endY,a.endY);case ga:return ce.B(this.endX,a.endX)&&ce.B(this.endY,a.endY)&&ce.B(this.point1X,a.point1X)&&ce.B(this.point1Y,a.point1Y)&&ce.B(this.point2X,a.point2X)&&ce.B(this.point2Y,a.point2Y);case ls:return ce.B(this.endX,a.endX)&&ce.B(this.endY,a.endY)&&ce.B(this.point1X,a.point1X)&&ce.B(this.point1Y,a.point1Y);case ra:return ce.B(this.startAngle,a.startAngle)&&ce.B(this.sweepAngle,a.sweepAngle)&&ce.B(this.centerX,a.centerX)&&ce.B(this.centerY,a.centerY)&&ce.B(this.radiusX,a.radiusX)&&ce.B(this.radiusY,a.radiusY);case us:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&ce.B(this.xAxisRotation,a.xAxisRotation)&&ce.B(this.endX,a.endX)&&ce.B(this.endY,a.endY)&&ce.B(this.radiusX,a.radiusX)&&ce.B(this.radiusY,a.radiusY);default:return!1}},Ct.qb=function(a){a.classType===Vr&&(this.type=a)},Ct.toString=function(a){switch(a===void 0&&(a=-1),this.type){case sa:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case co:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ga:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ls:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ra:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case us:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Ct.freeze=function(){return this._isFrozen=!0,this},Ct.ka=function(){return this._isFrozen=!1,this},Ct.close=function(){return this.isClosed=!0,this};function Va(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,b=a.radiusY;if(b===void 0&&(b=x),x===0||b===0)return a.ae=[],a.ae;y=a.Ne;var E=a.Vh,z=ce.jx(0,0,x=xt?tt=Math.PI:1<=xt&&(tt=0),!ot&&0tt&&(tt+=2*Math.PI),ot=y>z?1:y/z,xt=y>z?z/y:1,y=ce.jx(0,0,y>z?y:z,ut,ut+tt,!0),z=pi.alloc(),z.reset(),z.translate(x,b),z.rotate(a.Ne,0,0),z.scale(ot,xt),Ln.Ha(y,z),pi.free(z),a.ae=y,a.ae}ln.Object.defineProperties(Vr.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&Me(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Me(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Me(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Me(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Me(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&Me(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&Me(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Me(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Me(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Gn(a,">= zero",Vr,"radiusX"),this._isFrozen&&Me(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Gn(a,">= zero",Vr,"radiusY"),this._isFrozen&&Me(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Me(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Me(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Me(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&Me(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Me(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Vr.prototype.equalsApprox=Vr.prototype.Xa;var sa=new je(Vr,"Move",0),co=new je(Vr,"Line",1),ga=new je(Vr,"Bezier",2),ls=new je(Vr,"QuadraticBezier",3),ra=new je(Vr,"Arc",4),us=new je(Vr,"SvgArc",4);Vr.className="PathSegment",Vr.Move=sa,Vr.Line=co,Vr.Bezier=ga,Vr.QuadraticBezier=ls,Vr.Arc=ra,Vr.SvgArc=us;function Da(){this.H=null,this.xu=new Ot(0,0).freeze(),this.mt=new Ot(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}Da.prototype.copy=function(){var a=new Da;return this.clone(a)},Da.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},Da.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},Da.prototype.So=function(a,y){var x=this.diagram;return x===null||bg(x,a,y),y},Da.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(bg(x,a,y),y.assign(x.Ps(y))),y},ln.Object.defineProperties(Da.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),Da.prototype.getMultiTouchDocumentPoint=Da.prototype.Bz,Da.prototype.getMultiTouchViewPoint=Da.prototype.So,Da.className="InputEvent";function El(){this.H=null,this.xa="",this.ar=this.Lr=null}El.prototype.copy=function(){var a=new El;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},El.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},ln.Object.defineProperties(El.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),El.className="DiagramEvent";function Ro(){this.Fm=To,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Ro.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Ro.prototype.copy=function(){var a=new Ro;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=Xe(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=Xe(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=Xe(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=Xe(y)&&typeof y.J=="function"?y.J():y,a},Ro.prototype.qb=function(a){a.classType===Ro&&(this.change=a)},Ro.prototype.toString=function(){var a="";return a=this.change===ba?a+"* ":this.change===To?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===ba?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=hr(this.object)),this.oldValue!==null&&(a+=" old: "+hr(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+hr(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Ro.prototype.I=function(a){return a?this.oldValue:this.newValue},Ro.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Ro.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Ro.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Ro.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Ro.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},ln.Object.defineProperties(Ro.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===ba&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Ro.prototype.redo=Ro.prototype.redo,Ro.prototype.canRedo=Ro.prototype.canRedo,Ro.prototype.undo=Ro.prototype.undo,Ro.prototype.canUndo=Ro.prototype.canUndo,Ro.prototype.getParam=Ro.prototype.Dz,Ro.prototype.getValue=Ro.prototype.I,Ro.prototype.clear=Ro.prototype.clear;var ba=new je(Ro,"Transaction",-1),To=new je(Ro,"Property",0),Uo=new je(Ro,"Insert",1),ua=new je(Ro,"Remove",2);Ro.className="ChangedEvent",Ro.Transaction=ba,Ro.Property=To,Ro.Insert=Uo,Ro.Remove=ua;function pa(){this.o=new pn().freeze(),this.xa="",this.j=!1}pa.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0y&&a.cd(y,b),y++);for(;a.length>y;)a.pop();a.freeze()}},ln.Object.defineProperties(pa.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),pa.prototype.optimize=pa.prototype.ak,pa.prototype.redo=pa.prototype.redo,pa.prototype.canRedo=pa.prototype.canRedo,pa.prototype.undo=pa.prototype.undo,pa.prototype.canUndo=pa.prototype.canUndo,pa.prototype.clear=pa.prototype.clear,pa.className="Transaction";function Xo(){this.Pt=new Cn,this.Jd=!1,this.u=new pn().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new pn().freeze(),this.hl=new pn,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}Xo.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,b=0;ba.transactionLevel&&qn("Ending transaction without having started a transaction: "+x);var b=a.transactionLevel===1,E=a.currentTransaction;b&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,E));var z=0;if(0=b&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),b===0||y.count!==0&&y.get(y.count-1)===E||(y.add(E),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,E);else{a.Fe=!0;try{a.isEnabled&&E!==null&&(E.isComplete=!0,E.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,E),a.Fe=!1}E!==null&&E.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&E!==null){for(a=z,x=E.changes,E=x.count-1;E>=a;E--)y=x.M(E),y!==null&&y.undo(),x.ka(),x.mb(E);x.freeze()}return!1}Ct.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},Xo.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||qn("Change not within a transaction: "+x.toString()))}},Xo.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},ln.Object.defineProperties(Xo.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexE||Math.abs(y.y-a.y)>b},ln.Object.defineProperties(Qr.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof Re&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),Qr.prototype.startTransaction=Qr.prototype.Ea,Qr.className="Tool";function wo(){Qr.call(this),this.name="ToolManager",this.hb=new pn,this.ob=new pn,this.Hb=new pn,this.F=this.V=850,this.o=new Yt(2,2).ja(),this.Ha=5e3,this.ia=Qs,this.u=vu,this.Mp=this.j=null,this.zj=-1}Ne(wo,Qr),wo.prototype.initializeStandardTools=function(){},wo.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof ro&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},wo.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===Zs&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===Vl){y.bubbles=!0;return}if(this.gestureBehavior===Zs)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,b=0;bE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom?x.y-(b.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var b=a.diagram;if(!b.isReadOnly){var E=a.Oe;if(E!==null){var z=null,tt=null;x.fromNode===null&&(z=Do(a,x.i(0),!1),z!==null&&(tt=z.part));var rt=null,ot=null;x.toNode===null&&(rt=Do(a,x.i(x.pointsCount-1),!0),rt!==null&&(ot=rt.part)),E.isValidLink(tt,z,ot,rt)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=tt,z!==null&&(x.fromPortId=z.portId),x.toNode=ot,rt!==null&&(x.toPortId=rt.portId),x.fromPort!==b.Mx&&b.R("LinkRelinked",x,b.Mx),x.toPort!==b.Nx&&b.R("LinkRelinked",x,b.Nx)):ef(E,tt,z,ot,rt):ef(E,null,null,null,null)}}}}Go.prototype.doDragOver=function(){};function Ka(a,y){var x=a.diagram;a.dragsLink&&fo(a,!0),gl(a);var b=a.findDragOverObject(y),E=x.lastInput;if(E.targetObject=b,b!==null){E.handled=!1;for(var z=b;z!==null;){var tt=z.mouseDrop;if(tt!==null&&(tt(E,z),E.handled))break;iu(a,E,z),z=ml(z)}}else z=x.mouseDrop,z!==null&&z(E);if(a.isActive||Ha!==null){for(E=(a.copiedParts||a.draggedParts).iterator;E.next();)z=E.key,z instanceof gi&&z.linksConnected.each(function(rt){rt.suspendsRouting=!1});if(a.doDropOnto(y,b),a.isActive||Ha!==null){for(a=he.alloc(),y=x.selection.iterator;y.next();)b=y.value,b instanceof gi&&Ed(x,b,a);he.free(a)}}}function iu(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof br||(x=a.mouseDrop,x!==null&&x(y))}function Ed(a,y,x){var b=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(b=!0),a=a.Nu(x,function(E){return E.part},function(E){return E instanceof Rn},!0,function(E){return E instanceof Rn},b),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}Go.prototype.doDropOnto=function(){},Go.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?(pl(this,!1),mf(a,this.copiedParts),wa(this,this.copiedParts,!1),id(a,this.copiedParts)):this.mayMove()?(Eo(this),wa(this,this.draggedParts,!0)):this.mayDragOut()?(pl(this,!1),wa(this,this.copiedParts,!1)):Eo(this),Ja(this,a.lastInput.documentPoint))}},Go.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(Eo(this),pl(this,!0),mf(a,this.copiedParts),wa(this,this.copiedParts,!1),id(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0}))):(y=!0,Eo(this),this.mayMove()&&(wa(this,this.draggedParts,!0),Ja(this,a.lastInput.documentPoint))),this.Ym=!0,Ka(this,a.lastInput.documentPoint),this.isActive){var b=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&hg(this),a.Ya(),id(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",b)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},Go.prototype.simulatedMouseMove=function(a,y,x){if(Ha===null)return!1;var b=Ha.diagram;x instanceof Re||(x=null);var E=Ju;return x!==E&&(E!==null&&E!==b&&(E.ug(),Ha.isDragOutStarted=!1,E=E.toolManager.findTool("Dragging"),E!==null&&E.doSimulatedDragLeave()),Ju=x,x!==null&&x!==b&&(Fu(),E=x.toolManager.findTool("Dragging"),E!==null&&(Ws.contains(E)||Ws.add(E),E.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===b||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(b=x.toolManager.findTool("Dragging"),b!==null&&(a!==null&&(a.targetTouches!==void 0&&(0tt&&(tt=st),ut>rt&&(rt=ut))}}for(b===1/0?z.h(0,0,0,0):z.h(b,E,tt-b,rt-E),b=z.x+z.width/2,E=z.y+z.height/2,he.free(z),z=a.Fr,tt=new Be,rt=Ot.alloc(),ot=y.iterator;ot.next();)st=ot.value,st instanceof Rn&&st.canCopy()&&(ut=x.I(st),ut!==null&&(ut.points=st.points,Nh(ut,z.x-b,z.y-E),ut.suspendsRouting=!0,tt.add(ut,a.Pd())));for(y=y.iterator;y.next();)st=y.value,st.Zc()&&st.canCopy()&&(ot=x.I(st),ot!==null&&(st=st.location,rt.h(z.x-(b-st.x),z.y-(E-st.y)),ot.location=rt,ot.Va(),tt.add(ot,a.Pd(rt))));Ot.free(rt),a.copiedParts=tt,yu(a,tt.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,Nh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}Go.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},Go.prototype.computeMove=function(a,y,x,b){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,b):new Ot},ln.Object.defineProperties(Go.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),Go.prototype.getDraggingSource=Go.prototype.Az;var Ha=null,Ju=null;Go.className="DraggingTool",Ws=new pn,Dn("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),wo.prototype.doCancel=function(){Ha!==null&&Ha.doCancel(),Qr.prototype.doCancel.call(this)};function io(){Qr.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new Rn,y=new Er;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new Er,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new gi,y=new Er,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=xe,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new gi,y=new Er,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=xe,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Be,this.Of=this.gj=this.Pf=null}Ne(io,Qr),io.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},io.prototype.copyPortProperties=function(a,y,x,b,E){if(a!==null&&y!==null&&x!==null&&b!==null){var z=y.Df(),tt=Yt.alloc();tt.width=y.naturalBounds.width*z,tt.height=y.naturalBounds.height*z,b.desiredSize=tt,Yt.free(tt),E?(b.toSpot=y.toSpot,b.toEndSegmentLength=y.toEndSegmentLength):(b.fromSpot=y.fromSpot,b.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=xi,z=Ot.alloc(),x.location=y.ga(xi,z),Ot.free(z),b.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,b,E)}},io.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=xe,y.fromSpot=Ii,y.toSpot=Ii),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},io.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},io.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof gi){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},io.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof gi))return null;for(;a!==null;){var b=y?a.toLinkable:a.fromLinkable;if(b===!0&&(a.portId!==null||a instanceof gi)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(b===!1)break;a=a.panel}return null},io.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,b=this.portGravity;0>=b&&(b=.1);var E=this,z=y.og(x,b,function(ft){return E.findValidLinkablePort(ft,a)},null,!0);for(b=1/0,y=null,z=z.iterator;z.next();){var tt=z.value,rt=tt.part;if(rt instanceof gi){var ot=tt.ga(xi,Ot.alloc()),st=x.x-ot.x,ut=x.y-ot.y;Ot.free(ot),ot=st*st+ut*ut,otx){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},io.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},io.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},io.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof gi))return!1;a=a.portId,a===null&&(a="");var b=y.part;if(!(b instanceof gi))return!1;for(y=y.portId,y===null&&(y=""),y=b.Sd(y);y.next();)if(b=y.value,b.fromNode===x&&b.fromPortId===a)return!0;return!1},io.prototype.isValidLink=function(a,y,x,b){if(!this.isValidFrom(a,y)||!this.isValidTo(x,b)||!(y===null||b===null||(y.fromLinkableSelfNode&&b.toLinkableSelfNode||!this.isInSameNode(y,b))&&(y.fromLinkableDuplicates&&b.toLinkableDuplicates||!this.isLinked(y,b)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var E=a.linkValidation;if(E!==null&&!E(a,y,x,b,this.originalLink))return!1}return x!==null&&(E=x.linkValidation,E!==null&&!E(a,y,x,b,this.originalLink))?!1:(E=this.linkValidation,E!==null?E(a,y,x,b,this.originalLink):!0)},io.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var b=new Cn;return b.add(a),uo(this,x,y,b)};function uo(a,y,x,b){if(y===x)return!0;var E=y.fromNode;return E!==null&&E.isLinkLabel&&(b.add(E),uo(a,E.labeledLink,x,b))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(b.add(y),uo(a,y.labeledLink,x,b))))}io.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var b=this.diagram.validCycle;if(b!==Ac){if(b===Zg){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=y.linksConnected;b.next();){var E=b.value;if(E!==x&&E.isTreeLink&&E.toNode===y)return!1}return!Co(this,a,y,x,!0)}if(b===Wg){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=a.linksConnected;b.next();)if(E=b.value,E!==x&&E.isTreeLink&&E.fromNode===a)return!1;return!Co(this,a,y,x,!0)}if(b===zg)return a===y?a=!0:(b=new Cn,b.add(y),a=$o(this,b,a,y,x)),!a;if(b===jg)return!Co(this,a,y,x,!1);if(b===Hg)return a===y?a=!0:(b=new Cn,b.add(y),a=ns(this,b,a,y,x)),!a}return!0};function Co(a,y,x,b,E){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var tt=z.value;if(tt!==b&&(!E||tt.isTreeLink)&&tt.toNode===y&&(tt=tt.fromNode,tt!==y&&Co(a,tt,x,b,E)))return!0}return!1}function $o(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var tt=z.value;if(tt!==E&&tt.toNode===x&&(tt=tt.fromNode,tt!==x&&$o(a,y,tt,b,E)))return!0}return!1}function ns(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var tt=z.value;if(tt!==E){var rt=tt.fromNode;if(tt=tt.toNode,rt=rt===x?tt:rt,rt!==x&&ns(a,y,rt,b,E))return!0}}return!1}ln.Object.defineProperties(io.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),io.className="LinkingBaseTool";function hs(){io.call(this),this.name="Linking",this.V={},this.F=null,this.K=Xh,this.Xd=null}Ne(hs,io),hs.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},hs.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof gi)))return null;var x=this.direction;if(x===Xh||x===Zp){var b=this.findValidLinkablePort(y,!1);if(b!==null||this.startObject===a&&(b=a.port,this.findValidLinkablePort(b,!1)))return this.isForwards=!0,b}return(x===Xh||x===Wp)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},hs.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof gi&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof gi&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},hs.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},hs.prototype.doStop=function(){io.prototype.doStop.call(this),this.startObject=null},hs.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,b=null,E=null,z=null;try{var tt=this.targetPort=this.findTargetPort(this.isForwards);if(tt!==null){var rt=tt.part;rt instanceof gi&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),b=rt,E=tt):(y=rt,x=tt,this.originalToNode!==null&&(b=this.originalToNode,E=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(b=this.originalToNode,E=this.originalToPort);y!==null||b!==null?(z=this.insertLink(y,x,b,E),z!==null?(tt===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,b,E)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},hs.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof Rn)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},hs.prototype.insertLink=function(a,y,x,b){return this.diagram.partManager.insertLink(a,y,x,b)},hs.prototype.doNoLink=function(){},ln.Object.defineProperties(hs.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var Xh=new je(hs,"Either",0),Zp=new je(hs,"ForwardsOnly",0),Wp=new je(hs,"BackwardsOnly",0);hs.className="LinkingTool",hs.Either=Xh,hs.ForwardsOnly=Zp,hs.BackwardsOnly=Wp;function ol(){io.call(this),this.name="Relinking";var a=new Er;a.figure="Diamond",a.desiredSize=qe,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new Er,a.figure="Diamond",a.desiredSize=qe,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new he}Ne(ol,io),ol.prototype.updateAdornments=function(a){if(a!==null&&a instanceof Rn){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var b=a.selectionObject;b!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(b,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(b=a.selectionObject,b!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(b,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},ol.prototype.makeAdornment=function(a,y){var x=new ro;return x.type=Nn.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},ol.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},ol.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof ro&&x.adornedPart instanceof Rn))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break t;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof Nn)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},ss.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},ss.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},ss.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},ss.prototype.stopTransaction=function(){var a=this.diagram,y=Qr.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},ss.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},ss.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,Ot.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),a.bd(),Ot.free(E)}},ss.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,Ot.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),Ot.free(E),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},ss.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof br){var b=new pn;if(b.add(a),!this.dragsMembers&&a.placeholder===null){var E=new at;E.dragsMembers=!1}y.moveParts(b,this.oppositePoint.copy().re(x),!0,E)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},ss.prototype.computeResize=function(a,y,x,b,E,z){y.Mc()&&(y=xi);var tt=this.adornedObject.naturalBounds,rt=tt.x,ot=tt.y,st=tt.x+tt.width,ut=tt.y+tt.height,ft=1;if(!z){ft=tt.width;var vt=tt.height;0>=ft&&(ft=1),0>=vt&&(vt=1),ft=vt/ft}return vt=Ot.alloc(),ce.No(a.x,a.y,rt,ot,E.width,E.height,vt),a=tt.copy(),0>=y.x?0>=y.y?(a.x=Math.max(vt.x,st-b.width),a.x=Math.min(a.x,st-x.width),a.width=Math.max(st-a.x,x.width),a.y=Math.max(vt.y,ut-b.height),a.y=Math.min(a.y,ut-x.height),a.height=Math.max(ut-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ft*a.width,b.height),x.height),a.width=a.height/ft):(a.width=Math.max(Math.min(a.height/ft,b.width),x.width),a.height=ft*a.width),a.x=st-a.width,a.y=ut-a.height)):1<=y.y?(a.x=Math.max(vt.x,st-b.width),a.x=Math.min(a.x,st-x.width),a.width=Math.max(st-a.x,x.width),a.height=Math.max(Math.min(vt.y-ot,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ft*a.width,b.height),x.height),a.width=a.height/ft):(a.width=Math.max(Math.min(a.height/ft,b.width),x.width),a.height=ft*a.width),a.x=st-a.width)):(a.x=Math.max(vt.x,st-b.width),a.x=Math.min(a.x,st-x.width),a.width=st-a.x,z||(a.height=Math.max(Math.min(ft*a.width,b.height),x.height),a.width=a.height/ft,a.y=ot+.5*(ut-ot-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(vt.x-rt,b.width),x.width),a.y=Math.max(vt.y,ut-b.height),a.y=Math.min(a.y,ut-x.height),a.height=Math.max(ut-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ft*a.width,b.height),x.height),a.width=a.height/ft):(a.width=Math.max(Math.min(a.height/ft,b.width),x.width),a.height=ft*a.width),a.y=ut-a.height)):1<=y.y?(a.width=Math.max(Math.min(vt.x-rt,b.width),x.width),a.height=Math.max(Math.min(vt.y-ot,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ft*a.width,b.height),x.height),a.width=a.height/ft):(a.width=Math.max(Math.min(a.height/ft,b.width),x.width),a.height=ft*a.width))):(a.width=Math.max(Math.min(vt.x-rt,b.width),x.width),z||(a.height=Math.max(Math.min(ft*a.width,b.height),x.height),a.width=a.height/ft,a.y=ot+.5*(ut-ot-a.height))):0>=y.y?(a.y=Math.max(vt.y,ut-b.height),a.y=Math.min(a.y,ut-x.height),a.height=ut-a.y,z||(a.width=Math.max(Math.min(a.height/ft,b.width),x.width),a.height=ft*a.width,a.x=rt+.5*(st-rt-a.width))):1<=y.y&&(a.height=Math.max(Math.min(vt.y-ot,b.height),x.height),z||(a.width=Math.max(Math.min(a.height/ft,b.width),x.width),a.height=ft*a.width,a.x=rt+.5*(st-rt-a.width))),Ot.free(vt),a},ss.prototype.computeReshape=function(){var a=wn;return this.adornedObject instanceof Er&&(a=Lv(this.adornedObject)),!(a===zi||this.diagram.lastInput.shift)},ss.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},ss.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var b=this.handleDistance;return x===0?y.x=a.naturalBounds.width+b:x===45?(y.x=a.naturalBounds.width+b,y.y=a.naturalBounds.height+b):x===90?y.y=a.naturalBounds.height+b:x===135?(y.x=-b,y.y=a.naturalBounds.height+b):x===180?y.x=-b:x===225?(y.x=-b,y.y=-b):x===270?y.y=-b:x===315&&(y.x=a.naturalBounds.width+b,y.y=-b),a.ga(y)},xs.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new Ot(NaN,NaN),this.isActive=a.isMouseCaptured=!1},xs.prototype.stopTransaction=function(){var a=this.diagram,y=Qr.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},xs.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},xs.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},xs.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},xs.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,b=y.rotateObject;(x===b||x.rg(b))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},xs.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},ln.Object.defineProperties(xs.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof ro))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof ro)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),xs.className="RotatingTool",Dn("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Yh(){Qr.call(this),this.name="ClickSelecting"}Ne(Yh,Qr),Yh.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Yh.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Yh.className="ClickSelectingTool";function Tl(){Qr.call(this),this.name="Action",this.pk=null}Ne(Tl,Qr),Tl.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},Tl.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},Tl.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},Tl.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},Tl.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},Tl.prototype.doStop=function(){this.pk=null},Tl.className="ActionTool";function mh(){Qr.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new Ot(0,0)}Ne(mh,Qr),mh.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},mh.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},mh.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var b=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof Yi)x.Zc()&&(Rl(x),b=x.copy(),b!==null&&y.add(b));else if(x!==null){var E=y.model.copyNodeData(x);Xe(E)&&(y.model.xf(E),b=y.Lc(E))}if(b!==null){var z=Ot.allocAt(a.x,a.y);this.isGridSnapEnabled&&pf(this.diagram,b,a,z),b.location=z,y.allowSelect&&(y.clearSelection(!0),b.isSelected=!0),Ot.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",b)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return b},ln.Object.defineProperties(mh.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),mh.className="ClickCreatingTool";function vl(){Qr.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new Yi;a.layerName="Tool",a.selectable=!1;var y=new Er;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}Ne(vl,Qr),vl.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom&&(x.y-=b.height+5/y.scale),x.ya.lastInput.clickCount)):!1},Vo.prototype.doStart=function(){yh=this,this.textBlock!==null&&this.doActivate()},Vo.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof Oo&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=gc;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var b=new he(this.textBlock.ga(Ui),this.textBlock.ga(vr));a.tv(b),x.show(y,a,this),this.currentTextEditor=x}}}},Vo.prototype.doCancel=function(){this.stopTool()},Vo.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},Vo.prototype.doMouseDown=function(){this.isActive&&this.acceptText(xu)},Vo.prototype.acceptText=function(a){switch(a){case xu:this.qa===Dd?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===gc||this.qa===mc||this.qa===pc)&&(this.qa=fg,cg(this));break;case rf:case fc:case of:(fc!==a||this.textBlock.isMultiline!==!0)&&(this.qa===gc||this.qa===mc||this.qa===pc)&&(this.qa=fg,cg(this))}};function cg(a){var y=a.textBlock,x=a.diagram,b=a.currentTextEditor;if(y!==null&&b!==null){var E=y.text,z="";b.valueFunction!==null&&(z=b.valueFunction()),a.isValidText(y,E,z)?(a.Ea(a.name),a.qa=Dd,a.transactionResult=a.name,y.text=z,a.doSuccess(E,z),x!==null&&x.R("TextEdited",y,E),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=mc,a.doError(E,z))}}Vo.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},Vo.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},Vo.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=Td,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},Vo.prototype.doStop=function(){yh=null},Vo.prototype.isValidText=function(a,y,x){var b=this.textValidation;return b!==null&&!b(a,y,x)?!1:(b=a.textValidation,!!(b===null||b(a,y,x)))},Vo.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},ln.Object.defineProperties(Vo.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),Vo.prototype.measureTemporaryTextBlock=Vo.prototype.Lx;var rf=new je(Vo,"LostFocus",0),xu=new je(Vo,"MouseDown",1),of=new je(Vo,"Tab",2),fc=new je(Vo,"Enter",3),$0=new je(Vo,"SingleClick",0),Nd=new je(Vo,"SingleClickSelected",1),af=new je(Vo,"DoubleClick",2),Td=new je(Vo,"StateNone",0),gc=new je(Vo,"StateActive",1),pc=new je(Vo,"StateEditing",2),fg=new je(Vo,"StateValidating",3),mc=new je(Vo,"StateInvalid",4),Dd=new je(Vo,"StateValidated",5),yh=null;Vo.className="TextEditingTool",Vo.LostFocus=rf,Vo.MouseDown=xu,Vo.Tab=of,Vo.Enter=fc,Vo.SingleClick=$0,Vo.SingleClickSelected=Nd,Vo.DoubleClick=af,Vo.StateNone=Td,Vo.StateActive=gc,Vo.StateEditing=pc,Vo.StateValidating=fg,Vo.StateInvalid=mc,Vo.StateValidated=Dd,Dn("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function qs(a){yc||(gg(),yc=!0),this.H=Tu,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=_u,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Cn,this.ce=new rs,this.ce.Yd=this,this.Ei=new Cn,this.pu=new Cn,this.Sr=new Cn,this.pr=new Cn,a&&Object.assign(this,a)}qs.prototype.Xe=function(a){this.H=a},qs.prototype.canStart=function(){return!0};function Nu(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),os(a.H),a.zb=!0)}function sf(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,b=a.Zd.contains("Model");b&&(a.Ok=!0,a.Pk===_u?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===pg&&y.vc.clear(),a.Qw=!!(a.Pk===Sc&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),b&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),xc(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,b=y.vc.get(x),x.autoScale!==ps&&b!==null&&(delete b.start.scale,delete b.end.scale),Ye.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Ds(x),xg(x),a.zb=!1,y.start(),y.bc&&(Sh(a),x.Ya(),mg(y,0),Sl(x,!0),Jh(a),x.R("AnimationStarting",a)))}))}}function qu(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function lf(a,y,x,b){a.isTicking||qu(a)||y instanceof Rn&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,b,!1)}Ct=qs.prototype,Ct.fv=function(a){return this.ce.fv(a)},Ct.Xu=function(a){return this.ce.Xu(a)};function uf(a,y){function x(){if(0z?z+=360:ot+=360),z=E(x,z,ot-z,b)%360,tt=E(x,tt,st-tt,b),rt=E(x,rt,ut-rt,b),x=E(x,a,y-a,b),"hsla("+z+", "+tt+"%, "+rt+"%, "+x+")"}function gg(){function a(x,b,E,z,tt,rt){x.position=new Ot(z(tt,b.x,E.x-b.x,rt),z(tt,b.y,E.y-b.y,rt))}var y=new Be;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,b,E,z,tt,rt){tta&&Gn(a,">= 1",qs,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),qs.prototype.stopAnimation=qs.prototype.Cc;var vc=null,yc=!1,_u=new je(qs,"Default",1),Sc=new je(qs,"AnimateLocations",2),pg=new je(qs,"None",3);qs.className="AnimationManager",qs.defineAnimationEffect=function(a,y){yc||(gg(),yc=!0),vc.add(a,y)},qs.Default=_u,qs.AnimateLocations=Sc,qs.None=pg;function rs(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=Bd,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=Qn,this.vc=new Be,this.Tt=new Be,this.yl=new Cn,this.Ut=new Cn,this.dw=Ch,a&&Object.assign(this,a)}rs.prototype.suspend=function(){this.Xk=!0},rs.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,Pc(this,!0),Sh(this.Yd),Sl(this.H),Jh(this.Yd),this.H.redraw()};function xc(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:b-a.Qd;y&&(E=a.gw,Ea.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function mg(a,y){for(var x=a.Gd,b=a.vc.iterator,E=a.Wk;b.next();){var z=b.key;if(!(z instanceof ye&&z.diagram===null)){var tt=b.value,rt=E?tt.end:tt.start;tt=E?tt.start:tt.end;var ot=vc,st;for(st in tt)st==="position"&&(tt["position:placeholder"]||tt["position:nodeCollapse"])||ot.get(st)===null||ot.get(st)(z,rt[st],tt[st],a.Lp,y,x,a)}}}Ct.stop=function(){return this.bc?(this.Ml(!0),this):this},Ct.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,Sh(x);for(var b=this.vc,E=this.yl.iterator;E.next();)y.remove(E.value);for(E=this.Ut.iterator;E.next();)E.value.v();E=this.ho,b=b.iterator;for(var z=vc;b.next();){var tt=b.key,rt=b.value,ot=E?rt.end:rt.start,st=E?rt.start:rt.end,ut=rt.Ku,ft;for(ft in st)if(z.get(ft)!==null){var vt=ft;!rt.Hu||vt!=="position:nodeCollapse"&&vt!=="position:placeholder"||(vt="position"),z.get(vt)(tt,ot[ft],ut[ft]!==void 0?ut[ft]:rt.Hu?ot[ft]:st[ft],this.Lp,this.Gd,this.Gd,this)}rt.Hu&&ut.location!==void 0&&tt instanceof Yi&&(tt.location=ut.location),rt.nv&&tt instanceof Yi&&tt.Zb(!1)}if(y.As.clear(),wc(y,!1),y.Ya(),y.N(),Sl(y,!0),x.defaultAnimation===this){for(ft=x.pr.iterator;ft.next();)E=ft.value,E.Tg!==null&&(E.points=E.Tg,E.Tg=null);x.pr.clear()}Sl(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),Jh(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),xc(this,null),x.Ml(this),y.$b())}},Ct.Cj=function(a,y){var x=y.actualBounds,b=null;if(y instanceof br&&(b=y.placeholder),b!==null?(x=b.ga(Ui),b=b.padding,x.x+=b.left,x.y+=b.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new Ot(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof br)for(a=a.memberParts;a.next();)b=a.value,b instanceof gi&&this.Cj(b,y)},Ct.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof br&&(x=y.placeholder),x!==null){var b=x.ga(Ui);x=x.padding,b.x+=x.left,b.y+=x.top,this.add(a,"position:placeholder",a.position,b,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),b=this.vc,b.contains(a)&&(b.I(a).nv=!0),a instanceof br)for(a=a.memberParts;a.next();)b=a.value,b instanceof gi&&this.Aj(b,y)}},Ct.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},ln.Object.defineProperties(rs.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Gn(a,">= 1",rs,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function Kp(a,y,x,b){return a===b?y+x:x*(-Math.pow(2,-10*a/b)+1)+y}rs.className="Animation",rs.EaseLinear=function(a,y,x,b){return x*a/b+y},rs.EaseInOutQuad=Bd,rs.EaseInQuad=function(a,y,x,b){return x*(a/=b)*a+y},rs.EaseOutQuad=function(a,y,x,b){return-x*(a/=b)*(a-2)+y},rs.EaseInExpo=function(a,y,x,b){return a===0?y:x*Math.pow(2,10*(a/b-1))+y},rs.EaseOutExpo=Kp;function _h(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}_h.className="AnimationState";function Xl(a,y,x){this.xd=null,this.rf=a,this.so=x||vg,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=$h))}Xl.prototype.copy=function(){var a=new Xl(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function Xp(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}ln.Object.defineProperties(Xl.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var vg=new je(Xl,"Default",1),$h=new je(Xl,"Immediate",2),Od=new je(Xl,"Bundled",3);Xl.className="AnimationTrigger",Xl.Default=vg,Xl.Immediate=$h,Xl.Bundled=Od;function Xa(a){rr(this),this.H=null,this.Pa=new pn,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Ct=Xa.prototype,Ct.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,b=0,E=0,z=0,tt=0,rt=this.Pa.iterator;rt.next();){var ot=rt.value;ot instanceof br?E++:ot instanceof gi?b++:ot instanceof Rn?z++:ot instanceof ro?tt++:x++}if(rt="",0x.Oq||rt.height*E>x.Oq?y.gc(a,x):(E=y.actualBounds,z=y.naturalBounds,E.width===0||E.height===0||isNaN(E.x)||isNaN(E.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(ha(y,a,y.areaBackground,!0,!0,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.areaBackground===null&&y.background===null&&(ha(y,a,"rgba(0,0,0,0.3)",!0,!1,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),ha(y,a,y.background,!0,!1,z,E),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),b&&(a.restore(),a.Vc(!0))}},Ct.g=function(a,y,x,b,E){var z=this.diagram;z!==null&&z.cb(To,a,this,y,x,b,E)},Ct.oi=function(a,y,x){var b=this.Pa;if(y.Ig=this,this===null&&fs(y),a>=b.count)a=b.count;else if(b.M(a)===y)return-1;return b.Gb(a,y),y.Vo(x),b=this.diagram,b!==null&&(x?b.N():b.oi(y)),df(this,a,y),a},Ct.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var b=this.Pa;if(0>a||a>=b.length){if(a=b.indexOf(y),0>a)return-1}else if(b.M(a)!==y&&(a=b.indexOf(y),0>a))return-1;return y.Wo(x),b.mb(a),b=this.diagram,b!==null&&(x?b.N():b.pc(y)),y.Ig=null,fs(y),a};function df(a,y,x){if(y=Up(a,y,x),x instanceof br&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var b=-1,E=a.Pa.s,z=E.length,tt=0;ttb&&rt.containingGroup===x&&(b=tt,0<=y))break}!(0>b)&&b=E)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,tt=NaN;0<=z&&(tt=a.M(z).zOrder,!!isNaN(tt));)z--;for(var rt=y+1,ot=NaN;rtb)for(;;){if(z===-1||tt<=b){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(tt=NaN;0<=--z&&(tt=a.M(z).zOrder,isNaN(tt)););}else if(!isNaN(ot)&&ot=b){if(rt--,rt===y)break;return a.mb(y),a.Gb(rt,x),rt}for(ot=NaN;++rta||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` `+x.value.toString(a-1);return y};function Sg(a,y){if(la){if(y!=null||Qt("Diagram setup requires an argument DIV."),a.Ka!==null&&Qt("Diagram has already completed setup."),typeof y=="string"?a.Ka=Ye.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:Qt("No DIV or DIV id supplied: "+y),a.Ka===null&&Qt("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&Qt("Invalid div id; div already has a Diagram associated with it."),!a.ol&&Ye.ResizeObserver){var x=Pi(function(){a.$b()},250);a.ol=new Ye.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}Ye.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var b="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=b,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=Ye.go;var E=new Il(a);if(E.style!==void 0&&(E.style.position="absolute",E.style.top="0px",E.style.left="0px",Ye.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),E.style.zIndex="2",E.style.userSelect="none",E.style.MozUserSelect="none",E.style.touchAction="none",E.style.letterSpacing="normal !important",E.style.wordSpacing="normal !important"),a.ta=E,a.ib=E.context,b=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),Ag(a,a.Aa,a.ya),a.Ka.insertBefore(E.Oa,a.Ka.firstChild),E=new Il(null),E.width=1,E.height=1,a.jw=E,a.oy=E.context,la){E=Yn("div");var z=Yn("div");E.style.position="absolute",E.style.overflow="auto",E.style.width=a.Aa+"px",E.style.height=a.ya+"px",E.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(E),E.appendChild(z),E.onscroll=$p,E.addEventListener("pointerdown",tm),E.H=a,E.uy=!0,E.vy=!0,a.ku=E,a.hu=z}a.hk=Pi(function(){a.Yh=null,a.N()},300),a.Ov=Pi(function(){xg(a)},250),a.preventDefault=function(tt){return tt.preventDefault(),!1},a.$j=function(tt){if(a.isEnabled){var rt=yl(a,tt,!0);rt.bubbles=!0;var ot=0,st=0;rt.delta=0,tt.deltaX!==void 0?(tt.deltaX!==0&&(ot=0Math.abs(tt.deltaY)?-ot:-st):tt.wheelDeltaX!==void 0?(tt.wheelDeltaX!==0&&(ot=0Math.abs(tt.wheelDeltaY)?-ot:-st):tt.wheelDelta!==void 0&&tt.wheelDelta!==0&&(rt.delta=0rt||Math.abs(st.y-tt.screenY)>rt)?a.yq++:a.yq=1,ot.clickCount=a.yq,a.tw=tt.timeStamp,a.uw.sg(tt.screenX,tt.screenY),a.doMouseDown(),tt.button===1?tt.preventDefault():Yl(ot,tt)}},a.dk=function(tt){if(a.isEnabled){a.Vk=!0;var rt=a.oj;if(rt[0]===null||rt[0].pointerId!==tt.pointerId&&rt[0].pointerType===tt.pointerType){if(rt[1]!==null&&rt[1].pointerId===tt.pointerId){rt[1]=tt;return}if(rt[0]===null)rt[0]=tt;else return}else rt[0]=tt;if(rt[0].pointerId===tt.pointerId){rt=Lg(a,tt,!1,!1,!1,rt[1]!==null);var ot=Ye.document.elementFromPoint(tt.clientX,tt.clientY)||null;ot!==null&&ot.shadowRoot!==void 0&&ot.shadowRoot!==null&&(ot=ot.shadowRoot.elementFromPoint(tt.clientX,tt.clientY));var st=a,ut=tt;ot&&ot.H&&(ut=tt,st=ot.H),rt.targetDiagram=st,Rd(a,ut,rt),rt.targetObject=null,a.doMouseMove(),Yl(rt,tt)}}},a.fk=function(tt){if(a.isEnabled){a.Vk=!0;var rt=tt.pointerType==="touch"||tt.pointerType==="pen",ot=a.Yt;if(rt&&a.qu)delete ot[tt.pointerId],tt.preventDefault();else if(ot=a.oj,ot[0]===null||ot[0].pointerId!==tt.pointerId&&ot[0].pointerType===tt.pointerType)ot[1]!==null&&ot[1].pointerId===tt.pointerId&&(ot[1]=null);else{ot[0]=null,ot=Lg(a,tt,!1,!0,!0,!1);var st=Ye.document.elementFromPoint(tt.clientX,tt.clientY)||null;st!==null&&st.shadowRoot!==void 0&&st.shadowRoot!==null&&(st=st.shadowRoot.elementFromPoint(tt.clientX,tt.clientY)),st!==null&&st.H instanceof Re&&st.H!==a&&Rd(st.H,tt,ot),st===null&&(st=tt.target),Rd(a,tt,ot),ot.clickCount=a.yq,ot.targetDiagram=Cg(tt,st),ot.targetObject=null,a.doMouseUp(),Yl(ot,tt),rt&&(a.wq=!1)}}},a.ek=function(tt){if(a.isEnabled){a.Vk=!1;var rt=a.Yt;rt[tt.pointerId]&&delete rt[tt.pointerId],rt=a.oj,rt[0]!==null&&rt[0].pointerId===tt.pointerId&&(rt[0]=null),rt[1]!==null&&rt[1].pointerId===tt.pointerId&&(rt[1]=null),tt.pointerType!=="touch"&&tt.pointerType!=="pen"&&(tt=a.currentTool,tt.cancelWaitAfter(),tt.standardMouseOver())}},a.ck=function(tt){var rt=a.oj;rt[0]!==null&&rt[0].pointerId===tt.pointerId?(rt[0]=null,a.wq=!1):rt[1]!==null&&rt[1].pointerId===tt.pointerId&&(rt[1]=null)},a.Vp=b.Z["d"+Fc[1]+Fc[2]+"wI"+Vd.slice(1,5)]["b"+Tx.slice(1,y)](b.Z,Ec,y,y),b.Vc(!0),tv(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}Re.prototype.addEventListener=function(a,y,x,b){a.addEventListener(y,x,{capture:b,passive:!1})},Re.prototype.removeEventListener=function(a,y,x,b){a.removeEventListener(y,x,{capture:b})};function tv(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(Ye,"resize",a.Ov,!1)}function Ds(a){30bt&&(this.position=Xt.h(-(y.scrollWidth-this.Aa)+Zt-this.Aa/E+ut,this.position.y))),a.vy&&this.allowVerticalScroll&&(rtTt&&(this.position=Xt.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/E+z))),Ot.free(Xt),this.vd=!0,this.Ee=this.qr=!1,b=this.documentBounds,E=this.viewportBounds,ut=b.right,bt=E.right,z=b.bottom,Tt=E.bottom,tt=b.x,ft=E.x,rt=b.y,b=E.y,vt>=ot&&tt>=ft&&ut<=bt&&(x.style.width="1px"),xt>=st&&rt>=b&&z<=Tt&&(x.style.height="1px"))}},Re.prototype.computeBounds=function(a){return a===void 0&&(a=new he),os(this),Pg(this,a)};function Pg(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,b=a.Wa.s,E=b.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===ad?(y=ot>rt?(tt-a.Db)/b:(z-a.Db)/E,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}Re.prototype.zoomToFit=function(){var a=this.sj;this.sj=Ch,this.scale=Id(this,al),a!==Ch&&(Bl(this,!1),wg(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Ct=Re.prototype,Ct.BA=function(a,y){y===void 0&&(y=al);var x=a.width,b=a.height;if(!(x===0||b===0||isNaN(x)&&isNaN(b))){var E=1;if(y===al||y===ad)if(isNaN(x))E=this.viewportBounds.height*this.scale/b;else if(isNaN(b))E=this.viewportBounds.width*this.scale/x;else{E=this.Aa;var z=this.ya;E=y===ad?z/b>E/x?(z-(this.Be?this.Db:0))/b:(E-(this.gf?this.Db:0))/x:Math.min(z/b,E/x)}this.scale=E,this.position=new Ot(a.x,a.y)}},Ct.Jy=function(a,y){this.Va();var x=this.documentBounds,b=this.viewportBounds;this.position=new Ot(x.x+(a.x*x.width+a.offsetX)-(y.x*b.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*b.height-y.offsetY))},Ct.zz=function(a){if(a instanceof ye){this.eq=a;var y=Ot.alloc();this.fq=this.op(a.ga(Ui,y)),Ot.free(y)}else this.eq=null,this.fq=yi};function wg(a,y,x,b,E,z){var tt=Ot.allocAt(a.pa.x,a.pa.y),rt=tt.x,ot=tt.y;if(a.eq!==null){var st=Ot.alloc();st=a.eq.ga(Ui,st),rt=st.x-a.fq.x/a.scale,ot=st.y-a.fq.y/a.scale,E=Ii,Ot.free(st)}(z||a.scrollMode===Ch)&&(E.sb()&&(x>y.width&&(rt=y.x+(E.x*y.width+E.offsetX)-(E.x*x-E.offsetX)),b>y.height&&(ot=y.y+(E.y*y.height+E.offsetY)-(E.y*b-E.offsetY))),E=a.rj,z=x-y.width,xy.left?rt=y.left:rty.top?ot=y.top:oty;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Cn,a.Nv(x,a.De)}a.nodes.each(function(b){b instanceof br&&b.U&65536&&(b.U=b.U^65536)})}}Ct.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof br||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof br&&x.isVisible()&&bc(this,x);for(a.reset();a.next();)x=a.value,x instanceof Rn&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof ro&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function bc(a,y){for(var x=ai(),b=ai(),E=y.memberParts;E.next();){var z=E.value;z.isVisible()&&(z instanceof br?(ll(z)||Cs(z)||ld(z))&&bc(a,z):z instanceof Rn?z.fromNode===y||z.toNode===y?b.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,E=0;Eme&&(Zt=li.left,qt=li.right),Xt.height>Ie&&(_t=li.top,ee=li.bottom)):(Zt=li.left,qt=li.right,_t=li.top,ee=li.bottom);var Di=Xt.width+Zt+qt,wi=Xt.height+_t+ee;li=a.scale;var In=Di>ot/li,yn=wi>st/li;if(!(z||a.gf||a.Be||In||yn))return!0;Zt=Xt.x-Zt,ot=ut.x,qt=Xt.right+qt,st=ut.right+tt,_t=Xt.y-_t;var Cr=ut.y;Xt=Xt.bottom+ee,ut=ut.bottom+rt;var gr="1px";if(ee="1px",a.scrollMode===Ch&&(In||yn)&&(In&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(In=1,Zt+1st+1&&(In=Math.max((qt-st)*li+a.Aa,In)),me+tt+1ut+1&&(In=Math.max((Xt-ut)*li+a.ya,In)),Ie+rt+1st+1&&(tt=Math.max((qt-st)*li+a.Aa,tt)),me+1ut+1&&(rt=Math.max((Xt-ut)*li+tt,rt)),Ie+1st+1&&(y=a.position.x*li)),a.tn)switch(a.bu){case"negative":y=-(bt.scrollWidth-y-bt.clientWidth);break;case"reverse":y=bt.scrollWidth-y-bt.clientWidth}return bt.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(Ie+1ut+1&&(bt.scrollTop=a.position.y*li)),ot=a.Aa,st=a.ya,bt.style.width=ot+(a.gf?a.Db:0)+"px",bt.style.height=st+(a.Be?a.Db:0)+"px",x!==ot||b!==st||a.animationManager.zb?(x=he.allocAt(E,ft,vt,xt),a.onViewportBoundsChanged(x,a.viewportBounds,li,z),he.free(x),!1):!0}Ct=Re.prototype,Ct.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&Qt("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&Qt('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(Uo,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Ct.oi=function(a){this.partManager.oi(a);var y=this;Jd(a,function(x){Zd(y,x)}),(a instanceof ro||a instanceof br&&a.placeholder!==null)&&a.v(),a.data!==null&&Jd(a,function(x){sy(y.partManager,x)}),Cs(a)!==!0&&ld(a)!==!0||this.De.add(a),R1(a,!0,this),j1(a)?(a.actualBounds.w()&&this.N(_d(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(_d(a,a.actualBounds)),this.$b()},Ct.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Jd(a,function(x){ly(y.partManager,x,y)}),this.De.remove(a),j1(a)?(a.actualBounds.w()&&this.N(_d(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(_d(a,a.actualBounds)),this.$b()},Ct.remove=function(a){kg(this,a,!0)};function kg(a,y,x){var b=y.layer;b!==null&&b.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=b.pc(-1,y,!1),0<=x&&a.cb(ua,"parts",b,y,null,x,null),a=y.layerChanged,a!==null&&a(y,b,null))}Ct.Is=function(a,y){if(y===void 0&&(y=!1),ri(a))for(var x=a.length,b=0;bb&&this.Ya(),this},Ct.Cy=function(a,y){Fg(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(ua,"layers",this,a,null,b,null));var E=x.count,z;for(z=0;zb&&this.Ya(),this},Ct.kA=function(a){if(a.diagram!==this&&Qt("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var b=y.value,E=b.layerName;E!==a.name?b.layerName=E:b.layerName=""}this.cc!==null&&this.cb(ua,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Ct.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Ct.Yw=function(a){return this.pf===null&&(this.pf=new pn),this.pf.add(a),this.model.Pe(a),this},Ct.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Ct.Pe=function(a){return this.zg===null&&(this.zg=new pn),this.zg.add(a),this},Ct.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Ct.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==ba&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,b=0;bft.Pa.indexOf(xt)&&ft.oi(vt,xt,bt):(xt.isSelected=!1,xt.isHighlighted=!1,xt.Wb(),ft.pc(bt?vt:-1,xt,bt)))}else ft instanceof Re?typeof vt=="number"&&xt instanceof Xa&&(y?(xt.Xe(this),this.Wa.Gb(vt,xt)):this.Wa.mb(vt)):Qt("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else b!==ba&&Qt("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},Re.prototype.Ea=function(a){return this.undoManager.Ea(a)},Re.prototype.eb=function(a){return this.undoManager.eb(a)},Re.prototype.Kf=function(){return this.undoManager.Kf()},Re.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},Re.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},Re.prototype.rp=function(){this.partManager.rp()};function Ng(a,y,x){var b=a.animationManager;if(a.vb||a.ld)a.Ca=x,wu(a),a.N(),a.Ee=!0,b.zb&&(qu(b)||b.ce.add(b.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,wu(a);else{a.vb=!0;var E=a.viewportBounds.copy(),z=a.Aa,tt=a.ya,rt=a.zoomPoint.x,ot=a.zoomPoint.y,st=a.contentAlignment;isNaN(rt)&&(st.$c()?st.Hf($r)?rt=0:st.Hf(Ur)&&(rt=z-1):rt=st.sb()?st.x*(z-1):z/2),isNaN(ot)&&(st.$c()?st.Hf(to)?ot=0:st.Hf(mo)&&(ot=tt-1):ot=st.sb()?st.y*(tt-1):tt/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=Ot.allocAt(a.pa.x+rt/y-rt/x,a.pa.y+ot/y-ot/x),a.position=z,Ot.free(z),a.Ca=x,wu(a),a.vb=!1,a.onViewportBoundsChanged(E,a.viewportBounds,y,!1),Bl(a,!1),b.zb&&(qu(b)||b.ce.add(b.H,"scale",y,a.Ca))}}Re.prototype.onViewportBoundsChanged=function(a,y,x,b){if(!a.D(y)){b===void 0&&(b=!1),b||(this.Ee=!0),this.vd=!0;var E=this.layout;E===null||!E.isViewportSized||this.autoScale!==ps||a.width===y.width&&a.height===y.height||E.C(),E=this.currentTool,this.Vk===!0&&E instanceof wo&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),Gl(E,this)),this.vb||this.invalidateViewport(a,y),Pu(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=b,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function Pu(a,y){var x=a.fe;if(x!==null&&x.visible){for(var b=Yt.alloc(),E=1,z=1,tt=x.O.s,rt=tt.length,ot=0;otut||(pv(st.figure)?z=z*ut/ce.vx(z,ut):E=E*ut/ce.vx(E,ut))}if(tt=x.gridCellSize,b.h(z*tt.width,E*tt.height),y!==void 0)E=y.width,z=y.height,a=y.x,tt=y.y;else{if(y=he.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){he.free(y);return}E=y.width,z=y.height,a=y.x,tt=y.y,he.free(y)}x.width=E+2*b.width,x.height=z+2*b.height,y=Ot.alloc(),ce.No(a,tt,0,0,b.width,b.height,y),y.offset(-b.width,-b.height),Yt.free(b),x.part.location=y,Ot.free(y)}}Re.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),b=x.length,E=0;E=b&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||Nu(z,"Layout")),a.xh=!1;for(var tt=a.ai.iterator;tt.next();)Ig(a,tt.value,y,b);E.isValidLayout||(!y||E.isRealtime||E.isRealtime===null||b===0?(E.doLayout(a),os(a),E.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,b===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||b!==0&&b!==1||sf(z),a.aa=x}}}function Ig(a,y,x,b){if(y!==null){for(var E=y.gl.iterator;E.next();)Ig(a,E.value,x,b);E=y.layout,E===null||E.isValidLayout||(!x||E.isRealtime||b===0?(y.rh=!y.location.w(),E.doLayout(y),y.C(32),bc(a,y),E.isValidLayout=!0):a.xh=!0)}}Ct.yz=function(){for(var a=new pn,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function ev(a){function y(E){var z=E.toLowerCase(),tt=new pn;x.add(E,tt),x.add(z,tt),b.add(E,E),b.add(z,E)}var x=new Be,b=new Be;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=b}function rm(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function yf(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;Qt("Unknown DiagramEvent name: "+y)}Ct.Bj=function(a,y){return a=yf(this,a),a!==null&&a.add(y),this},Ct.am=function(a,y){a=yf(this,a),a!==null&&a.remove(y)},Ct.R=function(a,y,x){var b=yf(this,a),E=new El;if(E.diagram=this,a=rm(this,a),a!==null&&(E.name=a),y!==void 0&&(E.subject=y),x!==void 0&&(E.parameter=x),y=b.length,y===1)b.M(0)(E);else if(y!==0)for(b=b.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var b=this.viewportBounds,E=this.scale;b=he.allocAt(0,0,b.width*E,b.height*E);var z=Ot.allocAt(0,0);if(a.x>=b.x&&a.xb.x+b.width-x.right&&this.allowHorizontalScroll&&(tt=Math.max(this.scrollHorizontalLineChange,1),tt|=0,z.x+=tt,a.x>b.x+b.width-x.right/2&&(z.x+=tt),a.x>b.x+b.width-x.right/4&&(z.x+=4*tt));return a.y>=b.y&&a.yb.y+b.height-x.bottom&&this.allowVerticalScroll&&(tt=Math.max(this.scrollVerticalLineChange,1),tt|=0,z.y+=tt,a.y>b.y+b.height-x.bottom/2&&(z.y+=tt),a.y>b.y+b.height-x.bottom/4&&(z.y+=4*tt)),z.Xa(Qn)||(y=new Ot(y.x+z.x/E,y.y+z.y/E)),he.free(b),Ot.free(z),y},Ct=Re.prototype,Ct.Cs=function(){return null},Ct.av=function(){return null},Ct.bs=function(a,y){this.pj.add(a,y)},Ct.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof br&&(y.$p=null)})};function Mc(a,y,x){function b(){var ut=+new Date;for(z=!0,tt.reset();tt.next();)if(!tt.value[0].al){z=!1;break}z||ut-st>ot?y(x,E,rt):Ye.requestAnimationFrame(b)}for(var E=x.callback,z=!0,tt=a.Og.iterator;tt.next();)if(!tt.value[0].al){z=!1;break}if(typeof E!="function"||z)return y(x,E,a);var rt=a,ot=x.callbackTimeout||300,st=+new Date;return Ye.requestAnimationFrame(function(){b()}),null}Ct.Wz=function(a){return la?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Ct.Jx=function(a){return a===void 0&&(a={}),Mc(this,this.Xz,a)},Ct.Xz=function(a,y,x){var b=am(x,a,"canvas",null);if(b===null)return null;x=b.Z.canvas;var E=null;if(x!==null)switch(E=a.returnType,E===void 0?E="string":E=E.toLowerCase(),E){case Vd+"data":E=b.getImageData(0,0,x.width,x.height);break;case Vd:b=(a.document||document).createElement("img"),b.src=x.toDataURL(a.type,a.details),E=b;break;case"blob":return typeof y!="function"&&Qt('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:E=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(E),null):E};function am(a,y,x,b){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&Qt("properties argument must be an Object.");var E=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var tt=y.maxSize;y.maxSize===void 0&&(tt=x==="SVG"?new Yt(1/0,1/0):new Yt(2e3,2e3));var rt=y.position||null,ot=y.parts||null,st=y.padding===void 0?1:y.padding,ut=y.background||null,ft=y.omitTemporary;ft===void 0&&(ft=!0);var vt=y.document||document,xt=y.elementFinished||null,bt=y.showTemporary;bt===void 0&&(bt=!ft),y=y.showGrid,y===void 0&&(y=bt),E!==null&&isNaN(E.width)&&isNaN(E.height)&&(E=null),typeof st=="number"?st=new Si(st):st instanceof Si||Qt("MakeImage padding must be a Margin or a number."),st.left=Math.max(st.left,0),st.right=Math.max(st.right,0),st.top=Math.max(st.top,0),st.bottom=Math.max(st.bottom,0),a.ib.Vc(!0),ft=new Il(null,vt,void 0,!0);var Tt=ft.context;if(!(E||z||ot||rt))return ft.width=a.Aa+Math.ceil(st.left+st.right),ft.height=a.ya+Math.ceil(st.top+st.bottom),x==="SVG"?b===null?null:(b.resize(ft.width,ft.height,ft.width,ft.height),b.ownerDocument=vt,b.hs=xt,ff(a,b.context,st,new Yt(ft.width,ft.height),a.Ca,a.pa,ot,ut,bt,y),b.context):(a.Xm=!1,ff(a,Tt,st,new Yt(ft.width,ft.height),a.Ca,a.pa,ot,ut,bt,y),a.Xm=!0,ft.context);var Xt=a.Pp,Zt=a.documentBounds.copy();if(Zt.Fv(a.yb),bt)for(var qt=a.Wa.s,_t=qt.length,ee=0;ee<_t;ee++){var me=qt[ee];if(me.visible&&me.isTemporary){me=me.Pa.s;for(var Ie=me.length,li=0;liXt?(z=Xt,E=Zt.width,Zt=Zt.height):(E=tt.width,Zt=tt.height)):(E=Zt.width*z,Zt=Zt.height*z):(z=Xt,E=Zt.width,Zt=Zt.height),st!==null?(E+=rt,Zt+=_t):st=new Si(0),tt!==null&&(Xt=tt.width,tt=tt.height,isNaN(Xt)&&(Xt=2e3),isNaN(tt)&&(tt=2e3),isFinite(Xt)&&(E=Math.min(E,Xt)),isFinite(tt)&&(Zt=Math.min(Zt,tt))),ft.width=Math.ceil(E),ft.height=Math.ceil(Zt),x==="SVG"?b===null?null:(b.resize(ft.width,ft.height,ft.width,ft.height),b.ownerDocument=vt,b.hs=xt,ff(a,b.context,st,new Yt(Math.ceil(E),Math.ceil(Zt)),z,qt,ot,ut,bt,y),b.context):(a.Xm=!1,ff(a,Tt,st,new Yt(Math.ceil(E),Math.ceil(Zt)),z,qt,ot,ut,bt,y),a.Xm=!0,ft.context)}ln.Object.defineProperties(Re.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof pt||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new Cu(this,Ye.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new Cu(this,Ye.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(Ye,"resize",this.Ov,!1),this.removeEventListener(Ye,"wheel",this.$j,!0),Tu===this&&(Tu=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Sg(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Gn(a,">= 0",Re,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Gn(a,">= 0",Re,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var b=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===b&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===b&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===b&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",Re,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||nm(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&Qt("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=yg(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var b=this.vb;this.vb=!0,Nu(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=Tg(this.cc.type);for(var E=0;Ethis.scale&&(this.scale=a)):Gn(a,"> 0",Re,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",Re,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),Bl(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Si(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&Qt("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)ep(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==Lh&&a!==Ma&&a!==Cf&&Qt("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new Yt(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new Si(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),ln.Object.defineProperties(Re,{licenseKey:{get:function(){return Gg.jc()},set:function(a){Gg.add(a.replace(/\s/g,""))}},version:{get:function(){return Gd}}}),Re.prototype.makeImageData=Re.prototype.Jx,Re.prototype.makeImage=Re.prototype.Wz,Re.prototype.cacheGroupExternalLinks=Re.prototype.Fu,Re.prototype.addRenderer=Re.prototype.bs,Re.prototype.makeSVG=Re.prototype.av,Re.prototype.makeSvg=Re.prototype.Cs,Re.prototype.stopAutoScroll=Re.prototype.ug,Re.prototype.doAutoScroll=Re.prototype.gs,Re.prototype.isUnoccupied=Re.prototype.Yj,Re.prototype.raiseDiagramEvent=Re.prototype.R,Re.prototype.removeDiagramListener=Re.prototype.am,Re.prototype.addDiagramListener=Re.prototype.Bj,Re.prototype.findTreeRoots=Re.prototype.yz,Re.prototype.layoutDiagram=Re.prototype.Uz,Re.prototype.findTopLevelGroups=Re.prototype.qz,Re.prototype.findTopLevelNodesAndLinks=Re.prototype.rz,Re.prototype.ensureBounds=Re.prototype.Va,Re.prototype.findLinksByExample=Re.prototype.ls,Re.prototype.findNodesByExample=Re.prototype.ms,Re.prototype.findLinkForData=Re.prototype.Kc,Re.prototype.findNodeForData=Re.prototype.ii,Re.prototype.findPartForData=Re.prototype.Lc,Re.prototype.findLinkForKey=Re.prototype.findLinkForKey,Re.prototype.findNodeForKey=Re.prototype.Vb,Re.prototype.findPartForKey=Re.prototype.findPartForKey,Re.prototype.rebuildParts=Re.prototype.Wd,Re.prototype.transformViewToDoc=Re.prototype.Ps,Re.prototype.transformRectDocToView=Re.prototype.zA,Re.prototype.transformDocToView=Re.prototype.op,Re.prototype.centerRect=Re.prototype.es,Re.prototype.scrollToRect=Re.prototype.tv,Re.prototype.scroll=Re.prototype.scroll,Re.prototype.highlightCollection=Re.prototype.Jz,Re.prototype.highlight=Re.prototype.Iz,Re.prototype.selectCollection=Re.prototype.rA,Re.prototype.select=Re.prototype.select,Re.prototype.updateAllRelationshipsFromData=Re.prototype.rp,Re.prototype.updateAllTargetBindings=Re.prototype.updateAllTargetBindings,Re.prototype.commit=Re.prototype.commit,Re.prototype.rollbackTransaction=Re.prototype.Kf,Re.prototype.commitTransaction=Re.prototype.eb,Re.prototype.startTransaction=Re.prototype.Ea,Re.prototype.raiseChanged=Re.prototype.g,Re.prototype.raiseChangedEvent=Re.prototype.cb,Re.prototype.removeChangedListener=Re.prototype.ik,Re.prototype.addChangedListener=Re.prototype.Pe,Re.prototype.removeModelChangedListener=Re.prototype.mA,Re.prototype.addModelChangedListener=Re.prototype.Yw,Re.prototype.findLayer=Re.prototype.Qj,Re.prototype.removeLayer=Re.prototype.kA,Re.prototype.addLayerAfter=Re.prototype.Cy,Re.prototype.addLayerBefore=Re.prototype.Ww,Re.prototype.addLayer=Re.prototype.Al,Re.prototype.moveParts=Re.prototype.moveParts,Re.prototype.copyParts=Re.prototype.Kj,Re.prototype.removeParts=Re.prototype.Is,Re.prototype.remove=Re.prototype.remove,Re.prototype.add=Re.prototype.add,Re.prototype.clearDelayedGeometries=Re.prototype.bx,Re.prototype.setProperties=Re.prototype.nm,Re.prototype.attach=Re.prototype.Du,Re.prototype.set=Re.prototype.set,Re.prototype.resetInputOptions=Re.prototype.Sx,Re.prototype.setInputOption=Re.prototype.sA,Re.prototype.getInputOption=Re.prototype.Ql,Re.prototype.resetRenderingHints=Re.prototype.Tx,Re.prototype.setRenderingHint=Re.prototype.Xx,Re.prototype.getRenderingHint=Re.prototype.Gf,Re.prototype.maybeUpdate=Re.prototype.bd,Re.prototype.requestUpdate=Re.prototype.$b,Re.prototype.delayInitialization=Re.prototype.Xy,Re.prototype.isUpdateRequested=Re.prototype.Pz,Re.prototype.invalidateDocumentBounds=Re.prototype.Ya,Re.prototype.findObjectsNear=Re.prototype.og,Re.prototype.findPartsNear=Re.prototype.mz,Re.prototype.findObjectsIn=Re.prototype.Cf,Re.prototype.findPartsIn=Re.prototype.ux,Re.prototype.findObjectsAt=Re.prototype.ji,Re.prototype.findPartsAt=Re.prototype.lz,Re.prototype.findObjectAt=Re.prototype.ic,Re.prototype.findPartAt=Re.prototype.Ol,Re.prototype.focusObject=Re.prototype.zz,Re.prototype.alignDocument=Re.prototype.Jy,Re.prototype.zoomToRect=Re.prototype.BA,Re.prototype.zoomToFit=Re.prototype.zoomToFit,Re.prototype.diagramScroll=Re.prototype.kx,Re.prototype.focus=Re.prototype.focus;var wf=new Be,sm=null,la=Ye.document!==void 0,Wd=null,od="",ps=new je(Re,"None",0),al=new je(Re,"Uniform",1),ad=new je(Re,"UniformToFill",2),Ac=new je(Re,"CycleAll",10),zg=new je(Re,"CycleNotDirected",11),jg=new je(Re,"CycleNotDirectedFast",12),Hg=new je(Re,"CycleNotUndirected",13),Zg=new je(Re,"CycleDestinationTree",14),Wg=new je(Re,"CycleSourceTree",15),Ch=new je(Re,"DocumentScroll",1),kc=new je(Re,"InfiniteScroll",2),Lh=new je(Re,"TreeParentCollapsed",21),Ma=new je(Re,"AllParentsCollapsed",22),Cf=new je(Re,"AnyParentsCollapsed",23),Gg=new pn,Gd="2.3.10",Vd="image",Ec=null,lm=!1;function ds(){if(la){var a=Ye.document.createElement("canvas"),y=a.getContext("2d"),x=ki("7ca11abfd022028846");y[x]=ki("398c3597c01238");for(var b=["5da73c80a36455d7038e4972187c3cae51fd22",cn.Dx+"4ae6247590da4bb21c324ba3a84e385776",pi.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",ce.za],E=1;5>E;E++)y[ki("7ca11abfd7330390")](ki(b[E-1]),10,15*E);for(y[x]=ki("39f046ebb36e4b"),x=1;5>x;x++)y[ki("7ca11abfd7330390")](ki(b[x-1]),10,15*x);(b.length!==4||b[0][0]!=="5"||b[3][0]!=="7")&&(pi.prototype.Cd=pi.prototype.Eu),Ec=a}}Re.className="Diagram",Re.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=Ye.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof Re?y.H:null},Re.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class `+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},Re.useDOM=function(a){la=a?Ye.document!==void 0:!1},Re.isUsingDOM=function(){return la},Re.None=ps,Re.Uniform=al,Re.UniformToFill=ad,Re.CycleAll=Ac,Re.CycleNotDirected=zg,Re.CycleNotDirectedFast=jg,Re.CycleNotUndirected=Hg,Re.CycleDestinationTree=Zg,Re.CycleSourceTree=Wg,Re.DocumentScroll=Ch,Re.InfiniteScroll=kc,Re.TreeParentCollapsed=Lh,Re.AllParentsCollapsed=Ma,Re.AnyParentsCollapsed=Cf;function um(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function Kd(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)t:{y="f";var x=Ye[ki("76a715b2f73f148a")][ki("72ba13b5")]||"";if(a.Rc=!0,la){var b=Re[ki("76a115b6ed251eaf4692")];if(b)for(var E=Gg.iterator;E.next()&&(b=E.value,b=ki(b).split(ki("39e9")),!(6>b.length));){var z=ki(b[1]).split(".");if(b[4]!=="7da71ca0")break;var tt=ki(cn[ki("6cae19")]).split(".");if(z[0]>tt[0]||z[0]===tt[0]&&z[1]>=tt[1]){var rt=Ye[ki("74a900bae4370f8b51")][ki("6fbb13a1c2311e8a57")].toLowerCase();if(tt=rt[ki("73a612b6fb191d")](ki("3aad1ab6e022098b4dc4")),z=ki(b[2]),-1tt&&z!==ki("7da71ca0ad381e90")&&(tt=y[ki("73a612b6fb191d")](ki("76a715b2ef3e149757"))),0>tt&&(tt=y[ki("73a612b6fb191d")](ki("76a715b2ef3e149757"))),0>tt&&(tt=y[ki("73a612b6fb191d")](ki("2bfa41fdb3784bca12"))),0>tt&&(tt=x[ki("73a612b6fb191d")](ki("7baa19a6f76c1988428554"))),a.Rc=!(0<=tt&&ttrt),!a.Rc)))break;if(z[0]==="#"){tt=Ye.document.createElement("div");for(var ot=b[0].replace(/[A-Za-z]/g,"");4>ot.length;)ot+="9";if(rt=ot,ot=ot.substr(ot.length-4),b="",b+=["gsh","gsf"][parseInt(ot.substr(0,1),10)%2],b+=["Header","Background","Display","Feedback"][parseInt(ot.substr(0,1),10)%4],tt[ki("79a417a0f0181a8946")]=b,Ye.document[ki("78a712aa")]){Ye.document[ki("78a712aa")][ki("7bb806b6ed32388c4a875b")](tt),ot=Ye.getComputedStyle(tt).getPropertyValue(ki("78a704b7e62456904c9b12701b6532a8"));var st=Ye.getComputedStyle(tt).getPropertyValue(ki("75b817b0ea2202"));if(Ye.document[ki("78a712aa")][ki("68ad1bbcf533388c4a875b")](tt),ot){if(tt=Ye[ki("77a902b0eb1b1e804a8a")],st==="0."+parseInt(rt,10)%100||ot.indexOf(parseInt(z[1]+z[2],16))!==-1&&ot.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(tt&&tt(ki("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(b="."+b,z=0;zb.updateDelay?b.N():b.o||(b.o=!0,setTimeout(function(){return b.redraw()},b.updateDelay))},x.Of=function(){b.observed!==null&&zt(b)},x.autoScale=al,x.vb=!1,y&&Object.assign(x,y),x}Ne(pt,Re),pt.prototype.computePixelRatio=function(){return 1},pt.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(jd(this),this.ql===null){var x=new Il(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),At(this)}finally{this.ta=a,this.ib=y}}}Re.prototype.redraw.call(this)},pt.prototype.gc=function(){if(this.Ka===null&&Qt("No div specified"),this.ta===null&&Qt("No canvas specified"),!(this.ta instanceof Cu)&&(Ov(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){jd(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?At(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,b=0;ba&&(a=0),this.ia!==a&&(this.ia=a)}}}),pt.className="Overview";function Ut(){Go.call(this),this.j=null}Ne(Ut,Go),Ut.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},Kt.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==ps?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},Kt.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===ps&&(a=y.scale*a,ay.maxScale||(y.scale=a))},Kt.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==ps?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},Kt.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},Kt.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},Kt.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,b=a.scale;Nu(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&b===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=cr):(this.Jt=b,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),sf(y)},Kt.prototype.canZoomToFit=function(){return this.diagram.allowZoom},Kt.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(ot){this.cg=null}a===null&&(0a&&(a+=360)),a},Ct.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Ct.qs=function(a,y){return y===void 0&&(y=new Ot),y.assign(a),this.oe.Cd(y),y},Ct.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Ct.Sj=function(a,y,x,b,E){var z=this.transform,tt=1/(z.m11*z.m22-z.m12*z.m21),rt=z.m22*tt,ot=-z.m12*tt,st=-z.m21*tt,ut=z.m11*tt,ft=tt*(z.m21*z.dy-z.m22*z.dx),vt=tt*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,ce.Ff(z.left,z.top,z.right,z.bottom,a,y,x,b,E)):(tt=a*rt+y*st+ft,a=a*ot+y*ut+vt,y=x*rt+b*st+ft,x=x*ot+b*ut+vt,E.h(0,0),b=this.naturalBounds,x=ce.Ff(0,0,b.width,b.height,tt,a,y,x,E),E.transform(z),x)},ye.prototype.measure=function(a,y,x,b){if(ll(this)!==!1){var E=this.Kg,z=E.right+E.left;E=E.top+E.bottom,a=Math.max(a-z,0),y=Math.max(y-E,0),x=Math.max((x||0)-z,0),b=Math.max((b||0)-E,0),z=this.angle,E=this.desiredSize;var tt=this.kq();z===90||z===270?(a=isFinite(E.height)?E.height+tt:a,y=isFinite(E.width)?E.width+tt:y):(a=isFinite(E.width)?E.width+tt:a,y=isFinite(E.height)?E.height+tt:y),E=x||0,tt=b||0;var rt=this instanceof Nn;switch(Os(this,!0)){case wn:tt=E=0,rt&&(y=a=1/0);break;case kn:isFinite(a)&&a>x&&(E=a),isFinite(y)&&y>b&&(tt=y);break;case Ki:isFinite(a)&&a>x&&(E=a),tt=0,rt&&(y=1/0);break;case ar:isFinite(y)&&y>b&&(tt=y),E=0,rt&&(a=1/0)}rt=this.maxSize;var ot=this.minSize;E>rt.width&&ot.widthrt.height&&ot.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||Qt("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),Ou(this,!1),he.free(z)},Ct=ye.prototype,Ct.eh=function(){};function ms(a,y,x,b,E){if(a.Ib.h(y,x,b,E),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var tt=x.top+x.bottom;switch(x=z.width+y,z=z.height+tt,b+=y,E+=tt,y=Os(a,!0),x===b&&z===E&&(y=wn),y){case wn:(x>b||z>E)&&(Aa(a,!0),a.measure(x>b?b:x,z>E?E:z,0,0));break;case kn:Aa(a,!0),a.measure(b,E,0,0);break;case Ki:Aa(a,!0),a.measure(b,z,0,0);break;case ar:Aa(a,!0),a.measure(x,E,0,0)}}}Ct.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||zv(x,!0),this.N(),Tn(a,y)||(x.oh(),this.Pn(x)))},Ct.Pn=function(a){this.portId!==null&&(zv(a,!0),a instanceof gi&&G1(a,this))},Ct.gc=function(a,y){if(!xl(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var b=1;x!==1&&(b=a.globalAlpha,a.globalAlpha=b*x);var E="";this.filter!==""&&(E=a.filter,a.filter=this.filter);var z=this instanceof Nn&&Ah(this),tt=this.Ib;if(z){var rt=this.Ib,ot=this.dc,st=this.areaBackground,ut=this.Ma;st===null&&ut===null||a.yc(),st!==null&&(ha(this,a,st,!0,!0,ot,rt),st instanceof po&&st.type===Cl?(a.beginPath(),a.rect(rt.x,rt.y,rt.width,rt.height),a.ng(st)):a.fillRect(rt.x,rt.y,rt.width,rt.height)),ut!==null&&(ha(this,a,ut,!0,!1,ot,rt),ut instanceof po&&ut.type===Cl?(a.beginPath(),a.rect(rt.x,rt.y,rt.width,rt.height),a.ng(ut)):a.fillRect(rt.x,rt.y,rt.width,rt.height)),this.hh(a,y)}if(!z&&(z||tt.width!==0&&tt.height!==0&&!isNaN(tt.x)&&!isNaN(tt.y))){z=this.transform,rt=this.panel,this.l&4096&&Qa(this),st=this.part,ot=!1;var ft=0;st&&y.Gf("drawShadows")&&(ot=st.isShadowed)&&(ut=st.shadowOffset,ft=Math.max(ut.y,ut.x)*y.scale*y.Mb),ut=this.Dd();var vt;if(!(vt=y.$i||!ut)){var xt=this.naturalBounds;vt=this.wh;var bt=vt.m11,Tt=vt.m21,Xt=vt.dx,Zt=vt.m12,qt=vt.m22,_t=vt.dy,ee,me=ee=0;vt=ee*bt+me*Tt+Xt;var Ie=ee*Zt+me*qt+_t;ee=xt.width+ft,me=0;var li=ee*bt+me*Tt+Xt;ee=ee*Zt+me*qt+_t,me=Math.min(vt,li);var Di=Math.min(Ie,ee),wi=Math.max(vt+0,li)-me,In=Math.max(Ie+0,ee)-Di;vt=me,Ie=Di,ee=xt.width+ft,me=xt.height+ft,li=ee*bt+me*Tt+Xt,ee=ee*Zt+me*qt+_t,me=Math.min(vt,li),Di=Math.min(Ie,ee),wi=Math.max(vt+wi,li)-me,In=Math.max(Ie+In,ee)-Di,vt=me,Ie=Di,ee=0,me=xt.height+ft,li=ee*bt+me*Tt+Xt,ee=ee*Zt+me*qt+_t,me=Math.min(vt,li),Di=Math.min(Ie,ee),wi=Math.max(vt+wi,li)-me,In=Math.max(Ie+In,ee)-Di,vt=me,Ie=Di,ft=y.viewportBounds,xt=ft.x,bt=ft.y,vt=!(vt>ft.width+xt||xt>wi+vt||Ie>ft.height+bt||bt>In+Ie)}if(vt){if(vt=(this.l&256)!==0,a.clipInsteadOfFill&&(vt=!1),this instanceof Oo&&(a.font=this.font),vt){if(Ie=rt.se()?rt.naturalBounds:rt.actualBounds,wi=Math.max(tt.x,Ie.x),In=Math.max(tt.y,Ie.y),ft=Math.min(tt.right,Ie.right)-wi,xt=Math.min(tt.bottom,Ie.bottom)-In,bt=this.tb,bt!==null&&(wi=bt.x,In=bt.y,ft=bt.width,xt=bt.height),wi>tt.width+tt.x||tt.x>Ie.width+Ie.x){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}a.save(),a.beginPath(),a.rect(wi,In,ft,xt),a.clip()}if(ut){if(!st.isVisible()){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}ot&&(Ie=st.shadowOffset,a.Ev(Ie.x*y.scale*this.scale*y.Mb,Ie.y*y.scale*this.scale*y.Mb,st.shadowBlur),eh(a),a.shadowColor=st.shadowColor)}ot&&this.shadowVisible===!0?eh(a):ot&&this.shadowVisible===!1&&Iu(a),st=this.naturalBounds,this.areaBackground!==null&&(a.yc(),sl(this,a,st,tt)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),ot&&Ya(this,rt)&&this.shadowVisible===null&&Iu(a),this.Ma!==null&&(a.yc(),Vs(this,a,st,tt)),ot&&(this.Ma!==null||this.areaBackground!==null||Ya(this,rt))?(Ul(this,!0),this.shadowVisible===null&&Iu(a)):Ul(this,!1),this.hh(a,y),ot&&this.l&512&&eh(a),ut&&ot&&Iu(a),vt&&(a.restore(),a.Vc(this instanceof Nn)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E)}}};function Ya(a,y){return y===null?!1:(Ah(y)&&(y=y.panel),(y.l&512)!==0||(y.type===Nn.Auto||y.type===Nn.Spot)&&y.Pb()!==a)}Ct.Dv=function(){};function sl(a,y,x,b){ha(a,y,a.areaBackground,!0,!0,x,b),a.areaBackground instanceof po&&a.areaBackground.type===Cl?(y.beginPath(),y.rect(b.x,b.y,b.width,b.height),y.ng(a.areaBackground)):y.fillRect(b.x,b.y,b.width,b.height)}function Vs(a,y,x,b){var E=a.kq(),z=x.x,tt=x.y,rt=x.width+E,ot=x.height+E;ha(a,y,a.Ma,!0,!1,x,b),a.Ma instanceof po&&a.Ma.type===Cl?(y.beginPath(),y.rect(z-E/2,tt-E/2,rt,ot),y.ng(a.Ma)):y.fillRect(z-E/2,tt-E/2,rt,ot)}function cs(a,y,x){for(var b=y.O.s,E=b.length,z=-1,tt=0;ttE)&&Qt("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+E),a.isRow=!0,a.index=E):y.column!==void 0&&(E=y.column,(E==null||E===1/0||isNaN(E)||0>E)&&Qt("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+E),a.isRow=!1,a.index=E),E=new Wi;for(x in y)x!=="row"&&x!=="column"&&(E[x]=y[x]);zd(a,E)}else zd(a,y);else Qt('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function bh(a,y){Lf.add(a,y)}function hm(a,y,x){x===void 0&&(x=null);var b=a[1];if(typeof x=="function"?x(b):typeof b=="string")return a.splice(1,1),b;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}ln.Object.defineProperties(ye.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new Tc),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(Br(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(Br(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Ms},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new sd),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Ms&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new sd),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&Qt("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,Yy(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,b=this.jd,E=b.width,z=b.height;(E===y||isNaN(E)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof Er&&this.qc(),this.g("desiredSize",b,a),es(this)&&(a=this.part,a!==null&&(Ko(this,a,"width"),Ko(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new Yt(a,this.jd.height).freeze(),this.v(),this instanceof Er&&this.qc(),this.g("desiredSize",y,a),es(this)&&(a=this.part,a!==null&&Ko(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new Yt(this.jd.width,a).freeze(),this.v(),this instanceof Er&&this.qc(),this.g("desiredSize",y,a),es(this)&&(a=this.part,a!==null&&Ko(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:ve},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),Br(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:On},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),Br(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new Si(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&Qa(this),this.Ab}},oe:{get:function(){return this.l&4096&&Qa(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(Br(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:wn},set:function(a){this.reshapingBehavior!==a&&(Br(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&Qt("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),ws(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Gn(a,">= 0",ye,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Gn(a,">= 1",ye,"columnSpan"),Br(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Gn(a,">= 0",ye,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Gn(a,">= 1",ye,"rowSpan"),Br(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(Br(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof gi||Qt("Cannot set portID on a Link: "+a),y!==null&&x!==null&&Wv(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,X1(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Ii},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),Xd(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Gn(a,">= 0",ye,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),Xd(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),Xd(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Gn(a,">= 0",ye,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:Ii},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),Xd(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Gn(a,">= 0",ye,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),Xd(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),Xd(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Gn(a,">= 0",ye,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(Br(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(Br(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(Br(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(Br(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(Br(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(Br(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(Br(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(Br(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(Br(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(Br(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(Br(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(Br(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(Br(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(Br(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(Br(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(Br(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(Br(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(Br(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),ye.prototype.trigger=ye.prototype.Jv,ye.prototype.findBindingPanel=ye.prototype.ih,ye.prototype.findTemplateBinder=ye.prototype.pz,ye.prototype.setProperties=ye.prototype.nm,ye.prototype.apply=ye.prototype.apply,ye.prototype.attach=ye.prototype.Du,ye.prototype.set=ye.prototype.set,ye.prototype.isEnabledObject=ye.prototype.If,ye.prototype.isVisibleObject=ye.prototype.Ed,ye.prototype.isContainedBy=ye.prototype.rg,ye.prototype.getNearestIntersectionPoint=ye.prototype.rs,ye.prototype.getLocalPoint=ye.prototype.qs,ye.prototype.getDocumentScale=ye.prototype.Df,ye.prototype.getDocumentAngle=ye.prototype.li,ye.prototype.getDocumentBounds=ye.prototype.mi,ye.prototype.getDocumentPoint=ye.prototype.ga,ye.prototype.intersectsRect=ye.prototype.Yc,ye.prototype.containedInRect=ye.prototype.fh,ye.prototype.containsRect=ye.prototype.Re,ye.prototype.containsPoint=ye.prototype.ca,ye.prototype.raiseChanged=ye.prototype.g,ye.prototype.raiseChangedEvent=ye.prototype.cb,ye.prototype.addCopyProperty=ye.prototype.Vw;var Lf=null;ye.className="GraphObject",Lf=new Be,bh("Button",function(){function a(x,b){return x.diagram.ic(x.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E},function(E){return E===b})!==null}var y=wl(Nn,Nn.Auto,{isActionable:!0,enabledChanged:function(x,b){if(x instanceof Nn){var E=x.fb("ButtonBorder");E!==null&&(E.fill=b?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},wl(Er,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new Fn(0,0,2.76142374915397,2.761423749153969),spot2:new Fn(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,b){if(b.If()&&b instanceof Nn&&(x=b.fb("ButtonBorder"),x instanceof Er)){var E=b._buttonFillOver;b._buttonFillNormal=x.fill,x.fill=E,E=b._buttonStrokeOver,b._buttonStrokeNormal=x.stroke,x.stroke=E}},y.mouseLeave=function(x,b){b.If()&&b instanceof Nn&&(x=b.fb("ButtonBorder"),x instanceof Er&&(x.fill=b._buttonFillNormal,x.stroke=b._buttonStrokeNormal))},y.actionDown=function(x,b){if(b.If()&&b instanceof Nn&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof Er){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var tt=b._buttonFillPressed;b._buttonFillOver=E.fill,E.fill=tt,tt=b._buttonStrokePressed,b._buttonStrokeOver=E.stroke,E.stroke=tt,x.skipsUndoManager=z}}},y.actionUp=function(x,b){if(b.If()&&b instanceof Nn&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof Er){var z=x.diagram,tt=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=tt}}},y.actionCancel=function(x,b){if(b.If()&&b instanceof Nn&&b._buttonFillPressed!==null){var E=b.fb("ButtonBorder");if(E instanceof Er){var z=x.diagram,tt=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=tt}}},y.actionMove=function(x,b){if(b.If()&&b instanceof Nn&&b._buttonFillPressed!==null){var E=x.diagram;if(E.firstInput.button===0&&(E.currentTool.standardMouseOver(),a(x,b)&&(x=b.fb("ButtonBorder"),x instanceof Er))){var z=E.skipsUndoManager;E.skipsUndoManager=!0;var tt=b._buttonFillPressed;x.fill!==tt&&(x.fill=tt),tt=b._buttonStrokePressed,x.stroke!==tt&&(x.stroke=tt),E.skipsUndoManager=z}}},y}),bh("TreeExpanderButton",function(){var a=wl("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},wl(Er,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:qe},new Sa("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Sa("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof ro&&(x=x.adornedPart),x instanceof gi){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isTreeExpanded){if(!b.canCollapseTree(x))return}else if(!b.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?b.collapseTree(x):b.expandTree(x)}}},a}),bh("SubGraphExpanderButton",function(){var a=wl("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},wl(Er,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:qe},new Sa("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof ro&&(x=x.adornedPart),x instanceof br){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isSubGraphExpanded){if(!b.canCollapseSubGraph(x))return}else if(!b.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?b.collapseSubGraph(x):b.expandSubGraph(x)}}},a}),bh("ToolTip",function(){return wl(ro,Nn.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ot(0,3),shadowBlur:5},wl(Er,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new Fn(0,0,4,6),spot2:new Fn(1,1,-4,-4)}))}),bh("ContextMenu",function(){return wl(ro,Nn.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ot(0,3),shadowBlur:5},new Sa("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),bh("ContextMenuButton",function(){var a=wl("Button");a.stretch=Ki;var y=a.fb("ButtonBorder");return y instanceof Er&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new Fn(0,0,2,3),y.spot2=new Fn(1,1,-2,-2)),a}),bh("PanelExpanderButton",function(a){var y=hm(a,"COLLAPSIBLE"),x=wl("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},wl(Er,{name:"ButtonIcon",strokeWidth:2},new Sa("geometryString","visible",function(b){return b?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof Er&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(b,E){var z=E.diagram;if(z!==null&&!z.isReadOnly){var tt=E.ih();tt===null&&(tt=E.part),tt!==null&&(E=tt.fb(y),E!==null&&(b.handled=!0,z.Ea("Collapse/Expand Panel"),E.visible=!E.visible,z.eb("Collapse/Expand Panel")))}},x}),bh("CheckBoxButton",function(a){var y=hm(a);return a=wl("Button",{desiredSize:new Yt(14,14)},wl(Er,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:kn,geometryStretch:zi,visible:!1},y!==""?new Sa("visible",y).Kx():[])),a.click=function(x,b){if(b instanceof Nn){var E=x.diagram;if(!(E===null||E.isReadOnly||y!==""&&E.model.isReadOnly)){x.handled=!0;var z=b.fb("ButtonIcon");E.Ea("checkbox"),z.visible=!z.visible,typeof b._doClick=="function"&&b._doClick(x,b),E.eb("checkbox")}}},a}),bh("CheckBox",function(a){a=hm(a),a=wl("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new Si(0,1,0,0)});var y=wl(Nn,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new Si(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),ye.None=wn=new je(ye,"None",0),ye.Default=Mr=new je(ye,"Default",0),ye.Vertical=ar=new je(ye,"Vertical",4),ye.Horizontal=Ki=new je(ye,"Horizontal",5),ye.Fill=kn=new je(ye,"Fill",3),ye.Uniform=zi=new je(ye,"Uniform",1),ye.UniformToFill=Jr=new je(ye,"UniformToFill",2),ye.FlipVertical=Rr=new je(ye,"FlipVertical",1),ye.FlipHorizontal=eo=new je(ye,"FlipHorizontal",2),ye.FlipBoth=Lo=new je(ye,"FlipBoth",3),ye.make=wl,ye.getBuilders=function(){var a=new Be,y;for(y in Lf)if(y!==y.toLowerCase()){var x=Lf.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},ye.defineBuilder=bh,ye.build=function(a,y,x){for(var b=[],E=2;Ea&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.ha[1]*a+this.ha[3]*b,z=this.ha[0]*-b+this.ha[2]*a,tt=this.ha[1]*-b+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*b,this.ha[1]=E,this.ha[2]=z,this.ha[3]=tt,this.translate(-y,-x)}},Yd.className="STransform";function Dc(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}Dc.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},Dc.className="SGradient";function Cu(a,y,x){this.ownerDocument=a=y===void 0?Ye.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new _s(this,x)}Cu.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",b+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+b),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",b+"px"),!0):!1},Cu.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),Xe(y))for(var b in y)a.setAttributeNS(b==="href"?"http://www.w3.org/1999/xlink":"",b,y[b]);return x!==void 0&&(a.textContent=x),a},Cu.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},Cu.prototype.focus=function(){this.Oa.focus()},Cu.prototype.mx=function(){this.ownerDocument=null},ln.Object.defineProperties(Cu.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),Cu.className="SVGSurface";function _s(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new Yd,this.j=dm(this),this.Nj=dm(this,"gojs-diagram"),this.Hl=this.ti=null;var x=ho++,b=this.Ud("clipPath",{id:"mainClip"+x});b.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=b,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(b),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function Uy(a,y,x,b,E,z,tt){a.Nj===void 0?Kg(a,y,x,b,E,z,tt):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+b+", "+E+", "+z+", "+tt+")")}Ct=_s.prototype,Ct.arc=function(a,y,x,b,E,z,tt,rt){var ot=2*Math.PI,st=ot-1e-6,ut=x*Math.cos(b),ft=x*Math.sin(b),vt=a+ut,xt=y+ft,bt=z?0:1;b=z?b-E:E-b,(1e-6b&&(b=b%ot+ot),b>st?(this.path.push(["A",x,x,0,1,bt,a-ut,y-ft]),this.path.push(["A",x,x,0,1,bt,vt,xt])):1e-6=Math.PI),bt,a+x*Math.cos(E),y+x*Math.sin(E)])},Ct.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Ct.Se=function(a){this.addPath(this.path,this.rb,a||0)},Ct.bezierCurveTo=function(a,y,x,b,E,z){this.path.push(["C",a,y,x,b,E,z])},Ct.clearRect=function(){},Ct.clip=function(){this.Yl.clipPath=!0},Ct.closePath=function(){this.path.push(["z"])},Ct.createLinearGradient=function(a,y,x,b){var E=new Dc("linear");return E.x1=a,E.y1=y,E.x2=x,E.y2=b,E},Ct.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var b="PATTERN"+ho++,E={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:b,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Vd,E)),this.svg.appendChild(a),x[y]=b,"url(#"+b+")"},Ct.createRadialGradient=function(a,y,x,b,E,z){var tt=new Dc("radial");return tt.x1=a,tt.y1=y,tt.r1=x,tt.x2=b,tt.y2=E,tt.r2=z,tt};function Jy(a,y,x,b,E,z,tt,rt,ot){b=rt/b,E=ot/E,z===0&&tt===0||a.rb.translate(z,tt),b===1&&E===1||a.rb.scale(b,E),y===0&&x===0||a.rb.translate(-y,-x)}Ct.drawImage=function(a,y,x,b,E,z,tt,rt,ot){var st="";a instanceof HTMLCanvasElement&&(st=a.toDataURL()),a instanceof HTMLImageElement&&(st=a.getAttribute("src"));var ut=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,b===void 0&&(z=y,tt=x,rt=b=ut,ot=E=a),b=b||0,E=E||0,rt=rt||0,ot=ot||0,Jy(this,y,x,b,E,z||0,tt||0,rt,ot),z={x:0,y:0,width:ut||b,height:a||E,href:st},ce.$(b,rt)&&ce.$(E,ot)?st.toLowerCase().indexOf(".svg")===-1&&st.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||b!==ut||E!==a)&&(b+=y,E+=x,z["clip-path"]="path('M "+y+","+x+" L "+b+" "+x+" L "+b+" "+E+" L "+y+" "+E+" z')"),bf(this,Vd,z,this.rb),this.addElement(Vd,z)},Ct.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),iv(this,this.Yl)},Ct.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Ct.fillRect=function(a,y,x,b){a=[a,y,x,b],a={x:a[0],y:a[1],width:a[2],height:a[3]},bf(this,"fill",a,this.rb),this.addElement("rect",a)},Ct.ox=function(a,y,x,b){a={x:a,y,width:x,height:b},bf(this,"fill",a,this.rb),iv(this,a),this.svg.prepend(this.Ud("rect",a))},Ct.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},bf(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Ct.lineTo=function(a,y){this.path.push(["L",a,y])},Ct.moveTo=function(a,y){this.path.push(["M",a,y])},Ct.quadraticCurveTo=function(a,y,x,b){this.path.push(["Q",a,y,x,b])},Ct.rect=function(a,y,x,b){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+b],["L",a,y+b],["z"])},Ct.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Ct.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yut.offset?1:-1}),E=0;Ex?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Ct.jk=function(){this.Hm||this.stroke()},Ct.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Ct.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Ct.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(mx),a.lineDashOffset=0)},Ct.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Ct.Hs=function(){},ln.Object.defineProperties(Ud.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var mx=Object.freeze([]);Ud.className="CanvasSurfaceContext";function Xg(){this.F=this.o=this.u=this.j=0}Xg.className="ColorNumbers";function po(a,y){Ef||(hv(),Ef=!0),rr(this),this._isFrozen=!1,a===void 0?(this.na=Mh,this.xk="black"):typeof a=="string"?(this.na=Mh,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===ih?(this.Qd=or,this.Lk=Yr):this.Lk=a===Cl?this.Qd=xi:this.Qd=Ii,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}po.prototype.copy=function(){var a=new po;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Ct=po.prototype,Ct.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Ct.ka=function(){return Object.isFrozen(this)&&Qt("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Ct.qb=function(a){a.classType===po&&(this.type=a)},Ct.toString=function(){var a="Brush(";if(this.type===Mh)a+=this.color;else if(a=this.type===ih?a+"Linear ":this.type===Cl?a+"Radial ":this.type===Ff?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Ct.addColorStop=function(a,y){return this._isFrozen&&Me(this),(typeof a!="number"||!isFinite(a)||1a)&&Gn(a,"0 <= loc <= 1",po,"addColorStop:loc"),this.we===null&&(this.we=new Be),this.we.add(a,y),this.na===Mh&&(this.type=ih),this.xe=null,this},Ct.Vz=function(a,y){if(this._isFrozen&&Me(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Nf:y,this.type===Mh)nh(this.color),this.color=Af(a,y);else if((this.type===ih||this.type===Cl)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)nh(x.value),this.addColorStop(x.key,Af(a,y));return this};function $y(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Nf:x,nh(a),Af(y,x)}Ct.Wy=function(a,y){if(this._isFrozen&&Me(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Nf:y,this.type===Mh)nh(this.color),this.color=Af(-a,y);else if((this.type===ih||this.type===Cl)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)nh(x.value),this.addColorStop(x.key,Af(-a,y));return this};function t1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Nf:x,nh(a),Af(-y,x)}function ov(a,y,x){nh(a),a=zo.j;var b=zo.u,E=zo.o,z=zo.F;return nh(y),x===void 0&&(x=.5),"rgba("+Math.round((zo.j-a)*x+a)+", "+Math.round((zo.u-b)*x+b)+", "+Math.round((zo.o-E)*x+E)+", "+Math.round((zo.F-z)*x+z)+")"}Ct.Gx=function(){if(this.type===Mh)return Mf(this.color);if((this.type===ih||this.type===Cl)&&this.colorStops!==null){var a=this.colorStops;if(this.type===Cl)return Mf(a.first().value);if(a.get(.5)!==null)return Mf(a.get(.5));if(a.count===2)return a=a.Fa(),Mf(ov(a[0].value,a[1].value));for(var y=a.iterator,x=-1,b=-1,E=1,z=1;y.next();){var tt=y.key,rt=Math.abs(.5-y.key);E>z&&rt=E&&rtb&&(z=x,x=b,b=z,z=E),E=b-x,Mf(ov(a.get(x),a.get(b),1-z/E))}return!1};function Mf(a){return a?a instanceof po?a.Gx():(nh(a),128>(299*zo.j+587*zo.u+114*zo.o)/1e3):!1}function Af(a,y){switch(y){case Nf:y=100*sv(zo.j);var x=100*sv(zo.u),b=100*sv(zo.o);return Ls.j=.4124564*y+.3575761*x+.1804375*b,Ls.u=.2126729*y+.7151522*x+.072175*b,Ls.o=.0193339*y+.119192*x+.9503041*b,Ls.F=zo.F,y=uv(Ls.j/kf[0]),x=uv(Ls.u/kf[1]),b=uv(Ls.o/kf[2]),Ru.j=116*x-16,Ru.u=500*(y-x),Ru.o=200*(x-b),Ru.F=Ls.F,Ru.j=Math.min(100,Math.max(0,Ru.j+100*a)),a=(Ru.j+16)/116,y=a-Ru.o/200,Ls.j=kf[0]*e1(Ru.u/500+a),Ls.u=kf[1]*(Ru.j>fm*dv?Math.pow(a,3):Ru.j/fm),Ls.o=kf[2]*e1(y),Ls.F=Ru.F,a=-.969266*Ls.j+1.8760108*Ls.u+.041556*Ls.o,y=.0556434*Ls.j+-.2040259*Ls.u+1.0572252*Ls.o,zo.j=255*lv((3.2404542*Ls.j+-1.5371385*Ls.u+-.4985314*Ls.o)/100),zo.u=255*lv(a/100),zo.o=255*lv(y/100),zo.F=Ls.F,zo.j=Math.round(zo.j),255zo.j&&(zo.j=0),zo.u=Math.round(zo.u),255zo.u&&(zo.u=0),zo.o=Math.round(zo.o),255zo.o&&(zo.o=0),"rgba("+zo.j+", "+zo.u+", "+zo.o+", "+zo.F+")";case n1:return av(),ul.o=Math.min(100,Math.max(0,ul.o+100*a)),"hsla("+ul.j+", "+ul.u+"%, "+ul.o+"%, "+ul.F+")";default:Qt("Unknown color space: "+y)}}function nh(a){Ef||(hv(),Ef=!0);var y=cv;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,zo.j=a[0],zo.u=a[1],zo.o=a[2],zo.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,zo.j=0,zo.u=0,zo.o=0,zo.F=1)}}function av(){var a=zo.j/255,y=zo.u/255,x=zo.o/255,b=Math.max(a,y,x),E=Math.min(a,y,x),z=b-E;if(E=(b+E)/2,z===0)var tt=a=0;else{switch(b){case a:tt=(y-x)/z%6;break;case y:tt=(x-a)/z+2;break;case x:tt=(a-y)/z+4}tt*=60,0>tt&&(tt+=360),a=z/(1-Math.abs(2*E-1))}ul.j=Math.round(tt),ul.u=Math.round(100*a),ul.o=Math.round(100*E),ul.F=zo.F}function sv(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function lv(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function uv(a){return a>dv?Math.pow(a,1/3):(fm*a+16)/116}function e1(a){var y=a*a*a;return y>dv?y:(116*a-16)/fm}function Bc(a,y){typeof a!="string"&&(a instanceof po||Qt("Value for "+y+" must be a color string or a Brush, not "+a))}function hv(){cv=la?new Il(null,void 0,{willReadFrequently:!0}).context:null}ln.Object.defineProperties(po.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&Me(this,a),this.na=a,this.start.Mc()&&(a===ih?this.start=or:a===Cl&&(this.start=xi)),this.end.Mc()&&(a===ih?this.end=Yr:a===Cl&&(this.end=xi)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&Me(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&Me(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&Me(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&Me(this,a),0>a&&Gn(a,">= zero",po,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&Me(this,a),0>a&&Gn(a,">= zero",po,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&Me(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&Me(this,a),this.cr=a,this.xe=null}}}),po.prototype.isDark=po.prototype.Gx,po.prototype.darkenBy=po.prototype.Wy,po.prototype.lightenBy=po.prototype.Vz,po.prototype.addColorStop=po.prototype.addColorStop;var dv=216/24389,fm=24389/27,kf=[95.047,100,108.883],cv=null,zo=new Xg,ul=new Xg,Ls=new Xg,Ru=new Xg,Ef=!1;po.className="Brush";var Mh;po.Solid=Mh=new je(po,"Solid",0);var ih;po.Linear=ih=new je(po,"Linear",1);var Cl;po.Radial=Cl=new je(po,"Radial",2);var Ff;po.Pattern=Ff=new je(po,"Pattern",4);var Nf;po.Lab=Nf=new je(po,"Lab",5);var n1;po.HSL=n1=new je(po,"HSL",6),po.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var b=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>b.length&&(b="0"+b),2>a.length&&(a="0"+a),"#"+y+b+a},po.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;Ef||(hv(),Ef=!0);var y=cv;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},po.lighten=function(a){return $y(a)},po.lightenBy=$y,po.darken=function(a){return t1(a)},po.darkenBy=t1,po.mix=ov,po.isDark=Mf;function Fa(){this.xa="Base"}Fa.prototype.measure=function(){},Fa.prototype.Yz=function(a,y,x,b,E){a.measure(y,x,b,E)},Fa.prototype.arrange=function(){},Fa.prototype.Ly=function(a,y,x,b,E,z){a.arrange(y,x,b,E,z)},Fa.prototype.iA=function(a){a.Uj()},Fa.prototype.gc=function(){},ln.Object.defineProperties(Fa.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return Nn}}}),Fa.prototype.remeasureObject=Fa.prototype.iA,Fa.prototype.arrangeElement=Fa.prototype.Ly,Fa.prototype.measureElement=Fa.prototype.Yz,Fa.className="PanelLayout";function gm(){this.xa="Base"}Ne(gm,Fa),gm.prototype.measure=function(a,y,x,b,E,z,tt){var rt=b.length;a=rh(a);for(var ot=0;otDi&&(Ia=Math.max(Di-wd,0));var W0=yn.oa===0;yn.oc=yn.oc+Ia,yn.actual=yn.oa+Ia,Di=Math.max(Di-(Ia+(W0?wd:0)),0)}if(Xs.columnSpan===1&&(Ss===wn||Ss===ar)){yn=a.Eb(ys);var Bp=yn.Wc();Ia=Math.max(ic-yn.actual,0),Ia+Bp>li&&(Ia=Math.max(li-Bp,0));var Hy=yn.oa===0;yn.oc=yn.oc+Ia,yn.actual=yn.oa+Ia,li=Math.max(li-(Ia+(Hy?Bp:0)),0)}Pd&&Xs.Uj()}}}}}Jn(qt);var Xu=0,sh=0;z=a.columnCount;for(var Yc=0;Yc=a.rowCount);Zh++)yn=a.Fb(fa.row+Zh),Ia=0,Ia=Ss===kn||Ss===ar?Math.max(yn.minimum,fu[fa.row+Zh]===0?yn.maximum:Math.min(fu[fa.row+Zh],yn.maximum)):Math.max(yn.minimum,isNaN(yn.Hc)?yn.maximum:Math.min(yn.Hc,yn.maximum)),hh.height+=Ia,rl+=yn.minimum;for(var Wl=1;Wl=a.columnCount);Wl++)yn=a.Eb(fa.column+Wl),Ia=0,Ia=Ss===kn||Ss===Ki?Math.max(yn.minimum,kl[fa.column+Wl]===0?yn.maximum:Math.min(kl[fa.column+Wl],yn.maximum)):Math.max(yn.minimum,isNaN(yn.Hc)?yn.maximum:Math.min(yn.Hc,yn.maximum)),hh.width+=Ia,X0+=yn.minimum;_a.width+=hh.width,_a.height+=hh.height;var sg=fa.margin,Ad=sg.right+sg.left,Ip=sg.top+sg.bottom;fa.measure(_a.width,_a.height,X0,rl);for(var lg=fa.measuredBounds,Eu=Math.max(lg.width+Ad,0),sc=Math.max(lg.height+Ip,0),kd=0,ug=0;ug=a.rowCount);ug++)yn=a.Fb(fa.row+ug),kd+=yn.total||0;if(kd=Wh)&&!(fa.row+dh>=a.rowCount);dh++){yn=a.Fb(fa.row+dh);var Vh=yn.oa||0,lc=Gh(fa,yn,Uu);yn.actual=Math.min(yn.maximum,Vh+lc),yn.oa!==Vh&&(Wh-=yn.oa-Vh)}for(;0gu&&(yn.actual=Math.min(yn.maximum,gu+Wh),yn.oa!==gu&&(Wh-=yn.oa-gu)),yn.index===0)break;yn=a.Fb(yn.index-1)}}for(var Qc=0,Kh=0;Kh=a.columnCount);Kh++)yn=a.Eb(fa.column+Kh),Qc+=yn.total||0;if(Qc=qc)&&!(fa.column+uc>=a.columnCount);uc++){yn=a.Eb(fa.column+uc);var Rp=yn.oa||0,Gy=ch(fa,yn,Wy);yn.actual=Math.min(yn.maximum,Rp+Gy),yn.oa!==Rp&&(qc-=yn.oa-Rp)}for(;0Y0&&(yn.actual=Math.min(yn.maximum,Y0+qc),yn.oa!==Y0&&(qc-=yn.oa-Y0)),yn.index===0)break;yn=a.Eb(yn.index-1)}}}}Jn(_t),Yt.free(hh),Yt.free(_a),fu!==void 0&&Jn(fu),kl!==void 0&&Jn(kl);var _c=0,$c=0,U0=a.desiredSize,gx=a.maxSize;Ss=Os(a,!0);var zp=sh=Xu=0,jp=0;z=a.columnCount;for(var J0=0;J0=a.rowCount);yn++){var Cr=a.Fb(qt+yn);Cr.oa!==0&&(Zt.height+=Cr.total)}for(yn=1;yn=a.columnCount);yn++)Cr=a.Eb(ee+yn),Cr.oa!==0&&(Zt.width+=Cr.total);var gr=me.oa+Zt.width,ao=_t.oa+Zt.height;yn=rt,Cr=ot;var Bo=gr,Oa=ao,Wa=rt,vs=ot,Ia=gr,Rh=ao;rt+gr>x.width&&(Ia=Math.max(x.width-rt,0)),ot+ao>x.height&&(Rh=Math.max(x.height-ot,0));var xa=wi.alignment;if(xa.Xb()){xa=a.defaultAlignment,xa.sb()||(xa=xi);var hu=xa.x,ys=xa.y,zh=xa.offsetX;xa=xa.offsetY;var cl=me.alignment,Hl=_t.alignment;cl.sb()&&(hu=cl.x,zh=cl.offsetX),Hl.sb()&&(ys=Hl.y,xa=Hl.offsetY)}else hu=xa.x,ys=xa.y,zh=xa.offsetX,xa=xa.offsetY;(isNaN(hu)||isNaN(ys))&&(ys=hu=.5,xa=zh=0),cl=In.width,Hl=In.height;var el=wi.margin,Xs=el.left+el.right,Pd=el.top+el.bottom,du=ou(wi,_t,me,!1);!isNaN(wi.desiredSize.width)||du!==kn&&du!==Ki||(cl=Math.max(gr-Xs,0)),!isNaN(wi.desiredSize.height)||du!==kn&&du!==ar||(Hl=Math.max(ao-Pd,0)),gr=wi.maxSize,ao=wi.minSize,cl=Math.min(gr.width,cl),Hl=Math.min(gr.height,Hl),cl=Math.max(ao.width,cl),Hl=Math.max(ao.height,Hl),gr=Hl+Pd,yn+=Bo*hu-(cl+Xs)*hu+zh+el.left,Cr+=Oa*ys-gr*ys+xa+el.top,wi.visible&&(Vn(Wa,vs,Ia,Rh,yn,Cr,In.width,In.height)?wi.arrange(yn,Cr,cl,Hl):wi.arrange(yn,Cr,cl,Hl,new he(Wa,vs,Ia,Rh)))}}}for(Yt.free(Zt),a=0;a=x&&(x=1);var b=a.gridCellSize,E=b.width;b=b.height;var z=a.naturalBounds,tt=a.actualBounds,rt=z.width,ot=z.height,st=Math.ceil(rt/E),ut=Math.ceil(ot/b),ft=a.gridOrigin,vt=ft.x;ft=ft.y,y.save(),y.beginPath(),y.rect(0,0,rt,ot),y.clip(),y.Se();for(var xt=[],bt=a.O.s,Tt=bt.length,Xt=0;Xt_t)){Zt=pv(Zt.figure);for(var ee=0;ee_t&&qt.push(me))}}}}for(bt=a.O.s,Tt=bt.length,Xt=0;XtE*Zt*x))){if(_t=Ie.segmentIndex,(!isFinite(_t)||isNaN(_t))&&(_t=0),0>_t&&(_t=Zt-Math.min(-_t,Zt)),_t=Math.round(_t%Zt),Zt=Ie.opacity,ee=1,Zt!==1){if(Zt===0)continue;ee=y.globalAlpha,y.globalAlpha=ee*Zt}me=xt[Xt];var li=!1,Di=Ie.strokeDashArray;if(Di!==null&&(li=!0,y.js(Di,Ie.strokeDashOffset)),Ie.figure==="LineV"&&Ie.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=b.length;for(var E=0;Eft)qt.measure(1/0,1/0,0,0),_t=qt.measuredBounds,x.ed(_t),xt.push(_t);else{var ee=qt.segmentIndex,me=qt.segmentFraction,Ie=qt.alignmentFocus;Ie.Mc()&&(Ie=xi);var li=qt.segmentOrientation,Di=qt.segmentOffset;if(isNaN(ee)){var wi=ot.ua;_t=ai(),wi.Qu(me,_t);var In=Ot.allocAt(_t[0],_t[1]);if(In.add(ot.i(0)),wi.type===Ln.j?In.offset(-wi.startX,-wi.startY):(wi=wi.figures.first(),wi!==null&&In.offset(-wi.startX,-wi.startY)),wi=_t[2],li!==Ms){var yn=ot.computeAngle(qt,li,wi);qt.Kb=yn}yn=In.x-y.x;var Cr=In.y-y.y;Ot.free(In),Jn(_t)}else if(ee<-ft||ee>=ft)_t=Ot.alloc(),ot.vg(),ot.computeMidPoint(_t),wi=ot.midAngle,li!==Ms&&(yn=ot.computeAngle(qt,li,wi),qt.Kb=yn),yn=_t.x-y.x,Cr=_t.y-y.y,Ot.free(_t);else{if(yn=0,0<=ee?(Cr=ut.M(ee),_t=eegr+10?0<=ee?wi.ab(Cr):Cr.ab(wi):gr>In+10?0<=ee?_t.ab(yn):yn.ab(_t):0<=ee?wi.ab(yn):yn.ab(wi)}else wi=0<=ee?Cr.ab(_t):_t.ab(Cr);li!==Ms&&(yn=ot.computeAngle(qt,li,wi),qt.Kb=yn),yn=Cr.x+(_t.x-Cr.x)*me-y.x,Cr=Cr.y+(_t.y-Cr.y)*me-y.y}qt.measure(1/0,1/0,0,0),_t=qt.measuredBounds,In=qt.naturalBounds;var ao=0;qt instanceof Er&&(ao=qt.strokeWidth),gr=In.width+ao;var Bo=In.height+ao;bt.reset(),bt.translate(-_t.x,-_t.y),bt.scale(qt.scale,qt.scale),bt.rotate(li===Ms?qt.angle:wi,gr/2,Bo/2),li!==ap&&li!==lp||bt.rotate(90,gr/2,Bo/2),li!==sp&&li!==up||bt.rotate(-90,gr/2,Bo/2),li===t0&&(45wi||225wi)&&bt.rotate(-wi,gr/2,Bo/2),In=new he(0,0,gr,Bo),Tt.xi(In,Ie),bt.Ga(Tt),Ie=-Tt.x+ao/2*qt.scale,qt=-Tt.y+ao/2*qt.scale,Xt.assign(Di),ao=isNaN(Di.x);var Oa=isNaN(Di.y);if(ao||Oa){gr=gr/2+3,Bo=Bo/2+3;var Wa=45<=wi&&135>=wi,vs=225<=wi&&315>=wi;li===Ms&&(Wa||vs)?(Xt.x=Oa?gr:Di.y,Xt.y=ao?Bo:Di.x,Wa?0<=ee||isNaN(ee)&&.5>me||!ao||(Xt.y=-Bo):vs&&((0<=ee||isNaN(ee)&&.5>me)&&ao&&(Xt.y=-Bo),Oa&&(Xt.x=-gr))):(ao&&(Xt.x=0<=ee||isNaN(ee)&&.5>me?gr:-gr),Oa&&(Xt.y=-Bo),Xt.rotate(wi))}else Xt.rotate(wi);yn+=Xt.x,Cr+=Xt.y,In.set(_t),In.h(yn+Ie,Cr+qt,_t.width,_t.height),xt.push(In),x.ed(In)}}if(tt!==null)for(b=tt.labelNodes;b.next();)b.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),ti(E,x.width||0,x.height||0),pi.free(bt),Ot.free(Tt),Ot.free(Xt)}}}},Lm.prototype.arrange=function(a,y){var x=y.length;if(a instanceof ro||a instanceof Rn){var b=a,E=null;a instanceof ro&&(E=a,b=E.adornedPart);var z=a instanceof ro?null:b.path,tt=a.j;if(tt.length!==0){var rt=0;if(z!==null&&rt=x)bt=Ot.alloc(),xt=ft,Xt=bt,xt.vg(),xt.computeMidPoint(Xt),xt=ft.midAngle,st!==Ms&&(ft=ft.computeAngle(tt,st,xt),tt.angle=ft),ft=bt.x,Xt=bt.y,Ot.free(bt);else{if(Tt=0,0<=rt?(bt=y.s[rt],Xt=rtqt+10?0<=rt?xt.ab(bt):bt.ab(xt):qt>Zt+10?0<=rt?Xt.ab(Tt):Tt.ab(Xt):0<=rt?xt.ab(Tt):Tt.ab(xt)}else xt=0<=rt?bt.ab(Xt):Xt.ab(bt);st!==Ms&&(ft=ft.computeAngle(tt,st,xt),tt.angle=ft),ft=bt.x+(Xt.x-bt.x)*ot,Xt=bt.y+(Xt.y-bt.y)*ot}if(vt.ys())tt.location=new Ot(ft,Xt);else{vt.Mc()&&(vt=xi),bt=pi.alloc(),bt.reset(),bt.scale(tt.scale,tt.scale),bt.rotate(tt.angle,0,0);var _t=tt.naturalBounds;Tt=he.allocAt(0,0,_t.width,_t.height),Zt=Ot.alloc(),Zt.xi(Tt,vt),bt.Ga(Zt),vt=-Zt.x,qt=-Zt.y;var ee=_t.width,me=_t.height;_t=Ot.alloc(),_t.assign(ut);var Ie=isNaN(ut.x),li=isNaN(ut.y);if(Ie||li){ee=ee/2+3,me=me/2+3;var Di=45<=xt&&135>=xt,wi=225<=xt&&315>=xt;st===Ms&&(Di||wi)?(_t.x=li?ee:ut.y,_t.y=Ie?me:ut.x,Di?0<=rt||isNaN(rt)&&.5>ot||!Ie||(_t.y=-me):wi&&((0<=rt||isNaN(rt)&&.5>ot)&&Ie&&(_t.y=-me),li&&(_t.x=-ee))):(Ie&&(_t.x=0<=rt||isNaN(rt)&&.5>ot?ee:-ee),li&&(_t.y=-me),_t.rotate(xt))}else _t.rotate(xt);ft+=_t.x,Xt+=_t.y,bt.pp(Tt),vt+=Tt.x,qt+=Tt.y,rt=Ot.allocAt(ft+vt,Xt+qt),tt.move(rt),Ot.free(rt),Ot.free(_t),Ot.free(Zt),he.free(Tt),pi.free(bt)}}E!==null?E.Ul(!1):b.Ul(!1),b=T1(a),a.location.h(a.position.x+b.x,a.position.y+b.y),Ot.free(b)}};function i1(a,y,x,b){if(ll(b)!==!1){var E=b.strokeWidth;E===0&&a instanceof ro&&a.type===Nn.Link&&a.adornedObject instanceof Er&&(E=a.adornedObject.strokeWidth),E*=b.Ca,a instanceof Rn&&a.ua!==null?(a=a.geometry.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):a instanceof ro&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):b.Ge(-(E/2),-(E/2),y+E,x+E),E=b.desiredSize,E.w()||b.ua===null?b.dc.h(0,0,E.width,E.height):b.dc.assign(b.ua.bounds),Aa(b,!1)}}function Ug(){this.xa="Base"}Ne(Ug,Fa),Ug.prototype.measure=function(a,y,x,b,E,z,tt){var rt=a.Pb();a.graduatedBounds=[];var ot=rt.margin,st=ot.right+ot.left,ut=ot.top+ot.bottom;rt.measure(y,x,z,tt);var ft=rt.measuredBounds,vt=new he(-ot.left,-ot.top,Math.max(ft.width+st,0),Math.max(ft.height+ut,0));a.graduatedBounds.push(vt),E.assign(vt);for(var xt=rt.geometry,bt=rt.strokeWidth,Tt=xt.flattenedSegments,Xt=xt.flattenedLengths,Zt=xt.flattenedTotalLength,qt=Tt.length,_t=0,ee=0,me=ai(),Ie=0;Iegr&&(gr+=360),Di.push(gr)}_t=yn,ee=Cr}me.push(Di)}if(a.graduatedIntervals===null){for(var ao=[],Bo=a.O.s,Oa=Bo.length,Wa=0;WaRh)){for(var xa=0;xaRh&&Ia.push(ys)}}}}}a.graduatedIntervals=ao}var zh=a.graduatedIntervals,cl=a.O.s,Hl=cl.length,el=0,Xs=0,Pd=Zt;a.graduatedMarks=[];for(var du,tg=0;tgDp*Ss*Zt/a.graduatedRange&&nl.graduatedSkip===null)){var Xc=Xt[0][0],Mu=0,Ys=0;Xs=Zt*nl.graduatedStart-1e-4,Pd=Zt*nl.graduatedEnd+1e-4;var ic=Dp*Ss,il=a.graduatedTickBase;if(ila.graduatedMin+ic&&(il-=Math.floor((il-a.graduatedMin)/ic)*ic);for(var W0=zh[tg],Bp=il,Hy=1e-6*a.graduatedMax,Xu=1;il<=a.graduatedMax+Hy;Xu++){t:{for(var sh=W0.length,Yc=0;Yc-eg){var Ld=!1;break t}}Ld=!0}if(Ld&&(il>a.graduatedMax&&(il=a.graduatedMax),nl.graduatedSkip===null||nl instanceof Oo&&!nl.graduatedSkip(il,nl)||nl instanceof Er&&!nl.graduatedSkip(il,nl))&&(el=(il-a.graduatedMin)*Zt/a.graduatedRange,el>Zt&&(el=Zt),Xs<=el&&el<=Pd)){for(var Yu=me[Mu][Ys],jh=Xt[Mu][Ys];MuXc&&Yslh&&.4995lh?0lh||.9995Uc){var ig=1-Math.abs(.5-lh);Yu=(cu*ig+ku*(1-ig))%360;break t}}}Yu=cu}if(nl instanceof Oo){var eu="";nl.graduatedFunction!==null?(eu=nl.graduatedFunction(il,nl),eu=eu!=null?eu.toString():""):eu=(+il.toFixed(2)).toString(),eu!==""&&du.push({$l:ng,angle:Yu,text:eu})}else du.push({$l:ng,angle:Yu})}il=Bp+Xu*ic}}}a.graduatedMarks.push(du)}Jn(me);var _a=a.graduatedMarks;if(_a!==null)for(var Op=b.length,Ns=0;Nsnu;nu++){switch(nu){case 0:Js.h(hh,fu);break;case 1:Js.h(hh+rg,fu);break;case 2:Js.h(hh,fu+ac);break;case 3:Js.h(hh+rg,fu+ac)}Js.rotate(fa+Pa.angle),Js.offset(K0,ag),og===0&&nu===0?kl.h(Js.x,Js.y,0,0):kl.Ye(Js),Js.offset(-K0,-ag),Js.rotate(-fa-Pa.angle)}Ot.free(Js),uh.graduatedBounds!==null&&uh.graduatedBounds.push(kl),ni(Hh,kl.x,kl.y,kl.width,kl.height)}else if(Pa instanceof Oo){var Zl=a,X0=E;Zl.temporaryTextBlock===null&&(Zl.temporaryTextBlock=new Oo);var rl=Zl.temporaryTextBlock;y1(rl,Pa);var Zh=Pa.alignmentFocus;Zh.Mc()&&(Zh=or);for(var Wl=Pa.segmentOrientation,sg=Pa.segmentOffset,Ad=new he,Ip=0,lg=0,Eu=0,sc=0,kd=0,ug=Ts.length,Wh=0;WhEu||225Eu)&&gu.rotate(-Eu,Vh/2,lc/2);var Qc=he.allocAt(0,0,Vh,lc),Kh=Ot.alloc();Kh.xi(Qc,Zh),gu.Ga(Kh);var qc=-Kh.x,Wy=-Kh.y,ch=Ot.alloc();ch.assign(sg),isNaN(ch.x)&&(ch.x=Vh/2+3),isNaN(ch.y)&&(ch.y=-(lc/2+3)),ch.rotate(Eu),Ip+=ch.x+qc,lg+=ch.y+Wy;var uc=new he(Ip,lg,Gh.width,Gh.height),Rp=new he(Gh.x,Gh.y,Gh.width,Gh.height),Gy=new he(dh.x,dh.y,dh.width,dh.height);Uu.Sz=sc,Uu.lineCount=rl.lineCount,Uu.lines=[rl.Cb,rl.Ih,rl.df,rl.Le,rl.Qc,rl.Qb,rl.ze],Uu.actualBounds=uc,Uu.measuredBounds=Rp,Uu.naturalBounds=Gy,Wh===0?Ad.assign(uc):Ad.ed(uc),Ot.free(ch),Ot.free(Kh),he.free(Qc),pi.free(gu)}Zl.graduatedBounds!==null&&Zl.graduatedBounds.push(Ad),ni(X0,Ad.x,Ad.y,Ad.width,Ad.height)}Aa(Pa,!1)}}},Ug.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var b=a.Pb(),E=a.graduatedMarks;if(E!==null){var z=a.graduatedBounds,tt=0,rt=z[tt];tt++,b!==null&&b.arrange(rt.x-x.x,rt.y-x.y,rt.width,rt.height);for(var ot=y.length,st=0;st=tt&&(tt=1);for(var rt=z.actualBounds,ot=a.O.s,st=a.graduatedMarks,ut=ot.length,ft=0;fta.graduatedTickUnit*vt.interval*z.geometry.flattenedTotalLength/a.graduatedRange*tt&&vt.graduatedSkip===null)){var Tt=vt.measuredBounds,Xt=vt.strokeWidth*vt.scale,Zt=vt.alignmentFocus;Zt.Mc()&&(Zt=or);for(var qt=0;qttt.height)continue}else if(st.position>tt.width)continue;var ut=st.separatorStrokeWidth;isNaN(ut)&&(ut=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var ft=st.separatorStroke;if(ft===null&&(ft=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),ut!==0&&ft!==null){ha(a,y,ft,!1,!1,tt,z),ft=!1;var vt=st.separatorDashArray;vt===null&&(vt=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),vt!==null&&(ft=!0,y.js(vt,0)),y.beginPath(),vt=st.position+ut,x?vt>tt.height&&(ut-=vt-tt.height):vt>tt.width&&(ut-=vt-tt.width),st=st.position+ut/2,y.lineWidth=ut,ut=a.yb,x?(st+=ut.top,vt=tt.width-ut.right,y.moveTo(ut.left,st),y.lineTo(vt,st)):(st+=ut.left,vt=tt.height-ut.bottom,y.moveTo(st,ut.top),y.lineTo(st,vt)),y.stroke(),y.Se(),ft&&y.fs()}}}}function bm(a,y,x,b,E){for(var z=b.length,tt=a.actualBounds,rt=a.naturalBounds,ot=o1(a,!0),st=o1(a,!1),ut=0;utvt)){var xt=ft.Wc(),bt=ft.separatorStrokeWidth;isNaN(bt)&&(bt=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Tt=ft.separatorStroke;Tt===null&&(Tt=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Tt===null||ft.index===(x?ot:st))&&(bt=0),xt-=bt,bt=ft.position+bt,xt+=ft.actual,bt+xt>vt&&(xt=vt-bt),0>=xt||(vt=a.yb,ha(a,y,ft.background,!0,!1,rt,tt),x?y.fillRect(vt.left,bt+vt.top,tt.width-(vt.left+vt.right),xt):y.fillRect(bt+vt.left,vt.top,xt,tt.height-(vt.top+vt.bottom)))}}}}function o1(a,y){for(var x=y?a.rowCount:a.columnCount,b=0;bb&&E.set(bt),Ot.free(bt)),Ot.free(ut),z&&E.transform(tt),st},Ct.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>b)&&(this.v(),this.measure(y>x?x:y,z>b?b:z,0,0));break;case kn:this.v(!0),this.measure(x+rt,b+tt,0,0);break;case Ki:this.v(!0),this.measure(x+rt,z+tt,0,0);break;case ar:this.v(!0),this.measure(y+rt,b+tt,0,0)}}this.na.arrange(this,E,this.jg)}},Ct.gh=function(a){var y=this.naturalBounds,x=rh(this);if(Vn(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var b=y.length,E=Ot.allocAt(0,0);b--;){var z=y[b];if((z.visible||z===x)&&(Kn(E.set(a),z.transform),z.ca(E)))return Ot.free(E),!0}return Ot.free(E),!(this.Ma===null&&this.areaBackground===null)}return!1},Ct.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,b=0;bvt.width||ft.y>vt.height||0>ft.x+ft.width||0>ft.y+ft.height||(ft=ut,ut=ut instanceof Nn?ut:null,vt=pi.alloc(),vt.set(tt),(ut!==null?ut.Cf(a,y,x,b,E,vt):Ba(ft,a,b,vt))&&(y!==null&&(ft=y(ft)),ft===null||x!==null&&!x(ft)||E.add(ft)),pi.free(vt))}}return z===void 0&&pi.free(tt),b}return z===void 0&&pi.free(tt),!1};function mv(a,y,x,b){for(var E=a.O.s,z=E.length;z--;){var tt=E[z];if(tt.visible){var rt=tt.actualBounds,ot=a.naturalBounds;rt.x>ot.width||rt.y>ot.height||0>rt.x+rt.width||0>rt.y+rt.height||(tt instanceof Nn&&mv(tt,y,x,b),y!==null&&(tt=y(tt)),tt===null||x!==null&&!x(tt)||b.add(tt))}}}Ct.og=function(a,y,x,b,E,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),b===void 0&&(b=null);var tt=this.naturalBounds,rt=this.se(),ot=rt?a:Kn(Ot.allocAt(a.x,a.y),this.transform),st=rt?y:Kn(Ot.allocAt(y.x,y.y),this.transform),ut=ot.Bf(st),ft=0Xt.width||Tt.y>Xt.height||0>Tt.x+Tt.width||0>Tt.y+Tt.height))&&(bt.se()?(Tt=bt.transform,Kn(ot.set(a),Tt),Kn(st.set(y),Tt)):(ot.set(a),st.set(y)),Tt=bt,bt=bt instanceof Nn?bt:null,(bt!==null?bt.og(ot,st,x,b,E,z):Tt.tx(ot,st,E))&&(x!==null&&(Tt=x(Tt)),Tt===null||b!==null&&!b(Tt)||z.add(Tt)))}}Ot.free(ot),Ot.free(st)}return E?ft:tt}return!1};function vv(a){var y=null;return a instanceof Er&&(y=a.spot1,y===Ao&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=Ui),y}function yv(a){var y=null;return a instanceof Er&&(y=a.spot2,y===Ao&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=vr),y}Ct.add=function(a){for(var y=[],x=0;x=E.count&&a>=E.count)return;E.mb(z),b=z}else Qt("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>E.count)&&(a=E.count),E.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),ll(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof Nn&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Am(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof gi&&(x.Te=!0),x.Te&&x instanceof gi&&(x.wc=null),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||(b!==-1&&x.cb(ua,"elements",this,y,null,b,null),x.cb(Uo,"elements",this,null,y,null,a)))};function Sv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Ct.remove=function(a){for(var y=this.O.s,x=y.length,b=-1,E=0;Ea&&Gn(a,">= 0",Nn,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new ka;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(Uo,"rowdefs",this,null,x,null,a)}return y[a]},Ct.oA=function(a){if(0>a&&Gn(a,">= 0",Nn,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(ua,"rowdefs",this,x,null,a,null),this.v()}}};function h1(a,y,x){var b=a.rowDefs;if(!(0>y)){if(b[y]=x instanceof ka?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ct.Eb=function(a){0>a&&Gn(a,">= 0",Nn,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new ka;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(Uo,"coldefs",this,null,x,null,a)}return y[a]},Ct.jA=function(a){if(0>a&&Gn(a,">= 0",Nn,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(ua,"coldefs",this,x,null,a,null),this.v()}}};function d1(a,y,x){var b=a.colDefs;if(!(0>y)){if(b[y]=x instanceof ka?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ct.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&km(y,a),this},Ct.Hy=function(a,y){return(a=this.Fb(a))&&km(a,new ka(y)),this},Ct.By=function(a,y){return(a=this.Eb(a))&&km(a,new ka(y)),this},Ct.nz=function(a){if(0>a||this.type!==Nn.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,b=x.length,E=this.topIndex;Ea||this.type!==Nn.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,b=x.length,E=this.leftIndex;Ea;)this.pc(this.O.length-1,!1);f1(this,this.itemArray)};function f1(a,y){var x=Jg(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var b=0;bx)){var E=Pv(a,y);if(E=wv(a,E),E!==null){if(Rl(E),E=E.copy(),E.l&16777216){var z=a.ih();z!==null&&Sv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new Be),a.ge.add(y,E)),z=x+Jg(a),a.Gb(z,E),b&&(E.ub=y,xv(a,z,x),E.ub=null),E.data=y}}}function xv(a,y,x){for(a=a.O;ya&&Gn(a,">= 0",Nn,"padding"),a=new Si(a)):(0>a.left&&Gn(a.left,">= 0",Nn,"padding:value.left"),0>a.right&&Gn(a.right,">= 0",Nn,"padding:value.right"),0>a.top&&Gn(a.top,">= 0",Nn,"padding:value.top"),0>a.bottom&&Gn(a.bottom,">= 0",Nn,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Sr},set:function(a){typeof a=="number"&&(a=new Si(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new Ll),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof po)&&(a instanceof po&&a.freeze(),this.T===null&&(this.T=new Ll),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new Ll),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea)&&Qt("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Ll),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&Qt("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Ll),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof Yi&&!(this instanceof ro);Rl(this),this.ub=a;var b=this.diagram;b!==null&&(x?(x=b.partManager,this instanceof Rn?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof Yi&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),b!==null&&b.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&yx(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&ly(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&sy(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||f1(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new Be}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof Yi||a.isPanelMain)&&Qt("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););Br(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(Br(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof br&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&Am(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),ln.Object.defineProperties(Nn,{Position:{get:function(){return Jl.I("Position")}},Horizontal:{get:function(){return Jl.I("Horizontal")}},Vertical:{get:function(){return Jl.I("Vertical")}},Spot:{get:function(){return Jl.I("Spot")}},Auto:{get:function(){return Jl.I("Auto")}},Table:{get:function(){return Jl.I("Table")}},Viewbox:{get:function(){return Jl.I("Viewbox")}},TableRow:{get:function(){return Jl.I("TableRow")}},TableColumn:{get:function(){return Jl.I("TableColumn")}},Link:{get:function(){return Jl.I("Link")}},Grid:{get:function(){return Jl.I("Grid")}},Graduated:{get:function(){return Jl.I("Graduated")}}}),Nn.prototype.rebuildItemElements=Nn.prototype.mv,Nn.prototype.findItemPanelForData=Nn.prototype.sx,Nn.prototype.updateTargetBindings=Nn.prototype.La,Nn.prototype.copyTemplate=Nn.prototype.Uy,Nn.prototype.graduatedValueForPoint=Nn.prototype.Gz,Nn.prototype.graduatedPointForValue=Nn.prototype.Fz,Nn.prototype.findColumnForLocalX=Nn.prototype.fz,Nn.prototype.findRowForLocalY=Nn.prototype.nz,Nn.prototype.addColumnDefinition=Nn.prototype.By,Nn.prototype.addRowDefinition=Nn.prototype.Hy,Nn.prototype.addRowColumnDefinition=Nn.prototype.Gy,Nn.prototype.removeColumnDefinition=Nn.prototype.jA,Nn.prototype.getColumnDefinition=Nn.prototype.Eb,Nn.prototype.removeRowDefinition=Nn.prototype.oA,Nn.prototype.getRowDefinition=Nn.prototype.Fb,Nn.prototype.removeAt=Nn.prototype.mb,Nn.prototype.remove=Nn.prototype.remove,Nn.prototype.insertAt=Nn.prototype.Gb,Nn.prototype.elt=Nn.prototype.M,Nn.prototype.add=Nn.prototype.add,Nn.prototype.findObject=Nn.prototype.fb,Nn.prototype.findInVisualTree=Nn.prototype.Nl,Nn.prototype.walkVisualTreeFrom=Nn.prototype.qm,Nn.prototype.findMainElement=Nn.prototype.Pb;var g1=!1,p1=null,Jl=new Be;Nn.className="Panel",Nn.definePanelLayout=Lu,Lu("Position",new gm),Lu("Vertical",new mm),Lu("Auto",new ym),Lu("Link",new Lm);function oh(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}oh.prototype.copy=function(){var a=new oh;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},oh.className="GradPanelSettings";function Ll(){this.Pc=[],this.Oc=[],this.j=this.ob=Fm,this.hb=this.Hb=0,this.Qp=Sr,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Ll.prototype.copy=function(a){for(var y=new Ll,x=this.Pc,b=x.length,E=y.Pc,z=0;za&&Gn(a,">= 0",ka,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Gn(a,">= 0",ka,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Gn(a,">= 0",ka,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Gn(a,">= 0",ka,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new Si(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&Bc(a,"RowColumnDefinition.separatorStroke"),a instanceof po&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;EE)){var z=b.measuredBounds,tt=Math.max(1,z.width);z=z.height;for(var rt=x[0],ot=x[1],st,ut,ft,vt,xt,bt,Tt=0,Xt=ai(),Zt=2;Ztft&&(ft=1),E=x=ft,st=tt/2,ut=st!==0,Zt=0,bt=Xt[Zt],ft=bt[0],xt=bt[1],vt=bt[2],bt=bt[3];for(var qt=0;.1<=Tt;){if(qt===0&&(ut?(E=x,E-=st,Tt-=st,ut=!1):E=x,E===0&&(E=1)),E>Tt){Jn(Xt);return}E>bt?(qt=E-bt,E=bt):qt=0;var _t=Math.sqrt(E*E/(1+vt*vt));if(0>ft&&(_t=-_t),rt+=_t,ot+=vt*_t,a.translate(rt,ot),a.rotate(xt),a.translate(-(tt/2),-(z/2)),qt===0&&b.hh(a,y),a.translate(tt/2,z/2),a.rotate(-xt),a.translate(-rt,-ot),Tt-=E,bt-=E,qt!==0){if(Zt++,Zt===Xt.length){Jn(Xt);return}bt=Xt[Zt],ft=bt[0],xt=bt[1],vt=bt[2],bt=bt[3],E=qt}}Jn(Xt)}}Ct.hh=function(a,y){var x=this.xc,b=this.Ui;if(x!==null||b!==null){var E=this.ua;if(E!==null){a.yc();var z=this.actualBounds,tt=this.naturalBounds;b!==null&&ha(this,a,b,!0,!1,tt,z);var rt=this.part,ot=this.ig;if(x===null||ot!==0||rt===null||!this.isPanelMain&&rt.Pb()!==this||(ot=rt.type===Nn.Link&&rt instanceof ro&&rt.category==="Selection"&&rt.adornedObject instanceof Er&&rt.adornedPart.Pb()===rt.adornedObject?rt.adornedObject.strokeWidth:0),ot===0&&(x=null),x!==null&&ot!==0&&(ha(this,a,x,!1,!1,tt,z),a.lineWidth=ot,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,rt&&y.Gf("drawShadows")&&(z=rt.isShadowed),a.Il===!1&&(z=!1),rt=!0,x===null||b!==null&&b!=="transparent"||(rt=!1),tt=!1,ot=this.strokeDashArray,ot!==null&&(tt=!0,a.js(ot,this.strokeDashOffset)),E.type===Ln.j)a.beginPath(),a.moveTo(E.startX,E.startY),a.lineTo(E.endX,E.endY),x!==null&&a.jk(),a.Se();else if(E.type===Ln.u){var st=E.startX;ot=E.startY;var ut=E.endX,ft=E.endY;E=Math.min(st,ut);var vt=Math.min(ot,ft);st=Math.abs(ut-st),ot=Math.abs(ft-ot),a.beginPath(),a.rect(E,vt,st,ot),b!==null&&a.ng(b),x!==null&&(rt&&z&&Iu(a),a.jk(),rt&&z&&eh(a)),a.Se()}else if(E.type===Ln.F)st=E.startX,ot=E.startY,ut=E.endX,ft=E.endY,E=Math.abs(ut-st)/2,vt=Math.abs(ft-ot)/2,st=Math.min(st,ut)+E,ot=Math.min(ot,ft)+vt,a.beginPath(),a.moveTo(st,ot-vt),a.bezierCurveTo(st+ce.wg*E,ot-vt,st+E,ot-ce.wg*vt,st+E,ot),a.bezierCurveTo(st+E,ot+ce.wg*vt,st+ce.wg*E,ot+vt,st,ot+vt),a.bezierCurveTo(st-ce.wg*E,ot+vt,st-E,ot+ce.wg*vt,st-E,ot),a.bezierCurveTo(st-E,ot-ce.wg*vt,st-ce.wg*E,ot-vt,st,ot-vt),a.closePath(),b!==null&&a.ng(b),x!==null&&(rt&&z&&Iu(a),a.jk(),rt&&z&&eh(a)),a.Se();else if(E.type===Ln.o)for(E=E.figures,ot=E.length,vt=0;vtTt.sweepAngle,xt!==null?xt.endX:st.startX,xt!==null?xt.endY:st.startY)}else if(xt=Va(Tt,st),Xt=xt.length,Xt===0)a.lineTo(Tt.centerX,Tt.centerY);else for(var Zt=0;Zt(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>b)?!1:(he.free(z),ce.Yb(x.startX,x.startY,x.endX,x.endY,E,a.x,a.y));if(x.type===Ln.u){y=x.startX;var tt=x.startY,rt=x.endX;if(x=x.endY,z.x=Math.min(y,rt),z.y=Math.min(tt,x),z.width=Math.abs(rt-y),z.height=Math.abs(x-tt),this.fill===null){if(z.Bc(-b,-b),z.ca(a))return he.free(z),!1;z.Bc(b,b)}return this.stroke!==null&&z.Bc(E,E),a=z.ca(a),he.free(z),a}if(x.type===Ln.F){tt=x.startX,E=x.startY,rt=x.endX;var ot=x.endY;if(x=Math.min(tt,rt),y=Math.min(E,ot),tt=Math.abs(rt-tt)/2,E=Math.abs(ot-E)/2,x=a.x-(x+tt),y=a.y-(y+E),this.fill===null){if(tt-=b,E-=b,0>=tt||0>=E||1>=x*x/(tt*tt)+y*y/(E*E))return he.free(z),!1;tt+=b,E+=b}return this.stroke!==null&&(tt+=b,E+=b),he.free(z),0>=tt||0>=E?!1:1>=x*x/(tt*tt)+y*y/(E*E)}if(x.type===Ln.o)return he.free(z),this.fill===null?Ga(x,a.x,a.y,E):da(x,a,E,1=this.strokeWidth)ut=ce.Ve(st.startX,st.startY,st.endX,st.endY,z,tt,rt,ot,E);else{if(st.startX===st.endX?(b=ft,ut=0):(y=(st.endY-st.startY)/(st.endX-st.startX),ut=ft/Math.sqrt(1+y*y),b=ut*y),y=ai(),a=new Ot,ce.Ve(st.startX+b,st.startY+ut,st.endX+b,st.endY+ut,z,tt,rt,ot,a)&&y.push(a),a=new Ot,ce.Ve(st.startX-b,st.startY-ut,st.endX-b,st.endY-ut,z,tt,rt,ot,a)&&y.push(a),a=new Ot,ce.Ve(st.startX+b,st.startY+ut,st.startX-b,st.startY-ut,z,tt,rt,ot,a)&&y.push(a),a=new Ot,ce.Ve(st.endX+b,st.endY+ut,st.endX-b,st.endY-ut,z,tt,rt,ot,a)&&y.push(a),rt=y.length,rt===0)return Jn(y),!1;for(ut=!0,ot=1/0,b=0;bMath.abs(x)){if(ot=tt-ut-x*(z-b),0>a*a*x*x+st*st-ot*ot){E.x=NaN,E.y=NaN,ut=!1;break t}ft=Math.sqrt(a*a*x*x+st*st-ot*ot),rt=(-(a*a*x*ot)+a*st*ft)/(st*st+a*a*x*x)+b,a=(-(a*a*x*ot)-a*st*ft)/(st*st+a*a*x*x)+b,st=x*(rt-b)+ot+ut,ot=x*(a-b)+ot+ut,Math.abs((z-rt)*(z-rt))+Math.abs((tt-st)*(tt-st))rt){E.x=NaN,E.y=NaN,ut=!1;break t}ot=Math.sqrt(rt),rt=ut+ot,ot=ut-ot,Math.abs(rt-tt)Math.abs(bt)?(Tt*=.5/bt,bt=.5):Tt!==0&&.5>Math.abs(Tt)&&(bt*=.5/Tt,Tt=.5),Zt-=bt,qt-=Tt;xt.contains(Zt,qt);)Zt-=bt,qt-=Tt;for(E.x=rt,E.y=ot,Tt=0;Ttx?a-x:x-a)<(y>b?y-b:b-y)?(a=ya||ce.$(ot.y,a))&&(ot.yy||ce.$(ot.x,y))&&(ot.x=a&&b<=y):(a=b&&x<=a)}Ct.tx=function(a,y,x){function b(Xt,Zt){for(var qt=Xt.length,_t=0;_tE)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var E=a.Bf(y),z=E;if(1.5=E||ei(y,z,0,-ft)>=E||ei(y,z,0,ft)>=E||ei(y,z,ut,0)>=E)}else if(y.type===Ln.o){if(st=y.bounds,z=st.x,rt=st.y,ot=st.x+st.width,st=st.y+st.height,a.x>ot&&a.xst&&a.yE&&fi(a.x,a.y,z,rt,ot,rt)>E&&fi(a.x,a.y,ot,st,z,st)>E&&fi(a.x,a.y,ot,st,ot,rt)>E)return!1;if(z=Math.sqrt(E),x){if(this.fill===null?Ga(y,a.x,a.y,z):da(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yE)return!1;for(rt=z.segments.s,ot=rt.length,st=0;stE)return!1;break;case ga:var vt=ai();if(ce.Qe(tt,ut,ft.point1X,ft.point1Y,ft.point2X,ft.point2Y,ft.endX,ft.endY,.8,vt),tt=b(vt,a),Jn(vt),tt||(tt=ft.endX,ut=ft.endY,a.zd(tt,ut)>E))return!1;break;case ls:if(vt=ai(),ce.ep(tt,ut,ft.point1X,ft.point1Y,ft.endX,ft.endY,.8,vt),tt=b(vt,a),Jn(vt),tt||(tt=ft.endX,ut=ft.endY,a.zd(tt,ut)>E))return!1;break;case ra:case us:vt=ft.type===ra?Va(ft,z):$a(ft,z,tt,ut);var xt=vt.length;if(xt===0){if(tt=ft.type===ra?ft.centerX:ft.endX,ut=ft.type===ra?ft.centerY:ft.endY,a.zd(tt,ut)>E)return!1;break}ft=null;for(var bt=ai(),Tt=0;Tt= 0",Er,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Gn(a,'"butt", "round", or "square"',Er,"strokeCap"):(Qd(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Gn(a,'"miter", "bevel", or "round"',Er,"strokeJoin"):(Qd(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){Qd(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea?a=0:1a?a=0:1(ft*ft+ut*ut)*vt*vt&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof _s&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,ft=this.spacingBelow,this.flip){case eo:a.translate(E,0),a.scale(-1,1);break;case Rr:a.translate(0,z),a.scale(1,-1);break;case Lo:a.translate(E,z),a.scale(-1,-1)}if(a.yc(),ut=this.Gc,vt=(y+tt+ft)*ut,z>vt&&(b=this.verticalAlignment,b=b.y*z-b.y*vt+b.offsetY),ut===1&&this.ze!==null)ft=this.Cb,ft>E&&(ft=E),this.Oj(this.ze,a,0,b+y,E,tt,ft,x,rt,ot,st);else if(this.Qc!==null&&this.Qb!==null)for(vt=0;vtE&&(xt=E),b+=y,this.Oj(this.Qb[vt],a,0,b,E,tt,xt,x,rt,ot,st),b+=tt+ft}switch(this.flip){case eo:a.scale(-1,1),a.translate(-E,0);break;case Rr:a.scale(1,-1),a.translate(0,-z);break;case Lo:a.scale(-1,-1),a.translate(-E,-z)}}},Ct.Oj=function(a,y,x,b,E,z,tt,rt,ot,st,ut){var ft=0;if(rt)ot==="left"?ft=0:ot==="right"?ft=E-tt:ot==="center"&&(ft=(E-tt)/2),y.fillRect(x+ft,b+.25*z,tt,1);else{if(ot==="left"?ft=0:ot==="right"?ft=E:ot==="center"&&(ft=E/2),E=Dm!==null?Dm(this,z):.75*z,y.fillText(a,x+ft,b+E),a=z/20|0,a===0&&(a=1),ot==="right"?ft-=tt:ot==="center"&&(ft-=tt/2),st){rt=Bm!==null?Bm(this,z):.8*z,ot=x+ft,st=b+rt,E=x+ft+tt,rt=b+rt;var vt=a;y.beginPath(),y.lineWidth=vt,y.moveTo(ot,st),y.lineTo(E,rt),y.stroke(),y.Se(),y instanceof _s&&y.ad.classList.add("gojs-td")}ut&&(ut=b+z-z/2.2|0,a%2!==0&&(ut+=.5),b=x+ft,z=ut,x=x+ft+tt,tt=ut,ft=a,y.beginPath(),y.lineWidth=ft,y.moveTo(b,z),y.lineTo(x,tt),y.stroke(),y.Se(),y instanceof _s&&y.ad.classList.add("gojs-td"))}},Ct.kk=function(a,y,x){if(!ye.prototype.kk.call(this,a,y,x))return!1;if(ha(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;x=this.Qb.length))){for(this.l|=16777216,st=this.Qb[ot],y=Math.max(1,a-y);Ql(st)>y&&1a.maxLines&&(a.l|=16777216))}function Av(a,y,x,b){var E=a.formatting===$g;E&&(y=y.trim());var z=0,tt=a.Ae,rt=a.spacingAbove+a.spacingBelow;rt=Math.max(0,_g(a)+rt);var ot=a.overflow===Om?S1(tt):0;if(a.Gc>=a.maxLines)b!==null&&b.h(0,rt);else if(tt=y,a.wrap===kv){a.Le=1;var st=Ql(y);if(ot===0||st<=x)a.Cb=Math.max(a.Cb,st),qg(a,y,a.Cb),b!==null&&b.h(st,rt);else{for(z=Df(a,tt),tt=tt.substr(z.length),y=Df(a,tt),st=Ql(z+y);0x&&1x;){var ft=1;for(st=Ql(y.substr(0,ft)),ut=0;st<=x;)ft++,ut=st,st=Ql(y.substr(0,ft));if(ft===1){var vt=st;z=Math.max(z,st)}else vt=ut,z=Math.max(z,ut);if(ft--,1>ft&&(ft=1),qg(a,y.substr(0,ft),vt),ot++,y=y.substr(ft),a.Gc+ot>a.maxLines)break}for(ut=Df(a,tt),st=Ql(y+ut);0a.maxLines))break}a.Le=Math.min(a.maxLines,ot),a.Cb=Math.max(a.Cb,z),b!==null&&b.h(a.Cb,rt*a.Le)}}function Df(a,y){if(a.wrap===w1)return y.substr(0,1);for(var x=y.length,b=0,E=Sx;b=y.length?y:y.substr(0,b)}function Ql(a){return Is===null?8*a.length:Is.measureText(a).width}function _g(a){if(a.df!==null)return a.df;var y=a.Ae;if(Is===null){var x=16;return a.df=x}return Nv[y]!==void 0&&5e3>L1?x=Nv[y]:(x=1.3*Is.measureText("M").width,Nv[y]=x,L1++),a.df=x}function S1(a){if(Is===null)return 6;if(Im[a]!==void 0&&5e3>Tv)var y=Im[a];else y=Is.measureText(tp).width,Im[a]=y,Tv++;return y}function x1(a,y){var x=a.ec.replace(/\r\n/g,` `).replace(/\r/g,` `),b=a.spacingAbove+a.spacingBelow;if(b=Math.max(0,_g(a)+b),x.length===0)return a.Cb=0,a.Gc=1,b;if(!a.isMultiline){var E=x.indexOf(` `,0);0<=E&&(x=x.substr(0,E))}E=0;for(var z=a.Gc=0,tt,rt=!1;!rt;){if(tt=x.indexOf(` `,z),tt===-1&&(tt=x.length,rt=!0),z<=tt){if(z=x.substr(z,tt-z),a.wrap!==kv){a.Le=0;var ot=Yt.alloc();Av(a,z,y,ot),E+=ot.height,Yt.free(ot),a.Gc+=a.Le}else Av(a,z,y,null),E+=b,a.Gc++;a.Gc===a.maxLines&&(rt=!0)}z=tt+1}return a.Lq=E}ln.Object.defineProperties(Oo.prototype,{font:{get:function(){return this.Ae},set:function(a){var y=this.Ae;y!==a&&(this.Ae=a,this.df=null,this.v(),this.g("font",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;a!=null?a=a.toString():a="",y!==a&&(this.ec=a,this.v(),this.g("text",y,a),this.Uc=!0)}},textAlign:{get:function(){return this.da!==null?this.da.Or:"start"},set:function(a){var y=this.textAlign;y===a||a!=="start"&&a!=="end"&&a!=="left"&&a!=="right"&&a!=="center"||(bu(this),this.da.Or=a,this.N(),this.g("textAlign",y,a))}},flip:{get:function(){return this.da!==null?this.da.Xf:wn},set:function(a){var y=this.flip;y!==a&&(bu(this),this.da.Xf=a,this.N(),this.g("flip",y,a))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:Ho},set:function(a){var y=this.verticalAlignment;y.D(a)||(a=a.J(),bu(this),this.da.Yr=a,ws(this),this.g("verticalAlignment",y,a))}},naturalBounds:{get:function(){if(!this.dc.w()){var a=Yt.alloc();Av(this,this.ec,999999,a);var y=a.width;Yt.free(a),a=x1(this,y);var x=this.desiredSize;isNaN(x.width)||(y=x.width),isNaN(x.height)||(a=x.height),ti(this.dc,y,a)}return this.dc}},isMultiline:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this.v(),this.g("isMultiline",y,a))}},isUnderline:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;y!==a&&(this.l^=4194304,this.Uc=!0,this.N(),this.g("isUnderline",y,a))}},isStrikethrough:{get:function(){return(this.l&8388608)!==0},set:function(a){var y=(this.l&8388608)!==0;y!==a&&(this.l^=8388608,this.Uc=!0,this.N(),this.g("isStrikethrough",y,a))}},wrap:{get:function(){return this.da!==null?this.da.$r:Ev},set:function(a){var y=this.wrap;y!==a&&(bu(this),this.da.$r=a,this.v(),this.g("wrap",y,a))}},overflow:{get:function(){return this.da!==null?this.da.$q:Fv},set:function(a){var y=this.overflow;y!==a&&(bu(this),this.da.$q=a,this.v(),this.g("overflow",y,a))}},isOverflowed:{get:function(){return(this.l&16777216)!==0}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&Bc(a,"TextBlock.stroke"),a instanceof po&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return _g(this)}},editable:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("editable",y,a))}},textEditor:{get:function(){return this.da!==null?this.da.Qr:null},set:function(a){var y=this.textEditor;y!==a&&(bu(this),this.da.Qr=a,this.g("textEditor",y,a))}},errorFunction:{get:function(){return this.da!==null?this.da.Hd:null},set:function(a){var y=this.errorFunction;y!==a&&(bu(this),this.da.Hd=a,this.g("errorFunction",y,a))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(a){var y=this.interval;if(a=Math.round(a),y!==a&&a!==0&&isFinite(a)){this.fa===null&&(this.fa=new ju),this.fa.Tk=a,this.v();var x=this.panel;x!==null&&(x.graduatedIntervals=null),this.g("interval",y,a)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(a){var y=this.graduatedStart;y!==a&&(0>a?a=0:1a?a=0:1=a&&Gn(a,"> 0",Oo,"maxLines"),bu(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var Dm=null,Bm=null,kv=new je(Oo,"None",0),P1=new je(Oo,"WrapFit",1),Ev=new je(Oo,"WrapDesiredSize",2),w1=new je(Oo,"WrapBreakAll",3),Fv=new je(Oo,"OverflowClip",0),Om=new je(Oo,"OverflowEllipsis",1),$g=new je(Oo,"FormatTrim",0),C1=new je(Oo,"FormatNone",0),Sx=/[ \u200b\u00ad]/,Nv=new Wi,L1=0,Im=new Wi,Tv=0,tp="...",b1="",Is=null,Rm=!1;Oo.className="TextBlock";function Dv(){this.nc=!1,this.Hd=null,this.Xf=wn,this.gq=$g,this.Jq=1/0,this.$q=Fv,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=Ho,this.$r=Ev}Dv.prototype.copy=function(){var a=new Dv;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},Oo.getEllipsis=function(){return tp},Oo.setEllipsis=function(a){tp=a,Im=new Wi,Tv=0},Oo.getBaseline=function(){return Dm},Oo.setBaseline=function(a){Dm=a},Oo.getUnderline=function(){return Bm},Oo.setUnderline=function(a){Bm=a},Oo.isValidFont=function(a){if(Rm||(Is=la?new Il(null).context:null,Rm=!0),Is===null)return!0;var y=Is.font;if(a===y||a==="10px sans-serif")return!0;Is.font="10px sans-serif",Is.font=a;var x=Is.font;if(x!=="10px sans-serif")return Is.font=y,!0;Is.font="19px serif";var b=Is.font;return Is.font=a,x=Is.font,Is.font=y,x!==b},Oo.FormatNone=C1,Oo.FormatTrim=$g,Oo.None=kv,Oo.OverflowClip=Fv,Oo.OverflowEllipsis=Om,Oo.WrapBreakAll=w1,Oo.WrapDesiredSize=Ev,Oo.WrapFit=P1;function ju(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}ju.prototype.copy=function(){var a=new ju;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},ju.className="GradElementSettings";function Rs(a,y){ye.call(this),this.Eg=null,this.qo="",this.Xg=mr,this.Nk=kn,this.Zg=this.Hd=null,this.Mk=xi,this.Xf=wn,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var Bf;Ne(Rs,ye),Rs.prototype.cloneProtected=function(a){ye.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Rs.prototype.qb=function(a){a===wn||a===zi||a===Jr?this.imageStretch=a:ye.prototype.qb.call(this,a)},Rs.prototype.toString=function(){return"Picture("+this.source+")#"+Tr(this)};function Of(a){a===void 0&&(a=""),a!==""?Bf[a]&&(delete Bf[a],zm--):(Bf=new Wi,zm=0)}function M1(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value;E.N();var z=y.getAttribute("src")||"",tt=E.Og.I(z);if(tt!==null)for(var rt=tt.length,ot=0;ot=b.width&&(z=z+bt.offsetX+(ft*bt.x-b.width*bt.x)),vt>=b.height&&(tt=tt+bt.offsetY+(vt*bt.y-b.height*bt.y)),ot=Math.min(b.width,ft),rt=Math.min(b.height,vt);break;case kn:ft=b.width,vt=b.height;break;case zi:case Jr:xt===zi?(xt=Math.min(b.height/vt,b.width/ft),ft*=xt,vt*=xt):xt===Jr&&(xt=Math.max(b.height/vt,b.width/ft),ft*=xt,vt*=xt,ft>=b.width&&(z=(z+bt.offsetX+(ft*bt.x-b.width*bt.x)/ft)*ot),vt>=b.height&&(tt=(tt+bt.offsetY+(vt*bt.y-b.height*bt.y)/vt)*rt),ot*=1/(ft/b.width),rt*=1/(vt/b.height),ft=b.width,vt=b.height)}xt=this.Df()*y.scale;var Tt=ft*xt*vt*xt,Xt=ot*rt/Tt,Zt=x.__goCache;xt=null;var qt=xx;if(!E){if(x.sq&&Zt!==void 0&&4qt*qt)for(Zt.gi===null&&(k1(Zt,4,st,ut,x),k1(Zt,16,st,ut,x)),E=Zt.gi,st=E.length,ut=0;uta)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var b="rr"+y+","+x+","+a,E=ce.Mf[b];if(E!==void 0)return E;var z=a*ce.wg;return E=new Ln().add(new aa(a,0,!0).add(new Vr(co,y-a,0)).add(new Vr(ga,y,a,y-z,0,y,z)).add(new Vr(co,y,x-a)).add(new Vr(ga,y-a,x,y,x-z,y-z,x)).add(new Vr(co,a,x)).add(new Vr(ga,0,x-a,z,x,0,x-z)).add(new Vr(co,0,a)).add(new Vr(ga,a,0,0,z,z,0).close())),1E.x&&a.y>E.y&&a.rightE.x&&y.y>E.y&&y.right=x.maxSelectionCount)){this.G^=4096;var b=!1;if(x!==null){b=x.skipsUndoManager,x.skipsUndoManager=!0;var E=x.selection;E.ka(),a?E.add(this):E.remove(this),E.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=b)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(zs(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(zs(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(zs(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof Rn?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(zs(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(zs(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(zs(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:Un},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),zs(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(zs(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(zs(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Ao},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),zs(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&Qt("Cannot make a Group a member of itself: "+this.toString()),Qt("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?Kv(y,this):this instanceof br&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?Vv(a,this):this instanceof br&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var b=this.data,E=x.model;if(b!==null&&E.Xj()){var z=E.wa(a!==null?a.data:null);E.mp(b,z)}}if(b=this.containingGroupChanged,b!==null&&(E=!0,x!==null&&(E=x.aa,x.aa=!0),b(this,y,a),x!==null&&(x.aa=E)),this instanceof br){for(x=new Cn,hd(x,this,!0,0,!0),x=x.iterator;x.next();)if(b=x.value,b instanceof gi)for(b=b.linksConnected;b.next();)zf(b.value)}if(this instanceof gi){for(x=this.linksConnected;x.next();)zf(x.value);x=this.labeledLink,x!==null&&zf(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&df(y,-1,a))}}else Qt("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(zs(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof gi&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(zs(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(zs(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:Vi},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),zs(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(zs(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(zs(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),Yi.prototype.invalidateLayout=Yi.prototype.C,Yi.prototype.findCommonContainingGroup=Yi.prototype.px,Yi.prototype.isMemberOf=Yi.prototype.Td,Yi.prototype.findTopLevelPart=Yi.prototype.sz,Yi.prototype.findSubGraphLevel=Yi.prototype.oz,Yi.prototype.ensureBounds=Yi.prototype.Va,Yi.prototype.getDocumentBounds=Yi.prototype.mi,Yi.prototype.findObject=Yi.prototype.fb,Yi.prototype.moveTo=Yi.prototype.moveTo,Yi.prototype.invalidateAdornments=Yi.prototype.Wb,Yi.prototype.clearAdornments=Yi.prototype.Ej,Yi.prototype.removeAdornment=Yi.prototype.Jf,Yi.prototype.addAdornment=Yi.prototype.bh,Yi.prototype.findAdornment=Yi.prototype.Pj,Yi.prototype.updateTargetBindings=Yi.prototype.La;var H1=!1;Yi.className="Part",Yi.LayoutNone=0,Yi.LayoutAdded=1,Yi.LayoutRemoved=2,Yi.LayoutShown=4,Yi.LayoutHidden=8,Yi.LayoutNodeSized=16,Yi.LayoutGroupLayout=32,Yi.LayoutNodeReplaced=64,Yi.LayoutStandard=127,Yi.LayoutAll=16777215;function ro(a,y){a===void 0||a instanceof Fa||typeof a=="string"?Yi.call(this,a):(Yi.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}Ne(ro,Yi),ro.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},ro.prototype.updateRelationshipsFromData=function(){},ro.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof Rn&&y instanceof Er){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var b=0;ba&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Cn;x.add(this),U1(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===Lh),y.Ue=!1}};function U1(a,y,x,b,E,z,tt){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Cn;x.add(this),Q1(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===Lh),y.Ue=!1}};function Q1(a,y,x,b,E,z,tt){for(var rt=z===a?!1:a.isTreeExpanded,ot=x?a.Mo():a.Sd(),st={};ot.next();){var ut=ot.value;if(ut.isTreeLink&&(rt||ut.fd||ut.bb(),ut=ut.To(a),ut!==null&&ut!==a&&!y.contains(ut))){if(y.add(ut),!rt){ut.Zb(!0),ut.oh();var ft=x?ut.Oo():ut.Po();st.vv=a,ft.all(function(vt){return function(xt){return xt===vt.vv||!xt.isTreeExpanded}}(st))&&E.Cj(ut,z)}(2E&&(E=rt.right),rt.bottom>z&&(z=rt.bottom)}}return isFinite(x)&&isFinite(b)?a.h(x,b,E-x,z-b):(y=y.location,a.h(y.x,y.y,0,0)),a},ln.Object.defineProperties(bs.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Si(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),bs.className="Placeholder";function Rn(a){Yi.call(this,Nn.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Ms,this.Om=0,this.Qm=Ms,this.Rm=NaN,this.qj=Qv,this.po=.5,this.wd=null,this.Nb=new pn().freeze(),this.Tg=this.Mg=null,this.ml=new he,this.ua=new Ln,this.u=this.o=this.Sf=this.Wf=null,this.su=new Ot,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}Ne(Rn,Yi),Rn.prototype.cloneProtected=function(a){Yi.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Ct=Rn.prototype,Ct.Af=function(a){Yi.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&$s(y),a=a.toPort,a!==null&&$s(a)},Ct.qb=function(a){a.classType===Rn?(a.value&2)===2?this.routing=a:a===hl||a===Th||a===Hf?this.curve=a:a===rp||a===qm||a===_m?this.adjusting=a:a!==Qv&&a!==Ms&&Qt("Unknown Link enum value for a Link property: "+a):Yi.prototype.qb.call(this,a)},Ct.Xc=function(){this.ba===null&&(this.ba=new Vg)},Ct.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),Cs(a)||ld(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),Cs(a)||ld(a)))},Ct.zv=function(){return!1},Ct.Av=function(){},Ct.Zc=function(){return!1},Rn.prototype.computeAngle=function(a,y,x){return Rn.computeAngle(y,x)},Rn.computeAngle=function(a,y){switch(a){default:case Ms:a=0;break;case op:a=y;break;case ap:a=y+90;break;case sp:a=y-90;break;case qv:a=y+180;break;case $m:a=ce.bp(y),90a&&(a-=180);break;case lp:a=ce.bp(y+90),90a&&(a-=180);break;case up:a=ce.bp(y-90),90a&&(a-=180);break;case t0:if(a=ce.bp(y),45a||225a)return 0;90a&&(a-=180)}return ce.bp(a)};function zf(a){var y=a.fromNode,x=a.toNode,b=null;if(y!==null?b=x!==null?y.px(x):y.containingGroup:x!==null?b=x.containingGroup:b=null,y=b,x=a.Ah,x!==y){x!==null&&Kv(x,a),a.Ah=y,y!==null&&Vv(y,a);var E=a.containingGroupChanged;if(E!==null){var z=!0,tt=a.diagram;tt!==null&&(z=tt.aa,tt.aa=!0),E(a,x,y),tt!==null&&(tt.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=b}Ct=Rn.prototype,Ct.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&Yi.prototype.oh.call(this)},Ct.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Ct.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function $1(a,y){a.wd===null&&(a.wd=new Cn),a.wd.add(y),a.v()}Ct.Vo=function(a){if(Yi.prototype.Vo.call(this,a),$d(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Gm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Gm(x,this,b)}np(this)}},Ct.Wo=function(a){if(Yi.prototype.Wo.call(this,a),$d(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Vm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Vm(x,this,b)}ip(this)}},Ct.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},Rn.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},Rn.prototype.move=function(a,y){var x=y?this.location:this.position,b=x.x;isNaN(b)&&(b=0);var E=x.y;for(isNaN(E)&&(E=0),b=a.x-b,E=a.y-E,y===!0?Yi.prototype.move.call(this,a,!1):(a=Ot.allocAt(x.x+b,x.y+E),Yi.prototype.move.call(this,a,!1),Ot.free(a)),Nh(this,b,E),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+b,x.y+E)},Rn.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},Rn.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},Rn.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(yi),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),b=this.i(1);return a.h((x.x+b.x)/2,(x.y+b.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===hl))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===hl){if(y===3){x=this.i(0),b=this.i(1);var E=this.i(2);return ce.ax(x.x,x.y,b.x,b.y,b.x,b.y,E.x,E.y,a),a}if(b=(y-1)/3|0,x=3*(b/2|0),b%2===1){b=this.i(x),E=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),ce.ax(b.x,b.y,E.x,E.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var tt=this.flattenedLengths;for(x=this.flattenedTotalLength,E=z=b=0;bx/2));)b+=E,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-b)):a.h(y.x,y.y+(x/2-b)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-b),y.y):a.h(y.x+(x/2-b),y.y):(x=(x/2-b)/E,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},Rn.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===hl))return this.ua.wx(.5);if(this.computeCurve()===hl&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var b=this.i(x+2);return x=this.i(x+3),ce.My(a.x,a.y,y.x,y.y,b.x,b.y,x.x,x.y)}if(0b/2));)E+=z,x++;if(y=this.i(x),b=this.i(x+1),1>Math.abs(y.x-b.x)&&1>Math.abs(y.y-b.y)){if(0Math.abs(y.x-b.x))return y.y>b.y?270:90;if(1>Math.abs(y.y-b.y))return y.x>b.x?180:0}return y.ab(b)},Ct=Rn.prototype,Ct.i=function(a){return this.Nb.s[a]},Ct.dd=function(a,y){this.Nb.cd(a,y)},Ct.L=function(a,y,x){this.Nb.cd(a,new Ot(y,x))},Ct.Kz=function(a,y){this.Nb.Gb(a,y)},Ct.m=function(a,y,x){this.Nb.Gb(a,new Ot(y,x))},Ct.ne=function(a){this.Nb.add(a)},Ct.yf=function(a,y){this.Nb.add(new Ot(a,y))},Ct.pv=function(a){this.Nb.mb(a)},Ct.Fj=function(){this.Nb.clear()};function Nh(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var b=a.fd,E=new pn,z=a.Nb.iterator;z.next();){var tt=z.value;E.add(new Ot(tt.x+y,tt.y+x).freeze())}E.freeze(),z=a.Nb,a.Nb=E,tt=a.diagram,isNaN(y)||isNaN(x)||tt!==null&&tt.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),ws(a)),b?Xm(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),tt!==null&&tt.animationManager.zb&&hf(tt.animationManager,a,E),a.g("points",z,E)}}Ct.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Ct.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,b=1/0,E=a.s,z=E.length,tt=0;ttst&&(ft=-ft),Tt=(0>ot?-1:1)*ft+xt,Xt=ut*(Tt-xt)+bt),xt=z.x+2*rt/3,bt=z.y+2*ot/3;var Zt=xt,qt=bt;ce.B(ot,0)?qt=0ot?-1:1)*ft+xt,qt=ut*(Zt-xt)+bt),this.Fj(),this.ne(z),this.yf(Tt,Xt),this.yf(Zt,qt),this.ne(vt),this.dd(0,this.getLinkPoint(a,y,tt,!0,!1,b,E)),this.dd(3,this.getLinkPoint(b,E,x,!1,!1,a,y))}else z=b,vt=E,b=this.getLinkPoint(a,y,tt,!0,!1,z,vt),E=this.getLinkPoint(z,vt,x,!1,!1,a,y),this.hasCurviness()?(vt=E.x-b.x,x=E.y-b.y,tt=this.computeCurviness(),a=b.x+vt/2,y=b.y+x/2,z=a,rt=y,ce.B(x,0)?rt=0tt&&(z=-z),z=(0>x?-1:1)*z+a,rt=vt*(z-a)+y),this.ne(b),this.yf(z,rt),this.ne(E)):(this.ne(b),this.ne(E),rt=he.alloc(),y.mi(rt),ot=rt.ca(E),vt.mi(rt),st=rt.ca(b),(ot||st)&&(tt=y.ga(Um(tt),new Ot),this.dd(0,this.getLinkPointFromPoint(a,y,tt,E,!0,tt)),x=vt.ga(Um(x),new Ot),this.dd(1,this.getLinkPointFromPoint(z,vt,x,b,!1,x))),he.free(rt))}else{ft=this.isAvoiding,vt&&(ut&&ft||st)&&this.Fj();var _t=st?this.computeCurviness():0;ft=this.getLinkPoint(a,y,tt,!0,ut,b,E),xt=Tt=bt=0,(ut||!rt||st)&&(Xt=this.computeEndSegmentLength(a,y,tt,!0),xt=this.getLinkDirection(a,y,ft,tt,!0,ut,b,E),st&&(rt||tt.D(x)||!ut&&tt.x+x.x===1&&tt.y+x.y===1)&&(xt-=ut?90:30,0>_t&&(xt-=180)),0>xt?xt+=360:360<=xt&&(xt-=360),st&&(Xt+=Math.abs(_t)*(ut?1:2)),xt===0?bt=Xt:xt===90?Tt=Xt:xt===180?bt=-Xt:xt===270?Tt=-Xt:(bt=Xt*Math.cos(xt*Math.PI/180),Tt=Xt*Math.sin(xt*Math.PI/180)),tt.Mc()&&st&&(Xt=y.ga(xi,Ot.alloc()),Zt=Ot.allocAt(Xt.x+1e3*bt,Xt.y+1e3*Tt),this.getLinkPointFromPoint(a,y,Xt,Zt,!0,ft),Ot.free(Xt),Ot.free(Zt))),Xt=this.getLinkPoint(b,E,x,!1,ut,a,y);var ee=qt=Zt=0;if(ut||!ot||st){var me=this.computeEndSegmentLength(b,E,x,!1);ee=this.getLinkDirection(b,E,Xt,x,!1,ut,a,y),st&&(ot||tt.D(x)||!ut&&tt.x+x.x===1&&tt.y+x.y===1)&&(ee+=ut?0:30,0>_t&&(ee+=180)),0>ee?ee+=360:360<=ee&&(ee-=360),st&&(me+=Math.abs(_t)*(ut?1:2)),ee===0?Zt=me:ee===90?qt=me:ee===180?Zt=-me:ee===270?qt=-me:(Zt=me*Math.cos(ee*Math.PI/180),qt=me*Math.sin(ee*Math.PI/180)),x.Mc()&&st&&(x=E.ga(xi,Ot.alloc()),tt=Ot.allocAt(x.x+1e3*Zt,x.y+1e3*qt),this.getLinkPointFromPoint(b,E,x,tt,!1,Xt),Ot.free(x),Ot.free(tt))}x=ft,(ut||!rt||st)&&(x=new Ot(ft.x+bt,ft.y+Tt)),tt=Xt,(ut||!ot||st)&&(tt=new Ot(Xt.x+Zt,Xt.y+qt)),!vt&&!ut&&rt&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}Rn.prototype.getLinkPointFromPoint=function(a,y,x,b,E,z){if(z===void 0&&(z=new Ot),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(E=a.findVisibleNode(),E!==null&&E!==a&&(y=E.port)),a=null,E=y.panel,E===null||E.se()||(E=E.panel),E===null){E=b.x,b=b.y;var tt=x.x;x=x.y}else{a=E.oe,E=1/(a.m11*a.m22-a.m12*a.m21),tt=a.m22*E;var rt=-a.m12*E,ot=-a.m21*E,st=a.m11*E,ut=E*(a.m21*a.dy-a.m22*a.dx),ft=E*(a.m12*a.dx-a.m11*a.dy);E=b.x*tt+b.y*ot+ut,b=b.x*rt+b.y*st+ft,tt=x.x*tt+x.y*ot+ut,x=x.x*rt+x.y*st+ft}return y.Sj(E,b,tt,x,z),a!==null&&z.transform(a),z};function Ym(a,y){var x=y.Zn;return x===null&&(x=new jc,x.port=y,x.node=y.part,y.Zn=x),sS(x,a)}Rn.prototype.getLinkPoint=function(a,y,x,b,E,z,tt,rt){if(rt===void 0&&(rt=new Ot),x.sb()&&!jf(x))return y.ga(x,rt),rt;if(x.$c()){var ot=Ym(this,y);if(ot!==null){if(rt.assign(ot.Zo),E&&this.routing===eS){var st=Ym(this,tt);if(st!==null&&ot.Gl=ut.y&&a.y<=ut.y+ut.height?rt.y=a.y:(x.Hf(to)||x.Hf(mo))&&a.x>=ut.x&&a.x<=ut.x+ut.width&&(rt.x=a.x),Ot.free(ot),Ot.free(st)}}return rt}}return x=y.ga(Um(x),Ot.alloc()),this.pointsCount>(E?6:2)?(tt=b?this.i(1):this.i(this.pointsCount-2),E&&(tt=Xv(x,tt.copy()))):(ot=this.computeSpot(!b,tt),z=Ot.alloc(),tt=tt.ga(Um(ot),z),E&&(tt=Xv(x,tt)),Ot.free(z)),this.getLinkPointFromPoint(a,y,x,tt,b,rt),Ot.free(x),rt},Rn.prototype.getLinkDirection=function(a,y,x,b,E,z,tt,rt){t:if(b.sb())var ot=b.x>b.y?b.x>1-b.y?0:b.x<1-b.y?270:315:b.x1-b.y?90:b.x<1-b.y?180:135:.5>b.x?225:.5(z?6:2)?(rt=E?this.i(1):this.i(this.pointsCount-2),rt=z?Xv(ot,rt.copy()):x):(x=Ot.alloc(),rt=rt.ga(xi,x),Ot.free(x)),x=Math.abs(rt.x-ot.x)>Math.abs(rt.y-ot.y)?rt.x>=ot.x?0:180:rt.y>=ot.y?90:270,Ot.free(ot),ot=x}return b.Mc()&&tt.Td(a)&&(ot+=180,360<=ot&&(ot-=360)),jf(b)||(a=y.li(),a===0)||(45<=a&&135>a?ot+=90:135<=a&&225>a?ot+=180:225<=a&&315>a&&(ot+=270),360<=ot&&(ot-=360)),ot},Rn.prototype.computeEndSegmentLength=function(a,y,x,b){return y!==null&&x.$c()&&(a=Ym(this,y),a!==null)?a.Ju:(a=b?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=b?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},Rn.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=xi:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Ao?Ii:y)):(a=y||this.toPort,a===null?a=xi:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Ao?Ii:y)),a};function jf(a){return a===Ii||a.x===.5&&a.y===.5}function Um(a){return a.x===.5&&a.y===.5?a:xi}Rn.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Ms&&4vt.width||ft.y>vt.height||0>ft.x+ft.width||0>ft.y+ft.height)){if(ft=pi.alloc(),ft.set(tt),ut instanceof Nn)rt=ut.Cf(a,y,x,b,E,ft);else if(this.path===ut){if(ut instanceof Er)if(rt=a,vt=b,ut.pickable===!1)rt=!1;else if(ft.multiply(ut.transform),vt)t:{var xt=rt,bt=ft;if(ut.fh(xt,bt))rt=!0;else{if(bt===void 0&&(bt=ut.transform,xt.Re(ut.actualBounds))){rt=!0;break t}rt=xt.left,vt=xt.right;var Tt=xt.top;xt=xt.bottom;var Xt=Ot.alloc(),Zt=Ot.alloc(),qt=Ot.alloc(),_t=pi.alloc();_t.set(bt),_t.bv(ut.transform),_t.Vj(),Zt.x=vt,Zt.y=Tt,Zt.transform(_t),Xt.x=rt,Xt.y=Tt,Xt.transform(_t),bt=!1,qd(ut,Xt,Zt,qt)?bt=!0:(Xt.x=vt,Xt.y=xt,Xt.transform(_t),qd(ut,Xt,Zt,qt)?bt=!0:(Zt.x=rt,Zt.y=xt,Zt.transform(_t),qd(ut,Xt,Zt,qt)?bt=!0:(Xt.x=rt,Xt.y=Tt,Xt.transform(_t),qd(ut,Xt,Zt,qt)&&(bt=!0)))),pi.free(_t),Ot.free(Xt),Ot.free(Zt),Ot.free(qt),rt=bt}}else rt=ut.fh(rt,ft)}else rt=Ba(ut,a,b,ft);rt&&(vt=ut,y!==null&&(vt=y(ut)),vt&&(x===null||x(vt))&&E.add(vt)),pi.free(ft)}}}return z===void 0&&pi.free(tt),rt||this.background!==null||this.areaBackground!==null}return z===void 0&&pi.free(tt),!1},Rn.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?hl:this.curve},Rn.prototype.computeCorner=function(){if(this.curve===hl)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},Rn.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,b=0;bot?-Math.PI/2:Math.PI/2;else ut=Math.atan(ot/Math.abs(rt)),0>rt&&(ut=Math.PI-ut);tt=y.x;var ft=y.y;rt=b.x-tt;var vt=b.y-ft;for(ot=Math.sqrt(rt*rt+vt*vt),ce.$(rt,0)?vt=0>vt?-Math.PI/2:Math.PI/2:(vt=Math.atan(vt/Math.abs(rt)),0>rt&&(vt=Math.PI-vt)),st=ot/st,ut=vt-ut,this.dd(a,y),a+=1;aot?-Math.PI/2:Math.PI/2:(ot=Math.atan(ot/Math.abs(rt)),0>rt&&(ot=Math.PI-ot)),rt=ot+ut,y*=st,this.L(a,tt+y*Math.cos(rt),ft+y*Math.sin(rt)));this.dd(x,b)}}return!0;case _m:if(z=this.i(a),ft=this.i(x),!z.Xa(y)||!ft.Xa(b)){E=z.x,z=z.y,tt=ft.x,ft=ft.y,st=(tt-E)*(tt-E)+(ft-z)*(ft-z),rt=y.x,ut=y.y,ot=b.x,vt=b.y;var xt=1;if(ot-rt!==0){var bt=(vt-ut)/(ot-rt);xt=Math.sqrt(1+1/(bt*bt))}else bt=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>b?b+=360:360<=b&&(b-=360);var tt=b;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,b=315<=b||45>b?0:45<=b&&135>b?90:135<=b&&225>b?180:270;var rt=E.actualBounds.copy(),ot=z.actualBounds.copy();if(rt.w()&&ot.w()){rt.Bc(hp,hp),ot.Bc(hp,hp),rt.Ye(a),ot.Ye(x);var st=Ot.alloc(),ut=Ot.alloc();y===0?x.x>a.x||b===270&&x.ya.x||b===90&&x.y>a.y&&ot.right>a.x?(st.h(x.x,a.y),ut.h(x.x,(a.y+x.y)/2),b===180?(st.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),ut.x=st.x,ut.y=x.y):b===270&&x.ya.y?(st.x=a.xot.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):ot.right,ut.x=st.x,ut.y=x.y):b===0&&a.xot.top&&a.yrt.bottom)&&(b===180&&(ot.ca(a)||rt.ca(x))?st.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===180||b===270)&&(st.y=this.computeMidOrthoPosition(a.x,rt.bottom,x.x,Math.min(x.y,ot.top),!0)),ut.x=x.x,ut.y=st.y),st.y>rt.top&&st.y=rt.left&&x.x<=a.x||a.x<=ot.right&&a.x>=x.x?(b===90||b===270)&&(st.h(Math.max((a.x+x.x)/2,a.x),a.y),ut.h(st.x,x.y)):(st.y=b===270||(b===0||b===180)&&x.ya.y&&ot.lefta.y?(st.x=a.x>ot.right?this.computeMidOrthoPosition(a.x,a.y,ot.right,x.y,!1):a.x>ot.left&&(b===270&&a.yot.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):ot.left,ut.x=st.x,ut.y=x.y):b===180&&a.x>ot.right&&a.y>ot.top&&a.yrt.bottom)&&(b===0&&(ot.ca(a)||rt.ca(x))?st.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===0||b===270)&&(st.y=this.computeMidOrthoPosition(a.x,rt.bottom,x.x,Math.min(x.y,ot.top),!0)),ut.x=x.x,ut.y=st.y),st.y>rt.top&&st.y=a.x||a.x>=ot.left&&a.x<=x.x?(b===90||b===270)&&(st.h(Math.min((a.x+x.x)/2,a.x),a.y),ut.h(st.x,x.y)):(st.y=b===270||(b===0||b===180)&&x.ya.y||b===180&&x.xa.y||b===0&&x.x>a.x&&ot.bottom>a.y?(st.h(a.x,x.y),ut.h((a.x+x.x)/2,x.y),b===270?(st.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),ut.x=x.x,ut.y=st.y):b===180&&x.xa.x?(st.y=a.yot.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):ot.bottom,ut.x=x.x,ut.y=st.y):b===90&&a.yot.left&&a.xrt.right)&&(b===270&&(ot.ca(a)||rt.ca(x))?st.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===270||b===180)&&(st.x=this.computeMidOrthoPosition(rt.right,a.y,Math.min(x.x,ot.left),x.y,!1)),ut.x=st.x,ut.y=x.y),st.x>rt.left&&st.x=rt.top&&x.y<=a.y||a.y<=ot.bottom&&a.y>=x.y?(b===0||b===180)&&(st.h(a.x,Math.max((a.y+x.y)/2,a.y)),ut.h(x.x,st.y)):(st.x=b===180||(b===90||b===270)&&x.xa.x&&ot.top=a.x?(st.y=a.y>ot.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,ot.bottom,!0):a.y>ot.top&&(b===180&&a.xot.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):ot.top,ut.x=x.x,ut.y=st.y):b===270&&a.y>ot.bottom&&a.x>ot.left&&a.xrt.right)&&(b===90&&(ot.ca(a)||rt.ca(x))?st.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===90||b===180)&&(st.x=this.computeMidOrthoPosition(rt.right,a.y,Math.min(x.x,ot.left),x.y,!1)),ut.x=st.x,ut.y=x.y),st.x>rt.left&&st.x=a.y||a.y>=ot.top&&a.y<=x.y?(b===0||b===180)&&(st.h(a.x,Math.min((a.y+x.y)/2,a.y)),ut.h(x.x,st.y)):(st.x=b===180||(b===90||b===270)&&x.x=Wf&&(rS(xt),rt.Bc(xt.Ho*xt.Hx,xt.Go*xt.Ix),oS(xt,a,y,ft,b,rt,!1),ot=Hu(xt,ft.x,ft.y)),!xt.abort&&otthis.pointsCount?(y===0||y===180?(rt.x=a.x,rt.y=ft.y):(rt.x=ft.x,rt.y=a.y),this.L(2,rt.x,rt.y),this.m(3,rt.x,rt.y)):(tt=this.i(3),y===0||y===180?ce.B(rt.x,tt.x)?(rt=y===0?Math.max(rt.x,a.x):Math.min(rt.x,a.x),this.L(2,rt,a.y),this.L(3,rt,tt.y)):ce.B(rt.y,tt.y)?(Math.abs(a.y-rt.y)<=xt.Go/2&&(this.L(2,rt.x,a.y),this.L(3,tt.x,a.y)),this.m(2,rt.x,a.y)):this.L(2,a.x,rt.y):(y===90||y===270)&&(ce.B(rt.y,tt.y)?(rt=y===90?Math.max(rt.y,a.y):Math.min(rt.y,a.y),this.L(2,a.x,rt),this.L(3,tt.x,rt)):ce.B(rt.x,tt.x)?(Math.abs(a.x-rt.x)<=xt.Ho/2&&(this.L(2,a.x,rt.y),this.L(3,a.x,tt.y)),this.m(2,a.x,rt.y)):this.L(2,rt.x,a.y))),x!==null&&(a=this.i(1),tt=this.i(2),a.x!==tt.x&&a.y!==tt.y?y===0||y===180?this.m(2,a.x,tt.y):this.m(2,tt.x,a.y):y===0||y===180?this.m(2,E.x,x.y):this.m(2,x.x,E.y)),bt!==null&&(b===0||b===180?this.yf(z.x,bt.y):this.yf(bt.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(st.copy()),this.ne(ut.copy())),Ot.free(st),Ot.free(ut)}},Rn.prototype.computeMidOrthoPosition=function(a,y,x,b,E){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),E?(y+b)/2+z:(a+x)/2+z};function Yv(a){if(a.diagram===null||!a.isAvoiding||!Sf(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=xf(a.diagram,!0,a.containingGroup,null);for(var b=1;btc&&Hu(y,ut,ft)!==st-1&&(Hu(y,x-rt,b)===st-1?(E=180,ut=x-rt,ft=b):Hu(y,x+rt,b)===st-1?(E=0,ut=x+rt,ft=b):Hu(y,x,b-ot)===st-1?(E=270,ut=x,ft=b-ot):Hu(y,x,b+ot)===st-1&&(E=90,ut=x,ft=b+ot));st>tc&&Hu(y,ut,ft)===st-1;)x=ut,b=ft,E===0?ut+=rt:E===90?ft+=ot:E===180?ut-=rt:ft-=ot,--st;z?st>tc&&(E===180||E===0?x=Math.floor(x/rt)*rt+rt/2:(E===90||E===270)&&(b=Math.floor(b/ot)*ot+ot/2)):(x=Math.floor(x/rt)*rt+rt/2,b=Math.floor(b/ot)*ot+ot/2),st>tc&&(z=E,tt=x,ut=b,E===0?(z=90,ut+=ot):E===90?(z=180,tt-=rt):E===180?(z=270,ut-=ot):E===270&&(z=0,tt+=rt),Hu(y,tt,ut)===st-1?Uv(a,y,tt,ut,z,!1,z):(tt=x,ut=b,E===0?(z=270,ut-=ot):E===90?(z=0,tt+=rt):E===180?(z=90,ut+=ot):E===270&&(z=180,tt-=rt),Hu(y,tt,ut)===st-1&&Uv(a,y,tt,ut,z,!1,z))),a.yf(x,b)}Rn.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),b=this.i(1),E=fi(y,a,x.x,x.y,b.x,b.y),z=0,tt=1;ttthis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,b=0;b=y&&(b=y-1),ot=this.i(b),z.x=Math.min(ot.x,z.x),z.y=Math.min(ot.y,z.y);b=z.x,ot=z.y}else{for(ot=0;otXt?bt>xt?(z.x=Zt-_t,z.y=xt-_t,E.x=Zt+Tt,E.y=xt+Tt):(z.x=Zt-_t,z.y=xt+_t,E.x=Zt+Tt,E.y=xt-Tt):bt>xt?(z.x=Zt+_t,z.y=xt-_t,E.x=Zt-Tt,E.y=xt+Tt):(z.x=Zt+_t,z.y=xt+_t,E.x=Zt-Tt,E.y=xt-Tt)),ce.$(Xt,Zt)&&ce.$(xt,bt)&&(xt>vt?(qt>Zt?(z.x=Zt-_t,z.y=xt-_t,E.x=Zt+Tt):(z.x=Zt+_t,z.y=xt-_t,E.x=Zt-Tt),E.y=xt+Tt):(qt>Zt?(z.x=Zt-_t,z.y=xt+_t,E.x=Zt+Tt):(z.x=Zt+_t,z.y=xt+_t,E.x=Zt-Tt),E.y=xt-Tt)),(ce.$(Xt,Zt)&&ce.$(Zt,qt)||ce.$(vt,xt)&&ce.$(xt,bt))&&(Xt=.5*(Xt+qt),vt=.5*(vt+bt),z.x=Xt,z.y=vt,E.x=Xt,E.y=vt),(ft===1||ft===2&&ce.$(tt.x,this.i(0).x)&&ce.$(tt.y,this.i(0).y))&&(x.x=.5*(tt.x+st.x),x.y=.5*(tt.y+st.y)),kh(rt,x.x-b,x.y-ot,z.x-b,z.y-ot,st.x-b,st.y-ot),y.set(z),x.set(E),tt=st}}st=tt.x,tt=tt.y,ut=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(ut=Oc(this,ut.copy(),!1,Qn)),st=.5*(st+ut.x),tt=.5*(tt+ut.y),kh(rt,E.x-b,E.y-ot,st-b,tt-ot,ut.x-b,ut.y-ot),Ot.free(y),Ot.free(x),Ot.free(z),Ot.free(E)}else for(x=3;x=y&&(x=y-1),E=this.i(x-1),tt=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(tt=Oc(this,tt.copy(),!1,Qn)),kh(rt,z.x-b,z.y-ot,E.x-b,E.y-ot,tt.x-b,tt.y-ot);else{for(z=Ot.alloc(),z.assign(this.i(0)),E=Ot.alloc(),E.assign(z),tt=this.computeCorner(),ft=1,st=0;ft=y-1){if(!z.D(ut))this.computeShortLength(!1)!==0&&(ut=Oc(this,ut.copy(),!1,Qn)),Ic(this,rt,-b,-ot,z,ut,x);else if(st===0)for(ft=1;ftz.x?ee=vt.x-bt:ee=vt.x+bt,Zt.y>vt.y?qt=vt.y+_t:qt=vt.y-_t,Zt=Ot.allocAt(ee,me),Ic(this,rt,ft,Xt,z,Zt,Tt),Ot.free(Zt),jm(rt,vt.x+ft,vt.y+Xt,xt+ft,qt+Xt),z.h(xt,qt)}else ce.B(z.x,vt.x)&&ce.B(vt.y,Zt.y)?(bt=Math.min(tt,Math.abs(vt.y-E.y)/2),bt=_t=Math.min(bt,Math.abs(Zt.x-vt.x)/2),ce.B(_t,0)?(Ic(this,rt,ft,Xt,z,vt,Tt),z.assign(vt)):(ee=vt.x,me=vt.y,xt=ee,qt=me,vt.y>z.y?me=vt.y-bt:me=vt.y+bt,Zt.x>vt.x?xt=vt.x+_t:xt=vt.x-_t,Zt=Ot.allocAt(ee,me),Ic(this,rt,ft,Xt,z,Zt,Tt),Ot.free(Zt),jm(rt,vt.x+ft,vt.y+Xt,xt+ft,qt+Xt),z.h(xt,qt))):(Ic(this,rt,ft,Xt,z,vt,Tt),z.assign(vt));E.assign(ut),ft=st}Ot.free(z)}Hm=rt}else rt=this.i(1).copy(),rt.x-=b,rt.y-=ot,this.computeShortLength(!0)!==0&&(E=Oc(this,E,!0,z)),this.computeShortLength(!1)!==0&&(rt=Oc(this,rt,!1,z)),a.type=Ln.j,a.startX=E.x,a.startY=E.y,a.endX=rt.x,a.endY=rt.y;return this.lk=!0,a};function Jm(a,y,x,b){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=b-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),ce.$(a,0)?y:ce.$(y,0)?a:Math.sqrt(a*a+y*y)))}function Oc(a,y,x,b){var E=a.pointsCount;if(2>E)return y;if(x){var z=a.i(1);if(x=z.x-b.x,z=z.y-b.y,b=Jm(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!0),a>E&&(a=E),E=a*(z-y.y)/b,y.x+=a*(x-y.x)/b,y.y+=E}else{if(z=a.i(E-2),x=z.x-b.x,z=z.y-b.y,b=Jm(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!1),a>E&&(a=E),E=a*(y.y-z)/b,y.x-=a*(y.x-x)/b,y.y-=E}return y}function Jv(a,y,x,b){for(var E=a.pointsCount,z=y;ce.$(y.x,z.x)&&ce.$(y.y,z.y);){if(x>=E)return E-1;z=a.i(x++)}if(!ce.$(y.x,z.x)&&!ce.$(y.y,z.y))return x-1;for(var tt=z;ce.$(y.x,z.x)&&ce.$(z.x,tt.x)&&(!b||(y.y>=z.y?z.y>=tt.y:z.y<=tt.y))||ce.$(y.y,z.y)&&ce.$(z.y,tt.y)&&(!b||(y.x>=z.x?z.x>=tt.x:z.x<=tt.x));){if(x>=E)return E-1;tt=a.i(x++)}return x-2}Rn.prototype.computeJumpLength=function(){return 10};function Ic(a,y,x,b,E,z,tt){if(!tt&&$d(a)){tt=a.computeJumpLength();var rt=tt/2,ot=[],st=0;if(a.isVisible()&&(st=bx(a,E,z,ot)),0ft-tt);)st--,ft=Math.max(ut-rt,z.x);ut=z.y-tt+b,ft+=x,xt=z.y+b,a.curve===Th?Rf(y,ft,xt,!1):kh(y,vt,ut,ft,ut,ft,xt)}else if(ce.B(E.x,z.x))if(E.yut-tt);)st--,ut=Math.max(ft-rt,z.y);ft=z.x-tt+x,xt=z.x+x,ut+=b,a.curve===Th?Rf(y,xt,ut,!1):kh(y,ft,vt,ft,ut,xt,ut)}}}y.lineTo(z.x+x,z.y+b)}function bx(a,y,x,b){var E=a.diagram;if(E===null||y.D(x))return 0;for(E=E.layers;E.next();){var z=E.value;if(z!==null&&z.visible){z=z.Pa.s;for(var tt=z.length,rt=0;rttt.x&&ut.x>=st.x||st.xtt.y&&ut.y>=st.y||st.ytt&&Math.min(bt,Tt)ut&&!ce.B(bt,Tt)){rt.x=ut,rt.y=tt,ut=!0;break t}}else if(ce.B(ft,xt)&&ce.B(bt,Tt)&&Math.min(ut,vt)bt&&Math.min(tt,Xt)ft&&!ce.B(tt,Xt)){rt.x=bt,rt.y=ft,ut=!0;break t}rt.x=0,rt.y=0,ut=!1}ut&&(E?x.push(rt.x):x.push(rt.y)),tt=st}Ot.free(rt)}function $d(a){return a=a.curve,a===Hf||a===Th}function Qm(a,y){(y||$d(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}Rn.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var b=!1;for(x=x.layers;x.next();){var E=x.value;if(E.visible){if(E===y){b=!0;var z=!1;E=E.Pa.s;for(var tt=E.length,rt=0;rta&&Gn(a,">= 0",Rn,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Ao},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&$s(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Gn(a,">= 0",Rn,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=b&&(z=b-1);var rt=this.i(z-1),ot=this.i(z);ce.Dl(E.x,E.y,tt.x,tt.y,rt.x,rt.y,ot.x,ot.y,.5,a),y=Math.min(ot.x,y),x=Math.min(ot.y,x),E=ot}else for(E=this.i(0),z=this.i(1),y=Math.min(E.x,z.x),x=Math.min(E.y,z.y),a.h(E.x,E.y,0,0),a.Ye(z),E=2;Eb&&(b=-b)):ce.$(b.y,E.y)?(b=E.x-b.x,0>b&&(b=-b)):b=Math.sqrt(b.Bf(E)),a.push(b)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,b=a=0;bthis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!jf(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!jf(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),Qm(this,y===Th||y===Hf||a===Th||a===Hf),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),Qm(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),Rn.prototype.invalidateOtherJumpOvers=Rn.prototype.Xo,Rn.prototype.findClosestSegment=Rn.prototype.ez,Rn.prototype.updateRoute=Rn.prototype.vg,Rn.prototype.invalidateRoute=Rn.prototype.bb,Rn.prototype.rollbackRoute=Rn.prototype.rv,Rn.prototype.commitRoute=Rn.prototype.zf,Rn.prototype.startRoute=Rn.prototype.uh,Rn.prototype.clearPoints=Rn.prototype.Fj,Rn.prototype.removePoint=Rn.prototype.pv,Rn.prototype.addPointAt=Rn.prototype.yf,Rn.prototype.addPoint=Rn.prototype.ne,Rn.prototype.insertPointAt=Rn.prototype.m,Rn.prototype.insertPoint=Rn.prototype.Kz,Rn.prototype.setPointAt=Rn.prototype.L,Rn.prototype.setPoint=Rn.prototype.dd,Rn.prototype.getPoint=Rn.prototype.i,Rn.prototype.getOtherPort=Rn.prototype.Cz,Rn.prototype.getOtherNode=Rn.prototype.To;var Rc=null,zc=null,Qv=new je(Rn,"Normal",1),Ax=new je(Rn,"Orthogonal",2),kx=new je(Rn,"AvoidsNodes",6),eS=new je(Rn,"AvoidsNodesStraight",7),Ms=new je(Rn,"None",0),hl=new je(Rn,"Bezier",9),Th=new je(Rn,"JumpGap",10),Hf=new je(Rn,"JumpOver",11),rp=new je(Rn,"End",17),qm=new je(Rn,"Scale",18),_m=new je(Rn,"Stretch",19),op=new je(Rn,"OrientAlong",21),ap=new je(Rn,"OrientPlus90",22),sp=new je(Rn,"OrientMinus90",23),qv=new je(Rn,"OrientOpposite",24),$m=new je(Rn,"OrientUpright",25),lp=new je(Rn,"OrientPlus90Upright",26),up=new je(Rn,"OrientMinus90Upright",27),t0=new je(Rn,"OrientUpright45",28),nS=16,iS=14,hp=8;Rn.className="Link",Rn.Normal=Qv,Rn.Orthogonal=Ax,Rn.AvoidsNodes=kx,Rn.AvoidsNodesStraight=eS,Rn.None=Ms,Rn.Bezier=hl,Rn.JumpGap=Th,Rn.JumpOver=Hf,Rn.End=rp,Rn.Scale=qm,Rn.Stretch=_m,Rn.OrientAlong=op,Rn.OrientPlus90=ap,Rn.OrientMinus90=sp,Rn.OrientOpposite=qv,Rn.OrientUpright=$m,Rn.OrientPlus90Upright=lp,Rn.OrientMinus90Upright=up,Rn.OrientUpright45=t0,Rn.EndSegmentStep=8,Rn.CurvinessStart=nS,Rn.SpacingMin=iS,Rn.OrthoShortCut=hp;function e0(a,y,x,b){rr(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=b,this.links=[]}e0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,b=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((b+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=tc&&(x[b]=_v)}dp.prototype.Yj=function(a,y,x,b){if(a>this.En||a+xthis.Fn||y+ba&&(x+=a,a=0),0>y&&(E+=y,y=0),0>x||0>E)return!0;for(b=Math.min(a+x-1,this.di)|0,x=Math.min(y+E-1,this.ei)|0;a<=b;a++){E=this.ac[a];for(var z=y;z<=x;z++)if(E[z]===Dh)return!1}return!0};function Zu(a,y,x,b,E,z,tt,rt,ot){if(!(ytt||xot)){var st=y|0,ut=x|0,ft=a.ac[st][ut];if(ft>=tc&&ft=a.ac[st][ut]);)a.ac[st][ut]=ft,ft+=1,E?ut+=b:st+=b;if(st=E?ut:st,E)if(0st;x+=b)Zu(a,y,x,1,!E,z,tt,rt,ot),Zu(a,y,x,-1,!E,z,tt,rt,ot);else if(0st;y+=b)Zu(a,y,x,1,!E,z,tt,rt,ot),Zu(a,y,x,-1,!E,z,tt,rt,ot)}}function n0(a,y,x,b,E,z,tt,rt,ot){y|=0,x|=0;var st=Dh,ut=tc;for(a.ac[y][x]=ut;st===Dh&&y>z&&yrt&&xz&&yrt&&x=Math.abs(rt-st)&&1>=Math.abs(ot-ut))a.abort=!0;else{var ft=z.x;b=z.y,y=z.x+z.width;var vt=z.y+z.height;ft-=a.Nd,ft/=a.rc,b-=a.Od,b/=a.sc,y-=a.Nd,y/=a.rc,vt-=a.Od,vt/=a.sc,z=Math.max(0,Math.min(a.di,ft|0)),y=Math.min(a.di,Math.max(0,y|0)),ft=Math.max(0,Math.min(a.ei,b|0)),vt=Math.min(a.ei,Math.max(0,vt|0)),b=a.ac,rt|=0,ot|=0,st|=0,ut|=0;var xt=x===0||x===90?1:-1;if(x=x===90||x===270,b[rt][ot]===Dh?(n0(a,rt,ot,xt,x,z,y,ft,vt),n0(a,rt,ot,1,!x,z,y,ft,vt),n0(a,rt,ot,-1,!x,z,y,ft,vt)):n0(a,rt,ot,xt,x,rt,ot,rt,ot),b[st][ut]===Dh?(i0(a,st,ut,E===0||E===90?1:-1,E===90||E===270,z,y,ft,vt),i0(a,st,ut,1,!(E===90||E===270),z,y,ft,vt),i0(a,st,ut,-1,!(E===90||E===270),z,y,ft,vt)):i0(a,st,ut,xt,x,st,ut,st,ut),x=ai(),tt&&aS(a,st,ut,E,rt,ot,x))for((x[0]!==st||x[1]!==ut)&&(x.unshift(ut),x.unshift(st)),(x[x.length-2]!==rt||x[x.length-1]!==ot)&&(x.push(rt),x.push(ot)),a=tc,E=x[x.length-2],tt=x[x.length-1],b[E][tt]=a++,z=x.length-4;0<=z;z-=2)for(E=x[z+2],tt=x[z+3],y=x[z],st=x[z+1];y>E?E++:ytt?tt++:stE)ut--;else break;else if(ft>z)ft--;else break;var vt=rt[ut][ft];if(vt===0||vt===$v)break;ot=ut,st=ft}for(;;){if(ut=b,ft=ot,vt=st,b===0?vtz&&(ut=270,vt--):b===90?ftE&&(ut=180,ft--):b===180?vtz&&(ut=270,vt--):ftE&&(ut=180,ft--),ft=rt[ft][vt],ut!==b&&ft!==0&&ft!==$v){if(tt.push(ot),tt.push(st),aS(a,ot,st,ut,E,z,tt))return!0;tt.pop(),tt.pop()}if(rt[ot][st]=$v,b===0){if(ot===y)return!1;ot--}else if(b===90){if(st===x)return!1;st--}else if(b===180){if(ot===y)return!1;ot++}else{if(st===x)return!1;st++}}}ln.Object.defineProperties(dp.prototype,{bounds:{get:function(){return new he(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return b&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}jc.prototype.Sl=function(){this.pe.length=0};function sS(a,y){var x=a.pe;if(x.length===0){t:if(!a.ap){x=a.ap,a.ap=!0;var b=null,E=a.node,z=E instanceof br?E:null;if(z===null||z.isSubGraphExpanded)var tt=E.isTreeExpanded?E.findLinksConnected(a.port.portId):E.qx();else{if(!z.actualBounds.w()){a.ap=x;break t}b=z,tt=b.Lu()}z=a.pe.length=0;var rt=a.port.ga(Ui,Ot.alloc()),ot=a.port.ga(vr,Ot.alloc());for(E=he.allocAt(rt.x,rt.y,0,0),E.Ye(ot),Ot.free(rt),Ot.free(ot),rt=Ot.allocAt(E.x+E.width/2,E.y+E.height/2),ot=a.port.li(),tt=tt.iterator;tt.next();){var st=tt.value;if(st.isVisible()&&st.fromPort!==st.toPort){var ut=st.fromPort===a.port||st.fromNode!==null&&st.fromNode.Td(b),ft=st.computeSpot(ut,a.port);if(ft.$c()&&(ut=ut?st.toPort:st.fromPort,ut!==null)){var vt=ut.part;if(vt!==null){var xt=vt.findVisibleNode();xt!==null&&xt!==vt&&(vt=xt,ut=vt.port),ut=st.computeOtherPoint(vt,ut),vt=rt.ab(ut),vt-=ot,0>vt?vt+=360:360<=vt&&(vt-=360),ft=Ex(E,ft,vt,st.isOrthogonal),ft===0?(ft=4,180vt&&(vt+=360)),xt=a.pe[z],xt===void 0?(xt=new ty(st,vt,ft),a.pe[z]=xt):(xt.link=st,xt.angle=vt,xt.Nc=ft),xt.hv.set(ut),z++}}}}for(Ot.free(rt),a.pe.sort(jc.prototype.j),ot=a.pe.length,b=-1,z=rt=0;zMath.abs(Tt)?(qt=Math.abs(Tt)/vt,vt=Math.abs(Tt)):qt=1;break;case 2:xt>Math.abs(_t)?(qt=Math.abs(_t)/xt,xt=Math.abs(_t)):qt=1;break;case 1:ft>Math.abs(Tt)?(qt=Math.abs(Tt)/ft,ft=Math.abs(Tt)):qt=1;break;default:case 4:ut>Math.abs(_t)?(qt=Math.abs(_t)/ut,ut=Math.abs(_t)):qt=1}Zt=0}var Ie=ee.Zo;if(b===Gv){switch(ee=ee.link.computeThickness(),ee*=qt,Ie.set(me),bt){case 8:Ie.x=me.x+Tt/2+vt/2-Zt-ee/2;break;case 2:Ie.y=me.y+_t/2+xt/2-Zt-ee/2;break;case 1:Ie.x=me.x+Tt/2-ft/2+Zt+ee/2;break;default:case 4:Ie.y=me.y+_t/2-ut/2+Zt+ee/2}Zt+=ee}else{var li=.5;b===Km&&(li=(ee.Uo+1)/(ee.Gl+1)),Ie.x=me.x+Tt*li,Ie.y=me.y+_t*li}}}for(Ot.free(rt),Ot.free(ot),Ot.free(tt),Ot.free(st),me=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},jc.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,Ii,y.fromPort===this.port),b=a.Uo;if(0>b)return x;var E=a.Gl;if(1>=E||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(b=E-1-b),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,b=x,E+=tt+20,tt=0):z++}},qo.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,b=this.arrangementOrigin.y,E=0,z=0,tt=this.network.vertexes.iterator;tt.next();){var rt=tt.value.node;if(!(rt===null||rt instanceof Rn)&&(cp(rt),this.rh(rt))){var ot=rt.measuredBounds,st=ot.width;ot=ot.height,rt.moveTo(x,b),rt instanceof br&&(rt.rh=!1),x+=Math.max(st,50)+20,z=Math.max(z,Math.max(ot,50)),E>=a-1?(E=0,x=y,b+=z+20,z=0):E++}}},qo.prototype.rh=function(a){return!!(!a.location.w()||a instanceof br&&a.rh)};function dd(a,y,x,b,E,z,tt,rt){for(x=x.iterator;x.next();){var ot=x.value;b&&!ot.isTopLevel||E!==null&&!E(ot)||!ot.canLayout()||(z&&ot instanceof gi?ot.isLinkLabel||(ot instanceof br&&ot.layout===null?dd(a,y,ot.memberParts,!1,E,z,tt,rt):(cp(ot),y.add(ot))):tt&&ot instanceof Rn?y.add(ot):!rt||!ot.Zc()||ot instanceof gi||(cp(ot),y.add(ot)))}}function cp(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}qo.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new he),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},qo.prototype.ex=function(a){var y=new Cn;return a instanceof Re?(dd(this,y,a.nodes,!0,null,!0,!0,!0),dd(this,y,a.links,!0,null,!0,!0,!0),dd(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof br?dd(this,y,a.memberParts,!1,null,!0,!0,!0):dd(this,y,a.iterator,!1,null,!0,!0,!0),y},qo.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(Ui),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},ln.Object.defineProperties(qo.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),qo.prototype.collectParts=qo.prototype.ex,qo.prototype.getLayoutBounds=qo.prototype.ni,qo.prototype.invalidateLayout=qo.prototype.C,qo.className="Layout";function Io(a){rr(this),this.Sc=a,this.wf=new Cn,this.ye=new Cn,this.Es=new Be,this.zs=new Be}Io.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Cn,this.ye=new Cn,this.Es=new Be,this.zs=new Be},Io.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1y?1:0):1:y!==null?-1:0}ln.Object.defineProperties(Na.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,b=y.width;y=y.height,this.o.h(b/2,y/2),this.j.h(a,x,b,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=he.alloc(),b=y.ni(a,x);y=b.x;var E=b.y,z=b.width;if(b=b.height,isNaN(y)&&(y=0),isNaN(E)&&(E=0),this.j.h(y,E,z,b),he.free(x),!(a instanceof br)&&(a=a.locationObject.ga(xi),a.w())){this.o.h(a.x-y,a.y-E);return}this.o.h(z/2,b/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Cn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Cn,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Cn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new pn,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),Na.prototype.deleteDestinationEdge=Na.prototype.Jl,Na.prototype.addDestinationEdge=Na.prototype.zl,Na.prototype.deleteSourceEdge=Na.prototype.Kl,Na.prototype.addSourceEdge=Na.prototype.Cl,Na.className="LayoutVertex",Na.standardComparer=ry,Na.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},tl.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},tl.prototype.commit=function(){},tl.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},ln.Object.defineProperties(tl.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),tl.prototype.getOtherVertex=tl.prototype.Ax,tl.className="LayoutEdge";function qa(a){qo.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new Yt(NaN,NaN).freeze(),this.tf=new Yt(10,10).freeze(),this.Jb=fp,this.Rb=o0,this.nd=gp,this.hd=uS,a&&Object.assign(this,a)}Ne(qa,qo),qa.prototype.cloneProtected=function(a){qo.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},qa.prototype.qb=function(a){a.classType===qa?a===gp||a===s0||a===oy||a===a0?this.sorting=a:a===o0||a===au?this.arrangement=a:a===fp||a===r0?this.alignment=a:Qt("Unknown enum value: "+a):qo.prototype.qb.call(this,a)},qa.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var b=x.value;if(!b.ph()||b.fromNode===null&&b.toNode===null){if(b.Va(),b instanceof br)for(b=b.memberParts;b.next();)y.remove(b.value)}else y.remove(b)}var E=y.Fa();if(E.length!==0){switch(this.sorting){case a0:E.reverse();break;case gp:E.sort(this.comparer);break;case s0:E.sort(this.comparer),E.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var tt=this.wrappingWidth;switch(isNaN(tt)&&a!==null?(y=a.padding,tt=Math.max(a.viewportBounds.width-y.left-y.right,0)):tt=Math.max(this.wrappingWidth,0),0>=z&&0>=tt&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),b=[],this.alignment){case r0:var rt=y,ot=x,st=he.alloc(),ut=Math.max(this.cellSize.width,1);if(!isFinite(ut))for(var ft=ut=0;ftz-1||0tt)&&(b.push(new he(0,Tt,tt+rt,Zt)),Xt=0,bt=xt,Tt+=Zt,Zt=0),Zt=Math.max(Zt,Ie),vt){case au:ee=-ee.width;break;default:ee=0}switch(_t.moveTo(bt+ee,Tt),vt){case au:bt-=me;break;default:bt+=me}Xt++}b.push(new he(0,Tt,tt+rt,Zt)),he.free(st);break;case fp:for(ot=tt,ut=z,ft=y,vt=x,tt=he.alloc(),xt=Math.max(this.cellSize.width,1),z=Tt=st=0,rt=Ot.alloc(),bt=0;bt=st&&(ot-=st),st=_t=0,me=Math.max(this.cellSize.height,1),ee=z=0,Ie=!0,Xt=Ot.alloc(),li=0;liut-1||0ot){for(b.push(new he(0,Ie?qt-z:qt,ot+ft,ee+z+vt)),Di=0;Dist&&(z.width+=z.x-st,z.x=st);he.free(tt)}for(rt=z=tt=E=0;rty?1:0}ln.Object.defineProperties(qa.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0ft)){var Tt=ft+Jg(bt);bt.pc(Tt,!0),xv(bt,Tt,ft)}}y.isModified=!0}}finally{y.aa=!0}}}}},yo.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},yo.prototype.rp=function(){for(var a=this.H.model,y=new Cn,x=a.nodeDataArray,b=0;b=b)return"[]";var E=new Ar;E.add("["),x&&1b)return;ir(a.Tc,b)}Ea(a,"nodeDataArray",ua,"nodeDataArray",a,y,null,b,null),a.qp(y)}Ct.nA=function(a){if(ri(a))for(var y=a.length,x=0;xy&&(y=a.length),Gi(a,y,x),Ea(this,"",Uo,"",a,null,x,null,y)},Ct.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&Qt("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];ir(a,y),Ea(this,"",ua,"",a,x,null,y,null)},Ct.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=ma(a,y),y===void 0))return"";if(typeof y=="string")return y;Qt("getCategoryForNodeData found a non-string category for "+a+": "+y)},Ct.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var b=ma(a,x);b===void 0&&(b=""),b!==y&&(Jo(a,x,y),Ea(this,"nodeCategory",To,x,a,b,y))}else Jo(a,x,y)}},Ct.lm=function(a,y){this.jm(y,this.Ro(a))},Ct.Tl=function(){return!1},Ct.Wj=function(){return!1},Ct.ri=function(){return!1},Ct.xs=function(){return!1},Ct.Xj=function(){return!1};function hy(){return new Hi}function mp(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return mp(a,y.constructor);return typeof y}function dy(a){return ql[a]?ql[a]:Ye.go!==void 0&&Ye.go[a]?Ye.go[a]:null}function ma(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(b){}return x}function Jo(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(b){}}ln.Object.defineProperties(Hi.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&Qt("Model.nodeKeyProperty may not be the empty string"),0"+dl(this,E,!1)}return y},Ct.Qv=function(a,y){this.linkKeyProperty===""&&Qt("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var x=Hi.prototype.Qv.call(this,a,y),b=this,E=new Cn,z=new Cn,tt=new Cn,rt=this.vh;a.changes.each(function(ut){ut.model===b&&(ut.modelChange==="linkDataArray"?ut.change===Uo?E.add(ut.newValue):ut.change===ua&&tt.add(ut.oldValue):b.Jc(ut.object)?z.add(ut.object):ut.object!==null&&(ut.object!==null&&rt&&rt.contains(ut.object)?rt.get(ut.object).each(function(ft){b.Jc(ft)&&z.add(ft)}):ut.object instanceof Hi||b.lb(ut.object)||kS(b,ut.object).each(function(ft){z.add(ft)})))});var ot=this.il;ot.clear(),E.each(function(ut){ot.add(b.Ac(ut)),y||z.add(ut)});var st=this.kl;return st.clear(),tt.each(function(ut){st.add(b.Ac(ut)),y&&z.add(ut)}),a=b.cloneDeep(z.Fa()),0b.indexOf(a.newValue)&&b.splice(x,0,a.newValue));return}}else if(a.change===ua){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,Xe(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue):(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)));return}}Hi.prototype.changeState.call(this,a,y)}},Ct=_r.prototype,Ct.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),Jo(x,this.nodeKeyProperty,a),this.xf(x))}return a}},Ct.yx=function(a){return dl(this,a,!0)},Ct.wv=function(a,y){Vf(this,a,y,!0)},Ct.Bx=function(a){return dl(this,a,!1)},Ct.Bv=function(a,y){Vf(this,a,y,!1)};function dl(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=ma(y,a),a!==void 0))){if(fd(a))return a;Qt((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function Vf(a,y,x,b){if(x===null&&(x=void 0),y!==null){var E=b?a.lf:a.mf;if(E!=="")if(x=a.Vl(x),a.Jc(y)){var z=ma(y,E);z!==x&&(lu(a,z,y),Jo(y,E,x),a.hc(x)===null&&su(a,x,y),Ea(a,b?"linkFromKey":"linkToKey",To,E,y,z,x),typeof E=="string"&&a.La(y,E))}else Jo(y,E,x)}}Ct.zx=function(a){return c0(this,a,!0)},Ct.xv=function(a,y){Kf(this,a,y,!0)},Ct.Cx=function(a){return c0(this,a,!1)},Ct.Cv=function(a,y){Kf(this,a,y,!1)};function c0(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=ma(y,a),y===void 0?"":y)}function Kf(a,y,x,b){if(y!==null){var E=b?a.ej:a.fj;if(E!=="")if(a.Jc(y)){var z=ma(y,E);z===void 0&&(z=""),z!==x&&(Jo(y,E,x),Ea(a,b?"linkFromPortId":"linkToPortId",To,E,y,z,x),typeof E=="string"&&a.La(y,E))}else Jo(y,E,x)}}Ct.Ef=function(a){if(a===null)return f0;var y=this.je;return y===""?f0:(a=ma(a,y),a===void 0?f0:a)},Ct.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var b=ma(a,x);if(b===void 0&&(b=f0),b!==y){if(Array.isArray(b))for(var E=b.length,z=0;zE||(b.splice(E,1),this.Jc(a)&&(lu(this,y,a),Ea(this,"linkLabelKeys",ua,x,a,y,null,E,null)))}else b!==void 0&&Qt(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Ct.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=ma(a,y),y!==void 0)){if(fd(y))return y;Qt("Key value for link data "+a+" is not a number or a string: "+y)}}},Ct.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var b=ma(a,x);b!==y&&this.jh(y)===null&&(Jo(a,x,y),b!==void 0&&this.wb.remove(b),this.wb.add(y,a),Ea(this,"linkKey",To,x,a,b,y),typeof x=="string"&&this.La(a,x))}else Jo(a,x,y)}},Ct.jh=function(a){return a===null&&Qt("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&fd(a)?this.wb.I(a):null},Ct.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var b=this.cl;if(b!==null&&(x=b(this,a),x!=null&&!this.wb.contains(x))){Jo(a,y,x);return}if(typeof x=="string"){for(b=2;this.wb.contains(x+b);)b++;Jo(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;Jo(a,y,x)}}}}},Ct.Jc=function(a){return a===null?!1:this.$f.contains(a)},Ct.fi=function(a){a!==null&&(Or(a),this.Jc(a)||ES(this,a,!0))};function ES(a,y,x){if(a.linkKeyProperty!==""){var b=a.Ac(y);if(b!==void 0&&a.wb.I(b)===y)return;a.Bs(y),b=a.Ac(y),b===void 0&&Qt("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(b,y)}a.$f.add(y),b=null,x&&(b=a.md.length,a.md.splice(b,0,y)),Ea(a,"linkDataArray",Uo,"linkDataArray",a,null,y,null,b),cy(a,y)}Ct.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;xb)return;a.md.splice(b,1)}if(Ea(a,"linkDataArray",ua,"linkDataArray",a,y,null,b,null),x=dl(a,y,!0),lu(a,x,y),x=dl(a,y,!1),lu(a,x,y),b=a.Ef(y),Array.isArray(b))for(var E=b.length,z=0;z=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new pn;y.addAll(a.iterator),a=new pn;var x=new pn,b=this.sort(y),E,z,tt=this.Jp,rt=this.arrangement,ot=this.nodeDiameterFormula,st=this.radius;(!isFinite(st)||0>=st)&&(st=NaN);var ut=this.aspectRatio;(!isFinite(ut)||0>=ut)&&(ut=1);var ft=this.startAngle;isFinite(ft)||(ft=0);var vt=this.sweepAngle;if((!isFinite(vt)||360vt)&&(vt=360),y=this.spacing,isFinite(y)||(y=NaN),rt===$l&&ot===Hc?rt=_l:rt===$l&&ot!==Hc&&(rt=this.arrangement),(this.direction===ec||this.direction===Xf)&&this.sorting!==Yf){for(ot=0;!(ot>=b.length)&&(a.add(b.M(ot)),!(ot+1>=b.length));ot+=2)x.add(b.M(ot+1));this.direction===ec?(this.arrangement===$l&&a.reverse(),b=new pn,b.addAll(a),b.addAll(x)):(this.arrangement===$l&&x.reverse(),b=new pn,b.addAll(x),b.addAll(a))}ot=b.length;for(var xt=z=E=0;xtvt&&(xt===0||xt===b.length-1)&&(Tt/=2),E+=Tt,z++}if(isNaN(st)||rt===$l){if(isNaN(y)&&(y=6),rt!==_l&&rt!==$l){for(z=-1/0,tt=0;ttst?(st=E,z=st*ut):tt=xt/(360<=vt?ot:ot-1)}if(this.kw=rt,this.lc=st,this.Zm=ut,this.lw=ft,this.Wp=vt,this.Ti=y,this.me=z,this.Jp=tt,y=b,b=this.kw,rt=this.lc,st=this.lw,ut=this.Wp,ft=this.Ti,vt=this.me,ot=this.Jp,this.direction!==ec&&this.direction!==Xf||b!==$l)if(this.direction===ec||this.direction===Xf){switch(tt=0,b){case gd:tt=180*p0(this,rt,vt,st,ot)/Math.PI;break;case _l:ot=y=0,tt=a.first(),tt!==null&&(y=md(tt,Math.PI/2)),tt=x.first(),tt!==null&&(ot=md(tt,Math.PI/2)),tt=180*p0(this,rt,vt,st,ft+(y+ot)/2)/Math.PI;break;case Bh:tt=ut/y.length}if(this.direction===ec){switch(b){case gd:xp(this,a,st,pd);break;case _l:Sp(this,a,st,pd);break;case Bh:yp(this,a,ut/2,st,pd)}switch(b){case gd:xp(this,x,st+tt,Fs);break;case _l:Sp(this,x,st+tt,Fs);break;case Bh:yp(this,x,ut/2,st+tt,Fs)}}else{switch(b){case gd:xp(this,x,st,pd);break;case _l:Sp(this,x,st,pd);break;case Bh:yp(this,x,ut/2,st,pd)}switch(b){case gd:xp(this,a,st+tt,Fs);break;case _l:Sp(this,a,st+tt,Fs);break;case Bh:yp(this,a,ut/2,st+tt,Fs)}}}else switch(b){case gd:xp(this,y,st,this.direction);break;case _l:Sp(this,y,st,this.direction);break;case Bh:yp(this,y,ut,st,this.direction);break;case $l:TS(this,y,ut,st,this.direction)}else TS(this,y,ut,st-ut/2,Fs)}this.updateParts(),this.network=null,this.isValidLayout=!0};function yp(a,y,x,b,E){var z=a.Wp,tt=a.lc;a=a.me,b=b*Math.PI/180,x=x*Math.PI/180;for(var rt=y.length,ot=0;otx){for(z=b+(E===Fs?z:-z);0>z;)z+=360;z%=360,180=ut.length-1));ft++)OS(a,ot,st,ut,ft,E,z)||IS(a,ot,st,ut,ft,E,z),ot=z.x,st=z.y;if(Ot.free(z),a.mj++,!(23Math.abs(xt)?Math.abs(ot-z)<(ut[0].width+ut[ut.length-1].width)/2&&(tt=0):tt=0Math.abs(vt)?0:vt,ot=Math.abs(z)>Math.abs(ft)?0ft:0a.mj?a.lc-tt/(2*Math.PI):5>ut.length&&10=ft.length-1));vt++)OS(a,ot,st,ft,vt,E,ut)||IS(a,ot,st,ft,vt,E,ut),ot=ut.x,st=ut.y;if(Ot.free(ut),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0rt){if(z=y-a,z<-rt)return tt.x=z,tt.y=st,!1;ut=!0}}else if(z=y-a,z<-rt){if(z=y+a,z>rt)return tt.x=z,tt.y=st,!1;ut=!0}return st=Math.sqrt(1-Math.min(1,z*z/(rt*rt)))*ot,0>x!==ut&&(st=-st),Math.abs(x-st)>(b[E].height+b[E+1].height)/2?(tt.x=z,tt.y=st,!1):(tt.x=z,tt.y=st,!0)}function IS(a,y,x,b,E,z,tt){var rt=a.lc,ot=a.me,st=0;if(a=(b[E].height+b[E+1].height)/2+a.Ti,b=!1,0<=y!=(z===Fs)){if(z=x-a,z<-ot){if(z=x+a,z>ot){tt.x=st,tt.y=z;return}b=!0}}else if(z=x+a,z>ot){if(z=x-a,z<-ot){tt.x=st,tt.y=z;return}b=!0}st=Math.sqrt(1-Math.min(1,z*z/(ot*ot)))*rt,0>y!==b&&(st=-st),tt.x=st,tt.y=z}ea.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},ea.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new Ot(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;E.x+=x.x,E.y+=x.y,E.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},ea.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function fy(a,y,x,b,E){var z=a.ty;if(.001>Math.abs(a.Zm-1))return b!==void 0&&E!==void 0?E*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var tt=0,rt=b!==void 0&&E!==void 0?E/(z+1):Math.PI/(2*(z+1)),ot=0,st=0;st<=z;st++){b!==void 0&&E!==void 0?ot=b+st*E/z:ot=st*Math.PI/(2*z);var ut=Math.sin(ot);tt+=Math.sqrt(1-a*a*ut*ut)*rt}return b!==void 0&&E!==void 0?(y>x?y:x)*tt:4*(y>x?y:x)*tt}function g0(a,y,x,b,E){return y/(b!==void 0&&E!==void 0?fy(a,1,x,b,E):fy(a,1,x))}function p0(a,y,x,b,E){if(.001>Math.abs(a.Zm-1))return E/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,tt=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(b+=Math.PI/2);for(var rt=0;;rt++){var ot=Math.sin(b+rt*a);if(tt+=(y>x?y:x)*Math.sqrt(1-z*z*ot*ot)*a,tt>=E)return rt*a}}ea.prototype.sort=function(a){switch(this.sorting){case m0:break;case v0:a.reverse();break;case y0:a.sort(this.comparer);break;case S0:a.sort(this.comparer),a.reverse();break;case Yf:return this.ak(Dx(a));default:Qt("Invalid sorting type.")}return a};function Dx(a){for(var y=[],x=0;xE&&(E=rt,z=tt)}else for(tt=0;ttE&&(E=rt,z=tt);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),tt=z.sourceEdges;tt.next();)E=a.indexOf(tt.value.fromVertex),0>E||0<=y[E]&&y[E]++;for(z=z.destinationEdges;z.next();)E=a.indexOf(z.value.toVertex),0>E||0<=y[E]&&y[E]++}return x}ea.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(E)&&y[x].push(E);for(b=b.sourceEdges;b.next();)E=a.indexOf(b.value.fromVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E)}for(z=[],x=0;xy[x[bt]].indexOf(x[bt===x.length-1?0:bt+1])&&xt.push(bt===x.length-1?0:bt+1);if(xt.length===0)for(bt=0;btx.indexOf(Ie)||mex.indexOf(Ie)||me=Tt?me+1:me)),Zt+=me=Tt&&me++,_t>=Tt&&_t++,me>_t&&(ee=_t,_t=me,me=ee),_t-me<(x.length+2)/2==(mext||xt===ut||(bt=xt>ut?xt-ut:ut-xt,ft+=xttt-bt?1:-1);x.splice(0>ft?ut:ut+1,0,ot),b.splice(rt,1),rt--}else z=!1;if(z)break;x.push(b[0]),b.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==$l&&a!==_l&&a!==gd&&a!==Bh||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==Fs&&a!==pd&&a!==ec&&a!==Xf||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==m0&&a!==v0&&a!==y0&&!S0&&a!==Yf||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==x0&&a!==Hc||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var _l=new je(ea,"ConstantSpacing",0),gd=new je(ea,"ConstantDistance",1),Bh=new je(ea,"ConstantAngle",2),$l=new je(ea,"Packed",3),Fs=new je(ea,"Clockwise",4),pd=new je(ea,"Counterclockwise",5),ec=new je(ea,"BidirectionalLeft",6),Xf=new je(ea,"BidirectionalRight",7),m0=new je(ea,"Forwards",8),v0=new je(ea,"Reverse",9),y0=new je(ea,"Ascending",10),S0=new je(ea,"Descending",11),Yf=new je(ea,"Optimized",12),x0=new je(ea,"Pythagorean",13),Hc=new je(ea,"Circular",14);ea.className="CircularLayout",ea.ConstantSpacing=_l,ea.ConstantDistance=gd,ea.ConstantAngle=Bh,ea.Packed=$l,ea.Clockwise=Fs,ea.Counterclockwise=pd,ea.BidirectionalLeft=ec,ea.BidirectionalRight=Xf,ea.Forwards=m0,ea.Reverse=v0,ea.Ascending=y0,ea.Descending=S0,ea.Optimized=Yf,ea.Pythagorean=x0,ea.Circular=Hc;function Pp(){this.Pl=-1/0,this.tm=this.mk=null}Pp.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0rt?(E=vt.x+vt.width/2,z=vt.y+vt.height/2,st[0]=new Ot(vt.x+vt.width+b.width,vt.y),st[1]=new Ot(vt.x,vt.y+vt.height+b.height),rt=2):(ot=zS(st,rt,E,z,vt.width,vt.height,b),ft=st[ot],xt=new Ot(ft.x+vt.width+b.width,ft.y),vt=new Ot(ft.x,ft.y+vt.height+b.height),ot+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,b=this.network.vertexes.iterator;b.next();){if(b.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,b){return x===null||b===null||x===b?0:b.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=tt))){for(var st=rt=0,ut=ot.count-tt;utxt&&(xt=1),rt=ce.sqrt((rt+xt+st*st*4/(tt*tt))/xt),tt=(rt-1)*ut/2,rt=(rt-1)*ft/2,E.bounds=new he(z-vt.x-tt,ot-vt.y-rt,ut+2*tt,ft+2*rt),E.focus=new Ot(vt.x+tt,vt.y+rt)}}return a.network=b,x}function Ix(a,y){for(var x=a.network.vertexes.iterator;x.next();){var b=x.value;if(b.network=y,b.We!==null){var E=b.We.M(b.sv);b.Vd=E.Rs;var z=E.Sv,tt=E.Tv;b.bounds=new he(b.centerX-z,b.centerY-tt,E.Ss,E.Qs),b.focus=new Ot(z,tt),b.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function Rx(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var b=y.centerX,E=y.centerY,z=y.width,tt=y.height;y.We!==null&&0=ft.Vd?ot++:(rt=!0,st++,tt+=Math.atan2(y.centerY-ft.centerY,y.centerX-ft.centerX))}if(ot!==0){for(0>1)+st)*(rt%2===0?1:-1),ot.centerX=b+ut*Math.cos(ft),ot.centerY=E+ut*Math.sin(ft),rt++}}}}function zS(a,y,x,b,E,z,tt){var rt=9e19,ot=-1,st=0;t:for(;stut.y&&a[vt].x-ut.xut.x&&a[vt].y-ut.yy+z?(x=b+E-tt,a=a-y-z,ce.sqrt(x*x+a*a)):a+xtt+rt?a>y+z?(x=b-tt-rt,a=a-y-z,ce.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var b=x.centerX,E=b,z=x=x.centerY,tt=1;ttz-x)?y.sort(function(Tt,Xt){return Tt===null||Xt===null||Tt===Xt?0:Tt.centerX-Xt.centerX}):y.sort(function(Tt,Xt){return Tt===null||Xt===null||Tt===Xt?0:Tt.centerY-Xt.centerY}),x=a.Zf;var st=b=rt=0;for(z=0;zx||st-ot>x){if(E)break}else if(ut-xt>x||xt-ut>x){if(!E)break}else{var bt=jS(tt,vt);1>bt?(b=a.randomNumberGenerator,b===null&&(a.randomNumberGenerator=b=new w0),bt=b.random(),rt=b.random(),ot>st?(b=Math.abs(vt.bounds.right-tt.bounds.x),b=(1+b)*bt):otxt?(st=Math.abs(vt.bounds.bottom-tt.bounds.y),st=(1+st)*rt):otft?(ft=a.randomNumberGenerator,ft===null&&(a.randomNumberGenerator=ft=new w0),rt=ft.random(),ft=ft.random(),b=(b>ot?1:-1)*(1+(z.width>x.width?z.width:x.width))*rt,st=(tt>ut?1:-1)*(1+(z.height>x.height?z.height:x.height))*ft):(rt=rt.stiffness*(ft-rt.length),b=(ot-b)/ft*rt,st=(ut-tt)/ft*rt),x.forceX+=b,x.forceY+=st,z.forceX-=b,z.forceY-=st;for(E=b=0;Ea.epsilonDistance*a.epsilonDistance}as.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,b=this.moveLimit;return y<-b?y=-b:y>b&&(y=b),x<-b?x=-b:x>b&&(x=b),a.centerX+=y,a.centerY+=x,y*y+x*x},as.prototype.moveFixedVertex=function(){},as.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},as.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Ao,y.toSpot=Ao)}},as.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=he.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,he.free(x)}x=he.alloc();for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;(a!==0||y!==0)&&(x.assign(E.bounds),x.x+=a,x.y+=y,E.bounds=x),E.commit()}he.free(x)},as.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},as.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},as.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},as.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},as.prototype.electricalFieldX=function(){return 0},as.prototype.electricalFieldY=function(){return 0},as.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},as.prototype.gravitationalFieldX=function(){return 0},as.prototype.gravitationalFieldY=function(){return 0},as.prototype.isFixed=function(a){return a.isFixed},ln.Object.defineProperties(as.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Tt&&0Tt&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]tt)for(var ut=tt+1;utot;ut--)ft=b[ut],ft.near===st&&ft.Dj===st.Dj||rt++;var vt;if(0<=x)for(ot=b[tt].sourceEdgesArrayAccess,st=0;stTt||ft===Tt&&xt>bt)&&rt++,Xtft||Tt===ft&&bt>xt)&&rt++}}}if(0>=x){for(ot=b[tt].destinationEdgesArrayAccess,st=0;stTt||ft===Tt&&ut>Xt)&&rt++,btft||Tt===ft&&Xt>ut)&&rt++)}for(z[tt*E+tt]=rt,ot=tt+1;ot=x){for(rt=b[tt].destinationEdgesArrayAccess,_t=b[ot].destinationEdgesArrayAccess,st=0;st=x&&(ot=rt.sourceEdgesArrayAccess);var st=null;0<=x&&(st=rt.destinationEdgesArrayAccess);var ut=0,ft=0,vt=rt.near;if(vt!==null&&vt.layer===rt.layer&&(ut+=vt.column-1,ft++),ot!==null)for(vt=0;vt=x&&(ot=rt.sourceEdgesArrayAccess);var st=null;0<=x&&(st=rt.destinationEdgesArrayAccess);var ut=0,ft=[],vt=rt.near;if(vt!==null&&vt.layer===rt.layer&&(ft[ut]=vt.column-1,ut++),rt=void 0,ot!==null)for(vt=0;vt>1,z[tt]=ut&1?ft[st]:ft[st-1]+ft[st]>>1)}return yd(a,y,b),z}function bp(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var tt=y.destinationEdges;tt.next();){var rt=tt.value,ot=rt.toVertex,st=y.layer-ot.layer;rt=a.linkMinLength(rt),st===rt&&bp(a,ot,x,b,E,z)}if(z)for(tt=y.sourceEdges;tt.next();)rt=tt.value,ot=rt.fromVertex,st=ot.layer-y.layer,rt=a.linkMinLength(rt),st===rt&&bp(a,ot,x,b,E,z)}}function my(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var tt=y.destinationEdges;tt.next();)my(a,tt.value.toVertex,x,b,E,z);if(z)for(y=y.sourceEdges;y.next();)my(a,y.value.fromVertex,x,b,E,z)}}So.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case Sy:a=this.network;var y=0,x=a.vertexes.count-1,b=[];b.length=x+1;for(var E=a.vertexes.iterator;E.next();)E.value.valid=!0;for(;jx(a)!==null;){for(E=VS(a);E!==null;)b[x]=E,x--,E.valid=!1,E=VS(a);for(E=KS(a);E!==null;)b[y]=E,y++,E.valid=!1,E=KS(a);E=null;for(var z=0,tt=this.network.vertexes.iterator;tt.next();){var rt=tt.value;if(rt.valid){for(var ot=0,st=rt.destinationEdges;st.next();)st.value.toVertex.valid&&ot++;st=0;for(var ut=rt.sourceEdges;ut.next();)ut.value.fromVertex.valid&&st++;(E===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case A0:for(b=this.network.vertexes.iterator;b.next();)a=b.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,b.reset();b.next();)y=b.value,y.sourceEdges.count===0&&vy(this,y);for(b.reset();b.next();)y=b.value,y.Ll===-1&&vy(this,y);for(a.reset();a.next();)b=a.value,b.forest||(y=b.fromVertex,x=y.finish,E=b.toVertex,z=E.finish,E.Llb){if(0>b)for(y.reset();y.next();)y.value.layer-=b;for(b=[],y.reset();y.next();)x=y.value,E=b[x.layer],E===void 0?b[x.layer]=[x]:E.push(x);for(x=y=0;xtt&&bp(a,rt,0,-1,!0,!1)}for(bp(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,b=1/0,rt=0,ot=null,tt=a.network.vertexes.iterator;tt.next();){var st=tt.value;if(st.component===1){var ut=0,ft=!1,vt=st.sourceEdgesArrayAccess;E=vt.length;for(var xt=0;xtz)&&!ut&&(rt=tt,z=st)}if(0>b){for(x.reset();x.next();)b=x.value,b.component===1&&(b.layer-=E);y.component=0}else rt.component=0}}}function QS(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}So.prototype.initializeIndices=function(){switch(this.Qk){default:case Cy:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case E0:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&qS(this,x);break;case wy:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&_S(this,x)}};function qS(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var b=0;bz.portFromColOffset&&(x=!0,y[b]=z,y[b+1]=E)}}for(x=0;xz.portToColOffset&&(b=!0,y[x]=z,y[x+1]=E)}for(x=0;x=tt;b--)z=zl(this,b,-1)||z;for(E=this.countCrossings(),E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=x;b>=tt;b--)z=zl(this,b,1)||z;for(E=this.countCrossings(),E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=tt;b<=x;b++)z=zl(this,b,1)||z;for(E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=tt;b<=x;b++)z=zl(this,b,-1)||z;for(E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=x;b>=tt;b--)z=zl(this,b,0)||z;for(E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=tt;b<=x;b++)z=zl(this,b,0)||z;E>=a?Ml(this,y):(a=E,y=js(this))}break;default:case F0:for(x=this.Ia,tt=0,rt=a+1;(b=this.countCrossings())=tt;b--)z=zl(this,b,-1)||z;for(E=this.countCrossings(),E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=x;b>=tt;b--)z=zl(this,b,1)||z;for(E=this.countCrossings(),E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=tt;b<=x;b++)z=zl(this,b,1)||z;for(E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=tt;b<=x;b++)z=zl(this,b,-1)||z;for(E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=x;b>=tt;b--)z=zl(this,b,0)||z;for(E>=a?Ml(this,y):(a=E,y=js(this)),z=!0;z;)for(z=!1,b=tt;b<=x;b++)z=zl(this,b,0)||z;E>=a?Ml(this,y):(a=E,y=js(this))}}Ml(this,y)};function L0(a,y,x){var b=vd(a,y),E=a.tc[y],z=GS(a,y,x),tt=py(a,y,x);for(x=0;xz+1&&(vt+=4*(qt-z),xt+=4*(qt-(z+1)))}for(ee=b[z].destinationEdges.iterator,ee.reset();ee.next();)if(qt=ee.value,_t=qt.toVertex,qt.valid&&_t.layer===y){for(qt=0;b[qt]!==_t;)qt++;qt===z+1&&(xt+=1)}for(ee=b[z+1].sourceEdges.iterator,ee.reset();ee.next();)if(qt=ee.value,_t=qt.fromVertex,qt.valid&&_t.layer===y){for(qt=0;b[qt]!==_t;)qt++;qtz+1&&(vt+=4*(qt-(z+1)),xt+=4*(qt-z))}for(ee=b[z+1].destinationEdges.iterator,ee.reset();ee.next();)if(qt=ee.value,_t=qt.toVertex,qt.valid&&_t.layer===y){for(qt=0;b[qt]!==_t;)qt++;qt===z&&(vt+=1)}qt=_t=0,ee=tt[b[z].index];var me=rt[b[z].index],Ie=tt[b[z+1].index],li=rt[b[z+1].index];ee!==-1&&(_t+=Math.abs(ee-bt),qt+=Math.abs(ee-Zt)),me!==-1&&(_t+=Math.abs(me-bt),qt+=Math.abs(me-Zt)),Ie!==-1&&(_t+=Math.abs(Ie-Tt),qt+=Math.abs(Ie-Xt)),li!==-1&&(_t+=Math.abs(li-Tt),qt+=Math.abs(li-Xt)),(xt>1)+8*b;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=Jf(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=Jf(this,y,-1)||x;x=Jf(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)yy(this,y,1);for(y=this.Md-1;0<=y;y--)yy(this,y,-1);yy(this,this.Md,0)}if(a&&($S(this,-1),$S(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=Jf(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=Jf(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=Jf(this,y,0)||x}}else Gx(this)};function Jf(a,y,x){for(var b=!1;Hx(a,y,x);)b=!0;return b}function Hx(a,y,x){var b,E=vd(a,y),z=a.tc[y],tt=py(a,y,-1);if(0x)for(b=0;bb-1||ut-E[b-1].column-1>ft+a.nodeMinColumnSpace(E[b-1],!1)?xt=ut-1:xt=ut,ft=b+1>=z||E[b+1].column-ut-1>vt+a.nodeMinColumnSpace(E[b+1],!0)?ut+1:ut;var bt=vt=0,Tt=0;if(0>=x)for(var Xt=E[b].sourceEdges.iterator;Xt.next();){var Zt=Xt.value,qt=Zt.fromVertex;if(Zt.valid&&qt.layer!==y){var _t=gy(Zt),ee=Zt.portFromColOffset;Zt=Zt.portToColOffset,qt=qt.column,vt+=(Math.abs(ut+Zt-(qt+ee))+1)*_t,bt+=(Math.abs(xt+Zt-(qt+ee))+1)*_t,Tt+=(Math.abs(ft+Zt-(qt+ee))+1)*_t}}if(0<=x)for(Xt=E[b].destinationEdges.iterator;Xt.next();)Zt=Xt.value,qt=Zt.toVertex,Zt.valid&&qt.layer!==y&&(_t=gy(Zt),ee=Zt.portFromColOffset,Zt=Zt.portToColOffset,qt=qt.column,vt+=(Math.abs(ut+ee-(qt+Zt))+1)*_t,bt+=(Math.abs(xt+ee-(qt+Zt))+1)*_t,Tt+=(Math.abs(ft+ee-(qt+Zt))+1)*_t);Zt=ee=_t=0,Xt=tt[E[b].index],qt=rt[E[b].index],Xt!==-1&&(_t+=Math.abs(Xt-ut),ee+=Math.abs(Xt-xt),Zt+=Math.abs(Xt-ft)),qt!==-1&&(_t+=Math.abs(qt-ut),ee+=Math.abs(qt-xt),Zt+=Math.abs(qt-ft)),bt=tt[x]?ut=ot:st<=tt[x]&&(ut=st));ut!==rt&&(z=!0,b[x].column=ut)}yd(a,y,b),a.normalize()}function Zx(a,y){for(var x=!0,b=a.network.vertexes.iterator;b.next();){var E=b.value,z=a.nodeMinColumnSpace(E,!0),tt=a.nodeMinColumnSpace(E,!1);if(E.column-z<=y&&E.column+tt>=y){x=!1;break}}if(a=!1,x)for(b.reset();b.next();)x=b.value,x.column>y&&(--x.column,a=!0);return a}function Wx(a,y){var x=y+1,b,E=[],z=[];for(b=0;b<=a.Ia;b++)E[b]=!1,z[b]=!1;for(var tt=a.network.vertexes.iterator;tt.next();){b=tt.value;var rt=b.column-a.nodeMinColumnSpace(b,!0),ot=b.column+a.nodeMinColumnSpace(b,!1);rt<=y&&ot>=y&&(E[b.layer]=!0),rt<=x&&ot>=x&&(z[b.layer]=!0)}for(rt=!0,x=!1,b=0;b<=a.Ia;b++)rt=rt&&!(E[b]&&z[b]);if(rt)for(tt.reset();tt.next();)a=tt.value,a.column>y&&(--a.column,x=!0);return x}function $S(a,y){for(var x=0;x<=a.Ra;x++)for(;Zx(a,x););for(a.normalize(),x=0;xz?Ml(a,E):tty)for(x=a.Ra;0<=x;x--)for(E=js(a),z=C0(a),b=z+1;zz?Ml(a,E):ttx)for(b.reset();b.next();)E=b.value,E.column+a.nodeMinColumnSpace(E,!1)>=y&&(E.component=a.le);for(a.le++,b.reset();b.next();)y=b.value,y.component===-1&&(my(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(tt=a.Ra;0x)for(b.reset();b.next();)x=b.value,E[x.component]&&(x.column+=1)}function Gx(a){for(var y=ai(),x=a.fl.length,b=0;b<=x;b++)y[b]=[];for(b=a.network.vertexes.iterator;b.next();){var E=b.value;y[x-E.layer][E.index]=E}x=new Cn,Vx(y,x);var z=null,tt=null,rt=null,ot=null,st=(a.ve&1)!==0,ut=(a.ve&2)!==0,ft=(a.ve&4)!==0,vt=(a.ve&8)!==0;for(st&&(a.verticalAlignment(y,x,!0),z=b0(a,y,!0,!1)),y.reverse(),ft&&(a.verticalAlignment(y,x,!1),rt=b0(a,y,!1,!1)),b=oi(y),E=b.next();!E.done;E=b.next())E.value.reverse();vt&&(a.verticalAlignment(y,x,!1),ot=b0(a,y,!1,!0)),y.reverse(),ut&&(a.verticalAlignment(y,x,!0),tt=b0(a,y,!0,!0)),Jn(y),a.u(z,tt,rt,ot),a.network.vertexes.each(function(xt){var bt=ai();st&&bt.push(z.get(xt)),ut&&bt.push(tt.get(xt)),ft&&bt.push(rt.get(xt)),vt&&bt.push(ot.get(xt)),bt.sort(function(Xt,Zt){return Xt-Zt});var Tt=bt.length;Tt=(bt[Math.floor((Tt-1)/2)]+bt[Math.ceil((Tt-1)/2)])/2,Jn(bt),xt.zc=Tt})}function Vx(a,y){for(var x=a.length,b=1;but)&&y.add(ft);z++}E=ut}}}So.prototype.verticalAlignment=function(a,y,x){Kx(a),a=oi(a);for(var b=a.next();!b.done;b=a.next()){var E=-1;b=oi(b.value);for(var z=b.next();!z.done;z=b.next()){z=z.value;var tt=x?My(z):Ux(z),rt=tt.length;if(0=y[x].length)&&(tt=y[x][0],tt.sd===tt)){tt.sd.shift===1/0&&(tt.sd.shift=0),tt=x,rt=0;do{for(z=y[tt][rt];z.align!==z.root;)z=z.align,tt++,0a&&Qt("Could not determine previous vertex in layer"),y[x][a-1]}So.prototype.u=function(a){for(var y=[],x=0;xtt;tt++)if(y[tt]){var rt=Xx(this,y[tt],b,E,tt);rttt;z={delta:z.delta},tt++)y[tt]&&(z.delta=tt===0||tt===2?b[x]-b[tt]:E[x]-E[tt],z.delta!==0&&y[tt].each(function(ot){return function(st){st.value+=ot.delta}}(z)));Jn(b),Jn(E)};function Xx(a,y,x,b,E){if(!y||y.count===0)return x[E]=0,b[E]=0,1/0;var z=1/0,tt=-1/0;return y.each(function(rt){var ot=rt.key;rt=rt.value,ot=a.K===90||a.K===270?ot.width:ot.height,rttt&&(tt=rt+ot)}),x[E]=z,b[E]=tt,tt-z}So.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=M0(this,!0),y=M0(this,!1),x=this.network.edges.iterator;x.next();){var b=x.value.link;b!==null&&(b.fromSpot=a,b.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function M0(a,y){return a.K===270?y?ko:_o:a.K===90?y?_o:ko:a.K===180?y?Po:vo:y?vo:Po}So.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var b=0;b<=this.Ia;b++){var E=x;0>=this.he[b]+this.Ld[b]&&(E=0),0=ft.bounds.bottom?(ft=ft.bounds.y+ft.bounds.height,y.m(Tt++,ee,ft+Ie),y.m(Tt++,ee,ft),y.m(Tt++,ee,ft-_t)):(y.m(Tt++,ee,me+Ie),y.m(Tt++,ee,me),y.m(Tt++,ee,me-_t)):this.K===270?me<=ft.bounds.y?(ft=ft.bounds.y,y.m(Tt++,ee,ft-_t),y.m(Tt++,ee,ft),y.m(Tt++,ee,ft+Ie)):(y.m(Tt++,ee,me-_t),y.m(Tt++,ee,me),y.m(Tt++,ee,me+Ie)):this.K===0&&(ee>=ft.bounds.right?(ft=ft.bounds.x+ft.bounds.width,y.m(Tt++,ft+Ie,me),y.m(Tt++,ft,me),y.m(Tt++,ft-_t,me)):(y.m(Tt++,ee+Ie,me),y.m(Tt++,ee,me),y.m(Tt++,ee-_t,me)));else{y.m(Tt++,Zt,qt);var li=0;this.K===180||this.K===0?((this.K===180?ee>=ft.bounds.right:ee<=ft.bounds.x)&&(li=(this.K===0?-_t:Ie)/2),y.m(Tt++,Zt+li,me)):((this.K===270?me>=ft.bounds.bottom:me<=ft.bounds.y)&&(li=(this.K===90?-_t:Ie)/2),y.m(Tt++,ee,qt+li)),y.m(Tt++,ee,me)}}else _t=Math.max(10,this.he[Xt.layer]),Ie=Math.max(10,this.Ld[Xt.layer]),vt?this.K===180?(y.m(Tt++,ee-_t-bt,me),y.m(Tt++,Math.min(ee-_t+bt/2,ee),me),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,Math.max(ee+Ie-bt/2,ee),me),y.m(Tt++,ee+Ie+bt,me)):this.K===90?(y.m(Tt++,ee,me+Ie+bt),y.m(Tt++,ee,Math.max(me+Ie-bt/2,me)),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,ee,Math.min(me-_t+bt/2,me)),y.m(Tt++,ee,me-_t-bt)):this.K===270?(y.m(Tt++,ee,me-_t-bt),y.m(Tt++,ee,Math.min(me-_t+bt/2,me)),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,ee,Math.max(me+Ie-bt/2,me)),y.m(Tt++,ee,me+Ie+bt)):(y.m(Tt++,ee+Ie+bt,me),y.m(Tt++,Math.max(ee+Ie-bt/2,ee),me),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,Math.min(ee-_t+bt/2,ee),me),y.m(Tt++,ee-_t-bt,me)):y.m(Tt++,ee,me)}ft=Xt}(rt===null||st!==Ii||xt)&&(Zt=y.i(Tt-1).x,qt=y.i(Tt-1).y,ee=y.i(Tt).x,me=y.i(Tt).y,xt?(bt=this.Ld[ut.layer],this.K===180||this.K===0?(xt=qt,xt>=ut.bounds.y&&xt<=ut.bounds.bottom&&(this.K===180?ee>=ut.bounds.x:ee<=ut.bounds.right)&&(ft=ut.centerX+(this.K===180?-bt:bt),xt=ut.bounds.x&&xt<=ut.bounds.right&&(this.K===270?me>=ut.bounds.y:me<=ut.bounds.bottom)&&(ft=ut.centerY+(this.K===270?-bt:bt),xt=ut.bounds.x?(ft=ut.bounds.x+ut.bounds.width,y.L(Tt-2,ft,qt),y.L(Tt-1,ft+Ie,qt)):this.K===90&&me<=ut.bounds.bottom?(ft=ut.bounds.y,y.L(Tt-2,Zt,ft),y.L(Tt-1,Zt,ft-_t)):this.K===270&&me>=ut.bounds.y?(ft=ut.bounds.y+ut.bounds.height,y.L(Tt-2,Zt,ft),y.L(Tt-1,Zt,ft+Ie)):this.K===0&&ee<=ut.bounds.right&&(ft=ut.bounds.x,y.L(Tt-2,ft,qt),y.L(Tt-1,ft-_t,qt))):(_t=Math.max(10,this.he[ut.layer]),Ie=Math.max(10,this.Ld[ut.layer]),xt=0,this.K===180||this.K===0?((this.K===180?ee<=ut.bounds.x:ee>=ut.bounds.right)&&(xt=(this.K===0?Ie:-_t)/2),y.m(Tt++,ee+xt,qt)):((this.K===270?me<=ut.bounds.y:me>=ut.bounds.bottom)&&(xt=(this.K===90?Ie:-_t)/2),y.m(Tt++,Zt,me+xt)),y.m(Tt++,ee,me)))}else{for(;ut!==null&&ut!==ft;){for(_t=Xt=null,ut=ut.destinationEdges.iterator;ut.next()&&(Zt=ut.value,Zt.link!==x.link||(Xt=Zt.toVertex,_t=Zt.fromVertex,_t.node!==null&&(_t=null),Xt.node!==null)););if(Xt===null)break;Xt!==ft&&(Zt=y.i(Tt-1).x,qt=y.i(Tt-1).y,ee=Xt.centerX,me=Xt.centerY,xt?this.K===180||this.K===0?(_t!==null?_t.centerY:qt)!==me&&(_t=this.Ta[Xt.layer]+this.Rf.x,Tt===y.firstPickIndex+1&&(_t=this.K===0?Math.max(_t,Zt):Math.min(_t,Zt)),y.m(Tt++,_t,qt),y.m(Tt++,_t,me)):(_t!==null?_t.centerX:Zt)!==ee&&(_t=this.Ta[Xt.layer]+this.Rf.y,Tt===y.firstPickIndex+1&&(_t=this.K===90?Math.max(_t,qt):Math.min(_t,qt)),y.m(Tt++,Zt,_t),y.m(Tt++,ee,_t)):(_t=Math.max(10,this.he[Xt.layer]),Ie=Math.max(10,this.Ld[Xt.layer]),vt?this.K===180?(y.m(Tt++,ee+Ie+bt,me),y.m(Tt++,Math.max(ee+Ie-bt/2,ee),me),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,Math.min(ee-_t+bt/2,ee),me),y.m(Tt++,ee-_t-bt,me)):this.K===90?(y.m(Tt++,ee,me-_t-bt),y.m(Tt++,ee,Math.min(me-_t+bt/2,me)),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,ee,Math.max(me+Ie-bt/2,me)),y.m(Tt++,ee,me+Ie+bt)):this.K===270?(y.m(Tt++,ee,me+Ie+bt),y.m(Tt++,ee,Math.max(me+Ie-bt/2,me)),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,ee,Math.min(me-_t+bt/2,me)),y.m(Tt++,ee,me-_t-bt)):(y.m(Tt++,ee-_t-bt,me),y.m(Tt++,Math.min(ee-_t+bt/2,ee),me),y.m(Tt++,ee,me),y.m(Tt++,ee,me),y.m(Tt++,Math.max(ee+Ie-bt/2,ee),me),y.m(Tt++,ee+Ie+bt,me)):this.K===180?(y.m(Tt++,ee+Ie,me),y.m(Tt++,ee-_t,me)):this.K===90?(y.m(Tt++,ee,me-_t),y.m(Tt++,ee,me+Ie)):this.K===270?(y.m(Tt++,ee,me+Ie),y.m(Tt++,ee,me-_t)):(y.m(Tt++,ee-_t,me),y.m(Tt++,ee+Ie,me)))),ut=Xt}xt&&(Zt=y.i(Tt-1).x,qt=y.i(Tt-1).y,ee=y.i(Tt).x,me=y.i(Tt).y,this.K===180||this.K===0?qt!==me&&(_t=this.K===0?Math.min(Math.max((ee+Zt)/2,this.Ta[ft.layer]+this.Rf.x),ee):Math.max(Math.min((ee+Zt)/2,this.Ta[ft.layer]+this.Rf.x),ee),y.m(Tt++,_t,qt),y.m(Tt++,_t,me)):Zt!==ee&&(_t=this.K===90?Math.min(Math.max((me+qt)/2,this.Ta[ft.layer]+this.Rf.y),me):Math.max(Math.min((me+qt)/2,this.Ta[ft.layer]+this.Rf.y),me),y.m(Tt++,Zt,_t),y.m(Tt++,ee,_t)))}b!==null&&vt&&4<=y.pointsCount&&(tt!==null&&(tt=st===Ii?y.getLinkPointFromPoint(E,tt,tt.ga(xi),y.i(3),!0):y.i(0),st===Ii&&(st=y.i(2),b=y.i(3),this.direction===90||this.direction===270?(y.L(1,(tt.x+st.x)/2,st.y),y.L(2,b.x,(st.y+b.y)/2)):(y.L(1,st.x,(tt.y+st.y)/2),y.L(2,(st.x+b.x)/2,b.y))),tt.w()||tt.set(E.actualBounds.center),y.L(0,tt.x,tt.y)),rt!==null&&(E=ot===Ii?y.getLinkPointFromPoint(z,rt,rt.ga(xi),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),ot===Ii&&(rt=y.i(y.pointsCount-3),ot=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(E.x+rt.x)/2,rt.y),y.L(y.pointsCount-2,ot.x,(rt.y+ot.y)/2)):(y.L(y.pointsCount-2,rt.x,(E.y+rt.y)/2),y.L(y.pointsCount-3,(rt.x+ot.x)/2,ot.y))),E.w()||E.set(z.actualBounds.center),y.L(y.pointsCount-1,E.x,E.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},So.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new pn,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(ut=st.y>z.y?0:tt.xz.x&&(ut=st.x>z.x?0:tt.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Ct.Ux=function(a,y){return a instanceof Sd&&y instanceof Sd&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ct.Js=function(a,y){return a instanceof Sd&&y instanceof Sd&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ct.B=function(a,y){return a-=y,-1a},Ct.zi=function(a,y,x,b){var E=a.length,z=b-x;if(!(1>=z))if((0>x||x>=E-1)&&Qt("not in range 0 <= from < length: "+x),z===2)b=a[x],E=a[x+1],0=E)a.sort(y);else for(x=a.slice(0,b),x.sort(y),y=0;y=E)for(b=a.slice(x),b.sort(y),y=x;y=a.He.length){for(var b=[],E=0;Ea&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var A0=new je(So,"CycleDepthFirst",0),Sy=new je(So,"CycleGreedy",1),Mp=new je(So,"CycleFromLayers",2),k0=new je(So,"LayerOptimalLinkLength",0),xy=new je(So,"LayerLongestPathSink",1),Py=new je(So,"LayerLongestPathSource",2),E0=new je(So,"InitDepthFirstOut",0),wy=new je(So,"InitDepthFirstIn",1),Cy=new je(So,"InitNaive",2),Ly=new je(So,"AggressiveNone",0),F0=new je(So,"AggressiveLess",1),by=new je(So,"AggressiveMore",2),Yx=8;So.className="LayeredDigraphLayout",So.CycleDepthFirst=A0,So.CycleGreedy=Sy,So.CycleFromLayers=Mp,So.LayerOptimalLinkLength=k0,So.LayerLongestPathSink=xy,So.LayerLongestPathSource=Py,So.InitDepthFirstOut=E0,So.InitDepthFirstIn=wy,So.InitNaive=Cy,So.AggressiveNone=Ly,So.AggressiveLess=F0,So.AggressiveMore=by,So.PackNone=0,So.PackExpand=1,So.PackStraighten=2,So.PackMedian=4,So.PackAll=15,So.AlignNone=0,So.AlignUpperLeft=1,So.AlignUpperRight=2,So.AlignLowerLeft=4,So.AlignLowerRight=8,So.AlignAll=15;function Sd(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}Sd.className="SegInfo";function Qf(a){Io.call(this,a)}Ne(Qf,Io),Qf.prototype.createVertex=function(){return new Al(this)},Qf.prototype.createEdge=function(){return new Ap(this)},Qf.className="LayeredDigraphNetwork";function Al(a){Na.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}Ne(Al,Na);function ix(a,y){return a.index-y.index}function N0(a,y){if(!a.$n){for(var x=[],b=oi(a.destinationEdgesArrayAccess),E=b.next();!E.done;E=b.next())E=E.value,E.valid&&x.push(E);a.$n=x}for(a=oi(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;Qt("Unable to find destination edge to given vertex")}function My(a){if(!a.co){for(var y=[],x=oi(a.sourceEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.fromVertex);y.sort(ix),a.co=y}return a.co}function Ux(a){if(!a.ao){for(var y=[],x=oi(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.toVertex);y.sort(ix),a.ao=y}return a.ao}Al.prototype.Cl=function(a){Na.prototype.Cl.call(this,a),this.bo=this.co=null},Al.prototype.Kl=function(a){Na.prototype.Kl.call(this,a),this.bo=this.co=null},Al.prototype.zl=function(a){Na.prototype.zl.call(this,a),this.$n=this.ao=null},Al.prototype.Jl=function(a){Na.prototype.Jl.call(this,a),this.$n=this.ao=null},ln.Object.defineProperties(Al.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Al.prototype.deleteDestinationEdge=Al.prototype.Jl,Al.prototype.addDestinationEdge=Al.prototype.zl,Al.prototype.deleteSourceEdge=Al.prototype.Kl,Al.prototype.addSourceEdge=Al.prototype.Cl,Al.className="LayeredDigraphVertex";function Ap(a){tl.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}Ne(Ap,tl),ln.Object.defineProperties(Ap.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),Ap.className="LayeredDigraphEdge";function Zr(a){qo.call(this),this.Ub=new Cn,this.Wn=O0,this.ud=Wu,this.vo=R0,this.Bq=Ry,this.$v=[],this.td=!0,this.Rb=z0,this.$d=new Yt(10,10).freeze();var y=new Kc(this);this.W=new jl(y),this.Y=new jl(y),this.ru=[],a&&Object.assign(this,a)}Ne(Zr,qo),Zr.prototype.cloneProtected=function(a){qo.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},Zr.prototype.qb=function(a){a.classType===Zr?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:Qt("Unknown enum value: "+a):qo.prototype.qb.call(this,a)},Zr.prototype.createNetwork=function(){return new Kc(this)},Zr.prototype.makeNetwork=function(a){function y(b){if(b instanceof gi)return!b.isLinkLabel&&b.category!=="Comment";if(b instanceof Rn){var E=b.fromNode;return E===null||E.isLinkLabel||E.category==="Comment"?!1:(b=b.toNode,!(b===null||b.isLinkLabel||b.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof Re?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof br?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},Zr.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==j0&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof Re&&(y=a),this.path===O0&&y!==null?this.ud=y.isTreePathToChildren?Wu:Gc:this.ud=this.path===O0?Wu:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}Zr.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,b=0,E=0;EE?hx(this,a,tt,gr,Zt,qt):dx(this,a,tt,gr,Zt,qt),gr=qt.x,Zt=qt.width,qt=qt.height;break;case Ih:for(ee=0;eeft&&(DiWa&&(Wc(a,-Wa,0,Cr,ao-1),B0(ee,-Wa,0),B0(me,-Wa,0),Wa=0)}Bo.S.h(Wa,wi),Zt=Math.max(Zt,Ie),qt=Math.max(qt,_t+(In===0?0:bt)+Oa.height),Di=Ie}else 0ft&&(wiWa&&(Wc(a,0,-Wa,Cr,ao-1),B0(ee,0,-Wa),B0(me,0,-Wa),Wa=0)),Bo.S.h(Di,Wa),qt=Math.max(qt,li),Zt=Math.max(Zt,_t+(In===0?0:bt)+Oa.width),wi=li;yn++}switch(0st&&(st=0),135Tt&&(Tt=0),ot===ah&&(rt+=vt/2+a.focus.y),tt+=b+x):y?(a.comments===null?b>Zt&&(Zt=Ny(ot,b-Zt,0),tt=Zt.x,rt=Zt.y,Zt=b,st=0):Zt=Ey(a,Zt,st),0>st&&(tt-=st,st=0),135qt&&(qt=Ny(ot,0,Xt-qt),tt=qt.x,rt=qt.y,qt=Xt,Tt=0):qt=Fy(a,qt,Tt),0>Tt&&(rt-=Tt,Tt=0),tt+=b+x),0E[0].x?E[2].assign(E[1]):E[1].assign(E[2])),E[3].yE[0].x?E[3].assign(E[2]):E[2].assign(E[3])),In[0].h(st+b,0),In[1].h(In[0].x,Xt),In[2].yE[0].y?E[2].assign(E[1]):E[1].assign(E[2])),E[3].xE[0].y?E[3].assign(E[2]):E[2].assign(E[3])),In[0].h(0,Tt+Xt),In[1].h(b,In[0].y),In[2].xb?hx(a,y,E,yn,_t,ee):dx(a,y,E,yn,_t,ee),yn=ee.x,_t=ee.width,ee=ee.height;break;case Ih:for(vt=0;vtvt&&(Ievt&&(lift&&(ft=0),135Zt&&(Zt=0)),y.la.h(ft,Zt),y.Da.h(_t,ee)}}Zr.prototype.customAlignment=function(a,y,x,b,E){return[y,x,b,E]};function hx(a,y,x,b,E,z){var tt=x.length;if(tt===0)return new he(b,0,E,z);if(tt===1)return y=x[0],E=y.Da.width,z=y.Da.height,new he(b,0,E,z);for(var rt=y.nodeSpacing,ot=y.rowSpacing,st=tu(y)===90,ut=0,ft=0,vt=0,xt=0;xtst&&(E-=st),z=Math.max(z,Math.max(xt,vt)+a+tt.height),0>x.S.x&&(b=T0(y,x.S.x,!1,b,rt))):(x.S.h(E+a,b+rt/2-x.focus.y-x.la.y),E=Math.max(E,Math.max(bt,ft)+a+tt.width),vt=b+rt/2-x.focus.y-x.la.y,z=Math.max(z,vt+tt.height),0>vt&&(z-=vt),0>x.S.y&&(b=T0(y,x.S.y,!0,b,rt)))),new he(b,0,E,z)}function dx(a,y,x,b,E,z){var tt=x.length;if(tt===0)return new he(b,0,E,z);if(tt===1)return x=x[0],E=x.Da.width,z=x.Da.height,new he(b,0,E,z);for(var rt=y.nodeSpacing,ot=y.rowSpacing,st=tu(y)===270,ut=0,ft=0,vt=0,xt=0;xtft&&(E-=ft),z=Math.max(z,Math.abs(Math.min(xt,vt))+a+ut.height),0>ot.S.x&&(b=T0(y,ot.S.x,!1,b,rt))):(ot.S.h(-E-ut.width-a,b+rt/2-ot.focus.y-ot.la.y),E=Math.max(E,Math.abs(Math.min(bt,ft))+a+ut.width),vt=b+rt/2-ot.focus.y-ot.la.y,z=Math.max(z,vt+ut.height),0>vt&&(z-=vt),0>ot.S.y&&(b=T0(y,ot.S.y,!0,b,rt)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case Gu:return a.width>y?a.width:y;case Vu:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Oh:case Ku:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Ih:return a.width-a.focus.x+a.nodeSpacing/2+y;case ah:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Fy(a,y,x){switch(a.alignment){case Vc:case _f:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case Gu:return a.height>y?a.height:y;case Vu:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Oh:case Ku:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Ih:return a.height-a.focus.y+a.nodeSpacing/2+y;case ah:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Ny(a,y,x){switch(a){case _f:y/=2,x/=2;break;case Vc:y/=2,x/=2;break;case Gu:x=y=0;break;case Vu:break;default:Qt("Unhandled alignment value "+a.toString())}return new Ot(y,x)}function nc(a,y,x,b,E,z){y=Ny(y,x,b),Wc(a,y.x,y.y,E,z)}function Wc(a,y,x,b,E){if(y!==0||x!==0)for(a=a.children;b<=E;b++){var z=a[b].S;z.x+=y,z.y+=x}}function D0(a,y,x,b){var E=y.parent;switch(a.ud){case Wu:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===E&&y.relativePoint.h(x,b);break;case Gc:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===E&&y.relativePoint.h(x,b);break;default:Qt("Unhandled path value "+a.ud.toString())}}function B0(a,y,x){for(var b=0;bft.length||xt===null||2>xt.length))for(E=x=0;xst&&z.yz.y&&sty.length||x===null||2>x.length)b=null;else{for(ut=Ks(a,y.length+x.length),b=z=ot=0;zot;)st=x[z++],ut[b++].h(st.x+E,st.y);for(x=Ks(a,b),ot=0;otft.length||z===null||2>z.length)E=null;else{for(ut=Ks(a,ft.length+z.length),E=st=x=0;xz;)ot=ft[x++],ut[E++].h(ot.x,ot.y);for(z=Ks(a,E),x=0;xft.length||xt===null||2>xt.length))for(E=x=0;xot&&z.xz.x&&oty.length||x===null||2>x.length)b=null;else{for(ut=Ks(a,y.length+x.length),b=z=ot=0;zot;)st=x[z++],ut[b++].h(st.x,st.y+E);for(x=Ks(a,b),ot=0;otft.length||z===null||2>z.length)E=null;else{for(ut=Ks(a,ft.length+z.length),E=st=x=0;xz;)ot=ft[x++],ut[E++].h(ot.x,ot.y);for(z=Ks(a,E),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}Zr.prototype.computeLayerSpacing=function(a){var y=tu(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==I0&&a!==Tp||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==qf&&a!==Ep&&a!==Fp&&!Np||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==I0&&a!==Tp||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var O0=new je(Zr,"PathDefault",-1),Wu=new je(Zr,"PathDestination",0),Gc=new je(Zr,"PathSource",1),qf=new je(Zr,"SortingForwards",10),Ep=new je(Zr,"SortingReverse",11),Fp=new je(Zr,"SortingAscending",12),Np=new je(Zr,"SortingDescending",13),_f=new je(Zr,"AlignmentCenterSubtrees",20),Vc=new je(Zr,"AlignmentCenterChildren",21),Gu=new je(Zr,"AlignmentStart",22),Vu=new je(Zr,"AlignmentEnd",23),Oh=new je(Zr,"AlignmentBus",24),Ku=new je(Zr,"AlignmentBusBranching",25),Ih=new je(Zr,"AlignmentTopLeftBus",26),ah=new je(Zr,"AlignmentBottomRightBus",27),I0=new je(Zr,"CompactionNone",30),Tp=new je(Zr,"CompactionBlock",31),R0=new je(Zr,"StyleLayered",40),Dy=new je(Zr,"StyleLastParents",41),By=new je(Zr,"StyleAlternating",42),Oy=new je(Zr,"StyleRootOnly",43),z0=new je(Zr,"ArrangementVertical",50),Iy=new je(Zr,"ArrangementHorizontal",51),j0=new je(Zr,"ArrangementFixedRoots",52),Ry=new je(Zr,"LayerIndividual",60),zy=new je(Zr,"LayerSiblings",61),H0=new je(Zr,"LayerUniform",62);Zr.className="TreeLayout",Zr.PathDefault=O0,Zr.PathDestination=Wu,Zr.PathSource=Gc,Zr.SortingForwards=qf,Zr.SortingReverse=Ep,Zr.SortingAscending=Fp,Zr.SortingDescending=Np,Zr.AlignmentCenterSubtrees=_f,Zr.AlignmentCenterChildren=Vc,Zr.AlignmentStart=Gu,Zr.AlignmentEnd=Vu,Zr.AlignmentBus=Oh,Zr.AlignmentBusBranching=Ku,Zr.AlignmentTopLeftBus=Ih,Zr.AlignmentBottomRightBus=ah,Zr.CompactionNone=I0,Zr.CompactionBlock=Tp,Zr.StyleLayered=R0,Zr.StyleLastParents=Dy,Zr.StyleAlternating=By,Zr.StyleRootOnly=Oy,Zr.ArrangementVertical=z0,Zr.ArrangementHorizontal=Iy,Zr.ArrangementFixedRoots=j0,Zr.LayerIndividual=Ry,Zr.LayerSiblings=zy,Zr.LayerUniform=H0;function Kc(a){Io.call(this,a)}Ne(Kc,Io),Kc.prototype.createVertex=function(){return new jl(this)},Kc.prototype.createEdge=function(){return new $f(this)},Kc.className="TreeNetwork";function jl(a){Na.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new Ot(0,0),this.Da=new Yt(0,0),this.la=new Ot(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=qf,this.hd=ry,this.Kb=0,this.Jb=Vc,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=Tp,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Ao,this.wr=!0,this.Dp=Ao}Ne(jl,Na),jl.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},ln.Object.defineProperties(jl.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xxt.y+x.rowIndent&&(z=Math.min(z,Math.max(ft.y,z-y.computeNodeIndent(x))))):x.alignment===Gu?(z=b.top+E.y,E.y===0&&ft.yxt.x+x.rowIndent&&(z=Math.min(z,Math.max(ft.x,z-y.computeNodeIndent(x))))):x.alignment===Gu?(z=b.left+E.x,E.x===0&&ft.xxt.y+x.rowIndent&&(z=Math.min(z,Math.max(ft.y,z-y.computeNodeIndent(x))))):x.alignment===Gu?(z=b.top+E.y,E.y===0&&ft.yxt.x+x.rowIndent&&(z=Math.min(z,Math.max(ft.x,z-y.computeNodeIndent(x))))):x.alignment===Gu?(z=b.left+E.x,E.x===0&&ft.x0&&jt[jt.length-1])||Ae[0]!==6&&Ae[0]!==2)){Gt=0;continue}if(Ae[0]===3&&(!jt||Ae[1]>jt[0]&&Ae[1]',"select"),this.addActionButton(kt,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(kt,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(kt,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(kt,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(kt,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(kt,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(kt,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(Mt){var Gt=document.createElement("div");Gt.className=""+yt.toolbarButtonStyleClass.name,Gt.setAttribute("data-type-name",Mt.typeName),Gt.innerHTML=Mt.icon,Gt.addEventListener("click",function(){yt.markerToolbarButtonClicked(Gt,Mt)}),yt.buttons.push(Gt),yt.markerButtons.push(Gt)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var jt=document.createElement("div");jt.className=this.toolbarBlockStyleClass.name,jt.style.whiteSpace="nowrap",jt.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(jt),this.addActionButton(jt,'',"render"),this.addActionButton(jt,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Dt.prototype.addButtonClickListener=function(wt){this.buttonClickListeners.push(wt)},Dt.prototype.removeButtonClickListener=function(wt){this.buttonClickListeners.indexOf(wt)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(wt),1)},Dt.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Dt.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var wt=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var yt=0;yt0&&this.buttonClickListeners.forEach(function(kt){return kt("marker",yt)}),this.markerButtonOverflowBlock.style.display="none"},Dt.prototype.actionToolbarButtonClicked=function(wt,yt){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(kt){return kt("action",yt)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Dt.prototype.setActiveButton=function(wt){this.resetButtonStyles(),wt.className=wt.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),wt.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Dt.prototype.setActiveMarkerButton=function(wt){var yt=this.markerButtons.find(function(kt){return kt.getAttribute("data-type-name")===wt});yt&&this.setActiveButton(yt)},Dt.prototype.setCurrentMarker=function(wt){var yt=this;this.currentMarker=wt,this.buttons.filter(function(kt){return/delete|notes/.test(kt.getAttribute("data-action"))}).forEach(function(kt){yt.currentMarker===void 0?(kt.style.fillOpacity="0.4",kt.style.pointerEvents="none"):(kt.style.fillOpacity="1",kt.style.pointerEvents="all")})},Dt}(),Bt=function(){function Dt(wt,yt,kt,jt){this.panels=[],this.panelButtons=[],this.markerjsContainer=wt,this.displayMode=yt,this.uiStyleSettings=kt,this.styles=jt,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Dt.prototype.addStyles=function(){var wt;this.toolboxStyleClass=this.styles.addClass(new ie("toolbox",` width: 100%; flex-shrink: 0; display: flex; flex-direction: column; font-family: sans-serif; `+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+` box-sizing: content-box; `+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+` `+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` `+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` overflow: hidden; `)),this.toolboxStyleColorsClass=this.styles.addClass(new ie("toolbox_colors",` color: `+this.uiStyleSettings.toolboxColor+`; `));var yt=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ie("toolbox-button-row",` display: flex; cursor: default; box-sizing: content-box; `)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ie("toolbox-button-row_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`; `)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ie("toolbox-panel-row",` display: flex; `+(this.displayMode==="inline"?"position: absolute;":"")+` `+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+` cursor: default; height: `+1.5*this.uiStyleSettings.toolbarHeight+`px; `+(this.displayMode==="inline"?"width: 100%;":"")+` box-sizing: content-box; `)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ie("toolbox-panel-row_colors",` background-color: `+((wt=this.uiStyleSettings.toolboxBackgroundColor)!==null&&wt!==void 0?wt:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; `)),this.toolboxButtonStyleClass=this.styles.addClass(new ie("toolbox_button",` display: inline-block; width: `+(this.uiStyleSettings.toolbarHeight-2*yt)+`px; height: `+(this.uiStyleSettings.toolbarHeight-2*yt)+`px; padding: `+yt+`px; box-sizing: content-box; `)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ie("toolbox-button_colors",` fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ie("toolbox-active-button_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.styles.addRule(new Je("."+this.toolboxButtonStyleColorsClass.name+":hover",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` `)),this.styles.addRule(new Je("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; `))},Dt.prototype.show=function(wt){var yt;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=wt,this.uiContainer.className=this.toolboxStyleClass.name+" "+((yt=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&yt!==void 0?yt:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Dt.prototype.setPanelButtons=function(wt){var yt,kt,jt=this;this.panels=wt,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((yt=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&yt!==void 0?yt:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((kt=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&kt!==void 0?kt:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Mt){var Gt;Mt.uiStyleSettings=jt.uiStyleSettings;var Ce=document.createElement("div");Ce.className=jt.toolboxButtonStyleClass.name+" "+((Gt=jt.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Gt!==void 0?Gt:jt.toolboxButtonStyleColorsClass.name),Ce.innerHTML=Mt.icon,Ce.title=Mt.title,Ce.addEventListener("click",function(){jt.panelButtonClick(Mt)}),jt.panelButtons.push(Ce),jt.buttonRow.appendChild(Ce)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Dt.prototype.panelButtonClick=function(wt){var yt=this,kt=-1;if(wt!==this.activePanel){kt=this.panels.indexOf(wt),this.panelRow.innerHTML="";var jt=wt.getUi();jt.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(jt),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=wt}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){yt.displayMode==="inline"?yt.panelRow.style.display="none":yt.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Mt,Gt){var Ce,be;Mt.className=yt.toolboxButtonStyleClass.name+" "+(Gt===kt?""+((Ce=yt.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ce!==void 0?Ce:yt.toolboxActiveButtonStyleColorsClass.name):""+((be=yt.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&be!==void 0?be:yt.toolboxButtonStyleColorsClass.name))})},Dt}(),et=function(Dt,wt){this.title=Dt,this.icon=wt},nt=function(Dt){function wt(yt,kt,jt,Mt){var Gt=Dt.call(this,yt,Mt||'')||this;return Gt.colors=[],Gt.addTransparent=!1,Gt.colorBoxes=[],Gt.colors=kt,Gt.currentColor=jt,Gt.setCurrentColor=Gt.setCurrentColor.bind(Gt),Gt.getColorBox=Gt.getColorBox.bind(Gt),Gt}return re(wt,Dt),wt.prototype.getUi=function(){var yt=this,kt=document.createElement("div");return kt.style.overflow="hidden",kt.style.whiteSpace="nowrap",this.colors.forEach(function(jt){var Mt=yt.getColorBox(jt);kt.appendChild(Mt),yt.colorBoxes.push(Mt)}),kt},wt.prototype.getColorBox=function(yt){var kt=this,jt=this.uiStyleSettings.toolbarHeight/4,Mt=this.uiStyleSettings.toolbarHeight-jt,Gt=document.createElement("div");Gt.style.display="inline-block",Gt.style.boxSizing="content-box",Gt.style.width=Mt-2+"px",Gt.style.height=Mt-2+"px",Gt.style.padding="1px",Gt.style.marginRight="2px",Gt.style.marginBottom="2px",Gt.style.borderWidth="2px",Gt.style.borderStyle="solid",Gt.style.borderRadius=(Mt+2)/2+"px",Gt.style.borderColor=yt===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Gt.addEventListener("click",function(){kt.setCurrentColor(yt,Gt)});var Ce=document.createElement("div");return Ce.style.display="inline-block",Ce.style.width=Mt-2+"px",Ce.style.height=Mt-2+"px",Ce.style.backgroundColor=yt,Ce.style.borderRadius=Mt/2+"px",yt==="transparent"&&(Ce.style.fill=this.uiStyleSettings.toolboxAccentColor,Ce.innerHTML=` `),Gt.appendChild(Ce),Gt},wt.prototype.setCurrentColor=function(yt,kt){var jt=this;this.currentColor=yt,this.colorBoxes.forEach(function(Mt){Mt.style.borderColor=Mt===kt?jt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(yt)},wt}(et),ct=function(){function Dt(wt,yt,kt){this._state="new",this._isSelected=!1,this._container=wt,this._overlayContainer=yt,this.globalSettings=kt,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Dt.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Dt.prototype.ownsTarget=function(wt){return!1},Object.defineProperty(Dt.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Dt.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Dt.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Dt.prototype.pointerDown=function(wt,yt){},Dt.prototype.dblClick=function(wt,yt){},Dt.prototype.manipulate=function(wt){},Dt.prototype.pointerUp=function(wt){this.stateChanged()},Dt.prototype.dispose=function(){},Dt.prototype.addMarkerVisualToContainer=function(wt){this.container.childNodes.length>0?this.container.insertBefore(wt,this.container.childNodes[0]):this.container.appendChild(wt)},Dt.prototype.getState=function(){return{typeName:Dt.typeName,state:this.state,notes:this.notes}},Dt.prototype.restoreState=function(wt){this._state=wt.state,this.notes=wt.notes},Dt.prototype.scale=function(wt,yt){},Dt.prototype.colorChanged=function(wt){this.onColorChanged&&this.onColorChanged(wt),this.stateChanged()},Dt.prototype.fillColorChanged=function(wt){this.onFillColorChanged&&this.onFillColorChanged(wt),this.stateChanged()},Dt.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var wt=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),wt.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(wt)&&this.onStateChanged(this)}},Dt.typeName="MarkerBase",Dt}(),lt=function(){function Dt(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Dt.prototype.findGripByVisual=function(wt){return this.topLeft.ownsTarget(wt)?this.topLeft:this.topCenter.ownsTarget(wt)?this.topCenter:this.topRight.ownsTarget(wt)?this.topRight:this.centerLeft.ownsTarget(wt)?this.centerLeft:this.centerRight.ownsTarget(wt)?this.centerRight:this.bottomLeft.ownsTarget(wt)?this.bottomLeft:this.bottomCenter.ownsTarget(wt)?this.bottomCenter:this.bottomRight.ownsTarget(wt)?this.bottomRight:void 0},Dt}(),gt=function(){function Dt(){this.GRIP_SIZE=10,this.visual=Ht.createGroup(),this.visual.appendChild(Ht.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Ht.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Dt.prototype.ownsTarget=function(wt){return wt===this.visual||wt===this.visual.childNodes[0]||wt===this.visual.childNodes[1]},Dt}(),mt=function(){function Dt(){}return Dt.toITransformMatrix=function(wt){return{a:wt.a,b:wt.b,c:wt.c,d:wt.d,e:wt.e,f:wt.f}},Dt.toSVGMatrix=function(wt,yt){return wt.a=yt.a,wt.b=yt.b,wt.c=yt.c,wt.d=yt.d,wt.e=yt.e,wt.f=yt.f,wt},Dt}(),St=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.left=0,Mt.top=0,Mt.width=0,Mt.height=0,Mt.defaultSize={x:50,y:20},Mt.offsetX=0,Mt.offsetY=0,Mt.rotationAngle=0,Mt.CB_DISTANCE=10,Mt._suppressMarkerCreateEvent=!1,Mt.container.transform.baseVal.appendItem(Ht.createTransform()),Mt.setupControlBox(),Mt}return re(wt,Dt),Object.defineProperty(wt.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(wt.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(wt.prototype,"visual",{get:function(){return this._visual},set:function(yt){this._visual=yt;var kt=Ht.createTransform();this._visual.transform.baseVal.appendItem(kt)},enumerable:!1,configurable:!0}),wt.prototype.ownsTarget=function(yt){return!!Dt.prototype.ownsTarget.call(this,yt)||!!(this.controlGrips.findGripByVisual(yt)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(yt))},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.state==="new"&&(this.left=yt.x,this.top=yt.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var jt=this.unrotatePoint(yt);if(this.manipulationStartX=jt.x,this.manipulationStartY=jt.y,this.offsetX=jt.x-this.left,this.offsetY=jt.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(kt),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(kt)){this.activeGrip=this.rotatorGrip;var Mt=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Mt.x-this.width/2,this.top=Mt.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Gt=this.container.transform.baseVal.getItem(0);Gt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Gt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},wt.prototype.pointerUp=function(yt){var kt=this.state;Dt.prototype.pointerUp.call(this,yt),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(yt),this._state="select",kt==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},wt.prototype.moveVisual=function(yt){this.visual.style.transform="translate("+yt.x+"px, "+yt.y+"px)"},wt.prototype.manipulate=function(yt){var kt=this.unrotatePoint(yt);this.state==="creating"?this.resize(yt):this.state==="move"?(this.left=this.manipulationStartLeft+(kt.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(kt.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(kt):this.state==="rotate"&&this.rotate(yt)},wt.prototype.resize=function(yt){var kt=this.manipulationStartLeft,jt=this.manipulationStartWidth,Mt=this.manipulationStartTop,Gt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:kt=this.manipulationStartLeft+yt.x-this.manipulationStartX,jt=this.manipulationStartWidth+this.manipulationStartLeft-kt;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:jt=this.manipulationStartWidth+yt.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Mt=this.manipulationStartTop+yt.y-this.manipulationStartY,Gt=this.manipulationStartHeight+this.manipulationStartTop-Mt;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Gt=this.manipulationStartHeight+yt.y-this.manipulationStartY}jt>=0?(this.left=kt,this.width=jt):(this.left=kt+jt,this.width=-jt),Gt>=0?(this.top=Mt,this.height=Gt):(this.top=Mt+Gt,this.height=-Gt),this.setSize()},wt.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},wt.prototype.rotate=function(yt){if(Math.abs(yt.x-this.centerX)>.1){var kt=Math.sign(yt.x-this.centerX);this.rotationAngle=180*Math.atan((yt.y-this.centerY)/(yt.x-this.centerX))/Math.PI+90*kt,this.applyRotation()}},wt.prototype.applyRotation=function(){var yt=this.container.transform.baseVal.getItem(0);yt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(yt,0)},wt.prototype.rotatePoint=function(yt){if(this.rotationAngle===0)return yt;var kt=this.container.getCTM(),jt=Ht.createPoint(yt.x,yt.y);return{x:(jt=jt.matrixTransform(kt)).x,y:jt.y}},wt.prototype.unrotatePoint=function(yt){if(this.rotationAngle===0)return yt;var kt=this.container.getCTM();kt=kt.inverse();var jt=Ht.createPoint(yt.x,yt.y);return{x:(jt=jt.matrixTransform(kt)).x,y:jt.y}},wt.prototype.select=function(){Dt.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},wt.prototype.deselect=function(){Dt.prototype.deselect.call(this),this.controlBox.style.display="none"},wt.prototype.setupControlBox=function(){this.controlBox=Ht.createGroup();var yt=Ht.createTransform();yt.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(yt),this.container.appendChild(this.controlBox),this.controlRect=Ht.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=Ht.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new lt,this.addControlGrips(),this.controlBox.style.display="none"},wt.prototype.adjustControlBox=function(){var yt=this.controlBox.transform.baseVal.getItem(0);yt.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(yt,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},wt.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},wt.prototype.createGrip=function(){var yt=new gt;return yt.visual.transform.baseVal.appendItem(Ht.createTransform()),this.controlBox.appendChild(yt.visual),yt},wt.prototype.positionGrips=function(){var yt=this.controlGrips.topLeft.GRIP_SIZE,kt=-yt/2,jt=kt,Mt=(this.width+this.CB_DISTANCE)/2-yt/2,Gt=(this.height+this.CB_DISTANCE)/2-yt/2,Ce=this.height+this.CB_DISTANCE-yt/2,be=this.width+this.CB_DISTANCE-yt/2;this.positionGrip(this.controlGrips.topLeft.visual,kt,jt),this.positionGrip(this.controlGrips.topCenter.visual,Mt,jt),this.positionGrip(this.controlGrips.topRight.visual,be,jt),this.positionGrip(this.controlGrips.centerLeft.visual,kt,Gt),this.positionGrip(this.controlGrips.centerRight.visual,be,Gt),this.positionGrip(this.controlGrips.bottomLeft.visual,kt,Ce),this.positionGrip(this.controlGrips.bottomCenter.visual,Mt,Ce),this.positionGrip(this.controlGrips.bottomRight.visual,be,Ce),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Mt,jt-3*this.CB_DISTANCE)},wt.prototype.positionGrip=function(yt,kt,jt){var Mt=yt.transform.baseVal.getItem(0);Mt.setTranslate(kt,jt),yt.transform.baseVal.replaceItem(Mt,0)},wt.prototype.hideControlBox=function(){this.controlBox.style.display="none"},wt.prototype.showControlBox=function(){this.controlBox.style.display=""},wt.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:mt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:mt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Dt.prototype.getState.call(this))},wt.prototype.restoreState=function(yt){Dt.prototype.restoreState.call(this,yt);var kt=yt;this.left=kt.left,this.top=kt.top,this.width=kt.width,this.height=kt.height,this.rotationAngle=kt.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(mt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,kt.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(mt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,kt.containerTransformMatrix))},wt.prototype.scale=function(yt,kt){Dt.prototype.scale.call(this,yt,kt);var jt=this.rotatePoint({x:this.left,y:this.top}),Mt=this.unrotatePoint({x:jt.x*yt,y:jt.y*kt});this.left=Mt.x,this.top=Mt.y,this.width=this.width*yt,this.height=this.height*kt,this.adjustControlBox()},wt}(ct),Pt=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.fillColor="transparent",Mt.strokeColor="transparent",Mt.strokeWidth=0,Mt.strokeDasharray="",Mt.opacity=1,Mt.setStrokeColor=Mt.setStrokeColor.bind(Mt),Mt.setFillColor=Mt.setFillColor.bind(Mt),Mt.setStrokeWidth=Mt.setStrokeWidth.bind(Mt),Mt.setStrokeDasharray=Mt.setStrokeDasharray.bind(Mt),Mt.createVisual=Mt.createVisual.bind(Mt),Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!(!Dt.prototype.ownsTarget.call(this,yt)&&yt!==this.visual)},wt.prototype.createVisual=function(){this.visual=Ht.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.state==="new"&&(this.createVisual(),this.moveVisual(yt),this._state="creating")},wt.prototype.manipulate=function(yt){Dt.prototype.manipulate.call(this,yt)},wt.prototype.resize=function(yt){Dt.prototype.resize.call(this,yt),this.setSize()},wt.prototype.setSize=function(){Dt.prototype.setSize.call(this),Ht.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},wt.prototype.pointerUp=function(yt){Dt.prototype.pointerUp.call(this,yt),this.setSize()},wt.prototype.setStrokeColor=function(yt){this.strokeColor=yt,this.visual&&Ht.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(yt),this.stateChanged()},wt.prototype.setFillColor=function(yt){this.fillColor=yt,this.visual&&Ht.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},wt.prototype.setStrokeWidth=function(yt){this.strokeWidth=yt,this.visual&&Ht.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},wt.prototype.setStrokeDasharray=function(yt){this.strokeDasharray=yt,this.visual&&Ht.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},wt.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Dt.prototype.getState.call(this))},wt.prototype.restoreState=function(yt){var kt=yt;this.fillColor=kt.fillColor,this.strokeColor=kt.strokeColor,this.strokeWidth=kt.strokeWidth,this.strokeDasharray=kt.strokeDasharray,this.opacity=kt.opacity,this.createVisual(),Dt.prototype.restoreState.call(this,yt),this.setSize()},wt.prototype.scale=function(yt,kt){Dt.prototype.scale.call(this,yt,kt),this.setSize()},wt.title="Rectangle marker",wt}(St),Rt=function(Dt){function wt(yt,kt,jt,Mt){var Gt=Dt.call(this,yt,Mt||'')||this;return Gt.widths=[],Gt.widthBoxes=[],Gt.widths=kt,Gt.currentWidth=jt,Gt.setCurrentWidth=Gt.setCurrentWidth.bind(Gt),Gt}return re(wt,Dt),wt.prototype.getUi=function(){var yt=this,kt=document.createElement("div");return kt.style.display="flex",kt.style.overflow="hidden",kt.style.flexGrow="2",this.widths.forEach(function(jt){var Mt=document.createElement("div");Mt.style.display="flex",Mt.style.flexGrow="2",Mt.style.alignItems="center",Mt.style.justifyContent="space-between",Mt.style.padding="5px",Mt.style.borderWidth="2px",Mt.style.borderStyle="solid",Mt.style.borderColor=jt===yt.currentWidth?yt.uiStyleSettings.toolboxAccentColor:"transparent",Mt.addEventListener("click",function(){yt.setCurrentWidth(jt,Mt)}),kt.appendChild(Mt);var Gt=document.createElement("div");Gt.innerText=jt.toString(),Gt.style.marginRight="5px",Mt.appendChild(Gt);var Ce=document.createElement("div");Ce.style.minHeight="20px",Ce.style.flexGrow="2",Ce.style.display="flex",Ce.style.alignItems="center";var be=document.createElement("hr");be.style.minWidth="20px",be.style.border="0px",be.style.borderTop=jt+"px solid "+yt.uiStyleSettings.toolboxColor,be.style.flexGrow="2",Ce.appendChild(be),Mt.appendChild(Ce),yt.widthBoxes.push(Mt)}),kt},wt.prototype.setCurrentWidth=function(yt,kt){var jt=this;this.currentWidth=yt,this.widthBoxes.forEach(function(Mt){Mt.style.borderColor=Mt===kt?jt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},wt}(et),Wt=function(Dt){function wt(yt,kt,jt,Mt){var Gt=Dt.call(this,yt,Mt||'')||this;return Gt.styles=[],Gt.styleBoxes=[],Gt.styles=kt,Gt.currentStyle=jt,Gt.setCurrentStyle=Gt.setCurrentStyle.bind(Gt),Gt}return re(wt,Dt),wt.prototype.getUi=function(){var yt=this,kt=document.createElement("div");return kt.style.display="flex",kt.style.overflow="hidden",kt.style.flexGrow="2",this.styles.forEach(function(jt){var Mt=document.createElement("div");Mt.style.display="flex",Mt.style.alignItems="center",Mt.style.justifyContent="space-between",Mt.style.padding="5px",Mt.style.borderWidth="2px",Mt.style.borderStyle="solid",Mt.style.overflow="hidden",Mt.style.maxWidth=100/yt.styles.length-5+"%",Mt.style.borderColor=jt===yt.currentStyle?yt.uiStyleSettings.toolboxAccentColor:"transparent",Mt.addEventListener("click",function(){yt.setCurrentStyle(jt,Mt)}),kt.appendChild(Mt);var Gt=document.createElement("div");Gt.style.minHeight="20px",Gt.style.flexGrow="2",Gt.style.overflow="hidden";var Ce=` `;Gt.innerHTML=Ce,Mt.appendChild(Gt),yt.styleBoxes.push(Mt)}),kt},wt.prototype.setCurrentStyle=function(yt,kt){var jt=this;this.currentStyle=yt,this.styleBoxes.forEach(function(Mt){Mt.style.borderColor=Mt===kt?jt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},wt}(et),te=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.strokeColor=jt.defaultColor,Mt.strokeWidth=jt.defaultStrokeWidth,Mt.strokeDasharray=jt.defaultStrokeDasharray,Mt.strokePanel=new nt("Line color",jt.defaultColorSet,jt.defaultColor),Mt.strokePanel.onColorChanged=Mt.setStrokeColor,Mt.strokeWidthPanel=new Rt("Line width",jt.defaultStrokeWidths,jt.defaultStrokeWidth),Mt.strokeWidthPanel.onWidthChanged=Mt.setStrokeWidth,Mt.strokeStylePanel=new Wt("Line style",jt.defaultStrokeDasharrays,jt.defaultStrokeDasharray),Mt.strokeStylePanel.onStyleChanged=Mt.setStrokeDasharray,Mt}return re(wt,Dt),Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Dt.prototype.getState.call(this);return yt.typeName=wt.typeName,yt},wt.typeName="FrameMarker",wt.title="Frame marker",wt.icon='',wt}(Pt),Jt=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Vt=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.x1=0,Mt.y1=0,Mt.x2=0,Mt.y2=0,Mt.defaultLength=50,Mt.manipulationStartX=0,Mt.manipulationStartY=0,Mt.manipulationStartX1=0,Mt.manipulationStartY1=0,Mt.manipulationStartX2=0,Mt.manipulationStartY2=0,Mt.setupControlBox(),Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!!Dt.prototype.ownsTarget.call(this,yt)||!(!this.grip1.ownsTarget(yt)&&!this.grip2.ownsTarget(yt))},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.manipulationStartX=yt.x,this.manipulationStartY=yt.y,this.state==="new"&&(this.x1=yt.x,this.y1=yt.y,this.x2=yt.x,this.y2=yt.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(kt)?this.activeGrip=this.grip1:this.grip2.ownsTarget(kt)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},wt.prototype.pointerUp=function(yt){var kt=this.state;Dt.prototype.pointerUp.call(this,yt),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(yt),this._state="select",kt==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},wt.prototype.adjustVisual=function(){},wt.prototype.manipulate=function(yt){this.state==="creating"?this.resize(yt):this.state==="move"?(this.x1=this.manipulationStartX1+yt.x-this.manipulationStartX,this.y1=this.manipulationStartY1+yt.y-this.manipulationStartY,this.x2=this.manipulationStartX2+yt.x-this.manipulationStartX,this.y2=this.manipulationStartY2+yt.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(yt)},wt.prototype.resize=function(yt){switch(this.activeGrip){case this.grip1:this.x1=yt.x,this.y1=yt.y;break;case this.grip2:case void 0:this.x2=yt.x,this.y2=yt.y}this.adjustVisual(),this.adjustControlBox()},wt.prototype.select=function(){Dt.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},wt.prototype.deselect=function(){Dt.prototype.deselect.call(this),this.controlBox.style.display="none"},wt.prototype.setupControlBox=function(){this.controlBox=Ht.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},wt.prototype.adjustControlBox=function(){this.positionGrips()},wt.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},wt.prototype.createGrip=function(){var yt=new gt;return yt.visual.transform.baseVal.appendItem(Ht.createTransform()),this.controlBox.appendChild(yt.visual),yt},wt.prototype.positionGrips=function(){var yt=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-yt/2,this.y1-yt/2),this.positionGrip(this.grip2.visual,this.x2-yt/2,this.y2-yt/2)},wt.prototype.positionGrip=function(yt,kt,jt){var Mt=yt.transform.baseVal.getItem(0);Mt.setTranslate(kt,jt),yt.transform.baseVal.replaceItem(Mt,0)},wt.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Dt.prototype.getState.call(this))},wt.prototype.restoreState=function(yt){Dt.prototype.restoreState.call(this,yt);var kt=yt;this.x1=kt.x1,this.y1=kt.y1,this.x2=kt.x2,this.y2=kt.y2},wt.prototype.scale=function(yt,kt){Dt.prototype.scale.call(this,yt,kt),this.x1=this.x1*yt,this.y1=this.y1*kt,this.x2=this.x2*yt,this.y2=this.y2*kt,this.adjustVisual(),this.adjustControlBox()},wt}(ct),le=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.strokeColor="transparent",Mt.strokeWidth=0,Mt.strokeDasharray="",Mt.setStrokeColor=Mt.setStrokeColor.bind(Mt),Mt.setStrokeWidth=Mt.setStrokeWidth.bind(Mt),Mt.setStrokeDasharray=Mt.setStrokeDasharray.bind(Mt),Mt.strokeColor=jt.defaultColor,Mt.strokeWidth=jt.defaultStrokeWidth,Mt.strokeDasharray=jt.defaultStrokeDasharray,Mt.strokePanel=new nt("Line color",jt.defaultColorSet,jt.defaultColor),Mt.strokePanel.onColorChanged=Mt.setStrokeColor,Mt.strokeWidthPanel=new Rt("Line width",jt.defaultStrokeWidths,jt.defaultStrokeWidth),Mt.strokeWidthPanel.onWidthChanged=Mt.setStrokeWidth,Mt.strokeStylePanel=new Wt("Line style",jt.defaultStrokeDasharrays,jt.defaultStrokeDasharray),Mt.strokeStylePanel.onStyleChanged=Mt.setStrokeDasharray,Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!(!Dt.prototype.ownsTarget.call(this,yt)&&yt!==this.visual&&yt!==this.selectorLine&&yt!==this.visibleLine)},wt.prototype.createVisual=function(){this.visual=Ht.createGroup(),this.selectorLine=Ht.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Ht.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},wt.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),Ht.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Ht.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Ht.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},wt.prototype.setStrokeColor=function(yt){this.strokeColor=yt,this.adjustVisual(),this.colorChanged(yt)},wt.prototype.setStrokeWidth=function(yt){this.strokeWidth=yt,this.adjustVisual()},wt.prototype.setStrokeDasharray=function(yt){this.strokeDasharray=yt,this.adjustVisual(),this.stateChanged()},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Dt.prototype.getState.call(this));return yt.typeName=wt.typeName,yt},wt.prototype.restoreState=function(yt){Dt.prototype.restoreState.call(this,yt);var kt=yt;this.strokeColor=kt.strokeColor,this.strokeWidth=kt.strokeWidth,this.strokeDasharray=kt.strokeDasharray,this.createVisual(),this.adjustVisual()},wt.typeName="LineMarker",wt.title="Line marker",wt.icon='',wt}(Vt),ae=function(Dt){function wt(yt,kt,jt,Mt){var Gt=Dt.call(this,yt,Mt||'')||this;return Gt.fonts=[],Gt.fontBoxes=[],Gt.fonts=kt,Gt.currentFont=jt,Gt.setCurrentFont=Gt.setCurrentFont.bind(Gt),Gt}return re(wt,Dt),wt.prototype.getUi=function(){var yt=this,kt=document.createElement("div");return kt.style.overflow="hidden",kt.style.flexGrow="2",this.fonts.forEach(function(jt){var Mt=document.createElement("div");Mt.style.display="inline-block",Mt.style.alignItems="center",Mt.style.justifyContent="space-between",Mt.style.padding="5px",Mt.style.borderWidth="2px",Mt.style.borderStyle="solid",Mt.style.overflow="hidden",Mt.style.maxWidth=100/yt.fonts.length-5+"%",Mt.style.borderColor=jt===yt.currentFont?yt.uiStyleSettings.toolboxAccentColor:"transparent",Mt.addEventListener("click",function(){yt.setCurrentFont(jt,Mt)}),kt.appendChild(Mt);var Gt=document.createElement("div");Gt.style.display="flex",Gt.style.minHeight="20px",Gt.style.flexGrow="2",Gt.style.fontFamily=jt,Gt.style.overflow="hidden";var Ce=document.createElement("div");Ce.style.whiteSpace="nowrap",Ce.style.overflow="hidden",Ce.style.textOverflow="ellipsis",Ce.innerHTML="The quick brown fox jumps over the lazy dog",Gt.appendChild(Ce),Mt.appendChild(Gt),yt.fontBoxes.push(Mt)}),kt},wt.prototype.setCurrentFont=function(yt,kt){var jt=this;this.currentFont=yt,this.fontBoxes.forEach(function(Mt){Mt.style.borderColor=Mt===kt?jt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},wt}(et),Fe=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.color="transparent",Mt.padding=5,Mt.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Mt.text=Mt.DEFAULT_TEXT,Mt.isMoved=!1,Mt.color=jt.defaultColor,Mt.fontFamily=jt.defaultFontFamily,Mt.defaultSize={x:100,y:30},Mt.setColor=Mt.setColor.bind(Mt),Mt.setFont=Mt.setFont.bind(Mt),Mt.renderText=Mt.renderText.bind(Mt),Mt.sizeText=Mt.sizeText.bind(Mt),Mt.textEditDivClicked=Mt.textEditDivClicked.bind(Mt),Mt.showTextEditor=Mt.showTextEditor.bind(Mt),Mt.setSize=Mt.setSize.bind(Mt),Mt.positionTextEditor=Mt.positionTextEditor.bind(Mt),Mt.colorPanel=new nt("Color",jt.defaultColorSet,jt.defaultColor),Mt.colorPanel.onColorChanged=Mt.setColor,Mt.fontFamilyPanel=new ae("Font",jt.defaultFontFamilies,jt.defaultFontFamily),Mt.fontFamilyPanel.onFontChanged=Mt.setFont,Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){if(Dt.prototype.ownsTarget.call(this,yt)||yt===this.visual||yt===this.textElement||yt===this.bgRectangle)return!0;var kt=!1;return this.textElement.childNodes.forEach(function(jt){jt===yt&&(kt=!0)}),kt},wt.prototype.createVisual=function(){this.visual=Ht.createGroup(),this.bgRectangle=Ht.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Ht.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Ht.createTransform()),this.textElement.transform.baseVal.appendItem(Ht.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.isMoved=!1,this.pointerDownPoint=yt,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(yt),this._state="creating")},wt.prototype.renderText=function(){var yt=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(kt){yt.textElement.appendChild(Ht.createTSpan(kt.trim()===""?" ":kt.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},wt.prototype.getTextScale=function(){var yt=this.textElement.getBBox(),kt=1;if(yt.width>0&&yt.height>0){var jt=(1*this.width-this.width*this.padding*2/100)/yt.width,Mt=(1*this.height-this.height*this.padding*2/100)/yt.height;kt=Math.min(jt,Mt)}return kt},wt.prototype.getTextPosition=function(yt){var kt=this.textElement.getBBox(),jt=0,Mt=0;return kt.width>0&&kt.height>0&&(jt=(this.width-kt.width*yt)/2,Mt=this.height/2-kt.height*yt/2),{x:jt,y:Mt}},wt.prototype.sizeText=function(){var yt=this.textElement.getBBox(),kt=this.getTextScale(),jt=this.getTextPosition(kt);jt.y-=yt.y*kt,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+jt.x+"px, "+jt.y+"px) scale("+kt+", "+kt+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(jt.x,jt.y),this.textElement.transform.baseVal.getItem(1).setScale(kt,kt))},wt.prototype.manipulate=function(yt){Dt.prototype.manipulate.call(this,yt),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(yt.x-this.pointerDownPoint.x)>5||Math.abs(yt.y-this.pointerDownPoint.y)>5)},wt.prototype.resize=function(yt){Dt.prototype.resize.call(this,yt),this.isMoved=!0,this.setSize(),this.sizeText()},wt.prototype.setSize=function(){Dt.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Ht.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ht.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},wt.prototype.pointerUp=function(yt){var kt=this.state;kt==="creating"&&(this._suppressMarkerCreateEvent=!0),Dt.prototype.pointerUp.call(this,yt),this.setSize(),(kt==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},wt.prototype.showTextEditor=function(){var yt=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(kt){kt.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var kt=Number.parseFloat(yt.textEditor.style.fontSize);yt.textEditor.clientWidth>=Number.parseInt(yt.textEditor.style.maxWidth)&&kt>.9;)kt-=.1,yt.textEditor.style.fontSize=Math.max(kt,.9)+"em"}),this.textEditor.addEventListener("keyup",function(kt){kt.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(kt){if(kt.clipboardData){var jt=kt.clipboardData.getData("text"),Mt=window.getSelection();if(!Mt.rangeCount)return!1;Mt.deleteFromDocument(),Mt.getRangeAt(0).insertNode(document.createTextNode(jt)),kt.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){yt.textEditDivClicked(yt.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},wt.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var yt=this.getTextScale(),kt=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),jt=this.textElement.getBBox(),Mt={x:jt.width*yt,y:jt.height*yt};kt.x-=Mt.x/2,kt.y-=Mt.y/2,this.textEditor.style.top=kt.y+"px",this.textEditor.style.left=kt.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-kt.x+"px",this.textEditor.style.fontSize=Math.max(16*yt,12)+"px",this.textElement.style.display="none"}},wt.prototype.textEditDivClicked=function(yt){this.text=yt.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},wt.prototype.select=function(){Dt.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},wt.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Dt.prototype.deselect.call(this)},wt.prototype.dblClick=function(yt,kt){Dt.prototype.dblClick.call(this,yt,kt),this.showTextEditor()},wt.prototype.setColor=function(yt){this.textElement&&Ht.setAttributes(this.textElement,[["fill",yt]]),this.color=yt,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(yt)},wt.prototype.setFont=function(yt){this.textElement&&Ht.setAttributes(this.textElement,[["font-family",yt]]),this.fontFamily=yt,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},wt.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},wt.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Dt.prototype.getState.call(this));return yt.typeName=wt.typeName,yt},wt.prototype.restoreState=function(yt){var kt=yt;this.color=kt.color,this.fontFamily=kt.fontFamily,this.padding=kt.padding,this.text=kt.text,this.createVisual(),Dt.prototype.restoreState.call(this,yt),this.setSize()},wt.prototype.scale=function(yt,kt){Dt.prototype.scale.call(this,yt,kt),this.setSize(),this.sizeText(),this.positionTextEditor()},wt.typeName="TextMarker",wt.title="Text marker",wt.icon='',wt}(St),De=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.color="transparent",Mt.lineWidth=3,Mt.drawing=!1,Mt.pixelRatio=1,Mt.color=jt.defaultColor,Mt.lineWidth=jt.defaultStrokeWidth,Mt.pixelRatio=jt.freehandPixelRatio,Mt.setColor=Mt.setColor.bind(Mt),Mt.addCanvas=Mt.addCanvas.bind(Mt),Mt.finishCreation=Mt.finishCreation.bind(Mt),Mt.setLineWidth=Mt.setLineWidth.bind(Mt),Mt.colorPanel=new nt("Color",jt.defaultColorSet,jt.defaultColor),Mt.colorPanel.onColorChanged=Mt.setColor,Mt.lineWidthPanel=new Rt("Line width",jt.defaultStrokeWidths,jt.defaultStrokeWidth),Mt.lineWidthPanel.onWidthChanged=Mt.setLineWidth,Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!(!Dt.prototype.ownsTarget.call(this,yt)&&yt!==this.visual&&yt!==this.drawingImage)},wt.prototype.createVisual=function(){this.visual=Ht.createGroup(),this.drawingImage=Ht.createImage(),this.visual.appendChild(this.drawingImage);var yt=Ht.createTransform();this.visual.transform.baseVal.appendItem(yt),this.addMarkerVisualToContainer(this.visual)},wt.prototype.pointerDown=function(yt,kt){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(yt.x,yt.y),this.drawing=!0):Dt.prototype.pointerDown.call(this,yt,kt)},wt.prototype.manipulate=function(yt){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(yt.x,yt.y),this.canvasContext.stroke()):Dt.prototype.manipulate.call(this,yt)},wt.prototype.resize=function(yt){Dt.prototype.resize.call(this,yt),Ht.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Ht.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},wt.prototype.pointerUp=function(yt){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Dt.prototype.pointerUp.call(this,yt)},wt.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},wt.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Dt.prototype.select.call(this)},wt.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Dt.prototype.deselect.call(this)},wt.prototype.finishCreation=function(){for(var yt=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),kt=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],jt=kt[0],Mt=kt[1],Gt=kt[2],Ce=kt[3],be=!1,on=0;on0&&(be=!0,onCe&&(Ce=on),Ae>Gt&&(Gt=Ae));if(be){this.left=jt/this.pixelRatio,this.top=Mt/this.pixelRatio,this.width=(Gt-jt)/this.pixelRatio,this.height=(Ce-Mt)/this.pixelRatio;var Le=document.createElement("canvas");Le.width=Gt-jt,Le.height=Ce-Mt,Le.getContext("2d").putImageData(this.canvasContext.getImageData(jt,Mt,Gt-jt,Ce-Mt),0,0),this.drawingImgUrl=Le.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},wt.prototype.setDrawingImage=function(){Ht.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Ht.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},wt.prototype.setColor=function(yt){this.color=yt,this.colorChanged(yt)},wt.prototype.setLineWidth=function(yt){this.lineWidth=yt},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Object.assign({drawingImgUrl:this.drawingImgUrl},Dt.prototype.getState.call(this));return yt.typeName=wt.typeName,yt},wt.prototype.restoreState=function(yt){this.createVisual(),Dt.prototype.restoreState.call(this,yt),this.drawingImgUrl=yt.drawingImgUrl,this.setDrawingImage()},wt.prototype.scale=function(yt,kt){Dt.prototype.scale.call(this,yt,kt),this.setDrawingImage()},wt.typeName="FreehandMarker",wt.title="Freehand marker",wt.icon='',wt}(St),Ee=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,jt||'')||this;return Mt.typeBoxes=[],Mt.currentType=kt,Mt.setCurrentType=Mt.setCurrentType.bind(Mt),Mt}return re(wt,Dt),wt.prototype.getUi=function(){var yt=this,kt=document.createElement("div");kt.style.display="flex",kt.style.overflow="hidden",kt.style.flexGrow="2";for(var jt=function(Ce){var be="both";switch(Ce){case 0:be="both";break;case 1:be="start";break;case 2:be="end";break;case 3:be="none"}var on=document.createElement("div");if(on.style.display="flex",on.style.flexGrow="2",on.style.alignItems="center",on.style.justifyContent="space-between",on.style.padding="5px",on.style.borderWidth="2px",on.style.borderStyle="solid",on.style.borderColor=be===Mt.currentType?Mt.uiStyleSettings.toolboxAccentColor:"transparent",on.addEventListener("click",function(){yt.setCurrentType(be,on)}),kt.appendChild(on),be==="both"||be==="start"){var Ae=document.createElement("div");Ae.style.display="flex",Ae.style.alignItems="center",Ae.style.minHeight="20px",Ae.innerHTML=` `,Ae.style.marginLeft="5px",on.appendChild(Ae)}var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.minHeight="20px",Le.style.flexGrow="2";var _e=document.createElement("hr");if(_e.style.minWidth="20px",_e.style.border="0px",_e.style.borderTop="3px solid "+(Mt.uiStyleSettings!==void 0?Mt.uiStyleSettings.toolboxColor:"#eeeeee"),_e.style.flexGrow="2",Le.appendChild(_e),on.appendChild(Le),be==="both"||be==="end"){var un=document.createElement("div");un.style.display="flex",un.style.alignItems="center",un.style.minHeight="20px",un.innerHTML=` `,un.style.marginRight="5px",on.appendChild(un)}Mt.typeBoxes.push(on)},Mt=this,Gt=0;Gt<4;Gt++)jt(Gt);return kt},wt.prototype.setCurrentType=function(yt,kt){var jt=this;this.currentType=yt,this.typeBoxes.forEach(function(Mt){Mt.style.borderColor=Mt===kt?jt.uiStyleSettings!==void 0?jt.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},wt}(et),Sn=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.arrowType="end",Mt.arrowBaseHeight=10,Mt.arrowBaseWidth=10,Mt.getArrowPoints=Mt.getArrowPoints.bind(Mt),Mt.setArrowType=Mt.setArrowType.bind(Mt),Mt.arrowTypePanel=new Ee("Arrow type","end"),Mt.arrowTypePanel.onArrowTypeChanged=Mt.setArrowType,Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!(!Dt.prototype.ownsTarget.call(this,yt)&&yt!==this.arrow1&&yt!==this.arrow2)},wt.prototype.getArrowPoints=function(yt,kt){var jt=this.arrowBaseWidth+2*this.strokeWidth,Mt=this.arrowBaseHeight+2*this.strokeWidth;return yt-jt/2+","+(kt+Mt/2)+" "+yt+","+(kt-Mt/2)+" "+(yt+jt/2)+","+(kt+Mt/2)},wt.prototype.createTips=function(){this.arrow1=Ht.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Ht.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Ht.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Ht.createTransform()),this.visual.appendChild(this.arrow2)},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.state==="creating"&&this.createTips()},wt.prototype.adjustVisual=function(){if(Dt.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",Ht.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Ht.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var yt=0;Math.abs(this.x1-this.x2)>.1&&(yt=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var kt=this.arrow1.transform.baseVal.getItem(0);kt.setRotate(yt,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(kt,0);var jt=this.arrow2.transform.baseVal.getItem(0);jt.setRotate(yt+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(jt,0)}},wt.prototype.setArrowType=function(yt){this.arrowType=yt,this.adjustVisual(),this.stateChanged()},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Object.assign({arrowType:this.arrowType},Dt.prototype.getState.call(this));return yt.typeName=wt.typeName,yt},wt.prototype.restoreState=function(yt){Dt.prototype.restoreState.call(this,yt);var kt=yt;this.arrowType=kt.arrowType,this.createTips(),this.adjustVisual()},wt.typeName="ArrowMarker",wt.title="Arrow marker",wt.icon='',wt}(le),rn=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.fillColor=jt.defaultFillColor,Mt.strokeWidth=0,Mt.fillPanel=new nt("Color",jt.defaultColorSet,jt.defaultFillColor),Mt.fillPanel.onColorChanged=Mt.setFillColor,Mt}return re(wt,Dt),Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Dt.prototype.getState.call(this);return yt.typeName=wt.typeName,yt},wt.typeName="CoverMarker",wt.title="Cover marker",wt.icon='',wt}(Pt),Ge=function(Dt){function wt(yt,kt,jt,Mt){var Gt=Dt.call(this,yt,Mt||'')||this;return Gt.opacities=[],Gt.opacityBoxes=[],Gt.opacities=kt,Gt.currentOpacity=jt,Gt.setCurrentOpacity=Gt.setCurrentOpacity.bind(Gt),Gt}return re(wt,Dt),wt.prototype.getUi=function(){var yt=this,kt=document.createElement("div");return kt.style.display="flex",kt.style.overflow="hidden",kt.style.flexGrow="2",kt.style.justifyContent="space-between",this.opacities.forEach(function(jt){var Mt=document.createElement("div");Mt.style.display="flex",Mt.style.alignItems="center",Mt.style.justifyContent="center",Mt.style.padding="5px",Mt.style.borderWidth="2px",Mt.style.borderStyle="solid",Mt.style.borderColor=jt===yt.currentOpacity?yt.uiStyleSettings.toolboxAccentColor:"transparent",Mt.addEventListener("click",function(){yt.setCurrentOpacity(jt,Mt)}),kt.appendChild(Mt);var Gt=document.createElement("div");Gt.innerText=100*jt+"%",Mt.appendChild(Gt),yt.opacityBoxes.push(Mt)}),kt},wt.prototype.setCurrentOpacity=function(yt,kt){var jt=this;this.currentOpacity=yt,this.opacityBoxes.forEach(function(Mt){Mt.style.borderColor=Mt===kt?jt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},wt}(et),sn=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.setOpacity=Mt.setOpacity.bind(Mt),Mt.fillColor=jt.defaultHighlightColor,Mt.strokeWidth=0,Mt.opacity=jt.defaultHighlightOpacity,Mt.fillPanel=new nt("Color",jt.defaultColorSet,Mt.fillColor),Mt.fillPanel.onColorChanged=Mt.setFillColor,Mt.opacityPanel=new Ge("Opacity",jt.defaultOpacitySteps,Mt.opacity),Mt.opacityPanel.onOpacityChanged=Mt.setOpacity,Mt}return re(wt,Dt),wt.prototype.setOpacity=function(yt){this.opacity=yt,this.visual&&Ht.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Dt.prototype.getState.call(this);return yt.typeName=wt.typeName,yt},wt.typeName="HighlightMarker",wt.title="Highlight marker",wt.icon='',wt}(rn),$t='',It='',Pe=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.bgColor="transparent",Mt.tipPosition={x:0,y:0},Mt.tipBase1Position={x:0,y:0},Mt.tipBase2Position={x:0,y:0},Mt.tipMoving=!1,Mt.color=jt.defaultStrokeColor,Mt.bgColor=jt.defaultFillColor,Mt.fontFamily=jt.defaultFontFamily,Mt.defaultSize={x:100,y:30},Mt.setBgColor=Mt.setBgColor.bind(Mt),Mt.getTipPoints=Mt.getTipPoints.bind(Mt),Mt.positionTip=Mt.positionTip.bind(Mt),Mt.setTipPoints=Mt.setTipPoints.bind(Mt),Mt.colorPanel=new nt("Text color",jt.defaultColorSet,Mt.color,$t),Mt.colorPanel.onColorChanged=Mt.setColor,Mt.bgColorPanel=new nt("Fill color",jt.defaultColorSet,Mt.bgColor,It),Mt.bgColorPanel.onColorChanged=Mt.setBgColor,Mt.fontFamilyPanel=new ae("Font",jt.defaultFontFamilies,jt.defaultFontFamily),Mt.fontFamilyPanel.onFontChanged=Mt.setFont,Mt.tipGrip=new gt,Mt.tipGrip.visual.transform.baseVal.appendItem(Ht.createTransform()),Mt.controlBox.appendChild(Mt.tipGrip.visual),Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return Dt.prototype.ownsTarget.call(this,yt)||this.tipGrip.ownsTarget(yt)||this.tip===yt},wt.prototype.createTip=function(){Ht.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Ht.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},wt.prototype.pointerDown=function(yt,kt){this.state==="new"&&Dt.prototype.pointerDown.call(this,yt,kt),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(kt)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Dt.prototype.pointerDown.call(this,yt,kt)},wt.prototype.pointerUp=function(yt){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Dt.prototype.pointerUp.call(this,yt);else{var kt=this.state==="creating";Dt.prototype.pointerUp.call(this,yt),this.setTipPoints(kt),this.positionTip()}},wt.prototype.manipulate=function(yt){if(this.tipMoving){var kt=this.unrotatePoint(yt);this.tipPosition={x:kt.x-this.manipulationStartLeft,y:kt.y-this.manipulationStartTop},this.positionTip()}else Dt.prototype.manipulate.call(this,yt)},wt.prototype.setBgColor=function(yt){this.bgRectangle&&this.tip&&(Ht.setAttributes(this.bgRectangle,[["fill",yt]]),Ht.setAttributes(this.tip,[["fill",yt]])),this.bgColor=yt,this.fillColorChanged(yt)},wt.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},wt.prototype.setTipPoints=function(yt){yt===void 0&&(yt=!1);var kt=Math.min(this.height/2,15),jt=this.height/5;yt&&(this.tipPosition={x:kt+jt/2,y:this.height+20});var Mt=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?Mt.1)){var yt=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),kt=this.tip1.transform.baseVal.getItem(0);kt.setRotate(yt,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(kt,0);var jt=this.tip2.transform.baseVal.getItem(0);jt.setRotate(yt+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(jt,0)}},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Dt.prototype.getState.call(this);return yt.typeName=wt.typeName,yt},wt.prototype.restoreState=function(yt){Dt.prototype.restoreState.call(this,yt),this.createTips(),this.adjustVisual()},wt.typeName="MeasurementMarker",wt.title="Measurement marker",wt.icon='',wt}(le),Se=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.strokePanel.colors=jt.defaultColorSet,Mt.fillColor="transparent",Mt}return re(wt,Dt),Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Dt.prototype.getState.call(this);return yt.typeName=wt.typeName,yt},wt.typeName="EllipseFrameMarker",wt.title="Ellipse frame marker",wt.icon='',wt}(an),$e=function(){function Dt(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Dt.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Dt.prototype.addUndoStep=function(wt){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(wt)||(this.undoStack.push(wt),JSON.stringify(this.lastRedoStep)!==JSON.stringify(wt)&&this.redoStack.splice(0,this.redoStack.length))},Dt.prototype.replaceLastUndoStep=function(wt){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=wt)},Dt.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Dt.prototype.undo=function(){if(this.undoStack.length>1){var wt=this.undoStack.pop();return wt!==void 0&&this.redoStack.push(wt),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Dt.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Dt}(),He=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.strokeColor="transparent",Mt.strokeWidth=0,Mt.strokeDasharray="",Mt.curveX=0,Mt.curveY=0,Mt.manipulationStartCurveX=0,Mt.manipulationStartCurveY=0,Mt.setStrokeColor=Mt.setStrokeColor.bind(Mt),Mt.setStrokeWidth=Mt.setStrokeWidth.bind(Mt),Mt.setStrokeDasharray=Mt.setStrokeDasharray.bind(Mt),Mt.positionGrips=Mt.positionGrips.bind(Mt),Mt.addControlGrips=Mt.addControlGrips.bind(Mt),Mt.adjustVisual=Mt.adjustVisual.bind(Mt),Mt.setupControlBox=Mt.setupControlBox.bind(Mt),Mt.resize=Mt.resize.bind(Mt),Mt.strokeColor=jt.defaultColor,Mt.strokeWidth=jt.defaultStrokeWidth,Mt.strokeDasharray=jt.defaultStrokeDasharray,Mt.strokePanel=new nt("Line color",jt.defaultColorSet,jt.defaultColor),Mt.strokePanel.onColorChanged=Mt.setStrokeColor,Mt.strokeWidthPanel=new Rt("Line width",jt.defaultStrokeWidths,jt.defaultStrokeWidth),Mt.strokeWidthPanel.onWidthChanged=Mt.setStrokeWidth,Mt.strokeStylePanel=new Wt("Line style",jt.defaultStrokeDasharrays,jt.defaultStrokeDasharray),Mt.strokeStylePanel.onStyleChanged=Mt.setStrokeDasharray,Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!(!Dt.prototype.ownsTarget.call(this,yt)&&yt!==this.visual&&yt!==this.selectorCurve&&yt!==this.visibleCurve&&!this.curveGrip.ownsTarget(yt))},wt.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},wt.prototype.createVisual=function(){this.visual=Ht.createGroup(),this.selectorCurve=Ht.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Ht.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=yt.x,this.curveY=yt.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(kt)&&(this.activeGrip=this.curveGrip,this._state="resize")},wt.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Ht.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Ht.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Ht.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},wt.prototype.setupControlBox=function(){Dt.prototype.setupControlBox.call(this),this.curveControlLine1=Ht.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Ht.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},wt.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Dt.prototype.addControlGrips.call(this)},wt.prototype.positionGrips=function(){Dt.prototype.positionGrips.call(this);var yt=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-yt/2,this.curveY-yt/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},wt.prototype.manipulate=function(yt){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+yt.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+yt.y-this.manipulationStartY),Dt.prototype.manipulate.call(this,yt)},wt.prototype.resize=function(yt){this.activeGrip===this.curveGrip&&(this.curveX=yt.x,this.curveY=yt.y),Dt.prototype.resize.call(this,yt),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},wt.prototype.setStrokeColor=function(yt){this.strokeColor=yt,this.adjustVisual(),this.colorChanged(yt)},wt.prototype.setStrokeWidth=function(yt){this.strokeWidth=yt,this.adjustVisual()},wt.prototype.setStrokeDasharray=function(yt){this.strokeDasharray=yt,this.adjustVisual()},wt.prototype.scale=function(yt,kt){this.curveX=this.curveX*yt,this.curveY=this.curveY*kt,Dt.prototype.scale.call(this,yt,kt)},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Dt.prototype.getState.call(this));return yt.typeName=wt.typeName,yt},wt.prototype.restoreState=function(yt){Dt.prototype.restoreState.call(this,yt);var kt=yt;this.strokeColor=kt.strokeColor,this.strokeWidth=kt.strokeWidth,this.strokeDasharray=kt.strokeDasharray,this.curveX=kt.curveX,this.curveY=kt.curveY,this.createVisual(),this.adjustVisual()},wt.typeName="CurveMarker",wt.title="Curve marker",wt.icon='',wt}(Vt),xn=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,kt,jt)||this;return Mt.fillColor="transparent",Mt.strokeColor="transparent",Mt.strokeWidth=0,Mt.strokeDasharray="",Mt.textColor="transparent",Mt.fontSize="1rem",Mt.isMoved=!1,Mt.captionText="Caption",Mt.PADDING=5,Mt.captionBoxWidth=0,Mt.captionBoxHeight=0,Mt.strokeColor=jt.defaultColor,Mt.strokeWidth=jt.defaultStrokeWidth,Mt.strokeDasharray=jt.defaultStrokeDasharray,Mt.fillColor=jt.defaultFillColor,Mt.textColor=jt.defaultStrokeColor,Mt.fontFamily=jt.defaultFontFamily,Mt.fontSize=jt.defaultCaptionFontSize,Mt.captionText=jt.defaultCaptionText,Mt.setStrokeColor=Mt.setStrokeColor.bind(Mt),Mt.setFillColor=Mt.setFillColor.bind(Mt),Mt.setStrokeWidth=Mt.setStrokeWidth.bind(Mt),Mt.setStrokeDasharray=Mt.setStrokeDasharray.bind(Mt),Mt.createVisual=Mt.createVisual.bind(Mt),Mt.sizeCaption=Mt.sizeCaption.bind(Mt),Mt.setCaptionText=Mt.setCaptionText.bind(Mt),Mt.showTextEditor=Mt.showTextEditor.bind(Mt),Mt.positionTextEditor=Mt.positionTextEditor.bind(Mt),Mt.finishTextEditing=Mt.finishTextEditing.bind(Mt),Mt.setFont=Mt.setFont.bind(Mt),Mt.setTextColor=Mt.setTextColor.bind(Mt),Mt.strokePanel=new nt("Line color",ne(jt.defaultColorSet,["transparent"]),Mt.strokeColor),Mt.strokePanel.onColorChanged=Mt.setStrokeColor,Mt.fillPanel=new nt("Fill color",ne(jt.defaultColorSet,["transparent"]),Mt.fillColor,It),Mt.fillPanel.onColorChanged=Mt.setFillColor,Mt.strokeWidthPanel=new Rt("Line width",jt.defaultStrokeWidths,jt.defaultStrokeWidth),Mt.strokeWidthPanel.onWidthChanged=Mt.setStrokeWidth,Mt.strokeStylePanel=new Wt("Line style",jt.defaultStrokeDasharrays,jt.defaultStrokeDasharray),Mt.strokeStylePanel.onStyleChanged=Mt.setStrokeDasharray,Mt.fontFamilyPanel=new ae("Font",jt.defaultFontFamilies,jt.defaultFontFamily),Mt.fontFamilyPanel.onFontChanged=Mt.setFont,Mt.textColorPanel=new nt("Text color",jt.defaultColorSet,Mt.textColor,$t),Mt.textColorPanel.onColorChanged=Mt.setTextColor,Mt}return re(wt,Dt),wt.prototype.ownsTarget=function(yt){return!(!Dt.prototype.ownsTarget.call(this,yt)&&yt!==this.visual&&yt!==this.frame&&yt!==this.captionBg&&yt!==this.captionElement)},wt.prototype.createVisual=function(){this.visual=Ht.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Ht.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Ht.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=Ht.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},wt.prototype.setCaptionText=function(yt){this.captionText=yt,this.captionElement.textContent=this.captionText,this.sizeCaption()},wt.prototype.pointerDown=function(yt,kt){Dt.prototype.pointerDown.call(this,yt,kt),this.isMoved=!1,this.pointerDownPoint=yt,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(yt),this._state="creating")},wt.prototype.manipulate=function(yt){Dt.prototype.manipulate.call(this,yt),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(yt.x-this.pointerDownPoint.x)>5||Math.abs(yt.y-this.pointerDownPoint.y)>5)},wt.prototype.resize=function(yt){Dt.prototype.resize.call(this,yt),this.setSize()},wt.prototype.sizeCaption=function(){var yt=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=yt.width+2*this.PADDING,this.captionBoxHeight=yt.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Ht.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),Ht.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},wt.prototype.showTextEditor=function(){var yt=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(kt){kt.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(kt){kt.key==="Enter"&&yt.finishTextEditing(yt.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(kt){kt.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){yt.finishTextEditing(yt.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){yt.finishTextEditing(yt.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},wt.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},wt.prototype.finishTextEditing=function(yt){this.setCaptionText(yt.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},wt.prototype.setFont=function(yt){this.captionElement&&Ht.setAttributes(this.captionElement,[["font-family",yt]]),this.fontFamily=yt,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},wt.prototype.setTextColor=function(yt){this.captionElement&&Ht.setAttributes(this.captionElement,[["fill",yt]]),this.textColor=yt,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},wt.prototype.setSize=function(){Dt.prototype.setSize.call(this),Ht.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},wt.prototype.pointerUp=function(yt){Dt.prototype.pointerUp.call(this,yt),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},wt.prototype.dblClick=function(yt,kt){Dt.prototype.dblClick.call(this,yt,kt),this.showTextEditor()},wt.prototype.setStrokeColor=function(yt){this.strokeColor=yt,this.frame&&Ht.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(yt),this.stateChanged()},wt.prototype.setFillColor=function(yt){this.fillColor=yt,this.captionBg&&Ht.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(yt),this.stateChanged()},wt.prototype.setStrokeWidth=function(yt){this.strokeWidth=yt,this.frame&&Ht.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},wt.prototype.setStrokeDasharray=function(yt){this.strokeDasharray=yt,this.frame&&Ht.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),wt.prototype.getState=function(){var yt=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Dt.prototype.getState.call(this));return yt.typeName=this.typeName,yt},wt.prototype.restoreState=function(yt){var kt=yt;this.fillColor=kt.fillColor,this.strokeColor=kt.strokeColor,this.strokeWidth=kt.strokeWidth,this.strokeDasharray=kt.strokeDasharray,this.textColor=kt.textColor,this.fontFamily=kt.fontFamily,this.captionText=kt.captionText,this.fontSize=kt.fontSize,this.createVisual(),Dt.prototype.restoreState.call(this,yt),this.setSize()},wt.prototype.scale=function(yt,kt){Dt.prototype.scale.call(this,yt,kt),this.setSize()},wt.typeName="CaptionFrameMarker",wt.title="Caption frame marker",wt.icon='',wt}(St),we=function(){function Dt(wt,yt){yt===void 0&&(yt=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=wt,this.cancelable=yt}return Object.defineProperty(Dt.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Dt.prototype.preventDefault=function(){this._defaultPrevented=!0},Dt}(),de=function(Dt){function wt(yt,kt,jt){var Mt=Dt.call(this,yt,!1)||this;return Mt.dataUrl=kt,Mt.state=jt,Mt}return re(wt,Dt),wt}(we),ke=function(Dt){function wt(yt,kt,jt){jt===void 0&&(jt=!1);var Mt=Dt.call(this,yt,jt)||this;return Mt.marker=kt,Mt}return re(wt,Dt),wt}(we),ze=function(){function Dt(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Dt.prototype.addEventListener=function(wt,yt){this[wt].push(yt)},Dt.prototype.removeEventListener=function(wt,yt){var kt=this[wt].indexOf(yt);kt>-1&&this[wt].splice(kt,1)},Dt}(),fn=function(){function Dt(wt){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Jt,this._isOpen=!1,this.undoRedoManager=new $e,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new ze,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Dt.instanceCounter++,this.styles=new Nt(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=wt,this.targetRoot=document.body,this.width=wt.clientWidth,this.height=wt.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Dt.prototype,"ALL_MARKER_TYPES",{get:function(){return[te,De,Sn,Fe,Se,an,sn,Pe,Ve,rn,le,He,xn]},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[te,De,Sn,Fe,an,sn,Pe]},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"BASIC_MARKER_TYPES",{get:function(){return[te,De,Sn,Fe,sn]},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(wt){var yt=this;this._availableMarkerTypes.splice(0),wt.forEach(function(kt){if(typeof kt=="string"){var jt=yt.ALL_MARKER_TYPES.find(function(Mt){return Mt.typeName===kt});jt!==void 0&&yt._availableMarkerTypes.push(jt)}else yt._availableMarkerTypes.push(kt)})},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(wt){this._zoomLevel=wt,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Dt.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Dt.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),oe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Dt.prototype.show=function(){var wt=this;this.styles.styleSheetRoot===void 0&&ge.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=ge.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(yt){return yt(new we(wt))})},Dt.prototype.render=function(){return fe(this,void 0,void 0,function(){var wt;return pe(this,function(yt){switch(yt.label){case 0:return this.setCurrentMarker(),(wt=new Oe).naturalSize=this.renderAtNaturalSize,wt.imageType=this.renderImageType,wt.imageQuality=this.renderImageQuality,wt.markersOnly=this.renderMarkersOnly,wt.width=this.renderWidth,wt.height=this.renderHeight,[4,wt.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return yt.sent(),[4,wt.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,yt.sent()]}})})},Dt.prototype.close=function(wt){var yt=this;if(wt===void 0&&(wt=!1),this.isOpen){var kt=!1;wt||this.eventListeners.beforeclose.forEach(function(jt){var Mt=new we(yt,!0);jt(Mt),Mt.defaultPrevented&&(kt=!0)}),kt||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(jt){return jt(new we(yt))}),this.detachEvents(),this._isOpen=!1)}},Dt.prototype.addMarkersToToolbar=function(){for(var wt,yt=[],kt=0;ktthis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*wt:this.editorCanvas.clientWidth,kt=yt',wt.title="Powered by marker.js",wt.style.display="grid",wt.style.alignItems="center",wt.style.justifyItems="center",wt.style.padding="3px",wt.style.width="20px",wt.style.height="20px",this.logoUI.appendChild(wt),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Dt.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Dt.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Dt.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Dt.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var wt=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=wt+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new nn(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(wt),1),wt.dispose()},Dt.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Dt.prototype.toolbarButtonClicked=function(wt,yt){if(wt==="marker"&&yt!==void 0)this.createNewMarker(yt);else if(wt==="action")switch(yt){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Dt.prototype.deleteSelectedMarker=function(){var wt=this;if(this._currentMarker!==void 0){var yt=!1;if(this.eventListeners.markerbeforedelete.forEach(function(jt){var Mt=new ke(wt,wt._currentMarker,!0);jt(Mt),Mt.defaultPrevented&&(yt=!0)}),!yt){var kt=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(jt){return jt(new ke(wt,kt))})}}},Dt.prototype.clear=function(){var wt=this,yt=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Gt){var Ce=new ke(wt,void 0,!0);Gt(Ce),Ce.defaultPrevented&&(yt=!0)}),!yt)){this.setCurrentMarker();for(var kt=function(Gt){var Ce=jt.markers[Gt];jt.setCurrentMarker(jt.markers[Gt]),jt._currentMarker.dispose(),jt.markerImage.removeChild(jt._currentMarker.container),jt.markers.splice(jt.markers.indexOf(jt._currentMarker),1),jt.eventListeners.markerdelete.forEach(function(be){return be(new ke(wt,Ce))})},jt=this,Mt=this.markers.length-1;Mt>=0;Mt--)kt(Mt);this.addUndoStep()}},Object.defineProperty(Dt.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Dt.prototype.showNotesEditor=function(){var wt;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(wt=this._currentMarker.notes)!==null&&wt!==void 0?wt:"",this.overlayContainer.appendChild(this.notesArea))},Dt.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Dt.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Dt.prototype.addUndoStep=function(){var wt=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var yt=this.getState(),kt=this.undoRedoManager.getLastUndoStep();if(!kt||kt.width===yt.width&&kt.height===yt.height){var jt=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(yt),jt1&&this.panTo({x:wt.clientX,y:wt.clientY}))},Dt.prototype.onPointerUp=function(wt){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(wt.clientX,wt.clientY)),this.isDragging=!1,this.addUndoStep()},Dt.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Dt.prototype.onKeyUp=function(wt){this._currentMarker===void 0||this.notesArea!==void 0||wt.key!=="Delete"&&wt.key!=="Backspace"||this.deleteSelectedMarker()},Dt.prototype.clientToLocalCoordinates=function(wt,yt){var kt=this.markerImage.getBoundingClientRect();return{x:(wt-kt.left)/this.zoomLevel,y:(yt-kt.top)/this.zoomLevel}},Dt.prototype.onWindowResize=function(){this.positionUI()},Dt.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var wt=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=wt+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Dt.prototype.addLicenseKey=function(wt){oe.addKey(wt)},Dt.prototype.addEventListener=function(wt,yt){this.eventListeners.addEventListener(wt,yt)},Dt.prototype.removeEventListener=function(wt,yt){this.eventListeners.removeEventListener(wt,yt)},Dt.prototype.renderState=function(wt){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(wt),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Dt.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Dt.prototype.focus=function(){var wt=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(yt){return yt(new we(wt))}))},Dt.prototype.blur=function(){var wt=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(yt){return yt(new we(wt))}))},Dt.instanceCounter=0,Dt}()},98535:function(bn,$n,Et){"use strict";Et.r($n),Et.d($n,{Panel:function(){return De},default:function(){return Fe}});var Lt=Et(67711),re=Et(15142),fe=Et(16886),pe=Et(26420),ne=Et(92310),Ht=Et.n(ne),oe=Et(18929),Oe=Et(48736),ge=Et(59301),Nt=Et(33346),Je=Et(11592),ie=Et(98506),nn=Et(52873),Bt=Et(77900),et=Et(10228),nt=ge.forwardRef(function(Ee,Sn){var rn=Ee.prefixCls,Ge=Ee.forceRender,sn=Ee.className,$t=Ee.style,It=Ee.children,Pe=Ee.isActive,an=Ee.role,Ve=Ee.classNames,Se=Ee.styles,$e=ge.useState(Pe||Ge),He=(0,fe.Z)($e,2),xn=He[0],we=He[1];return ge.useEffect(function(){(Ge||Pe)&&we(!0)},[Ge,Pe]),xn?ge.createElement("div",{ref:Sn,className:Ht()("".concat(rn,"-content"),(0,nn.Z)((0,nn.Z)({},"".concat(rn,"-content-active"),Pe),"".concat(rn,"-content-inactive"),!Pe),sn),style:$t,role:an},ge.createElement("div",{className:Ht()("".concat(rn,"-content-box"),Ve==null?void 0:Ve.body),style:Se==null?void 0:Se.body},It)):null});nt.displayName="PanelContent";var ct=nt,lt=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],gt=ge.forwardRef(function(Ee,Sn){var rn=Ee.showArrow,Ge=rn===void 0?!0:rn,sn=Ee.headerClass,$t=Ee.isActive,It=Ee.onItemClick,Pe=Ee.forceRender,an=Ee.className,Ve=Ee.classNames,Se=Ve===void 0?{}:Ve,$e=Ee.styles,He=$e===void 0?{}:$e,xn=Ee.prefixCls,we=Ee.collapsible,de=Ee.accordion,ke=Ee.panelKey,ze=Ee.extra,fn=Ee.header,Dt=Ee.expandIcon,wt=Ee.openMotion,yt=Ee.destroyInactivePanel,kt=Ee.children,jt=(0,Nt.Z)(Ee,lt),Mt=we==="disabled",Gt=ze!=null&&typeof ze!="boolean",Ce=(0,nn.Z)((0,nn.Z)((0,nn.Z)({onClick:function(){It==null||It(ke)},onKeyDown:function(Pn){(Pn.key==="Enter"||Pn.keyCode===et.Z.ENTER||Pn.which===et.Z.ENTER)&&(It==null||It(ke))},role:de?"tab":"button"},"aria-expanded",$t),"aria-disabled",Mt),"tabIndex",Mt?-1:0),be=typeof Dt=="function"?Dt(Ee):ge.createElement("i",{className:"arrow"}),on=be&&ge.createElement("div",(0,Lt.Z)({className:"".concat(xn,"-expand-icon")},["header","icon"].includes(we)?Ce:{}),be),Ae=Ht()("".concat(xn,"-item"),(0,nn.Z)((0,nn.Z)({},"".concat(xn,"-item-active"),$t),"".concat(xn,"-item-disabled"),Mt),an),Le=Ht()(sn,"".concat(xn,"-header"),(0,nn.Z)({},"".concat(xn,"-collapsible-").concat(we),!!we),Se.header),_e=(0,ie.Z)({className:Le,style:He.header},["header","icon"].includes(we)?{}:Ce);return ge.createElement("div",(0,Lt.Z)({},jt,{ref:Sn,className:Ae}),ge.createElement("div",_e,Ge&&on,ge.createElement("span",(0,Lt.Z)({className:"".concat(xn,"-header-text")},we==="header"?Ce:{}),fn),Gt&&ge.createElement("div",{className:"".concat(xn,"-extra")},ze)),ge.createElement(Bt.default,(0,Lt.Z)({visible:$t,leavedClassName:"".concat(xn,"-content-hidden")},wt,{forceRender:Pe,removeOnLeave:yt}),function(un,Pn){var gn=un.className,en=un.style;return ge.createElement(ct,{ref:Pn,prefixCls:xn,className:gn,classNames:Se,style:en,styles:He,isActive:$t,forceRender:Pe,role:de?"tabpanel":void 0},kt)}))}),mt=gt,St=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Pt=function(Sn,rn){var Ge=rn.prefixCls,sn=rn.accordion,$t=rn.collapsible,It=rn.destroyInactivePanel,Pe=rn.onItemClick,an=rn.activeKey,Ve=rn.openMotion,Se=rn.expandIcon;return Sn.map(function($e,He){var xn=$e.children,we=$e.label,de=$e.key,ke=$e.collapsible,ze=$e.onItemClick,fn=$e.destroyInactivePanel,Dt=(0,Nt.Z)($e,St),wt=String(de!=null?de:He),yt=ke!=null?ke:$t,kt=fn!=null?fn:It,jt=function(Ce){yt!=="disabled"&&(Pe(Ce),ze==null||ze(Ce))},Mt=!1;return sn?Mt=an[0]===wt:Mt=an.indexOf(wt)>-1,ge.createElement(mt,(0,Lt.Z)({},Dt,{prefixCls:Ge,key:wt,panelKey:wt,isActive:Mt,accordion:sn,openMotion:Ve,expandIcon:Se,header:we,collapsible:yt,onItemClick:jt,destroyInactivePanel:kt}),xn)})},Rt=function(Sn,rn,Ge){if(!Sn)return null;var sn=Ge.prefixCls,$t=Ge.accordion,It=Ge.collapsible,Pe=Ge.destroyInactivePanel,an=Ge.onItemClick,Ve=Ge.activeKey,Se=Ge.openMotion,$e=Ge.expandIcon,He=Sn.key||String(rn),xn=Sn.props,we=xn.header,de=xn.headerClass,ke=xn.destroyInactivePanel,ze=xn.collapsible,fn=xn.onItemClick,Dt=!1;$t?Dt=Ve[0]===He:Dt=Ve.indexOf(He)>-1;var wt=ze!=null?ze:It,yt=function(Mt){wt!=="disabled"&&(an(Mt),fn==null||fn(Mt))},kt={key:He,panelKey:He,header:we,headerClass:de,isActive:Dt,prefixCls:sn,destroyInactivePanel:ke!=null?ke:Pe,openMotion:Se,accordion:$t,children:Sn.props.children,onItemClick:yt,expandIcon:$e,collapsible:wt};return typeof Sn.type=="string"?Sn:(Object.keys(kt).forEach(function(jt){typeof kt[jt]=="undefined"&&delete kt[jt]}),ge.cloneElement(Sn,kt))};function Wt(Ee,Sn,rn){return Array.isArray(Ee)?Pt(Ee,rn):(0,Je.Z)(Sn).map(function(Ge,sn){return Rt(Ge,sn,rn)})}var te=Wt,Jt=Et(26112);function Vt(Ee){var Sn=Ee;if(!Array.isArray(Sn)){var rn=(0,pe.Z)(Sn);Sn=rn==="number"||rn==="string"?[Sn]:[]}return Sn.map(function(Ge){return String(Ge)})}var le=ge.forwardRef(function(Ee,Sn){var rn=Ee.prefixCls,Ge=rn===void 0?"rc-collapse":rn,sn=Ee.destroyInactivePanel,$t=sn===void 0?!1:sn,It=Ee.style,Pe=Ee.accordion,an=Ee.className,Ve=Ee.children,Se=Ee.collapsible,$e=Ee.openMotion,He=Ee.expandIcon,xn=Ee.activeKey,we=Ee.defaultActiveKey,de=Ee.onChange,ke=Ee.items,ze=Ht()(Ge,an),fn=(0,oe.Z)([],{value:xn,onChange:function(Gt){return de==null?void 0:de(Gt)},defaultValue:we,postState:Vt}),Dt=(0,fe.Z)(fn,2),wt=Dt[0],yt=Dt[1],kt=function(Gt){return yt(function(){if(Pe)return wt[0]===Gt?[]:[Gt];var Ce=wt.indexOf(Gt),be=Ce>-1;return be?wt.filter(function(on){return on!==Gt}):[].concat((0,re.Z)(wt),[Gt])})};(0,Oe.ZP)(!Ve,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var jt=te(ke,Ve,{prefixCls:Ge,accordion:Pe,openMotion:$e,expandIcon:He,collapsible:Se,destroyInactivePanel:$t,onItemClick:kt,activeKey:wt});return ge.createElement("div",(0,Lt.Z)({ref:Sn,className:ze,style:It,role:Pe?"tablist":void 0},(0,Jt.Z)(Ee,{aria:!0,data:!0})),jt)}),ae=Object.assign(le,{Panel:mt}),Fe=ae,De=ae.Panel},66042:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return Fe}});var Lt=Et(98506),re=Et(16886),fe=Et(43403),pe=Et(34280),ne=Et(59301),Ht=ne.createContext(null),oe=ne.createContext({}),Oe=Ht,ge=Et(52873),Nt=Et(67711),Je=Et(92310),ie=Et.n(Je),nn=Et(77900),Bt=Et(10228),et=Et(26112),nt=Et(33346),ct=Et(8654),lt=["prefixCls","className","containerRef"],gt=function(Ee){var Sn=Ee.prefixCls,rn=Ee.className,Ge=Ee.containerRef,sn=(0,nt.Z)(Ee,lt),$t=ne.useContext(oe),It=$t.panel,Pe=(0,ct.x1)(It,Ge);return ne.createElement("div",(0,Nt.Z)({className:ie()("".concat(Sn,"-content"),rn),role:"dialog",ref:Pe},(0,et.Z)(Ee,{aria:!0}),{"aria-modal":"true"},sn))},mt=gt,St=Et(48736);function Pt(De){return typeof De=="string"&&String(Number(De))===De?((0,St.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(De)):De}function Rt(De){warning(!("wrapperClassName"in De),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!De.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Wt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function te(De,Ee){var Sn,rn,Ge,sn=De.prefixCls,$t=De.open,It=De.placement,Pe=De.inline,an=De.push,Ve=De.forceRender,Se=De.autoFocus,$e=De.keyboard,He=De.classNames,xn=De.rootClassName,we=De.rootStyle,de=De.zIndex,ke=De.className,ze=De.id,fn=De.style,Dt=De.motion,wt=De.width,yt=De.height,kt=De.children,jt=De.mask,Mt=De.maskClosable,Gt=De.maskMotion,Ce=De.maskClassName,be=De.maskStyle,on=De.afterOpenChange,Ae=De.onClose,Le=De.onMouseEnter,_e=De.onMouseOver,un=De.onMouseLeave,Pn=De.onClick,gn=De.onKeyDown,en=De.onKeyUp,Zn=De.styles,Hn=De.drawerRender,mn=ne.useRef(),zn=ne.useRef(),Ri=ne.useRef();ne.useImperativeHandle(Ee,function(){return mn.current});var vi=function(oi){var Wn=oi.keyCode,Bn=oi.shiftKey;switch(Wn){case Bt.Z.TAB:{if(Wn===Bt.Z.TAB){if(!Bn&&document.activeElement===Ri.current){var En;(En=zn.current)===null||En===void 0||En.focus({preventScroll:!0})}else if(Bn&&document.activeElement===zn.current){var vn;(vn=Ri.current)===null||vn===void 0||vn.focus({preventScroll:!0})}}break}case Bt.Z.ESC:{Ae&&$e&&(oi.stopPropagation(),Ae(oi));break}}};ne.useEffect(function(){if($t&&Se){var Bi;(Bi=mn.current)===null||Bi===void 0||Bi.focus({preventScroll:!0})}},[$t]);var ji=ne.useState(!1),er=(0,re.Z)(ji,2),Ke=er[0],Ue=er[1],ii=ne.useContext(Oe),Ai;typeof an=="boolean"?Ai=an?{}:{distance:0}:Ai=an||{};var Fi=(Sn=(rn=(Ge=Ai)===null||Ge===void 0?void 0:Ge.distance)!==null&&rn!==void 0?rn:ii==null?void 0:ii.pushDistance)!==null&&Sn!==void 0?Sn:180,Mi=ne.useMemo(function(){return{pushDistance:Fi,push:function(){Ue(!0)},pull:function(){Ue(!1)}}},[Fi]);ne.useEffect(function(){if($t){var Bi;ii==null||(Bi=ii.push)===null||Bi===void 0||Bi.call(ii)}else{var oi;ii==null||(oi=ii.pull)===null||oi===void 0||oi.call(ii)}},[$t]),ne.useEffect(function(){return function(){var Bi;ii==null||(Bi=ii.pull)===null||Bi===void 0||Bi.call(ii)}},[]);var sr=jt&&ne.createElement(nn.default,(0,Nt.Z)({key:"mask"},Gt,{visible:$t}),function(Bi,oi){var Wn=Bi.className,Bn=Bi.style;return ne.createElement("div",{className:ie()("".concat(sn,"-mask"),Wn,He==null?void 0:He.mask,Ce),style:(0,Lt.Z)((0,Lt.Z)((0,Lt.Z)({},Bn),be),Zn==null?void 0:Zn.mask),onClick:Mt&&$t?Ae:void 0,ref:oi})}),nr=typeof Dt=="function"?Dt(It):Dt,fr={};if(Ke&&Fi)switch(It){case"top":fr.transform="translateY(".concat(Fi,"px)");break;case"bottom":fr.transform="translateY(".concat(-Fi,"px)");break;case"left":fr.transform="translateX(".concat(Fi,"px)");break;default:fr.transform="translateX(".concat(-Fi,"px)");break}It==="left"||It==="right"?fr.width=Pt(wt):fr.height=Pt(yt);var _n={onMouseEnter:Le,onMouseOver:_e,onMouseLeave:un,onClick:Pn,onKeyDown:gn,onKeyUp:en},qi=ne.createElement(nn.default,(0,Nt.Z)({key:"panel"},nr,{visible:$t,forceRender:Ve,onVisibleChanged:function(oi){on==null||on(oi)},removeOnLeave:!1,leavedClassName:"".concat(sn,"-content-wrapper-hidden")}),function(Bi,oi){var Wn=Bi.className,Bn=Bi.style,En=ne.createElement(mt,(0,Nt.Z)({id:ze,containerRef:oi,prefixCls:sn,className:ie()(ke,He==null?void 0:He.content),style:(0,Lt.Z)((0,Lt.Z)({},fn),Zn==null?void 0:Zn.content)},(0,et.Z)(De,{aria:!0}),_n),kt);return ne.createElement("div",(0,Nt.Z)({className:ie()("".concat(sn,"-content-wrapper"),He==null?void 0:He.wrapper,Wn),style:(0,Lt.Z)((0,Lt.Z)((0,Lt.Z)({},fr),Bn),Zn==null?void 0:Zn.wrapper)},(0,et.Z)(De,{data:!0})),Hn?Hn(En):En)}),Ct=(0,Lt.Z)({},we);return de&&(Ct.zIndex=de),ne.createElement(Oe.Provider,{value:Mi},ne.createElement("div",{className:ie()(sn,"".concat(sn,"-").concat(It),xn,(0,ge.Z)((0,ge.Z)({},"".concat(sn,"-open"),$t),"".concat(sn,"-inline"),Pe)),style:Ct,tabIndex:-1,ref:mn,onKeyDown:vi},sr,ne.createElement("div",{tabIndex:0,ref:zn,style:Wt,"aria-hidden":"true","data-sentinel":"start"}),qi,ne.createElement("div",{tabIndex:0,ref:Ri,style:Wt,"aria-hidden":"true","data-sentinel":"end"})))}var Jt=ne.forwardRef(te),Vt=Jt,le=function(Ee){var Sn=Ee.open,rn=Sn===void 0?!1:Sn,Ge=Ee.prefixCls,sn=Ge===void 0?"rc-drawer":Ge,$t=Ee.placement,It=$t===void 0?"right":$t,Pe=Ee.autoFocus,an=Pe===void 0?!0:Pe,Ve=Ee.keyboard,Se=Ve===void 0?!0:Ve,$e=Ee.width,He=$e===void 0?378:$e,xn=Ee.mask,we=xn===void 0?!0:xn,de=Ee.maskClosable,ke=de===void 0?!0:de,ze=Ee.getContainer,fn=Ee.forceRender,Dt=Ee.afterOpenChange,wt=Ee.destroyOnClose,yt=Ee.onMouseEnter,kt=Ee.onMouseOver,jt=Ee.onMouseLeave,Mt=Ee.onClick,Gt=Ee.onKeyDown,Ce=Ee.onKeyUp,be=Ee.panelRef,on=ne.useState(!1),Ae=(0,re.Z)(on,2),Le=Ae[0],_e=Ae[1],un=ne.useState(!1),Pn=(0,re.Z)(un,2),gn=Pn[0],en=Pn[1];(0,pe.Z)(function(){en(!0)},[]);var Zn=gn?rn:!1,Hn=ne.useRef(),mn=ne.useRef();(0,pe.Z)(function(){Zn&&(mn.current=document.activeElement)},[Zn]);var zn=function(Ke){var Ue;if(_e(Ke),Dt==null||Dt(Ke),!Ke&&mn.current&&!((Ue=Hn.current)!==null&&Ue!==void 0&&Ue.contains(mn.current))){var ii;(ii=mn.current)===null||ii===void 0||ii.focus({preventScroll:!0})}},Ri=ne.useMemo(function(){return{panel:be}},[be]);if(!fn&&!Le&&!Zn&&wt)return null;var vi={onMouseEnter:yt,onMouseOver:kt,onMouseLeave:jt,onClick:Mt,onKeyDown:Gt,onKeyUp:Ce},ji=(0,Lt.Z)((0,Lt.Z)({},Ee),{},{open:Zn,prefixCls:sn,placement:It,autoFocus:an,keyboard:Se,width:He,mask:we,maskClosable:ke,inline:ze===!1,afterOpenChange:zn,ref:Hn},vi);return ne.createElement(oe.Provider,{value:Ri},ne.createElement(fe.Z,{open:Zn||fn||Le,autoDestroy:!1,getContainer:ze,autoLock:we&&(Zn||Le)},ne.createElement(Vt,ji)))},ae=le,Fe=ae},23425:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return Wt}});var Lt=Et(52873),re=Et(67711),fe=Et(26420),pe=Et(98506),ne=Et(16886),Ht=Et(92310),oe=Et.n(Ht),Oe=Et(18929),ge=Et(10228),Nt=Et(26112),Je=Et(48736),ie=Et(59301),nn=Et(17119),Bt=[10,20,50,100],et=function(Jt){var Vt=Jt.pageSizeOptions,le=Vt===void 0?Bt:Vt,ae=Jt.locale,Fe=Jt.changeSize,De=Jt.pageSize,Ee=Jt.goButton,Sn=Jt.quickGo,rn=Jt.rootPrefixCls,Ge=Jt.disabled,sn=Jt.buildOptionText,$t=Jt.showSizeChanger,It=Jt.sizeChangerRender,Pe=ie.useState(""),an=(0,ne.Z)(Pe,2),Ve=an[0],Se=an[1],$e=function(){return!Ve||Number.isNaN(Ve)?void 0:Number(Ve)},He=typeof sn=="function"?sn:function(yt){return"".concat(yt," ").concat(ae.items_per_page)},xn=function(kt){Se(kt.target.value)},we=function(kt){Ee||Ve===""||(Se(""),!(kt.relatedTarget&&(kt.relatedTarget.className.indexOf("".concat(rn,"-item-link"))>=0||kt.relatedTarget.className.indexOf("".concat(rn,"-item"))>=0))&&(Sn==null||Sn($e())))},de=function(kt){Ve!==""&&(kt.keyCode===ge.Z.ENTER||kt.type==="click")&&(Se(""),Sn==null||Sn($e()))},ke=function(){return le.some(function(kt){return kt.toString()===De.toString()})?le:le.concat([De]).sort(function(kt,jt){var Mt=Number.isNaN(Number(kt))?0:Number(kt),Gt=Number.isNaN(Number(jt))?0:Number(jt);return Mt-Gt})},ze="".concat(rn,"-options");if(!$t&&!Sn)return null;var fn=null,Dt=null,wt=null;return $t&&It&&(fn=It({disabled:Ge,size:De,onSizeChange:function(kt){Fe==null||Fe(Number(kt))},"aria-label":ae.page_size,className:"".concat(ze,"-size-changer"),options:ke().map(function(yt){return{label:He(yt),value:yt}})})),Sn&&(Ee&&(wt=typeof Ee=="boolean"?ie.createElement("button",{type:"button",onClick:de,onKeyUp:de,disabled:Ge,className:"".concat(ze,"-quick-jumper-button")},ae.jump_to_confirm):ie.createElement("span",{onClick:de,onKeyUp:de},Ee)),Dt=ie.createElement("div",{className:"".concat(ze,"-quick-jumper")},ae.jump_to,ie.createElement("input",{disabled:Ge,type:"text",value:Ve,onChange:xn,onKeyUp:de,onBlur:we,"aria-label":ae.page}),ae.page,wt)),ie.createElement("li",{className:ze},fn,Dt)},nt=et,ct=function(Jt){var Vt=Jt.rootPrefixCls,le=Jt.page,ae=Jt.active,Fe=Jt.className,De=Jt.showTitle,Ee=Jt.onClick,Sn=Jt.onKeyPress,rn=Jt.itemRender,Ge="".concat(Vt,"-item"),sn=oe()(Ge,"".concat(Ge,"-").concat(le),(0,Lt.Z)((0,Lt.Z)({},"".concat(Ge,"-active"),ae),"".concat(Ge,"-disabled"),!le),Fe),$t=function(){Ee(le)},It=function(Ve){Sn(Ve,Ee,le)},Pe=rn(le,"page",ie.createElement("a",{rel:"nofollow"},le));return Pe?ie.createElement("li",{title:De?String(le):null,className:sn,onClick:$t,onKeyDown:It,tabIndex:0},Pe):null},lt=ct,gt=function(Jt,Vt,le){return le};function mt(){}function St(te){var Jt=Number(te);return typeof Jt=="number"&&!Number.isNaN(Jt)&&isFinite(Jt)&&Math.floor(Jt)===Jt}function Pt(te,Jt,Vt){var le=typeof te=="undefined"?Jt:te;return Math.floor((Vt-1)/le)+1}var Rt=function(Jt){var Vt=Jt.prefixCls,le=Vt===void 0?"rc-pagination":Vt,ae=Jt.selectPrefixCls,Fe=ae===void 0?"rc-select":ae,De=Jt.className,Ee=Jt.current,Sn=Jt.defaultCurrent,rn=Sn===void 0?1:Sn,Ge=Jt.total,sn=Ge===void 0?0:Ge,$t=Jt.pageSize,It=Jt.defaultPageSize,Pe=It===void 0?10:It,an=Jt.onChange,Ve=an===void 0?mt:an,Se=Jt.hideOnSinglePage,$e=Jt.align,He=Jt.showPrevNextJumpers,xn=He===void 0?!0:He,we=Jt.showQuickJumper,de=Jt.showLessItems,ke=Jt.showTitle,ze=ke===void 0?!0:ke,fn=Jt.onShowSizeChange,Dt=fn===void 0?mt:fn,wt=Jt.locale,yt=wt===void 0?nn.Z:wt,kt=Jt.style,jt=Jt.totalBoundaryShowSizeChanger,Mt=jt===void 0?50:jt,Gt=Jt.disabled,Ce=Jt.simple,be=Jt.showTotal,on=Jt.showSizeChanger,Ae=on===void 0?sn>Mt:on,Le=Jt.sizeChangerRender,_e=Jt.pageSizeOptions,un=Jt.itemRender,Pn=un===void 0?gt:un,gn=Jt.jumpPrevIcon,en=Jt.jumpNextIcon,Zn=Jt.prevIcon,Hn=Jt.nextIcon,mn=ie.useRef(null),zn=(0,Oe.Z)(10,{value:$t,defaultValue:Pe}),Ri=(0,ne.Z)(zn,2),vi=Ri[0],ji=Ri[1],er=(0,Oe.Z)(1,{value:Ee,defaultValue:rn,postState:function(Or){return Math.max(1,Math.min(Or,Pt(void 0,vi,sn)))}}),Ke=(0,ne.Z)(er,2),Ue=Ke[0],ii=Ke[1],Ai=ie.useState(Ue),Fi=(0,ne.Z)(Ai,2),Mi=Fi[0],sr=Fi[1];(0,ie.useEffect)(function(){sr(Ue)},[Ue]);var nr=Ve!==mt,fr="current"in Jt,_n=Math.max(1,Ue-(de?3:5)),qi=Math.min(Pt(void 0,vi,sn),Ue+(de?3:5));function Ct(rr,Or){var Tr=rr||ie.createElement("button",{type:"button","aria-label":Or,className:"".concat(le,"-item-link")});return typeof rr=="function"&&(Tr=ie.createElement(rr,(0,pe.Z)({},Jt))),Tr}function Bi(rr){var Or=rr.target.value,Tr=Pt(void 0,vi,sn),ho;return Or===""?ho=Or:Number.isNaN(Number(Or))?ho=Mi:Or>=Tr?ho=Tr:ho=Number(Or),ho}function oi(rr){return St(rr)&&rr!==Ue&&St(sn)&&sn>0}var Wn=sn>vi?we:!1;function Bn(rr){(rr.keyCode===ge.Z.UP||rr.keyCode===ge.Z.DOWN)&&rr.preventDefault()}function En(rr){var Or=Bi(rr);switch(Or!==Mi&&sr(Or),rr.keyCode){case ge.Z.ENTER:Te(Or);break;case ge.Z.UP:Te(Or-1);break;case ge.Z.DOWN:Te(Or+1);break;default:break}}function vn(rr){Te(Bi(rr))}function ui(rr){var Or=Pt(rr,vi,sn),Tr=Ue>Or&&Or!==0?Or:Ue;ji(rr),sr(Tr),Dt==null||Dt(Ue,rr),ii(Tr),Ve==null||Ve(Tr,rr)}function Te(rr){if(oi(rr)&&!Gt){var Or=Pt(void 0,vi,sn),Tr=rr;return rr>Or?Tr=Or:rr<1&&(Tr=1),Tr!==Mi&&sr(Tr),ii(Tr),Ve==null||Ve(Tr,vi),Tr}return Ue}var Ze=Ue>1,Ne=Ue2?Tr-2:0),Gr=2;Grsn?sn:Ue*vi])),Zi=null,Gi=Pt(void 0,vi,sn);if(Se&&sn<=vi)return null;var ir=[],ai={rootPrefixCls:le,onClick:Te,onKeyPress:Ye,showTitle:ze,itemRender:Pn,page:-1},Jn=Ue-1>0?Ue-1:0,hi=Ue+1=Fr*2&&Ue!==3&&(ir[0]=ie.cloneElement(ir[0],{className:oe()("".concat(le,"-item-after-jump-prev"),ir[0].props.className)}),ir.unshift(qn)),Gi-Ue>=Fr*2&&Ue!==Gi-2){var Xr=ir[ir.length-1];ir[ir.length-1]=ie.cloneElement(Xr,{className:oe()("".concat(le,"-item-before-jump-next"),Xr.props.className)}),ir.push(Zi)}Wi!==1&&ir.unshift(ie.createElement(lt,(0,re.Z)({},ai,{key:1,page:1}))),Wr!==Gi&&ir.push(ie.createElement(lt,(0,re.Z)({},ai,{key:Gi,page:Gi})))}var zr=Qt(Jn);if(zr){var Hr=!Ze||!Gi;zr=ie.createElement("li",{title:ze?yt.prev_page:null,onClick:ln,tabIndex:Hr?null:0,onKeyDown:cn,className:oe()("".concat(le,"-prev"),(0,Lt.Z)({},"".concat(le,"-disabled"),Hr)),"aria-disabled":Hr},zr)}var qr=Me(hi);if(qr){var pn,no;Ce?(pn=!Ne,no=Ze?0:null):(pn=!Ne||!Gi,no=pn?null:0),qr=ie.createElement("li",{title:ze?yt.next_page:null,onClick:Oi,tabIndex:no,onKeyDown:Pi,className:oe()("".concat(le,"-next"),(0,Lt.Z)({},"".concat(le,"-disabled"),pn)),"aria-disabled":pn},qr)}var Cn=oe()(le,De,(0,Lt.Z)((0,Lt.Z)((0,Lt.Z)((0,Lt.Z)((0,Lt.Z)({},"".concat(le,"-start"),$e==="start"),"".concat(le,"-center"),$e==="center"),"".concat(le,"-end"),$e==="end"),"".concat(le,"-simple"),Ce),"".concat(le,"-disabled"),Gt));return ie.createElement("ul",(0,re.Z)({className:Cn,style:kt,ref:mn},Xe),ri,zr,Ce?ki:ir,qr,ie.createElement(nt,{locale:yt,rootPrefixCls:le,disabled:Gt,selectPrefixCls:Fe,changeSize:ui,pageSize:vi,pageSizeOptions:_e,quickGo:Wn?Te:null,goButton:Dn,showSizeChanger:Ae,sizeChangerRender:Le}))},Wt=Rt},48365:function(bn,$n,Et){"use strict";var Lt=Et(61186),re=Et.n(Lt),fe=Et(90111),pe=Et.n(fe),ne=Et(58319),Ht=Et.n(ne),oe=Et(23250),Oe=Et.n(oe),ge=Et(74959),Nt=Et.n(ge),Je=Et(10238),ie=Et.n(Je),nn=Et(33656),Bt=Et.n(nn);re().extend(Bt()),re().extend(ie()),re().extend(pe()),re().extend(Ht()),re().extend(Oe()),re().extend(Nt()),re().extend(function(gt,mt){var St=mt.prototype,Pt=St.format;St.format=function(Wt){var te=(Wt||"").replace("Wo","wo");return Pt.bind(this)(te)}});var et={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},nt=function(mt){var St=et[mt];return St||mt.split("_")[0]},ct=function(){},lt={getNow:function(){var mt=re()();return typeof mt.tz=="function"?mt.tz():mt},getFixedDate:function(mt){return re()(mt,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(mt){return mt.endOf("month")},getWeekDay:function(mt){var St=mt.locale("en");return St.weekday()+St.localeData().firstDayOfWeek()},getYear:function(mt){return mt.year()},getMonth:function(mt){return mt.month()},getDate:function(mt){return mt.date()},getHour:function(mt){return mt.hour()},getMinute:function(mt){return mt.minute()},getSecond:function(mt){return mt.second()},getMillisecond:function(mt){return mt.millisecond()},addYear:function(mt,St){return mt.add(St,"year")},addMonth:function(mt,St){return mt.add(St,"month")},addDate:function(mt,St){return mt.add(St,"day")},setYear:function(mt,St){return mt.year(St)},setMonth:function(mt,St){return mt.month(St)},setDate:function(mt,St){return mt.date(St)},setHour:function(mt,St){return mt.hour(St)},setMinute:function(mt,St){return mt.minute(St)},setSecond:function(mt,St){return mt.second(St)},setMillisecond:function(mt,St){return mt.millisecond(St)},isAfter:function(mt,St){return mt.isAfter(St)},isValidate:function(mt){return mt.isValid()},locale:{getWeekFirstDay:function(mt){return re()().locale(nt(mt)).localeData().firstDayOfWeek()},getWeekFirstDate:function(mt,St){return St.locale(nt(mt)).weekday(0)},getWeek:function(mt,St){return St.locale(nt(mt)).week()},getShortWeekDays:function(mt){return re()().locale(nt(mt)).localeData().weekdaysMin()},getShortMonths:function(mt){return re()().locale(nt(mt)).localeData().monthsShort()},format:function(mt,St,Pt){return St.locale(nt(mt)).format(Pt)},parse:function(mt,St,Pt){for(var Rt=nt(mt),Wt=0;Wt2&&arguments[2]!==void 0?arguments[2]:"0",ve=String(Ft);ve.length2&&arguments[2]!==void 0?arguments[2]:[],ve=Nt.useState([!1,!1]),xe=(0,pe.Z)(ve,2),Qe=xe[0],qe=xe[1],hn=function(dn,di){qe(function(Ci){return Rt(Ci,di,dn)})},On=Nt.useMemo(function(){return Qe.map(function(Un,dn){if(Un)return!0;var di=Ft[dn];return di?!!(!Yt[dn]&&!di||di&&se(di,{activeIndex:dn})):!1})},[Ft,Qe,se,Yt]);return[On,hn]}function Fe(Ft,se,Yt,ve,xe){var Qe="",qe=[];return Ft&&qe.push(xe?"hh":"HH"),se&&qe.push("mm"),Yt&&qe.push("ss"),Qe=qe.join(":"),ve&&(Qe+=".SSS"),xe&&(Qe+=" A"),Qe}function De(Ft,se,Yt,ve,xe,Qe){var qe=Ft.fieldDateTimeFormat,hn=Ft.fieldDateFormat,On=Ft.fieldTimeFormat,Un=Ft.fieldMonthFormat,dn=Ft.fieldYearFormat,di=Ft.fieldWeekFormat,Ci=Ft.fieldQuarterFormat,he=Ft.yearFormat,ti=Ft.cellYearFormat,Xn=Ft.cellQuarterFormat,jn=Ft.dayFormat,Tn=Ft.cellDateFormat,Ei=Fe(se,Yt,ve,xe,Qe);return(0,fe.Z)((0,fe.Z)({},Ft),{},{fieldDateTimeFormat:qe||"YYYY-MM-DD ".concat(Ei),fieldDateFormat:hn||"YYYY-MM-DD",fieldTimeFormat:On||Ei,fieldMonthFormat:Un||"YYYY-MM",fieldYearFormat:dn||"YYYY",fieldWeekFormat:di||"gggg-wo",fieldQuarterFormat:Ci||"YYYY-[Q]Q",yearFormat:he||"YYYY",cellYearFormat:ti||"YYYY",cellQuarterFormat:Xn||"[Q]Q",cellDateFormat:Tn||jn||"D"})}function Ee(Ft,se){var Yt=se.showHour,ve=se.showMinute,xe=se.showSecond,Qe=se.showMillisecond,qe=se.use12Hours;return Nt.useMemo(function(){return De(Ft,Yt,ve,xe,Qe,qe)},[Ft,Yt,ve,xe,Qe,qe])}var Sn=Et(26420);function rn(Ft,se,Yt){return Yt!=null?Yt:se.some(function(ve){return Ft.includes(ve)})}var Ge=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function sn(Ft){var se=Wt(Ft,Ge),Yt=Ft.format,ve=Ft.picker,xe=null;return Yt&&(xe=Yt,Array.isArray(xe)&&(xe=xe[0]),xe=(0,Sn.Z)(xe)==="object"?xe.format:xe),ve==="time"&&(se.format=xe),[se,xe]}function $t(Ft){return Ft&&typeof Ft=="string"}function It(Ft,se,Yt,ve){return[Ft,se,Yt,ve].some(function(xe){return xe!==void 0})}function Pe(Ft,se,Yt,ve,xe){var Qe=se,qe=Yt,hn=ve;if(!Ft&&!Qe&&!qe&&!hn&&!xe)Qe=!0,qe=!0,hn=!0;else if(Ft){var On,Un,dn,di=[Qe,qe,hn].some(function(ti){return ti===!1}),Ci=[Qe,qe,hn].some(function(ti){return ti===!0}),he=di?!0:!Ci;Qe=(On=Qe)!==null&&On!==void 0?On:he,qe=(Un=qe)!==null&&Un!==void 0?Un:he,hn=(dn=hn)!==null&&dn!==void 0?dn:he}return[Qe,qe,hn,xe]}function an(Ft){var se=Ft.showTime,Yt=sn(Ft),ve=(0,pe.Z)(Yt,2),xe=ve[0],Qe=ve[1],qe=se&&(0,Sn.Z)(se)==="object"?se:{},hn=(0,fe.Z)((0,fe.Z)({defaultOpenValue:qe.defaultOpenValue||qe.defaultValue},xe),qe),On=hn.showMillisecond,Un=hn.showHour,dn=hn.showMinute,di=hn.showSecond,Ci=It(Un,dn,di,On),he=Pe(Ci,Un,dn,di,On),ti=(0,pe.Z)(he,3);return Un=ti[0],dn=ti[1],di=ti[2],[hn,(0,fe.Z)((0,fe.Z)({},hn),{},{showHour:Un,showMinute:dn,showSecond:di,showMillisecond:On}),hn.format,Qe]}function Ve(Ft,se,Yt,ve,xe){var Qe=Ft==="time";if(Ft==="datetime"||Qe){for(var qe=ve,hn=te(Ft,xe,null),On=hn,Un=[se,Yt],dn=0;dn1&&(qe=se.addDate(qe,-7)),qe}function Ce(Ft,se){var Yt=se.generateConfig,ve=se.locale,xe=se.format;return Ft?typeof xe=="function"?xe(Ft):Yt.locale.format(ve.locale,Ft,xe):""}function be(Ft,se,Yt){var ve=se,xe=["getHour","getMinute","getSecond","getMillisecond"],Qe=["setHour","setMinute","setSecond","setMillisecond"];return Qe.forEach(function(qe,hn){Yt?ve=Ft[qe](ve,Ft[xe[hn]](Yt)):ve=Ft[qe](ve,0)}),ve}function on(Ft,se,Yt,ve,xe){var Qe=(0,ne.zX)(function(qe,hn){return!!(Yt&&Yt(qe,hn)||ve&&Ft.isAfter(ve,qe)&&!kt(Ft,se,ve,qe,hn.type)||xe&&Ft.isAfter(qe,xe)&&!kt(Ft,se,xe,qe,hn.type))});return Qe}function Ae(Ft,se,Yt){return Nt.useMemo(function(){var ve=te(Ft,se,Yt),xe=Pt(ve),Qe=xe[0],qe=(0,Sn.Z)(Qe)==="object"&&Qe.type==="mask"?Qe.format:null;return[xe.map(function(hn){return typeof hn=="string"||typeof hn=="function"?hn:hn.format}),qe]},[Ft,se,Yt])}function Le(Ft,se,Yt){return typeof Ft[0]=="function"||Yt?!0:se}function _e(Ft,se,Yt,ve){var xe=(0,ne.zX)(function(Qe,qe){var hn=(0,fe.Z)({type:se},qe);if(delete hn.activeIndex,!Ft.isValidate(Qe)||Yt&&Yt(Qe,hn))return!0;if((se==="date"||se==="time")&&ve){var On,Un=qe&&qe.activeIndex===1?"end":"start",dn=((On=ve.disabledTime)===null||On===void 0?void 0:On.call(ve,Qe,Un,{from:hn.from}))||{},di=dn.disabledHours,Ci=dn.disabledMinutes,he=dn.disabledSeconds,ti=dn.disabledMilliseconds,Xn=ve.disabledHours,jn=ve.disabledMinutes,Tn=ve.disabledSeconds,Ei=di||Xn,bi=Ci||jn,mi=he||Tn,ni=Ft.getHour(Qe),Vn=Ft.getMinute(Qe),Ti=Ft.getSecond(Qe),cr=Ft.getMillisecond(Qe);if(Ei&&Ei().includes(ni)||bi&&bi(ni).includes(Vn)||mi&&mi(ni,Vn).includes(Ti)||ti&&ti(ni,Vn,Ti).includes(cr))return!0}return!1});return xe}function un(Ft){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yt=Nt.useMemo(function(){var ve=Ft&&Pt(Ft);return se&&ve&&(ve[1]=ve[1]||ve[0]),ve},[Ft,se]);return Yt}function Pn(Ft,se){var Yt=Ft.generateConfig,ve=Ft.locale,xe=Ft.picker,Qe=xe===void 0?"date":xe,qe=Ft.prefixCls,hn=qe===void 0?"rc-picker":qe,On=Ft.styles,Un=On===void 0?{}:On,dn=Ft.classNames,di=dn===void 0?{}:dn,Ci=Ft.order,he=Ci===void 0?!0:Ci,ti=Ft.components,Xn=ti===void 0?{}:ti,jn=Ft.inputRender,Tn=Ft.allowClear,Ei=Ft.clearIcon,bi=Ft.needConfirm,mi=Ft.multiple,ni=Ft.format,Vn=Ft.inputReadOnly,Ti=Ft.disabledDate,cr=Ft.minDate,mr=Ft.maxDate,kr=Ft.showTime,Si=Ft.value,yr=Ft.defaultValue,ur=Ft.pickerValue,Sr=Ft.defaultPickerValue,pr=un(Si),Pr=un(yr),Fn=un(ur),Ii=un(Sr),Ui=Qe==="date"&&kr?"datetime":Qe,or=Ui==="time"||Ui==="datetime",Ji=or||mi,Qi=bi!=null?bi:or,xi=an(Ft),Dr=(0,pe.Z)(xi,4),Kr=Dr[0],Yr=Dr[1],vr=Dr[2],to=Dr[3],$r=Ee(ve,Yr),Ur=Nt.useMemo(function(){return Ve(Ui,vr,to,Kr,$r)},[Ui,vr,to,Kr,$r]),mo=Nt.useMemo(function(){return(0,fe.Z)((0,fe.Z)({},Ft),{},{prefixCls:hn,locale:$r,picker:Qe,styles:Un,classNames:di,order:he,components:(0,fe.Z)({input:jn},Xn),clearIcon:Se(hn,Tn,Ei),showTime:Ur,value:pr,defaultValue:Pr,pickerValue:Fn,defaultPickerValue:Ii},se==null?void 0:se())},[Ft]),xo=Ae(Ui,$r,ni),No=(0,pe.Z)(xo,2),oo=No[0],ta=No[1],Mo=Le(oo,Vn,mi),na=on(Yt,ve,Ti,cr,mr),Fo=_e(Yt,Qe,na,Ur),Yo=Nt.useMemo(function(){return(0,fe.Z)((0,fe.Z)({},mo),{},{needConfirm:Qi,inputReadOnly:Mo,disabledDate:na})},[mo,Qi,Mo,na]);return[Yo,Ui,Ji,oo,ta,Fo]}var gn=Et(16089);function en(Ft,se,Yt){var ve=(0,ne.C8)(se,{value:Ft}),xe=(0,pe.Z)(ve,2),Qe=xe[0],qe=xe[1],hn=Nt.useRef(Ft),On=Nt.useRef(),Un=function(){gn.Z.cancel(On.current)},dn=(0,ne.zX)(function(){qe(hn.current),Yt&&Qe!==hn.current&&Yt(hn.current)}),di=(0,ne.zX)(function(Ci,he){Un(),hn.current=Ci,Ci||he?dn():On.current=(0,gn.Z)(dn)});return Nt.useEffect(function(){return Un},[]),[Qe,di]}function Zn(Ft,se){var Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],ve=arguments.length>3?arguments[3]:void 0,xe=Yt.every(function(dn){return dn})?!1:Ft,Qe=en(xe,se||!1,ve),qe=(0,pe.Z)(Qe,2),hn=qe[0],On=qe[1];function Un(dn){var di=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!di.inherit||hn)&&On(dn,di.force)}return[hn,Un]}function Hn(Ft){var se=Nt.useRef();return Nt.useImperativeHandle(Ft,function(){var Yt;return{nativeElement:(Yt=se.current)===null||Yt===void 0?void 0:Yt.nativeElement,focus:function(xe){var Qe;(Qe=se.current)===null||Qe===void 0||Qe.focus(xe)},blur:function(){var xe;(xe=se.current)===null||xe===void 0||xe.blur()}}}),se}function mn(Ft,se){return Nt.useMemo(function(){return Ft||(se?((0,ge.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(se).map(function(Yt){var ve=(0,pe.Z)(Yt,2),xe=ve[0],Qe=ve[1];return{label:xe,value:Qe}})):[])},[Ft,se])}function zn(Ft,se){var Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ve=Nt.useRef(se);ve.current=se,(0,Ht.o)(function(){if(Ft)ve.current(Ft);else{var xe=(0,gn.Z)(function(){ve.current(Ft)},Yt);return function(){gn.Z.cancel(xe)}}},[Ft])}function Ri(Ft){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ve=Nt.useState(0),xe=(0,pe.Z)(ve,2),Qe=xe[0],qe=xe[1],hn=Nt.useState(!1),On=(0,pe.Z)(hn,2),Un=On[0],dn=On[1],di=Nt.useRef([]),Ci=Nt.useRef(null),he=Nt.useRef(null),ti=function(mi){Ci.current=mi},Xn=function(mi){return Ci.current===mi},jn=function(mi){dn(mi)},Tn=function(mi){return mi&&(he.current=mi),he.current},Ei=function(mi){var ni=di.current,Vn=new Set(ni.filter(function(cr){return mi[cr]||se[cr]})),Ti=ni[ni.length-1]===0?1:0;return Vn.size>=2||Ft[Ti]?null:Ti};return zn(Un||Yt,function(){Un||(di.current=[],ti(null))}),Nt.useEffect(function(){Un&&di.current.push(Qe)},[Un,Qe]),[Un,jn,Tn,Qe,qe,Ei,di.current,ti,Xn]}function vi(Ft,se,Yt,ve,xe,Qe){var qe=Yt[Yt.length-1],hn=function(Un,dn){var di=(0,pe.Z)(Ft,2),Ci=di[0],he=di[1],ti=(0,fe.Z)((0,fe.Z)({},dn),{},{from:Jt(Ft,Yt)});return qe===1&&se[0]&&Ci&&!kt(ve,xe,Ci,Un,ti.type)&&ve.isAfter(Ci,Un)||qe===0&&se[1]&&he&&!kt(ve,xe,he,Un,ti.type)&&ve.isAfter(Un,he)?!0:Qe==null?void 0:Qe(Un,ti)};return hn}function ji(Ft,se,Yt,ve){switch(se){case"date":case"week":return Ft.addMonth(Yt,ve);case"month":case"quarter":return Ft.addYear(Yt,ve);case"year":return Ft.addYear(Yt,ve*10);case"decade":return Ft.addYear(Yt,ve*100);default:return Yt}}var er=[];function Ke(Ft,se,Yt,ve,xe,Qe,qe,hn){var On=arguments.length>8&&arguments[8]!==void 0?arguments[8]:er,Un=arguments.length>9&&arguments[9]!==void 0?arguments[9]:er,dn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:er,di=arguments.length>11?arguments[11]:void 0,Ci=arguments.length>12?arguments[12]:void 0,he=arguments.length>13?arguments[13]:void 0,ti=qe==="time",Xn=Qe||0,jn=function(Fn){var Ii=Ft.getNow();return ti&&(Ii=be(Ft,Ii)),On[Fn]||Yt[Fn]||Ii},Tn=(0,pe.Z)(Un,2),Ei=Tn[0],bi=Tn[1],mi=(0,ne.C8)(function(){return jn(0)},{value:Ei}),ni=(0,pe.Z)(mi,2),Vn=ni[0],Ti=ni[1],cr=(0,ne.C8)(function(){return jn(1)},{value:bi}),mr=(0,pe.Z)(cr,2),kr=mr[0],Si=mr[1],yr=Nt.useMemo(function(){var Pr=[Vn,kr][Xn];return ti?Pr:be(Ft,Pr,dn[Xn])},[ti,Vn,kr,Xn,Ft,dn]),ur=function(Fn){var Ii=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",Ui=[Ti,Si][Xn];Ui(Fn);var or=[Vn,kr];or[Xn]=Fn,di&&(!kt(Ft,se,Vn,or[0],qe)||!kt(Ft,se,kr,or[1],qe))&&di(or,{source:Ii,range:Xn===1?"end":"start",mode:ve})},Sr=function(Fn,Ii){if(hn){var Ui={date:"month",week:"month",month:"year",quarter:"year"},or=Ui[qe];if(or&&!kt(Ft,se,Fn,Ii,or))return ji(Ft,qe,Ii,-1);if(qe==="year"&&Fn){var Ji=Math.floor(Ft.getYear(Fn)/10),Qi=Math.floor(Ft.getYear(Ii)/10);if(Ji!==Qi)return ji(Ft,qe,Ii,-1)}}return Ii},pr=Nt.useRef(null);return(0,Ht.Z)(function(){if(xe&&!On[Xn]){var Pr=ti?null:Ft.getNow();if(pr.current!==null&&pr.current!==Xn?Pr=[Vn,kr][Xn^1]:Yt[Xn]?Pr=Xn===0?Yt[0]:Sr(Yt[0],Yt[1]):Yt[Xn^1]&&(Pr=Yt[Xn^1]),Pr){Ci&&Ft.isAfter(Ci,Pr)&&(Pr=Ci);var Fn=hn?ji(Ft,qe,Pr,1):Pr;he&&Ft.isAfter(Fn,he)&&(Pr=hn?ji(Ft,qe,he,-1):he),ur(Pr,"reset")}}},[xe,Xn,Yt[Xn]]),Nt.useEffect(function(){xe?pr.current=Xn:pr.current=null},[xe,Xn]),(0,Ht.Z)(function(){xe&&On&&On[Xn]&&ur(On[Xn],"reset")},[xe,Xn]),[yr,ur]}function Ue(Ft,se){var Yt=Nt.useRef(Ft),ve=Nt.useState({}),xe=(0,pe.Z)(ve,2),Qe=xe[1],qe=function(Un){return Un&&se!==void 0?se:Yt.current},hn=function(Un){Yt.current=Un,Qe({})};return[qe,hn,qe(!0)]}var ii=[];function Ai(Ft,se,Yt){var ve=function(qe){return qe.map(function(hn){return Ce(hn,{generateConfig:Ft,locale:se,format:Yt[0]})})},xe=function(qe,hn){for(var On=Math.max(qe.length,hn.length),Un=-1,dn=0;dn2&&arguments[2]!==void 0?arguments[2]:1,ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,xe=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],Qe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,qe=[],hn=Yt>=1?Yt|0:1,On=Ft;On<=se;On+=hn){var Un=xe.includes(On);(!Un||!ve)&&qe.push({label:St(On,Qe),value:On,disabled:Un})}return qe}function oi(Ft){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Yt=arguments.length>2?arguments[2]:void 0,ve=se||{},xe=ve.use12Hours,Qe=ve.hourStep,qe=Qe===void 0?1:Qe,hn=ve.minuteStep,On=hn===void 0?1:hn,Un=ve.secondStep,dn=Un===void 0?1:Un,di=ve.millisecondStep,Ci=di===void 0?100:di,he=ve.hideDisabledOptions,ti=ve.disabledTime,Xn=ve.disabledHours,jn=ve.disabledMinutes,Tn=ve.disabledSeconds,Ei=Nt.useMemo(function(){return Yt||Ft.getNow()},[Yt,Ft]);if(0)var bi,mi,ni;var Vn=Nt.useCallback(function(Ji){var Qi=(ti==null?void 0:ti(Ji))||{};return[Qi.disabledHours||Xn||Ct,Qi.disabledMinutes||jn||Ct,Qi.disabledSeconds||Tn||Ct,Qi.disabledMilliseconds||Ct]},[ti,Xn,jn,Tn]),Ti=Nt.useMemo(function(){return Vn(Ei)},[Ei,Vn]),cr=(0,pe.Z)(Ti,4),mr=cr[0],kr=cr[1],Si=cr[2],yr=cr[3],ur=Nt.useCallback(function(Ji,Qi,xi,Dr){var Kr=Bi(0,23,qe,he,Ji()),Yr=xe?Kr.map(function(Ur){return(0,fe.Z)((0,fe.Z)({},Ur),{},{label:St(Ur.value%12||12,2)})}):Kr,vr=function(mo){return Bi(0,59,On,he,Qi(mo))},to=function(mo,xo){return Bi(0,59,dn,he,xi(mo,xo))},$r=function(mo,xo,No){return Bi(0,999,Ci,he,Dr(mo,xo,No),3)};return[Yr,vr,to,$r]},[he,qe,xe,Ci,On,dn]),Sr=Nt.useMemo(function(){return ur(mr,kr,Si,yr)},[ur,mr,kr,Si,yr]),pr=(0,pe.Z)(Sr,4),Pr=pr[0],Fn=pr[1],Ii=pr[2],Ui=pr[3],or=function(Qi,xi){var Dr=function(){return Pr},Kr=Fn,Yr=Ii,vr=Ui;if(xi){var to=Vn(xi),$r=(0,pe.Z)(to,4),Ur=$r[0],mo=$r[1],xo=$r[2],No=$r[3],oo=ur(Ur,mo,xo,No),ta=(0,pe.Z)(oo,4),Mo=ta[0],na=ta[1],Fo=ta[2],Yo=ta[3];Dr=function(){return Mo},Kr=na,Yr=Fo,vr=Yo}var ia=qi(Qi,Dr,Kr,Yr,vr,Ft);return ia};return[or,Pr,Fn,Ii,Ui]}function Wn(Ft){var se=Ft.mode,Yt=Ft.internalMode,ve=Ft.renderExtraFooter,xe=Ft.showNow,Qe=Ft.showTime,qe=Ft.onSubmit,hn=Ft.onNow,On=Ft.invalid,Un=Ft.needConfirm,dn=Ft.generateConfig,di=Ft.disabledDate,Ci=Nt.useContext(ct),he=Ci.prefixCls,ti=Ci.locale,Xn=Ci.button,jn=Xn===void 0?"button":Xn,Tn=dn.getNow(),Ei=oi(dn,Qe,Tn),bi=(0,pe.Z)(Ei,1),mi=bi[0],ni=ve==null?void 0:ve(se),Vn=di(Tn,{type:se}),Ti=function(){if(!Vn){var Sr=mi(Tn);hn(Sr)}},cr="".concat(he,"-now"),mr="".concat(cr,"-btn"),kr=xe&&Nt.createElement("li",{className:cr},Nt.createElement("a",{className:Bt()(mr,Vn&&"".concat(mr,"-disabled")),"aria-disabled":Vn,onClick:Ti},Yt==="date"?ti.today:ti.now)),Si=Un&&Nt.createElement("li",{className:"".concat(he,"-ok")},Nt.createElement(jn,{disabled:On,onClick:qe},ti.ok)),yr=(kr||Si)&&Nt.createElement("ul",{className:"".concat(he,"-ranges")},kr,Si);return!ni&&!yr?null:Nt.createElement("div",{className:"".concat(he,"-footer")},ni&&Nt.createElement("div",{className:"".concat(he,"-footer-extra")},ni),yr)}function Bn(Ft,se,Yt){function ve(xe,Qe){var qe=xe.findIndex(function(On){return kt(Ft,se,On,Qe,Yt)});if(qe===-1)return[].concat((0,re.Z)(xe),[Qe]);var hn=(0,re.Z)(xe);return hn.splice(qe,1),hn}return ve}var En=Nt.createContext(null);function vn(){return Nt.useContext(En)}function ui(Ft,se){var Yt=Ft.prefixCls,ve=Ft.generateConfig,xe=Ft.locale,Qe=Ft.disabledDate,qe=Ft.minDate,hn=Ft.maxDate,On=Ft.cellRender,Un=Ft.hoverValue,dn=Ft.hoverRangeValue,di=Ft.onHover,Ci=Ft.values,he=Ft.pickerValue,ti=Ft.onSelect,Xn=Ft.prevIcon,jn=Ft.nextIcon,Tn=Ft.superPrevIcon,Ei=Ft.superNextIcon,bi=ve.getNow(),mi={now:bi,values:Ci,pickerValue:he,prefixCls:Yt,disabledDate:Qe,minDate:qe,maxDate:hn,cellRender:On,hoverValue:Un,hoverRangeValue:dn,onHover:di,locale:xe,generateConfig:ve,onSelect:ti,panelType:se,prevIcon:Xn,nextIcon:jn,superPrevIcon:Tn,superNextIcon:Ei};return[mi,bi]}var Te=Nt.createContext({});function Ze(Ft){for(var se=Ft.rowNum,Yt=Ft.colNum,ve=Ft.baseDate,xe=Ft.getCellDate,Qe=Ft.prefixColumn,qe=Ft.rowClassName,hn=Ft.titleFormat,On=Ft.getCellText,Un=Ft.getCellClassName,dn=Ft.headerCells,di=Ft.cellSelection,Ci=di===void 0?!0:di,he=Ft.disabledDate,ti=vn(),Xn=ti.prefixCls,jn=ti.panelType,Tn=ti.now,Ei=ti.disabledDate,bi=ti.cellRender,mi=ti.onHover,ni=ti.hoverValue,Vn=ti.hoverRangeValue,Ti=ti.generateConfig,cr=ti.values,mr=ti.locale,kr=ti.onSelect,Si=he||Ei,yr="".concat(Xn,"-cell"),ur=Nt.useContext(Te),Sr=ur.onCellDblClick,pr=function(xi){return cr.some(function(Dr){return Dr&&kt(Ti,mr,xi,Dr,jn)})},Pr=[],Fn=0;Fn1&&arguments[1]!==void 0?arguments[1]:!1;jo(lr),jn==null||jn(lr),Ir&&Ao(lr)},Ca=function(lr,Ir){$r(lr),Ir&&oa(Ir),Ao(Ir,lr)},Ho=function(lr){if(Fo(lr),oa(lr),to!==mi){var Ir=["decade","year"],wr=[].concat(Ir,["month"]),pi={quarter:[].concat(Ir,["quarter"]),week:[].concat((0,re.Z)(wr),["week"]),date:[].concat((0,re.Z)(wr),["date"])},Zo=pi[mi]||wr,ce=Zo.indexOf(to),Ln=Zo[ce+1];Ln&&Ca(Ln,lr)}},Ra=Nt.useMemo(function(){var Lr,lr;if(Array.isArray(Ti)){var Ir=(0,pe.Z)(Ti,2);Lr=Ir[0],lr=Ir[1]}else Lr=Ti;return!Lr&&!lr?null:(Lr=Lr||lr,lr=lr||Lr,xe.isAfter(Lr,lr)?[lr,Lr]:[Lr,lr])},[Ti,xe]),ko=le(cr,mr,kr),Po=yr[Ur]||ai[Ur]||Ni,vo=Nt.useContext(Te),_o=Nt.useMemo(function(){return(0,fe.Z)((0,fe.Z)({},vo),{},{hideHeader:ur})},[vo,ur]),bo="".concat(Sr,"-panel"),La=Wt(Ft,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return Nt.createElement(Te.Provider,{value:_o},Nt.createElement("div",{ref:pr,tabIndex:On,className:Bt()(bo,(0,Je.Z)({},"".concat(bo,"-rtl"),Qe==="rtl"))},Nt.createElement(Po,(0,Lt.Z)({},La,{showTime:Dr,prefixCls:Sr,locale:Qi,generateConfig:xe,onModeChange:Ca,pickerValue:Qo,onPickerValueChange:function(lr){oa(lr,!0)},value:Mo[0],onSelect:Ho,values:Mo,cellRender:ko,hoverRangeValue:Ra,hoverValue:Vn}))))}var hi=Nt.memo(Nt.forwardRef(Jn)),hr=hi;function tr(Ft){var se=Ft.picker,Yt=Ft.multiplePanel,ve=Ft.pickerValue,xe=Ft.onPickerValueChange,Qe=Ft.needConfirm,qe=Ft.onSubmit,hn=Ft.range,On=Ft.hoverValue,Un=Nt.useContext(ct),dn=Un.prefixCls,di=Un.generateConfig,Ci=Nt.useCallback(function(Ei,bi){return ji(di,se,Ei,bi)},[di,se]),he=Nt.useMemo(function(){return Ci(ve,1)},[ve,Ci]),ti=function(bi){xe(Ci(bi,-1))},Xn={onCellDblClick:function(){Qe&&qe()}},jn=se==="time",Tn=(0,fe.Z)((0,fe.Z)({},Ft),{},{hoverValue:null,hoverRangeValue:null,hideHeader:jn});return hn?Tn.hoverRangeValue=On:Tn.hoverValue=On,Yt?Nt.createElement("div",{className:"".concat(dn,"-panels")},Nt.createElement(Te.Provider,{value:(0,fe.Z)((0,fe.Z)({},Xn),{},{hideNext:!0})},Nt.createElement(hr,Tn)),Nt.createElement(Te.Provider,{value:(0,fe.Z)((0,fe.Z)({},Xn),{},{hidePrev:!0})},Nt.createElement(hr,(0,Lt.Z)({},Tn,{pickerValue:he,onPickerValueChange:ti})))):Nt.createElement(Te.Provider,{value:(0,fe.Z)({},Xn)},Nt.createElement(hr,Tn))}function Dn(Ft){return typeof Ft=="function"?Ft():Ft}function ki(Ft){var se=Ft.prefixCls,Yt=Ft.presets,ve=Ft.onClick,xe=Ft.onHover;return Yt.length?Nt.createElement("div",{className:"".concat(se,"-presets")},Nt.createElement("ul",null,Yt.map(function(Qe,qe){var hn=Qe.label,On=Qe.value;return Nt.createElement("li",{key:qe,onClick:function(){ve(Dn(On))},onMouseEnter:function(){xe(Dn(On))},onMouseLeave:function(){xe(null)}},hn)}))):null}function Fr(Ft){var se=Ft.panelRender,Yt=Ft.internalMode,ve=Ft.picker,xe=Ft.showNow,Qe=Ft.range,qe=Ft.multiple,hn=Ft.activeInfo,On=hn===void 0?[0,0,0]:hn,Un=Ft.presets,dn=Ft.onPresetHover,di=Ft.onPresetSubmit,Ci=Ft.onFocus,he=Ft.onBlur,ti=Ft.onPanelMouseDown,Xn=Ft.direction,jn=Ft.value,Tn=Ft.onSelect,Ei=Ft.isInvalid,bi=Ft.defaultOpenValue,mi=Ft.onOk,ni=Ft.onSubmit,Vn=Nt.useContext(ct),Ti=Vn.prefixCls,cr="".concat(Ti,"-panel"),mr=Xn==="rtl",kr=Nt.useRef(null),Si=Nt.useRef(null),yr=Nt.useState(0),ur=(0,pe.Z)(yr,2),Sr=ur[0],pr=ur[1],Pr=Nt.useState(0),Fn=(0,pe.Z)(Pr,2),Ii=Fn[0],Ui=Fn[1],or=Nt.useState(0),Ji=(0,pe.Z)(or,2),Qi=Ji[0],xi=Ji[1],Dr=function(Ho){Ho.width&&pr(Ho.width)},Kr=(0,pe.Z)(On,3),Yr=Kr[0],vr=Kr[1],to=Kr[2],$r=Nt.useState(0),Ur=(0,pe.Z)($r,2),mo=Ur[0],xo=Ur[1];Nt.useEffect(function(){xo(10)},[Yr]),Nt.useEffect(function(){if(Qe&&Si.current){var Ca,Ho=((Ca=kr.current)===null||Ca===void 0?void 0:Ca.offsetWidth)||0,Ra=Si.current.getBoundingClientRect();if(!Ra.height||Ra.right<0){xo(function(_o){return Math.max(0,_o-1)});return}var ko=(mr?vr-Ho:Yr)-Ra.left;if(xi(ko),Sr&&Sr=hn&&Yt<=On)return Qe;var Un=Math.min(Math.abs(Yt-hn),Math.abs(Yt-On));Un0?Hs:aa));var sa=$a+ca,co=aa-Hs+1;return String(Hs+(co+sa-Hs)%co)};switch(Ir){case"Backspace":case"Delete":wr="",pi=ce;break;case"ArrowLeft":wr="",Ln(-1);break;case"ArrowRight":wr="",Ln(1);break;case"ArrowUp":wr="",pi=za(1);break;case"ArrowDown":wr="",pi=za(-1);break;default:isNaN(Number(Ir))||(wr=Qi+Ir,pi=wr);break}if(wr!==null&&(xi(wr),wr.length>=Zo&&(Ln(1),xi(""))),pi!==null){var ja=xo.slice(0,Fo)+St(pi,Zo)+xo.slice(Yo);Qo(ja.slice(0,qe.length))}mo({})},bo=Nt.useRef();(0,Ht.Z)(function(){if(!(!Sr||!qe||oa.current)){if(!ta.match(xo)){Qo(qe);return}return oo.current.setSelectionRange(Fo,Yo),bo.current=(0,gn.Z)(function(){oo.current.setSelectionRange(Fo,Yo)}),function(){gn.Z.cancel(bo.current)}}},[ta,qe,Sr,xo,Yr,Fo,Yo,Ur,Qo]);var La=qe?{onFocus:Ra,onBlur:Po,onKeyDown:_o,onMouseDown:Ca,onMouseUp:Ho,onPaste:Ao}:{};return Nt.createElement("div",{ref:No,className:Bt()(Si,(0,Je.Z)((0,Je.Z)({},"".concat(Si,"-active"),Yt&&xe),"".concat(Si,"-placeholder"),dn))},Nt.createElement(kr,(0,Lt.Z)({ref:oo,"aria-invalid":jn,autoComplete:"off"},Ei,{onKeyDown:vo,onBlur:ko},La,{value:xo,onChange:jo})),Nt.createElement(Wr,{type:"suffix",icon:Qe}),Tn)}),Or=rr,Tr=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],ho=["index"];function Gr(Ft,se){var Yt=Ft.id,ve=Ft.prefix,xe=Ft.clearIcon,Qe=Ft.suffixIcon,qe=Ft.separator,hn=qe===void 0?"~":qe,On=Ft.activeIndex,Un=Ft.activeHelp,dn=Ft.allHelp,di=Ft.focused,Ci=Ft.onFocus,he=Ft.onBlur,ti=Ft.onKeyDown,Xn=Ft.locale,jn=Ft.generateConfig,Tn=Ft.placeholder,Ei=Ft.className,bi=Ft.style,mi=Ft.onClick,ni=Ft.onClear,Vn=Ft.value,Ti=Ft.onChange,cr=Ft.onSubmit,mr=Ft.onInputChange,kr=Ft.format,Si=Ft.maskFormat,yr=Ft.preserveInvalidOnBlur,ur=Ft.onInvalid,Sr=Ft.disabled,pr=Ft.invalid,Pr=Ft.inputReadOnly,Fn=Ft.direction,Ii=Ft.onOpenChange,Ui=Ft.onActiveInfo,or=Ft.placement,Ji=Ft.onMouseDown,Qi=Ft.required,xi=Ft["aria-required"],Dr=Ft.autoFocus,Kr=Ft.tabIndex,Yr=(0,jr.Z)(Ft,Tr),vr=Fn==="rtl",to=Nt.useContext(ct),$r=to.prefixCls,Ur=Nt.useMemo(function(){if(typeof Yt=="string")return[Yt];var ko=Yt||{};return[ko.start,ko.end]},[Yt]),mo=Nt.useRef(),xo=Nt.useRef(),No=Nt.useRef(),oo=function(Po){var vo;return(vo=[xo,No][Po])===null||vo===void 0?void 0:vo.current};Nt.useImperativeHandle(se,function(){return{nativeElement:mo.current,focus:function(Po){if((0,Sn.Z)(Po)==="object"){var vo,_o=Po||{},bo=_o.index,La=bo===void 0?0:bo,Lr=(0,jr.Z)(_o,ho);(vo=oo(La))===null||vo===void 0||vo.focus(Lr)}else{var lr;(lr=oo(Po!=null?Po:0))===null||lr===void 0||lr.focus()}},blur:function(){var Po,vo;(Po=oo(0))===null||Po===void 0||Po.blur(),(vo=oo(1))===null||vo===void 0||vo.blur()}}});var ta=_i(Yr),Mo=Nt.useMemo(function(){return Array.isArray(Tn)?Tn:[Tn,Tn]},[Tn]),na=so((0,fe.Z)((0,fe.Z)({},Ft),{},{id:Ur,placeholder:Mo})),Fo=(0,pe.Z)(na,1),Yo=Fo[0],ia=Nt.useState({position:"absolute",width:0}),Qo=(0,pe.Z)(ia,2),jo=Qo[0],Ao=Qo[1],oa=(0,ne.zX)(function(){var ko=oo(On);if(ko){var Po=ko.nativeElement.getBoundingClientRect(),vo=mo.current.getBoundingClientRect(),_o=Po.left-vo.left;Ao(function(bo){return(0,fe.Z)((0,fe.Z)({},bo),{},{width:Po.width,left:_o})}),Ui([Po.left,Po.right,vo.width])}});Nt.useEffect(function(){oa()},[On]);var Ca=xe&&(Vn[0]&&!Sr[0]||Vn[1]&&!Sr[1]),Ho=Dr&&!Sr[0],Ra=Dr&&!Ho&&!Sr[1];return Nt.createElement(_n.Z,{onResize:oa},Nt.createElement("div",(0,Lt.Z)({},ta,{className:Bt()($r,"".concat($r,"-range"),(0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat($r,"-focused"),di),"".concat($r,"-disabled"),Sr.every(function(ko){return ko})),"".concat($r,"-invalid"),pr.some(function(ko){return ko})),"".concat($r,"-rtl"),vr),Ei),style:bi,ref:mo,onClick:mi,onMouseDown:function(Po){var vo=Po.target;vo!==xo.current.inputElement&&vo!==No.current.inputElement&&Po.preventDefault(),Ji==null||Ji(Po)}}),ve&&Nt.createElement("div",{className:"".concat($r,"-prefix")},ve),Nt.createElement(Or,(0,Lt.Z)({ref:xo},Yo(0),{autoFocus:Ho,tabIndex:Kr,"date-range":"start"})),Nt.createElement("div",{className:"".concat($r,"-range-separator")},hn),Nt.createElement(Or,(0,Lt.Z)({ref:No},Yo(1),{autoFocus:Ra,tabIndex:Kr,"date-range":"end"})),Nt.createElement("div",{className:"".concat($r,"-active-bar"),style:jo}),Nt.createElement(Wr,{type:"suffix",icon:Qe}),Ca&&Nt.createElement(Nr,{icon:xe,onClear:ni})))}var xr=Nt.forwardRef(Gr),lo=xr;function We(Ft,se){var Yt=Ft!=null?Ft:se;return Array.isArray(Yt)?Yt:[Yt,Yt]}function An(Ft){return Ft===1?"end":"start"}function Be(Ft,se){var Yt=Pn(Ft,function(){var io=Ft.disabled,uo=Ft.allowEmpty,Co=We(io,!1),$o=We(uo,!1);return{disabled:Co,allowEmpty:$o}}),ve=(0,pe.Z)(Yt,6),xe=ve[0],Qe=ve[1],qe=ve[2],hn=ve[3],On=ve[4],Un=ve[5],dn=xe.prefixCls,di=xe.styles,Ci=xe.classNames,he=xe.defaultValue,ti=xe.value,Xn=xe.needConfirm,jn=xe.onKeyDown,Tn=xe.disabled,Ei=xe.allowEmpty,bi=xe.disabledDate,mi=xe.minDate,ni=xe.maxDate,Vn=xe.defaultOpen,Ti=xe.open,cr=xe.onOpenChange,mr=xe.locale,kr=xe.generateConfig,Si=xe.picker,yr=xe.showNow,ur=xe.showToday,Sr=xe.showTime,pr=xe.mode,Pr=xe.onPanelChange,Fn=xe.onCalendarChange,Ii=xe.onOk,Ui=xe.defaultPickerValue,or=xe.pickerValue,Ji=xe.onPickerValueChange,Qi=xe.inputReadOnly,xi=xe.suffixIcon,Dr=xe.onFocus,Kr=xe.onBlur,Yr=xe.presets,vr=xe.ranges,to=xe.components,$r=xe.cellRender,Ur=xe.dateRender,mo=xe.monthCellRender,xo=xe.onClick,No=Hn(se),oo=Zn(Ti,Vn,Tn,cr),ta=(0,pe.Z)(oo,2),Mo=ta[0],na=ta[1],Fo=function(uo,Co){(Tn.some(function($o){return!$o})||!uo)&&na(uo,Co)},Yo=sr(kr,mr,hn,!0,!1,he,ti,Fn,Ii),ia=(0,pe.Z)(Yo,5),Qo=ia[0],jo=ia[1],Ao=ia[2],oa=ia[3],Ca=ia[4],Ho=Ao(),Ra=Ri(Tn,Ei,Mo),ko=(0,pe.Z)(Ra,9),Po=ko[0],vo=ko[1],_o=ko[2],bo=ko[3],La=ko[4],Lr=ko[5],lr=ko[6],Ir=ko[7],wr=ko[8],pi=function(uo,Co){vo(!0),Dr==null||Dr(uo,{range:An(Co!=null?Co:bo)})},Zo=function(uo,Co){vo(!1),Kr==null||Kr(uo,{range:An(Co!=null?Co:bo)})},ce=Nt.useMemo(function(){if(!Sr)return null;var io=Sr.disabledTime,uo=io?function(Co){var $o=An(bo),ns=Jt(Ho,lr,bo);return io(Co,$o,{from:ns})}:void 0;return(0,fe.Z)((0,fe.Z)({},Sr),{},{disabledTime:uo})},[Sr,bo,Ho,lr]),Ln=(0,ne.C8)([Si,Si],{value:pr}),za=(0,pe.Z)(Ln,2),ja=za[0],da=za[1],ca=ja[bo]||Si,Ga=ca==="date"&&ce?"datetime":ca,Ta=Ga===Si&&Ga!=="time",Hs=fr(Si,ca,yr,ur,!0),aa=nr(xe,Qo,jo,Ao,oa,Tn,hn,Po,Mo,Un),Vr=(0,pe.Z)(aa,2),Va=Vr[0],$a=Vr[1],sa=vi(Ho,Tn,lr,kr,mr,bi),co=ae(Ho,Un,Ei),ga=(0,pe.Z)(co,2),ls=ga[0],ra=ga[1],us=Ke(kr,mr,Ho,ja,Mo,bo,Qe,Ta,Ui,or,ce==null?void 0:ce.defaultOpenValue,Ji,mi,ni),Da=(0,pe.Z)(us,2),El=Da[0],Ro=Da[1],ba=(0,ne.zX)(function(io,uo,Co){var $o=Rt(ja,bo,uo);if(($o[0]!==ja[0]||$o[1]!==ja[1])&&da($o),Pr&&Co!==!1){var ns=(0,re.Z)(Ho);io&&(ns[bo]=io),Pr(ns,$o)}}),To=function(uo,Co){return Rt(Ho,Co,uo)},Uo=function(uo,Co){var $o=Ho;uo&&($o=To(uo,bo)),Ir(bo);var ns=Lr($o);oa($o),Va(bo,ns===null),ns===null?Fo(!1,{force:!0}):Co||No.current.focus({index:ns})},ua=function(uo){var Co,$o=uo.target.getRootNode();if(!No.current.nativeElement.contains((Co=$o.activeElement)!==null&&Co!==void 0?Co:document.activeElement)){var ns=Tn.findIndex(function(hs){return!hs});ns>=0&&No.current.focus({index:ns})}Fo(!0),xo==null||xo(uo)},pa=function(){$a(null),Fo(!1,{force:!0})},Xo=Nt.useState(null),fl=(0,pe.Z)(Xo,2),Qr=fl[0],pu=fl[1],wo=Nt.useState(null),Gl=(0,pe.Z)(wo,2),Qs=Gl[0],Fl=Gl[1],mu=Nt.useMemo(function(){return Qs||Ho},[Ho,Qs]);Nt.useEffect(function(){Mo||Fl(null)},[Mo]);var vu=Nt.useState([0,0,0]),Zs=(0,pe.Z)(vu,2),Vl=Zs[0],Go=Zs[1],Ws=mn(Yr,vr),yu=function(uo){Fl(uo),pu("preset")},gl=function(uo){var Co=$a(uo);Co&&Fo(!1,{force:!0})},Fu=function(uo){Uo(uo)},pl=function(uo){Fl(uo?To(uo,bo):null),pu("cell")},Eo=function(uo){Fo(!0),pi(uo)},Wo=function(){_o("panel")},wa=function(uo){var Co=Rt(Ho,bo,uo);oa(Co),!Xn&&!qe&&Qe===Ga&&Uo(uo)},ts=function(){Fo(!1)},Ja=le($r,Ur,mo,An(bo)),Nl=Ho[bo]||null,ml=(0,ne.zX)(function(io){return Un(io,{activeIndex:bo})}),Do=Nt.useMemo(function(){var io=(0,Oe.Z)(xe,!1),uo=(0,oe.Z)(xe,[].concat((0,re.Z)(Object.keys(io)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return uo},[xe]),fo=Nt.createElement(Fr,(0,Lt.Z)({},Do,{showNow:Hs,showTime:ce,range:!0,multiplePanel:Ta,activeInfo:Vl,disabledDate:sa,onFocus:Eo,onBlur:Zo,onPanelMouseDown:Wo,picker:Si,mode:ca,internalMode:Ga,onPanelChange:ba,format:On,value:Nl,isInvalid:ml,onChange:null,onSelect:wa,pickerValue:El,defaultOpenValue:Pt(Sr==null?void 0:Sr.defaultOpenValue)[bo],onPickerValueChange:Ro,hoverValue:mu,onHover:pl,needConfirm:Xn,onSubmit:Uo,onOk:Ca,presets:Ws,onPresetHover:yu,onPresetSubmit:gl,onNow:Fu,cellRender:Ja})),Ka=function(uo,Co){var $o=To(uo,Co);oa($o)},iu=function(){_o("input")},Ed=function(uo,Co){var $o=lr.length,ns=lr[$o-1];if($o&&ns!==Co&&Xn&&!Ei[ns]&&!wr(ns)&&Ho[ns]){No.current.focus({index:ns});return}_o("input"),Fo(!0,{inherit:!0}),bo!==Co&&Mo&&!Xn&&qe&&Uo(null,!0),La(Co),pi(uo,Co)},hg=function(uo,Co){if(Fo(!1),!Xn&&_o()==="input"){var $o=Lr(Ho);Va(bo,$o===null)}Zo(uo,Co)},tf=function(uo,Co){uo.key==="Tab"&&Uo(null,!0),jn==null||jn(uo,Co)},Ha=Nt.useMemo(function(){return{prefixCls:dn,locale:mr,generateConfig:kr,button:to.button,input:to.input}},[dn,mr,kr,to.button,to.input]);if((0,Ht.Z)(function(){Mo&&bo!==void 0&&ba(null,Si,!1)},[Mo,bo,Si]),(0,Ht.Z)(function(){var io=_o();!Mo&&io==="input"&&(Fo(!1),Uo(null,!0)),!Mo&&qe&&!Xn&&io==="panel"&&(Fo(!0),Uo())},[Mo]),0)var Ju;return Nt.createElement(ct.Provider,{value:Ha},Nt.createElement(mt,(0,Lt.Z)({},Vt(xe),{popupElement:fo,popupStyle:di.popup,popupClassName:Ci.popup,visible:Mo,onClose:ts,range:!0}),Nt.createElement(lo,(0,Lt.Z)({},xe,{ref:No,suffixIcon:xi,activeIndex:Po||Mo?bo:null,activeHelp:!!Qs,allHelp:!!Qs&&Qr==="preset",focused:Po,onFocus:Ed,onBlur:hg,onKeyDown:tf,onSubmit:Uo,value:mu,maskFormat:On,onChange:Ka,onInputChange:iu,format:hn,inputReadOnly:Qi,disabled:Tn,open:Mo,onOpenChange:Fo,onClick:ua,onClear:pa,invalid:ls,onInvalid:ra,onActiveInfo:Go}))))}var Ot=Nt.forwardRef(Be),Qn=Ot,Li=Et(11780);function Xi(Ft){var se=Ft.prefixCls,Yt=Ft.value,ve=Ft.onRemove,xe=Ft.removeIcon,Qe=xe===void 0?"\xD7":xe,qe=Ft.formatDate,hn=Ft.disabled,On=Ft.maxTagCount,Un=Ft.placeholder,dn="".concat(se,"-selector"),di="".concat(se,"-selection"),Ci="".concat(di,"-overflow");function he(jn,Tn){return Nt.createElement("span",{className:Bt()("".concat(di,"-item")),title:typeof jn=="string"?jn:null},Nt.createElement("span",{className:"".concat(di,"-item-content")},jn),!hn&&Tn&&Nt.createElement("span",{onMouseDown:function(bi){bi.preventDefault()},onClick:Tn,className:"".concat(di,"-item-remove")},Qe))}function ti(jn){var Tn=qe(jn),Ei=function(mi){mi&&mi.stopPropagation(),ve(jn)};return he(Tn,Ei)}function Xn(jn){var Tn="+ ".concat(jn.length," ...");return he(Tn)}return Nt.createElement("div",{className:dn},Nt.createElement(Li.Z,{prefixCls:Ci,data:Yt,renderItem:ti,renderRest:Xn,itemKey:function(Tn){return qe(Tn)},maxCount:On}),!Yt.length&&Nt.createElement("span",{className:"".concat(se,"-selection-placeholder")},Un))}var Vi=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function yi(Ft,se){var Yt=Ft.id,ve=Ft.open,xe=Ft.prefix,Qe=Ft.clearIcon,qe=Ft.suffixIcon,hn=Ft.activeHelp,On=Ft.allHelp,Un=Ft.focused,dn=Ft.onFocus,di=Ft.onBlur,Ci=Ft.onKeyDown,he=Ft.locale,ti=Ft.generateConfig,Xn=Ft.placeholder,jn=Ft.className,Tn=Ft.style,Ei=Ft.onClick,bi=Ft.onClear,mi=Ft.internalPicker,ni=Ft.value,Vn=Ft.onChange,Ti=Ft.onSubmit,cr=Ft.onInputChange,mr=Ft.multiple,kr=Ft.maxTagCount,Si=Ft.format,yr=Ft.maskFormat,ur=Ft.preserveInvalidOnBlur,Sr=Ft.onInvalid,pr=Ft.disabled,Pr=Ft.invalid,Fn=Ft.inputReadOnly,Ii=Ft.direction,Ui=Ft.onOpenChange,or=Ft.onMouseDown,Ji=Ft.required,Qi=Ft["aria-required"],xi=Ft.autoFocus,Dr=Ft.tabIndex,Kr=Ft.removeIcon,Yr=(0,jr.Z)(Ft,Vi),vr=Ii==="rtl",to=Nt.useContext(ct),$r=to.prefixCls,Ur=Nt.useRef(),mo=Nt.useRef();Nt.useImperativeHandle(se,function(){return{nativeElement:Ur.current,focus:function(jo){var Ao;(Ao=mo.current)===null||Ao===void 0||Ao.focus(jo)},blur:function(){var jo;(jo=mo.current)===null||jo===void 0||jo.blur()}}});var xo=_i(Yr),No=function(jo){Vn([jo])},oo=function(jo){var Ao=ni.filter(function(oa){return oa&&!kt(ti,he,oa,jo,mi)});Vn(Ao),ve||Ti()},ta=so((0,fe.Z)((0,fe.Z)({},Ft),{},{onChange:No}),function(Qo){var jo=Qo.valueTexts;return{value:jo[0]||"",active:Un}}),Mo=(0,pe.Z)(ta,2),na=Mo[0],Fo=Mo[1],Yo=!!(Qe&&ni.length&&!pr),ia=mr?Nt.createElement(Nt.Fragment,null,Nt.createElement(Xi,{prefixCls:$r,value:ni,onRemove:oo,formatDate:Fo,maxTagCount:kr,disabled:pr,removeIcon:Kr,placeholder:Xn}),Nt.createElement("input",{className:"".concat($r,"-multiple-input"),value:ni.map(Fo).join(","),ref:mo,readOnly:!0,autoFocus:xi,tabIndex:Dr}),Nt.createElement(Wr,{type:"suffix",icon:qe}),Yo&&Nt.createElement(Nr,{icon:Qe,onClear:bi})):Nt.createElement(Or,(0,Lt.Z)({ref:mo},na(),{autoFocus:xi,tabIndex:Dr,suffixIcon:qe,clearIcon:Yo&&Nt.createElement(Nr,{icon:Qe,onClear:bi}),showActiveCls:!1}));return Nt.createElement("div",(0,Lt.Z)({},xo,{className:Bt()($r,(0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat($r,"-multiple"),mr),"".concat($r,"-focused"),Un),"".concat($r,"-disabled"),pr),"".concat($r,"-invalid"),Pr),"".concat($r,"-rtl"),vr),jn),style:Tn,ref:Ur,onClick:Ei,onMouseDown:function(jo){var Ao,oa=jo.target;oa!==((Ao=mo.current)===null||Ao===void 0?void 0:Ao.inputElement)&&jo.preventDefault(),or==null||or(jo)}}),xe&&Nt.createElement("div",{className:"".concat($r,"-prefix")},xe),ia)}var Mn=Nt.forwardRef(yi),si=Mn;function ci(Ft,se){var Yt=Pn(Ft),ve=(0,pe.Z)(Yt,6),xe=ve[0],Qe=ve[1],qe=ve[2],hn=ve[3],On=ve[4],Un=ve[5],dn=xe,di=dn.prefixCls,Ci=dn.styles,he=dn.classNames,ti=dn.order,Xn=dn.defaultValue,jn=dn.value,Tn=dn.needConfirm,Ei=dn.onChange,bi=dn.onKeyDown,mi=dn.disabled,ni=dn.disabledDate,Vn=dn.minDate,Ti=dn.maxDate,cr=dn.defaultOpen,mr=dn.open,kr=dn.onOpenChange,Si=dn.locale,yr=dn.generateConfig,ur=dn.picker,Sr=dn.showNow,pr=dn.showToday,Pr=dn.showTime,Fn=dn.mode,Ii=dn.onPanelChange,Ui=dn.onCalendarChange,or=dn.onOk,Ji=dn.multiple,Qi=dn.defaultPickerValue,xi=dn.pickerValue,Dr=dn.onPickerValueChange,Kr=dn.inputReadOnly,Yr=dn.suffixIcon,vr=dn.removeIcon,to=dn.onFocus,$r=dn.onBlur,Ur=dn.presets,mo=dn.components,xo=dn.cellRender,No=dn.dateRender,oo=dn.monthCellRender,ta=dn.onClick,Mo=Hn(se);function na(Do){return Do===null?null:Ji?Do:Do[0]}var Fo=Bn(yr,Si,Qe),Yo=Zn(mr,cr,[mi],kr),ia=(0,pe.Z)(Yo,2),Qo=ia[0],jo=ia[1],Ao=function(fo,Ka,iu){if(Ui){var Ed=(0,fe.Z)({},iu);delete Ed.range,Ui(na(fo),na(Ka),Ed)}},oa=function(fo){or==null||or(na(fo))},Ca=sr(yr,Si,hn,!1,ti,Xn,jn,Ao,oa),Ho=(0,pe.Z)(Ca,5),Ra=Ho[0],ko=Ho[1],Po=Ho[2],vo=Ho[3],_o=Ho[4],bo=Po(),La=Ri([mi]),Lr=(0,pe.Z)(La,4),lr=Lr[0],Ir=Lr[1],wr=Lr[2],pi=Lr[3],Zo=function(fo){Ir(!0),to==null||to(fo,{})},ce=function(fo){Ir(!1),$r==null||$r(fo,{})},Ln=(0,ne.C8)(ur,{value:Fn}),za=(0,pe.Z)(Ln,2),ja=za[0],da=za[1],ca=ja==="date"&&Pr?"datetime":ja,Ga=fr(ur,ja,Sr,pr),Ta=Ei&&function(Do,fo){Ei(na(Do),na(fo))},Hs=nr((0,fe.Z)((0,fe.Z)({},xe),{},{onChange:Ta}),Ra,ko,Po,vo,[],hn,lr,Qo,Un),aa=(0,pe.Z)(Hs,2),Vr=aa[1],Va=ae(bo,Un),$a=(0,pe.Z)(Va,2),sa=$a[0],co=$a[1],ga=Nt.useMemo(function(){return sa.some(function(Do){return Do})},[sa]),ls=function(fo,Ka){if(Dr){var iu=(0,fe.Z)((0,fe.Z)({},Ka),{},{mode:Ka.mode[0]});delete iu.range,Dr(fo[0],iu)}},ra=Ke(yr,Si,bo,[ja],Qo,pi,Qe,!1,Qi,xi,Pt(Pr==null?void 0:Pr.defaultOpenValue),ls,Vn,Ti),us=(0,pe.Z)(ra,2),Da=us[0],El=us[1],Ro=(0,ne.zX)(function(Do,fo,Ka){if(da(fo),Ii&&Ka!==!1){var iu=Do||bo[bo.length-1];Ii(iu,fo)}}),ba=function(){Vr(Po()),jo(!1,{force:!0})},To=function(fo){!mi&&!Mo.current.nativeElement.contains(document.activeElement)&&Mo.current.focus(),jo(!0),ta==null||ta(fo)},Uo=function(){Vr(null),jo(!1,{force:!0})},ua=Nt.useState(null),pa=(0,pe.Z)(ua,2),Xo=pa[0],fl=pa[1],Qr=Nt.useState(null),pu=(0,pe.Z)(Qr,2),wo=pu[0],Gl=pu[1],Qs=Nt.useMemo(function(){var Do=[wo].concat((0,re.Z)(bo)).filter(function(fo){return fo});return Ji?Do:Do.slice(0,1)},[bo,wo,Ji]),Fl=Nt.useMemo(function(){return!Ji&&wo?[wo]:bo.filter(function(Do){return Do})},[bo,wo,Ji]);Nt.useEffect(function(){Qo||Gl(null)},[Qo]);var mu=mn(Ur),vu=function(fo){Gl(fo),fl("preset")},Zs=function(fo){var Ka=Ji?Fo(Po(),fo):[fo],iu=Vr(Ka);iu&&!Ji&&jo(!1,{force:!0})},Vl=function(fo){Zs(fo)},Go=function(fo){Gl(fo),fl("cell")},Ws=function(fo){jo(!0),Zo(fo)},yu=function(fo){if(wr("panel"),!(Ji&&ca!==ur)){var Ka=Ji?Fo(Po(),fo):[fo];vo(Ka),!Tn&&!qe&&Qe===ca&&ba()}},gl=function(){jo(!1)},Fu=le(xo,No,oo),pl=Nt.useMemo(function(){var Do=(0,Oe.Z)(xe,!1),fo=(0,oe.Z)(xe,[].concat((0,re.Z)(Object.keys(Do)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,fe.Z)((0,fe.Z)({},fo),{},{multiple:xe.multiple})},[xe]),Eo=Nt.createElement(Fr,(0,Lt.Z)({},pl,{showNow:Ga,showTime:Pr,disabledDate:ni,onFocus:Ws,onBlur:ce,picker:ur,mode:ja,internalMode:ca,onPanelChange:Ro,format:On,value:bo,isInvalid:Un,onChange:null,onSelect:yu,pickerValue:Da,defaultOpenValue:Pr==null?void 0:Pr.defaultOpenValue,onPickerValueChange:El,hoverValue:Qs,onHover:Go,needConfirm:Tn,onSubmit:ba,onOk:_o,presets:mu,onPresetHover:vu,onPresetSubmit:Zs,onNow:Vl,cellRender:Fu})),Wo=function(fo){vo(fo)},wa=function(){wr("input")},ts=function(fo){wr("input"),jo(!0,{inherit:!0}),Zo(fo)},Ja=function(fo){jo(!1),ce(fo)},Nl=function(fo,Ka){fo.key==="Tab"&&ba(),bi==null||bi(fo,Ka)},ml=Nt.useMemo(function(){return{prefixCls:di,locale:Si,generateConfig:yr,button:mo.button,input:mo.input}},[di,Si,yr,mo.button,mo.input]);return(0,Ht.Z)(function(){Qo&&pi!==void 0&&Ro(null,ur,!1)},[Qo,pi,ur]),(0,Ht.Z)(function(){var Do=wr();!Qo&&Do==="input"&&(jo(!1),ba()),!Qo&&qe&&!Tn&&Do==="panel"&&ba()},[Qo]),Nt.createElement(ct.Provider,{value:ml},Nt.createElement(mt,(0,Lt.Z)({},Vt(xe),{popupElement:Eo,popupStyle:Ci.popup,popupClassName:he.popup,visible:Qo,onClose:gl}),Nt.createElement(si,(0,Lt.Z)({},xe,{ref:Mo,suffixIcon:Yr,removeIcon:vr,activeHelp:!!wo,allHelp:!!wo&&Xo==="preset",focused:lr,onFocus:ts,onBlur:Ja,onKeyDown:Nl,onSubmit:ba,value:Fl,maskFormat:On,onChange:Wo,onInputChange:wa,internalPicker:Qe,format:hn,inputReadOnly:Kr,disabled:mi,open:Qo,onOpenChange:jo,onClick:To,onClear:Uo,invalid:ga,onInvalid:function(fo){co(fo,0)}}))))}var Kn=Nt.forwardRef(ci),fi=Kn,ei=fi},85095:function(bn,$n){"use strict";Object.defineProperty($n,"__esModule",{value:!0}),$n.commonLocale=void 0;var Et=$n.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},44820:function(bn,$n,Et){"use strict";var Lt=Et(95069).default;Object.defineProperty($n,"__esModule",{value:!0}),$n.default=void 0;var re=Lt(Et(74751)),fe=Et(85095),pe=(0,re.default)((0,re.default)({},fe.commonLocale),{},{locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",week:"\u5468",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA",yearFormat:"YYYY\u5E74",cellDateFormat:"D",monthBeforeYear:!1}),ne=$n.default=pe},25930:function(bn,$n,Et){"use strict";Et.d($n,{Cd:function(){return le}});var Lt=Et(67711),re=Et(98506),fe=Et(33346),pe=Et(59301),ne=Et(92310),Ht=Et.n(ne),oe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var De=(0,pe.useRef)([]),Ee=(0,pe.useRef)(null);return(0,pe.useEffect)(function(){var Sn=Date.now(),rn=!1;De.current.forEach(function(Ge){if(Ge){rn=!0;var sn=Ge.style;sn.transitionDuration=".3s, .3s, .3s, .06s",Ee.current&&Sn-Ee.current<100&&(sn.transitionDuration="0s, 0s")}}),rn&&(Ee.current=Date.now())}),De.current},ge=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Nt=function(De){var Ee=(0,re.Z)((0,re.Z)({},oe),De),Sn=Ee.className,rn=Ee.percent,Ge=Ee.prefixCls,sn=Ee.strokeColor,$t=Ee.strokeLinecap,It=Ee.strokeWidth,Pe=Ee.style,an=Ee.trailColor,Ve=Ee.trailWidth,Se=Ee.transition,$e=(0,fe.Z)(Ee,ge);delete $e.gapPosition;var He=Array.isArray(rn)?rn:[rn],xn=Array.isArray(sn)?sn:[sn],we=Oe(),de=It/2,ke=100-It/2,ze="M ".concat($t==="round"?de:0,",").concat(de,` L `).concat($t==="round"?ke:100,",").concat(de),fn="0 0 100 ".concat(It),Dt=0;return pe.createElement("svg",(0,Lt.Z)({className:Ht()("".concat(Ge,"-line"),Sn),viewBox:fn,preserveAspectRatio:"none",style:Pe},$e),pe.createElement("path",{className:"".concat(Ge,"-line-trail"),d:ze,strokeLinecap:$t,stroke:an,strokeWidth:Ve||It,fillOpacity:"0"}),He.map(function(wt,yt){var kt=1;switch($t){case"round":kt=1-It/100;break;case"square":kt=1-It/2/100;break;default:kt=1;break}var jt={strokeDasharray:"".concat(wt*kt,"px, 100px"),strokeDashoffset:"-".concat(Dt,"px"),transition:Se||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Mt=xn[yt]||xn[xn.length-1];return Dt+=wt,pe.createElement("path",{key:yt,className:"".concat(Ge,"-line-path"),d:ze,strokeLinecap:$t,stroke:Mt,strokeWidth:It,fillOpacity:"0",ref:function(Ce){we[yt]=Ce},style:jt})}))},Je=Nt,ie=Et(26420),nn=Et(16886),Bt=Et(47273),et=0,nt=(0,Bt.Z)();function ct(){var Fe;return nt?(Fe=et,et+=1):Fe="TEST_OR_SSR",Fe}var lt=function(Fe){var De=pe.useState(),Ee=(0,nn.Z)(De,2),Sn=Ee[0],rn=Ee[1];return pe.useEffect(function(){rn("rc_progress_".concat(ct()))},[]),Fe||Sn},gt=function(De){var Ee=De.bg,Sn=De.children;return pe.createElement("div",{style:{width:"100%",height:"100%",background:Ee}},Sn)};function mt(Fe,De){return Object.keys(Fe).map(function(Ee){var Sn=parseFloat(Ee),rn="".concat(Math.floor(Sn*De),"%");return"".concat(Fe[Ee]," ").concat(rn)})}var St=pe.forwardRef(function(Fe,De){var Ee=Fe.prefixCls,Sn=Fe.color,rn=Fe.gradientId,Ge=Fe.radius,sn=Fe.style,$t=Fe.ptg,It=Fe.strokeLinecap,Pe=Fe.strokeWidth,an=Fe.size,Ve=Fe.gapDegree,Se=Sn&&(0,ie.Z)(Sn)==="object",$e=Se?"#FFF":void 0,He=an/2,xn=pe.createElement("circle",{className:"".concat(Ee,"-circle-path"),r:Ge,cx:He,cy:He,stroke:$e,strokeLinecap:It,strokeWidth:Pe,opacity:$t===0?0:1,style:sn,ref:De});if(!Se)return xn;var we="".concat(rn,"-conic"),de=Ve?"".concat(180+Ve/2,"deg"):"0deg",ke=mt(Sn,(360-Ve)/360),ze=mt(Sn,1),fn="conic-gradient(from ".concat(de,", ").concat(ke.join(", "),")"),Dt="linear-gradient(to ".concat(Ve?"bottom":"top",", ").concat(ze.join(", "),")");return pe.createElement(pe.Fragment,null,pe.createElement("mask",{id:we},xn),pe.createElement("foreignObject",{x:0,y:0,width:an,height:an,mask:"url(#".concat(we,")")},pe.createElement(gt,{bg:Dt},pe.createElement(gt,{bg:fn}))))}),Pt=St,Rt=100,Wt=function(De,Ee,Sn,rn,Ge,sn,$t,It,Pe,an){var Ve=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Se=Sn/100*360*((360-sn)/360),$e=sn===0?0:{bottom:0,top:180,left:90,right:-90}[$t],He=(100-rn)/100*Ee;Pe==="round"&&rn!==100&&(He+=an/2,He>=Ee&&(He=Ee-.01));var xn=Rt/2;return{stroke:typeof It=="string"?It:void 0,strokeDasharray:"".concat(Ee,"px ").concat(De),strokeDashoffset:He+Ve,transform:"rotate(".concat(Ge+Se+$e,"deg)"),transformOrigin:"".concat(xn,"px ").concat(xn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},te=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Jt(Fe){var De=Fe!=null?Fe:[];return Array.isArray(De)?De:[De]}var Vt=function(De){var Ee=(0,re.Z)((0,re.Z)({},oe),De),Sn=Ee.id,rn=Ee.prefixCls,Ge=Ee.steps,sn=Ee.strokeWidth,$t=Ee.trailWidth,It=Ee.gapDegree,Pe=It===void 0?0:It,an=Ee.gapPosition,Ve=Ee.trailColor,Se=Ee.strokeLinecap,$e=Ee.style,He=Ee.className,xn=Ee.strokeColor,we=Ee.percent,de=(0,fe.Z)(Ee,te),ke=Rt/2,ze=lt(Sn),fn="".concat(ze,"-gradient"),Dt=ke-sn/2,wt=Math.PI*2*Dt,yt=Pe>0?90+Pe/2:-90,kt=wt*((360-Pe)/360),jt=(0,ie.Z)(Ge)==="object"?Ge:{count:Ge,gap:2},Mt=jt.count,Gt=jt.gap,Ce=Jt(we),be=Jt(xn),on=be.find(function(en){return en&&(0,ie.Z)(en)==="object"}),Ae=on&&(0,ie.Z)(on)==="object",Le=Ae?"butt":Se,_e=Wt(wt,kt,0,100,yt,Pe,an,Ve,Le,sn),un=Oe(),Pn=function(){var Zn=0;return Ce.map(function(Hn,mn){var zn=be[mn]||be[be.length-1],Ri=Wt(wt,kt,Zn,Hn,yt,Pe,an,zn,Le,sn);return Zn+=Hn,pe.createElement(Pt,{key:mn,color:zn,ptg:Hn,radius:Dt,prefixCls:rn,gradientId:fn,style:Ri,strokeLinecap:Le,strokeWidth:sn,gapDegree:Pe,ref:function(ji){un[mn]=ji},size:Rt})}).reverse()},gn=function(){var Zn=Math.round(Mt*(Ce[0]/100)),Hn=100/Mt,mn=0;return new Array(Mt).fill(null).map(function(zn,Ri){var vi=Ri<=Zn-1?be[0]:Ve,ji=vi&&(0,ie.Z)(vi)==="object"?"url(#".concat(fn,")"):void 0,er=Wt(wt,kt,mn,Hn,yt,Pe,an,vi,"butt",sn,Gt);return mn+=(kt-er.strokeDashoffset+Gt)*100/kt,pe.createElement("circle",{key:Ri,className:"".concat(rn,"-circle-path"),r:Dt,cx:ke,cy:ke,stroke:ji,strokeWidth:sn,opacity:1,style:er,ref:function(Ue){un[Ri]=Ue}})})};return pe.createElement("svg",(0,Lt.Z)({className:Ht()("".concat(rn,"-circle"),He),viewBox:"0 0 ".concat(Rt," ").concat(Rt),style:$e,id:Sn,role:"presentation"},de),!Mt&&pe.createElement("circle",{className:"".concat(rn,"-circle-trail"),r:Dt,cx:ke,cy:ke,stroke:Ve,strokeLinecap:Le,strokeWidth:$t||sn,style:_e}),Mt?gn():Pn())},le=Vt,ae={Line:Je,Circle:le}},738:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return mt}});var Lt=Et(67711),re=Et(52873),fe=Et(16886),pe=Et(33346),ne=Et(92310),Ht=Et.n(ne),oe=Et(18929),Oe=Et(10228),ge=Et(26112),Nt=Et(59301);function Je(St,Pt){var Rt=St.disabled,Wt=St.prefixCls,te=St.character,Jt=St.characterRender,Vt=St.index,le=St.count,ae=St.value,Fe=St.allowHalf,De=St.focused,Ee=St.onHover,Sn=St.onClick,rn=function(Se){Ee(Se,Vt)},Ge=function(Se){Sn(Se,Vt)},sn=function(Se){Se.keyCode===Oe.Z.ENTER&&Sn(Se,Vt)},$t=Vt+1,It=new Set([Wt]);ae===0&&Vt===0&&De?It.add("".concat(Wt,"-focused")):Fe&&ae+.5>=$t&&ae<$t?(It.add("".concat(Wt,"-half")),It.add("".concat(Wt,"-active")),De&&It.add("".concat(Wt,"-focused"))):($t<=ae?It.add("".concat(Wt,"-full")):It.add("".concat(Wt,"-zero")),$t===ae&&De&&It.add("".concat(Wt,"-focused")));var Pe=typeof te=="function"?te(St):te,an=Nt.createElement("li",{className:Ht()(Array.from(It)),ref:Pt},Nt.createElement("div",{onClick:Rt?null:Ge,onKeyDown:Rt?null:sn,onMouseMove:Rt?null:rn,role:"radio","aria-checked":ae>Vt?"true":"false","aria-posinset":Vt+1,"aria-setsize":le,tabIndex:Rt?-1:0},Nt.createElement("div",{className:"".concat(Wt,"-first")},Pe),Nt.createElement("div",{className:"".concat(Wt,"-second")},Pe)));return Jt&&(an=Jt(an,St)),an}var ie=Nt.forwardRef(Je);function nn(){var St=Nt.useRef({});function Pt(Wt){return St.current[Wt]}function Rt(Wt){return function(te){St.current[Wt]=te}}return[Pt,Rt]}function Bt(St){var Pt=St.pageXOffset,Rt="scrollLeft";if(typeof Pt!="number"){var Wt=St.document;Pt=Wt.documentElement[Rt],typeof Pt!="number"&&(Pt=Wt.body[Rt])}return Pt}function et(St){var Pt,Rt,Wt=St.ownerDocument,te=Wt.body,Jt=Wt&&Wt.documentElement,Vt=St.getBoundingClientRect();return Pt=Vt.left,Rt=Vt.top,Pt-=Jt.clientLeft||te.clientLeft||0,Rt-=Jt.clientTop||te.clientTop||0,{left:Pt,top:Rt}}function nt(St){var Pt=et(St),Rt=St.ownerDocument,Wt=Rt.defaultView||Rt.parentWindow;return Pt.left+=Bt(Wt),Pt.left}var ct=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function lt(St,Pt){var Rt=St.prefixCls,Wt=Rt===void 0?"rc-rate":Rt,te=St.className,Jt=St.defaultValue,Vt=St.value,le=St.count,ae=le===void 0?5:le,Fe=St.allowHalf,De=Fe===void 0?!1:Fe,Ee=St.allowClear,Sn=Ee===void 0?!0:Ee,rn=St.keyboard,Ge=rn===void 0?!0:rn,sn=St.character,$t=sn===void 0?"\u2605":sn,It=St.characterRender,Pe=St.disabled,an=St.direction,Ve=an===void 0?"ltr":an,Se=St.tabIndex,$e=Se===void 0?0:Se,He=St.autoFocus,xn=St.onHoverChange,we=St.onChange,de=St.onFocus,ke=St.onBlur,ze=St.onKeyDown,fn=St.onMouseLeave,Dt=(0,pe.Z)(St,ct),wt=nn(),yt=(0,fe.Z)(wt,2),kt=yt[0],jt=yt[1],Mt=Nt.useRef(null),Gt=function(){if(!Pe){var _n;(_n=Mt.current)===null||_n===void 0||_n.focus()}};Nt.useImperativeHandle(Pt,function(){return{focus:Gt,blur:function(){if(!Pe){var _n;(_n=Mt.current)===null||_n===void 0||_n.blur()}}}});var Ce=(0,oe.Z)(Jt||0,{value:Vt}),be=(0,fe.Z)(Ce,2),on=be[0],Ae=be[1],Le=(0,oe.Z)(null),_e=(0,fe.Z)(Le,2),un=_e[0],Pn=_e[1],gn=function(_n,qi){var Ct=Ve==="rtl",Bi=_n+1;if(De){var oi=kt(_n),Wn=nt(oi),Bn=oi.clientWidth;(Ct&&qi-Wn>Bn/2||!Ct&&qi-Wn0&&!Ct||qi===Oe.Z.RIGHT&&on>0&&Ct?(en(on-Bi),_n.preventDefault()):qi===Oe.Z.LEFT&&on5&&arguments[5]!==void 0?arguments[5]:!1,Gi=arguments.length>6?arguments[6]:void 0,ir=arguments.length>7?arguments[7]:void 0,ai=Nt.useMemo(function(){if((0,oe.Z)(Xe)==="object")return Xe.clearIcon;if(ri)return ri},[Xe,ri]),Jn=Nt.useMemo(function(){return!!(!Zi&&Xe&&(qn.length||Gi)&&!(ir==="combobox"&&Gi===""))},[Xe,Zi,qn.length,Gi,ir]);return{allowClear:Jn,clearIcon:Nt.createElement(ct,{className:"".concat(Me,"-clear"),onMouseDown:Gn,customizeIcon:ai},"\xD7")}},gt=Nt.createContext(null);function mt(){return Nt.useContext(gt)}function St(){var Qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Me=Nt.useState(!1),Gn=(0,ne.Z)(Me,2),qn=Gn[0],Xe=Gn[1],ri=Nt.useRef(null),Zi=function(){window.clearTimeout(ri.current)};Nt.useEffect(function(){return Zi},[]);var Gi=function(ai,Jn){Zi(),ri.current=window.setTimeout(function(){Xe(ai),Jn&&Jn()},Qt)};return[qn,Gi,Zi]}function Pt(){var Qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Me=Nt.useRef(null),Gn=Nt.useRef(null);Nt.useEffect(function(){return function(){window.clearTimeout(Gn.current)}},[]);function qn(Xe){(Xe||Me.current===null)&&(Me.current=Xe),window.clearTimeout(Gn.current),Gn.current=window.setTimeout(function(){Me.current=null},Qt)}return[function(){return Me.current},qn]}function Rt(Qt,Me,Gn,qn){var Xe=Nt.useRef(null);Xe.current={open:Me,triggerOpen:Gn,customizedTrigger:qn},Nt.useEffect(function(){function ri(Zi){var Gi;if(!((Gi=Xe.current)!==null&&Gi!==void 0&&Gi.customizedTrigger)){var ir=Zi.target;ir.shadowRoot&&Zi.composed&&(ir=Zi.composedPath()[0]||ir),Xe.current.open&&Qt().filter(function(ai){return ai}).every(function(ai){return!ai.contains(ir)&&ai!==ir})&&Xe.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ri),function(){return window.removeEventListener("mousedown",ri)}},[])}var Wt=Et(10228);function te(Qt){return Qt&&![Wt.Z.ESC,Wt.Z.SHIFT,Wt.Z.BACKSPACE,Wt.Z.TAB,Wt.Z.WIN_KEY,Wt.Z.ALT,Wt.Z.META,Wt.Z.WIN_KEY_RIGHT,Wt.Z.CTRL,Wt.Z.SEMICOLON,Wt.Z.EQUALS,Wt.Z.CAPS_LOCK,Wt.Z.CONTEXT_MENU,Wt.Z.F1,Wt.Z.F2,Wt.Z.F3,Wt.Z.F4,Wt.Z.F5,Wt.Z.F6,Wt.Z.F7,Wt.Z.F8,Wt.Z.F9,Wt.Z.F10,Wt.Z.F11,Wt.Z.F12].includes(Qt)}var Jt=Et(26112),Vt=Et(11780);function le(Qt,Me,Gn){var qn=(0,pe.Z)((0,pe.Z)({},Qt),Gn?Me:{});return Object.keys(Me).forEach(function(Xe){var ri=Me[Xe];typeof ri=="function"&&(qn[Xe]=function(){for(var Zi,Gi=arguments.length,ir=new Array(Gi),ai=0;aije&&(Yt="".concat(ve.slice(0,je),"..."))}var xe=function(qe){qe&&qe.stopPropagation(),Nr(Kn)};return typeof Wi=="function"?Xi(Ft,Yt,fi,se,xe):Li(Kn,Yt,fi,se,xe)},yi=function(Kn){if(!Xe.length)return null;var fi=typeof Ar=="function"?Ar(Kn):Ar;return typeof Wi=="function"?Xi(void 0,fi,!1,!1,void 0,!0):Li({title:fi},fi,!1)},Mn=Nt.createElement("div",{className:"".concat(Be,"-search"),style:{width:ho},onFocus:function(){An(!0)},onBlur:function(){An(!1)}},Nt.createElement(Sn,{ref:ir,open:ri,prefixCls:qn,id:Gn,inputElement:null,disabled:Jn,autoFocus:tr,autoComplete:Dn,editable:Qn,activeDescendantId:ki,value:Ot,onKeyDown:Hr,onMouseDown:qr,onChange:Xr,onPaste:zr,onCompositionStart:pn,onCompositionEnd:no,onBlur:Cn,tabIndex:Fr,attrs:(0,Jt.Z)(Me,!0)}),Nt.createElement("span",{ref:rr,className:"".concat(Be,"-search-mirror"),"aria-hidden":!0},Ot,"\xA0")),si=Nt.createElement(Vt.Z,{prefixCls:"".concat(Be,"-overflow"),data:Xe,renderItem:Vi,renderRest:yi,suffix:Mn,itemKey:Se,maxCount:so});return Nt.createElement("span",{className:"".concat(Be,"-wrap")},si,!Xe.length&&!Ot&&Nt.createElement("span",{className:"".concat(Be,"-placeholder")},ai))},xn=He,we=function(Me){var Gn=Me.inputElement,qn=Me.prefixCls,Xe=Me.id,ri=Me.inputRef,Zi=Me.disabled,Gi=Me.autoFocus,ir=Me.autoComplete,ai=Me.activeDescendantId,Jn=Me.mode,hi=Me.open,hr=Me.values,tr=Me.placeholder,Dn=Me.tabIndex,ki=Me.showSearch,Fr=Me.searchValue,jr=Me.activeValue,so=Me.maxLength,je=Me.onInputKeyDown,_i=Me.onInputMouseDown,Ar=Me.onInputChange,Wi=Me.onInputPaste,Wr=Me.onInputCompositionStart,Nr=Me.onInputCompositionEnd,Xr=Me.onInputBlur,zr=Me.title,Hr=Nt.useState(!1),qr=(0,ne.Z)(Hr,2),pn=qr[0],no=qr[1],Cn=Jn==="combobox",rr=Cn||ki,Or=hr[0],Tr=Fr||"";Cn&&jr&&!pn&&(Tr=jr),Nt.useEffect(function(){Cn&&no(!1)},[Cn,jr]);var ho=Jn!=="combobox"&&!hi&&!ki?!1:!!Tr,Gr=zr===void 0?an(Or):zr,xr=Nt.useMemo(function(){return Or?null:Nt.createElement("span",{className:"".concat(qn,"-selection-placeholder"),style:ho?{visibility:"hidden"}:void 0},tr)},[Or,ho,tr,qn]);return Nt.createElement("span",{className:"".concat(qn,"-selection-wrap")},Nt.createElement("span",{className:"".concat(qn,"-selection-search")},Nt.createElement(Sn,{ref:ri,prefixCls:qn,id:Xe,open:hi,inputElement:Gn,disabled:Zi,autoFocus:Gi,autoComplete:ir,editable:rr,activeDescendantId:ai,value:Tr,onKeyDown:je,onMouseDown:_i,onChange:function(We){no(!0),Ar(We)},onPaste:Wi,onCompositionStart:Wr,onCompositionEnd:Nr,onBlur:Xr,tabIndex:Dn,attrs:(0,Jt.Z)(Me,!0),maxLength:Cn?so:void 0})),!Cn&&Or?Nt.createElement("span",{className:"".concat(qn,"-selection-item"),title:Gr,style:ho?{visibility:"hidden"}:void 0},Or.label):null,xr)},de=we,ke=function(Me,Gn){var qn=(0,Nt.useRef)(null),Xe=(0,Nt.useRef)(!1),ri=Me.prefixCls,Zi=Me.open,Gi=Me.mode,ir=Me.showSearch,ai=Me.tokenWithEnter,Jn=Me.disabled,hi=Me.prefix,hr=Me.autoClearSearchValue,tr=Me.onSearch,Dn=Me.onSearchSubmit,ki=Me.onToggleOpen,Fr=Me.onInputKeyDown,jr=Me.onInputBlur,so=Me.domRef;Nt.useImperativeHandle(Gn,function(){return{focus:function(Gr){qn.current.focus(Gr)},blur:function(){qn.current.blur()}}});var je=Pt(0),_i=(0,ne.Z)(je,2),Ar=_i[0],Wi=_i[1],Wr=function(Gr){var xr=Gr.which,lo=qn.current instanceof HTMLTextAreaElement;!lo&&Zi&&(xr===Wt.Z.UP||xr===Wt.Z.DOWN)&&Gr.preventDefault(),Fr&&Fr(Gr),xr===Wt.Z.ENTER&&Gi==="tags"&&!Xe.current&&!Zi&&(Dn==null||Dn(Gr.target.value)),!(lo&&!Zi&&~[Wt.Z.UP,Wt.Z.DOWN,Wt.Z.LEFT,Wt.Z.RIGHT].indexOf(xr))&&te(xr)&&ki(!0)},Nr=function(){Wi(!0)},Xr=(0,Nt.useRef)(null),zr=function(Gr){tr(Gr,!0,Xe.current)!==!1&&ki(!0)},Hr=function(){Xe.current=!0},qr=function(Gr){Xe.current=!1,Gi!=="combobox"&&zr(Gr.target.value)},pn=function(Gr){var xr=Gr.target.value;if(ai&&Xr.current&&/[\r\n]/.test(Xr.current)){var lo=Xr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");xr=xr.replace(lo,Xr.current)}Xr.current=null,zr(xr)},no=function(Gr){var xr=Gr.clipboardData,lo=xr==null?void 0:xr.getData("text");Xr.current=lo||""},Cn=function(Gr){var xr=Gr.target;if(xr!==qn.current){var lo=document.body.style.msTouchAction!==void 0;lo?setTimeout(function(){qn.current.focus()}):qn.current.focus()}},rr=function(Gr){var xr=Ar();Gr.target!==qn.current&&!xr&&!(Gi==="combobox"&&Jn)&&Gr.preventDefault(),(Gi!=="combobox"&&(!ir||!xr)||!Zi)&&(Zi&&hr!==!1&&tr("",!0,!1),ki())},Or={inputRef:qn,onInputKeyDown:Wr,onInputMouseDown:Nr,onInputChange:pn,onInputPaste:no,onInputCompositionStart:Hr,onInputCompositionEnd:qr,onInputBlur:jr},Tr=Gi==="multiple"||Gi==="tags"?Nt.createElement(xn,(0,Lt.Z)({},Me,Or)):Nt.createElement(de,(0,Lt.Z)({},Me,Or));return Nt.createElement("div",{ref:so,className:"".concat(ri,"-selector"),onClick:Cn,onMouseDown:rr},hi&&Nt.createElement("div",{className:"".concat(ri,"-prefix")},hi),Tr)},ze=Nt.forwardRef(ke),fn=ze,Dt=Et(65030),wt=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],yt=function(Me){var Gn=Me===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Gn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Gn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Gn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Gn,adjustY:1},htmlRegion:"scroll"}}},kt=function(Me,Gn){var qn=Me.prefixCls,Xe=Me.disabled,ri=Me.visible,Zi=Me.children,Gi=Me.popupElement,ir=Me.animation,ai=Me.transitionName,Jn=Me.dropdownStyle,hi=Me.dropdownClassName,hr=Me.direction,tr=hr===void 0?"ltr":hr,Dn=Me.placement,ki=Me.builtinPlacements,Fr=Me.dropdownMatchSelectWidth,jr=Me.dropdownRender,so=Me.dropdownAlign,je=Me.getPopupContainer,_i=Me.empty,Ar=Me.getTriggerDOMNode,Wi=Me.onPopupVisibleChange,Wr=Me.onPopupMouseEnter,Nr=(0,Ht.Z)(Me,wt),Xr="".concat(qn,"-dropdown"),zr=Gi;jr&&(zr=jr(Gi));var Hr=Nt.useMemo(function(){return ki||yt(Fr)},[ki,Fr]),qr=ir?"".concat(Xr,"-").concat(ir):ai,pn=typeof Fr=="number",no=Nt.useMemo(function(){return pn?null:Fr===!1?"minWidth":"width"},[Fr,pn]),Cn=Jn;pn&&(Cn=(0,pe.Z)((0,pe.Z)({},Cn),{},{width:Fr}));var rr=Nt.useRef(null);return Nt.useImperativeHandle(Gn,function(){return{getPopupElement:function(){var Tr;return(Tr=rr.current)===null||Tr===void 0?void 0:Tr.popupElement}}}),Nt.createElement(Dt.Z,(0,Lt.Z)({},Nr,{showAction:Wi?["click"]:[],hideAction:Wi?["click"]:[],popupPlacement:Dn||(tr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Hr,prefixCls:Xr,popupTransitionName:qr,popup:Nt.createElement("div",{onMouseEnter:Wr},zr),ref:rr,stretch:no,popupAlign:so,popupVisible:ri,getPopupContainer:je,popupClassName:ie()(hi,(0,fe.Z)({},"".concat(Xr,"-empty"),_i)),popupStyle:Cn,getTriggerDOMNode:Ar,onPopupVisibleChange:Wi}),Zi)},jt=Nt.forwardRef(kt),Mt=jt,Gt=Et(57879);function Ce(Qt,Me){var Gn=Qt.key,qn;return"value"in Qt&&(qn=Qt.value),Gn!=null?Gn:qn!==void 0?qn:"rc-index-key-".concat(Me)}function be(Qt){return typeof Qt!="undefined"&&!Number.isNaN(Qt)}function on(Qt,Me){var Gn=Qt||{},qn=Gn.label,Xe=Gn.value,ri=Gn.options,Zi=Gn.groupLabel,Gi=qn||(Me?"children":"label");return{label:Gi,value:Xe||"value",options:ri||"options",groupLabel:Zi||Gi}}function Ae(Qt){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Gn=Me.fieldNames,qn=Me.childrenAsData,Xe=[],ri=on(Gn,!1),Zi=ri.label,Gi=ri.value,ir=ri.options,ai=ri.groupLabel;function Jn(hi,hr){Array.isArray(hi)&&hi.forEach(function(tr){if(hr||!(ir in tr)){var Dn=tr[Gi];Xe.push({key:Ce(tr,Xe.length),groupOption:hr,data:tr,label:tr[Zi],value:Dn})}else{var ki=tr[ai];ki===void 0&&qn&&(ki=tr.label),Xe.push({key:Ce(tr,Xe.length),group:!0,data:tr,label:ki}),Jn(tr[ir],!0)}})}return Jn(Qt,!1),Xe}function Le(Qt){var Me=(0,pe.Z)({},Qt);return"props"in Me||Object.defineProperty(Me,"props",{get:function(){return(0,ge.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Me}}),Me}var _e=function(Me,Gn,qn){if(!Gn||!Gn.length)return null;var Xe=!1,ri=function Gi(ir,ai){var Jn=(0,Gt.Z)(ai),hi=Jn[0],hr=Jn.slice(1);if(!hi)return[ir];var tr=ir.split(hi);return Xe=Xe||tr.length>1,tr.reduce(function(Dn,ki){return[].concat((0,re.Z)(Dn),(0,re.Z)(Gi(ki,hr)))},[]).filter(Boolean)},Zi=ri(Me,Gn);return Xe?typeof qn!="undefined"?Zi.slice(0,qn):Zi:null},un=Nt.createContext(null),Pn=un;function gn(Qt){var Me=Qt.visible,Gn=Qt.values;if(!Me)return null;var qn=50;return Nt.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Gn.slice(0,qn).map(function(Xe){var ri=Xe.label,Zi=Xe.value;return["number","string"].includes((0,oe.Z)(ri))?ri:Zi}).join(", ")),Gn.length>qn?", ...":null)}var en=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Zn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Hn=function(Me){return Me==="tags"||Me==="multiple"},mn=Nt.forwardRef(function(Qt,Me){var Gn,qn=Qt.id,Xe=Qt.prefixCls,ri=Qt.className,Zi=Qt.showSearch,Gi=Qt.tagRender,ir=Qt.direction,ai=Qt.omitDomProps,Jn=Qt.displayValues,hi=Qt.onDisplayValuesChange,hr=Qt.emptyOptions,tr=Qt.notFoundContent,Dn=tr===void 0?"Not Found":tr,ki=Qt.onClear,Fr=Qt.mode,jr=Qt.disabled,so=Qt.loading,je=Qt.getInputElement,_i=Qt.getRawInputElement,Ar=Qt.open,Wi=Qt.defaultOpen,Wr=Qt.onDropdownVisibleChange,Nr=Qt.activeValue,Xr=Qt.onActiveValueChange,zr=Qt.activeDescendantId,Hr=Qt.searchValue,qr=Qt.autoClearSearchValue,pn=Qt.onSearch,no=Qt.onSearchSplit,Cn=Qt.tokenSeparators,rr=Qt.allowClear,Or=Qt.prefix,Tr=Qt.suffixIcon,ho=Qt.clearIcon,Gr=Qt.OptionList,xr=Qt.animation,lo=Qt.transitionName,We=Qt.dropdownStyle,An=Qt.dropdownClassName,Be=Qt.dropdownMatchSelectWidth,Ot=Qt.dropdownRender,Qn=Qt.dropdownAlign,Li=Qt.placement,Xi=Qt.builtinPlacements,Vi=Qt.getPopupContainer,yi=Qt.showAction,Mn=yi===void 0?[]:yi,si=Qt.onFocus,ci=Qt.onBlur,Kn=Qt.onKeyUp,fi=Qt.onKeyDown,ei=Qt.onMouseDown,Ft=(0,Ht.Z)(Qt,en),se=Hn(Fr),Yt=(Zi!==void 0?Zi:se)||Fr==="combobox",ve=(0,pe.Z)({},Ft);Zn.forEach(function(lr){delete ve[lr]}),ai==null||ai.forEach(function(lr){delete ve[lr]});var xe=Nt.useState(!1),Qe=(0,ne.Z)(xe,2),qe=Qe[0],hn=Qe[1];Nt.useEffect(function(){hn((0,Bt.Z)())},[]);var On=Nt.useRef(null),Un=Nt.useRef(null),dn=Nt.useRef(null),di=Nt.useRef(null),Ci=Nt.useRef(null),he=Nt.useRef(!1),ti=St(),Xn=(0,ne.Z)(ti,3),jn=Xn[0],Tn=Xn[1],Ei=Xn[2];Nt.useImperativeHandle(Me,function(){var lr,Ir;return{focus:(lr=di.current)===null||lr===void 0?void 0:lr.focus,blur:(Ir=di.current)===null||Ir===void 0?void 0:Ir.blur,scrollTo:function(pi){var Zo;return(Zo=Ci.current)===null||Zo===void 0?void 0:Zo.scrollTo(pi)},nativeElement:On.current||Un.current}});var bi=Nt.useMemo(function(){var lr;if(Fr!=="combobox")return Hr;var Ir=(lr=Jn[0])===null||lr===void 0?void 0:lr.value;return typeof Ir=="string"||typeof Ir=="number"?String(Ir):""},[Hr,Fr,Jn]),mi=Fr==="combobox"&&typeof je=="function"&&je()||null,ni=typeof _i=="function"&&_i(),Vn=(0,et.x1)(Un,ni==null||(Gn=ni.props)===null||Gn===void 0?void 0:Gn.ref),Ti=Nt.useState(!1),cr=(0,ne.Z)(Ti,2),mr=cr[0],kr=cr[1];(0,nn.Z)(function(){kr(!0)},[]);var Si=(0,Oe.Z)(!1,{defaultValue:Wi,value:Ar}),yr=(0,ne.Z)(Si,2),ur=yr[0],Sr=yr[1],pr=mr?ur:!1,Pr=!Dn&&hr;(jr||Pr&&pr&&Fr==="combobox")&&(pr=!1);var Fn=Pr?!1:pr,Ii=Nt.useCallback(function(lr){var Ir=lr!==void 0?lr:!pr;jr||(Sr(Ir),pr!==Ir&&(Wr==null||Wr(Ir)))},[jr,pr,Sr,Wr]),Ui=Nt.useMemo(function(){return(Cn||[]).some(function(lr){return[` `,`\r `].includes(lr)})},[Cn]),or=Nt.useContext(Pn)||{},Ji=or.maxCount,Qi=or.rawValues,xi=function(Ir,wr,pi){if(!(se&&be(Ji)&&(Qi==null?void 0:Qi.size)>=Ji)){var Zo=!0,ce=Ir;Xr==null||Xr(null);var Ln=_e(Ir,Cn,be(Ji)?Ji-Qi.size:void 0),za=pi?null:Ln;return Fr!=="combobox"&&za&&(ce="",no==null||no(za),Ii(!1),Zo=!1),pn&&bi!==ce&&pn(ce,{source:wr?"typing":"effect"}),Zo}},Dr=function(Ir){!Ir||!Ir.trim()||pn(Ir,{source:"submit"})};Nt.useEffect(function(){!pr&&!se&&Fr!=="combobox"&&xi("",!1,!1)},[pr]),Nt.useEffect(function(){ur&&jr&&Sr(!1),jr&&!he.current&&Tn(!1)},[jr]);var Kr=Pt(),Yr=(0,ne.Z)(Kr,2),vr=Yr[0],to=Yr[1],$r=Nt.useRef(!1),Ur=function(Ir){var wr=vr(),pi=Ir.key,Zo=pi==="Enter";if(Zo&&(Fr!=="combobox"&&Ir.preventDefault(),pr||Ii(!0)),to(!!bi),pi==="Backspace"&&!wr&&se&&!bi&&Jn.length){for(var ce=(0,re.Z)(Jn),Ln=null,za=ce.length-1;za>=0;za-=1){var ja=ce[za];if(!ja.disabled){ce.splice(za,1),Ln=ja;break}}Ln&&hi(ce,{type:"remove",values:[Ln]})}for(var da=arguments.length,ca=new Array(da>1?da-1:0),Ga=1;Ga1?wr-1:0),Zo=1;Zo1?Ln-1:0),ja=1;ja=Dn},[Gi,Dn,_i==null?void 0:_i.size]),Cn=function(Mn){Mn.preventDefault()},rr=function(Mn){var si;(si=pn.current)===null||si===void 0||si.scrollTo(typeof Mn=="number"?{index:Mn}:Mn)},Or=Nt.useCallback(function(yi){return ir==="combobox"?!1:_i.has(yi)},[ir,(0,re.Z)(_i).toString(),_i.size]),Tr=function(Mn){for(var si=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ci=qr.length,Kn=0;Kn1&&arguments[1]!==void 0?arguments[1]:!1;lo(Mn);var ci={source:si?"keyboard":"mouse"},Kn=qr[Mn];if(!Kn){Fr(null,-1,ci);return}Fr(Kn.value,Mn,ci)};(0,Nt.useEffect)(function(){We(jr!==!1?Tr(0):-1)},[qr.length,ai]);var An=Nt.useCallback(function(yi){return ir==="combobox"?String(yi).toLowerCase()===ai.toLowerCase():_i.has(yi)},[ir,ai,(0,re.Z)(_i).toString(),_i.size]);(0,Nt.useEffect)(function(){var yi=setTimeout(function(){if(!Gi&&Zi&&_i.size===1){var si=Array.from(_i)[0],ci=qr.findIndex(function(Kn){var fi=Kn.data;return ai?String(fi.value).startsWith(ai):fi.value===si});ci!==-1&&(We(ci),rr(ci))}});if(Zi){var Mn;(Mn=pn.current)===null||Mn===void 0||Mn.scrollTo(void 0)}return function(){return clearTimeout(yi)}},[Zi,ai]);var Be=function(Mn){Mn!==void 0&&so(Mn,{selected:!_i.has(Mn)}),Gi||Jn(!1)};if(Nt.useImperativeHandle(Gn,function(){return{onKeyDown:function(Mn){var si=Mn.which,ci=Mn.ctrlKey;switch(si){case Wt.Z.N:case Wt.Z.P:case Wt.Z.UP:case Wt.Z.DOWN:{var Kn=0;if(si===Wt.Z.UP?Kn=-1:si===Wt.Z.DOWN?Kn=1:Ai()&&ci&&(si===Wt.Z.N?Kn=1:si===Wt.Z.P&&(Kn=-1)),Kn!==0){var fi=Tr(xr+Kn,Kn);rr(fi),We(fi,!0)}break}case Wt.Z.TAB:case Wt.Z.ENTER:{var ei,Ft=qr[xr];Ft&&!(Ft!=null&&(ei=Ft.data)!==null&&ei!==void 0&&ei.disabled)&&!no?Be(Ft.value):Be(void 0),Zi&&Mn.preventDefault();break}case Wt.Z.ESC:Jn(!1),Zi&&Mn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Mn){rr(Mn)}}}),qr.length===0)return Nt.createElement("div",{role:"listbox",id:"".concat(ri,"_list"),className:"".concat(Hr,"-empty"),onMouseDown:Cn},hi);var Ot=Object.keys(Ar).map(function(yi){return Ar[yi]}),Qn=function(Mn){return Mn.label};function Li(yi,Mn){var si=yi.group;return{role:si?"presentation":"option",id:"".concat(ri,"_list_").concat(Mn)}}var Xi=function(Mn){var si=qr[Mn];if(!si)return null;var ci=si.data||{},Kn=ci.value,fi=si.group,ei=(0,Jt.Z)(ci,!0),Ft=Qn(si);return si?Nt.createElement("div",(0,Lt.Z)({"aria-label":typeof Ft=="string"&&!fi?Ft:null},ei,{key:Mn},Li(si,Mn),{"aria-selected":An(Kn)}),Kn):null},Vi={role:"listbox",id:"".concat(ri,"_list")};return Nt.createElement(Nt.Fragment,null,Wi&&Nt.createElement("div",(0,Lt.Z)({},Vi,{style:{height:0,width:0,overflow:"hidden"}}),Xi(xr-1),Xi(xr),Xi(xr+1)),Nt.createElement(ii.Z,{itemKey:"key",ref:pn,data:qr,height:Nr,itemHeight:Xr,fullHeight:!1,onMouseDown:Cn,onScroll:hr,virtual:Wi,direction:Wr,innerProps:Wi?null:Vi},function(yi,Mn){var si=yi.group,ci=yi.groupOption,Kn=yi.data,fi=yi.label,ei=yi.value,Ft=Kn.key;if(si){var se,Yt=(se=Kn.title)!==null&&se!==void 0?se:Mi(fi)?fi.toString():void 0;return Nt.createElement("div",{className:ie()(Hr,"".concat(Hr,"-group"),Kn.className),title:Yt},fi!==void 0?fi:Ft)}var ve=Kn.disabled,xe=Kn.title,Qe=Kn.children,qe=Kn.style,hn=Kn.className,On=(0,Ht.Z)(Kn,Fi),Un=(0,Ue.Z)(On,Ot),dn=Or(ei),di=ve||!dn&&no,Ci="".concat(Hr,"-option"),he=ie()(Hr,Ci,hn,(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},"".concat(Ci,"-grouped"),ci),"".concat(Ci,"-active"),xr===Mn&&!di),"".concat(Ci,"-disabled"),di),"".concat(Ci,"-selected"),dn)),ti=Qn(yi),Xn=!je||typeof je=="function"||dn,jn=typeof ti=="number"?ti:ti||ei,Tn=Mi(jn)?jn.toString():void 0;return xe!==void 0&&(Tn=xe),Nt.createElement("div",(0,Lt.Z)({},(0,Jt.Z)(Un),Wi?{}:Li(yi,Mn),{"aria-selected":An(ei),className:he,title:Tn,onMouseMove:function(){xr===Mn||di||We(Mn)},onClick:function(){di||Be(ei)},style:qe}),Nt.createElement("div",{className:"".concat(Ci,"-content")},typeof zr=="function"?zr(yi,{index:Mn}):jn),Nt.isValidElement(je)||dn,Xn&&Nt.createElement(ct,{className:"".concat(Hr,"-option-state"),customizeIcon:je,customizeIconProps:{value:ei,disabled:di,isSelected:dn}},dn?"\u2713":null))}))},nr=Nt.forwardRef(sr),fr=nr,_n=function(Qt,Me){var Gn=Nt.useRef({values:new Map,options:new Map}),qn=Nt.useMemo(function(){var ri=Gn.current,Zi=ri.values,Gi=ri.options,ir=Qt.map(function(hi){if(hi.label===void 0){var hr;return(0,pe.Z)((0,pe.Z)({},hi),{},{label:(hr=Zi.get(hi.value))===null||hr===void 0?void 0:hr.label})}return hi}),ai=new Map,Jn=new Map;return ir.forEach(function(hi){ai.set(hi.value,hi),Jn.set(hi.value,Me.get(hi.value)||Gi.get(hi.value))}),Gn.current.values=ai,Gn.current.options=Jn,ir},[Qt,Me]),Xe=Nt.useCallback(function(ri){return Me.get(ri)||Gn.current.options.get(ri)},[Me]);return[qn,Xe]};function qi(Qt,Me){return rn(Qt).join("").toUpperCase().includes(Me)}var Ct=function(Qt,Me,Gn,qn,Xe){return Nt.useMemo(function(){if(!Gn||qn===!1)return Qt;var ri=Me.options,Zi=Me.label,Gi=Me.value,ir=[],ai=typeof qn=="function",Jn=Gn.toUpperCase(),hi=ai?qn:function(tr,Dn){return Xe?qi(Dn[Xe],Jn):Dn[ri]?qi(Dn[Zi!=="children"?Zi:"label"],Jn):qi(Dn[Gi],Jn)},hr=ai?function(tr){return Le(tr)}:function(tr){return tr};return Qt.forEach(function(tr){if(tr[ri]){var Dn=hi(Gn,hr(tr));if(Dn)ir.push(tr);else{var ki=tr[ri].filter(function(Fr){return hi(Gn,hr(Fr))});ki.length&&ir.push((0,pe.Z)((0,pe.Z)({},tr),{},(0,fe.Z)({},ri,ki)))}return}hi(Gn,hr(tr))&&ir.push(tr)}),ir},[Qt,qn,Xe,Gn,Me])},Bi=Et(6551),oi=Et(11592),Wn=["children","value"],Bn=["children"];function En(Qt){var Me=Qt,Gn=Me.key,qn=Me.props,Xe=qn.children,ri=qn.value,Zi=(0,Ht.Z)(qn,Wn);return(0,pe.Z)({key:Gn,value:ri!==void 0?ri:Gn,children:Xe},Zi)}function vn(Qt){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,oi.Z)(Qt).map(function(Gn,qn){if(!Nt.isValidElement(Gn)||!Gn.type)return null;var Xe=Gn,ri=Xe.type.isSelectOptGroup,Zi=Xe.key,Gi=Xe.props,ir=Gi.children,ai=(0,Ht.Z)(Gi,Bn);return Me||!ri?En(Gn):(0,pe.Z)((0,pe.Z)({key:"__RC_SELECT_GRP__".concat(Zi===null?qn:Zi,"__"),label:Zi},ai),{},{options:vn(ir)})}).filter(function(Gn){return Gn})}var ui=function(Me,Gn,qn,Xe,ri){return Nt.useMemo(function(){var Zi=Me,Gi=!Me;Gi&&(Zi=vn(Gn));var ir=new Map,ai=new Map,Jn=function(tr,Dn,ki){ki&&typeof ki=="string"&&tr.set(Dn[ki],Dn)},hi=function hr(tr){for(var Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ki=0;ki1&&arguments[1]!==void 0?arguments[1]:!1,Zi=0;Zi0?Ii(Ji.options):Ji.options}):Ji})},Xn=Nt.useMemo(function(){return so?ti(he):he},[he,so,Vi]),jn=Nt.useMemo(function(){return Ae(Xn,{fieldNames:Qn,childrenAsData:Be})},[Xn,Qn,Be]),Tn=function(Ui){var or=fi(Ui);if(Yt(or),Gr&&(or.length!==qe.length||or.some(function(xi,Dr){var Kr;return((Kr=qe[Dr])===null||Kr===void 0?void 0:Kr.value)!==(xi==null?void 0:xi.value)}))){var Ji=ho?or:or.map(function(xi){return xi.value}),Qi=or.map(function(xi){return Le(hn(xi.value))});Gr(An?Ji:Ji[0],An?Qi:Qi[0])}},Ei=Nt.useState(null),bi=(0,ne.Z)(Ei,2),mi=bi[0],ni=bi[1],Vn=Nt.useState(0),Ti=(0,ne.Z)(Vn,2),cr=Ti[0],mr=Ti[1],kr=Nr!==void 0?Nr:qn!=="combobox",Si=Nt.useCallback(function(Ii,Ui){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ji=or.source,Qi=Ji===void 0?"keyboard":Ji;mr(Ui),Zi&&qn==="combobox"&&Ii!==null&&Qi==="keyboard"&&ni(String(Ii))},[Zi,qn]),yr=function(Ui,or,Ji){var Qi=function(){var xo,No=hn(Ui);return[ho?{label:No==null?void 0:No[Qn.label],value:Ui,key:(xo=No==null?void 0:No.key)!==null&&xo!==void 0?xo:Ui}:Ui,Le(No)]};if(or&&tr){var xi=Qi(),Dr=(0,ne.Z)(xi,2),Kr=Dr[0],Yr=Dr[1];tr(Kr,Yr)}else if(!or&&Dn&&Ji!=="clear"){var vr=Qi(),to=(0,ne.Z)(vr,2),$r=to[0],Ur=to[1];Dn($r,Ur)}},ur=Ze(function(Ii,Ui){var or,Ji=An?Ui.selected:!0;Ji?or=An?[].concat((0,re.Z)(qe),[Ii]):[Ii]:or=qe.filter(function(Qi){return Qi.value!==Ii}),Tn(or),yr(Ii,Ji),qn==="combobox"?ni(""):(!Hn||hr)&&(yi(""),ni(""))}),Sr=function(Ui,or){Tn(Ui);var Ji=or.type,Qi=or.values;(Ji==="remove"||Ji==="clear")&&Qi.forEach(function(xi){yr(xi.value,!1,Ji)})},pr=function(Ui,or){if(yi(Ui),ni(null),or.source==="submit"){var Ji=(Ui||"").trim();if(Ji){var Qi=Array.from(new Set([].concat((0,re.Z)(Un),[Ji])));Tn(Qi),yr(Ji,!0),yi("")}return}or.source!=="blur"&&(qn==="combobox"&&Tn(Ui),Jn==null||Jn(Ui))},Pr=function(Ui){var or=Ui;qn!=="tags"&&(or=Ui.map(function(Qi){var xi=ci.get(Qi);return xi==null?void 0:xi.value}).filter(function(Qi){return Qi!==void 0}));var Ji=Array.from(new Set([].concat((0,re.Z)(Un),(0,re.Z)(or))));Tn(Ji),Ji.forEach(function(Qi){yr(Qi,!0)})},Fn=Nt.useMemo(function(){var Ii=zr!==!1&&Fr!==!1;return(0,pe.Z)((0,pe.Z)({},Mn),{},{flattenOptions:jn,onActiveValue:Si,defaultActiveFirstOption:kr,onSelect:ur,menuItemSelectedIcon:Xr,rawValues:Un,fieldNames:Qn,virtual:Ii,direction:Hr,listHeight:pn,listItemHeight:Cn,childrenAsData:Be,maxCount:xr,optionRender:Wi})},[xr,Mn,jn,Si,kr,ur,Xr,Un,Qn,zr,Fr,Hr,pn,Cn,Be,Wi]);return Nt.createElement(Pn.Provider,{value:Fn},Nt.createElement(zn,(0,Lt.Z)({},lo,{id:We,prefixCls:ri,ref:Me,omitDomProps:$i,mode:qn,displayValues:On,onDisplayValuesChange:Sr,direction:Hr,searchValue:Vi,onSearch:pr,autoClearSearchValue:hr,onSearchSplit:Pr,dropdownMatchSelectWidth:Fr,OptionList:fr,emptyOptions:!jn.length,activeValue:mi,activeDescendantId:"".concat(We,"_list_").concat(cr)})))}),Pi=cn;Pi.Option=er,Pi.OptGroup=vi;var dr=Pi,Yn=dr},63158:function(bn,$n,Et){"use strict";var Lt=Et(67711),re=Et(52873),fe=Et(16886),pe=Et(33346),ne=Et(59301),Ht=Et(92310),oe=Et.n(Ht),Oe=Et(18929),ge=Et(10228),Nt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Je=ne.forwardRef(function(ie,nn){var Bt,et=ie.prefixCls,nt=et===void 0?"rc-switch":et,ct=ie.className,lt=ie.checked,gt=ie.defaultChecked,mt=ie.disabled,St=ie.loadingIcon,Pt=ie.checkedChildren,Rt=ie.unCheckedChildren,Wt=ie.onClick,te=ie.onChange,Jt=ie.onKeyDown,Vt=(0,pe.Z)(ie,Nt),le=(0,Oe.Z)(!1,{value:lt,defaultValue:gt}),ae=(0,fe.Z)(le,2),Fe=ae[0],De=ae[1];function Ee(sn,$t){var It=Fe;return mt||(It=sn,De(It),te==null||te(It,$t)),It}function Sn(sn){sn.which===ge.Z.LEFT?Ee(!1,sn):sn.which===ge.Z.RIGHT&&Ee(!0,sn),Jt==null||Jt(sn)}function rn(sn){var $t=Ee(!Fe,sn);Wt==null||Wt($t,sn)}var Ge=oe()(nt,ct,(Bt={},(0,re.Z)(Bt,"".concat(nt,"-checked"),Fe),(0,re.Z)(Bt,"".concat(nt,"-disabled"),mt),Bt));return ne.createElement("button",(0,Lt.Z)({},Vt,{type:"button",role:"switch","aria-checked":Fe,disabled:mt,className:Ge,ref:nn,onKeyDown:Sn,onClick:rn}),St,ne.createElement("span",{className:"".concat(nt,"-inner")},ne.createElement("span",{className:"".concat(nt,"-inner-checked")},Pt),ne.createElement("span",{className:"".concat(nt,"-inner-unchecked")},Rt)))});Je.displayName="Switch",$n.Z=Je},86351:function(bn,$n,Et){"use strict";Et.d($n,{R:function(){return re},w:function(){return Lt}});var Lt={},re="rc-table-internal-hook"},97347:function(bn,$n,Et){"use strict";Et.d($n,{L:function(){return nt},Z:function(){return St}});var Lt=Et(16886),re=Et(52873),fe=Et(15142),pe=Et(26420),ne=Et(98506),Ht=Et(33346),oe=Et(11592),Oe=Et(48736),ge=Et(59301),Nt=Et(86351),Je=Et(54451);function ie(Pt){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Rt=="number"?Rt:Rt.endsWith("%")?Pt*parseFloat(Rt)/100:null}function nn(Pt,Rt,Wt){return ge.useMemo(function(){if(Rt&&Rt>0){var te=0,Jt=0;Pt.forEach(function(rn){var Ge=ie(Rt,rn.width);Ge?te+=Ge:Jt+=1});var Vt=Math.max(Rt,Wt),le=Math.max(Vt-te,Jt),ae=Jt,Fe=le/Jt,De=0,Ee=Pt.map(function(rn){var Ge=(0,ne.Z)({},rn),sn=ie(Rt,Ge.width);if(sn)Ge.width=sn;else{var $t=Math.floor(Fe);Ge.width=ae===1?le:$t,le-=$t,ae-=1}return De+=Ge.width,Ge});if(De0?(0,ne.Z)((0,ne.Z)({},Rt),{},{children:ct(Wt)}):Rt})}function lt(Pt){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Pt.filter(function(Wt){return Wt&&(0,pe.Z)(Wt)==="object"}).reduce(function(Wt,te,Jt){var Vt=te.fixed,le=Vt===!0?"left":Vt,ae="".concat(Rt,"-").concat(Jt),Fe=te.children;return Fe&&Fe.length>0?[].concat((0,fe.Z)(Wt),(0,fe.Z)(lt(Fe,ae).map(function(De){return(0,ne.Z)({fixed:le},De)}))):[].concat((0,fe.Z)(Wt),[(0,ne.Z)((0,ne.Z)({key:ae},te),{},{fixed:le})])},[])}function gt(Pt){return Pt.map(function(Rt){var Wt=Rt.fixed,te=(0,Ht.Z)(Rt,et),Jt=Wt;return Wt==="left"?Jt="right":Wt==="right"&&(Jt="left"),(0,ne.Z)({fixed:Jt},te)})}function mt(Pt,Rt){var Wt=Pt.prefixCls,te=Pt.columns,Jt=Pt.children,Vt=Pt.expandable,le=Pt.expandedKeys,ae=Pt.columnTitle,Fe=Pt.getRowKey,De=Pt.onTriggerExpand,Ee=Pt.expandIcon,Sn=Pt.rowExpandable,rn=Pt.expandIconColumnIndex,Ge=Pt.direction,sn=Pt.expandRowByClick,$t=Pt.columnWidth,It=Pt.fixed,Pe=Pt.scrollWidth,an=Pt.clientWidth,Ve=ge.useMemo(function(){var fn=te||nt(Jt)||[];return ct(fn.slice())},[te,Jt]),Se=ge.useMemo(function(){if(Vt){var fn=Ve.slice();if(!fn.includes(Nt.w)){var Dt=rn||0;Dt>=0&&(Dt||It==="left"||!It)&&fn.splice(Dt,0,Nt.w),It==="right"&&fn.splice(Ve.length,0,Nt.w)}var wt=fn.indexOf(Nt.w);fn=fn.filter(function(Mt,Gt){return Mt!==Nt.w||Gt===wt});var yt=Ve[wt],kt;It?kt=It:kt=yt?yt.fixed:null;var jt=(0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)((0,re.Z)({},Je.v,{className:"".concat(Wt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ae),"fixed",kt),"className","".concat(Wt,"-row-expand-icon-cell")),"width",$t),"render",function(Gt,Ce,be){var on=Fe(Ce,be),Ae=le.has(on),Le=Sn?Sn(Ce):!0,_e=Ee({prefixCls:Wt,expanded:Ae,expandable:Le,record:Ce,onExpand:De});return sn?ge.createElement("span",{onClick:function(Pn){return Pn.stopPropagation()}},_e):_e});return fn.map(function(Mt){return Mt===Nt.w?jt:Mt})}return Ve.filter(function(Mt){return Mt!==Nt.w})},[Vt,Ve,Fe,le,Ee,Ge]),$e=ge.useMemo(function(){var fn=Se;return Rt&&(fn=Rt(fn)),fn.length||(fn=[{render:function(){return null}}]),fn},[Rt,Se,Ge]),He=ge.useMemo(function(){return Ge==="rtl"?gt(lt($e)):lt($e)},[$e,Ge,Pe]),xn=ge.useMemo(function(){for(var fn=-1,Dt=He.length-1;Dt>=0;Dt-=1){var wt=He[Dt].fixed;if(wt==="left"||wt===!0){fn=Dt;break}}if(fn>=0)for(var yt=0;yt<=fn;yt+=1){var kt=He[yt].fixed;if(kt!=="left"&&kt!==!0)return!0}var jt=He.findIndex(function(Ce){var be=Ce.fixed;return be==="right"});if(jt>=0)for(var Mt=jt;Mt=Be}function He(We,An){return ge(Pt,function(Be){var Ot=$e(We,An||1,Be.hoverStartRow,Be.hoverEndRow);return[Ot,Be.onHover]})}var xn=Et(70425),we=function(An){var Be=An.ellipsis,Ot=An.rowType,Qn=An.children,Li,Xi=Be===!0?{showTitle:!0}:Be;return Xi&&(Xi.showTitle||Ot==="header")&&(typeof Qn=="string"||typeof Qn=="number"?Li=Qn.toString():Ht.isValidElement(Qn)&&typeof Qn.props.children=="string"&&(Li=Qn.props.children)),Li};function de(We){var An,Be,Ot,Qn,Li,Xi,Vi,yi,Mn=We.component,si=We.children,ci=We.ellipsis,Kn=We.scope,fi=We.prefixCls,ei=We.className,Ft=We.align,se=We.record,Yt=We.render,ve=We.dataIndex,xe=We.renderIndex,Qe=We.shouldCellUpdate,qe=We.index,hn=We.rowType,On=We.colSpan,Un=We.rowSpan,dn=We.fixLeft,di=We.fixRight,Ci=We.firstFixLeft,he=We.lastFixLeft,ti=We.firstFixRight,Xn=We.lastFixRight,jn=We.appendNode,Tn=We.additionalProps,Ei=Tn===void 0?{}:Tn,bi=We.isSticky,mi="".concat(fi,"-cell"),ni=ge(Pt,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Vn=ni.supportSticky,Ti=ni.allColumnsFixedLeft,cr=ni.rowHoverable,mr=Se(se,ve,xe,si,Yt,Qe),kr=(0,re.Z)(mr,2),Si=kr[0],yr=kr[1],ur={},Sr=typeof dn=="number"&&Vn,pr=typeof di=="number"&&Vn;Sr&&(ur.position="sticky",ur.left=dn),pr&&(ur.position="sticky",ur.right=di);var Pr=(An=(Be=(Ot=yr==null?void 0:yr.colSpan)!==null&&Ot!==void 0?Ot:Ei.colSpan)!==null&&Be!==void 0?Be:On)!==null&&An!==void 0?An:1,Fn=(Qn=(Li=(Xi=yr==null?void 0:yr.rowSpan)!==null&&Xi!==void 0?Xi:Ei.rowSpan)!==null&&Li!==void 0?Li:Un)!==null&&Qn!==void 0?Qn:1,Ii=He(qe,Fn),Ui=(0,re.Z)(Ii,2),or=Ui[0],Ji=Ui[1],Qi=(0,xn.zX)(function($r){var Ur;se&&Ji(qe,qe+Fn-1),Ei==null||(Ur=Ei.onMouseEnter)===null||Ur===void 0||Ur.call(Ei,$r)}),xi=(0,xn.zX)(function($r){var Ur;se&&Ji(-1,-1),Ei==null||(Ur=Ei.onMouseLeave)===null||Ur===void 0||Ur.call(Ei,$r)});if(Pr===0||Fn===0)return null;var Dr=(Vi=Ei.title)!==null&&Vi!==void 0?Vi:we({rowType:hn,ellipsis:ci,children:Si}),Kr=Fe()(mi,ei,(yi={},(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)(yi,"".concat(mi,"-fix-left"),Sr&&Vn),"".concat(mi,"-fix-left-first"),Ci&&Vn),"".concat(mi,"-fix-left-last"),he&&Vn),"".concat(mi,"-fix-left-all"),he&&Ti&&Vn),"".concat(mi,"-fix-right"),pr&&Vn),"".concat(mi,"-fix-right-first"),ti&&Vn),"".concat(mi,"-fix-right-last"),Xn&&Vn),"".concat(mi,"-ellipsis"),ci),"".concat(mi,"-with-append"),jn),"".concat(mi,"-fix-sticky"),(Sr||pr)&&bi&&Vn),(0,le.Z)(yi,"".concat(mi,"-row-hover"),!yr&&or)),Ei.className,yr==null?void 0:yr.className),Yr={};Ft&&(Yr.textAlign=Ft);var vr=(0,Vt.Z)((0,Vt.Z)((0,Vt.Z)((0,Vt.Z)({},yr==null?void 0:yr.style),ur),Yr),Ei.style),to=Si;return(0,Jt.Z)(to)==="object"&&!Array.isArray(to)&&!Ht.isValidElement(to)&&(to=null),ci&&(he||ti)&&(to=Ht.createElement("span",{className:"".concat(mi,"-content")},to)),Ht.createElement(Mn,(0,Nt.Z)({},yr,Ei,{className:Kr,style:vr,title:Dr,scope:Kn,onMouseEnter:cr?Qi:void 0,onMouseLeave:cr?xi:void 0,colSpan:Pr!==1?Pr:null,rowSpan:Fn!==1?Fn:null}),jn,to)}var ke=Ht.memo(de);function ze(We,An,Be,Ot,Qn){var Li=Be[We]||{},Xi=Be[An]||{},Vi,yi;Li.fixed==="left"?Vi=Ot.left[Qn==="rtl"?An:We]:Xi.fixed==="right"&&(yi=Ot.right[Qn==="rtl"?We:An]);var Mn=!1,si=!1,ci=!1,Kn=!1,fi=Be[An+1],ei=Be[We-1],Ft=fi&&!fi.fixed||ei&&!ei.fixed||Be.every(function(Qe){return Qe.fixed==="left"});if(Qn==="rtl"){if(Vi!==void 0){var se=ei&&ei.fixed==="left";Kn=!se&&Ft}else if(yi!==void 0){var Yt=fi&&fi.fixed==="right";ci=!Yt&&Ft}}else if(Vi!==void 0){var ve=fi&&fi.fixed==="left";Mn=!ve&&Ft}else if(yi!==void 0){var xe=ei&&ei.fixed==="right";si=!xe&&Ft}return{fixLeft:Vi,fixRight:yi,lastFixLeft:Mn,firstFixRight:si,lastFixRight:ci,firstFixLeft:Kn,isSticky:Ot.isSticky}}var fn=Ht.createContext({}),Dt=fn;function wt(We){var An=We.className,Be=We.index,Ot=We.children,Qn=We.colSpan,Li=Qn===void 0?1:Qn,Xi=We.rowSpan,Vi=We.align,yi=ge(Pt,["prefixCls","direction"]),Mn=yi.prefixCls,si=yi.direction,ci=Ht.useContext(Dt),Kn=ci.scrollColumnIndex,fi=ci.stickyOffsets,ei=ci.flattenColumns,Ft=Be+Li-1,se=Ft+1===Kn?Li+1:Li,Yt=ze(Be,Be+se-1,ei,fi,si);return Ht.createElement(ke,(0,Nt.Z)({className:An,index:Be,component:"td",prefixCls:Mn,record:null,dataIndex:null,align:Vi,colSpan:se,rowSpan:Xi,render:function(){return Ot}},Yt))}var yt=Et(33346),kt=["children"];function jt(We){var An=We.children,Be=(0,yt.Z)(We,kt);return Ht.createElement("tr",Be,An)}function Mt(We){var An=We.children;return An}Mt.Row=jt,Mt.Cell=wt;var Gt=Mt;function Ce(We){var An=We.children,Be=We.stickyOffsets,Ot=We.flattenColumns,Qn=ge(Pt,"prefixCls"),Li=Ot.length-1,Xi=Ot[Li],Vi=Ht.useMemo(function(){return{stickyOffsets:Be,flattenColumns:Ot,scrollColumnIndex:Xi!=null&&Xi.scrollbar?Li:null}},[Xi,Ot,Li,Be]);return Ht.createElement(Dt.Provider,{value:Vi},Ht.createElement("tfoot",{className:"".concat(Qn,"-summary")},An))}var be=gt(Ce),on=Gt,Ae=Et(29301),Le=Et(24514),_e=Et(75152),un=Et(26112);function Pn(We,An,Be,Ot,Qn,Li,Xi){We.push({record:An,indent:Be,index:Xi});var Vi=Li(An),yi=Qn==null?void 0:Qn.has(Vi);if(An&&Array.isArray(An[Ot])&&yi)for(var Mn=0;Mn1?Ci-1:0),ti=1;ti=1)),style:(0,Vt.Z)((0,Vt.Z)({},Be),Yt==null?void 0:Yt.style)}),ei.map(function(dn,di){var Ci=dn.render,he=dn.dataIndex,ti=dn.className,Xn=vi(Kn,dn,di,yi,Qn),jn=Xn.key,Tn=Xn.fixedInfo,Ei=Xn.appendCellNode,bi=Xn.additionalCellProps;return Ht.createElement(ke,(0,Nt.Z)({className:ti,ellipsis:dn.ellipsis,align:dn.align,scope:dn.rowScope,component:dn.rowScope?ci:si,prefixCls:fi,key:jn,record:Ot,index:Qn,renderIndex:Li,dataIndex:he,render:Ci,shouldCellUpdate:dn.shouldCellUpdate},Tn,{appendNode:Ei,additionalProps:bi}))})),On;if(xe&&(Qe.current||ve)){var Un=se(Ot,Qn,yi+1,ve);On=Ht.createElement(Hn,{expanded:ve,className:Fe()("".concat(fi,"-expanded-row"),"".concat(fi,"-expanded-row-level-").concat(yi+1),qe),prefixCls:fi,component:Mn,cellComponent:si,colSpan:ei.length,isEmpty:!1},Un)}return Ht.createElement(Ht.Fragment,null,hn,On)}var er=gt(ji);function Ke(We){var An=We.columnKey,Be=We.onColumnResize,Ot=Ht.useRef();return(0,pe.Z)(function(){Ot.current&&Be(An,Ot.current.offsetWidth)},[]),Ht.createElement(Ae.Z,{data:An},Ht.createElement("td",{ref:Ot,style:{padding:0,border:0,height:0}},Ht.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Ue=Et(29194);function ii(We){var An=We.prefixCls,Be=We.columnsKey,Ot=We.onColumnResize,Qn=Ht.useRef(null);return Ht.createElement("tr",{"aria-hidden":"true",className:"".concat(An,"-measure-row"),style:{height:0,fontSize:0},ref:Qn},Ht.createElement(Ae.Z.Collection,{onBatchResize:function(Xi){(0,Ue.Z)(Qn.current)&&Xi.forEach(function(Vi){var yi=Vi.data,Mn=Vi.size;Ot(yi,Mn.offsetWidth)})}},Be.map(function(Li){return Ht.createElement(Ke,{key:Li,columnKey:Li,onColumnResize:Ot})})))}function Ai(We){var An=We.data,Be=We.measureColumnWidth,Ot=ge(Pt,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Qn=Ot.prefixCls,Li=Ot.getComponent,Xi=Ot.onColumnResize,Vi=Ot.flattenColumns,yi=Ot.getRowKey,Mn=Ot.expandedKeys,si=Ot.childrenColumnName,ci=Ot.emptyNode,Kn=gn(An,si,Mn,yi),fi=Ht.useRef({renderWithProps:!1}),ei=Li(["body","wrapper"],"tbody"),Ft=Li(["body","row"],"tr"),se=Li(["body","cell"],"td"),Yt=Li(["body","cell"],"th"),ve;An.length?ve=Kn.map(function(Qe,qe){var hn=Qe.record,On=Qe.indent,Un=Qe.index,dn=yi(hn,qe);return Ht.createElement(er,{key:dn,rowKey:dn,record:hn,index:qe,renderIndex:Un,rowComponent:Ft,cellComponent:se,scopeCellComponent:Yt,indent:On})}):ve=Ht.createElement(Hn,{expanded:!0,className:"".concat(Qn,"-placeholder"),prefixCls:Qn,component:Ft,cellComponent:se,colSpan:Vi.length,isEmpty:!0},ci);var xe=It(Vi);return Ht.createElement(Ge.Provider,{value:fi.current},Ht.createElement(ei,{className:"".concat(Qn,"-tbody")},Be&&Ht.createElement(ii,{prefixCls:Qn,columnsKey:xe,onColumnResize:Xi}),ve))}var Fi=gt(Ai),Mi=Et(54451),sr=["columnType"];function nr(We){for(var An=We.colWidths,Be=We.columns,Ot=We.columCount,Qn=ge(Pt,["tableLayout"]),Li=Qn.tableLayout,Xi=[],Vi=Ot||Be.length,yi=!1,Mn=Vi-1;Mn>=0;Mn-=1){var si=An[Mn],ci=Be&&Be[Mn],Kn=void 0,fi=void 0;if(ci&&(Kn=ci[Mi.v],Li==="auto"&&(fi=ci.minWidth)),si||fi||Kn||yi){var ei=Kn||{},Ft=ei.columnType,se=(0,yt.Z)(ei,sr);Xi.unshift(Ht.createElement("col",(0,Nt.Z)({key:Mn,style:{width:si,minWidth:fi}},se))),yi=!0}}return Ht.createElement("colgroup",null,Xi)}var fr=nr,_n=Et(15142),qi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ct(We,An){return(0,Ht.useMemo)(function(){for(var Be=[],Ot=0;Ot1?"colgroup":"col":null,ellipsis:se.ellipsis,align:se.align,component:Xi,prefixCls:si,key:fi[Ft]},Yt,{additionalProps:ve,rowType:"header"}))}))},Bn=Wn;function En(We){var An=[];function Be(Xi,Vi){var yi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;An[yi]=An[yi]||[];var Mn=Vi,si=Xi.filter(Boolean).map(function(ci){var Kn={key:ci.key,className:ci.className||"",children:ci.title,column:ci,colStart:Mn},fi=1,ei=ci.children;return ei&&ei.length>0&&(fi=Be(ei,Mn,yi+1).reduce(function(Ft,se){return Ft+se},0),Kn.hasSubColumns=!0),"colSpan"in ci&&(fi=ci.colSpan),"rowSpan"in ci&&(Kn.rowSpan=ci.rowSpan),Kn.colSpan=fi,Kn.colEnd=Kn.colStart+fi-1,An[yi].push(Kn),Mn+=fi,fi});return si}Be(We,0);for(var Ot=An.length,Qn=function(Vi){An[Vi].forEach(function(yi){!("rowSpan"in yi)&&!yi.hasSubColumns&&(yi.rowSpan=Ot-Vi)})},Li=0;Li=Ei-Vi?ve(function(bi){return(0,Vt.Z)((0,Vt.Z)({},bi),{},{isHiddenScrollBar:!0})}):ve(function(bi){return(0,Vt.Z)((0,Vt.Z)({},bi),{},{isHiddenScrollBar:!1})})}})},ti=function(jn){ve(function(Tn){return(0,Vt.Z)((0,Vt.Z)({},Tn),{},{scrollLeft:jn/ci*Kn||0})})};return Ht.useImperativeHandle(Be,function(){return{setScrollLeft:ti,checkScrollBarVisible:he}}),Ht.useEffect(function(){var Xn=(0,Me.Z)(document.body,"mouseup",dn,!1),jn=(0,Me.Z)(document.body,"mousemove",Ci,!1);return he(),function(){Xn.remove(),jn.remove()}},[fi,hn]),Ht.useEffect(function(){if(Li.current){for(var Xn=[],jn=(0,qn.bn)(Li.current);jn;)Xn.push(jn),jn=jn.parentElement;return Xn.forEach(function(Tn){return Tn.addEventListener("scroll",he,!1)}),window.addEventListener("resize",he,!1),window.addEventListener("scroll",he,!1),yi.addEventListener("scroll",he,!1),function(){Xn.forEach(function(Tn){return Tn.removeEventListener("scroll",he)}),window.removeEventListener("resize",he),window.removeEventListener("scroll",he),yi.removeEventListener("scroll",he)}}},[yi]),Ht.useEffect(function(){Yt.isHiddenScrollBar||ve(function(Xn){var jn=Li.current;return jn?(0,Vt.Z)((0,Vt.Z)({},Xn),{},{scrollLeft:jn.scrollLeft/jn.scrollWidth*jn.clientWidth}):Xn})},[Yt.isHiddenScrollBar]),ci<=Kn||!fi||Yt.isHiddenScrollBar?null:Ht.createElement("div",{style:{height:(0,_e.Z)(),width:Kn,bottom:Vi},className:"".concat(si,"-sticky-scroll")},Ht.createElement("div",{onMouseDown:di,ref:ei,className:Fe()("".concat(si,"-sticky-scroll-bar"),(0,le.Z)({},"".concat(si,"-sticky-scroll-bar-active"),hn)),style:{width:"".concat(fi,"px"),transform:"translate3d(".concat(Yt.scrollLeft,"px, 0, 0)")}}))},Zi=Ht.forwardRef(ri);function Gi(We){return null}var ir=Gi;function ai(We){return null}var Jn=ai,hi="rc-table",hr=[],tr={};function Dn(){return"No Data"}function ki(We,An){var Be=(0,Vt.Z)({rowKey:"key",prefixCls:hi,emptyText:Dn},We),Ot=Be.prefixCls,Qn=Be.className,Li=Be.rowClassName,Xi=Be.style,Vi=Be.data,yi=Be.rowKey,Mn=Be.scroll,si=Be.tableLayout,ci=Be.direction,Kn=Be.title,fi=Be.footer,ei=Be.summary,Ft=Be.caption,se=Be.id,Yt=Be.showHeader,ve=Be.components,xe=Be.emptyText,Qe=Be.onRow,qe=Be.onHeaderRow,hn=Be.onScroll,On=Be.internalHooks,Un=Be.transformColumns,dn=Be.internalRefs,di=Be.tailor,Ci=Be.getContainerWidth,he=Be.sticky,ti=Be.rowHoverable,Xn=ti===void 0?!0:ti,jn=Vi||hr,Tn=!!jn.length,Ei=On===Lt.R,bi=Ht.useCallback(function(Eo,Wo){return(0,Ee.Z)(ve,Eo)||Wo},[ve]),mi=Ht.useMemo(function(){return typeof yi=="function"?yi:function(Eo){var Wo=Eo&&Eo[yi];return Wo}},[yi]),ni=bi(["body"]),Vn=Ni(),Ti=(0,re.Z)(Vn,3),cr=Ti[0],mr=Ti[1],kr=Ti[2],Si=Ze(Be,jn,mi),yr=(0,re.Z)(Si,6),ur=yr[0],Sr=yr[1],pr=yr[2],Pr=yr[3],Fn=yr[4],Ii=yr[5],Ui=Mn==null?void 0:Mn.x,or=Ht.useState(0),Ji=(0,re.Z)(or,2),Qi=Ji[0],xi=Ji[1],Dr=(0,Te.Z)((0,Vt.Z)((0,Vt.Z)((0,Vt.Z)({},Be),ur),{},{expandable:!!ur.expandedRowRender,columnTitle:ur.columnTitle,expandedKeys:pr,getRowKey:mi,onTriggerExpand:Ii,expandIcon:Pr,expandIconColumnIndex:ur.expandIconColumnIndex,direction:ci,scrollWidth:Ei&&di&&typeof Ui=="number"?Ui:null,clientWidth:Qi}),Ei?Un:null),Kr=(0,re.Z)(Dr,4),Yr=Kr[0],vr=Kr[1],to=Kr[2],$r=Kr[3],Ur=to!=null?to:Ui,mo=Ht.useMemo(function(){return{columns:Yr,flattenColumns:vr}},[Yr,vr]),xo=Ht.useRef(),No=Ht.useRef(),oo=Ht.useRef(),ta=Ht.useRef();Ht.useImperativeHandle(An,function(){return{nativeElement:xo.current,scrollTo:function(Wo){var wa;if(oo.current instanceof HTMLElement){var ts=Wo.index,Ja=Wo.top,Nl=Wo.key;if(an(Ja)){var ml;(ml=oo.current)===null||ml===void 0||ml.scrollTo({top:Ja})}else{var Do,fo=Nl!=null?Nl:mi(jn[ts]);(Do=oo.current.querySelector('[data-row-key="'.concat(fo,'"]')))===null||Do===void 0||Do.scrollIntoView()}}else(wa=oo.current)!==null&&wa!==void 0&&wa.scrollTo&&oo.current.scrollTo(Wo)}}});var Mo=Ht.useRef(),na=Ht.useState(!1),Fo=(0,re.Z)(na,2),Yo=Fo[0],ia=Fo[1],Qo=Ht.useState(!1),jo=(0,re.Z)(Qo,2),Ao=jo[0],oa=jo[1],Ca=Ht.useState(new Map),Ho=(0,re.Z)(Ca,2),Ra=Ho[0],ko=Ho[1],Po=It(vr),vo=Po.map(function(Eo){return Ra.get(Eo)}),_o=Ht.useMemo(function(){return vo},[vo.join("_")]),bo=dr(_o,vr,ci),La=Mn&&Pe(Mn.y),Lr=Mn&&Pe(Ur)||!!ur.fixed,lr=Lr&&vr.some(function(Eo){var Wo=Eo.fixed;return Wo}),Ir=Ht.useRef(),wr=cn(he,Ot),pi=wr.isSticky,Zo=wr.offsetHeader,ce=wr.offsetSummary,Ln=wr.offsetScroll,za=wr.stickyClassName,ja=wr.container,da=Ht.useMemo(function(){return ei==null?void 0:ei(jn)},[ei,jn]),ca=(La||pi)&&Ht.isValidElement(da)&&da.type===Gt&&da.props.fixed,Ga,Ta,Hs;La&&(Ta={overflowY:Tn?"scroll":"auto",maxHeight:Mn.y}),Lr&&(Ga={overflowX:"auto"},La||(Ta={overflowY:"hidden"}),Hs={width:Ur===!0?"auto":Ur,minWidth:"100%"});var aa=Ht.useCallback(function(Eo,Wo){ko(function(wa){if(wa.get(Eo)!==Wo){var ts=new Map(wa);return ts.set(Eo,Wo),ts}return wa})},[]),Vr=Oi(null),Va=(0,re.Z)(Vr,2),$a=Va[0],sa=Va[1];function co(Eo,Wo){Wo&&(typeof Wo=="function"?Wo(Eo):Wo.scrollLeft!==Eo&&(Wo.scrollLeft=Eo,Wo.scrollLeft!==Eo&&setTimeout(function(){Wo.scrollLeft=Eo},0)))}var ga=(0,fe.Z)(function(Eo){var Wo=Eo.currentTarget,wa=Eo.scrollLeft,ts=ci==="rtl",Ja=typeof wa=="number"?wa:Wo.scrollLeft,Nl=Wo||tr;if(!sa()||sa()===Nl){var ml;$a(Nl),co(Ja,No.current),co(Ja,oo.current),co(Ja,Mo.current),co(Ja,(ml=Ir.current)===null||ml===void 0?void 0:ml.setScrollLeft)}var Do=Wo||No.current;if(Do){var fo=Ei&&di&&typeof Ur=="number"?Ur:Do.scrollWidth,Ka=Do.clientWidth;if(fo===Ka){ia(!1),oa(!1);return}ts?(ia(-Ja0)):(ia(Ja>0),oa(Ja1?se-Xn:0,Tn=(0,Vt.Z)((0,Vt.Z)((0,Vt.Z)({},Un),Mn),{},{flex:"0 0 ".concat(Xn,"px"),width:"".concat(Xn,"px"),marginRight:jn,pointerEvents:"auto"}),Ei=Ht.useMemo(function(){return ci?he<=1:di===0||he===0||he>1},[he,di,ci]);Ei?Tn.visibility="hidden":ci&&(Tn.height=Kn==null?void 0:Kn(he));var bi=Ei?function(){return null}:fi,mi={};return(he===0||di===0)&&(mi.rowSpan=1,mi.colSpan=1),Ht.createElement(ke,(0,Nt.Z)({className:Fe()(Ft,si),ellipsis:Be.ellipsis,align:Be.align,scope:Be.rowScope,component:Xi,prefixCls:An.prefixCls,key:Qe,record:yi,index:Li,renderIndex:Vi,dataIndex:ei,render:bi,shouldCellUpdate:Be.shouldCellUpdate},qe,{appendNode:hn,additionalProps:(0,Vt.Z)((0,Vt.Z)({},On),{},{style:Tn},mi)}))}var Xr=Nr,zr=["data","index","className","rowKey","style","extra","getHeight"],Hr=Ht.forwardRef(function(We,An){var Be=We.data,Ot=We.index,Qn=We.className,Li=We.rowKey,Xi=We.style,Vi=We.extra,yi=We.getHeight,Mn=(0,yt.Z)(We,zr),si=Be.record,ci=Be.indent,Kn=Be.index,fi=ge(Pt,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ei=fi.scrollX,Ft=fi.flattenColumns,se=fi.prefixCls,Yt=fi.fixColumn,ve=fi.componentWidth,xe=ge(Ar,["getComponent"]),Qe=xe.getComponent,qe=en(si,Li,Ot,ci),hn=Qe(["body","row"],"div"),On=Qe(["body","cell"],"div"),Un=qe.rowSupportExpand,dn=qe.expanded,di=qe.rowProps,Ci=qe.expandedRowRender,he=qe.expandedRowClassName,ti;if(Un&&dn){var Xn=Ci(si,Ot,ci+1,dn),jn=Ri(he,si,Ot,ci),Tn={};Yt&&(Tn={style:(0,le.Z)({},"--virtual-width","".concat(ve,"px"))});var Ei="".concat(se,"-expanded-row-cell");ti=Ht.createElement(hn,{className:Fe()("".concat(se,"-expanded-row"),"".concat(se,"-expanded-row-level-").concat(ci+1),jn)},Ht.createElement(ke,{component:On,prefixCls:se,className:Fe()(Ei,(0,le.Z)({},"".concat(Ei,"-fixed"),Yt)),additionalProps:Tn},Xn))}var bi=(0,Vt.Z)((0,Vt.Z)({},Xi),{},{width:ei});Vi&&(bi.position="absolute",bi.pointerEvents="none");var mi=Ht.createElement(hn,(0,Nt.Z)({},di,Mn,{"data-row-key":Li,ref:Un?null:An,className:Fe()(Qn,"".concat(se,"-row"),di==null?void 0:di.className,(0,le.Z)({},"".concat(se,"-row-extra"),Vi)),style:(0,Vt.Z)((0,Vt.Z)({},bi),di==null?void 0:di.style)}),Ft.map(function(ni,Vn){return Ht.createElement(Xr,{key:Vn,component:On,rowInfo:qe,column:ni,colIndex:Vn,indent:ci,index:Ot,renderIndex:Kn,record:si,inverse:Vi,getHeight:yi})}));return Un?Ht.createElement("div",{ref:An},mi,ti):mi}),qr=gt(Hr),pn=qr,no=Ht.forwardRef(function(We,An){var Be=We.data,Ot=We.onScroll,Qn=ge(Pt,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),Li=Qn.flattenColumns,Xi=Qn.onColumnResize,Vi=Qn.getRowKey,yi=Qn.expandedKeys,Mn=Qn.prefixCls,si=Qn.childrenColumnName,ci=Qn.scrollX,Kn=Qn.direction,fi=ge(Ar),ei=fi.sticky,Ft=fi.scrollY,se=fi.listItemHeight,Yt=fi.getComponent,ve=fi.onScroll,xe=Ht.useRef(),Qe=gn(Be,si,yi,Vi),qe=Ht.useMemo(function(){var ti=0;return Li.map(function(Xn){var jn=Xn.width,Tn=Xn.key;return ti+=jn,[Tn,jn,ti]})},[Li]),hn=Ht.useMemo(function(){return qe.map(function(ti){return ti[2]})},[qe]);Ht.useEffect(function(){qe.forEach(function(ti){var Xn=(0,re.Z)(ti,2),jn=Xn[0],Tn=Xn[1];Xi(jn,Tn)})},[qe]),Ht.useImperativeHandle(An,function(){var ti,Xn={scrollTo:function(Tn){var Ei;(Ei=xe.current)===null||Ei===void 0||Ei.scrollTo(Tn)},nativeElement:(ti=xe.current)===null||ti===void 0?void 0:ti.nativeElement};return Object.defineProperty(Xn,"scrollLeft",{get:function(){var Tn;return((Tn=xe.current)===null||Tn===void 0?void 0:Tn.getScrollInfo().x)||0},set:function(Tn){var Ei;(Ei=xe.current)===null||Ei===void 0||Ei.scrollTo({left:Tn})}}),Xn});var On=function(Xn,jn){var Tn,Ei=(Tn=Qe[jn])===null||Tn===void 0?void 0:Tn.record,bi=Xn.onCell;if(bi){var mi,ni=bi(Ei,jn);return(mi=ni==null?void 0:ni.rowSpan)!==null&&mi!==void 0?mi:1}return 1},Un=function(Xn){var jn=Xn.start,Tn=Xn.end,Ei=Xn.getSize,bi=Xn.offsetY;if(Tn<0)return null;for(var mi=Li.filter(function(Pr){return On(Pr,jn)===0}),ni=jn,Vn=function(Fn){if(mi=mi.filter(function(Ii){return On(Ii,Fn)===0}),!mi.length)return ni=Fn,1},Ti=jn;Ti>=0&&!Vn(Ti);Ti-=1);for(var cr=Li.filter(function(Pr){return On(Pr,Tn)!==1}),mr=Tn,kr=function(Fn){if(cr=cr.filter(function(Ii){return On(Ii,Fn)!==1}),!cr.length)return mr=Math.max(Fn-1,Tn),1},Si=Tn;Si1})&&yr.push(Fn)},Sr=ni;Sr<=mr;Sr+=1)ur(Sr);var pr=yr.map(function(Pr){var Fn=Qe[Pr],Ii=Vi(Fn.record,Pr),Ui=function(Qi){var xi=Pr+Qi-1,Dr=Vi(Qe[xi].record,xi),Kr=Ei(Ii,Dr);return Kr.bottom-Kr.top},or=Ei(Ii);return Ht.createElement(pn,{key:Pr,data:Fn,rowKey:Ii,index:Pr,style:{top:-bi+or.top},extra:!0,getHeight:Ui})});return pr},dn=Ht.useMemo(function(){return{columnsOffset:hn}},[hn]),di="".concat(Mn,"-tbody"),Ci=Yt(["body","wrapper"]),he={};return ei&&(he.position="sticky",he.bottom=0,(0,Jt.Z)(ei)==="object"&&ei.offsetScroll&&(he.bottom=ei.offsetScroll)),Ht.createElement(Wi.Provider,{value:dn},Ht.createElement(_i.Z,{fullHeight:!1,ref:xe,prefixCls:"".concat(di,"-virtual"),styles:{horizontalScrollBar:he},className:di,height:Ft,itemHeight:se||24,data:Qe,itemKey:function(Xn){return Vi(Xn.record)},component:Ci,scrollWidth:ci,direction:Kn,onVirtualScroll:function(Xn){var jn,Tn=Xn.x;Ot({currentTarget:(jn=xe.current)===null||jn===void 0?void 0:jn.nativeElement,scrollLeft:Tn})},onScroll:ve,extraRender:Un},function(ti,Xn,jn){var Tn=Vi(ti.record,Xn);return Ht.createElement(pn,{data:ti,rowKey:Tn,index:Xn,style:jn.style})}))}),Cn=gt(no),rr=Cn,Or=function(An,Be){var Ot=Be.ref,Qn=Be.onScroll;return Ht.createElement(rr,{ref:Ot,data:An,onScroll:Qn})};function Tr(We,An){var Be=We.data,Ot=We.columns,Qn=We.scroll,Li=We.sticky,Xi=We.prefixCls,Vi=Xi===void 0?hi:Xi,yi=We.className,Mn=We.listItemHeight,si=We.components,ci=We.onScroll,Kn=Qn||{},fi=Kn.x,ei=Kn.y;typeof fi!="number"&&(fi=1),typeof ei!="number"&&(ei=500);var Ft=(0,xn.zX)(function(ve,xe){return(0,Ee.Z)(si,ve)||xe}),se=(0,xn.zX)(ci),Yt=Ht.useMemo(function(){return{sticky:Li,scrollY:ei,listItemHeight:Mn,getComponent:Ft,onScroll:se}},[Li,ei,Mn,Ft,se]);return Ht.createElement(Ar.Provider,{value:Yt},Ht.createElement(je,(0,Nt.Z)({},We,{className:Fe()(yi,"".concat(Vi,"-virtual")),scroll:(0,Vt.Z)((0,Vt.Z)({},Qn),{},{x:fi}),components:(0,Vt.Z)((0,Vt.Z)({},si),{},{body:Be!=null&&Be.length?Or:void 0}),columns:Ot,internalHooks:Lt.R,tailor:!0,ref:An})))}var ho=Ht.forwardRef(Tr);function Gr(We){return lt(ho,We)}var xr=Gr(),lo=null},54451:function(bn,$n,Et){"use strict";Et.d($n,{g:function(){return Ht},v:function(){return ne}});var Lt=Et(98506),re=Et(33346),fe=Et(48736),pe=["expandable"],ne="RC_TABLE_INTERNAL_COL_DEFINE";function Ht(oe){var Oe=oe.expandable,ge=(0,re.Z)(oe,pe),Nt;return"expandable"in oe?Nt=(0,Lt.Z)((0,Lt.Z)({},ge),Oe):Nt=ge,Nt.showExpandColumn===!1&&(Nt.expandIconColumnIndex=-1),Nt}},22711:function(bn,$n,Et){"use strict";Et.r($n),Et.d($n,{ResizableTextArea:function(){return ae},default:function(){return Sn}});var Lt=Et(67711),re=Et(52873),fe=Et(98506),pe=Et(15142),ne=Et(16886),Ht=Et(33346),oe=Et(92310),Oe=Et.n(oe),ge=Et(36901),Nt=Et(66003),Je=Et(30292),ie=Et(18929),nn=Et(59301),Bt=Et(26420),et=Et(29301),nt=Et(34280),ct=Et(16089),lt=` min-height:0 !important; max-height:none !important; height:0 !important; visibility:hidden !important; overflow:hidden !important; position:absolute !important; z-index:-1000 !important; top:0 !important; right:0 !important; pointer-events: none !important; `,gt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],mt={},St;function Pt(rn){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=rn.getAttribute("id")||rn.getAttribute("data-reactid")||rn.getAttribute("name");if(Ge&&mt[sn])return mt[sn];var $t=window.getComputedStyle(rn),It=$t.getPropertyValue("box-sizing")||$t.getPropertyValue("-moz-box-sizing")||$t.getPropertyValue("-webkit-box-sizing"),Pe=parseFloat($t.getPropertyValue("padding-bottom"))+parseFloat($t.getPropertyValue("padding-top")),an=parseFloat($t.getPropertyValue("border-bottom-width"))+parseFloat($t.getPropertyValue("border-top-width")),Ve=gt.map(function($e){return"".concat($e,":").concat($t.getPropertyValue($e))}).join(";"),Se={sizingStyle:Ve,paddingSize:Pe,borderSize:an,boxSizing:It};return Ge&&sn&&(mt[sn]=Se),Se}function Rt(rn){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,$t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;St||(St=document.createElement("textarea"),St.setAttribute("tab-index","-1"),St.setAttribute("aria-hidden","true"),St.setAttribute("name","hiddenTextarea"),document.body.appendChild(St)),rn.getAttribute("wrap")?St.setAttribute("wrap",rn.getAttribute("wrap")):St.removeAttribute("wrap");var It=Pt(rn,Ge),Pe=It.paddingSize,an=It.borderSize,Ve=It.boxSizing,Se=It.sizingStyle;St.setAttribute("style","".concat(Se,";").concat(lt)),St.value=rn.value||rn.placeholder||"";var $e=void 0,He=void 0,xn,we=St.scrollHeight;if(Ve==="border-box"?we+=an:Ve==="content-box"&&(we-=Pe),sn!==null||$t!==null){St.value=" ";var de=St.scrollHeight-Pe;sn!==null&&($e=de*sn,Ve==="border-box"&&($e=$e+Pe+an),we=Math.max($e,we)),$t!==null&&(He=de*$t,Ve==="border-box"&&(He=He+Pe+an),xn=we>He?"":"hidden",we=Math.min(He,we))}var ke={height:we,overflowY:xn,resize:"none"};return $e&&(ke.minHeight=$e),He&&(ke.maxHeight=He),ke}var Wt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],te=0,Jt=1,Vt=2,le=nn.forwardRef(function(rn,Ge){var sn=rn,$t=sn.prefixCls,It=sn.defaultValue,Pe=sn.value,an=sn.autoSize,Ve=sn.onResize,Se=sn.className,$e=sn.style,He=sn.disabled,xn=sn.onChange,we=sn.onInternalAutoSize,de=(0,Ht.Z)(sn,Wt),ke=(0,ie.Z)(It,{value:Pe,postState:function(er){return er!=null?er:""}}),ze=(0,ne.Z)(ke,2),fn=ze[0],Dt=ze[1],wt=function(er){Dt(er.target.value),xn==null||xn(er)},yt=nn.useRef();nn.useImperativeHandle(Ge,function(){return{textArea:yt.current}});var kt=nn.useMemo(function(){return an&&(0,Bt.Z)(an)==="object"?[an.minRows,an.maxRows]:[]},[an]),jt=(0,ne.Z)(kt,2),Mt=jt[0],Gt=jt[1],Ce=!!an,be=function(){try{if(document.activeElement===yt.current){var er=yt.current,Ke=er.selectionStart,Ue=er.selectionEnd,ii=er.scrollTop;yt.current.setSelectionRange(Ke,Ue),yt.current.scrollTop=ii}}catch(Ai){}},on=nn.useState(Vt),Ae=(0,ne.Z)(on,2),Le=Ae[0],_e=Ae[1],un=nn.useState(),Pn=(0,ne.Z)(un,2),gn=Pn[0],en=Pn[1],Zn=function(){_e(te)};(0,nt.Z)(function(){Ce&&Zn()},[Pe,Mt,Gt,Ce]),(0,nt.Z)(function(){if(Le===te)_e(Jt);else if(Le===Jt){var ji=Rt(yt.current,!1,Mt,Gt);_e(Vt),en(ji)}else be()},[Le]);var Hn=nn.useRef(),mn=function(){ct.Z.cancel(Hn.current)},zn=function(er){Le===Vt&&(Ve==null||Ve(er),an&&(mn(),Hn.current=(0,ct.Z)(function(){Zn()})))};nn.useEffect(function(){return mn},[]);var Ri=Ce?gn:null,vi=(0,fe.Z)((0,fe.Z)({},$e),Ri);return(Le===te||Le===Jt)&&(vi.overflowY="hidden",vi.overflowX="hidden"),nn.createElement(et.Z,{onResize:zn,disabled:!(an||Ve)},nn.createElement("textarea",(0,Lt.Z)({},de,{ref:yt,style:vi,className:Oe()($t,Se,(0,re.Z)({},"".concat($t,"-disabled"),He)),disabled:He,value:fn,onChange:wt})))}),ae=le,Fe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],De=nn.forwardRef(function(rn,Ge){var sn,$t=rn.defaultValue,It=rn.value,Pe=rn.onFocus,an=rn.onBlur,Ve=rn.onChange,Se=rn.allowClear,$e=rn.maxLength,He=rn.onCompositionStart,xn=rn.onCompositionEnd,we=rn.suffix,de=rn.prefixCls,ke=de===void 0?"rc-textarea":de,ze=rn.showCount,fn=rn.count,Dt=rn.className,wt=rn.style,yt=rn.disabled,kt=rn.hidden,jt=rn.classNames,Mt=rn.styles,Gt=rn.onResize,Ce=rn.onClear,be=rn.onPressEnter,on=rn.readOnly,Ae=rn.autoSize,Le=rn.onKeyDown,_e=(0,Ht.Z)(rn,Fe),un=(0,ie.Z)($t,{value:It,defaultValue:$t}),Pn=(0,ne.Z)(un,2),gn=Pn[0],en=Pn[1],Zn=gn==null?"":String(gn),Hn=nn.useState(!1),mn=(0,ne.Z)(Hn,2),zn=mn[0],Ri=mn[1],vi=nn.useRef(!1),ji=nn.useState(null),er=(0,ne.Z)(ji,2),Ke=er[0],Ue=er[1],ii=(0,nn.useRef)(null),Ai=(0,nn.useRef)(null),Fi=function(){var Pi;return(Pi=Ai.current)===null||Pi===void 0?void 0:Pi.textArea},Mi=function(){Fi().focus()};(0,nn.useImperativeHandle)(Ge,function(){var cn;return{resizableTextArea:Ai.current,focus:Mi,blur:function(){Fi().blur()},nativeElement:((cn=ii.current)===null||cn===void 0?void 0:cn.nativeElement)||Fi()}}),(0,nn.useEffect)(function(){Ri(function(cn){return!yt&&cn})},[yt]);var sr=nn.useState(null),nr=(0,ne.Z)(sr,2),fr=nr[0],_n=nr[1];nn.useEffect(function(){if(fr){var cn;(cn=Fi()).setSelectionRange.apply(cn,(0,pe.Z)(fr))}},[fr]);var qi=(0,Nt.Z)(fn,ze),Ct=(sn=qi.max)!==null&&sn!==void 0?sn:$e,Bi=Number(Ct)>0,oi=qi.strategy(Zn),Wn=!!Ct&&oi>Ct,Bn=function(Pi,dr){var Yn=dr;!vi.current&&qi.exceedFormatter&&qi.max&&qi.strategy(dr)>qi.max&&(Yn=qi.exceedFormatter(dr,{max:qi.max}),dr!==Yn&&_n([Fi().selectionStart||0,Fi().selectionEnd||0])),en(Yn),(0,Je.rJ)(Pi.currentTarget,Pi,Ve,Yn)},En=function(Pi){vi.current=!0,He==null||He(Pi)},vn=function(Pi){vi.current=!1,Bn(Pi,Pi.currentTarget.value),xn==null||xn(Pi)},ui=function(Pi){Bn(Pi,Pi.target.value)},Te=function(Pi){Pi.key==="Enter"&&be&&be(Pi),Le==null||Le(Pi)},Ze=function(Pi){Ri(!0),Pe==null||Pe(Pi)},Ne=function(Pi){Ri(!1),an==null||an(Pi)},ln=function(Pi){en(""),Mi(),(0,Je.rJ)(Fi(),Pi,Ve)},Oi=we,Ni;qi.show&&(qi.showFormatter?Ni=qi.showFormatter({value:Zn,count:oi,maxLength:Ct}):Ni="".concat(oi).concat(Bi?" / ".concat(Ct):""),Oi=nn.createElement(nn.Fragment,null,Oi,nn.createElement("span",{className:Oe()("".concat(ke,"-data-count"),jt==null?void 0:jt.count),style:Mt==null?void 0:Mt.count},Ni)));var $i=function(Pi){var dr;Gt==null||Gt(Pi),(dr=Fi())!==null&&dr!==void 0&&dr.style.height&&Ue(!0)},Ye=!Ae&&!ze&&!Se;return nn.createElement(ge.BaseInput,{ref:ii,value:Zn,allowClear:Se,handleReset:ln,suffix:Oi,prefixCls:ke,classNames:(0,fe.Z)((0,fe.Z)({},jt),{},{affixWrapper:Oe()(jt==null?void 0:jt.affixWrapper,(0,re.Z)((0,re.Z)({},"".concat(ke,"-show-count"),ze),"".concat(ke,"-textarea-allow-clear"),Se))}),disabled:yt,focused:zn,className:Oe()(Dt,Wn&&"".concat(ke,"-out-of-range")),style:(0,fe.Z)((0,fe.Z)({},wt),Ke&&!Ye?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ni=="string"?Ni:void 0}},hidden:kt,readOnly:on,onClear:Ce},nn.createElement(ae,(0,Lt.Z)({},_e,{autoSize:Ae,maxLength:$e,onKeyDown:Te,onChange:ui,onFocus:Ze,onBlur:Ne,onCompositionStart:En,onCompositionEnd:vn,className:Oe()(jt==null?void 0:jt.textarea),style:(0,fe.Z)((0,fe.Z)({},Mt==null?void 0:Mt.textarea),{},{resize:wt==null?void 0:wt.resize}),disabled:yt,prefixCls:ke,onResize:$i,ref:Ai,readOnly:on})))}),Ee=De,Sn=Ee},639:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return mt}});var Lt=Et(67711),re=Et(52873),fe=Et(98506),pe=Et(16886),ne=Et(33346),Ht=Et(59301),oe=Et(92310),Oe=Et.n(oe),ge=Et(26112),Nt=Et(30699),Je=function(Pt){for(var Rt=Pt.prefixCls,Wt=Pt.level,te=Pt.isStart,Jt=Pt.isEnd,Vt="".concat(Rt,"-indent-unit"),le=[],ae=0;ae0&&arguments[0]!==void 0?arguments[0]:[],jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Mt=kt.length,Gt=jt.length;if(Math.abs(Mt-Gt)!==1)return{add:!1,key:null};function Ce(be,on){var Ae=new Map;be.forEach(function(_e){Ae.set(_e,!0)});var Le=on.filter(function(_e){return!Ae.has(_e)});return Le.length===1?Le[0]:null}return Mt ").concat(jt);return jt}var xn=nt.forwardRef(function(kt,jt){var Mt=kt.prefixCls,Gt=kt.data,Ce=kt.selectable,be=kt.checkable,on=kt.expandedKeys,Ae=kt.selectedKeys,Le=kt.checkedKeys,_e=kt.loadedKeys,un=kt.loadingKeys,Pn=kt.halfCheckedKeys,gn=kt.keyEntities,en=kt.disabled,Zn=kt.dragging,Hn=kt.dragOverNodeKey,mn=kt.dropPosition,zn=kt.motion,Ri=kt.height,vi=kt.itemHeight,ji=kt.virtual,er=kt.scrollWidth,Ke=kt.focusable,Ue=kt.activeItem,ii=kt.focused,Ai=kt.tabIndex,Fi=kt.onKeyDown,Mi=kt.onFocus,sr=kt.onBlur,nr=kt.onActiveChange,fr=kt.onListChangeStart,_n=kt.onListChangeEnd,qi=(0,Pt.Z)(kt,Ge),Ct=nt.useRef(null),Bi=nt.useRef(null);nt.useImperativeHandle(jt,function(){return{scrollTo:function(Gi){Ct.current.scrollTo(Gi)},getIndentWidth:function(){return Bi.current.offsetWidth}}});var oi=nt.useState(on),Wn=(0,St.Z)(oi,2),Bn=Wn[0],En=Wn[1],vn=nt.useState(Gt),ui=(0,St.Z)(vn,2),Te=ui[0],Ze=ui[1],Ne=nt.useState(Gt),ln=(0,St.Z)(Ne,2),Oi=ln[0],Ni=ln[1],$i=nt.useState([]),Ye=(0,St.Z)($i,2),cn=Ye[0],Pi=Ye[1],dr=nt.useState(null),Yn=(0,St.Z)(dr,2),Qt=Yn[0],Me=Yn[1],Gn=nt.useRef(Gt);Gn.current=Gt;function qn(){var Zi=Gn.current;Ze(Zi),Ni(Zi),Pi([]),Me(null),_n()}(0,Rt.Z)(function(){En(on);var Zi=Sn(Bn,on);if(Zi.key!==null)if(Zi.add){var Gi=Te.findIndex(function(tr){var Dn=tr.key;return Dn===Zi.key}),ir=Se(rn(Te,Gt,Zi.key),ji,Ri,vi),ai=Te.slice();ai.splice(Gi+1,0,Ve),Ni(ai),Pi(ir),Me("show")}else{var Jn=Gt.findIndex(function(tr){var Dn=tr.key;return Dn===Zi.key}),hi=Se(rn(Gt,Te,Zi.key),ji,Ri,vi),hr=Gt.slice();hr.splice(Jn+1,0,Ve),Ni(hr),Pi(hi),Me("hide")}else Te!==Gt&&(Ze(Gt),Ni(Gt))},[on,Gt]),nt.useEffect(function(){Zn||qn()},[Zn]);var Xe=zn?Oi:Gt,ri={expandedKeys:on,selectedKeys:Ae,loadedKeys:_e,loadingKeys:un,checkedKeys:Le,halfCheckedKeys:Pn,dragOverNodeKey:Hn,dropPosition:mn,keyEntities:gn};return nt.createElement(nt.Fragment,null,ii&&Ue&&nt.createElement("span",{style:sn,"aria-live":"assertive"},He(Ue)),nt.createElement("div",null,nt.createElement("input",{style:sn,disabled:Ke===!1||en,tabIndex:Ke!==!1?Ai:null,onKeyDown:Fi,onFocus:Mi,onBlur:sr,value:"",onChange:$t,"aria-label":"for screen reader"})),nt.createElement("div",{className:"".concat(Mt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},nt.createElement("div",{className:"".concat(Mt,"-indent")},nt.createElement("div",{ref:Bi,className:"".concat(Mt,"-indent-unit")}))),nt.createElement(Wt.Z,(0,Lt.Z)({},qi,{data:Xe,itemKey:$e,height:Ri,fullHeight:!1,virtual:ji,itemHeight:vi,scrollWidth:er,prefixCls:"".concat(Mt,"-list"),ref:Ct,role:"tree",onVisibleChange:function(Gi){Gi.every(function(ir){return $e(ir)!==It})&&qn()}}),function(Zi){var Gi=Zi.pos,ir=Object.assign({},(mt(Zi.data),Zi.data)),ai=Zi.title,Jn=Zi.key,hi=Zi.isStart,hr=Zi.isEnd,tr=(0,ae.km)(Jn,Gi);delete ir.key,delete ir.children;var Dn=(0,ae.H8)(tr,ri);return nt.createElement(Ee,(0,Lt.Z)({},ir,Dn,{title:ai,active:!!Ue&&Jn===Ue.key,pos:Gi,data:Zi.data,isStart:hi,isEnd:hr,motion:zn,motionNodes:Jn===It?cn:null,motionType:Qt,onMotionStart:fr,onMotionEnd:qn,treeNodeRequiredProps:ri,onMouseMove:function(){nr(null)}}))}))}),we=xn,de=Et(82661),ke=Et(34643),ze=Et(65065),fn=10,Dt=function(kt){(0,Oe.Z)(Mt,kt);var jt=(0,ge.Z)(Mt);function Mt(){var Gt;(0,ne.Z)(this,Mt);for(var Ce=arguments.length,be=new Array(Ce),on=0;on2&&arguments[2]!==void 0?arguments[2]:!1,Pn=Gt.state,gn=Pn.dragChildrenKeys,en=Pn.dropPosition,Zn=Pn.dropTargetKey,Hn=Pn.dropTargetPos,mn=Pn.dropAllowed;if(mn){var zn=Gt.props.onDrop;if(Gt.setState({dragOverNodeKey:null}),Gt.cleanDragState(),Zn!==null){var Ri=(0,fe.Z)((0,fe.Z)({},(0,ae.H8)(Zn,Gt.getTreeNodeRequiredProps())),{},{active:((_e=Gt.getActiveItem())===null||_e===void 0?void 0:_e.key)===Zn,data:(0,ze.Z)(Gt.state.keyEntities,Zn).node}),vi=gn.includes(Zn);(0,et.ZP)(!vi,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ji=(0,de.yx)(Hn),er={event:Ae,node:(0,ae.F)(Ri),dragNode:Gt.dragNodeProps?(0,ae.F)(Gt.dragNodeProps):null,dragNodesKeys:[Gt.dragNodeProps.eventKey].concat(gn),dropToGap:en!==0,dropPosition:en+Number(ji[ji.length-1])};un||zn==null||zn(er),Gt.dragNodeProps=null}}}),(0,Nt.Z)((0,oe.Z)(Gt),"cleanDragState",function(){var Ae=Gt.state.draggingNodeKey;Ae!==null&&Gt.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Gt.dragStartMousePosition=null,Gt.currentMouseOverDroppableNodeKey=null}),(0,Nt.Z)((0,oe.Z)(Gt),"triggerExpandActionExpand",function(Ae,Le){var _e=Gt.state,un=_e.expandedKeys,Pn=_e.flattenNodes,gn=Le.expanded,en=Le.key,Zn=Le.isLeaf;if(!(Zn||Ae.shiftKey||Ae.metaKey||Ae.ctrlKey)){var Hn=Pn.filter(function(zn){return zn.key===en})[0],mn=(0,ae.F)((0,fe.Z)((0,fe.Z)({},(0,ae.H8)(en,Gt.getTreeNodeRequiredProps())),{},{data:Hn.data}));Gt.setExpandedKeys(gn?(0,de._5)(un,en):(0,de.L0)(un,en)),Gt.onNodeExpand(Ae,mn)}}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeClick",function(Ae,Le){var _e=Gt.props,un=_e.onClick,Pn=_e.expandAction;Pn==="click"&&Gt.triggerExpandActionExpand(Ae,Le),un==null||un(Ae,Le)}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeDoubleClick",function(Ae,Le){var _e=Gt.props,un=_e.onDoubleClick,Pn=_e.expandAction;Pn==="doubleClick"&&Gt.triggerExpandActionExpand(Ae,Le),un==null||un(Ae,Le)}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeSelect",function(Ae,Le){var _e=Gt.state.selectedKeys,un=Gt.state,Pn=un.keyEntities,gn=un.fieldNames,en=Gt.props,Zn=en.onSelect,Hn=en.multiple,mn=Le.selected,zn=Le[gn.key],Ri=!mn;Ri?Hn?_e=(0,de.L0)(_e,zn):_e=[zn]:_e=(0,de._5)(_e,zn);var vi=_e.map(function(ji){var er=(0,ze.Z)(Pn,ji);return er?er.node:null}).filter(Boolean);Gt.setUncontrolledState({selectedKeys:_e}),Zn==null||Zn(_e,{event:"select",selected:Ri,node:Le,selectedNodes:vi,nativeEvent:Ae.nativeEvent})}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeCheck",function(Ae,Le,_e){var un=Gt.state,Pn=un.keyEntities,gn=un.checkedKeys,en=un.halfCheckedKeys,Zn=Gt.props,Hn=Zn.checkStrictly,mn=Zn.onCheck,zn=Le.key,Ri,vi={event:"check",node:Le,checked:_e,nativeEvent:Ae.nativeEvent};if(Hn){var ji=_e?(0,de.L0)(gn,zn):(0,de._5)(gn,zn),er=(0,de._5)(en,zn);Ri={checked:ji,halfChecked:er},vi.checkedNodes=ji.map(function(Mi){return(0,ze.Z)(Pn,Mi)}).filter(Boolean).map(function(Mi){return Mi.node}),Gt.setUncontrolledState({checkedKeys:ji})}else{var Ke=(0,ke.S)([].concat((0,pe.Z)(gn),[zn]),!0,Pn),Ue=Ke.checkedKeys,ii=Ke.halfCheckedKeys;if(!_e){var Ai=new Set(Ue);Ai.delete(zn);var Fi=(0,ke.S)(Array.from(Ai),{checked:!1,halfCheckedKeys:ii},Pn);Ue=Fi.checkedKeys,ii=Fi.halfCheckedKeys}Ri=Ue,vi.checkedNodes=[],vi.checkedNodesPositions=[],vi.halfCheckedKeys=ii,Ue.forEach(function(Mi){var sr=(0,ze.Z)(Pn,Mi);if(sr){var nr=sr.node,fr=sr.pos;vi.checkedNodes.push(nr),vi.checkedNodesPositions.push({node:nr,pos:fr})}}),Gt.setUncontrolledState({checkedKeys:Ue},!1,{halfCheckedKeys:ii})}mn==null||mn(Ri,vi)}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeLoad",function(Ae){var Le,_e=Ae.key,un=Gt.state.keyEntities,Pn=(0,ze.Z)(un,_e);if(!(Pn!=null&&(Le=Pn.children)!==null&&Le!==void 0&&Le.length)){var gn=new Promise(function(en,Zn){Gt.setState(function(Hn){var mn=Hn.loadedKeys,zn=mn===void 0?[]:mn,Ri=Hn.loadingKeys,vi=Ri===void 0?[]:Ri,ji=Gt.props,er=ji.loadData,Ke=ji.onLoad;if(!er||zn.includes(_e)||vi.includes(_e))return null;var Ue=er(Ae);return Ue.then(function(){var ii=Gt.state.loadedKeys,Ai=(0,de.L0)(ii,_e);Ke==null||Ke(Ai,{event:"load",node:Ae}),Gt.setUncontrolledState({loadedKeys:Ai}),Gt.setState(function(Fi){return{loadingKeys:(0,de._5)(Fi.loadingKeys,_e)}}),en()}).catch(function(ii){if(Gt.setState(function(Fi){return{loadingKeys:(0,de._5)(Fi.loadingKeys,_e)}}),Gt.loadingRetryTimes[_e]=(Gt.loadingRetryTimes[_e]||0)+1,Gt.loadingRetryTimes[_e]>=fn){var Ai=Gt.state.loadedKeys;(0,et.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Gt.setUncontrolledState({loadedKeys:(0,de.L0)(Ai,_e)}),en()}Zn(ii)}),{loadingKeys:(0,de.L0)(vi,_e)}})});return gn.catch(function(){}),gn}}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeMouseEnter",function(Ae,Le){var _e=Gt.props.onMouseEnter;_e==null||_e({event:Ae,node:Le})}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeMouseLeave",function(Ae,Le){var _e=Gt.props.onMouseLeave;_e==null||_e({event:Ae,node:Le})}),(0,Nt.Z)((0,oe.Z)(Gt),"onNodeContextMenu",function(Ae,Le){var _e=Gt.props.onRightClick;_e&&(Ae.preventDefault(),_e({event:Ae,node:Le}))}),(0,Nt.Z)((0,oe.Z)(Gt),"onFocus",function(){var Ae=Gt.props.onFocus;Gt.setState({focused:!0});for(var Le=arguments.length,_e=new Array(Le),un=0;un1&&arguments[1]!==void 0?arguments[1]:!1,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Gt.destroyed){var un=!1,Pn=!0,gn={};Object.keys(Ae).forEach(function(en){if(Gt.props.hasOwnProperty(en)){Pn=!1;return}un=!0,gn[en]=Ae[en]}),un&&(!Le||Pn)&&Gt.setState((0,fe.Z)((0,fe.Z)({},gn),_e))}}),(0,Nt.Z)((0,oe.Z)(Gt),"scrollTo",function(Ae){Gt.listRef.current.scrollTo(Ae)}),Gt}return(0,Ht.Z)(Mt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ce=this.props,be=Ce.activeKey,on=Ce.itemScrollOffset,Ae=on===void 0?0:on;be!==void 0&&be!==this.state.activeKey&&(this.setState({activeKey:be}),be!==null&&this.scrollTo({key:be,offset:Ae}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ce=this.state,be=Ce.focused,on=Ce.flattenNodes,Ae=Ce.keyEntities,Le=Ce.draggingNodeKey,_e=Ce.activeKey,un=Ce.dropLevelOffset,Pn=Ce.dropContainerKey,gn=Ce.dropTargetKey,en=Ce.dropPosition,Zn=Ce.dragOverNodeKey,Hn=Ce.indent,mn=this.props,zn=mn.prefixCls,Ri=mn.className,vi=mn.style,ji=mn.showLine,er=mn.focusable,Ke=mn.tabIndex,Ue=Ke===void 0?0:Ke,ii=mn.selectable,Ai=mn.showIcon,Fi=mn.icon,Mi=mn.switcherIcon,sr=mn.draggable,nr=mn.checkable,fr=mn.checkStrictly,_n=mn.disabled,qi=mn.motion,Ct=mn.loadData,Bi=mn.filterTreeNode,oi=mn.height,Wn=mn.itemHeight,Bn=mn.scrollWidth,En=mn.virtual,vn=mn.titleRender,ui=mn.dropIndicatorRender,Te=mn.onContextMenu,Ze=mn.onScroll,Ne=mn.direction,ln=mn.rootClassName,Oi=mn.rootStyle,Ni=(0,Bt.Z)(this.props,{aria:!0,data:!0}),$i;sr&&((0,re.Z)(sr)==="object"?$i=sr:typeof sr=="function"?$i={nodeDraggable:sr}:$i={});var Ye={prefixCls:zn,selectable:ii,showIcon:Ai,icon:Fi,switcherIcon:Mi,draggable:$i,draggingNodeKey:Le,checkable:nr,checkStrictly:fr,disabled:_n,keyEntities:Ae,dropLevelOffset:un,dropContainerKey:Pn,dropTargetKey:gn,dropPosition:en,dragOverNodeKey:Zn,indent:Hn,direction:Ne,dropIndicatorRender:ui,loadData:Ct,filterTreeNode:Bi,titleRender:vn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return nt.createElement(ct.k.Provider,{value:Ye},nt.createElement("div",{className:ie()(zn,Ri,ln,(0,Nt.Z)((0,Nt.Z)((0,Nt.Z)({},"".concat(zn,"-show-line"),ji),"".concat(zn,"-focused"),be),"".concat(zn,"-active-focused"),_e!==null)),style:Oi},nt.createElement(we,(0,Lt.Z)({ref:this.listRef,prefixCls:zn,style:vi,data:on,disabled:_n,selectable:ii,checkable:!!nr,motion:qi,dragging:Le!==null,height:oi,itemHeight:Wn,virtual:En,focusable:er,focused:be,tabIndex:Ue,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Te,onScroll:Ze,scrollWidth:Bn},this.getTreeNodeRequiredProps(),Ni))))}}],[{key:"getDerivedStateFromProps",value:function(Ce,be){var on=be.prevProps,Ae={prevProps:Ce};function Le(Ue){return!on&&Ce.hasOwnProperty(Ue)||on&&on[Ue]!==Ce[Ue]}var _e,un=be.fieldNames;if(Le("fieldNames")&&(un=(0,ae.w$)(Ce.fieldNames),Ae.fieldNames=un),Le("treeData")?_e=Ce.treeData:Le("children")&&((0,et.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),_e=(0,ae.zn)(Ce.children)),_e){Ae.treeData=_e;var Pn=(0,ae.I8)(_e,{fieldNames:un});Ae.keyEntities=(0,fe.Z)((0,Nt.Z)({},It,an),Pn.keyEntities)}var gn=Ae.keyEntities||be.keyEntities;if(Le("expandedKeys")||on&&Le("autoExpandParent"))Ae.expandedKeys=Ce.autoExpandParent||!on&&Ce.defaultExpandParent?(0,de.r7)(Ce.expandedKeys,gn):Ce.expandedKeys;else if(!on&&Ce.defaultExpandAll){var en=(0,fe.Z)({},gn);delete en[It];var Zn=[];Object.keys(en).forEach(function(Ue){var ii=en[Ue];ii.children&&ii.children.length&&Zn.push(ii.key)}),Ae.expandedKeys=Zn}else!on&&Ce.defaultExpandedKeys&&(Ae.expandedKeys=Ce.autoExpandParent||Ce.defaultExpandParent?(0,de.r7)(Ce.defaultExpandedKeys,gn):Ce.defaultExpandedKeys);if(Ae.expandedKeys||delete Ae.expandedKeys,_e||Ae.expandedKeys){var Hn=(0,ae.oH)(_e||be.treeData,Ae.expandedKeys||be.expandedKeys,un);Ae.flattenNodes=Hn}if(Ce.selectable&&(Le("selectedKeys")?Ae.selectedKeys=(0,de.BT)(Ce.selectedKeys,Ce):!on&&Ce.defaultSelectedKeys&&(Ae.selectedKeys=(0,de.BT)(Ce.defaultSelectedKeys,Ce))),Ce.checkable){var mn;if(Le("checkedKeys")?mn=(0,de.E6)(Ce.checkedKeys)||{}:!on&&Ce.defaultCheckedKeys?mn=(0,de.E6)(Ce.defaultCheckedKeys)||{}:_e&&(mn=(0,de.E6)(Ce.checkedKeys)||{checkedKeys:be.checkedKeys,halfCheckedKeys:be.halfCheckedKeys}),mn){var zn=mn,Ri=zn.checkedKeys,vi=Ri===void 0?[]:Ri,ji=zn.halfCheckedKeys,er=ji===void 0?[]:ji;if(!Ce.checkStrictly){var Ke=(0,ke.S)(vi,!0,gn);vi=Ke.checkedKeys,er=Ke.halfCheckedKeys}Ae.checkedKeys=vi,Ae.halfCheckedKeys=er}}return Le("loadedKeys")&&(Ae.loadedKeys=Ce.loadedKeys),Ae}}]),Mt}(nt.Component);(0,Nt.Z)(Dt,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:gt,allowDrop:function(){return!0},expandAction:!1}),(0,Nt.Z)(Dt,"TreeNode",Jt.Z);var wt=Dt,yt=wt},82661:function(bn,$n,Et){"use strict";Et.d($n,{BT:function(){return nt},E6:function(){return gt},L0:function(){return Nt},OM:function(){return et},_5:function(){return ge},r7:function(){return mt},wA:function(){return ie},yx:function(){return Je}});var Lt=Et(15142),re=Et(26420),fe=Et(48736),pe=Et(59301),ne=Et(639),Ht=Et(65065),oe=Et(34061),Oe=null;function ge(St,Pt){if(!St)return[];var Rt=St.slice(),Wt=Rt.indexOf(Pt);return Wt>=0&&Rt.splice(Wt,1),Rt}function Nt(St,Pt){var Rt=(St||[]).slice();return Rt.indexOf(Pt)===-1&&Rt.push(Pt),Rt}function Je(St){return St.split("-")}function ie(St,Pt){var Rt=[],Wt=(0,Ht.Z)(Pt,St);function te(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Jt.forEach(function(Vt){var le=Vt.key,ae=Vt.children;Rt.push(le),te(ae)})}return te(Wt.children),Rt}function nn(St){if(St.parent){var Pt=Je(St.pos);return Number(Pt[Pt.length-1])===St.parent.children.length-1}return!1}function Bt(St){var Pt=Je(St.pos);return Number(Pt[Pt.length-1])===0}function et(St,Pt,Rt,Wt,te,Jt,Vt,le,ae,Fe){var De,Ee=St.clientX,Sn=St.clientY,rn=St.target.getBoundingClientRect(),Ge=rn.top,sn=rn.height,$t=(Fe==="rtl"?-1:1)*(((te==null?void 0:te.x)||0)-Ee),It=($t-12)/Wt,Pe=ae.filter(function(yt){var kt;return(kt=le[yt])===null||kt===void 0||(kt=kt.children)===null||kt===void 0?void 0:kt.length}),an=(0,Ht.Z)(le,Rt.eventKey);if(Sn-1.5?Jt({dragNode:fn,dropNode:Dt,dropPosition:1})?de=1:wt=!1:Jt({dragNode:fn,dropNode:Dt,dropPosition:0})?de=0:Jt({dragNode:fn,dropNode:Dt,dropPosition:1})?de=1:wt=!1:Jt({dragNode:fn,dropNode:Dt,dropPosition:1})?de=1:wt=!1,{dropPosition:de,dropLevelOffset:ke,dropTargetKey:an.key,dropTargetPos:an.pos,dragOverNodeKey:we,dropContainerKey:de===0?null:((De=an.parent)===null||De===void 0?void 0:De.key)||null,dropAllowed:wt}}function nt(St,Pt){if(St){var Rt=Pt.multiple;return Rt?St.slice():St.length?[St[0]]:St}}var ct=function(Pt){return Pt};function lt(St,Pt){if(!St)return[];var Rt=Pt||{},Wt=Rt.processProps,te=Wt===void 0?ct:Wt,Jt=Array.isArray(St)?St:[St];return Jt.map(function(Vt){var le=Vt.children,ae=_objectWithoutProperties(Vt,Oe),Fe=lt(le,Pt);return React.createElement(TreeNode,_extends({key:ae.key},te(ae)),Fe)})}function gt(St){if(!St)return null;var Pt;if(Array.isArray(St))Pt={checkedKeys:St,halfCheckedKeys:void 0};else if((0,re.Z)(St)==="object")Pt={checkedKeys:St.checked||void 0,halfCheckedKeys:St.halfChecked||void 0};else return(0,fe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Pt}function mt(St,Pt){var Rt=new Set;function Wt(te){if(!Rt.has(te)){var Jt=(0,Ht.Z)(Pt,te);if(Jt){Rt.add(te);var Vt=Jt.parent,le=Jt.node;le.disabled||Vt&&Wt(Vt.key)}}}return(St||[]).forEach(function(te){Wt(te)}),(0,Lt.Z)(Rt)}},34643:function(bn,$n,Et){"use strict";Et.d($n,{S:function(){return oe}});var Lt=Et(48736),re=Et(65065);function fe(Oe,ge){var Nt=new Set;return Oe.forEach(function(Je){ge.has(Je)||Nt.add(Je)}),Nt}function pe(Oe){var ge=Oe||{},Nt=ge.disabled,Je=ge.disableCheckbox,ie=ge.checkable;return!!(Nt||Je)||ie===!1}function ne(Oe,ge,Nt,Je){for(var ie=new Set(Oe),nn=new Set,Bt=0;Bt<=Nt;Bt+=1){var et=ge.get(Bt)||new Set;et.forEach(function(gt){var mt=gt.key,St=gt.node,Pt=gt.children,Rt=Pt===void 0?[]:Pt;ie.has(mt)&&!Je(St)&&Rt.filter(function(Wt){return!Je(Wt.node)}).forEach(function(Wt){ie.add(Wt.key)})})}for(var nt=new Set,ct=Nt;ct>=0;ct-=1){var lt=ge.get(ct)||new Set;lt.forEach(function(gt){var mt=gt.parent,St=gt.node;if(!(Je(St)||!gt.parent||nt.has(gt.parent.key))){if(Je(gt.parent.node)){nt.add(mt.key);return}var Pt=!0,Rt=!1;(mt.children||[]).filter(function(Wt){return!Je(Wt.node)}).forEach(function(Wt){var te=Wt.key,Jt=ie.has(te);Pt&&!Jt&&(Pt=!1),!Rt&&(Jt||nn.has(te))&&(Rt=!0)}),Pt&&ie.add(mt.key),Rt&&nn.add(mt.key),nt.add(mt.key)}})}return{checkedKeys:Array.from(ie),halfCheckedKeys:Array.from(fe(nn,ie))}}function Ht(Oe,ge,Nt,Je,ie){for(var nn=new Set(Oe),Bt=new Set(ge),et=0;et<=Je;et+=1){var nt=Nt.get(et)||new Set;nt.forEach(function(mt){var St=mt.key,Pt=mt.node,Rt=mt.children,Wt=Rt===void 0?[]:Rt;!nn.has(St)&&!Bt.has(St)&&!ie(Pt)&&Wt.filter(function(te){return!ie(te.node)}).forEach(function(te){nn.delete(te.key)})})}Bt=new Set;for(var ct=new Set,lt=Je;lt>=0;lt-=1){var gt=Nt.get(lt)||new Set;gt.forEach(function(mt){var St=mt.parent,Pt=mt.node;if(!(ie(Pt)||!mt.parent||ct.has(mt.parent.key))){if(ie(mt.parent.node)){ct.add(St.key);return}var Rt=!0,Wt=!1;(St.children||[]).filter(function(te){return!ie(te.node)}).forEach(function(te){var Jt=te.key,Vt=nn.has(Jt);Rt&&!Vt&&(Rt=!1),!Wt&&(Vt||Bt.has(Jt))&&(Wt=!0)}),Rt||nn.delete(St.key),Wt&&Bt.add(St.key),ct.add(St.key)}})}return{checkedKeys:Array.from(nn),halfCheckedKeys:Array.from(fe(Bt,nn))}}function oe(Oe,ge,Nt,Je){var ie=[],nn;Je?nn=Je:nn=pe;var Bt=new Set(Oe.filter(function(lt){var gt=!!(0,re.Z)(Nt,lt);return gt||ie.push(lt),gt})),et=new Map,nt=0;Object.keys(Nt).forEach(function(lt){var gt=Nt[lt],mt=gt.level,St=et.get(mt);St||(St=new Set,et.set(mt,St)),St.add(gt),nt=Math.max(nt,mt)}),(0,Lt.ZP)(!ie.length,"Tree missing follow keys: ".concat(ie.slice(0,100).map(function(lt){return"'".concat(lt,"'")}).join(", ")));var ct;return ge===!0?ct=ne(Bt,et,nt,nn):ct=Ht(Bt,ge.halfCheckedKeys,et,nt,nn),ct}},65065:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return Lt}});function Lt(re,fe){return re[fe]}},34061:function(bn,$n,Et){"use strict";Et.d($n,{F:function(){return mt},H8:function(){return gt},I8:function(){return lt},km:function(){return ie},oH:function(){return nt},w$:function(){return nn},zn:function(){return et}});var Lt=Et(26420),re=Et(15142),fe=Et(98506),pe=Et(33346),ne=Et(11592),Ht=Et(2738),oe=Et(48736),Oe=Et(65065),ge=["children"];function Nt(St,Pt){return"".concat(St,"-").concat(Pt)}function Je(St){return St&&St.type&&St.type.isTreeNode}function ie(St,Pt){return St!=null?St:Pt}function nn(St){var Pt=St||{},Rt=Pt.title,Wt=Pt._title,te=Pt.key,Jt=Pt.children,Vt=Rt||"title";return{title:Vt,_title:Wt||[Vt],key:te||"key",children:Jt||"children"}}function Bt(St,Pt){var Rt=new Map;function Wt(te){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(te||[]).forEach(function(Vt){var le=Vt[Pt.key],ae=Vt[Pt.children];warning(le!=null,"Tree node must have a certain key: [".concat(Jt).concat(le,"]"));var Fe=String(le);warning(!Rt.has(Fe)||le===null||le===void 0,"Same 'key' exist in the Tree: ".concat(Fe)),Rt.set(Fe,!0),Wt(ae,"".concat(Jt).concat(Fe," > "))})}Wt(St)}function et(St){function Pt(Rt){var Wt=(0,ne.Z)(Rt);return Wt.map(function(te){if(!Je(te))return(0,oe.ZP)(!te,"Tree/TreeNode can only accept TreeNode as children."),null;var Jt=te.key,Vt=te.props,le=Vt.children,ae=(0,pe.Z)(Vt,ge),Fe=(0,fe.Z)({key:Jt},ae),De=Pt(le);return De.length&&(Fe.children=De),Fe}).filter(function(te){return te})}return Pt(St)}function nt(St,Pt,Rt){var Wt=nn(Rt),te=Wt._title,Jt=Wt.key,Vt=Wt.children,le=new Set(Pt===!0?[]:Pt),ae=[];function Fe(De){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return De.map(function(Sn,rn){for(var Ge=Nt(Ee?Ee.pos:"0",rn),sn=ie(Sn[Jt],Ge),$t,It=0;It1&&arguments[1]!==void 0?arguments[1]:{},Rt=Pt.initWrapper,Wt=Pt.processEntity,te=Pt.onProcessFinished,Jt=Pt.externalGetKey,Vt=Pt.childrenPropName,le=Pt.fieldNames,ae=arguments.length>2?arguments[2]:void 0,Fe=Jt||ae,De={},Ee={},Sn={posEntities:De,keyEntities:Ee};return Rt&&(Sn=Rt(Sn)||Sn),ct(St,function(rn){var Ge=rn.node,sn=rn.index,$t=rn.pos,It=rn.key,Pe=rn.parentPos,an=rn.level,Ve=rn.nodes,Se={node:Ge,nodes:Ve,index:sn,key:It,pos:$t,level:an},$e=ie(It,$t);De[$t]=Se,Ee[$e]=Se,Se.parent=De[Pe],Se.parent&&(Se.parent.children=Se.parent.children||[],Se.parent.children.push(Se)),Wt&&Wt(Se,Sn)},{externalGetKey:Fe,childrenPropName:Vt,fieldNames:le}),te&&te(Sn),Sn}function gt(St,Pt){var Rt=Pt.expandedKeys,Wt=Pt.selectedKeys,te=Pt.loadedKeys,Jt=Pt.loadingKeys,Vt=Pt.checkedKeys,le=Pt.halfCheckedKeys,ae=Pt.dragOverNodeKey,Fe=Pt.dropPosition,De=Pt.keyEntities,Ee=(0,Oe.Z)(De,St),Sn={eventKey:St,expanded:Rt.indexOf(St)!==-1,selected:Wt.indexOf(St)!==-1,loaded:te.indexOf(St)!==-1,loading:Jt.indexOf(St)!==-1,checked:Vt.indexOf(St)!==-1,halfChecked:le.indexOf(St)!==-1,pos:String(Ee?Ee.pos:""),dragOver:ae===St&&Fe===0,dragOverGapTop:ae===St&&Fe===-1,dragOverGapBottom:ae===St&&Fe===1};return Sn}function mt(St){var Pt=St.data,Rt=St.expanded,Wt=St.selected,te=St.checked,Jt=St.loaded,Vt=St.loading,le=St.halfChecked,ae=St.dragOver,Fe=St.dragOverGapTop,De=St.dragOverGapBottom,Ee=St.pos,Sn=St.active,rn=St.eventKey,Ge=(0,fe.Z)((0,fe.Z)({},Pt),{},{expanded:Rt,selected:Wt,checked:te,loaded:Jt,loading:Vt,halfChecked:le,dragOver:ae,dragOverGapTop:Fe,dragOverGapBottom:De,pos:Ee,active:Sn,key:rn});return"props"in Ge||Object.defineProperty(Ge,"props",{get:function(){return(0,oe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),St}}),Ge}},90472:function(bn,$n,Et){"use strict";Et.d($n,{Z:function(){return rn}});var Lt=Et(67711),re=Et(42573),fe=Et(58698),pe=Et(62437),ne=Et(74700),Ht=Et(45080),oe=Et(52873),Oe=Et(59301),ge=Et(98506),Nt=Et(33346),Je=Et(26420),ie=Et(77910),nn=Et(51343),Bt=Et(15142),et=Et(92310),nt=Et.n(et),ct=Et(26112),lt=Et(48736),gt=function(Ge,sn){if(Ge&&sn){var $t=Array.isArray(sn)?sn:sn.split(","),It=Ge.name||"",Pe=Ge.type||"",an=Pe.replace(/\/.*$/,"");return $t.some(function(Ve){var Se=Ve.trim();if(/^\*(\/\*)?$/.test(Ve))return!0;if(Se.charAt(0)==="."){var $e=It.toLowerCase(),He=Se.toLowerCase(),xn=[He];return(He===".jpg"||He===".jpeg")&&(xn=[".jpg",".jpeg"]),xn.some(function(we){return $e.endsWith(we)})}return/\/\*$/.test(Se)?an===Se.replace(/\/.*$/,""):Pe===Se?!0:/^\w+$/.test(Se)?((0,lt.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Se,"'.Skip for check.")),!0):!1})}return!0};function mt(Ge,sn){var $t="cannot ".concat(Ge.method," ").concat(Ge.action," ").concat(sn.status,"'"),It=new Error($t);return It.status=sn.status,It.method=Ge.method,It.url=Ge.action,It}function St(Ge){var sn=Ge.responseText||Ge.response;if(!sn)return sn;try{return JSON.parse(sn)}catch($t){return sn}}function Pt(Ge){var sn=new XMLHttpRequest;Ge.onProgress&&sn.upload&&(sn.upload.onprogress=function(an){an.total>0&&(an.percent=an.loaded/an.total*100),Ge.onProgress(an)});var $t=new FormData;Ge.data&&Object.keys(Ge.data).forEach(function(Pe){var an=Ge.data[Pe];if(Array.isArray(an)){an.forEach(function(Ve){$t.append("".concat(Pe,"[]"),Ve)});return}$t.append(Pe,an)}),Ge.file instanceof Blob?$t.append(Ge.filename,Ge.file,Ge.file.name):$t.append(Ge.filename,Ge.file),sn.onerror=function(an){Ge.onError(an)},sn.onload=function(){return sn.status<200||sn.status>=300?Ge.onError(mt(Ge,sn),St(sn)):Ge.onSuccess(St(sn),sn)},sn.open(Ge.method,Ge.action,!0),Ge.withCredentials&&"withCredentials"in sn&&(sn.withCredentials=!0);var It=Ge.headers||{};return It["X-Requested-With"]!==null&&sn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(It).forEach(function(Pe){It[Pe]!==null&&sn.setRequestHeader(Pe,It[Pe])}),sn.send($t),{abort:function(){sn.abort()}}}var Rt=function(){var Ge=(0,nn.Z)((0,ie.Z)().mark(function sn($t,It){var Pe,an,Ve,Se,$e,He,xn,we;return(0,ie.Z)().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:He=function(){return He=(0,nn.Z)((0,ie.Z)().mark(function fn(Dt){return(0,ie.Z)().wrap(function(yt){for(;;)switch(yt.prev=yt.next){case 0:return yt.abrupt("return",new Promise(function(kt){Dt.file(function(jt){It(jt)?(Dt.fullPath&&!jt.webkitRelativePath&&(Object.defineProperties(jt,{webkitRelativePath:{writable:!0}}),jt.webkitRelativePath=Dt.fullPath.replace(/^\//,""),Object.defineProperties(jt,{webkitRelativePath:{writable:!1}})),kt(jt)):kt(null)})}));case 1:case"end":return yt.stop()}},fn)})),He.apply(this,arguments)},$e=function(fn){return He.apply(this,arguments)},Se=function(){return Se=(0,nn.Z)((0,ie.Z)().mark(function fn(Dt){var wt,yt,kt,jt,Mt;return(0,ie.Z)().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:wt=Dt.createReader(),yt=[];case 2:return Ce.next=5,new Promise(function(be){wt.readEntries(be,function(){return be([])})});case 5:if(kt=Ce.sent,jt=kt.length,jt){Ce.next=9;break}return Ce.abrupt("break",12);case 9:for(Mt=0;MtMt?yt-(kt-Mt):yt+(kt-jt)}function gt(Dt,wt,yt){var kt=Dt.length,jt=wt.length,Mt,Gt;if(kt===0&&jt===0)return null;kt2&&arguments[2]!==void 0?arguments[2]:!1,Le=be?on<0&&Ce.current.left||on>0&&Ce.current.right:on<0&&Ce.current.top||on>0&&Ce.current.bottom;return Ae&&Le?(clearTimeout(Mt.current),jt.current=!1):(!Le||jt.current)&&Gt(),!jt.current&&Le}};function te(Dt,wt,yt,kt,jt,Mt,Gt){var Ce=(0,ie.useRef)(0),be=(0,ie.useRef)(null),on=(0,ie.useRef)(null),Ae=(0,ie.useRef)(!1),Le=Wt(wt,yt,kt,jt);function _e(Hn,mn){if(St.Z.cancel(be.current),!Le(!1,mn)){var zn=Hn;if(!zn._virtualHandled)zn._virtualHandled=!0;else return;Ce.current+=mn,on.current=mn,Rt||zn.preventDefault(),be.current=(0,St.Z)(function(){var Ri=Ae.current?10:1;Gt(Ce.current*Ri,!1),Ce.current=0})}}function un(Hn,mn){Gt(mn,!0),Rt||Hn.preventDefault()}var Pn=(0,ie.useRef)(null),gn=(0,ie.useRef)(null);function en(Hn){if(Dt){St.Z.cancel(gn.current),gn.current=(0,St.Z)(function(){Pn.current=null},2);var mn=Hn.deltaX,zn=Hn.deltaY,Ri=Hn.shiftKey,vi=mn,ji=zn;(Pn.current==="sx"||!Pn.current&&Ri&&zn&&!mn)&&(vi=zn,ji=0,Pn.current="sx");var er=Math.abs(vi),Ke=Math.abs(ji);Pn.current===null&&(Pn.current=Mt&&er>Ke?"x":"y"),Pn.current==="y"?_e(Hn,ji):un(Hn,vi)}}function Zn(Hn){Dt&&(Ae.current=Hn.detail===on.current)}return[en,Zn]}function Jt(Dt,wt,yt,kt){var jt=ie.useMemo(function(){return[new Map,[]]},[Dt,yt.id,kt]),Mt=(0,ne.Z)(jt,2),Gt=Mt[0],Ce=Mt[1],be=function(Ae){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ae,_e=Gt.get(Ae),un=Gt.get(Le);if(_e===void 0||un===void 0)for(var Pn=Dt.length,gn=Ce.length;gn0&&arguments[0]!==void 0?arguments[0]:!1;Ae();var Pn=function(){var Zn=!1;Ce.current.forEach(function(Hn,mn){if(Hn&&Hn.offsetParent){var zn=Hn.offsetHeight,Ri=getComputedStyle(Hn),vi=Ri.marginTop,ji=Ri.marginBottom,er=De(vi),Ke=De(ji),Ue=zn+er+Ke;be.current.get(mn)!==Ue&&(be.current.set(mn,Ue),Zn=!0)}}),Zn&&Gt(function(Hn){return Hn+1})};if(un)Pn();else{on.current+=1;var gn=on.current;Promise.resolve().then(function(){gn===on.current&&Pn()})}}function _e(un,Pn){var gn=Dt(un),en=Ce.current.get(gn);Pn?(Ce.current.set(gn,Pn),Le()):Ce.current.delete(gn),!en!=!Pn&&(Pn?wt==null||wt(un):yt==null||yt(un))}return(0,ie.useEffect)(function(){return Ae},[]),[_e,Le,be.current,Mt]}var Sn=14/15;function rn(Dt,wt,yt){var kt=(0,ie.useRef)(!1),jt=(0,ie.useRef)(0),Mt=(0,ie.useRef)(0),Gt=(0,ie.useRef)(null),Ce=(0,ie.useRef)(null),be,on=function(un){if(kt.current){var Pn=Math.ceil(un.touches[0].pageX),gn=Math.ceil(un.touches[0].pageY),en=jt.current-Pn,Zn=Mt.current-gn,Hn=Math.abs(en)>Math.abs(Zn);Hn?jt.current=Pn:Mt.current=gn;var mn=yt(Hn,Hn?en:Zn,!1,un);mn&&un.preventDefault(),clearInterval(Ce.current),mn&&(Ce.current=setInterval(function(){Hn?en*=Sn:Zn*=Sn;var zn=Math.floor(Hn?en:Zn);(!yt(Hn,zn,!0)||Math.abs(zn)<=.1)&&clearInterval(Ce.current)},16))}},Ae=function(){kt.current=!1,be()},Le=function(un){be(),un.touches.length===1&&!kt.current&&(kt.current=!0,jt.current=Math.ceil(un.touches[0].pageX),Mt.current=Math.ceil(un.touches[0].pageY),Gt.current=un.target,Gt.current.addEventListener("touchmove",on,{passive:!1}),Gt.current.addEventListener("touchend",Ae,{passive:!0}))};be=function(){Gt.current&&(Gt.current.removeEventListener("touchmove",on),Gt.current.removeEventListener("touchend",Ae))},(0,Je.Z)(function(){return Dt&&wt.current.addEventListener("touchstart",Le,{passive:!0}),function(){var _e;(_e=wt.current)===null||_e===void 0||_e.removeEventListener("touchstart",Le),be(),clearInterval(Ce.current)}},[Dt])}function Ge(Dt){return Math.floor(Math.pow(Dt,.5))}function sn(Dt,wt){var yt="touches"in Dt?Dt.touches[0]:Dt;return yt[wt?"pageX":"pageY"]-window[wt?"scrollX":"scrollY"]}function $t(Dt,wt,yt){ie.useEffect(function(){var kt=wt.current;if(Dt&&kt){var jt=!1,Mt,Gt,Ce=function(){St.Z.cancel(Mt)},be=function _e(){Ce(),Mt=(0,St.Z)(function(){yt(Gt),_e()})},on=function(un){if(!(un.target.draggable||un.button!==0)){var Pn=un;Pn._virtualHandled||(Pn._virtualHandled=!0,jt=!0)}},Ae=function(){jt=!1,Ce()},Le=function(un){if(jt){var Pn=sn(un,!1),gn=kt.getBoundingClientRect(),en=gn.top,Zn=gn.bottom;if(Pn<=en){var Hn=en-Pn;Gt=-Ge(Hn),be()}else if(Pn>=Zn){var mn=Pn-Zn;Gt=Ge(mn),be()}else Ce()}};return kt.addEventListener("mousedown",on),kt.ownerDocument.addEventListener("mouseup",Ae),kt.ownerDocument.addEventListener("mousemove",Le),function(){kt.removeEventListener("mousedown",on),kt.ownerDocument.removeEventListener("mouseup",Ae),kt.ownerDocument.removeEventListener("mousemove",Le),Ce()}}},[Dt])}var It=10;function Pe(Dt,wt,yt,kt,jt,Mt,Gt,Ce){var be=ie.useRef(),on=ie.useState(null),Ae=(0,ne.Z)(on,2),Le=Ae[0],_e=Ae[1];return(0,Je.Z)(function(){if(Le&&Le.times=0;Mi-=1){var sr=jt(wt[Mi]),nr=yt.get(sr);if(nr===void 0){Hn=!0;break}if(Fi-=nr,Fi<=0)break}switch(Ri){case"top":zn=ji-en;break;case"bottom":zn=er-Zn+en;break;default:{var fr=Dt.current.scrollTop,_n=fr+Zn;ji_n&&(mn="bottom")}}zn!==null&&Gt(zn),zn!==Le.lastTop&&(Hn=!0)}Hn&&_e((0,fe.Z)((0,fe.Z)({},Le),{},{times:Le.times+1,targetAlign:mn,lastTop:zn}))}},[Le,Dt.current]),function(un){if(un==null){Ce();return}if(St.Z.cancel(be.current),typeof un=="number")Gt(un);else if(un&&(0,re.Z)(un)==="object"){var Pn,gn=un.align;"index"in un?Pn=un.index:Pn=wt.findIndex(function(Hn){return jt(Hn)===un.key});var en=un.offset,Zn=en===void 0?0:en;_e({times:0,index:Pn,offset:Zn,originAlign:gn})}}}var an=ie.forwardRef(function(Dt,wt){var yt=Dt.prefixCls,kt=Dt.rtl,jt=Dt.scrollOffset,Mt=Dt.scrollRange,Gt=Dt.onStartMove,Ce=Dt.onStopMove,be=Dt.onScroll,on=Dt.horizontal,Ae=Dt.spinSize,Le=Dt.containerSize,_e=Dt.style,un=Dt.thumbStyle,Pn=Dt.showScrollBar,gn=ie.useState(!1),en=(0,ne.Z)(gn,2),Zn=en[0],Hn=en[1],mn=ie.useState(null),zn=(0,ne.Z)(mn,2),Ri=zn[0],vi=zn[1],ji=ie.useState(null),er=(0,ne.Z)(ji,2),Ke=er[0],Ue=er[1],ii=!kt,Ai=ie.useRef(),Fi=ie.useRef(),Mi=ie.useState(Pn),sr=(0,ne.Z)(Mi,2),nr=sr[0],fr=sr[1],_n=ie.useRef(),qi=function(){Pn===!0||Pn===!1||(clearTimeout(_n.current),fr(!0),_n.current=setTimeout(function(){fr(!1)},3e3))},Ct=Mt-Le||0,Bi=Le-Ae||0,oi=ie.useMemo(function(){if(jt===0||Ct===0)return 0;var ln=jt/Ct;return ln*Bi},[jt,Ct,Bi]),Wn=function(Oi){Oi.stopPropagation(),Oi.preventDefault()},Bn=ie.useRef({top:oi,dragging:Zn,pageY:Ri,startTop:Ke});Bn.current={top:oi,dragging:Zn,pageY:Ri,startTop:Ke};var En=function(Oi){Hn(!0),vi(sn(Oi,on)),Ue(Bn.current.top),Gt(),Oi.stopPropagation(),Oi.preventDefault()};ie.useEffect(function(){var ln=function(Ye){Ye.preventDefault()},Oi=Ai.current,Ni=Fi.current;return Oi.addEventListener("touchstart",ln,{passive:!1}),Ni.addEventListener("touchstart",En,{passive:!1}),function(){Oi.removeEventListener("touchstart",ln),Ni.removeEventListener("touchstart",En)}},[]);var vn=ie.useRef();vn.current=Ct;var ui=ie.useRef();ui.current=Bi,ie.useEffect(function(){if(Zn){var ln,Oi=function(Ye){var cn=Bn.current,Pi=cn.dragging,dr=cn.pageY,Yn=cn.startTop;St.Z.cancel(ln);var Qt=Ai.current.getBoundingClientRect(),Me=Le/(on?Qt.width:Qt.height);if(Pi){var Gn=(sn(Ye,on)-dr)*Me,qn=Yn;!ii&&on?qn-=Gn:qn+=Gn;var Xe=vn.current,ri=ui.current,Zi=ri?qn/ri:0,Gi=Math.ceil(Zi*Xe);Gi=Math.max(Gi,0),Gi=Math.min(Gi,Xe),ln=(0,St.Z)(function(){be(Gi,on)})}},Ni=function(){Hn(!1),Ce()};return window.addEventListener("mousemove",Oi,{passive:!0}),window.addEventListener("touchmove",Oi,{passive:!0}),window.addEventListener("mouseup",Ni,{passive:!0}),window.addEventListener("touchend",Ni,{passive:!0}),function(){window.removeEventListener("mousemove",Oi),window.removeEventListener("touchmove",Oi),window.removeEventListener("mouseup",Ni),window.removeEventListener("touchend",Ni),St.Z.cancel(ln)}}},[Zn]),ie.useEffect(function(){return qi(),function(){clearTimeout(_n.current)}},[jt]),ie.useImperativeHandle(wt,function(){return{delayHidden:qi}});var Te="".concat(yt,"-scrollbar"),Ze={position:"absolute",visibility:nr?null:"hidden"},Ne={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return on?(Object.assign(Ze,{height:8,left:0,right:0,bottom:0}),Object.assign(Ne,(0,pe.Z)({height:"100%",width:Ae},ii?"left":"right",oi))):(Object.assign(Ze,(0,pe.Z)({width:8,top:0,bottom:0},ii?"right":"left",0)),Object.assign(Ne,{width:"100%",height:Ae,top:oi})),ie.createElement("div",{ref:Ai,className:Oe()(Te,(0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(Te,"-horizontal"),on),"".concat(Te,"-vertical"),!on),"".concat(Te,"-visible"),nr)),style:(0,fe.Z)((0,fe.Z)({},Ze),_e),onMouseDown:Wn,onMouseMove:qi},ie.createElement("div",{ref:Fi,className:Oe()("".concat(Te,"-thumb"),(0,pe.Z)({},"".concat(Te,"-thumb-moving"),Zn)),style:(0,fe.Z)((0,fe.Z)({},Ne),un),onMouseDown:En}))}),Ve=an,Se=20;function $e(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,yt=Dt/wt*Dt;return isNaN(yt)&&(yt=0),yt=Math.max(yt,Se),Math.floor(yt)}var He=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],xn=[],we={overflowY:"auto",overflowAnchor:"none"};function de(Dt,wt){var yt=Dt.prefixCls,kt=yt===void 0?"rc-virtual-list":yt,jt=Dt.className,Mt=Dt.height,Gt=Dt.itemHeight,Ce=Dt.fullHeight,be=Ce===void 0?!0:Ce,on=Dt.style,Ae=Dt.data,Le=Dt.children,_e=Dt.itemKey,un=Dt.virtual,Pn=Dt.direction,gn=Dt.scrollWidth,en=Dt.component,Zn=en===void 0?"div":en,Hn=Dt.onScroll,mn=Dt.onVirtualScroll,zn=Dt.onVisibleChange,Ri=Dt.innerProps,vi=Dt.extraRender,ji=Dt.styles,er=Dt.showScrollBar,Ke=er===void 0?"optional":er,Ue=(0,Ht.Z)(Dt,He),ii=ie.useCallback(function(Mn){return typeof _e=="function"?_e(Mn):Mn==null?void 0:Mn[_e]},[_e]),Ai=Ee(ii,null,null),Fi=(0,ne.Z)(Ai,4),Mi=Fi[0],sr=Fi[1],nr=Fi[2],fr=Fi[3],_n=!!(un!==!1&&Mt&&Gt),qi=ie.useMemo(function(){return Object.values(nr.maps).reduce(function(Mn,si){return Mn+si},0)},[nr.id,nr.maps]),Ct=_n&&Ae&&(Math.max(Gt*Ae.length,qi)>Mt||!!gn),Bi=Pn==="rtl",oi=Oe()(kt,(0,pe.Z)({},"".concat(kt,"-rtl"),Bi),jt),Wn=Ae||xn,Bn=(0,ie.useRef)(),En=(0,ie.useRef)(),vn=(0,ie.useRef)(),ui=(0,ie.useState)(0),Te=(0,ne.Z)(ui,2),Ze=Te[0],Ne=Te[1],ln=(0,ie.useState)(0),Oi=(0,ne.Z)(ln,2),Ni=Oi[0],$i=Oi[1],Ye=(0,ie.useState)(!1),cn=(0,ne.Z)(Ye,2),Pi=cn[0],dr=cn[1],Yn=function(){dr(!0)},Qt=function(){dr(!1)},Me={getKey:ii};function Gn(Mn){Ne(function(si){var ci;typeof Mn=="function"?ci=Mn(si):ci=Mn;var Kn=Nr(ci);return Bn.current.scrollTop=Kn,Kn})}var qn=(0,ie.useRef)({start:0,end:Wn.length}),Xe=(0,ie.useRef)(),ri=mt(Wn,ii),Zi=(0,ne.Z)(ri,1),Gi=Zi[0];Xe.current=Gi;var ir=ie.useMemo(function(){if(!_n)return{scrollHeight:void 0,start:0,end:Wn.length-1,offset:void 0};if(!Ct){var Mn;return{scrollHeight:((Mn=En.current)===null||Mn===void 0?void 0:Mn.offsetHeight)||0,start:0,end:Wn.length-1,offset:void 0}}for(var si=0,ci,Kn,fi,ei=Wn.length,Ft=0;Ft=Ze&&ci===void 0&&(ci=Ft,Kn=si),xe>Ze+Mt&&fi===void 0&&(fi=Ft),si=xe}return ci===void 0&&(ci=0,Kn=0,fi=Math.ceil(Mt/Gt)),fi===void 0&&(fi=Wn.length-1),fi=Math.min(fi+1,Wn.length-1),{scrollHeight:si,start:ci,end:fi,offset:Kn}},[Ct,_n,Ze,Wn,fr,Mt]),ai=ir.scrollHeight,Jn=ir.start,hi=ir.end,hr=ir.offset;qn.current.start=Jn,qn.current.end=hi,ie.useLayoutEffect(function(){var Mn=nr.getRecord();if(Mn.size===1){var si=Array.from(Mn.keys())[0],ci=Mn.get(si),Kn=Wn[Jn];if(Kn&&ci===void 0){var fi=ii(Kn);if(fi===si){var ei=nr.get(si),Ft=ei-Gt;Gn(function(se){return se+Ft})}}}nr.resetRecord()},[ai]);var tr=ie.useState({width:0,height:Mt}),Dn=(0,ne.Z)(tr,2),ki=Dn[0],Fr=Dn[1],jr=function(si){Fr({width:si.offsetWidth,height:si.offsetHeight})},so=(0,ie.useRef)(),je=(0,ie.useRef)(),_i=ie.useMemo(function(){return $e(ki.width,gn)},[ki.width,gn]),Ar=ie.useMemo(function(){return $e(ki.height,ai)},[ki.height,ai]),Wi=ai-Mt,Wr=(0,ie.useRef)(Wi);Wr.current=Wi;function Nr(Mn){var si=Mn;return Number.isNaN(Wr.current)||(si=Math.min(si,Wr.current)),si=Math.max(si,0),si}var Xr=Ze<=0,zr=Ze>=Wi,Hr=Ni<=0,qr=Ni>=gn,pn=Wt(Xr,zr,Hr,qr),no=function(){return{x:Bi?-Ni:Ni,y:Ze}},Cn=(0,ie.useRef)(no()),rr=(0,Nt.zX)(function(Mn){if(mn){var si=(0,fe.Z)((0,fe.Z)({},no()),Mn);(Cn.current.x!==si.x||Cn.current.y!==si.y)&&(mn(si),Cn.current=si)}});function Or(Mn,si){var ci=Mn;si?((0,nn.flushSync)(function(){$i(ci)}),rr()):Gn(ci)}function Tr(Mn){var si=Mn.currentTarget.scrollTop;si!==Ze&&Gn(si),Hn==null||Hn(Mn),rr()}var ho=function(si){var ci=si,Kn=gn?gn-ki.width:0;return ci=Math.max(ci,0),ci=Math.min(ci,Kn),ci},Gr=(0,Nt.zX)(function(Mn,si){si?((0,nn.flushSync)(function(){$i(function(ci){var Kn=ci+(Bi?-Mn:Mn);return ho(Kn)})}),rr()):Gn(function(ci){var Kn=ci+Mn;return Kn})}),xr=te(_n,Xr,zr,Hr,qr,!!gn,Gr),lo=(0,ne.Z)(xr,2),We=lo[0],An=lo[1];rn(_n,Bn,function(Mn,si,ci,Kn){var fi=Kn;return pn(Mn,si,ci)?!1:!fi||!fi._virtualHandled?(fi&&(fi._virtualHandled=!0),We({preventDefault:function(){},deltaX:Mn?si:0,deltaY:Mn?0:si}),!0):!1}),$t(Ct,Bn,function(Mn){Gn(function(si){return si+Mn})}),(0,Je.Z)(function(){function Mn(ci){var Kn=Xr&&ci.detail<0,fi=zr&&ci.detail>0;_n&&!Kn&&!fi&&ci.preventDefault()}var si=Bn.current;return si.addEventListener("wheel",We,{passive:!1}),si.addEventListener("DOMMouseScroll",An,{passive:!0}),si.addEventListener("MozMousePixelScroll",Mn,{passive:!1}),function(){si.removeEventListener("wheel",We),si.removeEventListener("DOMMouseScroll",An),si.removeEventListener("MozMousePixelScroll",Mn)}},[_n,Xr,zr]),(0,Je.Z)(function(){if(gn){var Mn=ho(Ni);$i(Mn),rr({x:Mn})}},[ki.width,gn]);var Be=function(){var si,ci;(si=so.current)===null||si===void 0||si.delayHidden(),(ci=je.current)===null||ci===void 0||ci.delayHidden()},Ot=Pe(Bn,Wn,nr,Gt,ii,function(){return sr(!0)},Gn,Be);ie.useImperativeHandle(wt,function(){return{nativeElement:vn.current,getScrollInfo:no,scrollTo:function(si){function ci(Kn){return Kn&&(0,re.Z)(Kn)==="object"&&("left"in Kn||"top"in Kn)}ci(si)?(si.left!==void 0&&$i(ho(si.left)),Ot(si.top)):Ot(si)}}}),(0,Je.Z)(function(){if(zn){var Mn=Wn.slice(Jn,hi+1);zn(Mn,Wn)}},[Jn,hi,Wn]);var Qn=Jt(Wn,ii,nr,Gt),Li=vi==null?void 0:vi({start:Jn,end:hi,virtual:Ct,offsetX:Ni,offsetY:hr,rtl:Bi,getSize:Qn}),Xi=ct(Wn,Jn,hi,gn,Ni,Mi,Le,Me),Vi=null;Mt&&(Vi=(0,fe.Z)((0,pe.Z)({},be?"height":"maxHeight",Mt),we),_n&&(Vi.overflowY="hidden",gn&&(Vi.overflowX="hidden"),Pi&&(Vi.pointerEvents="none")));var yi={};return Bi&&(yi.dir="rtl"),ie.createElement("div",(0,Lt.Z)({ref:vn,style:(0,fe.Z)((0,fe.Z)({},on),{},{position:"relative"}),className:oi},yi,Ue),ie.createElement(ge.Z,{onResize:jr},ie.createElement(Zn,{className:"".concat(kt,"-holder"),style:Vi,ref:Bn,onScroll:Tr,onMouseEnter:Be},ie.createElement(et,{prefixCls:kt,height:ai,offsetX:Ni,offsetY:hr,scrollWidth:gn,onInnerResize:sr,ref:En,innerProps:Ri,rtl:Bi,extra:Li},Xi))),Ct&&ai>Mt&&ie.createElement(Ve,{ref:so,prefixCls:kt,scrollOffset:Ze,scrollRange:ai,rtl:Bi,onScroll:Or,onStartMove:Yn,onStopMove:Qt,spinSize:Ar,containerSize:ki.height,style:ji==null?void 0:ji.verticalScrollBar,thumbStyle:ji==null?void 0:ji.verticalScrollBarThumb,showScrollBar:Ke}),Ct&&gn>ki.width&&ie.createElement(Ve,{ref:je,prefixCls:kt,scrollOffset:Ni,scrollRange:gn,rtl:Bi,onScroll:Or,onStartMove:Yn,onStopMove:Qt,spinSize:_i,containerSize:ki.width,horizontal:!0,style:ji==null?void 0:ji.horizontalScrollBar,thumbStyle:ji==null?void 0:ji.horizontalScrollBarThumb,showScrollBar:Ke}))}var ke=ie.forwardRef(de);ke.displayName="List";var ze=ke,fn=ze},25510:function(bn){"use strict";bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiqi1ycvFZSggHgFDofz6L71m3v/9xk9eq695ty91t67u8eimu6z91zzMcaYY/znGGPOudLEExQICgQFggJBgaBAUGDJKbBC/26+98jGkvczuhcUCAoEBYICQYGgwB6lwJUXnroSgGWPMj+GHRQICgQFggJBgZ1CgS2A5YoLTtkpfY9+BgWCAkGBoEBQICiwyylwy33PpREGYNnljI7hBQWCAkGBoEBQYCdTIADLTuZe9D0oEBQICgQFggJ7hAIBWPYIo2OYQYGgQFAgKBAU2MkUCMCyk7kXfQ8KBAWCAkGBoMAeoUAAlj3C6BhmUCAoEBQICgQFdjIFArDsZO5F34MCQYGgQFAgKLBHKBCAZY8wOoYZFAgKBAWCAkGBnUyBACw7mXvR96BAUCAoEBQICuwRCgRg2SOMjmEGBYICQYGgQFBgJ1MgAMtO5l70PSgQFAgKBAWCAnuEAgFY9gijY5hBgaBAUCAoEBTYyRQIwLKTuRd9DwoEBYICQYGgwB6hQACWPcLoGGZQICgQFAgKBAV2MgUCsOxk7kXfgwJBgaBAUCAosEcoEIBljzA6hhkUCAoEBYICQYGdTIEALDuZe9H3oEBQICgQFAgK7BEKBGDZI4yOYQYFggJBgaBAUGAnUyAAy07mXvQ9KBAUCAoEBYICe4QCAVj2CKNjmEGBoEBQICgQFNjJFAjAspO5F30PCgQFggJBgaDAHqFAAJY9wugYZlAgKBAUCAoEBXYyBQKw7GTuRd+DAkGBoEBQICiwRygQgGWPMDqGGRQICgQFggJBgZ1MgQAsO5l70fegQFAgKBAUCArsEQoEYNkjjI5hBgWCAkGBoEBQYCdTIADLTuZe9D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3TFwvCh/iYESPGBBdReHzWXFtkLOf99OlsgNTzzzxvvzj3ZPvhKT+y+/5yv7340qthN82c2XNtypQlgmVz3333s8023sQmLDJ6vqWC+vtTwPThIawrI4m7mWcjidEJATEAlTEhcV24yBsT0MbscAbSAw89YHt9aC+774H77JBDDw2ZgjdYfwObM3den0to1CgbiYUIT1Kf4aTPUjTidZsza7aNCX6qPuCFKWXeq6/ZSE6dDtmC2SreF4ATvHHBtTQ/cGb+VmwF6DRZWIhh8S4hv02WMcPyx0o+9eoWYPHvZ14Qk0dekbqLBZqP/ZgyZYrdcccdwWKUeg01YEGO01dZvflbC0pZl3MColP7rXIFsORSzKwAlgqaEXDLqsgrvthtkkrqqq1mPLvSSiv1r2BS6+o2YEltRyfKdRuwpLSx5wHL/Lwol112qZ155pn23f/9no0ZOzakrw8wJYCJ123U6FE2b+48W3yxxe3444+xf/rHXWxsiGWZf7AzlobZs23mK6/ajHvvs03evolNHD/Rfnveb22rrbYMW4+DFXN4rTMAACAASURBVGqRMcGFQsI3EA8Wjr4wWdwrCPYxfUBontkzTz9rl156mf3Xf33K/vbc88GSM/ktb7GJEybZE089Hd6FW2qddabZGWf8ypYKro++bcGLLDLGZs0iXgaghWtrtM187dWgvIlF6XvfPBs1t89yFLqLJYQAyZFgmNfswYcetD332sse+uv9dsghX7OtttzK1pu23vw525fuf97IEfbqrFk2iXqJlyH/zJxZ4cykMLfDP9xf7Djq6zvXmDEjbebM2TZuHGCvT6nR6b44tL48LKOw/pjZtddea8suu2z/2WM+WPXFF18Mhx/GpzV73sxdEAwWYFlllVVq5VPV7iCse7kW06EGLCkyoptlCmDJp24BLAWw5HNNB54ogKUvrqQuNX/YWcaJxrPn2LXXXWfnn3+eff3rX7fttt/e9tvv87baqqv1xUVguZvdl+skxOssvphNmjzBxuDSCAnPXrfnnn7K3jJpsr3y6hy7a8a9tunmW9gKKyxjp/7057bp299u80ZgPRltr816tS/ny2h2/mDkeD18wm6ZsG15bPg/773lllts///+b7vx8sttvf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5G12wcUX2+k//6W99tosW3+99e1XZ54Z3DCf+PQn7eprrrannn/aPvjB3e0D73+/PfPUU3brLX+y478JPSbaN75xtG280UZhq/deH/mwzXx1pu20y062yz/ubBPfsqjtt+8X7MmHH7X11p5m//Otb9vqq69tN15/rZ140g/sxz/7ic0dO9Le99732YYbTLcVll/epq21tm20ySbzdzD17S9iy7cy7gZXyPw5UABLASztisMCWPIpVwBLASz5XNOBJwpg6QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musb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2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(bn,$n,Et){"use strict";bn.exports=Et.p+"static/AssistantCode3.a8740efb.jpeg"},13014:function(bn,$n,Et){"use strict";bn.exports=Et.p+"static/yunying_code.7d649890.jpg"},93314:function(bn){"use strict";bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc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9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},55351:function(bn){"use strict";bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAQABJREFUeAHs3QfYddlVF/AXHAt2saIoX+wVxAIIChM0ININRYzKKFFBggokFghk6KYQEgQFRBiBQEAgRIICUsaKWMBYscHYsPcGqFzXb0/+J+vu75R73++bCfq4nufe3dZea+21yzlrt3Nz8zi8cTlfWL/vrN/pify93uu93unLv/zLT3vwZV/2Zafv//2//yLHz/pZP+v0j//xP97LcvrNv/k3L/jk/+2//bfv4v/Tf/pPT7/kl/ySJc8P/IE/8PQn/sSfOMvzB/7AH1jS13Ty83/+zz/983/+z5c8/+E//IfTr/gVv2I3z0znV//qX336b//tvy00Zs//+B//4/TO7/zOuzR//a//9af/9b/+15L1z/7ZP3v6MT/mx+zmmeWYw7/m1/ya03//7/99oTl7yPyO7/iOZzw+/dM/fUY7C5PrR/7IH7nk+Yk/8See/tbf+lsLzv/8n//z9D7v8z5L+izTWviX/tJfevpn/+yfLTT+43/8j6d3eId3WGhob5/5mZ+5pPN87ud+7pK+RnOO0xa1yT3Qpl//9V//KroznwvD+mj11TfQZ28eqB/Pq+v3hvX7//D/NfD/NfB9WwNvVOK9383Nd73jG7zBG7zZ61fgBfX7PtV5a6S7+d//+38vauz+JXLy1Og3xRwHO916gt3UaH2cqWF87/d+7833+37fb4nhv5YG/E5jIfYazyU0lb3TEO5lm2leEkbjgQeM7+sgbdZ5l2Etl/QuF3+n0ctKL9fqco2nuM5jLbyV7/t2/OkNv/u7v+cFaujBCKpSfsSP+BE39cpwoxPdD9DI67Xmpl6PLib3g37QD7qp16uRhxw/7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Qt8ztyC+PQyrqivS5s2EPk64/9mM/1icc/0MDfq9+H63fmDzKyRfhDwMI6mIzv4DZziiZuHtcND1d/QLoa8QMC4QVdkDBmXF3a0RAr9zB01fjDDBqf4IobJW00+g3Jibfy3b3xszh4+nrCWSGM6ByOV31MsFM9tFstnE722SiKryVVyqtnVYmu/YgT7m9dGVgV1QHu9bq6/Y96spPHnXDExew1b/+6/+uWfcvXuFFRpHeNPptLmb5TVzdAy4E7JcCOs11REN9M98RKHneMwb+RP3GXrbHNJoQvdftRklevdGtsqzwxM3xGmh/9fBmMENPl6Zn7CDccfjnnpLsHZ7TePhK+AxP/HVa1ecXglmWECFnf/qoCP/1X9e6Bfc2NzKvXBTW8RrXf/7ntX0G9gdPJP488fZovP7681du+LfA87qwlotten1Qhh/5yLPRpbRenx7SeiYBuZ+X9bFUyvdZGZPnduh1r+T4P9WYP6EB/3v1PF9b7v+qCuB1+pXCcwM8G+hj1uPCvFfG7pc+h5MnrvQZ5xYec57Qi4tGp9P9cIRnGs8LNYUVN1RHzvrr84kv1oJneZ5zIHfoP6vEH/nIbZOVz/V5lu8ZzfhXLj6reDnFH8FDOa9psXHoH9G5TrtcwvdIruDI+1wOfbj88++5XNd2vebcQ+H9jP7z/J1vx1/7qzy00Wqr/+Nra8z+7/8X8NWrfSOUc+sAAAAASUVORK5CYII="},96908:function(bn){"use strict";bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e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qztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},212:function(bn,$n,Et){var Lt=Et(84749);function re(fe,pe,ne){return(pe=Lt(pe))in fe?Object.defineProperty(fe,pe,{value:ne,enumerable:!0,configurable:!0,writable:!0}):fe[pe]=ne,fe}bn.exports=re,bn.exports.__esModule=!0,bn.exports.default=bn.exports},95069:function(bn){function $n(Et){return Et&&Et.__esModule?Et:{default:Et}}bn.exports=$n,bn.exports.__esModule=!0,bn.exports.default=bn.exports},74751:function(bn,$n,Et){var Lt=Et(212);function re(pe,ne){var Ht=Object.keys(pe);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(pe);ne&&(oe=oe.filter(function(Oe){return Object.getOwnPropertyDescriptor(pe,Oe).enumerable})),Ht.push.apply(Ht,oe)}return Ht}function fe(pe){for(var ne=1;netypeof ge=="object"&&ge!=null&&ge.nodeType===1,re=(ge,Nt)=>(!Nt||ge!=="hidden")&&ge!=="visible"&&ge!=="clip",fe=(ge,Nt)=>{if(ge.clientHeight{const nn=(Bt=>{if(!Bt.ownerDocument||!Bt.ownerDocument.defaultView)return null;try{return Bt.ownerDocument.defaultView.frameElement}catch(et){return null}})(ie);return!!nn&&(nn.clientHeightBtNt||Bt>ge&&et=Nt&&nt>=Je?Bt-ge-ie:et>Nt&&ntJe?et-Nt+nn:0,ne=ge=>{const Nt=ge.parentElement;return Nt==null?ge.getRootNode().host||null:Nt},Ht=(ge,Nt)=>{var Je,ie,nn,Bt;if(typeof document=="undefined")return[];const{scrollMode:et,block:nt,inline:ct,boundary:lt,skipOverflowHiddenElements:gt}=Nt,mt=typeof lt=="function"?lt:Ve=>Ve!==lt;if(!Lt(ge))throw new TypeError("Invalid target");const St=document.scrollingElement||document.documentElement,Pt=[];let Rt=ge;for(;Lt(Rt)&&mt(Rt);){if(Rt=ne(Rt),Rt===St){Pt.push(Rt);break}Rt!=null&&Rt===document.body&&fe(Rt)&&!fe(document.documentElement)||Rt!=null&&fe(Rt,gt)&&Pt.push(Rt)}const Wt=(ie=(Je=window.visualViewport)==null?void 0:Je.width)!=null?ie:innerWidth,te=(Bt=(nn=window.visualViewport)==null?void 0:nn.height)!=null?Bt:innerHeight,{scrollX:Jt,scrollY:Vt}=window,{height:le,width:ae,top:Fe,right:De,bottom:Ee,left:Sn}=ge.getBoundingClientRect(),{top:rn,right:Ge,bottom:sn,left:$t}=(Ve=>{const Se=window.getComputedStyle(Ve);return{top:parseFloat(Se.scrollMarginTop)||0,right:parseFloat(Se.scrollMarginRight)||0,bottom:parseFloat(Se.scrollMarginBottom)||0,left:parseFloat(Se.scrollMarginLeft)||0}})(ge);let It=nt==="start"||nt==="nearest"?Fe-rn:nt==="end"?Ee+sn:Fe+le/2-rn+sn,Pe=ct==="center"?Sn+ae/2-$t+Ge:ct==="end"?De+Ge:Sn-$t;const an=[];for(let Ve=0;Ve=0&&Sn>=0&&Ee<=te&&De<=Wt&&(Se===St&&!fe(Se)||Fe>=xn&&Ee<=de&&Sn>=ke&&De<=we))return an;const ze=getComputedStyle(Se),fn=parseInt(ze.borderLeftWidth,10),Dt=parseInt(ze.borderTopWidth,10),wt=parseInt(ze.borderRightWidth,10),yt=parseInt(ze.borderBottomWidth,10);let kt=0,jt=0;const Mt="offsetWidth"in Se?Se.offsetWidth-Se.clientWidth-fn-wt:0,Gt="offsetHeight"in Se?Se.offsetHeight-Se.clientHeight-Dt-yt:0,Ce="offsetWidth"in Se?Se.offsetWidth===0?0:He/Se.offsetWidth:0,be="offsetHeight"in Se?Se.offsetHeight===0?0:$e/Se.offsetHeight:0;if(St===Se)kt=nt==="start"?It:nt==="end"?It-te:nt==="nearest"?pe(Vt,Vt+te,te,Dt,yt,Vt+It,Vt+It+le,le):It-te/2,jt=ct==="start"?Pe:ct==="center"?Pe-Wt/2:ct==="end"?Pe-Wt:pe(Jt,Jt+Wt,Wt,fn,wt,Jt+Pe,Jt+Pe+ae,ae),kt=Math.max(0,kt+Vt),jt=Math.max(0,jt+Jt);else{kt=nt==="start"?It-xn-Dt:nt==="end"?It-de+yt+Gt:nt==="nearest"?pe(xn,de,$e,Dt,yt+Gt,It,It+le,le):It-(xn+$e/2)+Gt/2,jt=ct==="start"?Pe-ke-fn:ct==="center"?Pe-(ke+He/2)+Mt/2:ct==="end"?Pe-we+wt+Mt:pe(ke,we,He,fn,wt+Mt,Pe,Pe+ae,ae);const{scrollLeft:on,scrollTop:Ae}=Se;kt=be===0?0:Math.max(0,Math.min(Ae+kt/be,Se.scrollHeight-$e/be+Gt)),jt=Ce===0?0:Math.max(0,Math.min(on+jt/Ce,Se.scrollWidth-He/Ce+Mt)),It+=Ae-kt,Pe+=on-jt}an.push({el:Se,top:kt,left:jt})}return an},oe=ge=>ge===!1?{block:"end",inline:"nearest"}:(Nt=>Nt===Object(Nt)&&Object.keys(Nt).length!==0)(ge)?ge:{block:"start",inline:"nearest"};function Oe(ge,Nt){if(!ge.isConnected||!(nn=>{let Bt=nn;for(;Bt&&Bt.parentNode;){if(Bt.parentNode===document)return!0;Bt=Bt.parentNode instanceof ShadowRoot?Bt.parentNode.host:Bt.parentNode}return!1})(ge))return;const Je=(nn=>{const Bt=window.getComputedStyle(nn);return{top:parseFloat(Bt.scrollMarginTop)||0,right:parseFloat(Bt.scrollMarginRight)||0,bottom:parseFloat(Bt.scrollMarginBottom)||0,left:parseFloat(Bt.scrollMarginLeft)||0}})(ge);if((nn=>typeof nn=="object"&&typeof nn.behavior=="function")(Nt))return Nt.behavior(Ht(ge,Nt));const ie=typeof Nt=="boolean"||Nt==null?void 0:Nt.behavior;for(const{el:nn,top:Bt,left:et}of Ht(ge,oe(Nt))){const nt=Bt-Je.top+Je.bottom,ct=et-Je.left+Je.right;nn.scroll({top:nt,left:ct,behavior:ie})}}}}]);