|
|
!(function(){var ux=Object.defineProperty,cx=Object.defineProperties;var dx=Object.getOwnPropertyDescriptors;var iv=Object.getOwnPropertySymbols;var EE=Object.prototype.hasOwnProperty,xE=Object.prototype.propertyIsEnumerable;var bE=Math.pow,SE=(Re,xe,ue)=>xe in Re?ux(Re,xe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Re[xe]=ue,Ks=(Re,xe)=>{for(var ue in xe||(xe={}))EE.call(xe,ue)&&SE(Re,ue,xe[ue]);if(iv)for(var ue of iv(xe))xE.call(xe,ue)&&SE(Re,ue,xe[ue]);return Re},Kf=(Re,xe)=>cx(Re,dx(xe));var wE=(Re,xe)=>{var ue={};for(var ce in Re)EE.call(Re,ce)&&xe.indexOf(ce)<0&&(ue[ce]=Re[ce]);if(Re!=null&&iv)for(var ce of iv(Re))xe.indexOf(ce)<0&&xE.call(Re,ce)&&(ue[ce]=Re[ce]);return ue};var CE=(Re,xe,ue)=>new Promise((ce,Ae)=>{var Fe=Pe=>{try{Ye(ue.next(Pe))}catch(Ue){Ae(Ue)}},ke=Pe=>{try{Ye(ue.throw(Pe))}catch(Ue){Ae(Ue)}},Ye=Pe=>Pe.done?ce(Pe.value):Promise.resolve(Pe.value).then(Fe,ke);Ye((ue=ue.apply(Re,xe)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[7959],{71749:function(){"use strict"},30483:function(){"use strict"},71736:function(Re,xe){"use strict";xe.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function Re(De,te,ee,de){ee===void 0&&(ee=0),de===void 0&&(de=1/0),this._name=De,this._defaultValue=te,this._minimum=ee,this._maximum=de}Object.defineProperty(Re.prototype,"name",{get:function(){return this._name},set:function(De){if(typeof De!="string"||De==="")throw new Error("Shape name must be a valid string.");this._name=De}}),Object.defineProperty(Re.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(De){if(typeof De!="number"||isNaN(De))throw new Error("The default value must be a real number, not: "+De);this._defaultValue=De}}),Object.defineProperty(Re.prototype,"minimum",{get:function(){return this._minimum},set:function(De){if(typeof De!="number"||isNaN(De))throw new Error("Minimum must be a real number, not: "+De);this._minimum=De}}),Object.defineProperty(Re.prototype,"maximum",{get:function(){return this._maximum},set:function(De){if(typeof De!="number"||isNaN(De))throw new Error("Maximum must be a real number, not: "+De);this._maximum=De}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(De,te){var ee=go.Shape._FigureParameters[De];return ee?ee[te]:null},go.Shape.setFigureParameter=function(De,te,ee){if(!(ee instanceof Re))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ee);if(ee.defaultValue<ee.minimum||ee.defaultValue>ee.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ee.defaultValue);var de=go.Shape._FigureParameters[De];de||(de=[],go.Shape._FigureParameters[De]=de),de[te]=ee};var xe=[];function ue(De,te){var ee=xe.pop();return ee===void 0?new go.Point(De,te):(ee.x=De,ee.y=te,ee)}function ce(){var De=xe.pop();return De===void 0?new go.Point:De}function Ae(De){xe.push(De)}function Fe(De,te,ee,de,se,ge,ve,be,we){we||(we=new go.Point);var Oe=De-ee,Ke=se-ve,qe=NaN,lt=NaN;if(Oe===0)if(Ke===0)De===ee&&(qe=De,lt=te);else{var at=(ge-be)/Ke,ft=ge-at*se;qe=De,lt=at*qe+ft}else if(Ke===0){var pt=(te-de)/Oe,Nt=te-pt*De;qe=se,lt=pt*qe+Nt}else{var pt=(te-de)/Oe,at=(ge-be)/Ke,Nt=te-pt*De,ft=ge-at*se;qe=(ft-Nt)/(pt-at),lt=pt*qe+Nt}return we.x=qe,we.y=lt,we}function ke(De,te,ee,de,se,ge,ve,be,we,Oe,Ke,qe,lt,at){var ft=1-we,pt=we,Nt=De*ft+ee*pt,Xt=te*ft+de*pt,Zt=ee*ft+se*pt,yn=de*ft+ge*pt,Ln=se*ft+ve*pt,on=ge*ft+be*pt,Bn=Nt*ft+Zt*pt,Et=Xt*ft+yn*pt,nt=Zt*ft+Ln*pt,ot=yn*ft+on*pt,Jt=Bn*ft+nt*pt,In=Et*ft+ot*pt;Oe.x=Nt,Oe.y=Xt,Ke.x=Bn,Ke.y=Et,qe.x=Jt,qe.y=In,lt.x=nt,lt.y=ot,at.x=Ln,at.y=on}var Ye=new go.Spot(.156,.156),Pe=new go.Spot(.844,.844),Ue=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Re("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=5),de=Math.min(de,te/3),de=Math.min(de,ee/3);var se=de*Ue,ge=new go.Geometry().add(new go.PathFigure(de,0,!0).add(new go.PathSegment(go.PathSegment.Line,te-de,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,de,te-se,0,te,se)).add(new go.PathSegment(go.PathSegment.Line,te,ee-de)).add(new go.PathSegment(go.PathSegment.Bezier,te-de,ee,te,ee-se,te-se,ee)).add(new go.PathSegment(go.PathSegment.Line,de,ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,ee-de,se,ee,0,ee-se)).add(new go.PathSegment(go.PathSegment.Line,0,de)).add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,se,se,0).close()));return se>1&&(ge.spot1=new go.Spot(0,0,se,se),ge.spot2=new go.Spot(1,1,-se,-se)),ge}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ee).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(te,ee).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,te,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(te,ee).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.5*te,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(De,te,ee){var de=new go.Geometry(go.Geometry.Line);return de.startX=0,de.startY=ee/2,de.endX=te,de.endY=ee/2,de}),go.Shape.defineFigureGenerator("LineV",function(De,te,ee){var de=new go.Geometry(go.Geometry.Line);return de.startX=te/2,de.startY=0,de.endX=te/2,de.endY=ee,de}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,ee/2,!1).add(new go.PathSegment(go.PathSegment.Line,te,ee/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ee)))}),go.Shape.defineFigureGenerator("XLine",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)))}),go.Shape.defineFigureGenerator("LineRight",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.25*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ee)))}),go.Shape.defineFigureGenerator("LineDown",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,.25*ee,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.75*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)))}),go.Shape.defineFigureGenerator("LineLeft",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.75*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.75*te,ee)))}),go.Shape.defineFigureGenerator("LineUp",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,.75*ee,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.25*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.75*ee)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(De,te,ee){var de=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(de*te,(1-de)*ee,!1).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,de*ee)).add(new go.PathSegment(go.PathSegment.Move,de*te,de*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,(1-de)*ee)).add(new go.PathSegment(go.PathSegment.Move,0,ee/2)).add(new go.PathSegment(go.PathSegment.Line,te,ee/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ee)))}),go.Shape.defineFigureGenerator("CircleLine",function(De,te,ee){var de=te/2,se=new go.Geometry().add(new go.PathFigure(te,te/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,de,de,de,de).close()));return se.spot1=Ye,se.spot2=Pe,se.defaultStretch=go.GraphObject.Uniform,se}),go.Shape.defineFigureGenerator("Line1",function(De,te,ee){var de=new go.Geometry(go.Geometry.Line);return de.startX=0,de.startY=0,de.endX=te,de.endY=ee,de}),go.Shape.defineFigureGenerator("Line2",function(De,te,ee){var de=new go.Geometry(go.Geometry.Line);return de.startX=te,de.startY=0,de.endX=0,de.endY=ee,de}),go.Shape.defineFigureGenerator("Curve1",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ee,Ue*te,0,te,(1-Ue)*ee)))}),go.Shape.defineFigureGenerator("Curve2",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ee,0,Ue*ee,(1-Ue)*te,ee)))}),go.Shape.defineFigureGenerator("Curve3",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,te,Ue*ee,Ue*te,ee)))}),go.Shape.defineFigureGenerator("Curve4",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(1-Ue)*te,0,0,(1-Ue)*ee)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(te,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Re("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)?de=.1:de<-1?de=-1:de>1&&(de=1);var se=Math.abs(de)*te;if(de===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ee,ge}else{var ge=new go.Geometry;return de>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,se,ee).close())),se<te/2&&ge.setSpots(se/te,0,(te-se)/te,1),ge}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Re("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)?de=10:de<-te?de=-te:de>te&&(de=te);var se=Math.abs(de);if(de===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ee,ge}else{var ge=new go.Geometry;return de>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,se,ee).close())),se<te/2&&ge.setSpots(se/te,0,(te-se)/te,1),ge}}),go.Shape.setFigureParameter("Trapezoid1",0,new Re("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)?de=.2:de<.5?de=-.5:de>.5&&(de=.5);var se=Math.abs(de)*te;if(de===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ee,ge}else{var ge=new go.Geometry;return de>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ee)).add(new go.PathSegment(go.PathSegment.Line,se,ee).close())),se<te/2&&ge.setSpots(se/te,0,(te-se)/te,1),ge}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Re("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)?de=20:de<-te?de=-te/2:de>te&&(de=te/2);var se=Math.abs(de);if(de===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ee,ge}else{var ge=new go.Geometry;return de>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ee)).add(new go.PathSegment(go.PathSegment.Line,se,ee).close())),se<te/2&&ge.setSpots(se/te,0,(te-se)/te,1),ge}}),go.Shape.setFigureParameter("ManualOperation",0,new Re("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)?de=10:de<-te?de=-te/2:de>te&&(de=te/2);var se=Math.abs(de);if(de===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ee,ge}else{var ge=new go.Geometry;return de>0?ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ee)).add(new go.PathSegment(go.PathSegment.Line,se,ee).close())):ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close())),se<te/2&&ge.setSpots(se/te,0,(te-se)/te,1),ge}});var tt=[];function Ze(){var De=tt.pop();return De===void 0?[]:De}function rt(De){De.length=0,tt.push(De)}function xt(De){for(var te=Ze(),ee=.5,de=.5,se=Math.PI*1.5,ge=0,ve=0;ve<De;ve++)ge=2*Math.PI/De*ve+se,te[ve]=new go.Point(de+ee*Math.cos(ge),de+ee*Math.sin(ge));return te.push(te[0]),te}function Qe(De){var te=Mt(De),ee=Ze();ee[0]=te[0];for(var de=1,se=1;de<te.length;de+=2,se+=3)ee[se]=te[de],ee[se+1]=te[de],ee[se+2]=te[de+1];return rt(te),ee}function Mt(De){for(var te=xt(De),ee=Ze(),de=Math.floor(te.length/2),se=te.length-1,ge=De%2===0?2:1,ve=0;ve<se;ve++){var be=te[ve],we=te[ve+1],Oe=te[(de+ve-1)%se],Ke=te[(de+ve+ge)%se];ee[ve*2]=be,ee[ve*2+1]=Fe(be.x,be.y,Oe.x,Oe.y,we.x,we.y,Ke.x,Ke.y,new go.Point)}return ee[ee.length]=ee[0],rt(te),ee}go.Shape.defineFigureGenerator("Pentagon",function(De,te,ee){var de=xt(5),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<5;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.2,.22),se.spot2=new go.Spot(.8,.9),se}),go.Shape.defineFigureGenerator("Hexagon",function(De,te,ee){var de=xt(6),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<6;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.07,.25),se.spot2=new go.Spot(.93,.75),se}),go.Shape.defineFigureGenerator("Heptagon",function(De,te,ee){var de=xt(7),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<7;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.2,.15),se.spot2=new go.Spot(.8,.85),se}),go.Shape.defineFigureGenerator("Octagon",function(De,te,ee){var de=xt(8),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<8;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.15,.15),se.spot2=new go.Spot(.85,.85),se}),go.Shape.defineFigureGenerator("Nonagon",function(De,te,ee){var de=xt(9),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<9;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.17,.13),se.spot2=new go.Spot(.82,.82),se}),go.Shape.defineFigureGenerator("Decagon",function(De,te,ee){var de=xt(10),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<10;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.16,.16),se.spot2=new go.Spot(.84,.84),se}),go.Shape.defineFigureGenerator("Dodecagon",function(De,te,ee){var de=xt(12),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<12;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.16,.16),se.spot2=new go.Spot(.84,.84),se}),go.Shape.defineFigureGenerator("FivePointedStar",function(De,te,ee){var de=Mt(5),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<10;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.266,.333),se.spot2=new go.Spot(.733,.733),se}),go.Shape.defineFigureGenerator("SixPointedStar",function(De,te,ee){var de=Mt(6),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<12;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.17,.25),se.spot2=new go.Spot(.83,.75),se}),go.Shape.defineFigureGenerator("SevenPointedStar",function(De,te,ee){var de=Mt(7),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<14;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.222,.277),se.spot2=new go.Spot(.777,.666),se}),go.Shape.defineFigureGenerator("EightPointedStar",function(De,te,ee){var de=Mt(8),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<16;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.25,.25),se.spot2=new go.Spot(.75,.75),se}),go.Shape.defineFigureGenerator("NinePointedStar",function(De,te,ee){var de=Mt(9),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<18;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.222,.277),se.spot2=new go.Spot(.777,.666),se}),go.Shape.defineFigureGenerator("TenPointedStar",function(De,te,ee){var de=Mt(10),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<20;ve++)ge.add(new go.PathSegment(go.PathSegment.Line,de[ve].x*te,de[ve].y*ee));return ge.add(new go.PathSegment(go.PathSegment.Line,de[0].x*te,de[0].y*ee).close()),rt(de),se.spot1=new go.Spot(.281,.261),se.spot2=new go.Spot(.723,.748),se}),go.Shape.defineFigureGenerator("FivePointedBurst",function(De,te,ee){var de=Qe(5),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<de.length;ve+=3)ge.add(new go.PathSegment(go.PathSegment.Bezier,de[ve+2].x*te,de[ve+2].y*ee,de[ve].x*te,de[ve].y*ee,de[ve+1].x*te,de[ve+1].y*ee));return ge.segments.last().close(),rt(de),se.spot1=new go.Spot(.222,.277),se.spot2=new go.Spot(.777,.777),se}),go.Shape.defineFigureGenerator("SixPointedBurst",function(De,te,ee){var de=Qe(6),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<de.length;ve+=3)ge.add(new go.PathSegment(go.PathSegment.Bezier,de[ve+2].x*te,de[ve+2].y*ee,de[ve].x*te,de[ve].y*ee,de[ve+1].x*te,de[ve+1].y*ee));return ge.segments.last().close(),rt(de),se.spot1=new go.Spot(.17,.222),se.spot2=new go.Spot(.833,.777),se}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(De,te,ee){var de=Qe(7),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<de.length;ve+=3)ge.add(new go.PathSegment(go.PathSegment.Bezier,de[ve+2].x*te,de[ve+2].y*ee,de[ve].x*te,de[ve].y*ee,de[ve+1].x*te,de[ve+1].y*ee));return ge.segments.last().close(),rt(de),se.spot1=new go.Spot(.222,.222),se.spot2=new go.Spot(.777,.777),se}),go.Shape.defineFigureGenerator("EightPointedBurst",function(De,te,ee){var de=Qe(8),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<de.length;ve+=3)ge.add(new go.PathSegment(go.PathSegment.Bezier,de[ve+2].x*te,de[ve+2].y*ee,de[ve].x*te,de[ve].y*ee,de[ve+1].x*te,de[ve+1].y*ee));return ge.segments.last().close(),rt(de),se.spot1=new go.Spot(.222,.222),se.spot2=new go.Spot(.777,.777),se}),go.Shape.defineFigureGenerator("NinePointedBurst",function(De,te,ee){var de=Qe(9),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<de.length;ve+=3)ge.add(new go.PathSegment(go.PathSegment.Bezier,de[ve+2].x*te,de[ve+2].y*ee,de[ve].x*te,de[ve].y*ee,de[ve+1].x*te,de[ve+1].y*ee));return ge.segments.last().close(),rt(de),se.spot1=new go.Spot(.222,.222),se.spot2=new go.Spot(.777,.777),se}),go.Shape.defineFigureGenerator("TenPointedBurst",function(De,te,ee){var de=Qe(10),se=new go.Geometry,ge=new go.PathFigure(de[0].x*te,de[0].y*ee,!0);se.add(ge);for(var ve=1;ve<de.length;ve+=3)ge.add(new go.PathSegment(go.PathSegment.Bezier,de[ve+2].x*te,de[ve+2].y*ee,de[ve].x*te,de[ve].y*ee,de[ve+1].x*te,de[ve+1].y*ee));return ge.segments.last().close(),rt(de),se.spot1=new go.Spot(.222,.222),se.spot2=new go.Spot(.777,.777),se}),go.Shape.setFigureParameter("FramedRectangle",0,new Re("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Re("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(De,te,ee){var de=De?De.parameter1:NaN,se=De?De.parameter2:NaN;isNaN(de)&&(de=8),isNaN(se)&&(se=8);var ge=new go.Geometry,ve=new go.PathFigure(0,0,!0);return ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de<te/2&&se<ee/2&&(ve.add(new go.PathSegment(go.PathSegment.Move,de,se)),ve.add(new go.PathSegment(go.PathSegment.Line,de,ee-se)),ve.add(new go.PathSegment(go.PathSegment.Line,te-de,ee-se)),ve.add(new go.PathSegment(go.PathSegment.Line,te-de,se).close())),ge.setSpots(0,0,1,1,de,se,-de,-se),ge}),go.Shape.setFigureParameter("Ring",0,new Re("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=8);var se=te/2,ge=new go.Geometry,ve=new go.PathFigure(te,te/2,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Arc,0,360,se,se,se,se).close());var be=Math.max(se-de,0);return be>0&&(ve.add(new go.PathSegment(go.PathSegment.Move,te/2+be,te/2)),ve.add(new go.PathSegment(go.PathSegment.Arc,0,-360,se,se,be,be).close())),ge.spot1=Ye,ge.spot2=Pe,ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Cloud",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.08034461*te,.1944299*ee,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*te,.05349299*ee,-.09239631*te,.07836421*ee,.1406031*te,-.0542823*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*te,.074219*ee,.2450511*te,-.00697547*ee,.3776197*te,-.01112067*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*te,.07004196*ee,.4539471*te,0,.6066018*te,-.02526587*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*te,.08370865*ee,.6914277*te,-.01904177*ee,.8921095*te,-.01220843*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*te,.3194596*ee,1.036446*te,.04105738*ee,1.020377*te,.3022052*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*te,.562044*ee,1.04448*te,.360238*ee,.992256*te,.5219009*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*te,.8217117*ee,1.032337*te,.5771781*ee,1.018411*te,.8120651*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*te,.9156953*ee,1.028411*te,.9571472*ee,.8556702*te,1.052487*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*te,.9310455*ee,.7431877*te,1.009325*ee,.5624123*te,1.021761*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*te,.9344623*ee,.4820677*te,1.031761*ee,.3030112*te,1.002796*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.870098*ee,.2329994*te,1.01518*ee,.03213784*te,1.01518*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*te,.6545475*ee,-.02812061*te,.9032597*ee,-.01205169*te,.6835638*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*te,.4265613*ee,-.01812061*te,.6089503*ee,-.00606892*te,.4555777*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.1944299*ee,-.01606892*te,.3892545*ee,-.01205169*te,.1944299*ee))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(De,te,ee){var de=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(de*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,de*ee)).add(new go.PathSegment(go.PathSegment.Line,te,(1-de)*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ee)).add(new go.PathSegment(go.PathSegment.Line,de*te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,(1-de)*ee)).add(new go.PathSegment(go.PathSegment.Line,0,de*ee).close())).setSpots(de/2,de/2,1-de/2,1-de/2)}),go.Shape.setFigureParameter("Pie",0,new Re("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Re("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(De,te,ee){var de=De?De.parameter1:NaN,se=De?De.parameter2:NaN;isNaN(de)&&(de=0),isNaN(se)&&(se=315);var ge=de%360;ge<0&&(ge+=360);var ve=se%360,be=Math.min(te,ee)/2;return new go.Geometry().add(new go.PathFigure(be,be).add(new go.PathSegment(go.PathSegment.Arc,ge,ve,be,be,be,be).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(De,te,ee){var de=Ue/Math.SQRT2*.5,se=Math.SQRT2/2,ge=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(te,ee,!0).add(new go.PathSegment(go.PathSegment.Bezier,se*te,ge*ee,te,(1-de)*ee,(se+de)*te,(ge+de)*ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Re("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=30);var se=Math.min(de,te)/2,ge=te/2,ve=ee/2;return new go.Geometry().add(new go.PathFigure(ge-se,0,!0).add(new go.PathSegment(go.PathSegment.Line,ge+se,0)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ee)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ee)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve-se)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve-se).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Re("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=10);var se=Math.min(de,te)/2,ge=te/2,ve=ee/2;return new go.Geometry().add(new go.PathFigure(ge-se,0,!0).add(new go.PathSegment(go.PathSegment.Line,ge+se,0)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve-se)).add(new go.PathSegment(go.PathSegment.Line,te,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ee)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ee)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve+se)).add(new go.PathSegment(go.PathSegment.Line,0,ve-se)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ve-se).close()))}),go.Shape.setFigureParameter("ThickX",0,new Re("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(De,te,ee){var de=De?De.parameter1:NaN;if((isNaN(de)||de<0)&&(de=30),te===0||ee===0){var se=new go.Geometry(go.Geometry.Rectangle);return se.startX=0,se.startY=0,se.endX=te,se.endY=ee,se}else{var ge=te/2,ve=ee/2,be=Math.atan2(ee,te),we=de-Math.min(Math.cos(be)*de/2,ge),Oe=de-Math.min(Math.sin(be)*de/2,ve),se=new go.Geometry,Ke=new go.PathFigure(we,0,!0);return se.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,ge,.2*ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,te-we,0)),Ke.add(new go.PathSegment(go.PathSegment.Line,te,Oe)),Ke.add(new go.PathSegment(go.PathSegment.Line,.8*te,ve)),Ke.add(new go.PathSegment(go.PathSegment.Line,te,ee-Oe)),Ke.add(new go.PathSegment(go.PathSegment.Line,te-we,ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,ge,.8*ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,we,ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,ee-Oe)),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*te,ve)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,Oe).close()),se}}),go.Shape.setFigureParameter("ThinX",0,new Re("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=10);var se=new go.Geometry,ge=new go.PathFigure(.1*te,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.1*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.9*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.9*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee).close()),se}),go.Shape.setFigureParameter("SquareIBeam",0,new Re("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.2);var se=new go.Geometry,ge=new go.PathFigure(0,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,de*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5+de/2)*te,de*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5+de/2)*te,(1-de)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,(1-de)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,(1-de)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5-de/2)*te,(1-de)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5-de/2)*te,de*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,de*ee).close()),se}),go.Shape.setFigureParameter("RoundedIBeam",0,new Re("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.5);var se=new go.Geometry,ge=new go.PathFigure(0,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,ee,Math.abs(1-de)*te,.25*ee,Math.abs(1-de)*te,.75*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,de*te,.75*ee,de*te,.25*ee).close()),se}),go.Shape.defineFigureGenerator("HalfEllipse",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,Ue*te,0,te,(.5-Ue/2)*ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,te,(.5+Ue/2)*ee,Ue*te,ee).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ee,te,0,te,ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*te,.75*ee,.5*te,.25*ee).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.5*te,ee,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ee,.1*te,.8*ee,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ee,0,0,.45*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ee,.55*te,0,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,.5*ee,.9*te,.8*ee).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.5*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*te,.01*ee)).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,.6*te,.2*ee,te,.25*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.7*ee,te,.8*ee,.6*te,.8*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ee,.5*te,.75*ee,.55*te,.95*ee)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ee)).add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.7*ee,.45*te,.95*ee,.5*te,.75*ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,.4*te,.8*ee,0,.8*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.49*te,.01*ee,0,.25*ee,.4*te,.2*ee).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.4*te,.6*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.15*te,ee,.5*te,.75*ee,.45*te,.95*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.6*ee,.55*te,.95*ee,.5*te,.75*ee));var ge=.2,ve=.3,be=0,we=ge*Ue;return se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5+ge+be)*ee,(.5-ge+ve)*te,(.5+we+be)*ee,(.5-we+ve)*te,(.5+ge+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ge+ve)*te,(.5+be)*ee,(.5+we+ve)*te,(.5+ge+be)*ee,(.5+ge+ve)*te,(.5+we+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5-ge+be)*ee,(1-.5+ge+ve)*te,(.5-we+be)*ee,(.5+we+ve)*te,(.5-ge+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.65*te,.36771243*ee,(.5-we+ve)*te,(.5-ge+be)*ee,(.5-ge+ve+.05)*te,(.5-we+be-.02)*ee)),ge=.2,ve=0,be=-.3,we=ge*Ue,se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ge+ve)*te,(.5+be)*ee,(.5+we+ve)*te,(.5+ge+be)*ee,(.5+ge+ve)*te,(.5+we+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5-ge+be)*ee,(1-.5+ge+ve)*te,(.5-we+be)*ee,(.5+we+ve)*te,(.5-ge+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ve)*te,(.5+be)*ee,(.5-we+ve)*te,(.5-ge+be)*ee,(.5-ge+ve)*te,(.5-we+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-we+ve)*te,(.5+ge+be)*ee,(.5-ge+ve)*te,(.5+we+be)*ee,(.5-we+ve)*te,(.5+ge+be)*ee)),ge=.2,ve=-.3,be=0,we=ge*Ue,se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5-ge+be)*ee,(1-.5+ge+ve-.05)*te,(.5-we+be-.02)*ee,(.5+we+ve)*te,(.5-ge+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ve)*te,(.5+be)*ee,(.5-we+ve)*te,(.5-ge+be)*ee,(.5-ge+ve)*te,(.5-we+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ve)*te,(.5+ge+be)*ee,(.5-ge+ve)*te,(.5+we+be)*ee,(.5-we+ve)*te,(.5+ge+be)*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.6*ee,(.5+we+ve)*te,(.5+ge+be)*ee,(.5+ge+ve)*te,(.5+we+be)*ee).close()),de.setSpots(.06,.33,.93,.68),de}),go.Shape.defineFigureGenerator("YinYang",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*.5,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*.5,te*.5,te*.5,te*.5)),se.add(new go.PathSegment(go.PathSegment.Arc,90,-180,te*.5,te*.75,te*.25,te*.25)),se.add(new go.PathSegment(go.PathSegment.Arc,90,180,te*.5,te*.25,te*.25,te*.25));var ge=.1,ve=.5,be=.25;return se.add(new go.PathSegment(go.PathSegment.Move,(ve+ge)*te,be*ee)),se.add(new go.PathSegment(go.PathSegment.Arc,0,-360,te*ve,ee*be,ge*te,ge*te).close()),se=new go.PathFigure(te*.5,0,!1),de.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*.5,te*.5,te*.5,te*.5)),be=.75,se=new go.PathFigure((ve+ge)*te,be*ee,!0),de.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,0,360,te*ve,ee*be,ge*te,ge*te).close()),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("Peace",function(De,te,ee){var de=.8535533905932737,se=.5*te,ge=.5*ee;return new go.Geometry().add(new go.PathFigure(se,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,se,ge,se,ge)).add(new go.PathSegment(go.PathSegment.Line,se,ee)).add(new go.PathSegment(go.PathSegment.Move,se,ge)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,de*ee)).add(new go.PathSegment(go.PathSegment.Move,se,ge)).add(new go.PathSegment(go.PathSegment.Line,de*te,de*ee)))}),go.Shape.defineFigureGenerator("NotAllowed",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=.5,ve=.5,be=.5,we=new go.PathFigure(ve*te,(be-ge)*ee);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),ge=.4,se=Ue*.4;var Oe=ce(),Ke=ce(),qe=ce(),lt=ce();ke(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.42,Oe,Ke,qe,lt,lt);var at=ce(),ft=ce(),pt=ce();ke(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.58,lt,lt,pt,at,ft);var Nt=ce(),Xt=ce(),Zt=ce();ke(ve,be+ge,ve-se,be+ge,ve-ge,be+se,ve-ge,be,.42,Nt,Xt,Zt,lt,lt);var yn=ce(),Ln=ce(),on=ce();return ke(ve,be+ge,ve-se,be+ge,ve-ge,be+se,ve-ge,be,.58,lt,lt,on,yn,Ln),we.add(new go.PathSegment(go.PathSegment.Move,on.x*te,on.y*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,yn.x*te,yn.y*ee,Ln.x*te,Ln.y*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,qe.x*te,qe.y*ee,Oe.x*te,Oe.y*ee,Ke.x*te,Ke.y*ee)),we.add(new go.PathSegment(go.PathSegment.Line,on.x*te,on.y*ee).close()),we.add(new go.PathSegment(go.PathSegment.Move,Zt.x*te,Zt.y*ee)),we.add(new go.PathSegment(go.PathSegment.Line,pt.x*te,pt.y*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,at.x*te,at.y*ee,ft.x*te,ft.y*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,Zt.x*te,Zt.y*ee,Nt.x*te,Nt.y*ee,Xt.x*te,Xt.y*ee).close()),Ae(Oe),Ae(Ke),Ae(qe),Ae(lt),Ae(at),Ae(ft),Ae(pt),Ae(Nt),Ae(Xt),Ae(Zt),Ae(yn),Ae(Ln),Ae(on),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("Fragile",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*te,0)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.15*ee)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.25*ee)).add(new go.PathSegment(go.PathSegment.Line,.29*te,.33*ee)).add(new go.PathSegment(go.PathSegment.Line,.35*te,.25*ee)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.15*ee)).add(new go.PathSegment(go.PathSegment.Line,.4*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.5*ee,te,.25*ee,.75*te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)).add(new go.PathSegment(go.PathSegment.Line,.3*te,ee)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ee)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.5*ee,0,.25*ee).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Re("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=30),de>te&&(de=te);var se=(te-de)/2,ge=se+de;return new go.Geometry().add(new go.PathFigure(ge,.5*ee).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Line,se,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,.55*ee).add(new go.PathSegment(go.PathSegment.Line,.6*te,0)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.45*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.45*ee)).add(new go.PathSegment(go.PathSegment.Line,.4*te,ee)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.55*ee).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(De,te,ee){var de=new go.Geometry,se=Ue*.4,ge=.4,ve=.5,be=.5,we=ce(),Oe=ce(),Ke=ce(),qe=ce(),lt=new go.PathFigure((ve-ge)*te,be*ee,!1);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee)),ke(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.44,Ke,qe,Oe,we,we),lt.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*te,Oe.y*ee,Ke.x*te,Ke.y*ee,qe.x*te,qe.y*ee));var at=ue(Oe.x,Oe.y);ke(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.56,we,we,Oe,Ke,qe);var ft=ue(Oe.x,Oe.y);lt.add(new go.PathSegment(go.PathSegment.Line,(at.x*.1+.95*.9)*te,at.y*.1*ee)),lt.add(new go.PathSegment(go.PathSegment.Line,.85*te,at.y*.1*ee)),lt.add(new go.PathSegment(go.PathSegment.Line,.85*te,0)),lt.add(new go.PathSegment(go.PathSegment.Line,te,0)),lt.add(new go.PathSegment(go.PathSegment.Line,te,.15*ee)),lt.add(new go.PathSegment(go.PathSegment.Line,(ft.x*.1+.9)*te,.15*ee)),lt.add(new go.PathSegment(go.PathSegment.Line,(ft.x*.1+.9)*te,(ft.y*.1+.05*.9)*ee)),lt.add(new go.PathSegment(go.PathSegment.Line,ft.x*te,ft.y*ee)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,Ke.x*te,Ke.y*ee,qe.x*te,qe.y*ee)),lt.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,(ve-se)*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee)),ge=.35,se=Ue*.35;var pt=new go.PathFigure(ve*te,(be-ge)*ee,!1);de.add(pt),pt.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),pt.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee)),pt.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),pt.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee));var Nt=new go.PathFigure((ve-ge)*te,be*ee,!1);return de.add(Nt),Ae(we),Ae(Oe),Ae(Ke),Ae(qe),Ae(at),Ae(ft),de.spot1=new go.Spot(.202,.257),de.spot2=new go.Spot(.792,.739),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("GenderFemale",function(De,te,ee){var de=new go.Geometry,se=.375,ge=0,ve=-.125,be=se*Ue,we=new go.PathFigure((.525+ge)*te,(.5+se+ve)*ee,!1);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+se+ge)*te,(.5+ve)*ee,(.5+be+ge)*te,(.5+se+ve)*ee,(.5+se+ge)*te,(.5+be+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5-se+ve)*ee,(1-.5+se+ge)*te,(.5-be+ve)*ee,(.5+be+ge)*te,(.5-se+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ve)*ee,(.5-be+ge)*te,(.5-se+ve)*ee,(.5-se+ge)*te,(.5-be+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ge)*te,(.5+se+ve)*ee,(.5-se+ge)*te,(.5+be+ve)*ee,(.5-be+ge)*te,(.5+se+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.475*te,.85*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.425*te,.85*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.425*te,.9*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.475*te,.9*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.475*te,ee)),we.add(new go.PathSegment(go.PathSegment.Line,.525*te,ee)),we.add(new go.PathSegment(go.PathSegment.Line,.525*te,.9*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.575*te,.9*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.575*te,.85*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ee).close()),se=.325,ge=0,ve=-.125,be=se*Ue;var we=new go.PathFigure((1-.5+se+ge)*te,(.5+ve)*ee,!1);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5+se+ve)*ee,(.5+se+ge)*te,(.5+be+ve)*ee,(.5+be+ge)*te,(.5+se+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ve)*ee,(.5-be+ge)*te,(.5+se+ve)*ee,(.5-se+ge)*te,(.5+be+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5-se+ve)*ee,(.5-se+ge)*te,(.5-be+ve)*ee,(.5-be+ge)*te,(.5-se+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+se+ge)*te,(.5+ve)*ee,(.5+be+ge)*te,(.5-se+ve)*ee,(1-.5+se+ge)*te,(.5-be+ve)*ee));var we=new go.PathFigure((.525+ge)*te,(.5+se+ve)*ee,!1);return de.add(we),de.spot1=new go.Spot(.232,.136),de.spot2=new go.Spot(.682,.611),de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("LogicImplies",function(De,te,ee){var de=De?De.parameter1:NaN;return isNaN(de)&&(de=.2),new go.Geometry().add(new go.PathFigure((1-de)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ee)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(De,te,ee){var de=De?De.parameter1:NaN;return isNaN(de)&&(de=.2),new go.Geometry().add(new go.PathFigure((1-de)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,(1-de)*te,ee)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Move,de*te,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,de*te,ee))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)))}),go.Shape.defineFigureGenerator("LogicAnd",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)).add(new go.PathSegment(go.PathSegment.Line,te,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(De,te,ee){var de=new go.Geometry().add(new go.PathFigure(.5*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*te,.5*ee,.5*te,.5*ee)));return de.defaultStretch=go.GraphObject.Uniform,de}),go.Shape.defineFigureGenerator("LogicTruth",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Move,.5*te,ee)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Move,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee)))}),go.Shape.defineFigureGenerator("LogicForAll",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ee))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)).add(new go.PathSegment(go.PathSegment.Move,0,ee)).add(new go.PathSegment(go.PathSegment.Line,te,ee))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(De,te,ee){var de=.5;return new go.Geometry().add(new go.PathFigure(0,ee,!1).add(new go.PathSegment(go.PathSegment.Line,0,de*ee)).add(new go.PathSegment(go.PathSegment.Arc,180,180,de*te,de*ee,de*te,de*ee)).add(new go.PathSegment(go.PathSegment.Line,te,ee))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(De,te,ee){var de=.5;return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,de*ee)).add(new go.PathSegment(go.PathSegment.Arc,0,180,de*te,de*ee,de*te,de*ee)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Re("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Re("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.3);var se=De?De.parameter2:NaN;isNaN(se)&&(se=.3);var ge=(1-de)*te,ve=(.5-se/2)*ee,be=(.5+se/2)*ee,we=new go.Geometry,Oe=new go.PathFigure(0,ve,!0);we.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,ve)),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,0)),Oe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,be)),Oe.add(new go.PathSegment(go.PathSegment.Line,0,be).close()),we.spot1=new go.Spot(0,ve/ee);var Ke=Fe(0,be/ee,1,be/ee,ge/te,1,1,.5,ce());return we.spot2=new go.Spot(Ke.x,Ke.y),Ae(Ke),we}),go.Shape.setFigureParameter("Arrow2",0,new Re("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Re("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=30),de>te&&(de=te);var se=De?De.parameter2:NaN;isNaN(se)&&(se=30),se=Math.min(se,ee/2);var ge=te-de,ve=(ee-se)/2,be=ve+se,we=new go.Geometry,Oe=new go.PathFigure(0,ve,!0);we.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,ve)),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,0)),Oe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,ge,be)),Oe.add(new go.PathSegment(go.PathSegment.Line,0,be).close()),we.spot1=new go.Spot(0,ve/ee);var Ke=Fe(0,be/ee,1,be/ee,ge/te,1,1,.5,ce());return we.spot2=new go.Spot(Ke.x,Ke.y),Ae(Ke),we}),go.Shape.defineFigureGenerator("Chevron",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee).close()),de}),go.Shape.defineFigureGenerator("DoubleArrow",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.214*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,1*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.786*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,1*ee).close()),de}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Re("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.3);var se=(.5-de/2)*ee,ge=(.5+de/2)*ee,ve=new go.Geometry,be=new go.PathFigure(te,.5*ee,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),be.add(new go.PathSegment(go.PathSegment.Line,.3*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close());var we=Fe(0,.5,.3,0,0,se/ee,.1,se/ee,ce());return ve.spot1=new go.Spot(we.x,we.y),we=Fe(.7,1,1,.5,0,ge/ee,1,ge/ee,we),ve.spot2=new go.Spot(we.x,we.y),Ae(we),ve}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Re("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Re("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=40);var se=De?De.parameter2:NaN;isNaN(se)&&(se=100);var ge=(ee-de)/2,ve=ge+de,be=(ee-se)/2,we=be+se;(de>ee||se>ee)&&(se>de?(de=de*ee/se,ge=(ee-de)/2,ve=ge+de,be=0,we=ee):(ge=0,ve=ee,be=0,we=ee));var Oe=new go.Geometry,Ke=new go.PathFigure(te,.5*ee,!0);Oe.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,we)),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,ve)),Ke.add(new go.PathSegment(go.PathSegment.Line,.3*te,ve)),Ke.add(new go.PathSegment(go.PathSegment.Line,.3*te,we)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,.3*te,be)),Ke.add(new go.PathSegment(go.PathSegment.Line,.3*te,ge)),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,be).close());var qe=Fe(0,.5,.3,be/ee,0,ge/ee,1,ge/ee,ce());return Oe.spot1=new go.Spot(qe.x,qe.y),qe=Fe(.7,we/ee,1,.5,0,ve/ee,1,ve/ee,qe),Oe.spot2=new go.Spot(qe.x,qe.y),Ae(qe),Oe}),go.Shape.setFigureParameter("IBeamArrow",0,new Re("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.3);var se=(.5-de/2)*ee,ge=(.5+de/2)*ee,ve=new go.Geometry,be=new go.PathFigure(te,.5*ee,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,0,ee)),be.add(new go.PathSegment(go.PathSegment.Line,0,0)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ve.spot1=new go.Spot(0,se/ee);var we=Fe(.7,1,1,.5,0,ge/ee,1,ge/ee,ce());return ve.spot2=new go.Spot(we.x,we.y),Ae(we),ve}),go.Shape.setFigureParameter("IBeamArrow2",0,new Re("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Re("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=40);var se=De?De.parameter2:NaN;isNaN(se)&&(se=100);var ge=(ee-de)/2,ve=ge+de,be=(ee-se)/2,we=be+se;(de>ee||se>ee)&&(se>de?(de=de*ee/se,ge=(ee-de)/2,ve=ge+de,be=0,we=ee):(ge=0,ve=ee,be=0,we=ee));var Oe=new go.Geometry,Ke=new go.PathFigure(te,.5*ee,!0);Oe.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,we)),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,ve)),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*te,ve)),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*te,we)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,we)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,be)),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*te,be)),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*te,ge)),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ke.add(new go.PathSegment(go.PathSegment.Line,.7*te,be).close()),Oe.spot1=new go.Spot(0,ge/ee);var qe=Fe(.7,we/ee,1,.5,0,ve/ee,1,ve/ee,ce());return Oe.spot2=new go.Spot(qe.x,qe.y),Ae(qe),Oe}),go.Shape.setFigureParameter("Pointer",0,new Re("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.1);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ee,!0);se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,de*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),se.spot1=new go.Spot(de,.35);var ve=Fe(.2,.65,1,.65,0,1,1,.5,ce());return se.spot2=new go.Spot(ve.x,ve.y),Ae(ve),se}),go.Shape.setFigureParameter("RoundedPointer",0,new Re("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.3);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ee,!0);se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,de*te,.75*ee,de*te,.25*ee).close()),se.spot1=new go.Spot(de,.35);var ve=Fe(0,.65,1,.65,0,1,1,.5,ce());return se.spot2=new go.Spot(ve.x,ve.y),Ae(ve),se}),go.Shape.setFigureParameter("SplitEndArrow",0,new Re("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.4);var se=(.5-de/2)*ee,ge=(.5+de/2)*ee,ve=new go.Geometry,be=new go.PathFigure(te,.5*ee,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,0,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,0,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ve.spot1=new go.Spot(.2,.3);var we=Fe(.7,1,1,.5,0,ge/ee,1,ge/ee,ce());return ve.spot2=new go.Spot(we.x,we.y),Ae(we),ve}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Re("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=50);var se=(ee-de)/2,ge=se+de;de>ee&&(se=0,ge=ee);var ve=new go.Geometry,be=new go.PathFigure(te,.5*ee,!0);ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),be.add(new go.PathSegment(go.PathSegment.Line,0,ge)),be.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,0,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),be.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ve.spot1=new go.Spot(.2,se/ee);var we=Fe(.7,1,1,.5,0,ge/ee,1,ge/ee,ce());return ve.spot2=new go.Spot(we.x,we.y),Ae(we),ve}),go.Shape.setFigureParameter("SquareArrow",0,new Re("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.7);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ee,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,de*te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,de*te,0).close()),se.spot1=go.Spot.TopLeft,se.spot2=new go.Spot(de,1),se}),go.Shape.defineFigureGenerator("Cone1",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=Ue*.1,ve=new go.PathFigure(0,.9*ee,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,(.9+ge)*ee,(.5+se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,(.5-se)*te,ee,0,(.9+ge)*ee).close()),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.97),de}),go.Shape.defineFigureGenerator("Cone2",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.9*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ee,(1-.85/.9)*te,ee,.85/.9*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.9*ee).close());var ge=new go.PathFigure(0,.9*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ee,(1-.85/.9)*te,.8*ee,.85/.9*te,.8*ee)),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.82),de}),go.Shape.defineFigureGenerator("Cube1",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.15*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.85*ee).close());var ge=new go.PathFigure(.5*te,ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.15*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.5*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.15*ee)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(.5,.85),de}),go.Shape.defineFigureGenerator("Cube2",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.3*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0).close());var ge=new go.PathFigure(0,.3*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Move,.7*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,ee)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(.7,1),de}),go.Shape.defineFigureGenerator("Cylinder1",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,ee/3);var se=new go.Geometry,ge=Ue*.5,ve=new go.PathFigure(0,de,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,Ue*de,(.5-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,1*te,de,(.5+ge)*te,0,1*te,Ue*de)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee-de)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,1*ee,1*te,ee-Ue*de,(.5+ge)*te,1*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-de,(.5-ge)*te,1*ee,0,ee-Ue*de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,de));var be=new go.PathFigure(te,de,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,2*de,1*te,2*de-Ue*de,(.5+ge)*te,2*de)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,de,(.5-ge)*te,2*de,0,2*de-Ue*de)),se.spot1=new go.Spot(0,0,0,2*de),se.spot2=new go.Spot(1,1),se}),go.Shape.defineFigureGenerator("Cylinder2",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,ee/3);var se=new go.Geometry,ge=Ue*.5,ve=new go.PathFigure(0,ee-de,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,0,de)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,Ue*de,(.5-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,de,(.5+ge)*te,0,te,Ue*de)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee-de)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,ee-Ue*de,(.5+ge)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-de,(.5-ge)*te,ee,0,ee-Ue*de));var be=new go.PathFigure(0,ee-de,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee-2*de,0,ee-de-Ue*de,(.5-ge)*te,ee-2*de)),be.add(new go.PathSegment(go.PathSegment.Bezier,te,ee-de,(.5+ge)*te,ee-2*de,te,ee-de-Ue*de)),se.spot1=new go.Spot(0,0),se.spot2=new go.Spot(1,1,0,-2*de),se}),go.Shape.defineFigureGenerator("Cylinder3",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,te/3);var se=new go.Geometry,ge=Ue*.5,ve=new go.PathFigure(de,0,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te-de,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,te-Ue*de,0,te,(.5-ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ee,te,(.5+ge)*ee,te-Ue*de,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,de,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,Ue*de,ee,0,(.5+ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,(.5-ge)*ee,Ue*de,0));var be=new go.PathFigure(de,0,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,2*de,.5*ee,de+Ue*de,0,2*de,(.5-ge)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,de,ee,2*de,(.5+ge)*ee,de+Ue*de,ee)),se.spot1=new go.Spot(0,0,2*de,0),se.spot2=new go.Spot(1,1),se}),go.Shape.defineFigureGenerator("Cylinder4",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=5),de=Math.min(de,te/3);var se=new go.Geometry,ge=Ue*.5,ve=new go.PathFigure(te-de,0,!0);se.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,te-Ue*de,0,te,(.5-ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ee,te,(.5+ge)*ee,te-Ue*de,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,de,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,Ue*de,ee,0,(.5+ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,(.5-ge)*ee,Ue*de,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te-de,0));var be=new go.PathFigure(te-de,0,!1);return se.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,te-2*de,.5*ee,te-de-Ue*de,0,te-2*de,(.5-ge)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ee,te-2*de,(.5+ge)*ee,te-de-Ue*de,ee)),se.spot1=new go.Spot(0,0),se.spot2=new go.Spot(1,1,-2*de,0),se}),go.Shape.defineFigureGenerator("Prism1",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.25*te,.25*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ge=new go.PathFigure(.25*te,.25*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),de.spot1=new go.Spot(.408,.172),de.spot2=new go.Spot(.833,.662),de}),go.Shape.defineFigureGenerator("Prism2",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.25*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ge=new go.PathFigure(0,ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,0,.25*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ee)),de.spot1=new go.Spot(.25,.5),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("Pyramid1",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ee).close());var ge=new go.PathFigure(.5*te,0,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),de.spot1=new go.Spot(.25,.367),de.spot2=new go.Spot(.75,.875),de}),go.Shape.defineFigureGenerator("Pyramid2",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.85*ee).close());var ge=new go.PathFigure(.5*te,0,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.85*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.85*ee)),de.spot1=new go.Spot(.25,.367),de.spot2=new go.Spot(.75,.875),de}),go.Shape.defineFigureGenerator("Actor",function(De,te,ee){var de=new go.Geometry,se=.2,ge=.1,ve=Ue*se,be=Ue*ge,we=.5,Oe=.1,Ke=new go.PathFigure(we*te,(Oe+ge)*ee,!0);de.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(we-se)*te,Oe*ee,(we-ve)*te,(Oe+ge)*ee,(we-se)*te,(Oe+be)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-ge)*ee,(we-se)*te,(Oe-be)*ee,(we-ve)*te,(Oe-ge)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(we+se)*te,Oe*ee,(we+ve)*te,(Oe-ge)*ee,(we+se)*te,(Oe-be)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe+ge)*ee,(we+se)*te,(Oe+be)*ee,(we+ve)*te,(Oe+ge)*ee));var qe=.05,lt=Ue*qe;we=.05,Oe=.25;var at=new go.PathFigure(.5*te,.2*ee,!0);return de.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.95*te,.2*ee)),we=.95,Oe=.25,at.add(new go.PathSegment(go.PathSegment.Bezier,(we+qe)*te,Oe*ee,(we+lt)*te,(Oe-qe)*ee,(we+qe)*te,(Oe-lt)*ee)),at.add(new go.PathSegment(go.PathSegment.Line,te,.6*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.85*te,.35*ee)),qe=.025,lt=Ue*qe,we=.825,Oe=.35,at.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-qe)*ee,(we+qe)*te,(Oe-lt)*ee,(we+lt)*te,(Oe-qe)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(we-qe)*te,Oe*ee,(we-lt)*te,(Oe-qe)*ee,(we-qe)*te,(Oe-lt)*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.8*te,ee)),at.add(new go.PathSegment(go.PathSegment.Line,.55*te,ee)),at.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ee)),qe=.05,lt=Ue*qe,we=.5,Oe=.7,at.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-qe)*ee,(we+qe)*te,(Oe-lt)*ee,(we+lt)*te,(Oe-qe)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(we-qe)*te,Oe*ee,(we-lt)*te,(Oe-qe)*ee,(we-qe)*te,(Oe-lt)*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.45*te,ee)),at.add(new go.PathSegment(go.PathSegment.Line,.2*te,ee)),at.add(new go.PathSegment(go.PathSegment.Line,.2*te,.35*ee)),qe=.025,lt=Ue*qe,we=.175,Oe=.35,at.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-qe)*ee,(we+qe)*te,(Oe-lt)*ee,(we+lt)*te,(Oe-qe)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(we-qe)*te,Oe*ee,(we-lt)*te,(Oe-qe)*ee,(we-qe)*te,(Oe-lt)*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ee)),at.add(new go.PathSegment(go.PathSegment.Line,0,.6*ee)),at.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),qe=.05,lt=Ue*qe,we=.05,Oe=.25,at.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-qe)*ee,(we-qe)*te,(Oe-lt)*ee,(we-lt)*te,(Oe-qe)*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ee)),de.spot1=new go.Spot(.2,.2),de.spot2=new go.Spot(.8,.65),de}),go.Shape.setFigureParameter("Card",0,new Re("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(De,te,ee){var de=De?De.parameter1:NaN;isNaN(de)&&(de=.2);var se=new go.Geometry,ge=new go.PathFigure(te,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,de*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,de*te,0).close()),se.spot1=new go.Spot(0,de),se.spot2=go.Spot.BottomRight,se}),go.Shape.defineFigureGenerator("Collate",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,.5*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee));var ge=new go.PathFigure(.5*te,.5*ee,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),de.spot1=new go.Spot(.25,0),de.spot2=new go.Spot(.75,.25),de}),go.Shape.defineFigureGenerator("CreateRequest",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ve=new go.PathFigure(0,se*ee,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,se*ee)),ve.add(new go.PathSegment(go.PathSegment.Move,0,(1-se)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,(1-se)*ee)),de}),go.Shape.defineFigureGenerator("Database",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=Ue*.1,ve=new go.PathFigure(te,.1*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,(.9+ge)*ee,(.5+se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,(.5-se)*te,ee,0,(.9+ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-ge)*ee,(.5-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ee,(.5+se)*te,0,te,(.1-ge)*ee));var be=new go.PathFigure(te,.1*ee,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ee,te,(.1+ge)*ee,(.5+se)*te,.2*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ee,(.5-se)*te,.2*ee,0,(.1+ge)*ee)),be.add(new go.PathSegment(go.PathSegment.Move,te,.2*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ee,te,(.2+ge)*ee,(.5+se)*te,.3*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ee,(.5-se)*te,.3*ee,0,(.2+ge)*ee)),be.add(new go.PathSegment(go.PathSegment.Move,te,.3*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.4*ee,te,(.3+ge)*ee,(.5+se)*te,.4*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ee,(.5-se)*te,.4*ee,0,(.3+ge)*ee)),de.spot1=new go.Spot(0,.4),de.spot2=new go.Spot(1,.9),de}),go.Shape.defineFigureGenerator("DataStorage",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ee,te,0,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.9*ee,.25*te,.1*ee).close()),de.spot1=new go.Spot(.226,0),de.spot2=new go.Spot(.81,1),de}),go.Shape.defineFigureGenerator("DiskStorage",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=Ue*.1,ve=new go.PathFigure(te,.1*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,(.9+ge)*ee,(.5+se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,(.5-se)*te,ee,0,(.9+ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-ge)*ee,(.5-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ee,(.5+se)*te,0,te,(.1-ge)*ee));var be=new go.PathFigure(te,.1*ee,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ee,te,(.1+ge)*ee,(.5+se)*te,.2*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ee,(.5-se)*te,.2*ee,0,(.1+ge)*ee)),be.add(new go.PathSegment(go.PathSegment.Move,te,.2*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ee,te,(.2+ge)*ee,(.5+se)*te,.3*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ee,(.5-se)*te,.3*ee,0,(.2+ge)*ee)),de.spot1=new go.Spot(0,.3),de.spot2=new go.Spot(1,.9),de}),go.Shape.defineFigureGenerator("Display",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.25*te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ee,te,0,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee).close()),de.spot1=new go.Spot(.25,0),de.spot2=new go.Spot(.75,1),de}),go.Shape.defineFigureGenerator("DividedEvent",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)?se=.2:se<.15&&(se=.15);var ge=Ue*.2,ve=new go.PathFigure(0,.2*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,0,(.2-ge)*ee,(.2-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.2*ee,(.8+ge)*te,0,te,(.2-ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.8*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,ee,te,(.8+ge)*ee,(.8+ge)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ee,(.2-ge)*te,ee,0,(.8+ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee));var be=new go.PathFigure(0,se*ee,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,se*ee)),de}),go.Shape.defineFigureGenerator("DividedProcess",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;(isNaN(se)||se<.1)&&(se=.1);var ge=new go.PathFigure(0,0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ve=new go.PathFigure(0,se*ee,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,se*ee)),de}),go.Shape.defineFigureGenerator("Document",function(De,te,ee){var de=new go.Geometry;ee=ee/.8;var se=new go.PathFigure(0,.7*ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.5*te,.4*ee,.5*te,ee).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(1,.6),de}),go.Shape.defineFigureGenerator("ExternalOrganization",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;(isNaN(se)||se<.2)&&(se=.2);var ge=new go.PathFigure(0,0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ve=new go.PathFigure(se*te,0,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,0,se*ee)),ve.add(new go.PathSegment(go.PathSegment.Move,te,se*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Move,0,(1-se)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Move,(1-se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,(1-se)*ee)),de}),go.Shape.defineFigureGenerator("ExternalProcess",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee).close());var ge=new go.PathFigure(.1*te,.4*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.9*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.6*te,.1*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.1*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.4*te,.9*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.9*ee)),de.spot1=new go.Spot(.25,.25),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("File",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ge=new go.PathFigure(.75*te,0,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("Interrupt",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te,.5*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee));var ge=new go.PathFigure(te,.5*ee,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee));var ve=new go.PathFigure(te,.5*ee,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("InternalStorage",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN,ge=De?De.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.1);var ve=new go.PathFigure(0,0,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var be=new go.PathFigure(se*te,0,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,se*te,ee)),be.add(new go.PathSegment(go.PathSegment.Move,0,ge*ee)),be.add(new go.PathSegment(go.PathSegment.Line,te,ge*ee)),de}),go.Shape.defineFigureGenerator("Junction",function(De,te,ee){var de=new go.Geometry,se=1/Math.SQRT2,ge=(1-1/Math.SQRT2)/2,ve=Ue*.5,be=.5,we=new go.PathFigure(te,be*ee,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,be*te,ee,te,(be+ve)*ee,(be+ve)*te,ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,0,be*ee,(be-ve)*te,ee,0,(be+ve)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,be*te,0,0,(be-ve)*ee,(be-ve)*te,0)),we.add(new go.PathSegment(go.PathSegment.Bezier,te,be*ee,(be+ve)*te,0,te,(be-ve)*ee));var Oe=new go.PathFigure((ge+se)*te,(ge+se)*ee,!1);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,ge*te,ge*ee)),Oe.add(new go.PathSegment(go.PathSegment.Move,ge*te,(ge+se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,(ge+se)*te,ge*ee)),de}),go.Shape.defineFigureGenerator("LinedDocument",function(De,te,ee){var de=new go.Geometry;ee=ee/.8;var se=new go.PathFigure(0,.7*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.5*te,.4*ee,.5*te,ee).close());var ge=new go.PathFigure(.1*te,0,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.75*ee)),de.spot1=new go.Spot(.1,0),de.spot2=new go.Spot(1,.6),de}),go.Shape.defineFigureGenerator("LoopLimit",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee).close()),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("MagneticTape",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=.5,ve=new go.PathFigure(.5*te,ee,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ee,(ge-se)*te,ee,0,(ge+se)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ee,(ge-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ee,(ge+se)*te,0,te,(ge-se)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+.1)*te,.9*ee,te,(ge+se)*ee,(ge+se)*te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),de.spot1=new go.Spot(.15,.15),de.spot2=new go.Spot(.85,.8),de}),go.Shape.defineFigureGenerator("ManualInput",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee).close()),de.spot1=new go.Spot(0,.25),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("MessageFromUser",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.7);var ge=new go.PathFigure(0,0,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,se*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de.spot1=go.Spot.TopLeft,de}),go.Shape.defineFigureGenerator("MicroformProcessing",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.25);var ge=new go.PathFigure(0,0,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,se*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,(1-se)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de}),go.Shape.defineFigureGenerator("MicroformRecording",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(1,.75),de}),go.Shape.defineFigureGenerator("MultiDocument",function(De,te,ee){var de=new go.Geometry;ee=ee/.8;var se=new go.PathFigure(te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.44*ee,.96*te,.47*ee,.93*te,.45*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.54*ee,.86*te,.57*ee,.83*te,.55*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.4*te,.4*ee,.4*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,0).close());var ge=new go.PathFigure(.1*te,.2*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.54*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.44*ee)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.8,.77),de}),go.Shape.defineFigureGenerator("MultiProcess",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.1*te,.1*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ee).close());var ge=new go.PathFigure(.2*te,.1*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.1*te,.2*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ee)),de.spot1=new go.Spot(0,.2),de.spot2=new go.Spot(.8,1),de}),go.Shape.defineFigureGenerator("OfflineStorage",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.1);var ge=1-se,ve=new go.PathFigure(0,0,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee).close());var be=new go.PathFigure(.5*se*te,se*ee,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,(1-.5*se)*te,se*ee)),de}),go.Shape.defineFigureGenerator("OffPageConnector",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(.75,1),de}),go.Shape.defineFigureGenerator("Or",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=.5,ve=new go.PathFigure(te,ge*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,ee,te,(ge+se)*ee,(ge+se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ee,(ge-se)*te,ee,0,(ge+se)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ee,(ge-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ee,(ge+se)*te,0,te,(ge-se)*ee));var be=new go.PathFigure(te,.5*ee,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Move,.5*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),de}),go.Shape.defineFigureGenerator("PaperTape",function(De,te,ee){var de=new go.Geometry;ee=ee/.8;var se=new go.PathFigure(0,.7*ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.3*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ee,.5*te,.6*ee,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ee,.5*te,.4*ee,.5*te,ee).close()),de.spot1=new go.Spot(0,.49),de.spot2=new go.Spot(1,.75),de}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN,ge=De?De.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.3);var ve=new go.PathFigure(0,0,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,.5*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN,ge=De?De.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.3);var ve=new go.PathFigure(0,0,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de}),go.Shape.defineFigureGenerator("Procedure",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ve=new go.PathFigure((1-se)*te,0,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Move,se*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ee)),de}),go.Shape.defineFigureGenerator("Process",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ve=new go.PathFigure(se*te,0,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ee)),de.spot2=go.Spot.BottomRight,de}),go.Shape.defineFigureGenerator("Sort",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee).close());var ge=new go.PathFigure(0,.5*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),de.spot1=new go.Spot(.25,.25),de.spot2=new go.Spot(.75,.5),de}),go.Shape.defineFigureGenerator("Start",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.25);var ge=new go.PathFigure(se*te,0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ee,.25*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ee,.25*te,.5*ee));var ve=new go.PathFigure(se*te,0,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,se*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Move,(1-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,ee)),de.spot1=new go.Spot(se,0),de.spot2=new go.Spot(1-se,1),de}),go.Shape.defineFigureGenerator("Terminator",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.25*te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ee,.25*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ee,.25*te,.5*ee)),de.spot1=new go.Spot(.23,0),de.spot2=new go.Spot(.77,1),de}),go.Shape.defineFigureGenerator("TransmittalTape",function(De,te,ee){var de=new go.Geometry,se=De?De.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,(1-se)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,(1-se)*ee).close()),de.spot1=go.Spot.TopLeft,de}),go.Shape.defineFigureGenerator("AndGate",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=new go.PathFigure(0,0,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,(.5+se)*te,0,te,(.5-se)*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,(.5+se)*ee,(.5+se)*te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de.spot1=go.Spot.TopLeft,de.spot2=new go.Spot(.55,1),de}),go.Shape.defineFigureGenerator("Buffer",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("Clock",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=.5,ve=new go.PathFigure(te,ge*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,ee,te,(ge+se)*ee,(ge+se)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ee,(ge-se)*te,ee,0,(ge+se)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ee,(ge-se)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ee,(ge+se)*te,0,te,(ge-se)*ee));var be=new go.PathFigure(te,ge*ee,!1);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,ge*ee));var we=new go.PathFigure(.8*te,.75*ee,!1);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*te,.25*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.6*te,.25*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.6*te,.75*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.4*te,.75*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.4*te,.25*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.2*te,.25*ee)),we.add(new go.PathSegment(go.PathSegment.Line,.2*te,.75*ee)),de}),go.Shape.defineFigureGenerator("Ground",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.3*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.4*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,ee)),de}),go.Shape.defineFigureGenerator("Inverter",function(De,te,ee){var de=new go.Geometry,se=Ue*.1,ge=.1,ve=.9,be=.5,we=new go.PathFigure(.8*te,.5*ee,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,0,ee)),we.add(new go.PathSegment(go.PathSegment.Line,0,0)),we.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ee));var Oe=new go.PathFigure((ve+ge)*te,be*ee,!0);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,(ve-se)*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,(ve+se)*te,(be-ge)*ee,(ve+ge)*te,(be-se)*ee)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.4,.75),de}),go.Shape.defineFigureGenerator("NandGate",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=Ue*.4,ve=Ue*.1,be=.1,we=.9,Oe=.5,Ke=new go.PathFigure(.8*te,.5*ee,!0);de.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ee,.8*te,(.5+ge)*ee,(.4+se)*te,ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,ee)),Ke.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ke.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ee,(.4+se)*te,0,.8*te,(.5-ge)*ee));var qe=new go.PathFigure((we+be)*te,Oe*ee,!0);return de.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe+be)*ee,(we+be)*te,(Oe+ve)*ee,(we+ve)*te,(Oe+be)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(we-be)*te,Oe*ee,(we-ve)*te,(Oe+be)*ee,(we-be)*te,(Oe+ve)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-be)*ee,(we-be)*te,(Oe-ve)*ee,(we-ve)*te,(Oe-be)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(we+be)*te,Oe*ee,(we+ve)*te,(Oe-be)*ee,(we+be)*te,(Oe-ve)*ee)),de.spot1=new go.Spot(0,.05),de.spot2=new go.Spot(.55,.95),de}),go.Shape.defineFigureGenerator("NorGate",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*se,ve=0,be=.5,we=new go.PathFigure(.8*te,.5*ee,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,.7*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ee,.25*te,.25*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ee,(ve+ge)*te,(be-se)*ee,.7*te,(be-ge)*ee)),se=.1,ge=Ue*.1,ve=.9,be=.5;var Oe=new go.PathFigure((ve-se)*te,be*ee,!0);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee)),de.spot1=new go.Spot(.2,.25),de.spot2=new go.Spot(.6,.75),de}),go.Shape.defineFigureGenerator("OrGate",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*se,ve=0,be=.5,we=new go.PathFigure(0,0,!0);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,(ve+ge+ge)*te,(be-se)*ee,.8*te,(be-ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,.8*te,(be+ge)*ee,(ve+ge+ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ee,.25*te,.25*ee).close()),de.spot1=new go.Spot(.2,.25),de.spot2=new go.Spot(.75,.75),de}),go.Shape.defineFigureGenerator("XnorGate",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*se,ve=.2,be=.5,we=new go.PathFigure(.1*te,0,!1);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ee,.35*te,.25*ee,.35*te,.75*ee));var Oe=new go.PathFigure(.8*te,.5*ee,!0);de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ee,.7*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ee,.45*te,.25*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ee,(ve+ge)*te,(be-se)*ee,.7*te,(be-ge)*ee)),se=.1,ge=Ue*.1,ve=.9,be=.5;var Ke=new go.PathFigure((ve-se)*te,be*ee,!0);return de.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee)),de.spot1=new go.Spot(.4,.25),de.spot2=new go.Spot(.65,.75),de}),go.Shape.defineFigureGenerator("XorGate",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*se,ve=.2,be=.5,we=new go.PathFigure(.1*te,0,!1);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ee,.35*te,.25*ee,.35*te,.75*ee));var Oe=new go.PathFigure(.2*te,0,!0);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,(ve+ge)*te,(be-se)*ee,.9*te,(be-ge)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ee,.9*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ee,.45*te,.25*ee).close()),de.spot1=new go.Spot(.4,.25),de.spot2=new go.Spot(.8,.75),de}),go.Shape.defineFigureGenerator("Capacitor",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),de}),go.Shape.defineFigureGenerator("Resistor",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.5*ee,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ee)),de}),go.Shape.defineFigureGenerator("Inductor",function(De,te,ee){var de=new go.Geometry,se=Ue*.1,ge=.1,ve=.1,be=.5,we=new go.PathFigure((ve-se*.5)*te,ee,!1);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ee,(ve-ge)*te,0)),ve=.3,we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,ee,(ve+ge)*te,0,(ve+se)*te,ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ee,(ve-ge)*te,0)),ve=.5,we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,ee,(ve+ge)*te,0,(ve+se)*te,ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ee,(ve-ge)*te,0)),ve=.7,we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,ee,(ve+ge)*te,0,(ve+se)*te,ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,0,(ve-se)*te,ee,(ve-ge)*te,0)),ve=.9,we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se*.5)*te,ee,(ve+ge)*te,0,(ve+se)*te,ee)),de}),go.Shape.defineFigureGenerator("ACvoltageSource",function(De,te,ee){var de=new go.Geometry,se=Ue*.5,ge=.5,ve=.5,be=.5,we=new go.PathFigure((ve-ge)*te,be*ee,!1);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,(ve+se)*te,(be-ge)*ee,(ve+ge)*te,(be-se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,(ve-se)*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Move,(ve-ge+.1)*te,be*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge-.1)*te,be*ee,ve*te,(be-ge)*ee,ve*te,(be+ge)*ee)),de}),go.Shape.defineFigureGenerator("DCvoltageSource",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.75*ee,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),de}),go.Shape.defineFigureGenerator("Diode",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),de.spot1=new go.Spot(0,.25),de.spot2=new go.Spot(.5,.75),de}),go.Shape.defineFigureGenerator("Wifi",function(De,te,ee){var de=new go.Geometry,se=te,ge=ee;te=te*.38,ee=ee*.6;var ve=Ue*.8,be=.8,we=0,Oe=.5,Ke=(se-te)/2,qe=(ge-ee)/2,lt=new go.PathFigure(we*te+Ke,(Oe+be)*ee+qe,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,(we-be)*te+Ke,Oe*ee+qe,(we-ve)*te+Ke,(Oe+be)*ee+qe,(we-be)*te+Ke,(Oe+ve)*ee+qe)),lt.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe-be)*ee+qe,(we-be)*te+Ke,(Oe-ve)*ee+qe,(we-ve)*te+Ke,(Oe-be)*ee+qe)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(we-be+ve*.5)*te+Ke,Oe*ee+qe,we*te+Ke,(Oe-be)*ee+qe,(we-be+ve*.5)*te+Ke,(Oe-ve)*ee+qe)),lt.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe+be)*ee+qe,(we-be+ve*.5)*te+Ke,(Oe+ve)*ee+qe,we*te+Ke,(Oe+be)*ee+qe).close()),ve=Ue*.4,be=.4,we=.2,Oe=.5;var at=new go.PathFigure(we*te+Ke,(Oe+be)*ee+qe,!0);de.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,(we-be)*te+Ke,Oe*ee+qe,(we-ve)*te+Ke,(Oe+be)*ee+qe,(we-be)*te+Ke,(Oe+ve)*ee+qe)),at.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe-be)*ee+qe,(we-be)*te+Ke,(Oe-ve)*ee+qe,(we-ve)*te+Ke,(Oe-be)*ee+qe)),at.add(new go.PathSegment(go.PathSegment.Bezier,(we-be+ve*.5)*te+Ke,Oe*ee+qe,we*te+Ke,(Oe-be)*ee+qe,(we-be+ve*.5)*te+Ke,(Oe-ve)*ee+qe)),at.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe+be)*ee+qe,(we-be+ve*.5)*te+Ke,(Oe+ve)*ee+qe,we*te+Ke,(Oe+be)*ee+qe).close()),ve=Ue*.2,be=.2,we=.5,Oe=.5;var ft=new go.PathFigure((we-be)*te+Ke,Oe*ee+qe,!0);de.add(ft),ft.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe-be)*ee+qe,(we-be)*te+Ke,(Oe-ve)*ee+qe,(we-ve)*te+Ke,(Oe-be)*ee+qe)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(we+be)*te+Ke,Oe*ee+qe,(we+ve)*te+Ke,(Oe-be)*ee+qe,(we+be)*te+Ke,(Oe-ve)*ee+qe)),ft.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe+be)*ee+qe,(we+be)*te+Ke,(Oe+ve)*ee+qe,(we+ve)*te+Ke,(Oe+be)*ee+qe)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(we-be)*te+Ke,Oe*ee+qe,(we-ve)*te+Ke,(Oe+be)*ee+qe,(we-be)*te+Ke,(Oe+ve)*ee+qe)),ve=Ue*.4,be=.4,we=.8,Oe=.5;var pt=new go.PathFigure(we*te+Ke,(Oe-be)*ee+qe,!0);de.add(pt),pt.add(new go.PathSegment(go.PathSegment.Bezier,(we+be)*te+Ke,Oe*ee+qe,(we+ve)*te+Ke,(Oe-be)*ee+qe,(we+be)*te+Ke,(Oe-ve)*ee+qe)),pt.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe+be)*ee+qe,(we+be)*te+Ke,(Oe+ve)*ee+qe,(we+ve)*te+Ke,(Oe+be)*ee+qe)),pt.add(new go.PathSegment(go.PathSegment.Bezier,(we+be-ve*.5)*te+Ke,Oe*ee+qe,we*te+Ke,(Oe+be)*ee+qe,(we+be-ve*.5)*te+Ke,(Oe+ve)*ee+qe)),pt.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe-be)*ee+qe,(we+be-ve*.5)*te+Ke,(Oe-ve)*ee+qe,we*te+Ke,(Oe-be)*ee+qe).close()),ve=Ue*.8,be=.8,we=1,Oe=.5;var Nt=new go.PathFigure(we*te+Ke,(Oe-be)*ee+qe,!0);return de.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(we+be)*te+Ke,Oe*ee+qe,(we+ve)*te+Ke,(Oe-be)*ee+qe,(we+be)*te+Ke,(Oe-ve)*ee+qe)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe+be)*ee+qe,(we+be)*te+Ke,(Oe+ve)*ee+qe,(we+ve)*te+Ke,(Oe+be)*ee+qe)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(we+be-ve*.5)*te+Ke,Oe*ee+qe,we*te+Ke,(Oe+be)*ee+qe,(we+be-ve*.5)*te+Ke,(Oe+ve)*ee+qe)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,we*te+Ke,(Oe-be)*ee+qe,(we+be-ve*.5)*te+Ke,(Oe-ve)*ee+qe,we*te+Ke,(Oe-be)*ee+qe).close()),de}),go.Shape.defineFigureGenerator("Email",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,0,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Move,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.54*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*te,.54*ee)),de}),go.Shape.defineFigureGenerator("Ethernet",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.35*te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,0).close());var ge=new go.PathFigure(.1*te,ee,!0,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,ee).close());var ve=new go.PathFigure(.6*te,ee,!0,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.6*te,.6*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.6*te,ee).close());var be=new go.PathFigure(0,.5*ee,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ee)),be.add(new go.PathSegment(go.PathSegment.Move,.75*te,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.75*te,.6*ee)),be.add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.25*te,.6*ee)),de}),go.Shape.defineFigureGenerator("Power",function(De,te,ee){var de=new go.Geometry,se=Ue*.4,ge=.4,ve=.5,be=.5,we=ce(),Oe=ce(),Ke=ce(),qe=ce();ke(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.5,we,we,Oe,Ke,qe);var lt=ue(Oe.x,Oe.y),at=new go.PathFigure(Oe.x*te,Oe.y*ee,!0);de.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,Ke.x*te,Ke.y*ee,qe.x*te,qe.y*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,(ve-se)*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee)),ke(ve-ge,be,ve-ge,be-se,ve-se,be-ge,ve,be-ge,.5,Ke,qe,Oe,we,we),at.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*te,Oe.y*ee,Ke.x*te,Ke.y*ee,qe.x*te,qe.y*ee)),se=Ue*.3,ge=.3,ke(ve-ge,be,ve-ge,be-se,ve-se,be-ge,ve,be-ge,.5,Ke,qe,Oe,we,we),at.add(new go.PathSegment(go.PathSegment.Line,Oe.x*te,Oe.y*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*te,be*ee,qe.x*te,qe.y*ee,Ke.x*te,Ke.y*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+ge)*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*te,be*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),ke(ve,be-ge,ve+se,be-ge,ve+ge,be-se,ve+ge,be,.5,we,we,Oe,Ke,qe),at.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*te,Oe.y*ee,qe.x*te,qe.y*ee,Ke.x*te,Ke.y*ee).close());var at=new go.PathFigure(.45*te,0,!0);return de.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.55*te,.5*ee)),at.add(new go.PathSegment(go.PathSegment.Line,.55*te,0).close()),Ae(we),Ae(Oe),Ae(Ke),Ae(qe),Ae(lt),de.spot1=new go.Spot(.25,.45),de.spot2=new go.Spot(.75,.8),de}),go.Shape.defineFigureGenerator("Fallout",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee/2,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,180,360,te/2,ee/2,te/2,ee/2));function ge(ve,be,we){ve.add(new go.PathSegment(go.PathSegment.Move,(.3+be)*te,(.8+we)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,(.5+be)*te,(.5+we)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,(.1+be)*te,(.5+we)*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,(.3+be)*te,(.8+we)*ee).close())}return ge(se,0,0),ge(se,.4,0),ge(se,.2,-.3),de}),go.Shape.defineFigureGenerator("IrritationHazard",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.2*te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee).close()),de.spot1=new go.Spot(.3,.3),de.spot2=new go.Spot(.7,.7),de}),go.Shape.defineFigureGenerator("ElectricalHazard",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.37*te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.11*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.77*te,.04*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.49*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.37*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.63*te,.86*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.77*te,.91*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.34*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.34*te,.78*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.44*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.56*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.68*ee).close()),de}),go.Shape.defineFigureGenerator("FireHazard",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.1*te,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.29*te,0,-.25*te,.63*ee,.45*te,.44*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.51*te,.42*ee,.48*te,.17*ee,.54*te,.35*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.59*te,.18*ee,.59*te,.29*ee,.58*te,.28*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,.6*ee,.8*te,.34*ee,.88*te,.43*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.88*te,.31*ee,.87*te,.48*ee,.88*te,.43*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ee,1.17*te,.76*ee,.82*te,.8*ee).close()),de.spot1=new go.Spot(.07,.445),de.spot2=new go.Spot(.884,.958),de}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(De,te,ee){var de=new go.Geometry,se=.5,ge=0,ve=0,be=se*Ue,we=.4*Math.SQRT2/2+.5,Oe=.5-.5*Math.SQRT2/2,Ke=1,qe=.5,lt=.5,at=0,ft=new go.PathFigure(we*te,(1-Oe)*ee,!1);return de.add(ft),ft.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,qe*ee,Ke*te,.7*ee,Ke*te,qe*ee)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(lt+ge)*te,(at+ge)*ee,(.5+se+ge)*te,(.5-be+ge)*ee,(.5+be+ge)*te,(.5-se+ge)*ee)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ve)*ee,(.5-be+ge)*te,(.5-se+ve)*ee,(.5-se+ge)*te,(.5-be+ve)*ee)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ge)*te,.9*ee,(.5-se+ge)*te,(.5+be+ve)*ee,(.5-be+ge)*te,.9*ee)),ft.add(new go.PathSegment(go.PathSegment.Move,(.25+ge)*te,.8*ee)),ft.add(new go.PathSegment(go.PathSegment.Line,(.35+ge)*te,.9*ee)),ft.add(new go.PathSegment(go.PathSegment.Line,(.2+ge)*te,.95*ee)),de}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),de}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Move,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),de}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);de.add(se);var ge=new go.PathFigure(te,ee,!1);de.add(ge);var ve=new go.PathFigure(0,.5*ee,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ee,.2*te,.35*ee,.3*te,.35*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,.7*te,.65*ee,.8*te,.65*ee)),de}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.5*ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee).close()),de}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.2*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee).close());var se=new go.PathFigure(0,.2*ee,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ee)),de}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.7*te,ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,0,.6*te,.5*ee,0,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,ee,.4*te,.5*ee,te,.5*ee).close());var ge=new go.PathFigure(.45*te,.73*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,.73*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.38*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.63*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.31*te,.27*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.56*te,.27*ee)),de}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);de.add(se);var ge=new go.PathFigure(.335*te,(1-.555)*ee,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.68*ee,(1-.12)*te,.46*ee,(1-.02)*te,.54*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.68*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.335*te,(1-.555)*ee,.02*te,.54*ee,.12*te,.46*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.365*te,(1-.595)*ee));var ve=.5-.285,be=.5,we=ve,Oe=Math.PI/4,Ke=4*(1-Math.cos(Oe))/(3*Math.sin(Oe)),qe=Ke*.5,lt=ve,at=ve,ft=Ke*lt,pt=Ke*at;ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-lt)*te,we*ee,(be-(ft+lt)/2)*te,(we+(at+pt)/2)*ee,(be-lt)*te,(we+pt)*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*te,(we-at)*ee,(be-lt)*te,(we-pt)*ee,(be-ft)*te,(we-at)*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+lt)*te,we*ee,(be+ft)*te,(we-at)*ee,(be+lt)*te,(we-pt)*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*te,(1-.595)*ee,(be+lt)*te,(we+pt)*ee,(be+(ft+lt)/2)*te,(we+(at+pt)/2)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*te,(1-.595)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ee));var Nt=new go.PathFigure(.2*te,ee,!1);de.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Line,.2*te,.8*ee));var Xt=new go.PathFigure(.8*te,ee,!1);return de.add(Xt),Xt.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ee)),de}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.1*te,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,ee).close());var ge=new go.PathFigure(.2*te,.2*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.8*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ee)),de}),go.Shape.defineFigureGenerator("BpmnEventError",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.5*ee).close()),de}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);de.add(se);var ge=new go.PathFigure(te,ee,!1);de.add(ge);var ve=new go.PathFigure(.1*te,ee,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee).close()),de}),go.Shape.defineFigureGenerator("Caution",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.05*te,ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.8*ee,0,ee,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.1*ee,.5*te,0,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.95*te,.9*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ee,te,ee,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,ee));var ge=.05;return se.add(new go.PathSegment(go.PathSegment.Move,(.5-ge)*te,.875*ee)),se.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*te,.875*ee,ge*te,ge*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.325*ee,.575*te,.725*ee,.625*te,.375*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.75*ee,.375*te,.375*ee,.425*te,.725*ee)),de}),go.Shape.defineFigureGenerator("Recycle",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.45*te,.95*ee,!1);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.95*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.185*te,.85*ee,.17*te,.95*ee,.15*te,.9*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.235*te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.625*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.65*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.275*te,.45*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,.45*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,.575*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.1875*te,.95*ee,0,.675*ee,0,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.45*te,.95*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.775*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.22*te,.775*ee));var ge=new go.PathFigure(.475*te,.2*ee,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.225*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.275*te,.175*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.325*te,.05*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.05*ee,.35*te,0,.375*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*te,.375*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,.475*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*te,.315*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.32*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.65*te,.05*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,0,.65*te,.05*ee,.625*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.38*te,.0105*ee));var ve=new go.PathFigure(.675*te,.575*ee,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.875*te,.525*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.775*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.85*te,.95*ee,te,.8*ee,te,.85*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,.95*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.85*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,.725*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.65*te,.775*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*te,.775*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,te,.775*ee)),ve.add(new go.PathSegment(go.PathSegment.Move,.675*te,.575*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.775*te,.775*ee)),de}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*.5,ve=new go.PathFigure(te,se*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*te,ee,te,(se+ge)*ee,(se+ge)*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,se*ee,(se-ge)*te,ee,0,(se+ge)*ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*te,0,0,(se-ge)*ee,(se-ge)*te,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te,se*ee,(se+ge)*te,0,te,(se-ge)*ee));var be=new go.PathFigure(se*te,0,!1);return de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,se*te,.15*ee)),be.add(new go.PathSegment(go.PathSegment.Move,se*te,ee)),be.add(new go.PathSegment(go.PathSegment.Line,se*te,.85*ee)),be.add(new go.PathSegment(go.PathSegment.Move,0,se*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.15*te,se*ee)),be.add(new go.PathSegment(go.PathSegment.Move,te,se*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.85*te,se*ee)),be.add(new go.PathSegment(go.PathSegment.Move,se*te,se*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.58*te,.1*ee)),be.add(new go.PathSegment(go.PathSegment.Move,se*te,se*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.78*te,.54*ee)),de}),go.Shape.defineFigureGenerator("Package",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.15*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close());var ge=new go.PathFigure(0,.15*ee,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.65*te,.15*ee).close()),de.spot1=new go.Spot(0,.1),de.spot2=new go.Spot(1,1),de}),go.Shape.defineFigureGenerator("Class",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,.2*ee,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.2*ee).close());var ve=new go.PathFigure(0,.5*ee,!1);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee).close()),de}),go.Shape.defineFigureGenerator("Component",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te,ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee).close());var ge=new go.PathFigure(0,.2*ee,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.2*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.2*ee).close());var ve=new go.PathFigure(0,.6*ee,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*te,.6*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*te,.8*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*ee).close()),de}),go.Shape.defineFigureGenerator("Boat Shipment",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.15*te,.6*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ee));var ge=new go.PathFigure(.15*te,.6*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ee)),de}),go.Shape.defineFigureGenerator("Customer/Supplier",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,.33*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.33*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.33*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee).close()),de}),go.Shape.defineFigureGenerator("Workcell",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),de}),go.Shape.defineFigureGenerator("Supermarket",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.33*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.33*ee)),se.add(new go.PathSegment(go.PathSegment.Move,te,.33*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.66*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.66*ee)),se.add(new go.PathSegment(go.PathSegment.Move,te,.66*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),de}),go.Shape.defineFigureGenerator("TruckShipment",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(te,.8*ee,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.8*ee).close());var ve=.1,be=Ue*.1,we=.2,Oe=.9,Ke=new go.PathFigure((we-ve)*te,Oe*ee,!0);de.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-ve)*ee,(we-ve)*te,(Oe-be)*ee,(we-be)*te,(Oe-ve)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(we+ve)*te,Oe*ee,(we+be)*te,(Oe-ve)*ee,(we+ve)*te,(Oe-be)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe+ve)*ee,(we+ve)*te,(Oe+be)*ee,(we+be)*te,(Oe+ve)*ee)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(we-ve)*te,Oe*ee,(we-be)*te,(Oe+ve)*ee,(we-ve)*te,(Oe+be)*ee).close()),ve=.1,be=Ue*.1,we=.8,Oe=.9;var qe=new go.PathFigure((we-ve)*te,Oe*ee,!0);return de.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe-ve)*ee,(we-ve)*te,(Oe-be)*ee,(we-be)*te,(Oe-ve)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(we+ve)*te,Oe*ee,(we+be)*te,(Oe-ve)*ee,(we+ve)*te,(Oe-be)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,we*te,(Oe+ve)*ee,(we+ve)*te,(Oe+be)*ee,(we+be)*te,(Oe+ve)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(we-ve)*te,Oe*ee,(we-be)*te,(Oe+ve)*ee,(we-ve)*te,(Oe+be)*ee).close()),de}),go.Shape.defineFigureGenerator("KanbanPost",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.2*te,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ee)),de}),go.Shape.defineFigureGenerator("Forklift",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0));var ge=new go.PathFigure(0,.5*ee,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee));var ve=new go.PathFigure(.5*te,.8*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,.1*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.1*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.8*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ee));var be=new go.PathFigure(.5*te,.7*ee,!1);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te,.7*ee));var we=.1,Oe=Ue*.1,Ke=.1,qe=.9,lt=new go.PathFigure((Ke-we)*te,qe*ee,!0);de.add(lt),lt.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(qe-we)*ee,(Ke-we)*te,(qe-Oe)*ee,(Ke-Oe)*te,(qe-we)*ee)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+we)*te,qe*ee,(Ke+Oe)*te,(qe-we)*ee,(Ke+we)*te,(qe-Oe)*ee)),lt.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(qe+we)*ee,(Ke+we)*te,(qe+Oe)*ee,(Ke+Oe)*te,(qe+we)*ee)),lt.add(new go.PathSegment(go.PathSegment.Bezier,(Ke-we)*te,qe*ee,(Ke-Oe)*te,(qe+we)*ee,(Ke-we)*te,(qe+Oe)*ee)),we=.1,Oe=Ue*.1,Ke=.4,qe=.9;var at=new go.PathFigure((Ke-we)*te,qe*ee,!0);return de.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(qe-we)*ee,(Ke-we)*te,(qe-Oe)*ee,(Ke-Oe)*te,(qe-we)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(Ke+we)*te,qe*ee,(Ke+Oe)*te,(qe-we)*ee,(Ke+we)*te,(qe-Oe)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,Ke*te,(qe+we)*ee,(Ke+we)*te,(qe+Oe)*ee,(Ke+Oe)*te,(qe+we)*ee)),at.add(new go.PathSegment(go.PathSegment.Bezier,(Ke-we)*te,qe*ee,(Ke-Oe)*te,(qe+we)*ee,(Ke-we)*te,(qe+Oe)*ee)),de}),go.Shape.defineFigureGenerator("RailShipment",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.1*te,.4*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.4*ee).close());var ge=new go.PathFigure(.45*te,.7*ee,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ee));var ve=new go.PathFigure(.55*te,.4*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*te,.4*ee).close());var Ke=.05,qe=Ue*.05,lt=.175,at=.95,be=new go.PathFigure((lt-Ke)*te,at*ee,!0);de.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at-Ke)*ee,(lt-Ke)*te,(at-qe)*ee,(lt-qe)*te,(at-Ke)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Ke)*te,at*ee,(lt+qe)*te,(at-Ke)*ee,(lt+Ke)*te,(at-qe)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at+Ke)*ee,(lt+Ke)*te,(at+qe)*ee,(lt+qe)*te,(at+Ke)*ee)),be.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Ke)*te,at*ee,(lt-qe)*te,(at+Ke)*ee,(lt-Ke)*te,(at+qe)*ee));var Ke=.05,qe=Ue*.05,lt=.375,at=.95,we=new go.PathFigure((lt-Ke)*te,at*ee,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at-Ke)*ee,(lt-Ke)*te,(at-qe)*ee,(lt-qe)*te,(at-Ke)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Ke)*te,at*ee,(lt+qe)*te,(at-Ke)*ee,(lt+Ke)*te,(at-qe)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at+Ke)*ee,(lt+Ke)*te,(at+qe)*ee,(lt+qe)*te,(at+Ke)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Ke)*te,at*ee,(lt-qe)*te,(at+Ke)*ee,(lt-Ke)*te,(at+qe)*ee));var Ke=.05,qe=Ue*.05,lt=.625,at=.95,Oe=new go.PathFigure((lt-Ke)*te,at*ee,!0);de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at-Ke)*ee,(lt-Ke)*te,(at-qe)*ee,(lt-qe)*te,(at-Ke)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Ke)*te,at*ee,(lt+qe)*te,(at-Ke)*ee,(lt+Ke)*te,(at-qe)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at+Ke)*ee,(lt+Ke)*te,(at+qe)*ee,(lt+qe)*te,(at+Ke)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Ke)*te,at*ee,(lt-qe)*te,(at+Ke)*ee,(lt-Ke)*te,(at+qe)*ee));var Ke=.05,qe=Ue*.05,lt=.825,at=.95,ft=new go.PathFigure((lt-Ke)*te,at*ee,!0);de.add(ft),ft.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at-Ke)*ee,(lt-Ke)*te,(at-qe)*ee,(lt-qe)*te,(at-Ke)*ee)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(lt+Ke)*te,at*ee,(lt+qe)*te,(at-Ke)*ee,(lt+Ke)*te,(at-qe)*ee)),ft.add(new go.PathSegment(go.PathSegment.Bezier,lt*te,(at+Ke)*ee,(lt+Ke)*te,(at+qe)*ee,(lt+qe)*te,(at+Ke)*ee)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(lt-Ke)*te,at*ee,(lt-qe)*te,(at+Ke)*ee,(lt-Ke)*te,(at+qe)*ee).close());var pt=new go.PathFigure(0,ee,!1);return de.add(pt),pt.add(new go.PathSegment(go.PathSegment.Line,te,ee).close()),de}),go.Shape.defineFigureGenerator("Warehouse",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,.2*ee,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.2*ee).close());var ve=new go.PathFigure(.15*te,ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.15*te,.5*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*te,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*te,ee).close());var be=.05,we=Ue*.05,Oe=.35,Ke=.775,qe=new go.PathFigure((Oe-be)*te,Ke*ee,!0);return de.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,Oe*te,(Ke-be)*ee,(Oe-be)*te,(Ke-we)*ee,(Oe-we)*te,(Ke-be)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Oe+be)*te,Ke*ee,(Oe+we)*te,(Ke-be)*ee,(Oe+be)*te,(Ke-we)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,Oe*te,(Ke+be)*ee,(Oe+be)*te,(Ke+we)*ee,(Oe+we)*te,(Ke+be)*ee)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Oe-be)*te,Ke*ee,(Oe-we)*te,(Ke+be)*ee,(Oe-be)*te,(Ke+we)*ee).close()),de}),go.Shape.defineFigureGenerator("ControlCenter",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Move,.1*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ee).close()),de}),go.Shape.defineFigureGenerator("Bluetooth",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.75*ee,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ee)),de}),go.Shape.defineFigureGenerator("Bookmark",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ee)),de}),go.Shape.defineFigureGenerator("Bookmark",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ee)),de}),go.Shape.defineFigureGenerator("Globe",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Move,0,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ee,.75*te,0,te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,te,.75*ee,.75*te,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,.25*te,ee,0,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,.25*ee,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ee,.15*te,.25*ee,.15*te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.85*te,.75*ee,.85*te,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.15*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.15*ee,.35*te,.3*ee,.65*te,.3*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.85*ee,.35*te,.7*ee,.65*te,.7*ee)),de}),go.Shape.defineFigureGenerator("Wave",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.25*ee,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.25*ee,.1*te,0,.2*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.25*ee,.425*te,.5*ee,.575*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.25*ee,.8*te,0,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Move,0,.25*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.75*ee,.1*te,.5*ee,.2*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.75*ee,.425*te,ee,.575*te,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.75*ee,.8*te,.5*ee,.9*te,.5*ee)),de}),go.Shape.defineFigureGenerator("Operator",function(De,te,ee){var de=new go.Geometry,se=.3,ge=Ue*.3,ve=.5,be=.7,we=new go.PathFigure((ve-se)*te,be*ee,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee));var Oe=new go.PathFigure(0,.7*ee,!1);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,te,.7*ee,0,0,te,0)),de}),go.Shape.defineFigureGenerator("TripleFanBlades",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ee,.65*te,.3*ee,.65*te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.35*te,.5*ee,.35*te,.3*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,.3*te,.6*ee,.1*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ee,.2*te,ee,.35*te,.95*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,ee,.7*te,.6*ee,.9*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ee,.8*te,ee,.65*te,.95*ee)),de}),go.Shape.defineFigureGenerator("CentrifugalPump",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te,0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,0,.075*ee,0,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ee,0,ee,.4*te,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.4*ee,.8*te,ee,.85*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),de}),go.Shape.defineFigureGenerator("Battery",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Move,.4*te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.1*ee));var ge=new go.PathFigure(0,.6*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,0,.4*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.4*ee)),de}),go.Shape.defineFigureGenerator("Delete",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*.5,ve=.5,be=.5,we=new go.PathFigure((ve-se)*te,be*ee,!0);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee));var Oe=new go.PathFigure(.15*te,.5*ee,!1);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.5*ee)),de}),go.Shape.defineFigureGenerator("Flag",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.1*ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Move,0,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.1*ee,.15*te,0,.35*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ee,.65*te,.2*ee,.85*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ee,.85*te,.6*ee,.65*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ee,.35*te,.4*ee,.15*te,.4*ee).close()),de}),go.Shape.defineFigureGenerator("Help",function(De,te,ee){var de=new go.Geometry,se=.5,ge=Ue*.5,ve=.5,be=.5,we=new go.PathFigure((ve-se)*te,be*ee,!1);de.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee).close()),se=.05,ge=Ue*.05,ve=.5,be=.8;var Oe=new go.PathFigure((ve-se)*te,be*ee,!1);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be-se)*ee,(ve-se)*te,(be-ge)*ee,(ve-ge)*te,(be-se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*te,be*ee,(ve+ge)*te,(be-se)*ee,(ve+se)*te,(be-ge)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ve*te,(be+se)*ee,(ve+se)*te,(be+ge)*ee,(ve+ge)*te,(be+se)*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*te,be*ee,(ve-ge)*te,(be+se)*ee,(ve-se)*te,(be+ge)*ee).close()),Oe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ee)),Oe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ee,.75*te,.475*ee,.75*te,.225*ee)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.35*ee,.4*te,.2*ee,.3*te,.25*ee)),de}),go.Shape.defineFigureGenerator("Location",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.5*te,ee,!0).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.975*te,.025*ee,.5*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*te,.5*ee,.5*te,0,.025*te,.025*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ee)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*te,.3*ee,.1*te,.1*ee).close()))}),go.Shape.defineFigureGenerator("Lock",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.5*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee));var ge=new go.PathFigure(.2*te,.5*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ee,.25*te,0,.75*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.3*ee)),de}),go.Shape.defineFigureGenerator("Unlocked",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.5*ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ee));var ge=new go.PathFigure(.2*te,.5*ee,!1);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ee)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ee,.25*te,0,.75*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.35*ee)),de}),go.Shape.defineFigureGenerator("Gear",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(.9375*te,.56246875*ee,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.4375*ee)).add(new go.PathSegment(go.PathSegment.Line,.80621875*te,.4375*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.763*te,.3316875*ee,.79840625*te,.39915625*ee,.7834375*te,.3635*ee)).add(new go.PathSegment(go.PathSegment.Line,.8566875*te,.23796875*ee)).add(new go.PathSegment(go.PathSegment.Line,.76825*te,.14959375*ee)).add(new go.PathSegment(go.PathSegment.Line,.67596875*te,.24184375*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*te,.19378125*ee,.64228125*te,.2188125*ee,.603875*te,.2021875*ee)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.0625*ee)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.0625*ee)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.19378125*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*te,.239375*ee,.39759375*te,.20190625*ee,.36053125*te,.2176875*ee)).add(new go.PathSegment(go.PathSegment.Line,.2379375*te,.14959375*ee)).add(new go.PathSegment(go.PathSegment.Line,.14953125*te,.2379375*ee)).add(new go.PathSegment(go.PathSegment.Line,.23934375*te,.3278125*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*te,.4375*ee,.21765625*te,.36059375*ee,.201875*te,.397625*ee)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.4375*ee)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.5625*ee)).add(new go.PathSegment(go.PathSegment.Line,.1938125*te,.5625*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*te,.67596875*ee,.20221875*te,.603875*ee,.21884375*te,.64228125*ee)).add(new go.PathSegment(go.PathSegment.Line,.1495625*te,.76825*ee)).add(new go.PathSegment(go.PathSegment.Line,.238*te,.8566875*ee)).add(new go.PathSegment(go.PathSegment.Line,.3316875*te,.76296875*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*te,.80621875*ee,.36353125*te,.78340625*ee,.3991875*te,.79840625*ee)).add(new go.PathSegment(go.PathSegment.Line,.43753125*te,.9375*ee)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.9375*ee)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.80621875*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*te,.760625*ee,.602375*te,.79809375*ee,.63946875*te,.78234375*ee)).add(new go.PathSegment(go.PathSegment.Line,.76828125*te,.8566875*ee)).add(new go.PathSegment(go.PathSegment.Line,.85671875*te,.76825*ee)).add(new go.PathSegment(go.PathSegment.Line,.76065625*te,.67221875*ee)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*te,.56246875*ee,.78234375*te,.63940625*ee,.798125*te,.602375*ee)).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.56246875*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.6*ee)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*te,.5*ee,.1*te,.1*ee).close()))}),go.Shape.defineFigureGenerator("Hand",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.5*ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.3*ee,0,.375*ee,.05*te,.325*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.075*ee,.3*te,.225*ee,.4*te,.175*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.525*te,.075*ee,.46*te,.05*ee,.525*te,.05*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.4*ee,.525*te,.275*ee,.475*te,.325*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.55*ee,te,.4*ee,te,.55*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.425*te,.55*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.55*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.7*ee,.675*te,.55*ee,.675*te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.575*te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,.85*ee,.65*te,.7*ee,.65*te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.535*te,ee,.61*te,.85*ee,.61*te,ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ee,.435*te,ee,0,ee).close()),de}),go.Shape.defineFigureGenerator("Map",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,.2*ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),se.add(new go.PathSegment(go.PathSegment.Move,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee)),se.add(new go.PathSegment(go.PathSegment.Move,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ee)),de}),go.Shape.defineFigureGenerator("Eject",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,ee)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee*.7)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*.7).close());var ge=new go.PathFigure(0,ee*.6,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.6*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close()),de}),go.Shape.defineFigureGenerator("Pencil",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ee)).add(new go.PathSegment(go.PathSegment.Line,te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.9*te,ee)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ee).close()))}),go.Shape.defineFigureGenerator("Building",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*1,ee*1,!1);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*.85)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ee*.85)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*.3)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ee*.3)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ee*.3)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee*.3)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ee*.85)),se.add(new go.PathSegment(go.PathSegment.Line,te,ee*.85).close());var ge=new go.PathFigure(.126*te,.85*ee,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.126*te,.45*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.322*te,.45*ee)),ge.add(new go.PathSegment(go.PathSegment.Line,.322*te,.85*ee).close());var ve=new go.PathFigure(.402*te,.85*ee,!1);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.402*te,.45*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.598*te,.45*ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.598*te,.85*ee).close());var be=new go.PathFigure(.678*te,.85*ee,!1);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.678*te,.45*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.874*te,.45*ee)),be.add(new go.PathSegment(go.PathSegment.Line,.874*te,.85*ee).close());var we=new go.PathFigure(.5*te,.1*ee,!1);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*te,.3*ee)),we.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*te,.3*ee).close()),de}),go.Shape.defineFigureGenerator("Staircase",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee*1,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ee*.8)),se.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.8)),se.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.6)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*.6)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*.4)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*.4)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*.2)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.2)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.15)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*.15)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ee*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ee*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ee*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*.95).close()),de}),go.Shape.defineFigureGenerator("5Bars",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,ee*1,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.184,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.184,ee*(1-.184)).close());var ge=new go.PathFigure(te*.204,ee,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.204,ee*(1-.184))),ge.add(new go.PathSegment(go.PathSegment.Line,te*.388,ee*(1-.184*2))),ge.add(new go.PathSegment(go.PathSegment.Line,te*.388,ee*1).close());var ve=new go.PathFigure(te*.408,ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.408,ee*(1-.184*2))),ve.add(new go.PathSegment(go.PathSegment.Line,te*.592,ee*(1-.184*3))),ve.add(new go.PathSegment(go.PathSegment.Line,te*.592,ee*1).close());var be=new go.PathFigure(te*.612,ee,!0);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*.612,ee*(1-.184*3))),be.add(new go.PathSegment(go.PathSegment.Line,te*.796,ee*(1-.184*4))),be.add(new go.PathSegment(go.PathSegment.Line,te*.796,ee*1).close());var we=new go.PathFigure(te*.816,ee,!0);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,te*.816,ee*(1-.184*4))),we.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*(1-.184*5))),we.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1).close()),de}),go.Shape.defineFigureGenerator("PC",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,0).close());var ge=new go.PathFigure(te*.055,.07*ee,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.245,ee*.07)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.245,ee*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.055,ee*.1).close());var ve=new go.PathFigure(te*.055,.13*ee,!0);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.245,ee*.13)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.245,ee*.16)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.055,ee*.16).close());var be=new go.PathFigure(te*.055,.18*ee,!0);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*.245,ee*.18)),be.add(new go.PathSegment(go.PathSegment.Line,te*.245,ee*.21)),be.add(new go.PathSegment(go.PathSegment.Line,te*.055,ee*.21).close());var we=new go.PathFigure(te*1,0,!0);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,te*.4,0)),we.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.65)),we.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.65).close()),de}),go.Shape.defineFigureGenerator("Plane",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(.55*te,ee,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.475*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.35*te,.525*ee,0,.4*ee,.225*te,.45*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.475*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.35*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.325*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.325*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,.1*ee)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.2*ee,.975*te,0,te,.08*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.45*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.95*ee)),se.add(new go.PathSegment(go.PathSegment.Line,.55*te,ee).close()),de}),go.Shape.defineFigureGenerator("Key",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*1,ee*.5,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.9,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.4*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.35*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,.35*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,.2*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.35*ee)),se.add(new go.PathSegment(go.PathSegment.Line,0,.65*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,.8*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,.65*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.65*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,.55*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,.55*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,.6*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,.575*ee)),se.add(new go.PathSegment(go.PathSegment.Line,te*.9,.6*ee).close()),se.add(new go.PathSegment(go.PathSegment.Move,.17*te,.425*ee)),se.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*te,.5*ee,.075*te,.075*ee).close()),de}),go.Shape.defineFigureGenerator("FilmTape",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(0,0,!1);de.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*0,te*.3,te*.055)),se.add(new go.PathSegment(go.PathSegment.Line,0,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.08,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.08,ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ee*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1));var ge=new go.PathFigure(0,0,!1);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*0)),ge.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*1,te*.3,te*.055)),ge.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1));var ve=new go.PathFigure(te*.11,ee*.1,!1);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ee*.1)),ve.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ee*.8)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.11,ee*.8).close());var be=new go.PathFigure(te*(.11+.24133333*1+.028*1),ee*.1,!1);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ee*.1)),be.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ee*.8)),be.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*1),ee*.8).close());var we=new go.PathFigure(te*(.11+.24133333*2+.028*2),ee*.1,!1);return de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ee*.1)),we.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ee*.8)),we.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*2),ee*.8).close()),de}),go.Shape.defineFigureGenerator("FloppyDisk",function(De,te,ee){var de=new go.Geometry,se=8,ge=se*Ue,ve=new go.PathFigure(se,0,!1);de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.86,0)),ve.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.14)),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee-se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-se,ee,te,ee-ge,te-ge,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,se,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-se,ge,ee,0,ee-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se,0,0,ge,ge,0).close());var be=new go.PathFigure(te*.83,0,!1);de.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te*.83,ee*.3)),be.add(new go.PathSegment(go.PathSegment.Line,te*.17,ee*.3)),be.add(new go.PathSegment(go.PathSegment.Line,te*.17,ee*0).close());var we=new go.PathFigure(te*.83,ee*1,!1);de.add(we),we.add(new go.PathSegment(go.PathSegment.Line,te*.83,ee*.5)),we.add(new go.PathSegment(go.PathSegment.Line,te*.17,ee*.5)),we.add(new go.PathSegment(go.PathSegment.Line,te*.17,ee*1).close());var Oe=new go.PathFigure(te*.78,ee*.05,!1);return de.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*.05)),Oe.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*.25)),Oe.add(new go.PathSegment(go.PathSegment.Line,te*.78,ee*.25).close()),de}),go.Shape.defineFigureGenerator("SpeechBubble",function(De,te,ee){var de=De?De.parameter1:NaN;(isNaN(de)||de<0)&&(de=15),de=Math.min(de,te/3),de=Math.min(de,ee/3);var se=de*Ue,ge=ee*.8,ve=new go.Geometry,be=new go.PathFigure(de,0,!0);return ve.add(be),be.add(new go.PathSegment(go.PathSegment.Line,te-de,0)),be.add(new go.PathSegment(go.PathSegment.Bezier,te,de,te-se,0,te,se)),be.add(new go.PathSegment(go.PathSegment.Line,te,ge-de)),be.add(new go.PathSegment(go.PathSegment.Bezier,te-de,ge,te,ge-se,te-se,ge)),be.add(new go.PathSegment(go.PathSegment.Line,te*.7,ge)),be.add(new go.PathSegment(go.PathSegment.Line,te*.7,ee)),be.add(new go.PathSegment(go.PathSegment.Line,te*.55,ge)),be.add(new go.PathSegment(go.PathSegment.Line,de,ge)),be.add(new go.PathSegment(go.PathSegment.Bezier,0,ge-de,se,ge,0,ge-se)),be.add(new go.PathSegment(go.PathSegment.Line,0,de)),be.add(new go.PathSegment(go.PathSegment.Bezier,de,0,0,se,se,0).close()),se>1?(ve.spot1=new go.Spot(0,0,se,se),ve.spot2=new go.Spot(1,.8,-se,-se)):(ve.spot1=go.Spot.TopLeft,ve.spot2=new go.Spot(1,.8)),ve}),go.Shape.defineFigureGenerator("Repeat",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*0,ee*.45,!0);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ee*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ee*.45).close());var ge=new go.PathFigure(te*1,ee*.55,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*.55)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.7,ee*.55)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.7,ee*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.35,ee*0)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*0)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*.55).close()),de}),go.Shape.defineFigureGenerator("Windows",function(De,te,ee){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ee)).add(new go.PathSegment(go.PathSegment.Line,0,ee).close()).add(new go.PathSegment(go.PathSegment.Move,.4*te,.4*ee)).add(new go.PathSegment(go.PathSegment.Line,.4*te,.8*ee)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ee)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ee)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.6*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.6*ee)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.1*ee).close()).add(new go.PathSegment(go.PathSegment.Move,.1*te,.6*ee)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.9*ee)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ee).close()))}),go.Shape.defineFigureGenerator("Terminal",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*0,ee*.1,!1);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ee*.9).close());var ge=new go.PathFigure(te*.1,ee*.2,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ee*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.22,ee*.285)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ee*.32)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ee*.37)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.275,ee*.32)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.275,ee*.25).close());var ve=new go.PathFigure(te*.28,ee*.37,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.45,ee*.37)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.45,ee*.41)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.28,ee*.41).close()),de}),go.Shape.defineFigureGenerator("Beaker",function(De,te,ee){var de=new go.Geometry,se=15,ge=se*Ue,ve=new go.PathFigure(te*.62,ee*.475,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te,ee-se)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te-se,ee,te,ee-ge,te-ge,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,se,ee)),ve.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-se,ge,ee,0,ee-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.38,ee*.475)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.38,ee*.03)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.36,ee*0)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.64,ee*0)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.62,ee*.03).close()),ge>1?(de.spot1=new go.Spot(0,0,ge,ge),de.spot2=new go.Spot(1,1,-ge,-ge)):(de.spot1=go.Spot.TopLeft,de.spot2=go.Spot.BottomRight),de}),go.Shape.defineFigureGenerator("Download",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*0,ee*1,!0);de.add(se);var ge=.1/.3;se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ee*(1-ge)).close());var ve=new go.PathFigure(te*.4,ee*0,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.26,ee*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*.66)),ve.add(new go.PathSegment(go.PathSegment.Line,te*(1-.26),ee*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*.44)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*0).close()),de}),go.Shape.defineFigureGenerator("Bin",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*0,ee*1,!0);de.add(se);var ge=.1/.3;return se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ee*(1-ge)).close()),de}),go.Shape.defineFigureGenerator("Upload",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*0,ee*1,!0);de.add(se);var ge=.1/.3;se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ee*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ee*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ee*(1-ge)).close());var ve=new go.PathFigure(te*.5,ee*0,!0);return de.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,te*.26,ee*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.4,ee*.63)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*.63)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.6,ee*.25)),ve.add(new go.PathSegment(go.PathSegment.Line,te*.74,ee*.25).close()),de}),go.Shape.defineFigureGenerator("EmptyDrink",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*.15,ee*0,!1);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ee*1).close()),de}),go.Shape.defineFigureGenerator("Drink",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*.15,ee*0,!1);de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,ee*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ee*1).close());var ge=new go.PathFigure(te*.235,ee*.28,!0);return de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.765,ee*.28)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.655,ee*.97)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.345,ee*.97).close()),de}),go.Shape.defineFigureGenerator("4Arrows",function(De,te,ee){var de=new go.Geometry,se=new go.PathFigure(te*.5,ee*0,!0);return de.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ee*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ee*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ee*.5)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*.65)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ee*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ee*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ee*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ee*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ee*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ee*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ee*.65)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ee*.5)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ee*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ee*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ee*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ee*.25).close()),de}),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")},61016: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 Re={},xe="5.0",ue={},ce=null,Ae=!1,Fe=!1,ke=null,Ye=!1,Pe=null,Ue=null,tt=0;tt<arguments.length;tt++){var Ze=arguments[tt];if(Ze!==null)switch(typeof Ze){case"number":xe=Ze.toFixed(1);break;case"string":Ze.match(new RegExp("^[0-9]\\.[0-9]+$"))?xe=Ze:ke=Ze;break;case"object":typeof Ze.is3D!="undefined"?ce=Ze:ue=Ze;break;case"boolean":Ae=Ze,Fe=!0;break}}ce===null&&(ce={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ue.material_id!==void 0&&!Fe&&(Ae=!0)),ke!==null&&ue.id===void 0&&(ue.id=ke);var rt="",xt="",Qe=!1,Mt=null,De=null,te=null,ee=!1,de=null,se=null,ge=null,ve=null,be=null;ue.height!==void 0&&(ue.height=Math.round(ue.height)),ue.width!==void 0&&(ue.width=Math.round(ue.width));var we=function(Gt){return parseFloat(Gt)>4?parseFloat(Gt):5};Re.setHTML5Codebase=function(Gt,An){Ue=Gt,ot(Gt,An)},Re.setJavaCodebase=Re.setJavaCodebaseVersion=Re.isCompiledInstalled=Re.setPreCompiledScriptPath=Re.setPreCompiledResourcePath=function(){},Re.setHTML5CodebaseVersion=function(Gt,An){var Nn=parseFloat(Gt);if(Nn!==NaN&&Nn<5){console.log("The GeoGebra HTML5 codebase version "+Nn+" is deprecated. Using version latest instead.");return}Pe=Gt,nt(Gt,An)},Re.getHTML5CodebaseVersion=function(){return De},Re.getParameters=function(){return ue},Re.setFontsCSSURL=function(Gt){ve=Gt},Re.setGiacJSURL=function(Gt){},Re.setJNLPFile=function(Gt){rt=Gt},Re.setJNLPBaseDir=function(Gt){},Re.inject=function(){function Gt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var An="auto",Nn=ue.id,di,At=!1,Ot=0;Ot<arguments.length;Ot++){var $e=arguments[Ot];typeof $e=="string"?($e=$e.toLowerCase(),$e.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?An=$e:Nn=arguments[Ot]):typeof $e=="boolean"?At=$e:$e instanceof HTMLElement&&(di=$e)}Wt();function Wt(){if(!Ye){setTimeout(Wt,200);return}An=Bn(An);var jt=di||document.getElementById(Nn);if(!jt){console.log("possibly bug on ajax loading? ");return}if(Re.removeExistingApplet(jt,!1),ue.width===void 0&&jt.clientWidth&&(ue.width=jt.clientWidth),ue.height===void 0&&jt.clientHeight&&(ue.height=jt.clientHeight),!(ue.width&&ue.height)&&An==="html5"&&(delete ue.width,delete ue.height),Mt=An,An==="screenshot")Xt(jt,ue);else{var Je=!1;ue.hasOwnProperty("playButton")&&ue.playButton||ue.hasOwnProperty("clickToLoad")&&ue.clickToLoad?Je=!0:ue.hasOwnProperty("playButtonAutoDecide")&&ue.playButtonAutoDecide&&(Je=(!Oe()||Gt())&&Ke()),Je?(Mt="screenshot",yn(jt,ue,At,An)):Nt(jt,ue,At)}}};function Oe(){try{return window.self!==window.top}catch(Gt){return!0}}function Ke(){return ue.hasOwnProperty("screenshotGenerator")&&ue.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Re.getViews=function(){return ce},Re.isJavaInstalled=function(){return!1};var qe=function(Gt){var An=function(Ot){var $e=JSON.parse(Ot),Wt=function(Me){return Me.type=="G"||Me.type=="E"},jt=$e.elements?$e.elements.filter(Wt)[0]:$e;if(!jt||!jt.url){Nn();return}ue.fileName=jt.url,lt(jt.settings||{}),ce.is3D=!0;var Je="https://www.geogebra.org/images/";Re.setPreviewImage(de||jt.previewUrl,Je+"GeoGebra_loading.png",Je+"applet_play.png"),Gt()},Nn=function(){ue.onError&&ue.onError(),Jt("Error: Fetching material (id "+ue.material_id+") failed.",ue)},di=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",At="/materials/"+ue.material_id+"?scope=basic";at("https://"+di+"/api/proxy.php?path="+encodeURIComponent(At),An,Nn)};function lt(Gt){var An=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Nn){Gt[Nn]=!!Gt[Nn]}),An.forEach(function(Nn){ue[Nn]===void 0&&Gt[Nn]!==void 0&&(ue[Nn]=Gt[Nn])}),ue.showToolBarHelp===void 0&&(ue.showToolBarHelp=ue.showToolBar)}function at(Gt,An,Nn){var di=new XMLHttpRequest;di.open("GET",Gt),di.onload=function(){An(di.responseText)},di.onerror=Nn,di.send()}Re.isHTML5Installed=function(){return!0},Re.getLoadedAppletType=function(){return Mt},Re.setPreviewImage=function(Gt,An,Nn){de=Gt,se=An,ge=Nn},Re.removeExistingApplet=function(Gt,An){var Nn;typeof Gt=="string"&&(Gt=document.getElementById(Gt)),Mt=null;var di=null;for(Nn=0;Nn<Gt.childNodes.length;Nn++){var At=Gt.childNodes[Nn],Ot=At.className;Ot==="applet_screenshot"?An?(At.style.display="block",Mt="screenshot"):At.style.display="none":Ot!=="applet_scaler prerender"&&(Gt.removeChild(At),di=Ot&&Ot.indexOf("appletParameters")!=-1?At.id:null,Nn--)}var $e=ue.id!==void 0?ue.id:di,Wt=window[$e];Wt&&typeof Wt.getBase64=="function"&&(Wt.remove(),window[$e]=null)},Re.refreshHitPoints=function(){if(we(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Gt=Re.getAppletObject();return Gt&&typeof Gt.recalculateEnvironments=="function"?(Gt.recalculateEnvironments(),!0):!1},Re.startAnimation=function(){var Gt=Re.getAppletObject();return Gt&&typeof Gt.startAnimation=="function"?(Gt.startAnimation(),!0):!1},Re.stopAnimation=function(){var Gt=Re.getAppletObject();return Gt&&typeof Gt.stopAnimation=="function"?(Gt.stopAnimation(),!0):!1},Re.getAppletObject=function(){var Gt=ue.id!==void 0?ue.id:"ggbApplet";return window[Gt]},Re.resize=function(){};var ft=function(Gt,An,Nn){var di=document.createElement("param");di.setAttribute("name",An),di.setAttribute("value",Nn),Gt.appendChild(di)},pt=function(Gt){return Gt&&Gt!=="false"},Nt=function(Gt,An,Nn){we(De)<=4.2&&(Nn=!0);var di=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==De||ggbHTML5LoadedCodebaseIsWebSimple&&!ee)&&(di=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var At=document.createElement("div");At.classList.add("appletParameters","notranslate");var Ot=An.width,$e=An.height;if(An.disableAutoScale=An.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():An.disableAutoScale,An.width!==void 0)if(we(De)<=4.4)pt(An.showToolBar)&&(An.height-=7),pt(An.showAlgebraInput)&&(An.height-=37),An.width<605&&pt(An.showToolBar)&&(An.width=605,Ot=605);else{var Wt=100;(pt(An.showToolBar)||pt(An.showMenuBar))&&(An.hasOwnProperty("customToolBar")&&(An.customToolbar=An.customToolBar),Wt=pt(An.showMenuBar)?245:155),Ot<Wt&&(An.width=Wt,Ot=Wt)}At.style.border="none",At.style.display="inline-block";for(var jt in An)An.hasOwnProperty(jt)&&jt!=="appletOnLoad"&&At.setAttribute("data-param-"+jt,An[jt]);ve&&At.setAttribute("data-param-fontscssurl",ve),Re.resize=function(){GGBAppletUtils.responsiveResize(Gt,An)},window.addEventListener("resize",function(rn){Re.resize()});var Je=typeof An.appletOnLoad=="function"?An.appletOnLoad:function(){};if(!Nn&&An.width!==void 0){An.hasOwnProperty("showSplash")||At.setAttribute("data-param-showSplash","false");var Me=Gt.querySelector(".applet_scaler.prerender"),Le=Me!==null;if(Le)var Xe=Me.querySelector(".ggb_preview");else{var Xe=on(Ot,$e,An.borderColor,!1);Me=document.createElement("div"),Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.style.width=Ot+"px",Me.style.height=$e+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Me,"66%"),we(De)>=5?(An.appletOnLoad=function(rn){var oi=Gt.querySelector(".ggb_preview");oi&&oi.parentNode.removeChild(oi),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Me),window.GGBT_wsf_view&&$(window).trigger("resize"),Je(rn)},Le||Me.appendChild(Xe)):At.appendChild(Xe),Me.appendChild(At),Le||Gt.appendChild(Me),setTimeout(function(){Re.resize()},1)}else{var dt=document.createElement("div");dt.className="applet_scaler",dt.style.position="relative",dt.style.display="block",dt.appendChild(At),Gt.appendChild(dt),An.appletOnLoad=function(rn){Re.resize(),Je(rn)}}function je(rn,oi){oi&&typeof oi.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(rn,oi.appletOnLoad):renderGGBElement(rn),Jt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",oi)}function bt(rn,oi){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:rn,params:oi}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ei){je(ei.article,ei.params)}),html5AppletsToProcess=null)},we(De)<5&&(rn.className+=" geogebraweb")):je(rn,oi)}if(di){scriptLoadStarted=!0;for(var Sn=0;Sn<At.childNodes.length;Sn++){var ni=At.childNodes[Sn].tagName;ni==="TABLE"&&(At.removeChild(At.childNodes[Sn]),Sn--)}if(ggbHTML5LoadedScript!==null){var ui=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ui!=null&&ui.parentNode.removeChild(ui)}var vn=document.createElement("script"),_n=function(){bt(At,An)};vn.src=xt+te,ggbHTML5LoadedCodebaseIsWebSimple=ee,ggbHTML5LoadedCodebaseVersion=De,ggbHTML5LoadedScript=vn.src,Jt("GeoGebra HTML5 codebase loaded: '"+xt+"'.",An),!Ue&&(!Pe||Pe=="5.0")?(ee?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),_n()):xt.requirejs?__webpack_require__.e(12).then(function(){var rn=[__webpack_require__(12)];_n.apply(null,rn)}.bind(this)).catch(__webpack_require__.oe):(vn.onload=_n,Gt.appendChild(vn))}else bt(At,An);An.height=$e,An.width=Ot},Xt=function(Gt,An,Nn){var di=on(An.width,An.height,An.borderColor,Nn),At=document.createElement("div");At.style.position="relative",At.style.display="block",At.style.width=An.width+"px",At.style.height=An.height+"px",At.className="applet_screenshot applet_scaler"+(Nn?" applet_screenshot_play":""),At.appendChild(di);var Ot=GGBAppletUtils.getScale(An,Gt,Nn);Nn?(Gt.appendChild(Ln()),window.GGBT_wsf_view||(Gt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(At,"66%"),Gt.appendChild(At),Ot!==1&&!isNaN(Ot)&&(GGBAppletUtils.scaleElement(At,Ot),At.style.width=An.width+"px",At.style.height=An.height+"px",At.parentNode.style.width=An.width*Ot+"px",At.parentNode.style.height=An.height*Ot+"px"),Re.resize=function(){Zt(Gt,di,At,Nn)},window.addEventListener("resize",function($e){Re.resize()}),Re.resize()};function Zt(Gt,An,Nn,di){if(Gt.contains(An)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Gt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Gt)}var At=GGBAppletUtils.getScale(ue,Gt,di);Nn.parentNode!==null&&(!isNaN(At)&&At!==1?(GGBAppletUtils.scaleElement(Nn,At),Nn.parentNode.style.width=ue.width*At+"px",Nn.parentNode.style.height=ue.height*At+"px"):(GGBAppletUtils.scaleElement(Nn,1),Nn.parentNode.style.width=ue.width+"px",Nn.parentNode.style.height=ue.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Gt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Re.onExitFullscreen=function(Gt,An){An.appendChild(Gt)};var yn=function(Gt,An,Nn,di){Xt(Gt,An,!0);for(var At=function(){var Wt=[];for($e=0;$e<Gt.childNodes.length;$e++)Wt.push(Gt.childNodes[$e]);if(window.GGBT_wsf_view){var jt=window.GGBT_wsf_view.renderFullScreen(Gt,An.id),Je=document.getElementById("fullscreencontainer"),Me=jQuery(Gt).find(".fullscreencontent");Me.length>0?(jt.remove(),Me.attr("id","fullscreencontent").show(),jQuery(Je).append(Me),window.dispatchEvent(new Event("resize"))):Nt(jt,An,!1),window.GGBT_wsf_view.launchFullScreen(Je)}else Mt=di,Nt(Gt,An,!1);if(!window.GGBT_wsf_view)for($e=0;$e<Wt.length;$e++)Gt.removeChild(Wt[$e])},Ot=Gt.getElementsByClassName("ggb_preview_play"),$e=0;$e<Ot.length;$e++)Ot[$e].addEventListener("click",At,!1),Ot[$e].addEventListener("ontouchstart",At,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Gt),Ke()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ln=function(){var Gt=document.createElement("div");if(Gt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var An='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Nn=document.createElement("style");Nn.styleSheet?Nn.styleSheet.cssText=An:Nn.appendChild(document.createTextNode(An)),document.getElementsByTagName("head")[0].appendChild(Nn)}return Gt},on=function(Gt,An,Nn,di){var At=document.createElement("div");At.className="ggb_preview",At.style.position="absolute",At.style.zIndex="90",At.style.width=Gt-2+"px",At.style.height=An-2+"px",At.style.top="0px",At.style.left="0px",At.style.overflow="hidden",At.style.backgroundColor="white";var Ot="lightgrey";Nn!==void 0&&(Nn==="none"?Ot="transparent":Ot=Nn),At.style.border="1px solid "+Ot;var $e=document.createElement("img");if($e.style.position="relative",$e.style.zIndex="1000",$e.style.top="-1px",$e.style.left="-1px",de!==null&&$e.setAttribute("src",de),$e.style.opacity=.7,se!==null){var Wt,jt,Je;if(!di){Wt=document.createElement("img"),Wt.style.position="absolute",Wt.style.zIndex="1001",Wt.style.opacity=1,$e.style.opacity=.3,jt=360,jt>Gt/4*3&&(jt=Gt/4*3),Je=jt/5.8,Wt.setAttribute("src",se),Wt.setAttribute("width",jt),Wt.setAttribute("height",Je);var Me=(Gt-jt)/2,Le=(An-Je)/2;Wt.style.left=Me+"px",Wt.style.top=Le+"px",At.appendChild(Wt)}}return At.appendChild($e),At},Bn=function(Gt){return Gt=Gt.toLowerCase(),Gt==="html5"||Gt==="screenshot"?Gt:"html5"},Et=["web","webSimple","web3d","tablet","tablet3d","phone"],nt=function(Gt,An){if(De=Gt,An){ot(De,!0);return}var Nn=!Ae;if(Nn){var di=we(De);!isNaN(di)&&di<4.4&&(Nn=!1)}var At,Ot;window.location.protocol.substr(0,4)==="http"?At=window.location.protocol:At="http:";var $e=De.indexOf("//");$e>0?Ot=De:$e===0?Ot=At+De:Ot="https://www.geogebra.org/apps/5.2.814.0/";for(var Wt in Et)if(De.slice(Et[Wt].length*-1)===Et[Wt]||De.slice((Et[Wt].length+1)*-1)===Et[Wt]+"/"){ot(Ot,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Nn&&!ce.is3D&&!ce.AV&&!ce.SV&&!ce.CV&&!ce.EV2&&!ce.CP&&!ce.PC&&!ce.DA&&!ce.FI&&!ce.PV&&!pt(ue.showToolBar)&&!pt(ue.showMenuBar)&&!pt(ue.showAlgebraInput)&&!pt(ue.enableRightClick)&&(!ue.appName||ue.appName=="classic")?Ot+="webSimple/":Ot+="web3d/",ot(Ot,!1)},ot=function(Gt,An){if(Gt.requirejs){xt=Gt;return}Gt.slice(-1)!=="/"&&(Gt+="/"),xt=Gt,An===null&&(An=Gt.indexOf("http")===-1),Qe=An,te="web.nocache.js",ee=!1;var Nn=xt.split("/");Nn.length>1&&(!An&&Nn[Nn.length-2]==="webSimple"?(te="webSimple.nocache.js",ee=!0):Et.indexOf(Nn[Nn.length-2])>=0&&(te=Nn[Nn.length-2]+".nocache.js")),Nn=Gt.split("/"),De=Nn[Nn.length-3],De.substr(0,4)==="test"?De=De.substr(4,1)+"."+De.substr(5,1):(De.substr(0,3)==="war"||De.substr(0,4)==="beta")&&(De="5.0");var di=parseFloat(De);di!==NaN&&di<5&&Gt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+di+" is deprecated. Using version latest instead."),nt("5.0",An))},Jt=function(Gt,An){window.console&&window.console.log&&(!An||typeof An.showLogging=="undefined"||An.showLogging&&An.showLogging!=="false")&&console.log(Gt)};ue.material_id!==void 0?qe(In):In();function In(){var Gt=xe;Pe!==null?Gt=Pe:parseFloat(Gt)<5&&(Gt="5.0"),nt(Gt,!1),Ue!==null&&ot(Ue,Qe),Ye=!0}return Re},GGBAppletUtils=function(){"use strict";function Re(){return window.GGBT_wsf_edit!==void 0}function xe(Ye,Pe){Pe!=1?(Ye.style.transformOrigin="0% 0% 0px",Ye.style.webkitTransformOrigin="0% 0% 0px",Ye.style.transform="scale("+Pe+","+Pe+")",Ye.style.webkitTransform="scale("+Pe+","+Pe+")",Ye.style.maxWidth="initial",Ye.querySelector(".ggb_preview")!==null&&(Ye.querySelector(".ggb_preview").style.maxWidth="initial"),Ye.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ye.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ye.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ye.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ye.style.transform="none",Ye.style.webkitTransform="none")}function ue(Ye,Pe,Ue,tt,Ze,rt){var xt=null;if(rt!=null&&rt!="")for(var Qe=Ye.parentNode;Qe!=null;)if((" "+Qe.className+" ").indexOf(" "+rt+" ")>-1){xt=Qe;break}else Qe=Qe.parentNode;var Mt=0,De=0,te=0,ee=0,de=0,se=0,ge=0;if(xt)Mt=xt.offsetWidth,De=Math.max(tt?xt.offsetWidth:0,xt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Mt=Math.min(window.innerWidth,document.documentElement.clientWidth),De=Math.min(window.innerHeight,document.documentElement.clientHeight),te=Mt):(Mt=window.innerWidth,De=window.innerHeight,te=window.innerWidth),Ye){var ve=Ye.getBoundingClientRect();ve.left>0&&ve.left<=Mt&&(Ze===void 0||!Ze)&&(document.dir==="rtl"?(de=Mt-ve.width-ve.left,se=te<=480?10:30):(se=ve.left,de=te<=480?10:30),ee=se+de)}if(Ye&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var be=Ye.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ee=40,ge=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ee=0,ge=40)}}return Ye&&((Ue===void 0||!Ue)&&Pe>0&&Pe+ee<Mt?Mt=Pe:Mt-=ee,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ue===void 0||!Ue)&&(De-=ge)),{width:Mt,height:De}}function ce(Ye,Pe,Ue,tt,Ze){if(Ye.isScreenshoGenerator)return 1;var rt=tt!==void 0&&tt,xt=Ye.noScaleMargin!=null&&Ye.noScaleMargin,Qe=function(be){return be&&be!=="false"},Mt=Qe(Ye.autoHeight),De=ue(Pe,Ye.width,Ue,Mt,rt&&window.GGBT_wsf_view||xt,Ze),te=parseInt(De.width),ee=Ye.width,de=Ye.height;if(ee===void 0){var se=Pe.querySelector(".appletParameters");se&&(ee=se.offsetWidth,de=se.offsetHeight)}var ge=te/ee,ve=rt?1:De.height/de;return Ue!==void 0&&!Ue&&(ge=Math.min(1,ge),ve=Math.min(1,ve)),Math.min(ge,ve)}function Ae(Ye,Pe,Ue){var tt=1,Ze,rt=!1;if(Ye.hasOwnProperty("allowUpscale")&&(rt=Ye.allowUpscale),Ye.hasOwnProperty("scale")&&(tt=parseFloat(Ye.scale),(isNaN(tt)||tt===null||tt===0)&&(tt=1),tt>1&&(rt=!0)),Pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(rt=!0),!(Ye.hasOwnProperty("disableAutoScale")&&Ye.disableAutoScale))Ze=ce(Ye,Pe,rt,Ue,Ye.scaleContainerClass);else return tt;return rt&&(!Ye.hasOwnProperty("scale")||tt===1)?Ze:Math.min(tt,Ze)}function Fe(Ye){var Pe=Math.min(window.innerWidth,document.documentElement.clientWidth),Ue=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=Ye.getBoundingClientRect(),Ze=(Pe-tt.width)/2,rt=(Ue-tt.height)/2;rt<0&&(rt=0),Ye.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ze<40?Ye.style.left="40px":Ye.style.left=Ze+"px",Ye.style.top=rt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(rt<40?Ye.style.top="40px":Ye.style.top=rt+"px",Ye.style.left=Ze+"px")}function ke(Ye,Pe){var Ue=Ye.querySelector(".appletParameters");if(Ue){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Pe.id!==Ue.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ye)}if(Ue.parentElement&&/fullscreen/.test(Ue.parentElement.className))return;var tt=Ae(Pe,Ye);Re()&&Ue.setAttribute("data-param-scale",tt);for(var Ze=null,rt=0;rt<Ye.childNodes.length;rt++)if(Ye.childNodes[rt].className!==void 0&&Ye.childNodes[rt].className.match(/^applet_scaler/)){Ze=Ye.childNodes[rt];break}if(Ze!==null&&Ze.querySelector(".noscale")!==null)return;var xt=Pe.id!==void 0?Pe.id:"ggbApplet",Qe=window[xt];(Qe==null||!Qe.recalculateEnvironments)&&Ze!==null&&!Ze.className.match(/fullscreen/)&&(Ze.parentNode.style.transform="",!isNaN(tt)&&tt!==1?(Ze.parentNode.style.width=Pe.width*tt+"px",Ze.parentNode.style.height=Pe.height*tt+"px",xe(Ze,tt)):(xe(Ze,1),Ze.parentNode.style.width=Pe.width+"px",Ze.parentNode.style.height=Pe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Fe(Ye),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ue).parents(".content-added-content"))}}return{responsiveResize:ke,isFlexibleWorksheetEditor:Re,positionCenter:Fe,getScale:Ae,scaleElement:xe}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Re=n.location.search;return Re.indexOf(J)!=-1||Re.indexOf(K)!=-1}function q(Re,xe){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Re){var xe=s[L].bindings;s[L].bindings=function(){for(var ue=xe?xe():{},ce=Re[webModule.__softPermutationId],Ae=O;Ae<ce.length;Ae++){var Fe=ce[Ae];ue[Fe[O]]=Fe[P]}return ue}};var t;function u(){return v(),t}function v(){if(!t){var Re=o.createElement(Q);if(Re.id=L,Re.style.cssText=R+S,Re.tabIndex=-1,o.body.appendChild(Re),t=Re.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var xe=document.compatMode==U?V:W;t.write(xe+X),t.close()}}}function w(Re){function xe(ce){function Ae(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Fe=Ae();if(Fe){ce();return}function ke(){if(!Fe){if(!Ae())return;Fe=!0,ce(),o.removeEventListener&&o.removeEventListener(Z,ke,!1),Ye&&clearInterval(Ye)}}o.addEventListener&&o.addEventListener(Z,ke,!1);var Ye=setInterval(function(){ke()},$)}function ue(ce){var Ae=u(),Fe=Ae.body,ke=Ae.createElement(_);ke.language=ab,ke.crossOrigin=W,ke.src=ce,webModule.__errFn&&(ke.onerror=function(){webModule.__errFn(L,new Error(bb+ce))}),Fe.appendChild(ke)}xe(function(){ue(Re)})}webModule.__startLoadingFragment=function(Re){return C(Re)},webModule.__installRunAsyncCode=function(Re){var xe=u(),ue=xe.body,ce=xe.createElement(_);ce.language=ab,ce.text=Re,ue.appendChild(ce),ue.removeChild(ce)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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(Re){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Re){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Re){var xe=c[Re];return xe==null?null:xe},r=d,webModule.__errFn=e}function B(){function Re(Ye){var Pe=Ye.lastIndexOf(rb);Pe==-1&&(Pe=Ye.length);var Ue=Ye.indexOf(sb);Ue==-1&&(Ue=Ye.length);var tt=Ye.lastIndexOf(tb,Math.min(Ue,Pe));return tt>=O?Ye.substring(O,tt+P):W}function xe(Ye){if(!Ye.match(/^\w+:\/\//)){var Pe=o.createElement(ub);Pe.src=Ye+vb,Ye=Re(Pe.src)}return Ye}function ue(){var Ye=__gwt_getMetaProperty(wb);return Ye!=null?Ye:W}function ce(){for(var Ye=o.getElementsByTagName(_),Pe=O;Pe<Ye.length;++Pe)if(Ye[Pe].src.indexOf(xb)!=-1)return Re(Ye[Pe].src);return W}function Ae(){var Ye=o.getElementsByTagName(yb);return Ye.length>O?Ye[Ye.length-P].href:W}function Fe(){var Ye=o.location;return Ye.href==Ye.protocol+zb+Ye.host+Ye.pathname+Ye.search+Ye.hash}var ke=ue();return ke==W&&(ke=ce()),ke==W&&(ke=Ae()),ke==W&&Fe()&&(ke=Re(o.location.href)),ke=xe(ke),ke}function C(Re){return Re.match(/^\//)||Re.match(/^[a-zA-Z]+:\/\//)?Re:webModule.__moduleBase+Re}function D(){var Re=[],xe=O,ue=[],ce=[];function Ae(Ye){var Pe=ce[Ye](),Ue=ue[Ye];if(Pe in Ue)return Pe;var tt=[];for(var Ze in Ue)tt[Ue[Ze]]=Ze;throw r&&r(Ye,tt,Pe),null}if(__gwt_isKnownPropertyValue=function(Ye,Pe){return Pe in ue[Ye]},webModule.__getPropMap=function(){var Ye={};for(var Pe in ue)ue.hasOwnProperty(Pe)&&(Ye[Pe]=Ae(Pe));return Ye},webModule.__computePropValue=Ae,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Fe;try{Fe=Cb;var ke=Fe.indexOf(Db);ke!=-1&&(xe=parseInt(Fe.substring(ke+P),$),Fe=Fe.substring(O,ke))}catch(Ye){}return webModule.__softPermutationId=xe,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})()},15476:function(Re,xe,ue){"use strict";ue.d(xe,{Ax:function(){return ke},Ds:function(){return Ye},KI:function(){return Ue},SI:function(){return Fe},f1:function(){return Ae}});var ce=ue(11320);function Ae(tt){let Ze=!0;if(tt.length>0){for(let rt=0;rt<tt.length;rt++)if(tt[rt].compile_success==0||!tt[rt].compile_success){Ze=!1;break}}else Ze=!1;return Ze}function Fe(tt,Ze=""){let rt=[];for(let xt=0;xt<tt.length;xt++){let Qe=tt[xt],Mt=Ze?`${Ze}/${Qe.name}`:`${Qe.name}`;rt.push({title:Qe.name,type:Qe.type,isLeaf:Qe.type!=="tree",key:Mt})}return rt}function ke(tt,Ze,rt){for(let xt=0;xt<tt.length;xt++){let Qe=tt[xt];if(Qe.key===Ze){Qe.children=rt;break}Qe.children&&ke(Qe.children,Ze,rt)}return tt}function Ye(tt,Ze,rt){let xt;return function(){let Qe=this,Mt=arguments,De=function(){xt=null,rt||tt.apply(Qe,Mt)},te=rt&&!xt;clearTimeout(xt),xt=setTimeout(De,Ze),te&&tt.apply(Qe,Mt)}}const Pe=!0,Ue=ce.Z.API_SERVER},60580:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return De}});var ce=ue(85804),Ae=ue(67294),Fe=Object.defineProperty,ke=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Ze=(te,ee,de)=>ee in te?Fe(te,ee,{enumerable:!0,configurable:!0,writable:!0,value:de}):te[ee]=de,rt=(te,ee)=>{for(var de in ee||(ee={}))Ue.call(ee,de)&&Ze(te,de,ee[de]);if(Pe)for(var de of Pe(ee))tt.call(ee,de)&&Ze(te,de,ee[de]);return te},xt=(te,ee)=>ke(te,Ye(ee)),Qe=(te,ee)=>{var de={};for(var se in te)Ue.call(te,se)&&ee.indexOf(se)<0&&(de[se]=te[se]);if(te!=null&&Pe)for(var se of Pe(te))ee.indexOf(se)<0&&tt.call(te,se)&&(de[se]=te[se]);return de},Mt=(te,ee,de)=>new Promise((se,ge)=>{var ve=Oe=>{try{we(de.next(Oe))}catch(Ke){ge(Ke)}},be=Oe=>{try{we(de.throw(Oe))}catch(Ke){ge(Ke)}},we=Oe=>Oe.done?se(Oe.value):Promise.resolve(Oe.value).then(ve,be);we((de=de.apply(te,ee)).next())});const De=te=>{var ee=te,{children:de}=ee,se=Qe(ee,["children"]);const[ge,ve]=(0,Ae.useState)(!1);return Ae.createElement(ce.ZP,xt(rt({},se),{loading:ge,onClick:be=>Mt(void 0,null,function*(){try{ve(!0),yield se.onClick(be),ve(!1)}catch(we){console.error(we),ve(!1)}})}),de)}},56243:function(Re,xe,ue){"use strict";var ce=ue(17187),Ae=ue.n(ce),Fe=Object.defineProperty,ke=(tt,Ze,rt)=>Ze in tt?Fe(tt,Ze,{enumerable:!0,configurable:!0,writable:!0,value:rt}):tt[Ze]=rt,Ye=(tt,Ze,rt)=>ke(tt,typeof Ze!="symbol"?Ze+"":Ze,rt),Pe=(tt,Ze,rt)=>new Promise((xt,Qe)=>{var Mt=ee=>{try{te(rt.next(ee))}catch(de){Qe(de)}},De=ee=>{try{te(rt.throw(ee))}catch(de){Qe(de)}},te=ee=>ee.done?xt(ee.value):Promise.resolve(ee.value).then(Mt,De);te((rt=rt.apply(tt,Ze)).next())});class Ue extends ce.EventEmitter{constructor(Ze,rt){super(),Ye(this,"url"),Ye(this,"body"),Ye(this,"fullContent",""),Ye(this,"controller",null),Ye(this,"buffer",""),this.url=Ze,this.body=rt}startStream(){return Pe(this,null,function*(){this.controller=new AbortController;const{signal:Ze}=this.controller;try{const rt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ze});if(!rt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${rt.status}`);const xt=rt.headers.get("content-type");if(!xt)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(xt.includes("application/json")){const De=yield rt.json();this.emit("error",De);return}if(!xt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Qe=rt.body.getReader(),Mt=new TextDecoder("utf-8");for(;;){const{done:De,value:te}=yield Qe.read();if(De)break;const ee=Mt.decode(te,{stream:!0});this.buffer+=ee;const de=this.buffer.split(`
|
|
|
`);this.buffer=de.pop()||"";for(const se of de)if(se.startsWith("data:")){const ge=se.slice(5).trim();if(ge==="[DONE]")break;try{const ve=JSON.parse(ge);ve.data&&this.handleData(ve.data)}catch(ve){this.buffer=se+`
|
|
|
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ve)}}}this.emit("done",this.fullContent)}catch(rt){rt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",rt.message)}})}handleData(Ze){Ze.content&&(this.fullContent+=Ze.content,this.emit("data",{chunk:Ze,full:this.fullContent}))}cancelRequest(){var Ze;(Ze=this.controller)==null||Ze.abort()}}xe.Z=Ue},64250:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Mt}});var ce=ue(67294),Ae=ue(95012),Fe=ue(71230),ke=ue(15746),Ye={smartWrp:"smartWrp___NjRcB"},Pe=ue(36295),Ue=ue(30001),tt=ue(60580),Ze=ue(67294),rt=(De,te,ee)=>new Promise((de,se)=>{var ge=we=>{try{be(ee.next(we))}catch(Oe){se(Oe)}},ve=we=>{try{be(ee.throw(we))}catch(Oe){se(Oe)}},be=we=>we.done?de(we.value):Promise.resolve(we.value).then(ge,ve);be((ee=ee.apply(De,te)).next())});const xt=`<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
|
|
|
<style>
|
|
|
body {
|
|
|
font-family: Arial, sans-serif;
|
|
|
text-align: center;
|
|
|
margin: 20px;
|
|
|
}
|
|
|
.array-container {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: flex-end;
|
|
|
height: 300px;
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
.bar {
|
|
|
width: 30px;
|
|
|
margin: 0 2px;
|
|
|
background-color: #4caf50;
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
border-radius: 5px;
|
|
|
transition: all 0.3s ease;
|
|
|
}
|
|
|
.bar.sorted {
|
|
|
background-color: #ff9800;
|
|
|
}
|
|
|
.bar.pivot {
|
|
|
background-color: #f44336;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
|
|
|
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
|
|
|
<div class="array-container" id="array-container"></div>
|
|
|
|
|
|
<script>
|
|
|
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
|
|
|
let bars = [];
|
|
|
|
|
|
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
|
|
|
function initArrayDisplay() {
|
|
|
const container = document.getElementById('array-container');
|
|
|
container.innerHTML = '';
|
|
|
bars = array.map(value => {
|
|
|
const bar = document.createElement('div');
|
|
|
bar.className = 'bar';
|
|
|
bar.style.height = \`\${value * 5}px\`;
|
|
|
bar.textContent = value;
|
|
|
container.appendChild(bar);
|
|
|
return bar;
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
|
|
|
function highlightBars(indices, className) {
|
|
|
indices.forEach(index => bars[index].classList.add(className));
|
|
|
}
|
|
|
|
|
|
// \u79FB\u9664\u9AD8\u4EAE
|
|
|
function removeHighlightBars(indices, className) {
|
|
|
indices.forEach(index => bars[index].classList.remove(className));
|
|
|
}
|
|
|
|
|
|
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
|
|
|
async function quickSort(arr, left = 0, right = arr.length - 1) {
|
|
|
if (left >= right) return;
|
|
|
|
|
|
const pivotIndex = await partition(arr, left, right);
|
|
|
await quickSort(arr, left, pivotIndex - 1);
|
|
|
await quickSort(arr, pivotIndex + 1, right);
|
|
|
}
|
|
|
|
|
|
// \u5206\u533A\u51FD\u6570
|
|
|
async function partition(arr, left, right) {
|
|
|
const pivot = arr[right];
|
|
|
let i = left - 1;
|
|
|
|
|
|
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
|
|
|
|
|
|
for (let j = left; j < right; j++) {
|
|
|
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
|
|
|
await sleep(500);
|
|
|
|
|
|
if (arr[j] <= pivot) {
|
|
|
i++;
|
|
|
[arr[i], arr[j]] = [arr[j], arr[i]];
|
|
|
|
|
|
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
|
|
|
bars[i].style.height = \`\${arr[i] * 5}px\`;
|
|
|
bars[i].textContent = arr[i];
|
|
|
bars[j].style.height = \`\${arr[j] * 5}px\`;
|
|
|
bars[j].textContent = arr[j];
|
|
|
|
|
|
await sleep(500);
|
|
|
}
|
|
|
|
|
|
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
|
|
|
}
|
|
|
|
|
|
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
|
|
|
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
|
|
|
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
|
|
|
bars[i + 1].textContent = arr[i + 1];
|
|
|
bars[right].style.height = \`\${arr[right] * 5}px\`;
|
|
|
bars[right].textContent = arr[right];
|
|
|
|
|
|
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
|
|
|
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
|
|
|
await sleep(500);
|
|
|
removeHighlightBars([i + 1], 'sorted');
|
|
|
|
|
|
return i + 1;
|
|
|
}
|
|
|
|
|
|
// \u5EF6\u8FDF\u51FD\u6570
|
|
|
function sleep(ms) {
|
|
|
return new Promise(resolve => setTimeout(resolve, ms));
|
|
|
}
|
|
|
|
|
|
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
|
|
|
document.getElementById('start-sort').addEventListener('click', () => {
|
|
|
quickSort(array);
|
|
|
});
|
|
|
|
|
|
// \u521D\u59CB\u5316\u9875\u9762
|
|
|
initArrayDisplay();
|
|
|
<\/script>
|
|
|
</body>
|
|
|
</html>`;function Qe({open:De=!0,onChange:te,defaultValue:ee,placement:de,width:se,height:ge,extra:ve,onDynamic:be,onOpenChange:we,showExtra:Oe=!0}){const Ke=(0,ce.useRef)(null),qe=(0,ce.useRef)(null),[lt,at]=(0,ce.useState)(ee||""),[ft,pt]=(0,ce.useState)(ee||""),[Nt,Xt]=(0,ce.useState)(!!De),[Zt,yn]=(0,ce.useState)(1),Ln={selectOnLineNumbers:!0};(0,ce.useEffect)(()=>{De&&(at(ee),pt(ee),Xt(!0))},[De,ee]),(0,ce.useEffect)(()=>{lt!==""&&(clearTimeout(qe.current),qe.current=setTimeout(()=>{const Bn=document.createElement("iframe");if(Bn.style.width="100%",Bn.style.height="100%",Bn.style.border="0",Ke.current){Ke.current.innerHTML="",Ke.current.appendChild(Bn);const Et=Bn.contentDocument||Bn.contentWindow.document;Et.open(),Et.write(lt),Et.close()}},1e3))},[De,lt]);const on=Bn=>{at(Bn),te==null||te(Bn,ft)};return Ze.createElement(Ae.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:Nt,width:"100%",height:ge||"100vh",rootClassName:Ye.smartWrp,destroyOnClose:!0,onClose:()=>{Xt(!1),we==null||we(lt)},extra:Oe&&Ze.createElement("div",null,Ze.createElement(Ue.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Zt,onChange:Bn=>yn(Bn)}),Ze.createElement(tt.Z,{type:"primary",className:"ml20",onClick:()=>rt(this,null,function*(){yield be(lt,()=>{Xt(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},Ze.createElement(Fe.Z,{className:"h100"},Ze.createElement(ke.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Zt===1?"block":"none"}},Ze.createElement("div",{className:"h100",ref:Ke})),Ze.createElement(ke.Z,{flex:"1",style:{display:Zt===2?"block":"none"}},Ze.createElement(Pe.ZP,{height:"90vh",value:ee,language:"html",theme:"vs",showMiniMap:!1,options:Ln,onChange:on}))))}var Mt=Qe},89214:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return lt}});var ce=ue(67294),Ae=ue(94668),Fe=ue(91733),ke=ue(17274),Ye=ue(86032),Pe=ue(74855),Ue={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},tt=ue(2453),Ze=ue(30264),rt=ue(44140),xt=ue(41807),Qe=ue(67127),Mt=ue(81897),De=ue(64250),te=Object.defineProperty,ee=Object.defineProperties,de=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,be=(at,ft,pt)=>ft in at?te(at,ft,{enumerable:!0,configurable:!0,writable:!0,value:pt}):at[ft]=pt,we=(at,ft)=>{for(var pt in ft||(ft={}))ge.call(ft,pt)&&be(at,pt,ft[pt]);if(se)for(var pt of se(ft))ve.call(ft,pt)&&be(at,pt,ft[pt]);return at},Oe=(at,ft)=>ee(at,de(ft)),Ke=(at,ft)=>{var pt={};for(var Nt in at)ge.call(at,Nt)&&ft.indexOf(Nt)<0&&(pt[Nt]=at[Nt]);if(at!=null&&se)for(var Nt of se(at))ft.indexOf(Nt)<0&&ve.call(at,Nt)&&(pt[Nt]=at[Nt]);return pt},lt=({onFinish:at,value:ft,streamingStatus:pt,cancelIndex:Nt,loadImage:Xt,onDynamic:Zt,isHiddenHtml:yn})=>{const[Ln,on]=(0,ce.useState)(""),[Bn,Et]=(0,ce.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[nt,ot]=(0,ce.useState)(0),[Jt,In]=(0,ce.useState)(!1),Gt=di=>di.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(At,Ot)=>`<mathx data-text="${Ot.trim()}">$$${Ot.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),An=()=>{In(!0),at==null||at()};(0,ce.useEffect)(()=>{const di=Xt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
|
|
|
|
|
|
${ft}`:ft,At=Gt(di);if(!Jt)if(Xt||!pt||Nt>0){on(At),ot(At.length),(!pt||Nt>0)&&!Xt&&An();return}else if((At==null?void 0:At.length)<4)on(At),ot(At.length);else if(nt<At.length){const Ot=At.length-nt,$e=setInterval(()=>{on(At.slice(0,nt+2)),ot(Wt=>Wt+2)},Ot>10?Math.max(500/(Ot/2),20):50);return()=>clearInterval($e)}else pt||An()},[ft,pt,Nt,Xt,nt]);const Nn=(0,ce.useMemo)(()=>ce.createElement("section",{className:`${Ue.answer} fadeIn animated edu_md`},ce.createElement(Ae.U,{remarkPlugins:[xt.Z,Qe.Z],rehypePlugins:[rt.Z,ke.Z],components:{code(di){var At=di,{node:Ot,inline:$e,className:Wt,children:jt}=At,Je=Ke(At,["node","inline","className","children"]);const Me=/language-(\w+)/.exec(Wt||""),Le=String(jt).trim();return $e||!Me?ce.createElement("code",we({className:Wt},Je),jt):ce.createElement("code",{className:Ue.codeCopy,"data-text":`\`\`\`${Me?Me[1]:""}
|
|
|
${jt}
|
|
|
\`\`\``},!yn&&ce.createElement(Pe.CopyToClipboard,{text:Le,onCopy:()=>tt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ce.createElement("button",null,"\u590D\u5236")),!yn&&Me[1]==="html"&&Jt&&ce.createElement("button",{className:Ue.runCode,onClick:()=>{Et(we({},Oe(we({},Bn),{open:++Bn.open,defaultValue:Le,language:Me[1]})))}},"\u8FD0\u884CHTML"),ce.createElement(Fe.Z,we({wrapLongLines:!0,style:Ye.Z,language:Me[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Je),Le))},img({node:di}){var At;const Ot=(At=di.properties)==null?void 0:At.src;return ce.createElement(Ze.Z,{src:Ot,width:320,"data-text":Ot,onLoad:()=>Xt&&setTimeout(()=>An(),500)})},a:di=>{var At=di,{node:Ot}=At,$e=Ke(At,["node"]);return ce.createElement("a",Oe(we({},$e),{target:"_blank",rel:"noopener noreferrer"}))}}},Jt?Ln:`${Ln}__`)),[Ln]);return ce.createElement(ce.Fragment,null,ce.createElement(De.Z,{defaultValue:Bn.defaultValue,open:Bn.open,language:Bn.language,height:Bn.height,onChange:(di,At)=>{on(Ln.replaceAll(At,di))},onDynamic:Zt}),Nn)}},16221:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return tt}});var ce=ue(67294),Ae=ue(28706),Fe={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj",close1:"close1___eCYqo",extraNode:"extraNode___tnBrt",upimg:"upimg___dvEUw"},ke=ue(11320),Ye=ue(37166),Pe=ue(83062),tt=({src:Ze,onClick:rt,topPercentage:xt=.62,draggableExtraNode:Qe,usercourse:Mt})=>{var De;const te=(0,ce.useRef)(null),ee=(0,ce.useRef)(!1),de=(0,ce.useRef)(!1),[se,ge]=(0,ce.useState)(window.innerHeight*xt),[ve,be]=(0,ce.useState)(!1),we=10;return(0,ce.useEffect)(()=>{if(te.current){let Oe=function(ft){var pt;ee.current=!0,at=ft.pageY,lt=ft.pageY-(((pt=te.current)==null?void 0:pt.getBoundingClientRect().top)||0),(0,Ae.kk)("none"),document.onselectstart=function(){return!1}},Ke=function(){ee.current&&!de.current&&rt&&rt(),ee.current=!1,de.current=!1,(0,Ae.kk)("auto"),document.onselectstart=null},qe=function(ft){var pt;if(ee.current){const Xt=ft.pageY-lt,Zt=window.innerHeight-(((pt=te.current)==null?void 0:pt.offsetHeight)||0)-50,yn=50;if(!de.current&&Math.abs(at-ft.pageY)>we&&(de.current=!0),de.current){let Ln=Math.max(yn,Math.min(Xt,Zt));ge(Ln)}}},lt=0,at=0;return te.current.addEventListener("mousedown",Oe),document.addEventListener("mousemove",qe),document.addEventListener("mouseup",Ke),()=>{var ft,pt;(pt=(ft=te==null?void 0:te.current)==null?void 0:ft.removeEventListener)==null||pt.call(ft,"mousedown",Oe),document.removeEventListener("mousemove",qe),document.removeEventListener("mouseup",Ke)}}},[rt]),(0,ce.useEffect)(()=>{const Oe=()=>{ge(window.innerHeight*xt)};return window.addEventListener("resize",Oe),()=>{window.removeEventListener("resize",Oe)}},[xt]),ce.createElement("div",{className:Fe.draggableImage,style:{top:`${se}px`,display:ve?"none":"block",cursor:ee.current?"grabbing":"grab"},ref:te},Qe&&ce.createElement("div",{className:Fe.extraNode,onMouseUp:Oe=>Oe.stopPropagation(),onMouseDownCapture:Oe=>Oe.stopPropagation()},Qe),Mt!=null&&Mt.ai_nickname?ce.createElement("div",null,ce.createElement(Pe.Z,{getPopupContainer:()=>te.current,color:"#4465EA",open:!0,placement:"top",arrow:!0,title:Mt==null?void 0:Mt.ai_nickname},ce.createElement("div",null)),ce.createElement("img",{className:Fe.upimg,src:Mt!=null&&Mt.ai_headimg_id?((De=ke.Z)==null?void 0:De.API_SERVER)+"/api/attachments/"+(Mt==null?void 0:Mt.ai_headimg_id):Ye,width:60,draggable:"false"})):ce.createElement("img",{className:Fe.img,src:Ze,width:60,draggable:"false"}),ce.createElement("i",{className:`iconfont icon-tupianguanbi ${Mt!=null&&Mt.ai_nickname?Fe.close1:Fe.close}`,onMouseUp:Oe=>{Oe.stopPropagation(),be(!0)}}))}},1744:function(Re,xe,ue){"use strict";var ce=ue(67294),Ae=Object.defineProperty,Fe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Pe=(Qe,Mt,De)=>Mt in Qe?Ae(Qe,Mt,{enumerable:!0,configurable:!0,writable:!0,value:De}):Qe[Mt]=De,Ue=(Qe,Mt)=>{for(var De in Mt||(Mt={}))ke.call(Mt,De)&&Pe(Qe,De,Mt[De]);if(Fe)for(var De of Fe(Mt))Ye.call(Mt,De)&&Pe(Qe,De,Mt[De]);return Qe},tt=(Qe,Mt)=>{var De={};for(var te in Qe)ke.call(Qe,te)&&Mt.indexOf(te)<0&&(De[te]=Qe[te]);if(Qe!=null&&Fe)for(var te of Fe(Qe))Mt.indexOf(te)<0&&Ye.call(Qe,te)&&(De[te]=Qe[te]);return De};const Ze=ue(20441),rt={};Ze.keys().forEach(Qe=>{const Mt=Qe.replace("./","").replace(".svg","");rt[Mt]=Ze(Qe)});const xt=Qe=>{var Mt=Qe,{filename:De}=Mt,te=tt(Mt,["filename"]),ee;const de=((ee=De==null?void 0:De.split(".").pop())==null?void 0:ee.toLowerCase())||"unknown",se=rt[de]||rt.default;return ce.createElement("img",Ue({src:se,alt:de},te))};xe.Z=xt},14549:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return rt}});var ce=ue(67294),Ae={flex_box_center:"flex_box_center___kyfCX",flex_space_between:"flex_space_between___GHTzD",flex_box_vertical_center:"flex_box_vertical_center___FdgNd",flex_box_center_end:"flex_box_center_end___LMVYD",flex_box_column:"flex_box_column___Yb2bC",f_l_c:"f_l_c___nwLBO",officediv:"officediv___KkKIB",preclass:"preclass___SCKdC"},Fe=ue(96074),ke=ue(1744),Ye=ue(83062),Pe=ue(55241),tt=({item:xt})=>{var Qe;const[Mt,De]=(0,ce.useState)(!1);return ce.createElement("div",{className:Ae.f_l_c},ce.createElement(Ye.Z,{title:xt==null?void 0:xt.name},ce.createElement(Pe.Z,{placement:"top",content:ce.createElement("div",null,ce.createElement(Fe.Z,null),ce.createElement("pre",{className:Ae.preclass,style:{maxWidth:600,maxHeight:400}},(Qe=xt==null?void 0:xt.contents)==null?void 0:Qe.toString())),title:ce.createElement("div",null,ce.createElement(ke.Z,{filename:xt==null?void 0:xt.name,style:{width:16,height:16,marginRight:5}}),xt==null?void 0:xt.name),trigger:"click",open:Mt,onOpenChange:te=>{De(te)}},ce.createElement("div",{className:Ae.officediv},ce.createElement(ke.Z,{filename:xt==null?void 0:xt.name,style:{width:16,height:16,marginRight:5}}),xt==null?void 0:xt.name))))},rt=({Filelist:xt})=>ce.createElement("div",null,ce.createElement("div",{style:{display:"flex",alignItems:"center"}},ce.createElement("span",{style:{minWidth:40,fontWeight:500,color:"#333"}},"\u5F15\u7528"),ce.createElement(Fe.Z,{style:{flex:1,minWidth:"calc(100% - 40px)"}})),ce.createElement("div",{className:Ae.f_l_c},xt==null?void 0:xt.map(Qe=>ce.createElement(tt,{item:Qe}))))},68041:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return we}});var ce=ue(67294),Ae={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Fe=ue(78957),ke=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,tt=(Oe,Ke,qe)=>Ke in Oe?ke(Oe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Oe[Ke]=qe,Ze=(Oe,Ke)=>{for(var qe in Ke||(Ke={}))Pe.call(Ke,qe)&&tt(Oe,qe,Ke[qe]);if(Ye)for(var qe of Ye(Ke))Ue.call(Ke,qe)&&tt(Oe,qe,Ke[qe]);return Oe};const rt=Oe=>React.createElement("svg",Ze({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Oe),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var xt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Qe=Object.defineProperty,Mt=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ee=(Oe,Ke,qe)=>Ke in Oe?Qe(Oe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Oe[Ke]=qe,de=(Oe,Ke)=>{for(var qe in Ke||(Ke={}))De.call(Ke,qe)&&ee(Oe,qe,Ke[qe]);if(Mt)for(var qe of Mt(Ke))te.call(Ke,qe)&&ee(Oe,qe,Ke[qe]);return Oe};const se=Oe=>React.createElement("svg",de({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Oe),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var ge="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1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E5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",ve=ue(67294),we=({value:Oe,onChange:Ke})=>{const[qe,lt]=(0,ce.useState)(!1),at=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:xt},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:ge}],ft=at.find(pt=>pt.key===Oe);return ve.createElement("div",{className:Ae.select},ve.createElement(Fe.Z,{size:10},ve.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),ve.createElement("div",{className:Ae.box,onMouseLeave:()=>lt(!1)},ve.createElement("div",{className:Ae.text,onClick:()=>lt(!0)},ve.createElement("img",{src:ft.img,width:20}),ve.createElement("span",null,ft.name),ve.createElement("b",{className:"iconfont icon-zhankai6"})),qe&&ve.createElement("div",{className:Ae.itemWrap},ve.createElement("aside",null,at.map(pt=>ve.createElement("div",{key:pt.key,className:`${Ae.item} ${pt.key===Oe?Ae.active:""}`,onClick:Nt=>{Nt.stopPropagation(),Ke(pt.key),lt(!1)}},ve.createElement("img",{src:pt.img,width:20}),ve.createElement("span",null,pt.name))))))))}},6655:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Ue}});var ce=ue(67294),Ae={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Fe=ue(74330),ke=ue(67294),Ye=(tt,Ze,rt)=>new Promise((xt,Qe)=>{var Mt=ee=>{try{te(rt.next(ee))}catch(de){Qe(de)}},De=ee=>{try{te(rt.throw(ee))}catch(de){Qe(de)}},te=ee=>ee.done?xt(ee.value):Promise.resolve(ee.value).then(Mt,De);te((rt=rt.apply(tt,Ze)).next())}),Ue=({value:tt="",streamingStatus:Ze,onFinish:rt,cancelIndex:xt,time:Qe,loading:Mt,loadAll:De})=>{const[te,ee]=(0,ce.useState)(""),[de,se]=(0,ce.useState)(!0),ge=(0,ce.useRef)(tt),ve=(0,ce.useRef)(Ze),be=(0,ce.useRef)(0),we=(0,ce.useRef)(null),[Oe,Ke]=(0,ce.useState)(!1),qe=70;(0,ce.useEffect)(()=>{ve.current=Ze},[Ze]),(0,ce.useEffect)(()=>{ge.current=tt},[tt]),(0,ce.useEffect)(()=>{if(!Ze){ee(ge.current);return}return Ke(!0),we.current=setInterval(lt,qe),()=>{clearInterval(we.current)}},[]),(0,ce.useEffect)(()=>{Oe&&(ee(ge.current),clearInterval(we.current),Ke(!1),rt())},[xt]);const lt=()=>Ye(void 0,null,function*(){const at=ge.current[be.current];at!==void 0?(ee(ft=>ft+at),be.current++,clearInterval(we.current),we.current=setInterval(lt,280/(ge.current.length-be.current))):ve.current===!1&&(ee(ge.current),clearInterval(we.current),Ke(!1),rt())});return ke.createElement("div",{className:`${Ae.reasoning} fadeIn animated`},ke.createElement("div",{className:Ae.btn,onClick:()=>se(!de)},ke.createElement("i",{className:"iconfont icon-shendusikao"}),Qe?ke.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",Qe," \u79D2\uFF09"):ke.createElement("span",null,"\u601D\u8003\u4E2D..."),de?ke.createElement("b",{className:"iconfont icon-shouqi6"}):ke.createElement("b",{className:"iconfont icon-zhankai6"})),Mt&&ke.createElement(Fe.Z,{spinning:!0,className:"mt20"}),de&&!Mt&&ke.createElement("div",{className:Ae.content},te,Oe?ke.createElement("span",{className:"aiBlink"},"__"):""))}},66973:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return di}});var ce=ue(67294),Ae=ue(95012),Fe=ue(2453),ke=ue(35059),Ye=ue(62844),Pe=ue(83062),Ue=ue(28802),tt=ue(85804),Ze=ue(74330),rt=ue(32983),xt=ue(86738),Qe=ue(85418),Mt=ue(94184),De=ue.n(Mt),te=ue(35973),ee=ue(89214),de=ue(14549),se=ue(6655),ge=ue(68041),ve={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV",addimg:"addimg___x8tKJ"},be=ue(33170),we=ue(28706),Oe=ue(16221),Ke=ue(37166),qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAj0AAADWCAYAAAA6jTNpAAAQAElEQVR4Aey9B2BkSXUu/NXtoDyjyTnvhN3ZmZ3NgY1sgCWHJRlMeAYcsQ3YmN9+Nuvw7Gc/G2xjgxNxMWBgMSYvsLCJjWyY3Z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262),Ln=Object.defineProperty,on=Object.defineProperties,Bn=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Jt=(At,Ot,$e)=>Ot in At?Ln(At,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$e}):At[Ot]=$e,In=(At,Ot)=>{for(var $e in Ot||(Ot={}))nt.call(Ot,$e)&&Jt(At,$e,Ot[$e]);if(Et)for(var $e of Et(Ot))ot.call(Ot,$e)&&Jt(At,$e,Ot[$e]);return At},Gt=(At,Ot)=>on(At,Bn(Ot)),An=(At,Ot,$e)=>new Promise((Wt,jt)=>{var Je=Xe=>{try{Le($e.next(Xe))}catch(dt){jt(dt)}},Me=Xe=>{try{Le($e.throw(Xe))}catch(dt){jt(dt)}},Le=Xe=>Xe.done?Wt(Xe.value):Promise.resolve(Xe.value).then(Je,Me);Le(($e=$e.apply(At,Ot)).next())});const Nn=({title:At="\u5934\u6B4CAI",placeholder:Ot,hideUpload:$e,hideInputBox:Wt,aiIcon:jt=Ke,userIcon:Je=lt,dragIcon:Me=at,children:Le,fetchUrl:Xe,fetchData:dt={},extraAnswerAction:je,showDefaultTips:bt=!0,onOpen:Sn,onClose:ni,loadingOption:ui,showPreference:vn=!1,initMessage:_n,customRequest:rn,visible:oi,width:ei=1200,isCheckRestrictNumber:Ri=!1,headNode:cn,headFunctionNode:tr,showRedraw:Xi,showEdit:$t,promptPropName:_e="prompt",topPercentage:xr,showSwitchingModel:er=!1,showImageGenerator:ai=!1,showLookHistory:Rr=!1,fetchListObject:Lr,customPreference:Ii,customDataNode:ar,showAddSession:hi,historyId:Qt,draggableExtraNode:Wr,drawerExtraNode:oo,menuExtraFunctionNode:dr,showSceneAwareness:xo=!1,ReactComponent:yr=Ae.Z,topFunctionNode:On,footerContainerStyle:Ie,chatContainerStyle:Mn={},showCodePreview:Kn=!1,showSource:ri=!0,onSendMessage:fi,globalSetting:vi,pathsDetail:Ni,dispatch:hr,user:un,onDynamic:hn=()=>{}})=>{var Kt,bn,Mi,Oi,bi,sn,Un,Wi,ir,si,tn,Hi,lr,Hr,jn;const[qi,ao]=(0,ce.useState)(!1),[jo,ko]=(0,ce.useState)("qwen-max"),[Vi,Qi]=(0,ce.useState)([]),[sr,Zr]=(0,ce.useState)([]),[Io,Si]=(0,ce.useState)(!1),[mr,ja]=(0,ce.useState)(!1),[Ha,Sa]=(0,ce.useState)(!1),[nn,pr]=(0,ce.useState)([]),[Jr,vr]=(0,ce.useState)(""),[ia,vo]=(0,ce.useState)(0),[Po,bo]=(0,ce.useState)(void 0),[so,Do]=(0,ce.useState)(!1),[Qn,$o]=(0,ce.useState)(null),[Rt,ut]=(0,ce.useState)(""),Dn=(0,ce.useRef)(),Lt=(0,ce.useRef)(null),Ft=(0,te.useParams)(),Yt=(0,ce.useRef)(null),[pn,ti]=(0,ce.useState)(!1),[Li,Pi]=(0,ce.useState)(!1),[Fn,st]=(0,ce.useState)(!1),[br,_r]=(0,ce.useState)(!1),[to,lo]=(0,ce.useState)(!1),[uo,Vr]=(0,ce.useState)(0),Mo=(0,ce.useRef)(null),co=(0,ce.useRef)(!1),Ir=(0,ce.useRef)(null),[or,Di]=(0,ce.useState)(void 0),[Ci,ji]=(0,ce.useState)(!0),[fn,$i]=(0,ce.useState)(ei-28),[Ji,Gr]=(0,ce.useState)(!1),[io,qr]=(0,ce.useState)(!0),[yo,ea]=(0,ce.useState)([]),[Zo,ua]=(0,ce.useState)([]),ba=(0,ce.useRef)([]),an=(0,ce.useRef)(null),qo=(0,ce.useRef)(null),fa=(0,ce.useRef)(!1),Ra=fn-22,po=Jr==null?void 0:Jr.split(`
|
|
|
`).length,{onAdd:Xa,onGetList:Na,onListClick:qa,onListDelete:Co,onListDealData:Go}=Lr||{},[wr,$r]=(0,ce.useState)((bn=(Kt=un==null?void 0:un.userInfo)==null?void 0:Kt.course)==null?void 0:bn.ai_nickname),[ho,_o]=(0,ce.useState)((Oi=(Mi=un==null?void 0:un.userInfo)==null?void 0:Mi.course)==null?void 0:Oi.ai_headimg_id),[Zi,Ea]=(0,ce.useState)(!1),ca=50,ga=10,rs={maxCount:ca,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Vi,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:Zn=>An(void 0,null,function*(){var Sr,Kr,no,Lo;const Xo=(Lo=(no=(Kr=(Sr=Zn==null?void 0:Zn.name)==null?void 0:Sr.split("."))==null?void 0:Kr.slice(-1))==null?void 0:no[0])==null?void 0:Lo.toLowerCase(),Wo=["doc","docx","md","pdf","txt","xlsx","xls"].includes(Xo);return Zn.size==0?(Fe.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),ke.default.LIST_IGNORE):Wo?Zn.size/1024/1024>100?(Fe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),ke.default.LIST_IGNORE):!0:(Fe.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001xlsx\u3001xls\u6587\u4EF6"),ke.default.LIST_IGNORE)}),onChange:({fileList:Zn})=>{Qi(Zn)},action:`${(bi=ft.Z)==null?void 0:bi.API_SERVER}/api/intelligent_imports/upload_file.json`},us={maxCount:ga,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:sr,multiple:!0,accept:".jpg,.png,",beforeUpload:Zn=>{var Sr,Kr,no,Lo;const Xo=(Lo=(no=(Kr=(Sr=Zn==null?void 0:Zn.name)==null?void 0:Sr.split("."))==null?void 0:Kr.slice(-1))==null?void 0:no[0])==null?void 0:Lo.toLowerCase(),Wo=["jpg","png"].includes(Xo);return Zn.size==0?(Fe.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),ke.default.LIST_IGNORE):Wo?Zn.size/1024/1024>10?(Fe.ZP.warning("\u4E0A\u4F20\u7684\u56FE\u7247\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),ke.default.LIST_IGNORE):!0:(Fe.ZP.warning("\u76EE\u524D\u652F\u6301jpg\u3001png"),ke.default.LIST_IGNORE)},onChange:({fileList:Zn})=>{Zr(Zn)},action:`${(sn=ft.Z)==null?void 0:sn.API_SERVER}/api/ai/generals/update_file.json`};(0,ce.useEffect)(()=>{if(!nn.length||!Dn.current)return;const Zn=nn[nn.length-1];Zn!=null&&Zn.loading&&(Dn.current.scrollTop=Dn.current.scrollHeight)},[nn.length]),(0,ce.useEffect)(()=>{if(!Dn.current||!Mo.current)return;const Zn=new IntersectionObserver(([Sr])=>{ji(Sr.isIntersecting)},{root:Dn.current,rootMargin:"70px",threshold:0});return Zn.observe(Mo.current),()=>{Mo.current&&Zn.unobserve(Mo.current)}},[Dn.current,Mo.current]),(0,ce.useEffect)(()=>{if(!pn)return;const Zn=Dn.current,Sr=Ir.current;co.current=!1;let Kr=Zn.scrollTop;const no=()=>{const{scrollTop:Xo,scrollHeight:La,clientHeight:Wo}=Zn;Xo>Kr?Xo+Wo>=La-50&&(Zn.scrollTop=Zn.scrollHeight,co.current=!1):Xo<Kr&&(co.current=!0),Kr=Xo};Zn.addEventListener("scroll",no);const Lo=new ResizeObserver(()=>{co.current||(Zn.scrollTop=Zn.scrollHeight)});return Lo.observe(Sr),()=>{var Xo;Lo.unobserve(Sr),(Xo=Zn==null?void 0:Zn.removeEventListener)==null||Xo.call(Zn,"scroll",no)}},[pn]),(0,ce.useEffect)(()=>{!pn&&ba.current.length&&(pr([...nn,...ba.current]),ba.current=[])},[pn]),(0,ce.useEffect)(()=>{if(!Dn.current)return;const Zn=new ResizeObserver(()=>{var Sr;Dn.current&&$i((Sr=Dn.current)==null?void 0:Sr.offsetWidth)});return Zn.observe(Dn.current),()=>{Dn.current&&Zn.unobserve(Dn.current)}},[Dn.current]),(0,ce.useEffect)(()=>{typeof oi=="boolean"&&ao(oi)},[oi]),(0,ce.useEffect)(()=>{var Zn;if(Lt.current&&Qn!==null){Lt.current.focus();const Sr=(Zn=Lt.current.resizableTextArea)==null?void 0:Zn.textArea;Sr&&(Sr.selectionStart=Sr.selectionEnd=Sr.value.length)}},[Qn]),(0,ce.useEffect)(()=>{po<5&&Do(!1)},[po]),(0,ce.useEffect)(()=>{qi&&_n&&(pr(wi(_n)),Si(!0),Ba(_n,{history:[]})),qi&&(ts(),Qt?Bs(Qt):hi&&!or&&Kl()),qi||pa()},[qi]);const wi=(Zn="",Sr=[],Kr=[])=>{const no=Date.now();return[{text:Zn,key:no,sender:"user",fileList:Sr,imageList:Kr,show:!0},{loading:!0,key:no,sender:"AI",show:!0,model:jo,imageGenerator:br,thinkingEnabled:Li,codePreview:Fn}]},pa=()=>{ut(""),$o(null),Qi([]),Zr([]),vr("")},ka=()=>{if(Sn){Sn({chatData:nn,setChatData:pr,setLoading:Si,getData:Ba,renderChatItems:wi,handleAdd:Kl,identifier:or});return}ao(!0)},fs=()=>{if(qr(!0),ni){ni();return}ao(!1)},wa=()=>{Do(!so)},ts=()=>An(void 0,null,function*(){if(!Ri)return;const Zn=yield(0,be.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Zn==null?void 0:Zn.status)===0&&(Zn==null?void 0:Zn.total_number)!==-1&&(vo((Zn==null?void 0:Zn.total_number)-(Zn==null?void 0:Zn.remaining_number)),bo(Zn==null?void 0:Zn.total_number))}),Yr=()=>{Ye.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ce.createElement("div",null,ce.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ce.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",Po,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Is=Zn=>Zn.reduce((Kr,no)=>{if(no.sender==="user"){const Lo=Zn.find(Xo=>Xo.key===no.key&&Xo.sender==="AI");Lo&&(Lo!=null&&Lo.text)&&!(Lo!=null&&Lo.error)&&Kr.push({question:no.text,answer:Lo.text})}return Kr},[]),Ba=(...Zn)=>An(void 0,[...Zn],function*(Sr="",Kr={},no=nn){if(rn&&(yield rn({mes:Sr,setChatData:pr,fileList:Vi,body:Kr,checkNum:ts,setLoading:Si,bodyChatData:no,setTyping:ti,setImageGenerator:_r,renderChatItems:wi})),!rn){const Lo=Vi==null?void 0:Vi.map(Ia=>{var gs;return(gs=Ia==null?void 0:Ia.response)==null?void 0:gs.file_id}),Xo=sr==null?void 0:sr.map(Ia=>{var gs;return(gs=Ia==null?void 0:Ia.response)==null?void 0:gs.data}),La=Kr.history||Is(no),Wo=In(In({identifier:or,response_mode:"streaming",model:jo,scene_awareness:to,thinking_enabled:Li,image_generator:br,code_preview:Fn,file_ids:Lo,image_list:Xo,history:La,[_e]:Sr},dt),Kr),vs=Object.fromEntries(Object.entries(Wo).filter(([Ia,gs])=>gs!==void 0));Yt.current=new Nt.Z(ft.Z.API_SERVER+Xe,vs),yield new Promise((Ia,gs)=>{let cr=null,_l=null;Yt.current.on("data",Ht=>{ti(!0);const{chunk:{content:Jn,type:vu,created:Mu,msg:Ul}}=Ht,nl=Ul==="error";vu==="thinking"&&(cr=cr||Mu,pr(Js=>[...Js].map((_s,il)=>il===Js.length-1?Gt(In({},_s),{reasoning:(_s.reasoning||"")+Jn,loading:!1,hideAnswer:!0,error:nl}):_s))),vu==="text"&&(_l=_l||Mu,pr(Js=>[...Js].map((_s,il)=>il===Js.length-1?Gt(In({},_s),{text:(_s.text||"")+Jn,loading:!1,startTime:cr,endTime:_l,error:nl}):_s))),vu==="knowledge"&&pr(Js=>[...Js].map((_s,il)=>{var _a;return il===Js.length-1?Gt(In({},_s),{text:(_s.text||"")+"",loading:!1,startTime:cr,endTime:_l,error:nl,knowledge:(_a=Ht==null?void 0:Ht.chunk)==null?void 0:_a.content}):_s}))}),Yt.current.on("done",()=>{Ia()}),Yt.current.on("error",Ht=>{let Jn="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(Ht)==="[object Object]"&&Ht.status===-9&&(Jn=Ht==null?void 0:Ht.message),pr(vu=>[...vu].map((Mu,Ul)=>Ul===vu.length-1?Gt(In({},Mu),{text:Jn,loading:!1,error:!0}):Mu)),Ia()}),Yt.current.on("cancelled",()=>{Ia()}),Yt.current.startStream()})}ts(),Si(!1)}),ns=Zn=>{vr(Zn.target.value)},ws=(Zn,Sr)=>{if(pa(),Si(!0),Zn==="edit"){ba.current=nn.slice(Sr+2);const Kr=nn.splice(Sr),{fileList:no=[],imageList:Lo=[]}=(Kr==null?void 0:Kr[0])||{},Xo=no.map(vs=>{var Ia;return(Ia=vs.response)==null?void 0:Ia.file_id}),La=Lo.map(vs=>{var Ia;return(Ia=vs.response)==null?void 0:Ia.data}),Wo={history:Is(nn),file_ids:Xo,image_list:La,edit:!0};pr([...nn,...wi(Rt,no,Lo)]),Ba(Rt,Wo,nn)}if(Zn==="redraw"){ba.current=nn.slice(Sr+1);const Kr=nn.splice(Sr-1),{text:no,fileList:Lo=[],imageList:Xo=[]}=(Kr==null?void 0:Kr[0])||{},La=Lo.map(Ia=>{var gs;return(gs=Ia.response)==null?void 0:gs.file_id}),Wo=Xo.map(Ia=>{var gs;return(gs=Ia.response)==null?void 0:gs.data}),vs={history:Is(nn),file_ids:La,image_list:Wo,edit:!0};pr([...nn,...wi(no,Lo,Xo)]),Ba(no,vs,nn)}},tl=()=>{if(Jr.trim()!==""){pa(),Si(!0);const Zn=Vi.filter(Kr=>Kr.status==="done"),Sr=sr.filter(Kr=>Kr.status==="done");pr([...nn,...wi(Jr,Zn,Sr)]),Ba(Jr)}},Fl=Zn=>{if(Zn.shiftKey){if(Zn.key==="Enter")return}else if(Zn.key==="Enter"){if(Zn.preventDefault(),Ku||fa.current)return;tl()}},os=(Zn,Sr)=>{let Kr=!1;$t===!0?Kr=!0:$t==="last"&&(Kr=nn.reduce((La,Wo,vs)=>Wo.sender==="user"?vs:La,-1)===Sr);const no=Sr===Qn,Lo=[...(Zn==null?void 0:Zn.fileList)||[],...(Zn==null?void 0:Zn.imageList)||[]];return ce.createElement("div",{className:ve.li,style:In({width:Ra},Mn)},ce.createElement("div",{className:ve.avatarIcon},ce.createElement("img",{className:ve.img,src:Je})),ce.createElement("div",{className:ve.content},!!(Lo!=null&&Lo.length)&&ce.createElement("div",{className:ve.fileWrap},Lo==null?void 0:Lo.map((Xo,La)=>{var Wo,vs;return ce.createElement("div",{key:La,className:ve.file},ce.createElement("img",{src:ue(90034)(`./${((vs=(Wo=Xo==null?void 0:Xo.name)==null?void 0:Wo.split("."))==null?void 0:vs.pop())||"txt"}.png`),width:20,className:"mr10"}),ce.createElement("aside",null,ce.createElement(Pe.Z,{title:Xo==null?void 0:Xo.name},ce.createElement("div",{className:ve.fileName},Xo==null?void 0:Xo.name)),ce.createElement("div",{className:"c-grey-999 font12"},(0,we.RD)(Xo==null?void 0:Xo.size))))})),ce.createElement("div",{className:ve.borderBox},no?ce.createElement(Ue.default.TextArea,{value:Rt,ref:Lt,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:Xo=>ut(Xo.target.value)}):ce.createElement("div",{className:ve.text},Zn==null?void 0:Zn.text)),no?ce.createElement("div",{className:ve.action},ce.createElement(tt.ZP,{onClick:()=>{ut(""),$o(null)},size:"small"},"\u53D6\u6D88"),ce.createElement(tt.ZP,{disabled:!Rt.trim(),onClick:()=>ws("edit",Sr),type:"primary",size:"small"},"\u786E\u8BA4")):ce.createElement("div",{className:ve.action},ce.createElement(pt.CopyToClipboard,{text:(Zn==null?void 0:Zn.text)||"",onCopy:()=>Fe.ZP.success("\u590D\u5236\u6210\u529F")},ce.createElement(Pe.Z,{title:"\u590D\u5236"},ce.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Kr&&!Io&&ce.createElement(Pe.Z,{title:"\u7F16\u8F91"},ce.createElement("i",{onClick:()=>{$o(Sr),ut((Zn==null?void 0:Zn.text)||"")},className:"iconfont icon-bianji10 font14"})))))},za=(Zn,Sr)=>{var Kr,no,Lo,Xo,La,Wo;let vs=!1;Xi===!0?vs=!0:Xi==="last"&&(vs=nn.reduce((cr,_l,Ht)=>_l.sender==="AI"?Ht:cr,-1)===Sr);let Ia="";return Zn!=null&&Zn.source?Ia=Zn==null?void 0:Zn.source:(Zn==null?void 0:Zn.model)==="deepseek-r1"?Ia="\u7531deepseek\u751F\u6210":(Zn==null?void 0:Zn.model)==="qwen-max"&&(Ia="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),ce.createElement("div",{className:ve.li,style:In({width:Ra},Mn)},ce.createElement("div",{className:ve.avatarIcon},ce.createElement("img",{className:ve.img,src:(no=(Kr=un==null?void 0:un.userInfo)==null?void 0:Kr.course)!=null&&no.ai_headimg_id?((Lo=ft.Z)==null?void 0:Lo.API_SERVER)+"/api/attachments/"+((La=(Xo=un==null?void 0:un.userInfo)==null?void 0:Xo.course)==null?void 0:La.ai_headimg_id):jt})),ce.createElement("div",{className:ve.content},ce.createElement("div",{className:ve.borderBox},Zn.loading&&ce.createElement(ce.Fragment,null,Zn!=null&&Zn.imageGenerator?ce.createElement("div",{className:ve.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ce.createElement("div",{className:"ai-loading"})):!(Zn!=null&&Zn.thinkingEnabled)&&ce.createElement("div",null,ce.createElement("div",{className:ve.loading},ce.createElement("div",{className:ve.dot}),ce.createElement("div",{className:ve.dot}),ce.createElement("div",{className:ve.dot})),ce.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(ui==null?void 0:ui.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(Zn==null?void 0:Zn.thinkingEnabled)&&ce.createElement(se.Z,{time:Zn==null?void 0:Zn.time,cancelIndex:uo,loading:Zn.loading,streamingStatus:!(Zn!=null&&Zn.text),onFinish:()=>{Vr(0),pr(gs=>[...gs].map((cr,_l)=>_l===gs.length-1?Gt(In({},cr),{hideAnswer:!1,time:cr.startTime?cr.endTime-cr.startTime:null}):cr))},value:Zn==null?void 0:Zn.reasoning}),!!(Zn!=null&&Zn.text)&&!Zn.hideAnswer&&ce.createElement(ee.Z,{onDynamic:hn,cancelIndex:uo,streamingStatus:Io,loadImage:!!(Zn!=null&&Zn.imageGenerator),onFinish:()=>An(void 0,null,function*(){Vr(0),setTimeout(()=>ti(!1),0)}),value:Zn==null?void 0:Zn.text}),((Wo=Zn==null?void 0:Zn.knowledge)==null?void 0:Wo.length)>0&&ce.createElement(de.Z,{Filelist:Zn==null?void 0:Zn.knowledge})),ri&&!!(Zn!=null&&Zn.text)&&Ia&&ce.createElement("div",{className:ve.source},Ia),ce.createElement("div",{className:ve.action},je==null?void 0:je(Zn,Sr,Iu),!(Zn!=null&&Zn.imageGenerator)&&ce.createElement(pt.CopyToClipboard,{text:String((Zn==null?void 0:Zn.text)||""),onCopy:()=>Fe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ce.createElement(Pe.Z,{title:"\u590D\u5236"},ce.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),vn&&!Io&&ce.createElement(ce.Fragment,null,ce.createElement(Pe.Z,{title:"\u559C\u6B22"},ce.createElement("i",{style:Zn!=null&&Zn.like?{color:"#FA8D30"}:{},onClick:()=>mu("like",!(Zn!=null&&Zn.like),Sr),className:"iconfot icon-yijiejue font15"})),ce.createElement(Pe.Z,{title:"\u4E0D\u559C\u6B22"},ce.createElement("i",{style:Zn!=null&&Zn.dislike?{color:"#e86d7c"}:{},onClick:()=>mu("dislike",!(Zn!=null&&Zn.dislike),Sr),className:"iconfot icon-weijiejuezhengchang font15"}))),vs&&!Io&&ce.createElement(Pe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ce.createElement("i",{onClick:()=>ws("redraw",Sr),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},mu=(Zn,Sr,Kr)=>An(void 0,null,function*(){if(Ii){const no=nn.slice(0,Kr+1),Xo=Is(no).length;yield Ii({type:Zn,value:Sr,index:Kr,identifier:or,objectIndex:Xo})}pr(no=>(no[Kr][Zn]=Sr,Sr&&(no[Kr][Zn==="like"?"dislike":"like"]=!1),[...no]))}),Yu=()=>{var Zn,Sr;Vr(1),(Sr=(Zn=Yt.current)==null?void 0:Zn.cancelRequest)==null||Sr.call(Zn),Si(!1),ti(!1)},Kl=()=>An(void 0,null,function*(){var Zn,Sr,Kr;(Sr=(Zn=Yt.current)==null?void 0:Zn.cancelRequest)==null||Sr.call(Zn),pa(),pr([]),ua([]),Si(!0);const no=yield Xa();(no==null?void 0:no.status)===0&&Di((Kr=no==null?void 0:no.data)==null?void 0:Kr.identifier),Si(!1),ti(!1)}),Zl=()=>An(void 0,null,function*(){var Zn;Sa(!0);const Sr=yield Na();(Sr==null?void 0:Sr.status)===0&&ea(((Zn=Sr==null?void 0:Sr.data)==null?void 0:Zn.list)||[]),Sa(!1)}),Bs=(...Zn)=>An(void 0,[...Zn],function*(Sr=or){var Kr,no,Lo,Xo;(no=(Kr=Yt.current)==null?void 0:Kr.cancelRequest)==null||no.call(Kr),pa(),ja(!0);const La=yield qa(Sr);if(La.status===0){const Wo=Go(((Lo=La==null?void 0:La.data)==null?void 0:Lo.messages)||[]);pr(Wo),ja(!1),Di((Xo=La==null?void 0:La.data)==null?void 0:Xo.identifier);return}pr([]),ua([]),ja(!1)}),As=(Zn,Sr)=>An(void 0,null,function*(){(yield Co(Zn)).status===0&&(Fe.ZP.success("\u5220\u9664\u6210\u529F"),Sr===or&&Kl(),Zl())}),hl=()=>ce.createElement("div",{className:ve.menuWarp},ce.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),ce.createElement(Ze.Z,{spinning:Ha},!yo.length&&ce.createElement(rt.Z,{style:{width:250,paddingBottom:30},image:rt.Z.PRESENTED_IMAGE_SIMPLE}),!!yo.length&&ce.createElement("div",{className:ve.menu},yo.map(function(Zn,Sr){return ce.createElement("aside",{className:De()(or===Zn.identifier&&ve.active),key:Zn.id,onClick:()=>Bs(Zn.id)},ce.createElement("div",{className:ve.menuText},ce.createElement(Pe.Z,{title:Zn==null?void 0:Zn.question},ce.createElement("span",null,Zn==null?void 0:Zn.question)),dr&&dr(Zn)),ce.createElement("div",{className:ve.menuDel,onClick:Kr=>Kr.stopPropagation()},ce.createElement(xt.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>As(Zn.id,Zn.identifier),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88"},ce.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),Bl=Zn=>{if(Zn==="file"){if(sr.length){Ye.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u56FE\u7247\uFF0C\u4E0A\u4F20\u6587\u4EF6\u540E\u56FE\u7247\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{Zr([]),an.current.upload.uploader.fileInput.click()}});return}an.current.upload.uploader.fileInput.click()}if(Zn==="image"){if(Vi.length){Ye.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u6587\u4EF6\uFF0C\u4E0A\u4F20\u56FE\u7247\u540E\u6587\u4EF6\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{Qi([]),qo.current.upload.uploader.fileInput.click()}});return}qo.current.upload.uploader.fileInput.click()}},sc=[{key:"file",disabled:Vi.length>=ca,label:ce.createElement(Pe.Z,{placement:"right",title:ce.createElement("div",null,ce.createElement("b",null,"\u4E0A\u4F20\u9644\u4EF6\uFF08\u4EC5\u8BC6\u522B\u6587\u5B57\uFF09"),ce.createElement("div",null,"\u6700\u591A 50 \u4E2A\uFF0C\u6BCF\u4E2A 100 MB\uFF0C\u652F\u6301\u5404\u7C7B\u578B\u6587\u6863"))},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-fujian3 font14 mr5"}),"\u4E0A\u4F20\u6587\u6863"))},jo!=="deepseek-r1"&&{key:"image",disabled:sr.length>=ga,label:ce.createElement(Pe.Z,{placement:"right",title:"\u652F\u6301\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247\uFF0C\u6700\u591A10\u4E2A"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-tupianshangchuan font14 mr5"}),"\u4E0A\u4F20\u56FE\u7247"))}].filter(Boolean),ku=[...Vi,...sr],Ku=ku.some(Zn=>Zn.status==="uploading")||Io||pn,$a=ia>=Po,Fc=$e||Vi.length>=ca||sr.length>=ga,Bc=br||Li||to||Fn||!!ku.length,Iu={chatData:nn,stream:Yt,isDisabledNum:$a,isDisAbledUpload:Ku,checkNumModal:Yr,checkNum:ts,onClose:fs,setChatData:pr,setLoading:Si,getData:Ba,clearStatus:pa,typing:pn,setImageGenerator:_r,renderChatItems:wi,setSceneAwareness:lo,setIdentifier:Di,setCodePreview:st,setTyping:ti,onMenuClick:Bs};return ce.createElement(ce.Fragment,null,Le?ce.createElement("div",{onClick:ka},Le):Le!==null&&ce.createElement(Oe.Z,{draggableExtraNode:Wr,usercourse:(Un=un==null?void 0:un.userInfo)==null?void 0:Un.course,src:Me,onClick:ka,topPercentage:xr}),ce.createElement(yr,{open:qi,width:Ji?"100%":ei,afterOpenChange:Zn=>{Zn&&qr(!1)},push:!1,contentWrapperStyle:io?{}:{transition:"none"},extra:ce.createElement("div",{className:ve.head},oo,er&&ce.createElement(ge.Z,{value:jo,onChange:Zn=>{Pi(!1),_r(!1),ko(Zn),Zr([]),Qi([])}}),Rr&&ce.createElement(ce.Fragment,null,ce.createElement(Qe.Z,{dropdownRender:hl,onOpenChange:Zn=>{Zn&&Zl()},placement:"bottomLeft",arrow:!0},ce.createElement("div",{className:ve.headBtn},ce.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),hi&&ce.createElement(ce.Fragment,null,ce.createElement("div",{className:ve.headBtn,onClick:Kl},ce.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),ce.createElement(Pe.Z,{title:Ji?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},ce.createElement("div",{className:ve.headBtn,style:{padding:"0 12px"},onClick:()=>Gr(!Ji)},Ji&&ce.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!Ji&&ce.createElement("i",{className:"iconfont icon-quanping4"})))),title:ce.createElement("div",null," ",ce.createElement("span",{className:"c-grey-333 font16"},((ir=(Wi=un==null?void 0:un.userInfo)==null?void 0:Wi.course)==null?void 0:ir.ai_nickname)||At)," ",(0,yn.G5)()&&ce.createElement("i",{onClick:()=>{Ea(!0)},style:{marginLeft:10,color:"#333",fontSize:14,cursor:"pointer"},className:"iconfont icon-bianji16"})),onClose:fs,bodyStyle:{paddingRight:4}},ce.createElement("div",{className:De()(ve.wrap,qi&&"body-overflow-hidden")},ce.createElement("div",{ref:Dn,className:ve.chatContainer},On==null?void 0:On(Iu),bt&&ce.createElement("div",{className:`${ve.li} mb20`,style:In({width:Ra},Mn)},ce.createElement("div",{className:ve.avatarIcon},ce.createElement("img",{className:ve.img,src:(tn=(si=un==null?void 0:un.userInfo)==null?void 0:si.course)!=null&&tn.ai_headimg_id?((Hi=ft.Z)==null?void 0:Hi.API_SERVER)+"/api/attachments/"+((Hr=(lr=un==null?void 0:un.userInfo)==null?void 0:lr.course)==null?void 0:Hr.ai_headimg_id):jt})),ce.createElement("div",{className:ve.content},ce.createElement("div",{className:ve.borderBox},cn,tr==null?void 0:tr(Iu)))),ce.createElement("div",{ref:Ir},ce.createElement(Ze.Z,{spinning:mr,className:"mt20"},nn==null?void 0:nn.map((Zn,Sr)=>ce.createElement(ce.Fragment,{key:Zn.key+Sr},Zn.show&&ce.createElement(ce.Fragment,null,Zn.sender==="user"&&os(Zn,Sr),Zn.sender==="AI"&&za(Zn,Sr),ar&&!["AI","user"].includes(Zn.sender)&&ar(Zn,Sr,{width:Ra})))))),!Ci&&ce.createElement("div",{className:ve.backBottom,onClick:()=>{Dn.current.scrollTop=Dn.current.scrollHeight}},ce.createElement("i",{className:"iconfont icon-huidaodibu"})),ce.createElement("div",{ref:Mo})),ce.createElement(Ye.default,{title:"\u8BBE\u7F6E\u52A9\u6559\u5934\u50CF\u548C\u540D\u79F0",centered:!0,width:720,okText:"\u4FDD\u5B58",onOk:()=>An(void 0,null,function*(){wr||Fe.ZP.info("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");let Zn=yield(0,be.ZP)(`/api/courses/${Ft==null?void 0:Ft.coursesId}/ai_settings.json`,{method:"put",body:{ai_nickname:wr,ai_headimg_id:ho}});(Zn==null?void 0:Zn.status)===0&&(Ea(!1),hr({type:"user/getUserInfo",payload:{course_id:Ft==null?void 0:Ft.coursesId}}))}),onCancel:()=>{Ea(!1)},open:Zi},ce.createElement("div",{style:{display:"flex",alignItems:"center"}},ce.createElement("label",{style:{width:70,textAlign:"end"}},ce.createElement("span",{style:{color:"red"}},"*"),"\u52A9\u6559\u540D\u79F0"),ce.createElement(Ue.default,{maxLength:5,showCount:!0,style:{width:"80%",marginLeft:20},value:wr,onChange:Zn=>$r(Zn.target.value)})),ce.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},ce.createElement("label",{style:{width:70,textAlign:"end",marginRight:20}},"\u52A9\u6559\u5934\u50CF"),ce.createElement(ke.default,{disabled:ho,accept:".png,.jpg",action:`${ft.Z.API_SERVER}/api/attachments.json`,maxCount:1,showUploadList:!1,withCredentials:!0,beforeUpload:Zn=>{var Sr,Kr,no,Lo;const Xo=(Lo=(no=(Kr=(Sr=Zn==null?void 0:Zn.name)==null?void 0:Sr.split("."))==null?void 0:Kr.slice(-1))==null?void 0:no[0])==null?void 0:Lo.toLowerCase(),Wo=["jpg","png"].includes(Xo);return Zn.size==0?(Fe.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),ke.default.LIST_IGNORE):Wo?Zn.size/1024/1024>100?(Fe.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),ke.default.LIST_IGNORE):!0:(Fe.ZP.warning("\u76EE\u524D\u652F\u6301png\u3001jpg\u6587\u4EF6"),ke.default.LIST_IGNORE)},onChange:({file:Zn})=>{var Sr;_o((Sr=Zn==null?void 0:Zn.response)==null?void 0:Sr.container_id)}},ho?ce.createElement("div",{style:{position:"relative"}},ce.createElement("img",{src:((jn=ft.Z)==null?void 0:jn.API_SERVER)+"/api/attachments/"+ho,width:120,height:120}),ce.createElement("i",{onClick:()=>{_o("")},style:{color:"red",cursor:"pointer",position:"absolute",right:0,top:0},className:"iconfont icon-zuoce-jinengbiaoqianshanchu"})):ce.createElement("div",{className:ve.addimg},ce.createElement("i",{className:"iconfont icon-tianjia5"}),ce.createElement("span",{style:{marginTop:10}},"\u4E0A\u4F20\u5934\u50CF")))),ce.createElement("div",{style:{marginLeft:12}},ce.createElement("p",{style:{color:"#333",marginBottom:0,marginTop:20}},"\u5C55\u793A\u5165\u53E3\u793A\u4F8B"),ce.createElement("img",{src:qe,style:{width:570}}))),!Wt&&ce.createElement("div",{style:Ie,className:De()(ve.footerContainer,so&&ve.full,Bc&&ve.footerContainerSelected)},ce.createElement("div",{className:ve.btnWrp},Kn&&ce.createElement(Pe.Z,{title:"\u66F4\u64C5\u957F\u5904\u7406\u4EE3\u7801\u95EE\u9898\uFF0C\u652F\u6301\u4E00\u53E5\u8BDD\u751F\u6210\u5E94\u7528"},ce.createElement("div",{onClick:()=>st(!Fn),className:De()(ve.btn,Fn&&ve.btnActive)},ce.createElement("i",{className:"iconfont icon-daimamoshi1 mr10 font12"}),"\u4EE3\u7801\u6A21\u5F0F")),xo&&ce.createElement(Pe.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},ce.createElement("div",{onClick:()=>lo(!to),className:De()(ve.btn,to&&ve.btnActive)},ce.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),jo==="deepseek-r1"&&ce.createElement(Pe.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},ce.createElement("div",{onClick:()=>Pi(!Li),className:De()(ve.btn,Li&&ve.btnActive)},ce.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),ai&&jo==="qwen-max"&&ce.createElement("div",{onClick:()=>_r(!br),className:De()(ve.btn,br&&ve.btnActive)},ce.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),ku.map(Zn=>ce.createElement("div",{key:Zn.uid},(Zn==null?void 0:Zn.status)==="uploading"&&ce.createElement(Ze.Z,{indicator:ce.createElement(Xt.Z,{rev:"",spin:!0}),className:"mr10",size:"small",spinning:!0}),ce.createElement("span",{title:Zn==null?void 0:Zn.name,className:"mr10"},(0,we.Pq)(Zn.name,20)),ce.createElement("i",{onClick:()=>{Qi(Sr=>Sr.filter(Kr=>Kr.uid!==Zn.uid)),Zr(Sr=>Sr.filter(Kr=>Kr.uid!==Zn.uid))},className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),ce.createElement(Pe.Z,{title:$a&&ce.createElement("div",null,ce.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ce.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",Po,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ce.createElement("div",{className:De()(ve.inputContainer,po>4&&ve.lineFour,$a&&ve.disabledInput)},ce.createElement(ke.default,In({ref:an},rs)),ce.createElement(ke.default,In({ref:qo},us)),ce.createElement(Qe.Z,{className:`${Fc&&"hide"}`,menu:{items:sc,onClick:Zn=>Bl(Zn.key)},placement:"top"},ce.createElement(tt.ZP,{className:ve.uploadBtn,icon:ce.createElement(Zt.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})})),ce.createElement(Ue.default.TextArea,{rows:po>4?4:po,placeholder:Ot||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u95EE\u9898\u5427\uFF0CShift+Enter\u6362\u884C\uFF5E",value:Jr,bordered:!1,style:Fc?{paddingLeft:0,marginLeft:0}:{},onChange:ns,onPressEnter:Fl,onFocus:()=>fi==null?void 0:fi(),onCompositionStart:()=>{fa.current=!0},onCompositionEnd:()=>{fa.current=!1}}),pn?ce.createElement(Pe.Z,{title:"\u505C\u6B62\u751F\u6210"},ce.createElement("div",{className:`iconfont icon-tingzhihuida ${ve.cancelBtn}`,onClick:Yu})):ce.createElement(tt.ZP,{className:(Jr==null?void 0:Jr.trim())===""?ve.sendBtnDisabled:ve.sendBtn,icon:ce.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Ku,onClick:tl}),po>4&&ce.createElement("span",{className:ve.fullIcon,onClick:wa},so&&ce.createElement("span",{className:"iconfont icon-shousuo"}),!so&&ce.createElement("span",{className:"iconfont icon-zhankai"}))))))))};var di=(0,te.connect)(({globalSetting:At,pathsDetail:Ot,user:$e})=>({globalSetting:At,pathsDetail:Ot,user:$e}))(Nn)},96670:function(Re,xe,ue){"use strict";ue.d(xe,{t:function(){return Qe}});var ce=ue(67294),Ae=ue(85804),Fe={buttonFixed:"buttonFixed___vyq30",button:"button___hxmYv",buttonWrap:"buttonWrap___uK8dl"},ke=ue(94184),Ye=ue.n(ke),Pe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,rt=(Mt,De,te)=>De in Mt?Pe(Mt,De,{enumerable:!0,configurable:!0,writable:!0,value:te}):Mt[De]=te,xt=(Mt,De)=>{for(var te in De||(De={}))tt.call(De,te)&&rt(Mt,te,De[te]);if(Ue)for(var te of Ue(De))Ze.call(De,te)&&rt(Mt,te,De[te]);return Mt};const Qe=({cancelText:Mt="\u53D6\u6D88",okText:De="\u786E\u5B9A",loading:te=!1,hasOkBtn:ee=!0,hasCancelBtn:de=!0,okButtonProps:se={},onCancel:ge=()=>{},onOk:ve=()=>{},className:be=""})=>ce.createElement("div",{className:Ye()(Fe.buttonFixed,be)},ce.createElement("div",{className:Fe.buttonWrap},de&&ce.createElement(Ae.ZP,{size:"middle",className:`${Fe.button} mr20`,onClick:ge},Mt),ee&&ce.createElement(Ae.ZP,xt({size:"middle",type:"primary",className:`${Fe.button} mr20`,loading:te,onClick:ve},se),De)))},63205:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return xt}});var ce=ue(67294),Ae={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Fe=ue(94184),ke=ue.n(Fe),Ye=ue(74330),Pe=ue(15979),Ue=ue(33170),tt=ue(28706),Ze=(Qe,Mt,De)=>new Promise((te,ee)=>{var de=ve=>{try{ge(De.next(ve))}catch(be){ee(be)}},se=ve=>{try{ge(De.throw(ve))}catch(be){ee(be)}},ge=ve=>ve.done?te(ve.value):Promise.resolve(ve.value).then(de,se);ge((De=De.apply(Qe,Mt)).next())}),xt=({data:Qe,className:Mt,fullWidth:De,style:te={},onClose:ee,onOk:de,showFullTools:se,noAssociationId:ge})=>{const ve=(0,ce.useRef)(null),be=(0,ce.useRef)(null),we=(0,ce.useRef)(null),Oe=(0,ce.useRef)(null),[Ke,qe]=(0,ce.useState)(!1),[lt,at]=(0,ce.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ce.useEffect)(()=>(we.current||(we.current=document.createElement("style"),document.head.appendChild(we.current)),Qe!=null&&Qe.visible?(document.body.setAttribute("data-custom","y-hidden"),we.current.innerHTML=" html { overflow-y: hidden; }",Qe!=null&&Qe.src&&ft()):(document.body.removeAttribute("data-custom"),we.current&&(document.head.removeChild(we.current),we.current=null)),()=>{document.body.removeAttribute("data-custom"),we.current&&(document.head.removeChild(we.current),we.current=null)}),[Qe==null?void 0:Qe.visible]);const ft=()=>Ze(void 0,null,function*(){qe(!0),at("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Zt=yield(0,tt.ZJ)(Qe==null?void 0:Qe.src);ve.current.src="",ve.current.src=Zt,ve.current.onload=function(){Xt()},qe(!1),at("")}),pt=Zt=>Ze(void 0,null,function*(){qe(!0),at("\u6B63\u5728\u4FDD\u5B58\u4E2D");const yn=yield(0,Ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Qe.title,file:Zt.dataUrl}});yn!=null&&yn.id&&!ge?(yield(0,Ue.ZP)(`/api/attachments/${Qe.id}/add_subitem.json`,{method:"post",body:{subitem_id:yn==null?void 0:yn.id,settings:JSON.stringify(Zt.state)}})).status===0&&de():yn!=null&&yn.id&&de(yn),qe(!1),at("")}),Nt=()=>{const Zt=document.querySelector('a[href="https://markerjs.com/"]');Zt&&Zt.parentNode&&(Zt.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(Ln=>{const on=document.querySelector(Ln.name);on&&on.setAttribute("title",Ln.title)})},Xt=()=>{be.current=new Pe.hP(ve.current),be.current.targetRoot=Oe.current,be.current.addEventListener("render",pt),be.current.addEventListener("beforeclose",ee),se&&(be.current.availableMarkerTypes=be.current.ALL_MARKER_TYPES,be.current.uiStyleSettings.redoButtonVisible=!0,be.current.uiStyleSettings.notesButtonVisible=!0,be.current.uiStyleSettings.zoomButtonVisible=!0,be.current.uiStyleSettings.zoomOutButtonVisible=!0,be.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=be.current.uiStyleSettings,be.current.show(),Qe!=null&&Qe.snapshotData&&be.current.restoreState(Qe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Nt()},300)};return ce.createElement(ce.Fragment,null,(Qe==null?void 0:Qe.visible)&&ce.createElement(Ye.Z,{spinning:Ke,tip:lt,style:{position:"absolute",width:"100vw"}},ce.createElement("div",{ref:Oe,className:ke()(Ae.imageDimensions,Mt,De?Ae.fullWidth:""),style:te},ce.createElement("img",{className:Ae.img,ref:ve}))))}},36527:function(Re,xe,ue){"use strict";var ce=ue(67294),Ae=ue(71230),Fe=ue(15746),ke=ue(55238),Ye=ue(85804),Pe=ue(65226),Ue=ue(71736),tt=ue(84279),Ze=ue(67294);const rt=(0,ce.forwardRef)(({callback:xt,showSaveButton:Qe,value:Mt=""},De)=>{const te=(0,ce.useRef)(),ee=[{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 "}]}]}],de=[{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}`}]}]}],se=be=>{te.current.setValue(te.current.getValue()+" "+be.value+" ")},ge=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ze.createElement(Ae.Z,{className:Ue.Z.lists,gutter:[10,10]},ee.map((be,we)=>Ze.createElement(Fe.Z,{flex:"110px",className:Ue.Z.item},Ze.createElement("div",null,Ze.createElement(Pe.Z,{value:`$$${be.value}$$`}),be.name),Ze.createElement("div",{className:Ue.Z.children},be.children.map((Oe,Ke)=>Ze.createElement("div",{key:Ke},Ze.createElement("h1",null,Oe.name),Ze.createElement(Ae.Z,{gutter:[10,10]},Oe.data.map((qe,lt)=>Ze.createElement(Fe.Z,{key:lt,onClick:()=>se(qe),className:Ue.Z.diamond},Ze.createElement(Pe.Z,{value:"`$$"+qe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ze.createElement(Ae.Z,{className:Ue.Z.lists,gutter:[10,10]},de.map((be,we)=>Ze.createElement(Fe.Z,{flex:"110px",className:Ue.Z.item},Ze.createElement("div",null,Ze.createElement(Pe.Z,{value:"`$$"+be.value+"$$`"}),be.name),Ze.createElement("div",{className:Ue.Z.children},be.children.map((Oe,Ke)=>Ze.createElement("div",{key:Ke},Oe.name&&Ze.createElement("h1",null,Oe.name),Ze.createElement(Ae.Z,{gutter:[10,10]},Oe.data.map((qe,lt)=>Ze.createElement(Fe.Z,{key:lt,onClick:()=>se(qe),className:Ue.Z.diamond},Ze.createElement(Pe.Z,{value:"`$$"+qe.value+"$$`"}))))))))))}],ve=()=>{var be=document.createElement("div");be.innerHTML=te.current.getValue();var we=be.innerText;return xt&&xt(we),we};return(0,ce.useImperativeHandle)(De,()=>({getData:ve})),Ze.createElement("div",{className:Ue.Z.mathWrap},Ze.createElement(ke.default,{defaultActiveKey:"1",items:ge}),Ze.createElement("math-field",{locale:"zh_cn",className:Ue.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},Mt||""),Qe&&Ze.createElement("div",{className:Ue.Z.button},Ze.createElement(Ye.ZP,{size:"large",onClick:ve,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});xe.Z=rt},26194:function(Re,xe,ue){"use strict";var ce=ue(67294),Ae=ue(4977),Fe=ue(85804),ke=Object.defineProperty,Ye=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,rt=(De,te,ee)=>te in De?ke(De,te,{enumerable:!0,configurable:!0,writable:!0,value:ee}):De[te]=ee,xt=(De,te)=>{for(var ee in te||(te={}))tt.call(te,ee)&&rt(De,ee,te[ee]);if(Ue)for(var ee of Ue(te))Ze.call(te,ee)&&rt(De,ee,te[ee]);return De},Qe=(De,te)=>Ye(De,Pe(te));const Mt=({img:De,buttonProps:te={},styles:ee={},customText:de,ButtonText:se,ButtonClick:ge,Buttonclass:ve,ButtonTwo:be,imgStyles:we,loading:Oe=!1,className:Ke=""})=>ce.createElement("section",{className:`tc animated fadeIn ${Ke}`,style:xt({color:"#999",margin:"100px auto",visibility:Oe?"hidden":"visible"},ee)},ce.createElement("img",{src:De||Ae,style:Qe(xt({},we),{pointerEvents:"none",userSelect:"none"})}),ce.createElement("p",{className:"mt20 font14"},de||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),se&&ce.createElement(Fe.ZP,xt({className:ve,onClick:ge},te),se),be&&be);xe.Z=Mt},20819:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return ve}});var ce=ue(67294),Ae={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Fe=ue(85804),ke=ue(30153),Ye=ue(36295),Pe=ue(83062),Ue=ue(28706),tt=ue(15835),Ze=ue(26194),rt=ue(11320),xt=ue(66540),Qe=ue(67294),Mt=Object.defineProperty,De=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,de=(be,we,Oe)=>we in be?Mt(be,we,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):be[we]=Oe,se=(be,we)=>{for(var Oe in we||(we={}))te.call(we,Oe)&&de(be,Oe,we[Oe]);if(De)for(var Oe of De(we))ee.call(we,Oe)&&de(be,Oe,we[Oe]);return be},ge=(be,we,Oe)=>new Promise((Ke,qe)=>{var lt=pt=>{try{ft(Oe.next(pt))}catch(Nt){qe(Nt)}},at=pt=>{try{ft(Oe.throw(pt))}catch(Nt){qe(Nt)}},ft=pt=>pt.done?Ke(pt.value):Promise.resolve(pt.value).then(lt,at);ft((Oe=Oe.apply(be,we)).next())}),ve=({editOffice:be="view",data:we,issaver:Oe,onSaver:Ke,theme:qe,type:lt,filename:at,monacoEditor:ft,className:pt,style:Nt,close:Xt,onClose:Zt,hasMask:yn,disabledDownload:Ln,onImgDimensions:on,showNodata:Bn,recordInfo:Et})=>{const[nt,ot]=(0,ce.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Jt,In]=(0,ce.useState)(""),[Gt,An]=(0,ce.useState)(),Nn=window.ENV==="build"?"/react/build":"",di=location.host.startsWith("localhost")?rt.Z.PROXY_SERVER:rt.Z.API_SERVER,Ot=10*(1024*1024),$e=(0,ce.useRef)();we!=null&&we.startsWith("/api")&<!=="txt"&&(we=rt.Z.API_SERVER+we);const Wt=Xe=>Xe.substring(Xe.lastIndexOf("/")+1).split(".").pop();at&&ft&&(ft.filename=at),(0,ce.useEffect)(()=>{var Xe,dt;const je=(dt=(Xe=document.cookie)==null?void 0:Xe.replace(/\s/g,""))==null?void 0:dt.split(";");je==null||je.map(bt=>{let Sn=bt.split("=");Sn[0]==="_educoder_session"&&In(Sn[1])})},[]),(0,ce.useEffect)(()=>{lt==="office"&&(we.indexOf("bigfilescdn.")>-1||we.indexOf("bigfiles1")>-1?An({url:we,fileType:Wt(we),model:we.indexOf("model=edit")?"edit":"view"}):Je())},[lt,we]);function jt(Xe){return ge(this,null,function*(){Xe.data.type==="pdfdata"&&(Ke(Xe.data.data),window.removeEventListener("message",jt,!1)),console.log("mess---:",Xe.data)})}const Je=()=>ge(void 0,null,function*(){console.log("data:",we);let Xe=we;we.startsWith("http")||(Xe=location.origin+Xe);let dt=new URL(Xe).pathname.split("/").pop();const je=yield(0,tt.gJ)({attachment_id:dt});je.url=di+je.url,An(je)}),Me=()=>{if(we.startsWith("http")||we.startsWith("blob:")){Le();return}(0,Ue.Sv)(at||"educoder",we,at)},Le=()=>{Et&&(0,xt.fc)({id:Et==null?void 0:Et.id,watch_type:1,course_id:Et==null?void 0:Et.course_id}),(0,Ue.Nd)(at||"educoder",decodeURIComponent(we))};return Qe.createElement("div",{style:se({},Nt||{}),className:`${yn&&Ae.bgBlack} ${lt?Ae.wrp:"hide"}`},Xt&&Qe.createElement("div",{className:Ae.close,ref:$e},!!on&&Qe.createElement(Pe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>$e.current},Qe.createElement("span",{onClick:()=>{Zt(),on()}},Qe.createElement("i",{className:"icon-yulanpizhu"}))),!Ln&&Qe.createElement(Pe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>$e.current},Qe.createElement("span",{onClick:Le},Qe.createElement("i",{className:"icon-quxiaozhiding"}))),Oe&&Qe.createElement(Pe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>$e.current},Qe.createElement("span",{className:"",onClick:()=>{const Xe=document.getElementById("pdfiframe");window.addEventListener("message",jt,!1),setTimeout(()=>{Xe.contentWindow.postMessage("getData","*")},300)}},Qe.createElement("i",{className:"icon-baocun"}))),Qe.createElement(Pe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>$e.current},Qe.createElement("span",{className:"",onClick:()=>{Zt()}},Qe.createElement("i",{className:"icon-guanbi1"})))),Qe.createElement("div",{className:`${Ae[pt]} ${pt} ${Ae.monaco} ${lt==="txt"?"show":"hide"}`},lt==="txt"&&Qe.createElement(Qe.Fragment,null,Qe.createElement(Ye.ZP,se({},ft)))),lt==="audio"&&Qe.createElement("audio",{src:`${(we==null?void 0:we.indexOf("http://"))>-1||(we==null?void 0:we.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${we}`,autoPlay:!0}),lt==="video"&&Qe.createElement(Qe.Fragment,null,(we==null?void 0:we.indexOf("http"))>-1?Qe.createElement("video",{controls:!0,src:`${we}`,autoPlay:!0}):Qe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${we}`,autoPlay:!0})),lt==="office"&&Gt&&Qe.createElement("iframe",{src:`${Nn}/office.html?key=${Gt.key}&url=${btoa(Gt.url)}&callbackUrl=${di+(Gt.callbackUrl||"")}&fileType=${Gt.fileType}&title=${Gt.title||""}&model=${be}&officeServer=${rt.Z.ONLYOFFICE}&disabledDownload=${!!Ln}`}),lt==="html"&&Qe.createElement("iframe",{src:we+"&disposition=inline"}),lt==="pdf"&&Qe.createElement("iframe",{id:"pdfiframe",src:`${Nn}/js/pdfview/index.html?filename=${at||"educoder.pdf"}&url=${encodeURIComponent(we)}&disabledDownload=${!!Ln}&model=${be}`}),lt==="image"&&Qe.createElement("img",{src:`${(we==null?void 0:we.indexOf("http://"))>-1||(we==null?void 0:we.indexOf("https://"))>-1?"":"data:image/png;base64,"}${we}`}),(lt==="other"||lt==="download")&&Qe.createElement(Qe.Fragment,null,Bn?Qe.createElement(Ze.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Qe.createElement(Fe.ZP,{icon:Qe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Me,disabled:Ln},"\u4E0B\u8F7D")}):Qe.createElement(Fe.ZP,{type:"primary",size:"middle",onClick:Me,disabled:Ln},Qe.createElement(ke.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},65226:function(Re,xe,ue){"use strict";ue.d(xe,{z:function(){return lt},Z:function(){return at}});var ce=ue(67294),Ae=ue(81897),Fe=ue(51161),ke=ue(11771),Ye=ue(67631),Pe=ue.n(Ye),Ue=ue(11320),tt=ue(28706),Ze=ue(20527),rt=ue(25934),xt=ue(20819),Qe=ue(67294),De=({html:ft})=>{const pt=(0,ce.useRef)(null),Nt=(0,ce.useRef)(null),Xt=`.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,ce.useEffect)(()=>{const Zt=pt.current.attachShadow({mode:"open"});Nt.current=document.createElement("div"),Nt.current.className="markdown-body",Nt.current.innerHTML=ft,Zt.appendChild(Nt.current);const yn=document.createElement("style");return yn.textContent=Xt,Zt.appendChild(yn),()=>{Zt.innerHTML=""}},[]),(0,ce.useEffect)(()=>{Nt.current&&(Nt.current.innerHTML=ft)},[ft]),Qe.createElement("div",{ref:pt})};function te(ft){const pt=["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"],Nt=new RegExp(`\\b(${pt.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return ft.replace(Nt,"").trim()}var ee=Object.defineProperty,de=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ve=(ft,pt,Nt)=>pt in ft?ee(ft,pt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):ft[pt]=Nt,be=(ft,pt)=>{for(var Nt in pt||(pt={}))se.call(pt,Nt)&&ve(ft,Nt,pt[Nt]);if(de)for(var Nt of de(pt))ge.call(pt,Nt)&&ve(ft,Nt,pt[Nt]);return ft};const we="@\u2581\u2581@",Oe="@\u2581@",Ke=/<pre[^>]*>/g;function qe(ft){let pt=document.createElement("div");return pt.innerHTML=ft,pt.childNodes.length===0?"":pt.childNodes[0].nodeValue}const lt=(ft,pt)=>{ft=ft||"";const Nt=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Xt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Zt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,yn=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return pt?ft.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Nt,(Ln,on,Bn,Et,nt,ot,Jt)=>{const In=on||Et||ot,Gt=Bn||nt||Jt||"?";return Ue.Z.API_SERVER+"/api/attachments/"+In+Gt+"&t="+(0,tt.Jn)(In,Date.now())+(Ln.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ft=ft.replace(yn,(Ln,on,Bn,Et,nt,ot,Jt)=>{const In=on||Et||ot,Gt=Bn||nt||Jt||"?";return Ue.Z.API_SERVER+"/attachments/download/"+In+Gt+"&t="+(0,tt.Jn)(In,Date.now())+(Ln.indexOf(")")>-1?")":"&")}).replace(Nt,(Ln,on,Bn,Et,nt,ot,Jt)=>{const In=on||Et||ot,Gt=Bn||nt||Jt||"?";return Ue.Z.API_SERVER+"/api/attachments/"+In+Gt+"&t="+(0,tt.Jn)(In,Date.now())+(Ln.indexOf(")")>-1?")":"&")}).replace(Xt,(Ln,on,Bn,Et,nt)=>{const ot=on||Et,Jt=Bn||nt||"";return'"'+Ue.Z.API_SERVER+"/api/attachments/"+ot+Jt+ot+Jt+"&t="+(0,tt.Jn)(ot,Date.now())}).replace(Zt,(Ln,on,Bn,Et,nt)=>{const ot=on||Et,Jt=Bn||nt||"";return"("+Ue.Z.API_SERVER+"/files/uploads/"+ot+Jt+ot+Jt+"&t="+(0,tt.Jn)(ot,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,`
|
|
|
`),ft)};var at=({value:ft="",className:pt,showTextOnly:Nt,showLines:Xt,style:Zt={},stylesPrev:yn={},highlightKeywords:Ln,showProgramFill:on,isProgramFill:Bn,disabledFill:Et=!1,programFillValue:nt,onFillChange:ot=Gt=>{},onFillBlur:Jt=()=>{},onFillFocus:In=()=>{}})=>{let Gt=te(String(ft||""));const[An,Nn]=(0,ce.useState)(""),[di,At]=(0,ce.useState)("office"),[Ot,$e]=(0,ce.useState)([]),Wt=(0,ce.useRef)("a"+(0,rt.Z)()),jt={},Je=rn=>/<style[\s\S]*?>/i.test(rn||""),Me=(rn,oi,ei)=>{const Ri=document.createElement(rn===Oe?"input":"textarea");Ri.style.width="100%",Ri.style.height=rn===Oe?"40px":"151px",Ri.rows=5,Ri.spellcheck=!1,Ri.name="edu-program-fill",Ri.placeholder="\u8BF7\u8F93\u5165",Ri.dataset.id=oi;const cn=Object.keys(jt).length;return jt[cn]=Ri,`<span class="edu-program-fill-wrap ${rn===Oe?"":"show"}" style="width:${rn===Oe?"600px":"100%"}" title=${ei||""}><span>${Ri.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Le(rn){return rn=rn.replace(/!\[.*?\]\(.*?\)/g,""),rn=rn.replace(/\[.*?\]\(.*?\)/g,""),rn=rn.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),rn=rn.replace(/<embed.*?>/g,""),rn=rn.replace(/<img.*?>/g,""),rn=rn.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),rn=rn.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),rn=rn.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),rn=rn.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),rn}const Xe=rn=>!Nt&&Je(Gt)?rn:rn.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(oi,ei){let Ri=ei.replace(/(\n|\r)/g,"").split("}"),cn=[];return Ri.map(tr=>{tr!=""&&cn.push(`.${Wt.current} ${tr}`)}),`<style>${cn.join("}")}</style>`}),dt=(0,ce.useMemo)(()=>{try{const Ri=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,cn=/\"\/api\/attachments\/|\"\/attachments\/download\//g,tr=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Xi=/\(\/attachments\/download\//g;Gt=Gt.replace(Xi,"("+Ue.Z.API_SERVER+"/attachments/download/").replace(Ri,"("+Ue.Z.API_SERVER+"/api/attachments/").replace(cn,'"'+Ue.Z.API_SERVER+"/api/attachments/").replace(tr,'"'+Ue.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(Ri){}if(on){let Ri=-1;return Gt=Gt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(cn,tr,Xi){var $t;return++Ri,Me(cn,Ri,($t=nt==null?void 0:nt[Ri])==null?void 0:$t.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Xe(Gt||"")}</pre>`}let rn=Xe(Gt);rn=(0,Fe.ZP)(rn);const oi=(0,Fe.ez)();Gt.match(/\[TOC\]/)&&(rn=rn.replace("<p>[TOC]</p>",(0,Fe.Qv)()),(0,Fe.Iy)()),rn=rn.replace(/(__special_katext_id_\d+__)/g,(Ri,cn)=>{const{type:tr,expression:Xi}=oi[cn];return(0,Ze.renderToString)(qe(Xi)||"",{displayMode:tr==="block",throwOnError:!1,output:"html"})}),rn=rn.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Fe.AL)();const ei=document.createElement("div");if(ei.innerHTML=rn,Nt)return ei.innerText;if(Ln){const Ri=Ln.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return ni(ei,Ri),ei.innerHTML}return setTimeout(()=>_n(),500),ei.innerHTML},[Gt,Ln]);(0,ce.useEffect)(()=>{ui.current&&ui.current.querySelectorAll(["input","textarea"]).forEach(oi=>{oi.oninput=je,oi.onblur=bt,oi.onfocus=Sn})},[Ot]),(0,ce.useEffect)(()=>{var rn,oi,ei,Ri,cn;if(nt!=null&&nt.length)try{const tr=ui.current.querySelectorAll(".edu-program-fill-score"),Xi=ui.current.querySelectorAll('[name="edu-program-fill"]');for(const[$t,_e]of Xi.entries())_e.value=((rn=nt==null?void 0:nt[$t])==null?void 0:rn.value)||"",((oi=nt==null?void 0:nt[$t])==null?void 0:oi.type)==="warning"?_e.className="program-fill-warning":((ei=nt==null?void 0:nt[$t])==null?void 0:ei.type)==="success"?_e.className="program-fill-success":_e.className="";for(const[$t,_e]of tr.entries())_e.innerHTML=(Ri=nt==null?void 0:nt[$t])!=null&&Ri.score?`${(cn=nt==null?void 0:nt[$t])==null?void 0:cn.score}\u5206`:"";$e(nt)}catch(tr){console.log(tr,"error")}},[nt]);const je=rn=>{Ot[rn.target.dataset.id]=Ot[rn.target.dataset.id]||{},Ot[rn.target.dataset.id].value=rn.target.value,$e([...Ot]),ot(Ot,rn.target.dataset.id)},bt=rn=>{Ot[rn.target.dataset.id]=Ot[rn.target.dataset.id]||{},Ot[rn.target.dataset.id].value=rn.target.value,$e([...Ot]),Jt(Ot,rn.target.dataset.id)},Sn=rn=>{Ot[rn.target.dataset.id]=Ot[rn.target.dataset.id]||{},Ot[rn.target.dataset.id].value=rn.target.value,$e([...Ot]),In(Ot,rn.target.dataset.id)};function ni(rn,oi){return rn.childNodes.forEach(ei=>{var Ri;if(ei.childNodes.length>0)ni(ei,oi);else if(ei.nodeName!=="IMG")if(ei.innerHTML)ei.innerHTML=(Ri=ei.innerHTML)==null?void 0:Ri.replace(new RegExp(oi,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const cn=document.createElement("span");cn.innerHTML=ei.textContent.replace(new RegExp(oi,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),ei.replaceWith(cn)}})}const ui=(0,ce.useRef)();Fe.jb.WebkitLineClamp=Xt,Xt&&(Zt=be(be({},Zt),Fe.jb));function vn(rn){let oi=rn.target;if(oi.tagName.toUpperCase()==="A"){let ei=oi.getAttribute("href");if(ei.indexOf("office")>-1)rn.preventDefault(),Nn(ei),At("office");else if(ei.indexOf("application/pdf")>-1)rn.preventDefault(),Nn(ei),At("pdf");else if(ei.indexOf("text/html")>-1)rn.preventDefault(),Nn(ei),At("html");else if(ei.startsWith("#")){rn.preventDefault();let Ri=document.getElementById(ei.replace("#",""));Ri&&Ri.scrollIntoView(!0)}}}const _n=()=>{var rn;const oi=(rn=ui.current)==null?void 0:rn.querySelectorAll("video");oi==null||oi.forEach(ei=>{if(ei.oncontextmenu=()=>!1,ei.src.indexOf(".m3u8")>-1&&!ei.canPlayType("application/vnd.apple.mpegurl")){if(Pe().isSupported()){var Ri=new(Pe());Ri.loadSource(ei.src),Ri.attachMedia(ei)}}})};return(0,ce.useEffect)(()=>{if(ui.current&&dt&&dt.match(Ke)&&window.PR.prettyPrint(),ui.current)return ui.current.addEventListener("click",vn),()=>{var rn;(rn=ui.current)==null||rn.removeEventListener("click",vn),(0,Fe.AL)(),(0,Fe.Iy)()}},[dt,ui.current,vn]),(0,ce.useEffect)(()=>{var rn;const oi=ei=>{ei.preventDefault(),ei.clipboardData.setData("text",window.getSelection().toString())};return(rn=ui.current)==null||rn.addEventListener("copy",oi),()=>{var ei;(ei=ui.current)==null||ei.removeEventListener("copy",oi)}},[ui.current]),ce.createElement(ce.Fragment,null,Nt&&ce.createElement("div",{ref:ui},dt),!Nt&&!Je(dt)&&ce.createElement("div",{ref:ui,style:be({},Zt),className:`${pt||""} ${Et?"disabled-fill":""} markdown-body ${Wt.current}`,dangerouslySetInnerHTML:{__html:dt}}),!Nt&&Je(dt)&&ce.createElement(De,{html:dt}),ce.createElement(xt.Z,{close:!0,data:An,type:An!=null&&An.length?di:"",style:be({},yn),onClose:()=>Nn("")}))}},57444:function(Re,xe,ue){"use strict";ue.d(xe,{h:function(){return be}});var ce=ue(67294),Ae=ue(88044),Fe=ue(91773),ke=ue(85804),Ye=ue(4631),Pe=ue.n(Ye),Ue=ue(71749),tt=ue(30483),Ze=Object.defineProperty,rt=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,te=(we,Oe,Ke)=>Oe in we?Ze(we,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):we[Oe]=Ke,ee=(we,Oe)=>{for(var Ke in Oe||(Oe={}))Mt.call(Oe,Ke)&&te(we,Ke,Oe[Ke]);if(Qe)for(var Ke of Qe(Oe))De.call(Oe,Ke)&&te(we,Ke,Oe[Ke]);return we},de=(we,Oe)=>rt(we,xt(Oe));const se=Ae.default.Option,ge={labelCol:{span:4},wrapperCol:{span:20}},ve={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"]};xe.Z=({callback:we,onCancel:Oe})=>{const[Ke,qe]=(0,ce.useState)("python");function lt(ft){qe(ve[ft][1])}function at(ft){we(ft)}return ce.createElement(Fe.default,de(ee({},ge),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:at,style:{width:500}}),ce.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ce.createElement(Ae.default,{getPopupContainer:ft=>ft.parentNode,onChange:lt},Object.keys(ve).map(ft=>ce.createElement(se,{key:ft,value:ft},ve[ft][0])))),ce.createElement(Fe.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ce.createElement(be,{mode:Ke})),ce.createElement("div",{className:"flex-container flex-end"},ce.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ce.createElement(ke.ZP,{type:"ghost",onClick:Oe},"\u53D6\u6D88")))};function be({value:we,onChange:Oe,mode:Ke,options:qe={}}){const lt=(0,ce.useRef)(),[at,ft]=(0,ce.useState)();return(0,ce.useEffect)(()=>{if(at){let pt=function(Nt){const Xt=Nt.getValue();Oe&&Oe(Xt)};return at.on("change",pt),()=>{at.off("change",pt)}}},[at,Oe]),(0,ce.useEffect)(()=>{at&&at.setOption("mode",Ke)},[at,Ke]),(0,ce.useEffect)(()=>{at&&(we!==at.getValue()||we==="")&&setTimeout(()=>{at.setValue(we||"")},300)},[at,we]),(0,ce.useEffect)(()=>{if(lt.current&&!at){const pt=Pe().fromTextArea(lt.current,ee({mode:Ke,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},qe));ft(pt)}},[lt.current,at]),ce.createElement("div",{className:"my-codemirror-container"},ce.createElement("textarea",{ref:lt}))}},35567:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return hr}});var ce=ue(67294),Ae=ue(4631),Fe=ue.n(Ae),ke=ue(91033),Ye=ue(71749),Pe=ue(57341),Ue=ue(82801),tt=ue(88386),Ze=ue(49047),rt=ue(80785),xt=ue(65226),Qe=({value:un="",className:hn,showTextOnly:Kt,showLines:bn,style:Mi={}})=>{const Oi=(0,ce.useMemo)(()=>"",[un]);return ce.createElement(ce.Fragment,null,ce.createElement("div",{dangerouslySetInnerHTML:{__html:Oi}}))},Mt=Object.defineProperty,De=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ge=(un,hn,Kt)=>hn in un?Mt(un,hn,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):un[hn]=Kt,ve=(un,hn)=>{for(var Kt in hn||(hn={}))de.call(hn,Kt)&&ge(un,Kt,hn[Kt]);if(ee)for(var Kt of ee(hn))se.call(hn,Kt)&&ge(un,Kt,hn[Kt]);return un},be=(un,hn)=>De(un,te(hn));let we=[{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 Oe({onActionCallback:un,title:hn,icon:Kt,actionName:bn,className:Mi="",children:Oi}){function bi(){un(bn)}return ce.createElement("a",{title:hn,className:Mi,onClick:bi},ce.createElement("i",{className:`${Kt}`}),Oi)}var Ke=({watch:un,showNullButton:hn,showNullProgramButton:Kt,onActionCallback:bn,fullScreen:Mi,insertTemp:Oi,hidetoolBar:bi,extraUse:sn})=>{const Un=[...we,{title:`${un?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${un?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ce.createElement("ul",{className:"markdown-toolbar-container"},!bi&&Un.map((Wi,ir)=>ce.createElement("li",{key:ir},Wi.actionName?ce.createElement(Oe,be(ve({},Wi),{onActionCallback:bn})):ce.createElement("span",{className:"v-line"}))),hn?ce.createElement("li",null,ce.createElement(Oe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:bn},ce.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Kt?ce.createElement(ce.Fragment,null,ce.createElement("li",null,ce.createElement(Oe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:bn},ce.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),ce.createElement("li",null,ce.createElement(Oe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:bn},ce.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Oi&&ce.createElement("li",null,ce.createElement(Oe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Oi}`,onActionCallback:bn},ce.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),sn&&ce.createElement("li",null,sn),ce.createElement("li",{className:"btn-full-screen"},ce.createElement(Oe,{icon:`${Mi?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Mi?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:bn})))},qe=ue(76621),lt=ue(91773),at=ue(28802),ft=ue(85804),pt=Object.defineProperty,Nt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,on=(un,hn,Kt)=>hn in un?pt(un,hn,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):un[hn]=Kt,Bn=(un,hn)=>{for(var Kt in hn||(hn={}))yn.call(hn,Kt)&&on(un,Kt,hn[Kt]);if(Zt)for(var Kt of Zt(hn))Ln.call(hn,Kt)&&on(un,Kt,hn[Kt]);return un},Et=(un,hn)=>Nt(un,Xt(hn));const nt={labelCol:{span:4},wrapperCol:{span:20}};var ot=({callback:un,onCancel:hn})=>{function Kt(bn){un(bn)}return ce.createElement(lt.default,Et(Bn({},nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Kt,style:{width:500}}),ce.createElement(lt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ce.createElement(at.default,null)),ce.createElement(lt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ce.createElement(at.default,null)),ce.createElement("div",{className:"flex-container flex-end"},ce.createElement(ft.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ce.createElement(ft.ZP,{type:"ghost",onClick:hn},"\u53D6\u6D88")))},Jt=ue(57444),In=ue(70859),Gt=ue(62844),An=ue(71230),Nn=ue(63205),di=ue(67294),At=({callback:un,onCancel:hn})=>{const Kt=document.createElement("canvas"),bn=Kt.getContext("2d");Kt.width=1e3,Kt.height=800,bn.fillStyle="#ffffff",bn.fillRect(0,0,Kt.width,Kt.height);const Mi=Kt.toDataURL("image/png");return di.createElement(Gt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},di.createElement(An.Z,{style:{height:"100vh"}},di.createElement(Nn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Mi,visible:!0,title:String(Date.now())},onOk:Oi=>{un({src:Oi.url})},onClose:hn})))},Ot=ue(23495);function $e(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit($e,go.CommandHandler),$e.prototype.canAlignSelection=function(){var un=this.diagram;return!(un===null||un.isReadOnly||un.isModelReadOnly||un.selection.count<2)},$e.prototype.alignLeft=function(){var un=this.diagram;un.startTransaction("aligning left");var hn=1/0;un.selection.each(function(Kt){Kt instanceof go.Link||(hn=Math.min(Kt.position.x,hn))}),un.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(hn,Kt.position.y))}),un.commitTransaction("aligning left")},$e.prototype.alignRight=function(){var un=this.diagram;un.startTransaction("aligning right");var hn=-1/0;un.selection.each(function(Kt){if(!(Kt instanceof go.Link)){var bn=Kt.actualBounds.x+Kt.actualBounds.width;hn=Math.max(bn,hn)}}),un.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(hn-Kt.actualBounds.width,Kt.position.y))}),un.commitTransaction("aligning right")},$e.prototype.alignTop=function(){var un=this.diagram;un.startTransaction("alignTop");var hn=1/0;un.selection.each(function(Kt){Kt instanceof go.Link||(hn=Math.min(Kt.position.y,hn))}),un.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(Kt.position.x,hn))}),un.commitTransaction("alignTop")},$e.prototype.alignBottom=function(){var un=this.diagram;un.startTransaction("aligning bottom");var hn=-1/0;un.selection.each(function(Kt){if(!(Kt instanceof go.Link)){var bn=Kt.actualBounds.y+Kt.actualBounds.height;hn=Math.max(bn,hn)}}),un.selection.each(function(Kt){Kt instanceof go.Link||Kt.move(new go.Point(Kt.actualBounds.x,hn-Kt.actualBounds.height))}),un.commitTransaction("aligning bottom")},$e.prototype.alignCenterX=function(){var un=this.diagram,hn=un.selection.first();if(hn){un.startTransaction("aligning Center X");var Kt=hn.actualBounds.x+hn.actualBounds.width/2;un.selection.each(function(bn){bn instanceof go.Link||bn.move(new go.Point(Kt-bn.actualBounds.width/2,bn.actualBounds.y))}),un.commitTransaction("aligning Center X")}},$e.prototype.alignCenterY=function(){var un=this.diagram,hn=un.selection.first();if(hn){un.startTransaction("aligning Center Y");var Kt=hn.actualBounds.y+hn.actualBounds.height/2;un.selection.each(function(bn){bn instanceof go.Link||bn.move(new go.Point(bn.actualBounds.x,Kt-bn.actualBounds.height/2))}),un.commitTransaction("aligning Center Y")}},$e.prototype.alignColumn=function(un){var hn=this.diagram;hn.startTransaction("align Column"),un===void 0&&(un=0),un=parseFloat(un);var Kt=new Array;hn.selection.each(function(sn){sn instanceof go.Link||Kt.push(sn)});for(var bn=0;bn<Kt.length-1;bn++){var Mi=Kt[bn],Oi=Mi.actualBounds.y+Mi.actualBounds.height+un,bi=Kt[bn+1];bi.move(new go.Point(Mi.actualBounds.x,Oi))}hn.commitTransaction("align Column")},$e.prototype.alignRow=function(un){un===void 0&&(un=0),un=parseFloat(un);var hn=this.diagram;hn.startTransaction("align Row");var Kt=new Array;hn.selection.each(function(sn){sn instanceof go.Link||Kt.push(sn)});for(var bn=0;bn<Kt.length-1;bn++){var Mi=Kt[bn],Oi=Mi.actualBounds.x+Mi.actualBounds.width+un,bi=Kt[bn+1];bi.move(new go.Point(Oi,Mi.actualBounds.y))}hn.commitTransaction("align Row")},$e.prototype.canRotate=function(un){var hn=this.diagram;return!(hn===null||hn.isReadOnly||hn.isModelReadOnly||hn.selection.count<1)},$e.prototype.rotate=function(un){un===void 0&&(un=90);var hn=this.diagram;hn.startTransaction("rotate "+un.toString());var hn=this.diagram;hn.selection.each(function(Kt){Kt instanceof go.Link||Kt instanceof go.Group||(Kt.angle+=un)}),hn.commitTransaction("rotate "+un.toString())},$e.prototype.pullToFront=function(){var un=this.diagram;un.startTransaction("pullToFront");var hn=new go.Map;un.selection.each(function(Kt){hn.set(Kt.layer,0)}),hn.iteratorKeys.each(function(Kt){var bn=0;Kt.parts.each(function(Mi){if(!Mi.isSelected){var Oi=Mi.zOrder;isNaN(Oi)?Mi.zOrder=0:bn=Math.max(bn,Oi)}}),hn.set(Kt,bn)}),un.selection.each(function(Kt){$e._assignZOrder(Kt,hn.get(Kt.layer)+1)}),un.commitTransaction("pullToFront")},$e.prototype.pushToBack=function(){var un=this.diagram;un.startTransaction("pushToBack");var hn=new go.Map;un.selection.each(function(Kt){hn.set(Kt.layer,0)}),hn.iteratorKeys.each(function(Kt){var bn=0;Kt.parts.each(function(Mi){if(!Mi.isSelected){var Oi=Mi.zOrder;isNaN(Oi)?Mi.zOrder=0:bn=Math.min(bn,Oi)}}),hn.set(Kt,bn)}),un.selection.each(function(Kt){$e._assignZOrder(Kt,hn.get(Kt.layer)-1-$e._findGroupDepth(Kt))}),un.commitTransaction("pushToBack")},$e._assignZOrder=function(un,hn,Kt){Kt===void 0&&(Kt=un),un.layer===Kt.layer&&(un.zOrder=hn),un instanceof go.Group&&un.memberParts.each(function(bn){$e._assignZOrder(bn,hn+1,Kt)})},$e._findGroupDepth=function(un){if(un instanceof go.Group){var hn=0;return un.memberParts.each(function(Kt){hn=Math.max(hn,$e._findGroupDepth(Kt))}),hn+1}else return 0},$e.prototype.doKeyDown=function(){var un=this.diagram;if(un!==null){var hn=un.lastInput;if(hn.key==="Up"||hn.key==="Down"||hn.key==="Left"||hn.key==="Right"){var Kt=this.arrowKeyBehavior;if(Kt==="none")return;if(Kt==="select"){this._arrowKeySelect();return}else if(Kt==="move"){this._arrowKeyMove();return}else if(Kt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},$e.prototype._getAllParts=function(){var un=new Array;return this.diagram.nodes.each(function(hn){un.push(hn)}),this.diagram.parts.each(function(hn){un.push(hn)}),un},$e.prototype._arrowKeyMove=function(){var un=this.diagram,hn=un.lastInput,Kt=0,bn=0;if(hn.control||hn.meta)Kt=1,bn=1;else if(un.grid!==null){var Mi=un.grid.gridCellSize;bn=Mi.width,Kt=Mi.height}un.startTransaction("arrowKeyMove"),un.selection.each(function(Oi){hn.key==="Up"?Oi.move(new go.Point(Oi.actualBounds.x,Oi.actualBounds.y-Kt)):hn.key==="Down"?Oi.move(new go.Point(Oi.actualBounds.x,Oi.actualBounds.y+Kt)):hn.key==="Left"?Oi.move(new go.Point(Oi.actualBounds.x-bn,Oi.actualBounds.y)):hn.key==="Right"&&Oi.move(new go.Point(Oi.actualBounds.x+bn,Oi.actualBounds.y))}),un.commitTransaction("arrowKeyMove")},$e.prototype._arrowKeySelect=function(){var un=this.diagram,hn=un.lastInput,Kt=null;hn.key==="Up"?Kt=this._findNearestPartTowards(270):hn.key==="Down"?Kt=this._findNearestPartTowards(90):hn.key==="Left"?Kt=this._findNearestPartTowards(180):hn.key==="Right"&&(Kt=this._findNearestPartTowards(0)),Kt!==null&&(hn.shift?Kt.isSelected=!0:hn.control||hn.meta?Kt.isSelected=!Kt.isSelected:un.select(Kt))},$e.prototype._findNearestPartTowards=function(un){var hn=this.diagram.selection.first();if(hn===null)return null;for(var Kt=hn.actualBounds.center,bn=this._getAllParts(),Mi=1/0,Oi=hn,bi=0;bi<bn.length;bi++){var sn=bn[bi];if(sn!==hn&&sn.canSelect()){var Un=sn.actualBounds.center,Wi=Kt.directionPoint(Un),ir=this._angleCloseness(Wi,un);if(ir<=45){var si=Kt.distanceSquaredPoint(Un);si*=1+Math.sin(ir*Math.PI/180),si<Mi&&(Mi=si,Oi=sn)}}}return Oi},$e.prototype._angleCloseness=function(un,hn){return Math.min(Math.abs(hn-un),Math.min(Math.abs(hn+360-un),Math.abs(hn-360-un)))},$e.prototype._arrowKeyTree=function(){var un=this.diagram,hn=un.selection.first();if(hn instanceof go.Node){var Kt=un.lastInput;if(Kt.key==="Right"){if(!hn.isTreeLeaf)if(!hn.isTreeExpanded)un.commandHandler.canExpandTree(hn)&&un.commandHandler.expandTree(hn);else{var bn=this._sortTreeChildrenByY(hn).first();bn!==null&&un.select(bn)}}else if(Kt.key==="Left")if(!hn.isTreeLeaf&&hn.isTreeExpanded)un.commandHandler.canCollapseTree(hn)&&un.commandHandler.collapseTree(hn);else{var Mi=hn.findTreeParentNode();Mi!==null&&un.select(Mi)}else if(Kt.key==="Up"){var Mi=hn.findTreeParentNode();if(Mi!==null){var Oi=this._sortTreeChildrenByY(Mi),bi=Oi.indexOf(hn);if(bi>0){for(var sn=Oi.elt(bi-1);sn!==null&&sn.isTreeExpanded&&!sn.isTreeLeaf;){var Un=this._sortTreeChildrenByY(sn);sn=Un.last()}sn!==null&&un.select(sn)}else un.select(Mi)}}else if(Kt.key==="Down")if(hn.isTreeExpanded&&!hn.isTreeLeaf){var bn=this._sortTreeChildrenByY(hn).first();bn!==null&&un.select(bn)}else for(;hn!==null;){var Mi=hn.findTreeParentNode();if(Mi===null)break;var Oi=this._sortTreeChildrenByY(Mi),bi=Oi.indexOf(hn);if(bi<Oi.length-1){un.select(Oi.elt(bi+1));break}else hn=Mi}var Wi=un.selection.first();Wi!==null&&un.scrollToRect(Wi.actualBounds)}},$e.prototype._sortTreeChildrenByY=function(un){var hn=new go.List().addAll(un.findTreeChildrenNodes());return hn.sort(function(Kt,bn){var Mi=Kt.location,Oi=bn.location;return Mi.y<Oi.y?-1:Mi.y>Oi.y?1:Mi.x<Oi.x?-1:Mi.x>Oi.x?1:0}),hn},$e.prototype.copyToClipboard=function(un){go.CommandHandler.prototype.copyToClipboard.call(this,un),this._lastPasteOffset.set(this.pasteOffset)},$e.prototype.pasteFromClipboard=function(){var un=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(un,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),un},Object.defineProperty($e.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(un){if(un!=="move"&&un!=="select"&&un!=="scroll"&&un!=="tree"&&un!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+un);this._arrowKeyBehavior=un}}),Object.defineProperty($e.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(un){if(!(un instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+un);this._pasteOffset.set(un)}});var Wt=$e,jt=ue(18023),Je=ue(15746),Me=ue(33170),Le={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Xe=ue(52262),dt=ue(67294),je=(un,hn,Kt)=>new Promise((bn,Mi)=>{var Oi=Un=>{try{sn(Kt.next(Un))}catch(Wi){Mi(Wi)}},bi=Un=>{try{sn(Kt.throw(Un))}catch(Wi){Mi(Wi)}},sn=Un=>Un.done?bn(Un.value):Promise.resolve(Un.value).then(Oi,bi);sn((Kt=Kt.apply(un,hn)).next())});function bt({onCancel:un,callback:hn}){let Kt=(0,ce.useRef)(),bn=(0,ce.useRef)(),Mi=(0,ce.useRef)(),Oi=(0,ce.useRef)(!1);const bi=(0,ce.useRef)(!1),[sn,Un]=(0,ce.useState)(0);function Wi(){const si=Ot.bx.make,tn={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"};Kt.current=new Ot.S0(bn.current,{padding:20,grid:si(Ot.s_,"Grid",si(Ot.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),si(Ot.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:nn=>{var pr=nn.diagram.commandHandler.addTopLevelParts(nn.diagram.selection,!0);pr||nn.diagram.currentTool.doCancel()},commandHandler:si(Wt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:nn=>{var pr=nn.subject;pr.location=pr.location.copy().snapToGridPoint(nn.diagram.grid.gridOrigin,nn.diagram.grid.gridCellSize),setTimeout(()=>{nn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:nn=>{var pr=nn.subject;setTimeout(()=>{nn.diagram.commandHandler.editTextBlock()})},LinkRelinked:nn=>{var pr=nn.parameter.part;pr.invalidateConnectedLinks();var Jr=nn.subject;nn.diagram.toolManager.linkingTool.isForwards?Jr.toNode.invalidateConnectedLinks():Jr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Kt.current.nodeTemplate=si(Ot.NB,"Auto",{locationSpot:Ot.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ot.$u(120,60),minSize:new Ot.$u(40,40),resizable:!0,resizeCellSize:new Ot.$u(10,10),rotatable:!0},new Ot.KX("location","loc",Ot.E9.parse).makeTwoWay(Ot.E9.stringify),new Ot.KX("desiredSize","size",Ot.$u.parse).makeTwoWay(Ot.$u.stringify),si(Ot.bn,{name:"SHAPE",fill:tn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ot.z6.AllSides,toSpot:Ot.z6.AllSides},new Ot.KX("figure"),new Ot.KX("fill"),new Ot.KX("stroke","borderColor"),new Ot.KX("strokeWidth","thickness"),new Ot.KX("strokeDashArray","dash")),si(Ot.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),si(Ot.al,{margin:1,textAlign:"center",overflow:Ot.al.OverflowEllipsis,editable:!0},new Ot.KX("text").makeTwoWay(),new Ot.KX("stroke","color"))),Kt.current.nodeTemplate.toolTip=si("ToolTip",si(Ot.s_,"Vertical",{maxSize:new Ot.$u(200,NaN)},si(Ot.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ot.KX("text")),si(Ot.al,{font:"10pt sans-serif",textAlign:"center"},new Ot.KX("text","details"))));function Hi(nn,pr){var Jr=(vr,ia)=>{vr.handled=!0,vr.diagram.model.commit(vo=>{var Po=ia.part.adornedPart,bo=new Ot.E9().setRectSpot(Po.actualBounds,nn);bo.subtract(Po.location),bo.scale(2,2),bo.x+=Math.sign(bo.x)*130,bo.y+=Math.sign(bo.y)*130,bo.add(Po.location),bo.snapToGridPoint(vr.diagram.grid.gridOrigin,vr.diagram.grid.gridCellSize);var so=vo.copyNodeData(Po.data);vo.setGroupKeyForNodeData(so,vo.getGroupKeyForNodeData(Po.data)),vo.addNodeData(so);var Do={from:Po.key,to:vo.getKeyForNodeData(so)};vo.addLinkData(Do);var Qn=vr.diagram.findNodeForData(so);Qn.location=bo,vr.diagram.select(Qn),setTimeout(()=>{vr.diagram.commandHandler.editTextBlock()},20)})};return si(Ot.bn,{figure:pr,alignment:nn,alignmentFocus:nn.opposite(),width:nn.equals(Ot.z6.Top)||nn.equals(Ot.z6.Bottom)?25:18,height:nn.equals(Ot.z6.Top)||nn.equals(Ot.z6.Bottom)?18:25,fill:"orange",stroke:tn.white,strokeWidth:4,mouseEnter:(vr,ia)=>ia.fill="dodgerblue",mouseLeave:(vr,ia)=>ia.fill="orange",isActionable:!0,click:Jr,contextClick:Jr})}function lr(nn){return si(Ot.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:(pr,Jr)=>Jr.fill="dodgerblue",mouseLeave:(pr,Jr)=>Jr.fill="orange",click:(pr,Jr)=>{pr.diagram.commandHandler.showContextMenu(Jr.part.adornedPart)}},nn||{})}Kt.current.nodeTemplate.selectionAdornmentTemplate=si(Ot.uz,"Spot",si(Ot.Vm,{padding:10}),Hi(Ot.z6.Top,"TriangleUp"),Hi(Ot.z6.Left,"TriangleLeft"),Hi(Ot.z6.Right,"TriangleRight"),Hi(Ot.z6.Bottom,"TriangleDown"),lr({alignment:new Ot.z6(.75,0)}));function Hr(nn,pr){return(Jr,vr)=>{Jr.handled=!0,Jr.diagram.model.commit(ia=>{ia.set(vr.part.adornedPart.data,nn,pr)})}}function jn(nn,pr){return pr||(pr="color"),si(Ot.bn,{width:16,height:16,stroke:"lightgray",fill:nn,margin:1,background:"transparent",mouseEnter:(Jr,vr)=>vr.stroke="dodgerblue",mouseLeave:(Jr,vr)=>vr.stroke="lightgray",click:Hr(pr,nn),contextClick:Hr(pr,nn)})}function qi(){return[si("ContextMenuButton",si(Ot.s_,"Horizontal",jn(tn.white,"fill"),jn(tn.beige,"fill"),jn(tn.extralightblue,"fill"),jn(tn.extralightred,"fill"))),si("ContextMenuButton",si(Ot.s_,"Horizontal",jn(tn.lightgray,"fill"),jn(tn.lightgreen,"fill"),jn(tn.lightblue,"fill"),jn(tn.lightred,"fill")))]}function ao(){return[si("ContextMenuButton",si(Ot.s_,"Horizontal",jn(tn.black),jn(tn.green),jn(tn.blue),jn(tn.red))),si("ContextMenuButton",si(Ot.s_,"Horizontal",jn(tn.white),jn(tn.magenta),jn(tn.purple),jn(tn.orange)))]}function jo(nn,pr){return pr||(pr="thickness"),si(Ot.bn,"LineH",{width:16,height:16,strokeWidth:nn,margin:1,background:"transparent",mouseEnter:(Jr,vr)=>vr.background="dodgerblue",mouseLeave:(Jr,vr)=>vr.background="transparent",click:Hr(pr,nn),contextClick:Hr(pr,nn)})}function ko(nn,pr){return pr||(pr="dash"),si(Ot.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:nn,margin:1,background:"transparent",mouseEnter:(Jr,vr)=>vr.background="dodgerblue",mouseLeave:(Jr,vr)=>vr.background="transparent",click:Hr(pr,nn),contextClick:Hr(pr,nn)})}function Vi(){return[si("ContextMenuButton",si(Ot.s_,"Horizontal",jo(1),jo(2),jo(3),jo(4))),si("ContextMenuButton",si(Ot.s_,"Horizontal",ko(null),ko([2,4]),ko([4,4])))]}function Qi(nn,pr){return pr||(pr="figure"),si(Ot.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:nn,margin:1,background:"transparent",mouseEnter:(Jr,vr)=>vr.fill="dodgerblue",mouseLeave:(Jr,vr)=>vr.fill="lightgray",click:Hr(pr,nn),contextClick:Hr(pr,nn)})}Kt.current.nodeTemplate.contextMenu=si("ContextMenu",si("ContextMenuButton",si(Ot.s_,"Horizontal",Qi("Rectangle"),Qi("RoundedRectangle"),Qi("Ellipse"),Qi("Diamond"))),si("ContextMenuButton",si(Ot.s_,"Horizontal",Qi("Parallelogram2"),Qi("ManualOperation"),Qi("Procedure"),Qi("Cylinder1"))),si("ContextMenuButton",si(Ot.s_,"Horizontal",Qi("Terminator"),Qi("CreateRequest"),Qi("Document"),Qi("TriangleDown"))),qi(),ao(),Vi()),Kt.current.groupTemplate=si(Ot.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ot.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(nn,pr)=>{var Jr=pr.addMembers(pr.diagram.selection,!0);Jr||pr.diagram.currentTool.doCancel()},avoidable:!1},new Ot.KX("location","loc",Ot.E9.parse).makeTwoWay(Ot.E9.stringify),si(Ot.s_,"Auto",{name:"BODY"},si(Ot.bn,{parameter1:10,fill:tn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ot.z6.AllSides,toSpot:Ot.z6.AllSides},new Ot.KX("fill"),new Ot.KX("stroke","color"),new Ot.KX("strokeWidth","thickness"),new Ot.KX("strokeDashArray","dash")),si(Ot.Vm,{background:"transparent",margin:20})),si(Ot.al,{alignment:Ot.z6.Top,alignmentFocus:Ot.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ot.KX("text"),new Ot.KX("stroke","color"))),Kt.current.groupTemplate.selectionAdornmentTemplate=si(Ot.uz,"Spot",si(Ot.s_,"Auto",si(Ot.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),si(Ot.Vm,{margin:1.5})),lr({alignment:Ot.z6.TopRight,alignmentFocus:Ot.z6.BottomRight})),Kt.current.groupTemplate.contextMenu=si("ContextMenu",qi(),ao(),Vi()),Kt.current.linkTemplate=si(Ot.rU,{layerName:"Foreground",routing:Ot.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ot.KX("fromSpot","fromSpot",Ot.z6.parse),new Ot.KX("toSpot","toSpot",Ot.z6.parse),new Ot.KX("fromShortLength","dir",nn=>nn>=1?10:0),new Ot.KX("toShortLength","dir",nn=>nn>=1?10:0),new Ot.KX("points").makeTwoWay(),si(Ot.bn,{strokeWidth:2},new Ot.KX("stroke","color"),new Ot.KX("strokeWidth","thickness"),new Ot.KX("strokeDashArray","dash")),si(Ot.bn,{segmentIndex:0,segmentOffset:new Ot.E9(15,0),segmentOrientation:Ot.rU.OrientAlong,alignmentFocus:Ot.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ot.KX("fill","color"),new Ot.KX("visible","dir",nn=>nn===1)),si(Ot.bn,{segmentIndex:-1,segmentOffset:new Ot.E9(-10,6),segmentOrientation:Ot.rU.OrientPlus90,alignmentFocus:Ot.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ot.KX("fill","color"),new Ot.KX("visible","dir",nn=>nn>=1),new Ot.KX("width","thickness",nn=>7+3*nn),new Ot.KX("height","thickness",nn=>7+3*nn),new Ot.KX("segmentOffset","thickness",nn=>new Ot.E9(-15,4+1.5*nn))),si(Ot.bn,{segmentIndex:0,segmentOffset:new Ot.E9(15,-6),segmentOrientation:Ot.rU.OrientMinus90,alignmentFocus:Ot.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ot.KX("fill","color"),new Ot.KX("visible","dir",nn=>nn===2),new Ot.KX("width","thickness",nn=>7+3*nn),new Ot.KX("height","thickness",nn=>7+3*nn),new Ot.KX("segmentOffset","thickness",nn=>new Ot.E9(-15,4+1.5*nn))),si(Ot.al,{alignmentFocus:new Ot.z6(0,1,-4,0),editable:!0},new Ot.KX("text").makeTwoWay(),new Ot.KX("stroke","color"))),Kt.current.linkTemplate.selectionAdornmentTemplate=si(Ot.uz,si(Ot.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:sr(2)},new Ot.KX("pathPattern","thickness",sr)),lr({alignmentFocus:new Ot.z6(0,0,-6,-4)}));function sr(nn){return si(Ot.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(nn+4).toString()+" H3"})}function Zr(nn){var pr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return nn===0?pr="M0 0 M16 16 M0 8 L16 8":nn===2&&(pr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),si(Ot.bn,{geometryString:pr,margin:2,background:"transparent",mouseEnter:(Jr,vr)=>vr.background="dodgerblue",mouseLeave:(Jr,vr)=>vr.background="transparent",click:Hr("dir",nn),contextClick:Hr("dir",nn)})}function Io(nn){var pr=(Jr,vr)=>{Jr.handled=!0,Jr.diagram.model.commit(ia=>{var vo=vr.part.adornedPart;ia.set(vo.data,nn?"toSpot":"fromSpot",Ot.z6.stringify(Ot.z6.AllSides)),(nn?vo.toNode:vo.fromNode).invalidateConnectedLinks()})};return si(Ot.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Jr,vr)=>vr.background="dodgerblue",mouseLeave:(Jr,vr)=>vr.background="transparent",click:pr,contextClick:pr})}function Si(nn,pr){var Jr=0,vr=Ot.z6.RightSide;nn.equals(Ot.z6.Top)?(Jr=270,vr=Ot.z6.TopSide):nn.equals(Ot.z6.Left)?(Jr=180,vr=Ot.z6.LeftSide):nn.equals(Ot.z6.Bottom)&&(Jr=90,vr=Ot.z6.BottomSide),pr||(Jr-=180);var ia=(vo,Po)=>{vo.handled=!0,vo.diagram.model.commit(bo=>{var so=Po.part.adornedPart;bo.set(so.data,pr?"toSpot":"fromSpot",Ot.z6.stringify(vr)),(pr?so.toNode:so.fromNode).invalidateConnectedLinks()})};return si(Ot.bn,{alignment:nn,alignmentFocus:nn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Jr,background:"transparent",mouseEnter:(vo,Po)=>Po.background="dodgerblue",mouseLeave:(vo,Po)=>Po.background="transparent",click:ia,contextClick:ia})}Kt.current.linkTemplate.contextMenu=si("ContextMenu",ao(),Vi(),si("ContextMenuButton",si(Ot.s_,"Horizontal",Zr(0),Zr(1),Zr(2))),si("ContextMenuButton",si(Ot.s_,"Horizontal",si(Ot.s_,"Spot",Io(!1),Si(Ot.z6.Top,!1),Si(Ot.z6.Left,!1),Si(Ot.z6.Right,!1),Si(Ot.z6.Bottom,!1)),si(Ot.s_,"Spot",{margin:new Ot.Zt(0,0,0,2)},Io(!0),Si(Ot.z6.Top,!0),Si(Ot.z6.Left,!0),Si(Ot.z6.Right,!0),Si(Ot.z6.Bottom,!0)))));const mr=`{ "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 ja=["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 Ha(nn){return console.log("shapeName:",nn),ja.indexOf(nn)>=0}var Sa=new Ot.YI(Mi.current,{maxSelectionCount:1,linkTemplate:si(Ot.rU,{locationSpot:Ot.z6.Center,selectionAdornmentTemplate:si(Ot.uz,"Link",{locationSpot:Ot.z6.Center},si(Ot.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),si(Ot.bn,{toArrow:"Standard",stroke:null}))},{routing:Ot.rU.AvoidsNodes,curve:Ot.rU.JumpOver,corner:5,toShortLength:4},new Ot.KX("points"),si(Ot.bn,{isPanelMain:!0,strokeWidth:2}),si(Ot.bn,{toArrow:"Standard",stroke:null})),model:new Ot.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ot.bn.getFigureGenerators().toArray().map(nn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:nn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Kt.current.addDiagramListener("TextEdited",function(nn){var pr;const Jr=nn.subject.part;var vr=(pr=document.activeElement)==null?void 0:pr.value;typeof vr=="string"&&vr.trim()===""&&Kt.current.model.commit(function(ia){ia.set(Jr.data,"text","\u672A\u547D\u540D"),Kt.current.commandHandler.stopCommand()},"increment")}),Sa.nodeTemplate=si(Ot.NB,"Auto",{locationSpot:Ot.z6.Center},new Ot.KX("location","location",Ot.E9.parse).makeTwoWay(Ot.E9.stringify),si(Ot.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 Ot.KX("stroke").makeTwoWay(),new Ot.KX("fill").makeTwoWay(),new Ot.KX("figure")),si(Ot.al,{margin:new Ot.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ot.$u(16,16),maxSize:new Ot.$u(10,NaN),textAlign:"center",editable:!0},new Ot.KX("key").makeTwoWay())),setTimeout(()=>{Kt.current.grid=si(Ot.s_,"Grid",si(Ot.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),si(Ot.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Kt.current.grid.visible=!0,Kt.current.grid.gridCellStroke="darkgray",Kt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Kt.current,Kt.current}const ir=()=>je(this,null,function*(){var si,tn=Kt.current.makeImage();const Hi=yield(0,Me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:tn.src,file_data:JSON.stringify({login:(si=(0,Xe.eY)())==null?void 0:si.login,data:JSON.parse(Kt.current.model.toJson())})}});hn({src:Hi.url})});return(0,ce.useEffect)(()=>(setTimeout(()=>{Wi()},500),Un(sn+1),()=>{Kt.current=null}),[]),dt.createElement("div",{ref:bi,className:"body-overflow-initial"},dt.createElement(Gt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!sn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:dt.createElement(An.Z,null,dt.createElement(Je.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),dt.createElement(Je.Z,{onClick:()=>{var si,tn,Hi=Kt.current.selection.first();if(Oi.current=!Oi.current,document.activeElement&&Hi){let lr=(tn=(si=document.activeElement)==null?void 0:si.value)==null?void 0:tn.trim();typeof lr=="string"&&Kt.current.model.commit(function(Hr){Hr.set(Hi.data,"text",lr||"\u672A\u547D\u540D"),Kt.current.commandHandler.stopCommand()},"increment")}Un(sn+1)}},dt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:un},dt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative",display:Oi.current?"none":"block"},className:Le.flowChartWrp},dt.createElement("div",{style:{display:"flex",height:"100%"}},dt.createElement("div",{style:{width:"300px",height:"100%"}},dt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),dt.createElement("div",{style:{height:"calc(100% - 50px)"},className:Le.myPaletteDiv,ref:Mi})),dt.createElement("div",{style:{flex:1,position:"relative"}},dt.createElement("div",{ref:bn,style:{height:"80vh"}}))),dt.createElement("div",{className:"tr"},dt.createElement(ft.ZP,{size:"large",onClick:ir,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Sn=bt,ni=ue(98813),ui=ue(37720);const vn=ni.ZP.Group,_n={margin:"0 8px"};var rn=({callback:un,onCancel:hn})=>{function Kt(bn){un(bn)}return ce.createElement(lt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Kt},ce.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ce.createElement("span",{style:_n},"\u5355\u5143\u683C\u6570\uFF1A"),ce.createElement("span",{style:_n},"\u884C\u6570"),ce.createElement(lt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ce.createElement(ui.Z,null)),ce.createElement("span",{style:_n},"\u5217\u6570"),ce.createElement(lt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ce.createElement(ui.Z,null))),ce.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ce.createElement("span",{style:_n},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ce.createElement(lt.default.Item,{name:"align"},ce.createElement(vn,null,ce.createElement(ni.ZP,{value:"default"},ce.createElement("i",{className:"fa fa-align-justify"})),ce.createElement(ni.ZP,{value:"left"},ce.createElement("i",{className:"fa fa-align-left"})),ce.createElement(ni.ZP,{value:"center"},ce.createElement("i",{className:"fa fa-align-center"})),ce.createElement(ni.ZP,{value:"right"},ce.createElement("i",{className:"fa fa-align-right"}))))),ce.createElement("div",{className:"flex-container flex-end"},ce.createElement(ft.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ce.createElement(ft.ZP,{type:"ghost",onClick:hn},"\u53D6\u6D88")))},oi=ue(59637),ei=ue(61016),Ri=ue.n(ei),tr=(0,ce.forwardRef)(({use3d:un,width:hn,height:Kt,callback:bn,showSaveButton:Mi},Oi)=>{const bi=(0,ce.useRef)(),sn=(0,ce.useRef)(),[Un,Wi]=(0,ce.useState)(!1),ir=(0,ce.useRef)({id:bi,appName:"graphing",width:hn||1e3,height:Kt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ce.useEffect)(()=>{sn.current=new(Ri())(ir.current,!0),window.onload=function(){sn.current.inject("applet_container")}},[]);const si=()=>{var tn=window.ggbApplet.getPNGBase64(1,!0,72);return bn&&bn(tn),tn};return(0,ce.useEffect)(()=>{ir.current.appName=Un?"3D":"graphing",sn.current.inject("applet_container")},[Un]),(0,ce.useEffect)(()=>{Wi(un)},[un]),(0,ce.useImperativeHandle)(Oi,()=>({getImgData:si})),ce.createElement(ce.Fragment,null,ce.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:bi}),ce.createElement(An.Z,{align:"middle"},ce.createElement(Je.Z,{flex:1},ce.createElement(oi.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Un,onChange:tn=>Wi(tn)})),ce.createElement(Je.Z,null,ce.createElement(ft.ZP,{size:"large",onClick:si,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Xi=ue(36527),$t=ue(2453);const _e="link",xr="upload-image",er="add-flowchart",ai="draw-image",Rr="add-flowchart",Lr="code-block",Ii="add-table",ar="------------",hi={default:ar,left:`:${ar}`,center:`:${ar}:`,right:`${ar}:`};var Qt=ue(99914);function Wr(){}let oo=0;const dr=1e4,xo="\u2581",yr="@\u2581\u2581@",On="@\u2581@",Ie=`
|
|
|
**\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`,Mn=["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 Kn(un){return/^\d+$/.test(un)?`${un}px`:un}const fi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",vi={[fi+"-B"]:"bold",[fi+"-I"]:"italic"},Ni={[_e]:"\u6DFB\u52A0\u94FE\u63A5",[Lr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[xr]:"\u6DFB\u52A0\u56FE\u7247",[ai]:"\u6DFB\u52A0\u753B\u56FE",[er]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ii]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var hr=({defaultValue:un="",onChange:hn,width:Kt="100%",height:bn=400,miniToolbar:Mi=!1,isFocus:Oi=!1,watch:bi,insertTemp:sn,mode:Un="markdown",id:Wi="markdown-editor-id",showResizeBar:ir=!1,noStorage:si=!1,showNullButton:tn=!1,showNullProgramButton:Hi=!1,hidetoolBar:lr=!1,fullScreen:Hr=!1,onBlur:jn,onCMBeforeChange:qi,onFullScreen:ao,className:jo="",disablePaste:ko=!1,disabled:Vi=!1,disabledFill:Qi=!1,placeholder:sr="",values:Zr="",extraUse:Io})=>{const[Si,mr]=(0,ce.useState)(null),[ja,Ha]=(0,ce.useState)(un),[Sa,nn]=(0,ce.useState)(bi),[pr,Jr]=(0,ce.useState)(Hr),[vr,ia]=(0,ce.useState)(""),[vo,Po]=(0,ce.useState)(0),[bo,so]=(0,ce.useState)(bn),[Do,Qn]=(0,ce.useState)(!1),[$o,Rt]=(0,ce.useState)(0),[ut,Dn]=(0,ce.useState)(0),Lt=(0,ce.useRef)(),Ft=(0,ce.useRef)(),Yt=(0,ce.useRef)(),pn=(0,ce.useRef)();(0,ce.useEffect)(()=>{const Di=window.scrollY||window.pageYOffset;Ha(Zr),Si==null||Si.setValue(Zr),window.scrollTo(0,Di)},[Zr]),(0,ce.useEffect)(()=>{ao==null||ao(pr)},[pr]),(0,ce.useEffect)(()=>{if(Lt.current){let Di=function(ji,fn){var $i;if(ko){fn.preventDefault();return}const Ji=fn.clipboardData;if(Ji){const Gr=Ji.types.toString(),io=Ji.items;if(Gr==="Files"||Ji.types.indexOf("Files")>-1){if(fn.preventDefault(),Un=="stex")return;try{let qr=io[1];(($i=io[0])==null?void 0:$i.kind)==="file"&&(qr=io[0]);const yo=qr.getAsFile(),ea=yo.name.split(".").pop();(0,In.I)(yo,Zo=>{var ua,ba,an;Zo.id?((ua=yo==null?void 0:yo.type)==null?void 0:ua.indexOf("image"))>-1?Ci.replaceSelection(`<img width="100%" src="/api/attachments/${Zo.id}?type=${Zo.content_type})" alt="" />`):((ba=yo==null?void 0:yo.type)==null?void 0:ba.indexOf("video"))>-1?Ci.replaceSelection(`<video width="100%" controls src="/api/attachments/${Zo.id}"></video>`):((an=yo==null?void 0:yo.type)==null?void 0:an.indexOf("pdf"))>-1?Ci.replaceSelection(`<a href="/api/attachments/${Zo.id}?type=${yo.type}&disposition=inline" target="_blank">${yo.name}</a>`):Mn.includes(ea)?Ci.replaceSelection(`<a href="/api/attachments/${Zo.id}?type=office&disposition=inline" target="_blank">${yo.name}</a>`):Ci.replaceSelection(`[${yo.name}](/api/attachments/${Zo.id}?type=${Zo.content_type})`):(Zo==null?void 0:Zo.status)===401&&(document.location.href="/user/login")})}catch(qr){$t.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ci=Fe().fromTextArea(Lt.current,{mode:Un,lineNumbers:!Mi,lineWrapping:!0,value:un,autoCloseTags:!0,autoCloseBrackets:!0});return Ci.on("keyup",function(ji,fn){fn.keyCode===8&&(ji.getValue()==""?Ci.setOption("placeholder",sr):Ci.setOption("placeholder",null))}),Ci.on("keydown",function(ji,fn){if(fn.keyCode===8){var $i=Li(ji);$i&&fn.preventDefault()}}),Oi&&Ci.focus(),Ci.on("paste",Di),Vi&&Ci.on("beforeChange",function(ji,fn){(fn.origin==="paste"||fn.origin==="+input")&&fn.cancel()}),mr(Ci),()=>{Ci.off("paste",Di)}}},[]);const ti=(0,ce.useCallback)(()=>{if(Ft.current)try{}catch(Di){console.log(Di,"---- to set md editor body height")}},[bo,Ft,pr]);(0,ce.useEffect)(()=>{function Di(){let Ci=new ke.Z(ji=>{for(let fn of ji)(fn.target.offsetHeight>0||fn.target.offsetWidth>0)&&(ti(),Si.setSize("100%","100%"),Si.refresh())});return Ci.observe(Lt.current.parentElement),Ci}if(Si){const Ci=Di();return()=>{var ji,fn;(ji=Lt.current)!=null&&ji.parentElement&&Ci.unobserve((fn=Lt.current)==null?void 0:fn.parentElement)}}},[Si,ti]),(0,ce.useEffect)(()=>{if(Si){let Di=[];for(const[Ci,ji]of Object.entries(vi)){let fn={[Ci]:()=>{Pi(ji)}};Di.push(fn),Si.addKeyMap(fn)}return()=>{for(let Ci of Di)Si.removeKeyMap(Ci)}}},[Si]),(0,ce.useEffect)(()=>{Hr!==pr&&Jr(Hr)},[Hr]),(0,Qt.Z)(()=>{if(!si&&vo>0){let Di=new Date().getTime(),Ci=window.sessionStorage.getItem(Wi);Di>=vo+dr&&(!Ci||Ci!==ja)&&(window.sessionStorage.setItem(Wi,ja),Qn(!0))}},dr),(0,ce.useEffect)(()=>{nn(bi)},[Si,bi]),(0,ce.useEffect)(()=>{Si&&Oi&&Si.focus()},[Si,Oi]),(0,ce.useEffect)(()=>{if(Sa&&Si){let Di=function(ji){let fn=ji.target;if(pn.current){let $i=fn.scrollTop/fn.scrollHeight;pn.current.scrollTop=pn.current.scrollHeight*$i}};const Ci=Si.getScrollerElement();return Ci.addEventListener("scroll",Di),()=>{Ci.removeEventListener("scroll",Di)}}},[Si,Sa]),(0,ce.useEffect)(()=>{if(Si&&qi){let Di=function(Ci,ji){qi(Ci,ji)};return Si.on("beforeChange",Di),()=>{Si.off("beforeChange",Di)}}},[Si,qi]),(0,ce.useEffect)(()=>{if(Si&&jn){let Di=function(){jn(Si.getValue())};return Si.on("blur",Di),()=>{Si.off("blur",Di)}}},[Si,jn]);function Li(Di,Ci){var ji=Di.getDoc(),fn=ji.getCursor(),$i=ji.getLine(fn.line),Ji=$i.charAt(fn.ch-1),Gr=$i.lastIndexOf("@\u2581@",fn.ch),io=$i.lastIndexOf("@\u2581\u2581@",fn.ch),qr=Gr>io?Gr:io,yo=Gr>io?3:4;if(yr.indexOf(Ji)===-1)return null;if(console.log("change1:",Ci,Di,$i,fn,qr,Gr,io,Ji),qr>=0&&fn.ch-qr<5){var ea=qr+yo;return ji.replaceRange("",{line:fn.line,ch:qr},{line:fn.line,ch:ea}),{line:fn.line,ch:ea}}return null}(0,ce.useEffect)(()=>{if(Si){let Di=function(Ci,ji){const fn=Ci.getValue();Ha(fn),Po(new Date().getTime()),Ci.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),hn&&(Hi?hn(fn,Vr(fn)):hn(fn))};return Si.on("change",Di),()=>{Si.off("change",Di)}}},[Si,hn]),(0,ce.useEffect)(()=>{if(Si)if(un==null)Si.setValue(""),Ha("");else{const Di=window.scrollY||window.pageYOffset;un!==Si.getValue()&&(Si.setValue(un),Ha(un),Si.setCursor(Vi?1:Si.lineCount(),0),window.scrollTo(0,Di))}},[Si,un]);const Pi=(0,ce.useCallback)(Di=>{const Ci=Si.getCursor(),ji=Si.getSelection();let fn=ji.split(`
|
|
|
`);switch(Di){case"bold":return Si.replaceSelection("**"+ji+"**"),ji===""&&Si.setCursor(Ci.line,Ci.ch+2),Si.focus();case"italic":return Si.replaceSelection("*"+ji+"*"),ji===""&&Si.setCursor(Ci.line,Ci.ch+1),Si.focus();case"code":return Si.replaceSelection("`"+ji+"`"),ji===""&&Si.setCursor(Ci.line,Ci.ch+1),Si.focus();case"inline-latex":return ia("inline-latex"),Si.focus();case"latex":return Si.replaceSelection("```latex\n"+ji+"\n```"),Si.setCursor(Ci.line+1,ji.length+1),Si.focus();case"line-break":return Si.replaceSelection(`<br/>
|
|
|
`),Si.focus();case"list-ul":return ji===""?Si.replaceSelection("- "+ji):Si.replaceSelection(fn.map($i=>$i===""?"":`- ${$i}`).join(`
|
|
|
`)),Si.focus();case"list-ol":return ji===""?Si.replaceSelection("1. "+ji):Si.replaceSelection(fn.map(($i,Ji)=>$i===""?"":`${Ji+1}. ${$i}`).join(`
|
|
|
`)),Si.focus();case"add-null-ch":return ji===""&&Si.setCursor(Ci.line,Ci.ch),Si.replaceSelection(xo),Si.focus();case"add-signal":return ji===""&&Si.setCursor(Ci.line,Ci.ch),Si.replaceSelection(On),Si.focus();case"add-multiple":return ji===""&&Si.setCursor(Ci.line,Ci.ch),Si.replaceSelection(yr),Si.focus();case"inster-template-1":return ji===""&&Si.setCursor(Ci.line,Ci.ch),Si.replaceSelection(Ie),Si.focus();case"eraser":return Si.setValue(""),Si.focus();case"trigger-watch":return nn(!Sa),Si.focus();case"trigger-full-screen":return Jr(!pr),Si.focus();case _e:ia(_e);return;case Lr:ia(Lr);return;case xr:ia(xr);return;case ai:ia(ai);return;case"maths-latex":ia("maths-latex");return;case er:ia(er);return;case Ii:ia(Ii);return;default:throw new Error}},[Si,Sa,pr]),Fn=(0,ce.useCallback)((Di,Ci)=>{var ji,fn,$i,Ji,Gr,io;switch(ia(""),vr){case _e:const{title:ua,link:ba}=Di;return Si.replaceSelection(`[${ua}](${ba})`),Si.focus();case Lr:const{language:an,content:qo}=Di;return Si.replaceSelection(["```"+an,qo,"```"].join(`
|
|
|
`)),Si.focus();case"maths-latex":for(var qr=atob(Di),yo=new Uint8Array(qr.length),ea=0;ea<qr.length;ea++)yo[ea]=qr.charCodeAt(ea);var Zo=new Blob([yo],{type:"image/png"});(0,In.I)(Zo,wr=>{wr.id?Si.replaceSelection(``):(wr==null?void 0:wr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Si.replaceSelection("`$$"+Di+"$$`");break;case xr:case ai:case Rr:const{src:fa,alt:Ra}=Di,po=Ci,Xa=($i=(fn=(ji=po==null?void 0:po.name)==null?void 0:ji.split("."))==null?void 0:fn.pop)==null?void 0:$i.call(fn);return((Ji=po==null?void 0:po.type)==null?void 0:Ji.indexOf("image"))>-1||!(po!=null&&po.type)?po!=null&&po.align||po!=null&&po.width?Si.replaceSelection(`<p style="text-align:${po.align||"initial"}"><img width="${po.width?po.width+"%":"initial"}" src="${fa}" alt="${Ra||""}" /></p>`):Si.replaceSelection(`<img width="100%" src="${fa}" alt="${Ra||""}" />`):((Gr=po==null?void 0:po.type)==null?void 0:Gr.indexOf("video"))>-1?Si.replaceSelection(`<video width="100%" controls src="${fa}"></video>`):((io=po==null?void 0:po.type)==null?void 0:io.indexOf("pdf"))>-1?Si.replaceSelection(`<a href="${fa}?type=${po.type}&disposition=inline" target="_blank">${po.name}</a>`):Mn.includes(Xa)?Si.replaceSelection(`<a href="${fa}?type=office&disposition=inline" target="_blank">${po.name}</a>`):Si.replaceSelection(`[${po.name}](${fa})`),Si.focus();case Ii:const{row:Na,col:qa,align:Co}=Di;let Go=`
|
|
|
`;for(let wr=0;wr<Na;wr++){let $r=[],ho=[];for(let _o=0;_o<qa;_o++)wr===1&&ho.push(hi[Co]),$r.push(" ");wr===1&&(Go+=`| ${ho.join(" | ")} |
|
|
|
`),Go+=`| ${$r.join(qa===1?"":" | ")} |
|
|
|
`}return Si.replaceSelection(Go+`
|
|
|
`),Si.focus();default:throw new Error}},[Si,vr]),st=(0,ce.useMemo)(()=>{switch(vr){case _e:return ce.createElement(ot,{callback:Fn,onCancel:br});case Lr:return ce.createElement(Jt.Z,{callback:Fn,onCancel:br});case xr:return ce.createElement(In.Z,{callback:Fn,onCancel:br});case er:return ce.createElement(Sn,{callback:Fn,onCancel:br});case Ii:return ce.createElement(rn,{callback:Fn,onCancel:br});case"maths-latex":return ce.createElement(tr,{showSaveButton:!0,callback:Fn});case"inline-latex":return ce.createElement(Xi.Z,{showSaveButton:!0,callback:Fn});default:return null}},[vr]);function br(){ia("")}(0,ce.useEffect)(()=>{if(Yt.current){let Di=function(Gr){$i=!0,Ji=Gr.pageY},Ci=function(){$i=!1},ji=function(Gr){if($i){let io=Gr.pageY-Ji;io<0&&(io=0),io>300&&(io=300);let qr=bn+io+"px";so(qr)}},fn=Yt.current,$i=!1,Ji=0;return fn.addEventListener("mousedown",Di),document.addEventListener("mousemove",ji),document.addEventListener("mouseup",Ci),()=>{fn.removeEventListener("mousedown",Di),document.removeEventListener("mousemove",ji),document.removeEventListener("mouseup",Ci)}}},[Si,Yt]),(0,ce.useEffect)(()=>{so(bn)},[bn]);const _r=Kn(Kt),to=Kn(bo),lo={width:_r,height:to},uo=(0,ce.useMemo)(()=>{if(vo){let Di=new Date(vo),Ci=Di.getHours(),ji=Di.getMinutes(),fn=Di.getSeconds();return Ci=Ci<10?"0"+Ci:Ci,ji=ji<10?"0"+ji:ji,fn=fn<10?"0"+fn:fn,`${Ci}:${ji}:${fn}`}return 0},[vo]),Vr=Di=>{const Ci=[];if(Hi){let ji=-1;Di=Di.replace(/(@▁▁@|@▁@)/g,function(fn,$i,Ji){Ci.push({multiLine:fn!==On})})}return Ci};function Mo(){window.sessionStorage.removeItem(Wi),Qn(!1),Po(0)}function co(){Qn(!1),Po(0),Si.setValue(window.sessionStorage.getItem(Wi))}(0,ce.useEffect)(()=>{Ni[vr]&&vr!==ai&&vr!==er&&setTimeout(()=>{const Di=document.getElementsByClassName("markdown-popup-form")[0],Ci=window.innerWidth/2-Di.offsetWidth/2,ji=window.innerHeight/2-Di.offsetHeight/2;Rt(Ci),Dn(ji)},0)},[vr]);const Ir=Di=>{Di.preventDefault();const Ci=Di.clientX-$o,ji=Di.clientY-ut;document.body.onmousemove=fn=>{let $i=fn.clientX-Ci,Ji=fn.clientY-ji;const Gr=document.getElementsByClassName("markdown-popup-form")[0],io=window.innerWidth-Gr.offsetWidth,qr=window.innerHeight-Gr.offsetHeight;$i=Math.max(0,Math.min($i,io)),Ji=Math.max(0,Math.min(Ji,qr)),or(fn.clientX,fn.clientY,Ci,ji)&&(Rt($i),Dn(Ji))},document.body.onmouseup=function(){document.body.onmousemove=null}},or=(Di,Ci,ji,fn)=>{const $i=document.body.clientHeight,Ji=document.body.clientWidth;return Di<20&&ji>Di||Di>Ji-20&&ji<Di||Ci<20&&fn>Ci||Ci>$i-20&&fn<Ci?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ce.createElement(ce.Fragment,null,ce.createElement("div",{className:"markdown-editor-wrapper",ref:Ft},ce.createElement("div",{className:`markdown-editor-container ${jo} ${Sa?"on-preview":""} ${Mi?"mini":""} ${pr?"full-screen":""}`,style:lo},ce.createElement(Ke,{insertTemp:sn,watch:Sa,fullScreen:pr,showNullButton:tn,showNullProgramButton:Hi,onActionCallback:Pi,hidetoolBar:lr,extraUse:Io}),ce.createElement("div",{className:"markdown-editor-body"},ce.createElement("div",{className:"codemirror-container"},ce.createElement("textarea",{ref:Lt,placeholder:sr})),Sa?ce.createElement("div",{ref:pn,className:"preview-container"},Un==="stex"&&ce.createElement(Qe,{value:ja}),Un!=="stex"&&ce.createElement(xt.Z,{disabledFill:Qi,showProgramFill:Hi,value:ja})):null))),ir?ce.createElement("a",{ref:Yt,className:"editor-resize"}):null,vr===ai&&ce.createElement(At,{callback:Fn,onCancel:br}),vr===er&&ce.createElement(Sn,{callback:Fn,onCancel:br}),ce.createElement(qe.Z,null,Ni[vr]&&vr!==ai&&vr!==er?ce.createElement(Gt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:$o,top:ut},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:Ir},Ni[vr]),open:!0,onCancel:br,footer:null,destroyOnClose:!0,width:vr===er?"1200px":null,height:vr===er?"80vh":null,className:"markdown-popup-form"},st):null))}},70859:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Oe},I:function(){return qe}});var ce=ue(91773),Ae=ue(2453),Fe=ue(28802),ke=ue(78957),Ye=ue(37720),Pe=ue(98813),Ue=ue(85804),tt=ue(15476),Ze=ue(67294),rt=ue(67294),xt=Object.defineProperty,Qe=Object.defineProperties,Mt=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,de=(lt,at,ft)=>at in lt?xt(lt,at,{enumerable:!0,configurable:!0,writable:!0,value:ft}):lt[at]=ft,se=(lt,at)=>{for(var ft in at||(at={}))te.call(at,ft)&&de(lt,ft,at[ft]);if(De)for(var ft of De(at))ee.call(at,ft)&&de(lt,ft,at[ft]);return lt},ge=(lt,at)=>Qe(lt,Mt(at));const{useForm:ve}=ce.default,be={width:280,marginRight:10},we={labelCol:{span:5},wrapperCol:{span:19}};var Oe=({callback:lt,onCancel:at})=>{const[ft]=ve();let pt=(0,Ze.useRef)();function Nt(yn){pt.current.width=ft.getFieldValue("width"),pt.current.align=ft.getFieldValue("align"),lt(yn,pt.current)}function Xt(yn,Ln){if(yn.status===-1){Ae.ZP.error(yn.message);return}ft.setFieldsValue({src:`/api/attachments/${yn.id}`,type:Ln.type})}function Zt(yn){let Ln=yn.target.files[0];pt.current=Ln,qe(Ln,Xt)}return rt.createElement(ce.default,ge(se({form:ft},we),{className:"upload-image-panel",onFinish:Nt,style:{width:470,overflow:"hidden"}}),rt.createElement(ce.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},rt.createElement("div",{className:"flex-container"},rt.createElement(ce.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},rt.createElement(Fe.default,{style:be})),rt.createElement(Ke,{onFileChange:Zt}))),rt.createElement(ce.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},rt.createElement(Fe.default,{style:{width:264}})),rt.createElement(ce.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},rt.createElement(ke.Z,null,rt.createElement(ce.default.Item,{name:"width",style:{margin:0}},rt.createElement(Ye.Z,{style:{width:264}})),rt.createElement("span",{className:"ml8"},"%"))),rt.createElement(ce.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},rt.createElement(Pe.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"}]})),rt.createElement("aside",null,rt.createElement(ce.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},rt.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),rt.createElement(Ue.ZP,{type:"default",onClick:at},"\u53D6\u6D88"))))};function Ke({onFileChange:lt}){return rt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",rt.createElement("input",{type:"file",onChange:lt}))}function qe(lt,at){if(!lt)throw new String("\u6CA1\u6709\u6587\u4EF6");let ft=new FormData;ft.append("editormd-image-file",lt),ft.append("file_param_name","editormd-image-file"),ft.append("byxhr","true");var pt=new window.XMLHttpRequest;pt.withCredentials=!0,pt.addEventListener("load",function(Nt){at(JSON.parse(Nt.target.responseText),lt)},!1),pt.addEventListener("error",function(Nt){console.error(Nt)},!1),pt.open("POST",`${tt.KI}/api/attachments.json`),pt.send(ft)}},76621:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Fe}});var ce=ue(67294),Ae=ue(73935);class Fe extends ce.Component{constructor(Ye){super(Ye);const Pe=window.document;this.node=Pe.createElement("div"),Pe.body.appendChild(this.node)}render(){const{children:Ye}=this.props;return(0,Ae.createPortal)(Ye,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},36295:function(Re,xe,ue){"use strict";ue.d(xe,{SV:function(){return Ot},ZP:function(){return At}});var ce=ue(67294),Ae=ue(91033);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"]},ke={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"]},Ye={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 <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},Pe={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(`
|
|
|
`)}]},Ue={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 tt=ue(84204),Ze=ue.n(tt),rt=($e,Wt,jt)=>new Promise((Je,Me)=>{var Le=je=>{try{dt(jt.next(je))}catch(bt){Me(bt)}},Xe=je=>{try{dt(jt.throw(je))}catch(bt){Me(bt)}},dt=je=>je.done?Je(je.value):Promise.resolve(je.value).then(Le,Xe);dt((jt=jt.apply($e,Wt)).next())});const xt={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"]}},Qe=($e,Wt,jt,Je)=>{const Me=Wt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:jt.lineNumber,endColumn:jt.column});return Array.from(new Set(Me.match(/\b\w{2,}\b/g)||[])).map(Xe=>({label:Xe,kind:$e.languages.CompletionItemKind.Text,insertText:Xe,range:Je}))},Mt=($e,Wt,jt,Je)=>{$e.languages.registerCompletionItemProvider(Wt,{provideCompletionItems(Me,Le){const Xe=Me.getWordUntilPosition(Le),dt={startLineNumber:Le.lineNumber,endLineNumber:Le.lineNumber,startColumn:Xe.startColumn,endColumn:Xe.endColumn},je=Me.getLineContent(Le.lineNumber).substring(Xe.startColumn-2,Xe.endColumn);return{suggestions:[...Qe($e,Me,Le,dt),...jt.map(Sn=>({label:Sn,kind:$e.languages.CompletionItemKind.Keyword,documentation:Sn,insertText:Sn,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:dt})),...Je.map(Sn=>({label:Sn.label,kind:$e.languages.CompletionItemKind.Snippet,documentation:Sn.content,insertText:je.startsWith("#")?Sn.content.replace(/#/,""):Sn.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:dt}))]}}})};var De=$e=>{xt.languages.forEach(Wt=>{$e.languages.registerDocumentFormattingEditProvider(Wt,{provideDocumentFormattingEdits(jt){return rt(this,null,function*(){const Je=Ze()(jt.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:jt.getFullModelRange(),text:Je}]})}})}),Mt($e,"java",ke.keywords,ke.quickKey),Mt($e,"cpp",Ye.keywords,Ye.quickKey),Mt($e,"c",Fe.keywords,[]),Mt($e,"python",Pe.keywords,Pe.quickKey),Mt($e,"scala",Ue.keywords,Ue.quickKey)};const te="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ee=Object.defineProperty,de=($e,Wt,jt)=>Wt in $e?ee($e,Wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):$e[Wt]=jt,se=($e,Wt,jt)=>de($e,typeof Wt!="symbol"?Wt+"":Wt,jt);const ge=class TE{constructor(Wt,jt,Je){this.placeholder=Wt,this.editor=jt,this.monaco=Je,jt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return TE.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)}};se(ge,"ID","editor.widget.placeholderHint");var be=ge,we=ue(84144),Oe=ue(2453),Ke=ue(83062),qe=ue(96486),lt=ue(33054),at=ue(74855),ft=Object.defineProperty,pt=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Ln=($e,Wt,jt)=>Wt in $e?ft($e,Wt,{enumerable:!0,configurable:!0,writable:!0,value:jt}):$e[Wt]=jt,on=($e,Wt)=>{for(var jt in Wt||(Wt={}))Zt.call(Wt,jt)&&Ln($e,jt,Wt[jt]);if(Xt)for(var jt of Xt(Wt))yn.call(Wt,jt)&&Ln($e,jt,Wt[jt]);return $e},Bn=($e,Wt)=>pt($e,Nt(Wt)),Et=($e,Wt)=>{var jt={};for(var Je in $e)Zt.call($e,Je)&&Wt.indexOf(Je)<0&&(jt[Je]=$e[Je]);if($e!=null&&Xt)for(var Je of Xt($e))Wt.indexOf(Je)<0&&yn.call($e,Je)&&(jt[Je]=$e[Je]);return jt},nt=($e,Wt,jt)=>new Promise((Je,Me)=>{var Le=je=>{try{dt(jt.next(je))}catch(bt){Me(bt)}},Xe=je=>{try{dt(jt.throw(je))}catch(bt){Me(bt)}},dt=je=>je.done?Je(je.value):Promise.resolve(je.value).then(Le,Xe);dt((jt=jt.apply($e,Wt)).next())});function ot($e){return/^\d+$/.test($e)?`${$e}px`:$e}function Jt(){}let In=!1;const Gt={"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 An($e=[]){let Wt=$e;if(Array.isArray($e)){for(let jt=0;jt<$e.length;jt++){let Je=Gt[$e[jt]];if(Je)return Je}return Wt[0]}return Gt[Wt]||Wt}let Nn=null;const di=()=>nt(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch($e){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",$e)}});var At=$e=>{var Wt=$e,{width:jt="100%",height:Je="100%",value:Me,language:Le="javascript",style:Xe={},options:dt={},overrideServices:je={},theme:bt="vs-dark",onEditBlur:Sn,isCopy:ni=!1,onSave:ui,autoHeight:vn=!1,forbidCopy:_n=!1,onChange:rn=Jt,editorDidMount:oi=Jt,onFocus:ei=Jt,onBreakPoint:Ri=Jt,breakPointValue:cn=[],filename:tr="educoder.txt",errorLine:Xi,errorContent:$t="",highlightLine:_e,openBreakPoint:xr=!1,placeholder:er="",showMiniMap:ai=!0}=Wt,Rr=Et(Wt,["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 Lr=(0,ce.useRef)(),Ii=(0,ce.useRef)({}),ar=(0,ce.useRef)(),hi=(0,ce.useRef)(),Qt=(0,ce.useRef)([]),Wr=(0,ce.useRef)(!1),oo=(0,ce.useRef)(),dr=(0,ce.useRef)(),xo=(0,ce.useRef)(!1),[yr,On]=(0,ce.useState)(!1);function Ie(){let sn;return Lr.current&&(sn=new Ae.Z(Un=>{for(let Wi of Un)(Wi.target.offsetHeight>0||Wi.target.offsetWidth>0)&&Ii.current.instance.layout()}),sn.observe(Lr.current)),sn}function Mn(){Oe.ZP.warning({content:decodeURIComponent(te),key:"monaco-editor-tip"})}const Kn=()=>{let sn=Ii.current.instance;if(Me!=null&&sn&&yr){const Un=sn.getModel();Un&&Me!==Un.getValue()&&(In=!0,Un.setValue(Me),sn.layout(),In=!1)}};(0,ce.useEffect)(()=>{const sn=lt.Z.subscribe("formatDocument",Un=>{var Wi;let ir=Ii.current.instance;(Wi=ir==null?void 0:ir.getAction)==null||Wi.call(ir,"editor.action.formatDocument").run()});return window.updateMonacoValue=Un=>{rn(Un)},sn},[]),(0,ce.useEffect)(()=>{var sn;let Un=Ii.current.instance;hi.current&&clearTimeout(hi.current),hi.current=setTimeout(()=>{Kn()},500),Me&&(Me!=null&&Me.length)&&((sn=Un==null?void 0:Un.updateOptions)==null||sn.call(Un,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Me.split(/\r\n|\r|\n/g).length))+3,5)}))},[Me,yr,Ii.current]),(0,ce.useEffect)(()=>{if(Xi&&Ii.current&&Ii.current.instance){let Un=Ii.current.instance;Un.changeViewZones(function(Wi){var ir=document.createElement("div");ir.style.padding="10px 20px",ir.style.width="calc(100% - 20px)",ir.className="my-error-line-wrp",ir.innerHTML=$t,Wi.addZone({afterLineNumber:Xi||11,heightInLines:3,domNode:ir})});var sn={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}};Un.addOverlayWidget(sn),Un.revealPositionInCenter({lineNumber:20,column:1})}},[Xi,Ii.current,yr]);const ri=(sn="",Un)=>{if(!sn||sn.trim()==="")return!0;const ir=Ii.current.instance.getModel().getLineTokens(Un);let si=!1;for(let tn=0;tn<2;tn++)ir.getStandardTokenType(tn)===1&&(si=!0);return si};(0,ce.useEffect)(()=>{var sn;const Un=(sn=Ii.current)==null?void 0:sn.instance;if(Un&&yr&&_n){const Wi=Un.onDidBlurEditorWidget(()=>{xo.current=!1}),ir=Un.onDidFocusEditorText(()=>{xo.current=!0});return()=>{Wi.dispose(),ir.dispose()}}},[Ii.current,yr,_n]),(0,ce.useEffect)(()=>{var sn;if((sn=Ii.current)!=null&&sn.instance&&yr&&xr){let Un=Ii.current.instance,Wi=Un.getModel();if(!Wi)return;(()=>{var Vi;let Qi=[],sr=[];const Zr=Wi.getAllDecorations();for(let Si of Zr)Si.options.className==="highlighted-line"&&(Qi.push((Vi=Si==null?void 0:Si.range)==null?void 0:Vi.startLineNumber),sr.push(Si==null?void 0:Si.id));if(_e===Qi[0])return;Wi.deltaDecorations(sr,[]);const Io=Wi.getLineCount();_e&&_e<=Io&&(Un.deltaDecorations([],[{range:new Nn.Range(_e,1,_e,Wi.getLineMaxColumn(_e)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Un.revealLineInCenter(_e))})();const si=(Vi=!1)=>{var Qi;let sr=[],Zr=[];const Io=Wi.getAllDecorations();for(let Si of Io)Si.options.linesDecorationsClassName==="breakpoints-select"&&(sr.push((Qi=Si==null?void 0:Si.range)==null?void 0:Qi.startLineNumber),Zr.push(Si==null?void 0:Si.id));if(Vi)return{lines:sr,ids:Zr};Ri(sr)},tn=Vi=>nt(void 0,null,function*(){let Qi={range:new Nn.Range(Vi,1,Vi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Wi.deltaDecorations([],[Qi]),si()}),Hi=Vi=>nt(void 0,null,function*(){let Qi=[];const sr=Un.getLineDecorations(Vi);for(let Zr of sr)Zr.options.linesDecorationsClassName==="breakpoints-select"&&Qi.push(Zr.id);yield Wi.deltaDecorations(Qi,[]),si()}),lr=Vi=>{let Qi=Un.getLineDecorations(Vi);for(let sr of Qi)if(sr.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,qe.isEqual)(cn,si(!0).lines)){Wi.deltaDecorations(si(!0).ids,[]);const Vi=cn.map(Qi=>({range:new Nn.Range(Qi,1,Qi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Wi.deltaDecorations([],Vi)}const Hr=Un.onDidChangeModelContent(Vi=>{let Qi=Un.getPosition();if(Qi){let sr=Qi.lineNumber;clearTimeout(dr.current),dr.current=setTimeout(()=>{ri(Wi.getLineContent(sr),sr)?Hi(sr):lr(sr)?(Hi(sr),tn(sr)):si()},100)}}),jn=Un.onMouseDown(Vi=>{var Qi,sr,Zr;if(Vi.target.detail&&((Zr=(sr=(Qi=Vi.target)==null?void 0:Qi.element)==null?void 0:sr.className)!=null&&Zr.includes("line-numbers"))){let Io=Vi.target.position.lineNumber;if(ri(Wi.getLineContent(Io),Io))return;lr(Io)?Hi(Io):tn(Io)}}),qi=Vi=>{let Qi={range:new Nn.Range(Vi,1,Vi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Qt.current=Un.deltaDecorations(Qt.current,[Qi])},ao=()=>{Qt.current=Un.deltaDecorations(Qt.current,[])},jo=Un.onMouseMove(Vi=>{var Qi,sr,Zr;if(ao(),Vi.target.detail&&((Zr=(sr=(Qi=Vi.target)==null?void 0:Qi.element)==null?void 0:sr.className)!=null&&Zr.includes("line-numbers"))){let Io=Vi.target.position.lineNumber;if(ri(Wi.getLineContent(Io),Io))return;qi(Io)}}),ko=Un.onMouseLeave(()=>{ao()});return()=>{Hr.dispose(),jn.dispose(),jo.dispose(),ko.dispose()}}},[Ii.current,yr,cn,_e,xr,Le]),(0,ce.useEffect)(()=>{var sn;(sn=Ii.current)!=null&&sn.instance&&xr&&Ii.current.instance.setPosition({lineNumber:0,column:0})},[_e]);function fi(){let sn=Ii.current.instance;if(sn){const Un=sn.getSelection(),Wi=Ii.current.pastePos||{},ir=new Nn.Range(Wi.startLineNumber||Un.endLineNumber,Wi.startColumn||Un.endColumn,Wi.endLineNumber||Un.endLineNumber,Wi.endColumn||Un.endColumn);setTimeout(()=>{sn.executeEdits("",[{range:ir,text:""}])},300)}}function vi(sn){(window.navigator.platform.match("Mac")?sn.metaKey:sn.ctrlKey)&&sn.keyCode==83&&(sn.preventDefault(),ui())}const Ni=()=>{if(vn&&Ii.current.instance){const sn=Ii.current.instance.getContentHeight();Oi(sn<Je?Je:sn)}else Oi(Je)};function hr(sn){var Un=document.createEvent("MouseEvents");Un.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),sn.dispatchEvent(Un)}const un=sn=>{if(!xo.current)return;const{keyCode:Un,ctrlKey:Wi,metaKey:ir,target:si,type:tn}=sn;return(tn==="paste"||(Un===67||Un===86)&&(ir||Wi))&&si.nodeName==="TEXTAREA"&&(Mn(),sn.preventDefault()),!1};function hn(sn,Un){var Wi=window.URL||window.webkitURL||window,ir=new Blob([Un]),si=document.createElementNS("http://www.w3.org/1999/xhtml","a");si.href=Wi.createObjectURL(ir),si.download=sn,hr(si)}(0,ce.useEffect)(()=>{Ni()},[Ni]),(0,ce.useEffect)(()=>{Lr.current&&!yr&&Promise.all([ue.e(5552),ue.e(9651)]).then(ue.bind(ue,55826)).then(sn=>{try{Nn=sn,Ii.current.instance=Nn.editor.create(Lr.current,{value:Me,language:An(Le),theme:bt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:ai||!1}},je);const Un=Ii.current.instance;let si=[...we.BH._menuItems].find(Hr=>Hr[0]._debugName=="EditorContext")[1],tn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Hi=(Hr,jn)=>{var qi,ao;let jo=Hr._first;do jn.includes((ao=(qi=jo.element)==null?void 0:qi.command)==null?void 0:ao.id)&&Hr._remove(jo);while(jo=jo.next)};if(oi(Un,Nn),setTimeout(()=>{Ni(),Ii.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{hn(tr||"educoder.txt",Un.getValue())}})},500),Ii.current.subscription=Un.onDidChangeModelContent(Hr=>{Wr.current?clearTimeout(oo.current):(Ni(),rn(Un.getValue(),Hr)),oo.current=setTimeout(()=>{Wr.current=!1},500)}),window.Monaco||De(Nn,An(Le)),_n&&(Hi(si,tn),Lr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",un),window.removeEventListener("paste",un),window.addEventListener("keydown",un),window.addEventListener("paste",un)),window.Monaco=Nn,Sn&&Un.onDidBlurEditorWidget(()=>{Sn(Un.getValue())}),ei&&Un.onDidFocusEditorText(()=>{_n&&di(),ei(Un.getValue())}),_n){di();try{Un.onDidPaste(Hr=>{const jn=Un.getSelection(),qi=Ii.current.pastePos||{},ao=new Nn.Range(qi.startLineNumber||jn.endLineNumber,qi.startColumn||jn.endColumn,qi.endLineNumber||jn.endLineNumber,qi.endColumn||jn.endColumn);Un.executeEdits("",[{range:Hr.range,text:""}])})}catch(Hr){}}let lr=Ie();return er&&typeof er=="string"&&new be(er,Un,Nn),On(!0),()=>{const Hr=Ii.current.instance;Hr.dispose();const jn=Hr.getModel();jn&&jn.dispose(),Ii.current.subscription&&Ii.current.subscription.dispose(),lr.unobserve(Lr.current)}}catch(Un){}})},[]),(0,ce.useEffect)(()=>{if(Ii.current.instance&&yr)return document.addEventListener("keydown",vi,!1),()=>{document.removeEventListener("keydown",vi)}},[ui,yr]),(0,ce.useEffect)(()=>{let sn=Ii.current.instance;if(sn&&yr){let Un=An(Le);Nn.editor.setModelLanguage(sn.getModel(),Un)}},[Le,yr]),(0,ce.useEffect)(()=>{Ii.current.instance&&yr&&Nn.editor.setTheme(bt)},[bt,yr]),(0,ce.useEffect)(()=>{let sn=Ii.current.instance;ar.current=dt,sn&&yr&&(sn.updateOptions(on({},dt)),setTimeout(()=>{sn.getModel().updateOptions(on({},dt))},200))},[JSON.stringify(dt),yr]),(0,ce.useEffect)(()=>{let sn=Ii.current.instance;sn&&yr&&sn.layout()},[jt,Je,yr]);const[Kt,bn]=(0,ce.useState)(ot(jt)),[Mi,Oi]=(0,ce.useState)(ot(Je)),bi=Bn(on({},Xe),{width:Kt,height:Mi,position:"relative"});return ce.createElement("div",{className:"my-monaco-editor",ref:Lr,style:bi},ni&&ce.createElement(at.CopyToClipboard,{text:Me,onCopy:()=>Oe.ZP.success("\u590D\u5236\u6210\u529F")},ce.createElement(Ke.Z,{title:"\u590D\u5236\u4EE3\u7801"},ce.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ce.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ot({width:$e="100%",height:Wt="100%",original:jt,modified:Je,language:Me,options:Le={}}){const Xe=(0,ce.useRef)(),[dt,je]=(0,ce.useState)(null);function bt(vn){let _n;return Xe.current&&(_n=new Ae.Z(rn=>{for(let oi of rn)(oi.target.offsetHeight>0||oi.target.offsetWidth>0)&&vn.layout()}),_n.observe(Xe.current)),_n}(0,ce.useEffect)(()=>(Xe.current&&Promise.all([ue.e(5552),ue.e(9404)]).then(ue.bind(ue,50048)).then(vn=>{Nn=vn;const _n=Nn.editor.createDiffEditor(Xe.current,Bn(on({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},Le),{wordWrap:!0}));je(_n);let rn=bt(_n);return()=>{_n.dispose();const oi=_n.getModel();oi&&oi.dispose(),rn.unobserve(Xe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ce.useEffect)(()=>{dt&&dt.setModel({original:Nn.editor.createModel(jt,Me),modified:Nn.editor.createModel(Je,Me)})},[jt,Je,Me,dt]);const Sn=ot($e),ni=ot(Wt),ui={width:Sn,height:ni};return ce.createElement("div",{className:"my-diff-editor",ref:Xe,style:ui})}},5476:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return xt}});var ce={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"},Ae=ue(74330),Fe=ue(83062),ke=ue(94184),Ye=ue.n(ke),Pe=ue(28706),Ue=ue(26194),tt=ue(52262),Ze=ue(67294),xt=({className:Qe,dataSource:Mt=[],col:De=4,right:te,bottom:ee=23,precision:de=0,wrapWidth:se=1200,trackEventItems:ge,loading:ve,onRemove:be=()=>{},isCurrent:we=!0,showAlias:Oe=!1})=>{const Ke=Math.floor((se-(De-1)*te)/De),qe=[{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 Ze.createElement(Ae.Z,{spinning:ve},Ze.createElement("div",{className:Ye()(ce.list,Qe)},!!(Mt!=null&&Mt.length)&&(Mt==null?void 0:Mt.map((lt,at)=>{var ft;const{name:pt,id:Nt,identifier:Xt,featured:Zt,school_name:yn,image_url:Ln,excellent:on,is_plan:Bn}=lt;return Ze.createElement("div",{key:Nt,className:ce.wrap,style:{width:Ke,marginRight:(1+at)%De===0?0:te+de,marginBottom:ee}},Ze.createElement("a",{className:ce.li,onClick:Et=>{Et.preventDefault(),Et.stopPropagation(),ge&&(0,Pe.L9)([ge]),(0,Pe.xg)(`/paths/${Xt}`)}},Ze.createElement("div",{className:ce.img},Ze.createElement("img",{className:ce.cover,src:`${Ln}`}),we&&(0,tt.bg)()&&(lt==null?void 0:lt.studying)&&Ze.createElement("div",{className:`${ce.movebq} user-path-items`,onClick:Et=>{Et.stopPropagation(),be(lt)}},Ze.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ze.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ft=lt==null?void 0:lt.subject_tags)==null?void 0:ft.map((Et,nt)=>{var ot,Jt;if(nt===0){const Gt=(ot=qe.find(An=>An.name==Et))==null?void 0:ot.swimg;return Ze.createElement("img",{className:ce.sign,src:Gt,style:{left:"-4px"}})}const In=(Jt=qe.find(Gt=>Gt.name==Et))==null?void 0:Jt.ptimg;return Ze.createElement("img",{className:ce.sign,src:In,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),Ze.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(lt==null?void 0:lt.excellent)&&Ze.createElement("div",{className:ce.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ze.createElement("div",{className:ce.name},Ze.createElement(Fe.Z,{title:Oe&&(lt!=null&<.excellent_alias_name)?Ze.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${pt}`,Ze.createElement("br",null),Ze.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${lt==null?void 0:lt.excellent_alias_name}`)):pt},Ze.createElement("span",{className:ce.e},Oe&&(lt==null?void 0:lt.excellent_alias_name)||pt))),Ze.createElement(Fe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${yn}`},Ze.createElement("div",{className:ce.unit},Ze.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),yn)),Ze.createElement("div",{className:ce.tags},Ze.createElement("div",null,Ze.createElement(Fe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ze.createElement("span",null,lt.stages_count))),Ze.createElement(Fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ze.createElement("span",null,lt.members_count)))))))})),!Mt.length&&Ze.createElement(Ue.Z,null)))}},30001:function(Re,xe,ue){"use strict";ue.d(xe,{jL:function(){return Ye},w9:function(){return ot},QD:function(){return Xi},cQ:function(){return Ln.Z},op:function(){return rn},O5:function(){return Kn},_b:function(){return Rr},t7:function(){return se},Gi:function(){return di},YG:function(){return An},qp:function(){return xt},vr:function(){return xr},qE:function(){return Ri},Je:function(){return be},wb:function(){return yn},cq:function(){return Je},tp:function(){return De}});var ce=ue(67294),Ae={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+ooMm7gBhSyhBBRIIBSAQlrHuT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1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ye=({dataSource:ri=[],img:fi,imgWidth:vi=346,title:Ni,sunTitle:hr,bannerExtraContent:un})=>ce.createElement("div",{className:Ae.banner},ce.createElement("div",{className:Ae.content},ce.createElement("aside",null,ce.createElement("p",null,ce.createElement("b",null,Ni),ce.createElement("span",null,hr)),ri.length>0&&ce.createElement("div",{className:Ae.btns},ri.map((hn,Kt)=>ce.createElement("div",{key:Kt,onClick:hn.click},hn.name,hn.sign?ce.createElement("img",{src:Fe,width:39}):null))),un),fi&&ce.createElement("img",{style:{marginTop:33,marginRight:38},src:fi,width:vi}))),Pe={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"},Ue=ue(94184),tt=ue.n(Ue),Ze=ue(96486),xt=({dataSource:ri=[],value:fi,onChange:vi,onTitleChange:Ni,className:hr,title:un,titleWidth:hn=41,style:Kt={},fontColor:bn="#6A7283",showCount:Mi})=>{const[Oi,bi]=(0,ce.useState)(0),[sn,Un]=(0,ce.useState)(!1),Wi=(0,ce.useRef)(null),ir=(0,ce.useRef)(null);return(0,ce.useEffect)(()=>{var si;ri.length!==0&&(((si=Wi==null?void 0:Wi.current)==null?void 0:si.clientHeight)>97?bi(1):bi(0)),ri.length===0&&bi(0),Un(!1)},[ri]),ce.createElement("div",{className:tt()(Pe.row,hr),style:Kt},ce.createElement("div",{onClick:(0,Ze.throttle)(()=>Ni==null?void 0:Ni(),2e3),style:{width:hn,marginTop:sn?12:4},className:`${Pe.title} ${Ni?"current":""}`},un),ce.createElement("div",{className:sn?`${Pe.tagsWrap} ${Pe.tagsBorderWrap}`:Pe.tagsWrap},ce.createElement("div",{className:Pe.bar,ref:ir,style:Oi>0?{height:Oi===1?97:"auto",overflow:Oi===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ce.createElement("div",{className:Pe.tag,ref:Wi},ri==null?void 0:ri.map(si=>ce.createElement("span",{onClick:()=>vi(si.id),key:si.id,style:{color:bn},className:fi===si.id?Pe.active:""},ce.createElement("span",{title:si.name,className:Pe.name},si.name),!!Mi&&ce.createElement("span",{className:Pe.num},si.count))))),!!Oi&&ce.createElement(ce.Fragment,null,Oi===1?ce.createElement("div",{onClick:()=>{var si;bi(2),((si=Wi==null?void 0:Wi.current)==null?void 0:si.clientHeight)>245?Un(!0):Un(!1)},className:Pe.action},"\u5C55\u5F00",ce.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ce.createElement("div",{onClick:()=>{ir.current.scrollTop=0,bi(1),Un(!1)},className:Pe.action},"\u6536\u8D77",ce.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Qe={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"},De=({dataSource:ri=[],value:fi,onChange:vi,className:Ni,style:hr={}})=>ce.createElement("div",{style:hr,className:tt()(Qe.tabs,Ni)},ri.map(un=>ce.createElement("span",{onClick:()=>vi(un.id),className:fi===un.id?Qe.active:"",key:un.id},un.name))),te={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"},ee=ue(28802),se=({dataSource:ri=[],value:fi="",onChange:vi,onInputChange:Ni=()=>{},className:hr,style:un={},placeholder:hn,allowClear:Kt=!1})=>{var bn;const[Mi,Oi]=(0,ce.useState)(""),[bi,sn]=(0,ce.useState)("");(0,ce.useEffect)(()=>{var ir;let si=fi;(ir=JSON.stringify(fi))!=null&&ir.includes("{")&&(Oi(fi.id),si=fi.value||"");try{sn(decodeURIComponent(si||""))}catch(tn){sn(decodeURIComponent(si||""))}},[fi]);const Un=()=>{vi(encodeURIComponent(bi),Mi||null)},Wi=ir=>{ir!==Mi&&(Oi(ir),vi(encodeURIComponent(bi),ir))};return ce.createElement("div",{className:tt()(te.input,hr),style:un},!!ri.length&&ce.createElement("div",{className:te.dropdown},ce.createElement("div",{className:te.text},(bn=ri.find(ir=>ir.id===Mi))==null?void 0:bn.name,ce.createElement("i",{className:"iconfont icon-zhankai4"}),ce.createElement("b",{className:te.b1}),ce.createElement("b",{className:te.b2})),ce.createElement("div",{className:te.menu},ri.map((ir,si)=>ce.createElement("div",{key:si,onClick:()=>Wi(ir.id)},ir.name)))),ce.createElement(ee.default,{onPressEnter:Un,value:bi,onChange:ir=>{sn(ir.target.value),Ni(encodeURIComponent(ir.target.value),Mi||null)},bordered:!1,placeholder:hn}),ce.createElement("i",{onClick:Un,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ge={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"},be=({value:ri,onChange:fi,className:vi,total:Ni,pageSize:hr,style:un={}})=>{const hn=ri<2,Kt=ri>=Math.ceil(Ni/hr);return Ni<=hr?ce.createElement(ce.Fragment,null):ce.createElement("div",{className:tt()(ge.quickPager,vi),style:un},ce.createElement("div",{onClick:()=>{hn||fi(ri-1,"prev")},className:hn?ge.disabled:""},"\u4E0A\u4E00\u9875"),ce.createElement("div",{onClick:()=>{Kt||fi(ri+1,"next")},className:Kt?ge.disabled:""},"\u4E0B\u4E00\u9875"))},we={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"},Oe=ue(74330),Ke=ue(83062),qe=ue(57097),lt=ue(11320),at=ue(28706),ft=ue(96908),pt=ue(57177),Nt=ue(81378),Xt=ue(26194),yn=({className:ri,dataSource:fi=[],col:vi=4,right:Ni,bottom:hr=23,precision:un=0,wrapWidth:hn=1200,trackEventItems:Kt,loading:bn})=>{const Mi=Math.floor((hn-(vi-1)*Ni)/vi);return ce.createElement(Oe.Z,{spinning:bn},ce.createElement("div",{className:tt()(we.list,ri)},!!fi.length&&fi.map((Oi,bi)=>{const{name:sn,id:Un,identifier:Wi,power:ir,cover_image_id:si,pic:tn}=Oi;return ce.createElement("div",{className:we.wrap,key:Un,style:{width:Mi,marginRight:(1+bi)%vi===0?0:Ni+un,marginBottom:hr}},ce.createElement("a",{target:"_blank",href:`/shixuns/${Wi}/challenges`,className:we.li,onClick:Hi=>{Hi.preventDefault(),Kt&&(0,at.L9)([Kt]),ir&&(0,at.xg)(`/shixuns/${Wi}/challenges`)}},ce.createElement("div",{className:we.img},ce.createElement("img",{className:we.cover,src:`${tn}`}),Oi.is_jupyter&&ce.createElement("img",{className:we.sign,src:ft}),Oi.is_jupyter_lab&&ce.createElement("img",{className:we.sign,src:pt}),Oi.is_unity_3d&&ce.createElement("img",{className:we.sign,src:Nt})),ce.createElement("div",{className:we.name},ce.createElement(Ke.Z,{title:sn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ce.createElement("span",{className:we.e},sn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ce.createElement("div",{className:we.tags},ce.createElement(Ke.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ce.createElement("span",null,Oi.challenges_count))),!!Oi.myshixuns_count&&ce.createElement(Ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ce.createElement("span",null,Oi.myshixuns_count))),ce.createElement(Ke.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ce.createElement("span",null,ce.createElement("span",null,Oi.level))),ce.createElement("div",{className:we.rate},ce.createElement(qe.Z,{allowHalf:!0,disabled:!0,defaultValue:Oi.score_info}),ce.createElement("span",null,"\xA0",Oi.score_info?`${Oi.score_info}\u5206`:"5\u5206")))),!ir&&ce.createElement("div",{className:we.lockWrap},ce.createElement("img",{src:`${lt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ce.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!fi.length&&ce.createElement(Xt.Z,null)))},Ln=ue(5476),on={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"},Bn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwM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ni,bottom:hr=23,precision:un=0,wrapWidth:hn=1200,trackEventItems:Kt,loading:bn,handleVery:Mi=()=>!0})=>{const Oi=Math.floor((hn-(vi-1)*Ni)/vi);return Et.createElement(Oe.Z,{spinning:bn},Et.createElement("div",{className:tt()(on.list,ri)},!!fi.length&&fi.map((bi,sn)=>{const{subject_identifier:Un,id:Wi,identifier:ir,power:si}=bi,tn=bi.is_public!=0&&bi.is_public;return Et.createElement("div",{className:on.wrap,key:Wi,style:{width:Oi,marginRight:(1+sn)%vi===0?0:Ni+un,marginBottom:hr}},Et.createElement("a",{className:on.li,onClick:Hi=>{Hi.preventDefault(),Mi(bi==null?void 0:bi.first_category_url)&&(Kt&&(0,at.L9)([Kt]),(0,at.xg)(bi.first_category_url))}},Et.createElement("div",{className:on.top},Et.createElement(Ke.Z,{title:bi.name},Et.createElement("div",{className:on.name},bi.name)),Et.createElement("img",{className:on.img,src:lt.Z.IMG_SERVER+"/images/"+bi.avatar_url}),Et.createElement("div",{className:on.text,title:bi.creator},bi.creator),Un&&Et.createElement("div",{className:on.btns},Et.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Et.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),tn&&Et.createElement("div",{className:on.sign},"\u516C\u5F00")),Et.createElement("div",{className:on.bottom},bi.visits>0&&Et.createElement(Ke.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-liulanyan"}),Et.createElement("span",null,bi.visits))),bi.course_members_count>0&&Et.createElement(Ke.Z,{title:"\u6210\u5458",placement:"bottom"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-chengyuan"}),bi.course_members_count)),bi.tasks_count>0&&Et.createElement(Ke.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Et.createElement("span",null,Et.createElement("i",{className:"iconfont icon-zuoye"}),bi.tasks_count)),bi.is_end?Et.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Et.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!bi.is_accessible&&Et.createElement("div",{className:on.lockWrap},Et.createElement("img",{src:`${lt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Et.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!fi.length&&Et.createElement(Xt.Z,null)))},Jt={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"},In=ue(35973),An=({dataSource:ri=[],value:fi,onChange:vi,className:Ni,style:hr={},tabBarExtraContent:un})=>ce.createElement("div",{className:tt()(Jt.tabs,Ni),style:hr},ce.createElement("div",{className:Jt.tabsWrap},ri.map((hn,Kt)=>!(hn!=null&&hn.hide)&&ce.createElement("aside",{className:Jt.tab,onClick:()=>{vi(hn.id),hn.link&&In.history.push(hn.link)},key:Kt},ce.createElement("div",{className:fi===hn.id?Jt.active:""},hn.name),(hn==null?void 0:hn.resetCount)==null&&(hn==null?void 0:hn.total)!==void 0&&ce.createElement("span",null,"\uFF08",hn==null?void 0:hn.total,"\uFF09"),(hn==null?void 0:hn.resetCount)!==void 0&&(hn==null?void 0:hn.total)!==void 0&&ce.createElement(Ke.Z,{title:(hn==null?void 0:hn.tip)!=null?hn==null?void 0:hn.tip:""},ce.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ce.createElement("span",{style:{color:"#000"}},hn==null?void 0:hn.resetCount),"/",ce.createElement("span",null,hn==null?void 0:hn.total),"\uFF09"))))),ce.createElement("div",{className:Jt.tabBar},un)),di=({className:ri,style:fi={},children:vi})=>ce.createElement("div",{className:tt()(ri),style:fi},vi),At={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"},Ot=ue(85418),$e=ue(50136);const Wt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Je=({sortValue:ri,dropValue:fi,className:vi,onSort:Ni,onDrop:hr,dataSource:un=Wt})=>{var hn;return ce.createElement("div",{className:tt()(At.orderWrap,vi)},ce.createElement(Ot.Z,{dropdownRender:()=>ce.createElement($e.default,null,un.map((Kt,bn)=>ce.createElement($e.default.Item,{key:bn,onClick:()=>hr(Kt.id)},Kt.name)))},ce.createElement("span",{className:At.orderTextWrap},(hn=un.find(Kt=>fi===Kt.id))==null?void 0:hn.name)),ce.createElement("span",{className:At.orderIconWrap},ce.createElement("span",{className:At.orderAsc},ce.createElement("i",{className:ri==="asc"?`iconfont icon-sanjiaoxing-up font12 ${At.cursorPointer} ${At.active}`:`iconfont icon-sanjiaoxing-up font12 ${At.cursorPointer}`,onClick:()=>Ni(ri==="asc"?"desc":"asc")})),ce.createElement("span",{className:At.orderDesc},ce.createElement("i",{className:ri==="desc"?`iconfont icon-sanjiaoxing-down font12 ${At.cursorPointer} ${At.active}`:`iconfont icon-sanjiaoxing-down font12 ${At.cursorPointer}`,onClick:()=>Ni(ri==="asc"?"desc":"asc")}))))},Me={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"},Le=ue(85804),Xe=Object.defineProperty,dt=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Sn=(ri,fi,vi)=>fi in ri?Xe(ri,fi,{enumerable:!0,configurable:!0,writable:!0,value:vi}):ri[fi]=vi,ni=(ri,fi)=>{for(var vi in fi||(fi={}))je.call(fi,vi)&&Sn(ri,vi,fi[vi]);if(dt)for(var vi of dt(fi))bt.call(fi,vi)&&Sn(ri,vi,fi[vi]);return ri},ui=(ri,fi)=>{var vi={};for(var Ni in ri)je.call(ri,Ni)&&fi.indexOf(Ni)<0&&(vi[Ni]=ri[Ni]);if(ri!=null&&dt)for(var Ni of dt(ri))fi.indexOf(Ni)<0&&bt.call(ri,Ni)&&(vi[Ni]=ri[Ni]);return vi},vn=(ri,fi,vi)=>new Promise((Ni,hr)=>{var un=bn=>{try{Kt(vi.next(bn))}catch(Mi){hr(Mi)}},hn=bn=>{try{Kt(vi.throw(bn))}catch(Mi){hr(Mi)}},Kt=bn=>bn.done?Ni(bn.value):Promise.resolve(bn.value).then(un,hn);Kt((vi=vi.apply(ri,fi)).next())}),rn=ri=>{var fi=ri,{className:vi,style:Ni,children:hr,loading:un=!1,openLoading:hn,onClick:Kt=()=>{},size:bn="middle",shape:Mi="round"}=fi,Oi=ui(fi,["className","style","children","loading","openLoading","onClick","size","shape"]);const[bi,sn]=(0,ce.useState)(!1);return ce.createElement(Le.ZP,ni({onClick:(0,Ze.throttle)(Un=>vn(void 0,null,function*(){hn&&sn(!0);try{yield Kt(Un)}catch(Wi){console.log("error",Wi)}hn&&sn(!1)}),2e3,{leading:!0,trailing:!1}),className:tt()(Me.btn,Me[`${bn}-${Mi}`],vi),style:Ni,size:bn,shape:Mi,loading:bi||un},Oi),hr)},oi={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"},Ri=({className:ri,style:fi,children:vi=null,onClick:Ni,title:hr})=>ce.createElement("div",{className:tt()(oi.head,ri),style:fi},ce.createElement("span",{className:"primary-hover",onClick:Ni},ce.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ce.createElement("b",{title:hr},hr),ce.createElement("div",{className:oi.node},vi)),cn={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"},Xi=({confirmShow:ri=!0,confirmTitle:fi,confirmClick:vi,cancelShow:Ni=!0,cancelTitle:hr,cancelClick:un,className:hn,style:Kt,confirmLoading:bn=!1})=>ce.createElement("div",{className:tt()(cn.btns,hn),style:Kt},ri&&ce.createElement(Le.ZP,{loading:bn,onClick:vi,type:"primary",className:cn.confirm},fi),Ni&&ce.createElement(Le.ZP,{onClick:un,className:cn.cancel},hr)),$t={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"},xr=({className:ri,style:fi={},LeftContent:vi,children:Ni,RightContent:hr})=>ce.createElement("div",{className:tt()($t.fixedBottom,ri),style:fi},ce.createElement("div",{className:$t.wrap},ce.createElement("div",{className:$t.left},vi),ce.createElement("div",{className:$t.center},Ni),ce.createElement("div",{className:$t.right},hr))),er={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"},Rr=({className:ri,style:fi={},dataSource:vi=[]})=>ce.createElement("div",{className:tt()(er.crumbs,ri),style:fi},vi.map((Ni,hr)=>hr<vi.length-1?ce.createElement(ce.Fragment,{key:hr},Ni.path||Ni.onClick?ce.createElement("span",{className:er.hover,onClick:Ni!=null&&Ni.onClick?Ni.onClick:()=>In.history.push(Ni.path)},Ni.name):ce.createElement("span",null,Ni.name),ce.createElement("span",null,"\xA0",">","\xA0")):ce.createElement("span",{key:hr,style:{color:"#5F6368"}},Ni.name))),Lr=ue(55054),Ii=Object.defineProperty,ar=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,dr=(ri,fi,vi)=>fi in ri?Ii(ri,fi,{enumerable:!0,configurable:!0,writable:!0,value:vi}):ri[fi]=vi,xo=(ri,fi)=>{for(var vi in fi||(fi={}))Wr.call(fi,vi)&&dr(ri,vi,fi[vi]);if(Qt)for(var vi of Qt(fi))oo.call(fi,vi)&&dr(ri,vi,fi[vi]);return ri},yr=(ri,fi)=>ar(ri,hi(fi)),On=(ri,fi)=>{var vi={};for(var Ni in ri)Wr.call(ri,Ni)&&fi.indexOf(Ni)<0&&(vi[Ni]=ri[Ni]);if(ri!=null&&Qt)for(var Ni of Qt(ri))fi.indexOf(Ni)<0&&oo.call(ri,Ni)&&(vi[Ni]=ri[Ni]);return vi};const{Countdown:Ie}=Lr.default;var Kn=ri=>{var fi=ri,{onChange:vi}=fi,Ni=On(fi,["onChange"]);const[hr,un]=(0,ce.useState)(null);(0,ce.useEffect)(()=>{typeof hr=="number"&&hr>=0&&vi(hr)},[hr]);const hn=Kt=>{const bn=Math.floor(Kt/1e3);un(bn)};return ce.createElement(Ie,yr(xo({},Ni),{onChange:hn}))}},99914:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Ae}});var ce=ue(67294);function Ae(Fe,ke){const Ye=(0,ce.useRef)();(0,ce.useEffect)(()=>{Ye.current=Fe}),(0,ce.useEffect)(()=>{function Pe(){Ye.current()}if(ke!==null){let Ue=setInterval(Pe,ke);return()=>clearInterval(Ue)}},[ke])}},25741:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Ye}});var ce=ue(67294),Ae=ue(74330),Fe={loading:"loading___lueiN"},Ye=({loading:Pe})=>Pe?ce.createElement("div",{className:Fe.loading},ce.createElement(Ae.Z,null)):ce.createElement(ce.Fragment,null)},31635:function(Re,xe,ue){"use strict";var ce=ue(67294),Ae=ue(62844),Fe=ue(57399),ke=ue(33170),Ye=ue(26194),Pe=ue(94699),Ue=ue.n(Pe),tt=ue(35567),Ze=Object.defineProperty,rt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Mt=(de,se,ge)=>se in de?Ze(de,se,{enumerable:!0,configurable:!0,writable:!0,value:ge}):de[se]=ge,De=(de,se)=>{for(var ge in se||(se={}))xt.call(se,ge)&&Mt(de,ge,se[ge]);if(rt)for(var ge of rt(se))Qe.call(se,ge)&&Mt(de,ge,se[ge]);return de},te=(de,se,ge)=>new Promise((ve,be)=>{var we=qe=>{try{Ke(ge.next(qe))}catch(lt){be(lt)}},Oe=qe=>{try{Ke(ge.throw(qe))}catch(lt){be(lt)}},Ke=qe=>qe.done?ve(qe.value):Promise.resolve(qe.value).then(we,Oe);Ke((ge=ge.apply(de,se)).next())});const ee=({visible:de,identifier:se,challenge_id:ge,onCancle:ve,onOK:be})=>{const[we,Oe]=(0,ce.useState)(0),[Ke,qe]=(0,ce.useState)([]),[lt,at]=(0,ce.useState)(!1),[ft,pt]=(0,ce.useState)({page:1,limit:10}),Nt=()=>te(void 0,null,function*(){var Xt,Zt;at(!0);const yn=yield(0,ke.ZP)(`/api/shixuns/${se}/challenges/${ge}/task_pass_histories.json`,{method:"get",params:De({},ft)});(yn==null?void 0:yn.status)===0&&(Oe((Xt=yn==null?void 0:yn.data)==null?void 0:Xt.size),qe(((Zt=yn==null?void 0:yn.data)==null?void 0:Zt.list)||[])),at(!1)});return(0,ce.useEffect)(()=>{de&&Nt()},[de]),ce.createElement(Ae.default,{centered:!0,destroyOnClose:!0,open:de,title:"\u7248\u672C\u7BA1\u7406",footer:null,width:620,onCancel:()=>{ft.page=1,ft.limit=10,pt(De({},ft)),ve()}},ce.createElement(Fe.default,{scroll:{y:47*10},loading:lt,dataSource:Ke,locale:{emptyText:ce.createElement(Ye.Z,null)},columns:[{title:"\u7248\u672C\u4FDD\u5B58\u65F6\u95F4",dataIndex:"updated_at",ellipsis:!0,render:(Xt,Zt,yn)=>Ue()(Xt).format("YYYY-MM-DD hh:mm:ss")},{title:"\u4FDD\u5B58\u4EBA",dataIndex:"user_name",width:110,ellipsis:!0,render:Xt=>Xt},{title:"\u64CD\u4F5C",dataIndex:"task_pass",align:"right",render(Xt,Zt,yn){return ce.createElement("div",null,ce.createElement("a",{onClick:()=>{Ae.default.confirm({icon:null,width:800,centered:!0,closable:!0,title:"\u4EFB\u52A1\u8981\u6C42\u8BE6\u60C5",content:ce.createElement("div",{className:"mb10"},ce.createElement(tt.Z,{key:ge||"3",watch:!0,defaultValue:Zt==null?void 0:Zt.task_pass})),footer:null})}},"\u67E5\u770B"),ce.createElement("a",{onClick:()=>te(this,null,function*(){Ae.default.confirm({icon:null,width:500,centered:!0,closable:!0,title:"\u7248\u672C\u5207\u6362\u786E\u8BA4",content:ce.createElement("div",null,ce.createElement("div",null,"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u4EFB\u52A1\u8981\u6C42\u5185\u5BB9\u5207\u6362\u81F3 ",Ue()(Zt==null?void 0:Zt.updated_at).format("YYYY-MM-DD hh:mm:ss")," \u7248\u672C\uFF1F"),ce.createElement("div",null,"\u7248\u672C\u5207\u6362\u4F1A\u5C06\u5F53\u524D\u4EFB\u52A1\u8981\u6C42\u5185\u5BB9\u5B8C\u5168\u8986\u76D6\uFF0C\u5EFA\u8BAE\u5C06\u6700\u65B0\u4EFB\u52A1\u8981\u6C42\u5185\u5BB9\u4FDD\u5B58\u540E\uFF0C\u518D\u8FDB\u884C\u5207\u6362\u3002")),okText:"\u786E\u8BA4\u5207\u6362",cancelText:"\u53D6\u6D88",onOk:()=>te(this,null,function*(){yield be(Zt==null?void 0:Zt.task_pass),ve()})})}),className:"ml20"},"\u5207\u6362\u81F3\u8BE5\u7248\u672C"))}}],onChange:Xt=>{ft.page=Xt==null?void 0:Xt.current,ft.limit=Xt==null?void 0:Xt.pageSize,Nt(),pt(De({},ft))},pagination:{pageSize:ft.limit,total:we,current:ft.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!0,showTotal:Xt=>ce.createElement("span",{className:"mr10"},"\u5171",ce.createElement("span",{className:"c-orange"},Xt),"\u6761\u6570\u636E")}}))};xe.Z=ee},85909:function(Re,xe,ue){"use strict";ue.d(xe,{S:function(){return Pe},m:function(){return Ue}});var ce=ue(28706),Ae=ue(2453),Fe=ue(62844),ke=ue(67294),Ye=(tt,Ze,rt)=>new Promise((xt,Qe)=>{var Mt=ee=>{try{te(rt.next(ee))}catch(de){Qe(de)}},De=ee=>{try{te(rt.throw(ee))}catch(de){Qe(de)}},te=ee=>ee.done?xt(ee.value):Promise.resolve(ee.value).then(Mt,De);te((rt=rt.apply(tt,Ze)).next())});const Pe=tt=>{let Ze=document.createElement("textarea");return Ze.value=tt,Ze.value},Ue=(tt,Ze,rt,xt,Qe)=>Ye(void 0,null,function*(){var Mt,De;const te=yield tt({type:"shixunsDetail/saveCopyForExercise",payload:{id:rt,save_type:xt}});xt===1?((te==null?void 0:te.status)==0&&Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Mt=te==null?void 0:te.data)!=null&&Mt.exists_same_shixun_name?tt({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(De=te==null?void 0:te.data)==null?void 0:De.shixun_name}}):tt({type:"classroomList/setActionTabs",payload:{}})):(tt({type:"classroomList/setActionTabs",payload:{}}),(te==null?void 0:te.status)===0&&Fe.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:ke.createElement("div",null,ke.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var ee,de;(0,ce.xg)(`/shixuns/${(de=(ee=Ze==null?void 0:Ze.detail)==null?void 0:ee.fork_from)==null?void 0:de.fork_identifier}/challenges`)}}))})},51161:function(Re,xe,ue){"use strict";ue.d(xe,{AL:function(){return be},Iy:function(){return xt},Qv:function(){return De},ez:function(){return ve},jb:function(){return Qe}});var ce=ue(47084),Ae=ue.n(ce),Fe=ue(90621),ke=ue.n(Fe);let Ye=1;function Pe(lt,at){const ft=lt.match(/^(\s+)(?:```)/);if(ft===null)return at;const pt=ft[1];return at.split(`
|
|
|
`).map(Nt=>{const Xt=Nt.match(/^\s+/);if(Xt===null)return Nt;const[Zt]=Xt;return Zt.length>=pt.length?Nt.slice(pt.length):Nt}).join(`
|
|
|
`)}let Ue=[],tt=["<ul>"];const Ze=new(Ae()).Renderer,rt=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function xt(){Ue.length=0,tt=["<ul>"]}const Qe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Mt(lt,at,ft,pt){if(at>=lt.length||lt[at].level<=ft)return at;var Nt=lt[at];pt.push("<li><a href='#"+Ye+Nt.anchor+"'>"+Nt.text+"</a>"),at++;var Xt=[];return at=Mt(lt,at,Nt.level,Xt),Xt.length>0&&(pt.push("<ul>"),Xt.forEach(function(Zt){pt.push(Zt)}),pt.push("</ul>")),pt.push("</li>"),at=Mt(lt,at,ft,pt),at}function De(){return Mt(Ue,0,0,tt),tt.push("</ul>"),tt.join("")}const te={heading(lt){const at=rt.exec(lt);if(Ye+=1,at)return{type:"heading",raw:at[0],depth:at[1].length,text:at[2]}},fences(lt){const at=this.rules.block.fences.exec(lt);if(at){const ft=at[0];let pt=Pe(ft,at[3]||"");const Nt=at[2]?at[2].trim():at[2];if(["latex","katex","math"].indexOf(Nt)>=0){const Xt=se(),Zt=pt;pt=Xt,ge[Xt]={type:"block",expression:Zt}}return{type:"code",raw:ft,lang:Nt,text:pt}}}},ee=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let de=0;const se=()=>`__special_katext_id_${de++}__`;let ge={};function ve(){return ge}function be(){de=0,ge={}}function we(lt){return lt=lt.replace(ee,(at,ft)=>{const pt=se();return ge[pt]={type:"inline",expression:ft},pt}),lt}const Oe=Ze.listitem;Ze.listitem=function(lt){return Oe(we(lt))};const Ke=Ze.paragraph;Ze.paragraph=function(lt){return Ke(we(lt))};const qe=Ze.tablecell;Ze.tablecell=function(lt,at){return qe(we(lt),at)},Ze.code=function(lt,at,ft){const pt=(at||"").match(/\S*/)[0];return pt?["latex","katex","math"].indexOf(pt)>=0?`<p class='editormd-tex'>${lt}</p>`:`<pre class="prettyprint linenums"><code class="language-${at}">${ft?lt:(0,Fe.escape)(lt,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ft?lt:(0,Fe.escape)(lt,!0))+"</code></pre>"},Ze.heading=function(lt,at,ft){let pt=this.options.headerPrefix+ft.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ue.push({anchor:pt,level:at,text:lt}),"<h"+at+' id="'+Ye+pt+'">'+lt+"</h"+at+">"},Ae().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ae().use({tokenizer:te,renderer:Ze}),xe.ZP=Ae()},88386:function(Re,xe,ue){(function(ce){ce(ue(4631))})(function(ce){ce.defineOption("placeholder","",function(tt,Ze,rt){var xt=rt&&rt!=ce.Init;if(Ze&&!xt)tt.on("blur",Ye),tt.on("change",Pe),tt.on("swapDoc",Pe),ce.on(tt.getInputField(),"compositionupdate",tt.state.placeholderCompose=function(){ke(tt)}),Pe(tt);else if(!Ze&&xt){tt.off("blur",Ye),tt.off("change",Pe),tt.off("swapDoc",Pe),ce.off(tt.getInputField(),"compositionupdate",tt.state.placeholderCompose),Ae(tt);var Qe=tt.getWrapperElement();Qe.className=Qe.className.replace(" CodeMirror-empty","")}Ze&&!tt.hasFocus()&&Ye(tt)});function Ae(tt){tt.state.placeholder&&(tt.state.placeholder.parentNode.removeChild(tt.state.placeholder),tt.state.placeholder=null)}function Fe(tt){Ae(tt);var Ze=tt.state.placeholder=document.createElement("pre");Ze.style.cssText="height: 0; overflow: visible",Ze.style.direction=tt.getOption("direction"),Ze.className="CodeMirror-placeholder CodeMirror-line-like";var rt=tt.getOption("placeholder");typeof rt=="string"&&(rt=document.createTextNode(rt)),Ze.appendChild(rt),tt.display.lineSpace.insertBefore(Ze,tt.display.lineSpace.firstChild)}function ke(tt){setTimeout(function(){var Ze=!1,rt=tt.getInputField();rt.nodeName=="TEXTAREA"?Ze=!rt.value:tt.lineCount()==1&&(Ze=!/[^\u200b]/.test(rt.querySelector(".CodeMirror-line").textContent)),Ze?Fe(tt):Ae(tt)},20)}function Ye(tt){Ue(tt)&&Fe(tt)}function Pe(tt){var Ze=tt.getWrapperElement(),rt=Ue(tt);Ze.className=Ze.className.replace(" CodeMirror-empty","")+(rt?" CodeMirror-empty":""),rt?Fe(tt):Ae(tt)}function Ue(tt){return tt.lineCount()===1&&tt.getLine(0)===""}})},82801:function(Re,xe,ue){(function(ce){ce(ue(4631))})(function(ce){var Ae={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Fe=ce.Pos;ce.defineOption("autoCloseBrackets",!1,function(te,ee,de){de&&de!=ce.Init&&(te.removeKeyMap(Ye),te.state.closeBrackets=null),ee&&(Pe(ke(ee,"pairs")),te.state.closeBrackets=ee,te.addKeyMap(Ye))});function ke(te,ee){return ee=="pairs"&&typeof te=="string"?te:typeof te=="object"&&te[ee]!=null?te[ee]:Ae[ee]}var Ye={Backspace:Ze,Enter:rt};function Pe(te){for(var ee=0;ee<te.length;ee++){var de=te.charAt(ee),se="'"+de+"'";Ye[se]||(Ye[se]=Ue(de))}}Pe(Ae.pairs+"`");function Ue(te){return function(ee){return Qe(ee,te)}}function tt(te){var ee=te.state.closeBrackets;if(!ee||ee.override)return ee;var de=te.getModeAt(te.getCursor());return de.closeBrackets||ee}function Ze(te){var ee=tt(te);if(!ee||te.getOption("disableInput"))return ce.Pass;for(var de=ke(ee,"pairs"),se=te.listSelections(),ge=0;ge<se.length;ge++){if(!se[ge].empty())return ce.Pass;var ve=Mt(te,se[ge].head);if(!ve||de.indexOf(ve)%2!=0)return ce.Pass}for(var ge=se.length-1;ge>=0;ge--){var be=se[ge].head;te.replaceRange("",Fe(be.line,be.ch-1),Fe(be.line,be.ch+1),"+delete")}}function rt(te){var ee=tt(te),de=ee&&ke(ee,"explode");if(!de||te.getOption("disableInput"))return ce.Pass;for(var se=te.listSelections(),ge=0;ge<se.length;ge++){if(!se[ge].empty())return ce.Pass;var ve=Mt(te,se[ge].head);if(!ve||de.indexOf(ve)%2!=0)return ce.Pass}te.operation(function(){var be=te.lineSeparator()||`
|
|
|
`;te.replaceSelection(be+be,null),te.execCommand("goCharLeft"),se=te.listSelections();for(var we=0;we<se.length;we++){var Oe=se[we].head.line;te.indentLine(Oe,null,!0),te.indentLine(Oe+1,null,!0)}})}function xt(te){var ee=ce.cmpPos(te.anchor,te.head)>0;return{anchor:new Fe(te.anchor.line,te.anchor.ch+(ee?-1:1)),head:new Fe(te.head.line,te.head.ch+(ee?1:-1))}}function Qe(te,ee){var de=tt(te);if(!de||te.getOption("disableInput"))return ce.Pass;var se=ke(de,"pairs"),ge=se.indexOf(ee);if(ge==-1)return ce.Pass;for(var ve=ke(de,"closeBefore"),be=ke(de,"triples"),we=se.charAt(ge+1)==ee,Oe=te.listSelections(),Ke=ge%2==0,qe,lt=0;lt<Oe.length;lt++){var at=Oe[lt],ft=at.head,pt,Nt=te.getRange(ft,Fe(ft.line,ft.ch+1));if(Ke&&!at.empty())pt="surround";else if((we||!Ke)&&Nt==ee)we&&De(te,ft)?pt="both":be.indexOf(ee)>=0&&te.getRange(ft,Fe(ft.line,ft.ch+3))==ee+ee+ee?pt="skipThree":pt="skip";else if(we&&ft.ch>1&&be.indexOf(ee)>=0&&te.getRange(Fe(ft.line,ft.ch-2),ft)==ee+ee){if(ft.ch>2&&/\bstring/.test(te.getTokenTypeAt(Fe(ft.line,ft.ch-2))))return ce.Pass;pt="addFour"}else if(we){var Xt=ft.ch==0?" ":te.getRange(Fe(ft.line,ft.ch-1),ft);if(!ce.isWordChar(Nt)&&Xt!=ee&&!ce.isWordChar(Xt))pt="both";else return ce.Pass}else if(Ke&&(Nt.length===0||/\s/.test(Nt)||ve.indexOf(Nt)>-1))pt="both";else return ce.Pass;if(!qe)qe=pt;else if(qe!=pt)return ce.Pass}var Zt=ge%2?se.charAt(ge-1):ee,yn=ge%2?ee:se.charAt(ge+1);te.operation(function(){if(qe=="skip")te.execCommand("goCharRight");else if(qe=="skipThree")for(var Ln=0;Ln<3;Ln++)te.execCommand("goCharRight");else if(qe=="surround"){for(var on=te.getSelections(),Ln=0;Ln<on.length;Ln++)on[Ln]=Zt+on[Ln]+yn;te.replaceSelections(on,"around"),on=te.listSelections().slice();for(var Ln=0;Ln<on.length;Ln++)on[Ln]=xt(on[Ln]);te.setSelections(on)}else qe=="both"?(te.replaceSelection(Zt+yn,null),te.triggerElectric(Zt+yn),te.execCommand("goCharLeft")):qe=="addFour"&&(te.replaceSelection(Zt+Zt+Zt+Zt,"before"),te.execCommand("goCharRight"))})}function Mt(te,ee){var de=te.getRange(Fe(ee.line,ee.ch-1),Fe(ee.line,ee.ch+1));return de.length==2?de:null}function De(te,ee){var de=te.getTokenAt(Fe(ee.line,ee.ch+1));return/\bstring/.test(de.type)&&de.start==ee.ch&&(ee.ch==0||!/\bstring/.test(te.getTokenTypeAt(ee)))}})},57341:function(Re,xe,ue){(function(ce){ce(ue(4631),ue(4786))})(function(ce){ce.defineOption("autoCloseTags",!1,function(Ze,rt,xt){if(xt!=ce.Init&&xt&&Ze.removeKeyMap("autoCloseTags"),!!rt){var Qe={name:"autoCloseTags"};(typeof rt!="object"||rt.whenClosing!==!1)&&(Qe["'/'"]=function(Mt){return Pe(Mt)}),(typeof rt!="object"||rt.whenOpening!==!1)&&(Qe["'>'"]=function(Mt){return ke(Mt)}),Ze.addKeyMap(Qe)}});var Ae=["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 ke(Ze){if(Ze.getOption("disableInput"))return ce.Pass;for(var rt=Ze.listSelections(),xt=[],Qe=Ze.getOption("autoCloseTags"),Mt=0;Mt<rt.length;Mt++){if(!rt[Mt].empty())return ce.Pass;var De=rt[Mt].head,te=Ze.getTokenAt(De),ee=ce.innerMode(Ze.getMode(),te.state),de=ee.state,se=ee.mode.xmlCurrentTag&&ee.mode.xmlCurrentTag(de),ge=se&&se.name;if(!ge)return ce.Pass;var ve=ee.mode.configuration=="html",be=typeof Qe=="object"&&Qe.dontCloseTags||ve&&Ae,we=typeof Qe=="object"&&Qe.indentTags||ve&&Fe;te.end>De.ch&&(ge=ge.slice(0,ge.length-te.end+De.ch));var Oe=ge.toLowerCase();if(!ge||te.type=="string"&&(te.end!=De.ch||!/[\"\']/.test(te.string.charAt(te.string.length-1))||te.string.length==1)||te.type=="tag"&&se.close||te.string.indexOf("/")==De.ch-te.start-1||be&&Ue(be,Oe)>-1||tt(Ze,ee.mode.xmlCurrentContext&&ee.mode.xmlCurrentContext(de)||[],ge,De,!0))return ce.Pass;var Ke=typeof Qe=="object"&&Qe.emptyTags;if(Ke&&Ue(Ke,ge)>-1){xt[Mt]={text:"/>",newPos:ce.Pos(De.line,De.ch+2)};continue}var qe=we&&Ue(we,Oe)>-1;xt[Mt]={indent:qe,text:">"+(qe?`
|
|
|
|
|
|
`:"")+"</"+ge+">",newPos:qe?ce.Pos(De.line+1,0):ce.Pos(De.line,De.ch+1)}}for(var lt=typeof Qe=="object"&&Qe.dontIndentOnAutoClose,Mt=rt.length-1;Mt>=0;Mt--){var at=xt[Mt];Ze.replaceRange(at.text,rt[Mt].head,rt[Mt].anchor,"+insert");var ft=Ze.listSelections().slice(0);ft[Mt]={head:at.newPos,anchor:at.newPos},Ze.setSelections(ft),!lt&&at.indent&&(Ze.indentLine(at.newPos.line,null,!0),Ze.indentLine(at.newPos.line+1,null,!0))}}function Ye(Ze,rt){for(var xt=Ze.listSelections(),Qe=[],Mt=rt?"/":"</",De=Ze.getOption("autoCloseTags"),te=typeof De=="object"&&De.dontIndentOnSlash,ee=0;ee<xt.length;ee++){if(!xt[ee].empty())return ce.Pass;var de=xt[ee].head,se=Ze.getTokenAt(de),ge=ce.innerMode(Ze.getMode(),se.state),ve=ge.state;if(rt&&(se.type=="string"||se.string.charAt(0)!="<"||se.start!=de.ch-1))return ce.Pass;var be,we=ge.mode.name!="xml"&&Ze.getMode().name=="htmlmixed";if(we&&ge.mode.name=="javascript")be=Mt+"script";else if(we&&ge.mode.name=="css")be=Mt+"style";else{var Oe=ge.mode.xmlCurrentContext&&ge.mode.xmlCurrentContext(ve);if(!Oe||Oe.length&&tt(Ze,Oe,Oe[Oe.length-1],de))return ce.Pass;be=Mt+Oe[Oe.length-1]}Ze.getLine(de.line).charAt(se.end)!=">"&&(be+=">"),Qe[ee]=be}if(Ze.replaceSelections(Qe),xt=Ze.listSelections(),!te)for(var ee=0;ee<xt.length;ee++)(ee==xt.length-1||xt[ee].head.line<xt[ee+1].head.line)&&Ze.indentLine(xt[ee].head.line)}function Pe(Ze){return Ze.getOption("disableInput")?ce.Pass:Ye(Ze,!0)}ce.commands.closeTag=function(Ze){return Ye(Ze)};function Ue(Ze,rt){if(Ze.indexOf)return Ze.indexOf(rt);for(var xt=0,Qe=Ze.length;xt<Qe;++xt)if(Ze[xt]==rt)return xt;return-1}function tt(Ze,rt,xt,Qe,Mt){if(!ce.scanForClosingTag)return!1;var De=Math.min(Ze.lastLine()+1,Qe.line+500),te=ce.scanForClosingTag(Ze,Qe,null,De);if(!te||te.tag!=xt)return!1;for(var ee=Mt?1:0,de=rt.length-1;de>=0&&rt[de]==xt;de--)++ee;Qe=te.to;for(var de=1;de<ee;de++){var se=ce.scanForClosingTag(Ze,Qe,null,De);if(!se||se.tag!=xt)return!1;Qe=se.to}return!0}})},4786:function(Re,xe,ue){(function(ce){ce(ue(4631))})(function(ce){"use strict";var Ae=ce.Pos;function Fe(de,se){return de.line-se.line||de.ch-se.ch}var ke="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ye=ke+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Pe=new RegExp("<(/?)(["+ke+"]["+Ye+"]*)","g");function Ue(de,se,ge,ve){this.line=se,this.ch=ge,this.cm=de,this.text=de.getLine(se),this.min=ve?Math.max(ve.from,de.firstLine()):de.firstLine(),this.max=ve?Math.min(ve.to-1,de.lastLine()):de.lastLine()}function tt(de,se){var ge=de.cm.getTokenTypeAt(Ae(de.line,se));return ge&&/\btag\b/.test(ge)}function Ze(de){if(!(de.line>=de.max))return de.ch=0,de.text=de.cm.getLine(++de.line),!0}function rt(de){if(!(de.line<=de.min))return de.text=de.cm.getLine(--de.line),de.ch=de.text.length,!0}function xt(de){for(;;){var se=de.text.indexOf(">",de.ch);if(se==-1){if(Ze(de))continue;return}if(!tt(de,se+1)){de.ch=se+1;continue}var ge=de.text.lastIndexOf("/",se),ve=ge>-1&&!/\S/.test(de.text.slice(ge+1,se));return de.ch=se+1,ve?"selfClose":"regular"}}function Qe(de){for(;;){var se=de.ch?de.text.lastIndexOf("<",de.ch-1):-1;if(se==-1){if(rt(de))continue;return}if(!tt(de,se+1)){de.ch=se;continue}Pe.lastIndex=se,de.ch=se;var ge=Pe.exec(de.text);if(ge&&ge.index==se)return ge}}function Mt(de){for(;;){Pe.lastIndex=de.ch;var se=Pe.exec(de.text);if(!se){if(Ze(de))continue;return}if(!tt(de,se.index+1)){de.ch=se.index+1;continue}return de.ch=se.index+se[0].length,se}}function De(de){for(;;){var se=de.ch?de.text.lastIndexOf(">",de.ch-1):-1;if(se==-1){if(rt(de))continue;return}if(!tt(de,se+1)){de.ch=se;continue}var ge=de.text.lastIndexOf("/",se),ve=ge>-1&&!/\S/.test(de.text.slice(ge+1,se));return de.ch=se+1,ve?"selfClose":"regular"}}function te(de,se){for(var ge=[];;){var ve=Mt(de),be,we=de.line,Oe=de.ch-(ve?ve[0].length:0);if(!ve||!(be=xt(de)))return;if(be!="selfClose")if(ve[1]){for(var Ke=ge.length-1;Ke>=0;--Ke)if(ge[Ke]==ve[2]){ge.length=Ke;break}if(Ke<0&&(!se||se==ve[2]))return{tag:ve[2],from:Ae(we,Oe),to:Ae(de.line,de.ch)}}else ge.push(ve[2])}}function ee(de,se){for(var ge=[];;){var ve=De(de);if(!ve)return;if(ve=="selfClose"){Qe(de);continue}var be=de.line,we=de.ch,Oe=Qe(de);if(!Oe)return;if(Oe[1])ge.push(Oe[2]);else{for(var Ke=ge.length-1;Ke>=0;--Ke)if(ge[Ke]==Oe[2]){ge.length=Ke;break}if(Ke<0&&(!se||se==Oe[2]))return{tag:Oe[2],from:Ae(de.line,de.ch),to:Ae(be,we)}}}}ce.registerHelper("fold","xml",function(de,se){for(var ge=new Ue(de,se.line,0);;){var ve=Mt(ge);if(!ve||ge.line!=se.line)return;var be=xt(ge);if(!be)return;if(!ve[1]&&be!="selfClose"){var we=Ae(ge.line,ge.ch),Oe=te(ge,ve[2]);return Oe&&Fe(Oe.from,we)>0?{from:we,to:Oe.from}:null}}}),ce.findMatchingTag=function(de,se,ge){var ve=new Ue(de,se.line,se.ch,ge);if(!(ve.text.indexOf(">")==-1&&ve.text.indexOf("<")==-1)){var be=xt(ve),we=be&&Ae(ve.line,ve.ch),Oe=be&&Qe(ve);if(!(!be||!Oe||Fe(ve,se)>0)){var Ke={from:Ae(ve.line,ve.ch),to:we,tag:Oe[2]};return be=="selfClose"?{open:Ke,close:null,at:"open"}:Oe[1]?{open:ee(ve,Oe[2]),close:Ke,at:"close"}:(ve=new Ue(de,we.line,we.ch,ge),{open:Ke,close:te(ve,Oe[2]),at:"open"})}}},ce.findEnclosingTag=function(de,se,ge,ve){for(var be=new Ue(de,se.line,se.ch,ge);;){var we=ee(be,ve);if(!we)break;var Oe=new Ue(de,se.line,se.ch,ge),Ke=te(Oe,we.tag);if(Ke)return{open:we,close:Ke}}},ce.scanForClosingTag=function(de,se,ge,ve){var be=new Ue(de,se.line,se.ch,ve?{from:0,to:ve}:null);return te(be,ge)}})},4631:function(Re){(function(xe,ue){Re.exports=ue()})(this,function(){"use strict";var xe=navigator.userAgent,ue=navigator.platform,ce=/gecko\/\d/i.test(xe),Ae=/MSIE \d/.test(xe),Fe=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(xe),ke=/Edge\/(\d+)/.exec(xe),Ye=Ae||Fe||ke,Pe=Ye&&(Ae?document.documentMode||6:+(ke||Fe)[1]),Ue=!ke&&/WebKit\//.test(xe),tt=Ue&&/Qt\/\d+\.\d+/.test(xe),Ze=!ke&&/Chrome\//.test(xe),rt=/Opera\//.test(xe),xt=/Apple Computer/.test(navigator.vendor),Qe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(xe),Mt=/PhantomJS/.test(xe),De=!ke&&/AppleWebKit/.test(xe)&&/Mobile\/\w+/.test(xe),te=/Android/.test(xe),ee=De||te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(xe),de=De||/Mac/.test(ue),se=/\bCrOS\b/.test(xe),ge=/win/i.test(ue),ve=rt&&xe.match(/Version\/(\d*\.\d*)/);ve&&(ve=Number(ve[1])),ve&&ve>=15&&(rt=!1,Ue=!0);var be=de&&(tt||rt&&(ve==null||ve<12.11)),we=ce||Ye&&Pe>=9;function Oe(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var Ke=function(ie,ae){var ye=ie.className,me=Oe(ae).exec(ye);if(me){var Ee=ye.slice(me.index+me[0].length);ie.className=ye.slice(0,me.index)+(Ee?me[1]+Ee:"")}};function qe(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function lt(ie,ae){return qe(ie).appendChild(ae)}function at(ie,ae,ye,me){var Ee=document.createElement(ie);if(ye&&(Ee.className=ye),me&&(Ee.style.cssText=me),typeof ae=="string")Ee.appendChild(document.createTextNode(ae));else if(ae)for(var He=0;He<ae.length;++He)Ee.appendChild(ae[He]);return Ee}function ft(ie,ae,ye,me){var Ee=at(ie,ae,ye,me);return Ee.setAttribute("role","presentation"),Ee}var pt;document.createRange?pt=function(ie,ae,ye,me){var Ee=document.createRange();return Ee.setEnd(me||ie,ye),Ee.setStart(ie,ae),Ee}:pt=function(ie,ae,ye){var me=document.body.createTextRange();try{me.moveToElementText(ie.parentNode)}catch(Ee){return me}return me.collapse(!0),me.moveEnd("character",ye),me.moveStart("character",ae),me};function Nt(ie,ae){if(ae.nodeType==3&&(ae=ae.parentNode),ie.contains)return ie.contains(ae);do if(ae.nodeType==11&&(ae=ae.host),ae==ie)return!0;while(ae=ae.parentNode)}function Xt(){var ie;try{ie=document.activeElement}catch(ae){ie=document.body||null}for(;ie&&ie.shadowRoot&&ie.shadowRoot.activeElement;)ie=ie.shadowRoot.activeElement;return ie}function Zt(ie,ae){var ye=ie.className;Oe(ae).test(ye)||(ie.className+=(ye?" ":"")+ae)}function yn(ie,ae){for(var ye=ie.split(" "),me=0;me<ye.length;me++)ye[me]&&!Oe(ye[me]).test(ae)&&(ae+=" "+ye[me]);return ae}var Ln=function(ie){ie.select()};De?Ln=function(ie){ie.selectionStart=0,ie.selectionEnd=ie.value.length}:Ye&&(Ln=function(ie){try{ie.select()}catch(ae){}});function on(ie){var ae=Array.prototype.slice.call(arguments,1);return function(){return ie.apply(null,ae)}}function Bn(ie,ae,ye){ae||(ae={});for(var me in ie)ie.hasOwnProperty(me)&&(ye!==!1||!ae.hasOwnProperty(me))&&(ae[me]=ie[me]);return ae}function Et(ie,ae,ye,me,Ee){ae==null&&(ae=ie.search(/[^\s\u00a0]/),ae==-1&&(ae=ie.length));for(var He=me||0,it=Ee||0;;){var yt=ie.indexOf(" ",He);if(yt<0||yt>=ae)return it+(ae-He);it+=yt-He,it+=ye-it%ye,He=yt+1}}var nt=function(){this.id=null,this.f=null,this.time=0,this.handler=on(this.onTimeout,this)};nt.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},nt.prototype.set=function(ie,ae){this.f=ae;var ye=+new Date+ie;(!this.id||ye<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,ie),this.time=ye)};function ot(ie,ae){for(var ye=0;ye<ie.length;++ye)if(ie[ye]==ae)return ye;return-1}var Jt=50,In={toString:function(){return"CodeMirror.Pass"}},Gt={scroll:!1},An={origin:"*mouse"},Nn={origin:"+move"};function di(ie,ae,ye){for(var me=0,Ee=0;;){var He=ie.indexOf(" ",me);He==-1&&(He=ie.length);var it=He-me;if(He==ie.length||Ee+it>=ae)return me+Math.min(it,ae-Ee);if(Ee+=He-me,Ee+=ye-Ee%ye,me=He+1,Ee>=ae)return me}}var At=[""];function Ot(ie){for(;At.length<=ie;)At.push($e(At)+" ");return At[ie]}function $e(ie){return ie[ie.length-1]}function Wt(ie,ae){for(var ye=[],me=0;me<ie.length;me++)ye[me]=ae(ie[me],me);return ye}function jt(ie,ae,ye){for(var me=0,Ee=ye(ae);me<ie.length&&ye(ie[me])<=Ee;)me++;ie.splice(me,0,ae)}function Je(){}function Me(ie,ae){var ye;return Object.create?ye=Object.create(ie):(Je.prototype=ie,ye=new Je),ae&&Bn(ae,ye),ye}var Le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Xe(ie){return/\w/.test(ie)||ie>"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Le.test(ie))}function dt(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&Xe(ie)?!0:ae.test(ie):Xe(ie)}function je(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var bt=/[\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 Sn(ie){return ie.charCodeAt(0)>=768&&bt.test(ie)}function ni(ie,ae,ye){for(;(ye<0?ae>0:ae<ie.length)&&Sn(ie.charAt(ae));)ae+=ye;return ae}function ui(ie,ae,ye){for(var me=ae>ye?-1:1;;){if(ae==ye)return ae;var Ee=(ae+ye)/2,He=me<0?Math.ceil(Ee):Math.floor(Ee);if(He==ae)return ie(He)?ae:ye;ie(He)?ye=He:ae=He+me}}function vn(ie,ae,ye,me){if(!ie)return me(ae,ye,"ltr",0);for(var Ee=!1,He=0;He<ie.length;++He){var it=ie[He];(it.from<ye&&it.to>ae||ae==ye&&it.to==ae)&&(me(Math.max(it.from,ae),Math.min(it.to,ye),it.level==1?"rtl":"ltr",He),Ee=!0)}Ee||me(ae,ye,"ltr")}var _n=null;function rn(ie,ae,ye){var me;_n=null;for(var Ee=0;Ee<ie.length;++Ee){var He=ie[Ee];if(He.from<ae&&He.to>ae)return Ee;He.to==ae&&(He.from!=He.to&&ye=="before"?me=Ee:_n=Ee),He.from==ae&&(He.from!=He.to&&ye!="before"?me=Ee:_n=Ee)}return me!=null?me:_n}var oi=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ye(It){return It<=247?ie.charAt(It):1424<=It&&It<=1524?"R":1536<=It&&It<=1785?ae.charAt(It-1536):1774<=It&&It<=2220?"r":8192<=It&&It<=8203?"w":It==8204?"b":"L"}var me=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,Ee=/[stwN]/,He=/[LRr]/,it=/[Lb1n]/,yt=/[1n]/;function mt(It,mn,Ut){this.level=It,this.from=mn,this.to=Ut}return function(It,mn){var Ut=mn=="ltr"?"L":"R";if(It.length==0||mn=="ltr"&&!me.test(It))return!1;for(var zn=It.length,Rn=[],Bi=0;Bi<zn;++Bi)Rn.push(ye(It.charCodeAt(Bi)));for(var Ui=0,nr=Ut;Ui<zn;++Ui){var Ar=Rn[Ui];Ar=="m"?Rn[Ui]=nr:nr=Ar}for(var Qr=0,Dr=Ut;Qr<zn;++Qr){var fo=Rn[Qr];fo=="1"&&Dr=="r"?Rn[Qr]="n":He.test(fo)&&(Dr=fo,fo=="r"&&(Rn[Qr]="R"))}for(var zo=1,Mr=Rn[0];zo<zn-1;++zo){var ma=Rn[zo];ma=="+"&&Mr=="1"&&Rn[zo+1]=="1"?Rn[zo]="1":ma==","&&Mr==Rn[zo+1]&&(Mr=="1"||Mr=="n")&&(Rn[zo]=Mr),Mr=ma}for(var Ns=0;Ns<zn;++Ns){var yl=Rn[Ns];if(yl==",")Rn[Ns]="N";else if(yl=="%"){var Hs=void 0;for(Hs=Ns+1;Hs<zn&&Rn[Hs]=="%";++Hs);for(var Cu=Ns&&Rn[Ns-1]=="!"||Hs<zn&&Rn[Hs]=="1"?"1":"N",eu=Ns;eu<Hs;++eu)Rn[eu]=Cu;Ns=Hs-1}}for(var ul=0,Bu=Ut;ul<zn;++ul){var zl=Rn[ul];Bu=="L"&&zl=="1"?Rn[ul]="L":He.test(zl)&&(Bu=zl)}for(var cl=0;cl<zn;++cl)if(Ee.test(Rn[cl])){var Ja=void 0;for(Ja=cl+1;Ja<zn&&Ee.test(Rn[Ja]);++Ja);for(var js=(cl?Rn[cl-1]:Ut)=="L",Tl=(Ja<zn?Rn[Ja]:Ut)=="L",jl=js==Tl?js?"L":"R":Ut,Ac=cl;Ac<Ja;++Ac)Rn[Ac]=jl;cl=Ja-1}for(var zs=[],gc,Ys=0;Ys<zn;)if(it.test(Rn[Ys])){var Cf=Ys;for(++Ys;Ys<zn&&it.test(Rn[Ys]);++Ys);zs.push(new mt(0,Cf,Ys))}else{var $u=Ys,_u=zs.length,Tu=mn=="rtl"?1:0;for(++Ys;Ys<zn&&Rn[Ys]!="L";++Ys);for(var Es=$u;Es<Ys;)if(yt.test(Rn[Es])){$u<Es&&(zs.splice(_u,0,new mt(1,$u,Es)),_u+=Tu);var Al=Es;for(++Es;Es<Ys&&yt.test(Rn[Es]);++Es);zs.splice(_u,0,new mt(2,Al,Es)),_u+=Tu,$u=Es}else++Es;$u<Ys&&zs.splice(_u,0,new mt(1,$u,Ys))}return mn=="ltr"&&(zs[0].level==1&&(gc=It.match(/^\s+/))&&(zs[0].from=gc[0].length,zs.unshift(new mt(0,0,gc[0].length))),$e(zs).level==1&&(gc=It.match(/\s+$/))&&($e(zs).to-=gc[0].length,zs.push(new mt(0,zn-gc[0].length,zn)))),mn=="rtl"?zs.reverse():zs}}();function ei(ie,ae){var ye=ie.order;return ye==null&&(ye=ie.order=oi(ie.text,ae)),ye}var Ri=[],cn=function(ie,ae,ye){if(ie.addEventListener)ie.addEventListener(ae,ye,!1);else if(ie.attachEvent)ie.attachEvent("on"+ae,ye);else{var me=ie._handlers||(ie._handlers={});me[ae]=(me[ae]||Ri).concat(ye)}};function tr(ie,ae){return ie._handlers&&ie._handlers[ae]||Ri}function Xi(ie,ae,ye){if(ie.removeEventListener)ie.removeEventListener(ae,ye,!1);else if(ie.detachEvent)ie.detachEvent("on"+ae,ye);else{var me=ie._handlers,Ee=me&&me[ae];if(Ee){var He=ot(Ee,ye);He>-1&&(me[ae]=Ee.slice(0,He).concat(Ee.slice(He+1)))}}}function $t(ie,ae){var ye=tr(ie,ae);if(ye.length)for(var me=Array.prototype.slice.call(arguments,2),Ee=0;Ee<ye.length;++Ee)ye[Ee].apply(null,me)}function _e(ie,ae,ye){return typeof ae=="string"&&(ae={type:ae,preventDefault:function(){this.defaultPrevented=!0}}),$t(ie,ye||ae.type,ie,ae),Ii(ae)||ae.codemirrorIgnore}function xr(ie){var ae=ie._handlers&&ie._handlers.cursorActivity;if(ae)for(var ye=ie.curOp.cursorActivityHandlers||(ie.curOp.cursorActivityHandlers=[]),me=0;me<ae.length;++me)ot(ye,ae[me])==-1&&ye.push(ae[me])}function er(ie,ae){return tr(ie,ae).length>0}function ai(ie){ie.prototype.on=function(ae,ye){cn(this,ae,ye)},ie.prototype.off=function(ae,ye){Xi(this,ae,ye)}}function Rr(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Lr(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function Ii(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function ar(ie){Rr(ie),Lr(ie)}function hi(ie){return ie.target||ie.srcElement}function Qt(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),de&&ie.ctrlKey&&ae==1&&(ae=3),ae}var Wr=function(){if(Ye&&Pe<9)return!1;var ie=at("div");return"draggable"in ie||"dragDrop"in ie}(),oo;function dr(ie){if(oo==null){var ae=at("span","\u200B");lt(ie,at("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(oo=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(Ye&&Pe<8))}var ye=oo?at("span","\u200B"):at("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ye.setAttribute("cm-text",""),ye}var xo;function yr(ie){if(xo!=null)return xo;var ae=lt(ie,document.createTextNode("A\u062EA")),ye=pt(ae,0,1).getBoundingClientRect(),me=pt(ae,1,2).getBoundingClientRect();return qe(ie),!ye||ye.left==ye.right?!1:xo=me.right-ye.right<3}var On=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(ie){for(var ae=0,ye=[],me=ie.length;ae<=me;){var Ee=ie.indexOf(`
|
|
|
`,ae);Ee==-1&&(Ee=ie.length);var He=ie.slice(ae,ie.charAt(Ee-1)=="\r"?Ee-1:Ee),it=He.indexOf("\r");it!=-1?(ye.push(He.slice(0,it)),ae+=it+1):(ye.push(He),ae=Ee+1)}return ye}:function(ie){return ie.split(/\r\n?|\n/)},Ie=window.getSelection?function(ie){try{return ie.selectionStart!=ie.selectionEnd}catch(ae){return!1}}:function(ie){var ae;try{ae=ie.ownerDocument.selection.createRange()}catch(ye){}return!ae||ae.parentElement()!=ie?!1:ae.compareEndPoints("StartToEnd",ae)!=0},Mn=function(){var ie=at("div");return"oncopy"in ie?!0:(ie.setAttribute("oncopy","return;"),typeof ie.oncopy=="function")}(),Kn=null;function ri(ie){if(Kn!=null)return Kn;var ae=lt(ie,at("span","x")),ye=ae.getBoundingClientRect(),me=pt(ae,0,1).getBoundingClientRect();return Kn=Math.abs(ye.left-me.left)>1}var fi={},vi={};function Ni(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),fi[ie]=ae}function hr(ie,ae){vi[ie]=ae}function un(ie){if(typeof ie=="string"&&vi.hasOwnProperty(ie))ie=vi[ie];else if(ie&&typeof ie.name=="string"&&vi.hasOwnProperty(ie.name)){var ae=vi[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=Me(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return un("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return un("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function hn(ie,ae){ae=un(ae);var ye=fi[ae.name];if(!ye)return hn(ie,"text/plain");var me=ye(ie,ae);if(Kt.hasOwnProperty(ae.name)){var Ee=Kt[ae.name];for(var He in Ee)Ee.hasOwnProperty(He)&&(me.hasOwnProperty(He)&&(me["_"+He]=me[He]),me[He]=Ee[He])}if(me.name=ae.name,ae.helperType&&(me.helperType=ae.helperType),ae.modeProps)for(var it in ae.modeProps)me[it]=ae.modeProps[it];return me}var Kt={};function bn(ie,ae){var ye=Kt.hasOwnProperty(ie)?Kt[ie]:Kt[ie]={};Bn(ae,ye)}function Mi(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var ye={};for(var me in ae){var Ee=ae[me];Ee instanceof Array&&(Ee=Ee.concat([])),ye[me]=Ee}return ye}function Oi(ie,ae){for(var ye;ie.innerMode&&(ye=ie.innerMode(ae),!(!ye||ye.mode==ie));)ae=ye.state,ie=ye.mode;return ye||{mode:ie,state:ae}}function bi(ie,ae,ye){return ie.startState?ie.startState(ae,ye):!0}var sn=function(ie,ae,ye){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ye};sn.prototype.eol=function(){return this.pos>=this.string.length},sn.prototype.sol=function(){return this.pos==this.lineStart},sn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},sn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},sn.prototype.eat=function(ie){var ae=this.string.charAt(this.pos),ye;if(typeof ie=="string"?ye=ae==ie:ye=ae&&(ie.test?ie.test(ae):ie(ae)),ye)return++this.pos,ae},sn.prototype.eatWhile=function(ie){for(var ae=this.pos;this.eat(ie););return this.pos>ae},sn.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},sn.prototype.skipToEnd=function(){this.pos=this.string.length},sn.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},sn.prototype.backUp=function(ie){this.pos-=ie},sn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Et(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Et(this.string,this.lineStart,this.tabSize):0)},sn.prototype.indentation=function(){return Et(this.string,null,this.tabSize)-(this.lineStart?Et(this.string,this.lineStart,this.tabSize):0)},sn.prototype.match=function(ie,ae,ye){if(typeof ie=="string"){var me=function(it){return ye?it.toLowerCase():it},Ee=this.string.substr(this.pos,ie.length);if(me(Ee)==me(ie))return ae!==!1&&(this.pos+=ie.length),!0}else{var He=this.string.slice(this.pos).match(ie);return He&&He.index>0?null:(He&&ae!==!1&&(this.pos+=He[0].length),He)}},sn.prototype.current=function(){return this.string.slice(this.start,this.pos)},sn.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},sn.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},sn.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function Un(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var ye=ie;!ye.lines;)for(var me=0;;++me){var Ee=ye.children[me],He=Ee.chunkSize();if(ae<He){ye=Ee;break}ae-=He}return ye.lines[ae]}function Wi(ie,ae,ye){var me=[],Ee=ae.line;return ie.iter(ae.line,ye.line+1,function(He){var it=He.text;Ee==ye.line&&(it=it.slice(0,ye.ch)),Ee==ae.line&&(it=it.slice(ae.ch)),me.push(it),++Ee}),me}function ir(ie,ae,ye){var me=[];return ie.iter(ae,ye,function(Ee){me.push(Ee.text)}),me}function si(ie,ae){var ye=ae-ie.height;if(ye)for(var me=ie;me;me=me.parent)me.height+=ye}function tn(ie){if(ie.parent==null)return null;for(var ae=ie.parent,ye=ot(ae.lines,ie),me=ae.parent;me;ae=me,me=me.parent)for(var Ee=0;me.children[Ee]!=ae;++Ee)ye+=me.children[Ee].chunkSize();return ye+ae.first}function Hi(ie,ae){var ye=ie.first;e:do{for(var me=0;me<ie.children.length;++me){var Ee=ie.children[me],He=Ee.height;if(ae<He){ie=Ee;continue e}ae-=He,ye+=Ee.chunkSize()}return ye}while(!ie.lines);for(var it=0;it<ie.lines.length;++it){var yt=ie.lines[it],mt=yt.height;if(ae<mt)break;ae-=mt}return ye+it}function lr(ie,ae){return ae>=ie.first&&ae<ie.first+ie.size}function Hr(ie,ae){return String(ie.lineNumberFormatter(ae+ie.firstLineNumber))}function jn(ie,ae,ye){if(ye===void 0&&(ye=null),!(this instanceof jn))return new jn(ie,ae,ye);this.line=ie,this.ch=ae,this.sticky=ye}function qi(ie,ae){return ie.line-ae.line||ie.ch-ae.ch}function ao(ie,ae){return ie.sticky==ae.sticky&&qi(ie,ae)==0}function jo(ie){return jn(ie.line,ie.ch)}function ko(ie,ae){return qi(ie,ae)<0?ae:ie}function Vi(ie,ae){return qi(ie,ae)<0?ie:ae}function Qi(ie,ae){return Math.max(ie.first,Math.min(ae,ie.first+ie.size-1))}function sr(ie,ae){if(ae.line<ie.first)return jn(ie.first,0);var ye=ie.first+ie.size-1;return ae.line>ye?jn(ye,Un(ie,ye).text.length):Zr(ae,Un(ie,ae.line).text.length)}function Zr(ie,ae){var ye=ie.ch;return ye==null||ye>ae?jn(ie.line,ae):ye<0?jn(ie.line,0):ie}function Io(ie,ae){for(var ye=[],me=0;me<ae.length;me++)ye[me]=sr(ie,ae[me]);return ye}var Si=function(ie,ae){this.state=ie,this.lookAhead=ae},mr=function(ie,ae,ye,me){this.state=ae,this.doc=ie,this.line=ye,this.maxLookAhead=me||0,this.baseTokens=null,this.baseTokenPos=1};mr.prototype.lookAhead=function(ie){var ae=this.doc.getLine(this.line+ie);return ae!=null&&ie>this.maxLookAhead&&(this.maxLookAhead=ie),ae},mr.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},mr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},mr.fromSaved=function(ie,ae,ye){return ae instanceof Si?new mr(ie,Mi(ie.mode,ae.state),ye,ae.lookAhead):new mr(ie,Mi(ie.mode,ae),ye)},mr.prototype.save=function(ie){var ae=ie!==!1?Mi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Si(ae,this.maxLookAhead):ae};function ja(ie,ae,ye,me){var Ee=[ie.state.modeGen],He={};Po(ie,ae.text,ie.doc.mode,ye,function(It,mn){return Ee.push(It,mn)},He,me);for(var it=ye.state,yt=function(It){ye.baseTokens=Ee;var mn=ie.state.overlays[It],Ut=1,zn=0;ye.state=!0,Po(ie,ae.text,mn.mode,ye,function(Rn,Bi){for(var Ui=Ut;zn<Rn;){var nr=Ee[Ut];nr>Rn&&Ee.splice(Ut,1,Rn,Ee[Ut+1],nr),Ut+=2,zn=Math.min(Rn,nr)}if(Bi)if(mn.opaque)Ee.splice(Ui,Ut-Ui,Rn,"overlay "+Bi),Ut=Ui+2;else for(;Ui<Ut;Ui+=2){var Ar=Ee[Ui+1];Ee[Ui+1]=(Ar?Ar+" ":"")+"overlay "+Bi}},He),ye.state=it,ye.baseTokens=null,ye.baseTokenPos=1},mt=0;mt<ie.state.overlays.length;++mt)yt(mt);return{styles:Ee,classes:He.bgClass||He.textClass?He:null}}function Ha(ie,ae,ye){if(!ae.styles||ae.styles[0]!=ie.state.modeGen){var me=Sa(ie,tn(ae)),Ee=ae.text.length>ie.options.maxHighlightLength&&Mi(ie.doc.mode,me.state),He=ja(ie,ae,me);Ee&&(me.state=Ee),ae.stateAfter=me.save(!Ee),ae.styles=He.styles,He.classes?ae.styleClasses=He.classes:ae.styleClasses&&(ae.styleClasses=null),ye===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function Sa(ie,ae,ye){var me=ie.doc,Ee=ie.display;if(!me.mode.startState)return new mr(me,!0,ae);var He=bo(ie,ae,ye),it=He>me.first&&Un(me,He-1).stateAfter,yt=it?mr.fromSaved(me,it,He):new mr(me,bi(me.mode),He);return me.iter(He,ae,function(mt){nn(ie,mt.text,yt);var It=yt.line;mt.stateAfter=It==ae-1||It%5==0||It>=Ee.viewFrom&&It<Ee.viewTo?yt.save():null,yt.nextLine()}),ye&&(me.modeFrontier=yt.line),yt}function nn(ie,ae,ye,me){var Ee=ie.doc.mode,He=new sn(ae,ie.options.tabSize,ye);for(He.start=He.pos=me||0,ae==""&&pr(Ee,ye.state);!He.eol();)Jr(Ee,He,ye.state),He.start=He.pos}function pr(ie,ae){if(ie.blankLine)return ie.blankLine(ae);if(ie.innerMode){var ye=Oi(ie,ae);if(ye.mode.blankLine)return ye.mode.blankLine(ye.state)}}function Jr(ie,ae,ye,me){for(var Ee=0;Ee<10;Ee++){me&&(me[0]=Oi(ie,ye).mode);var He=ie.token(ae,ye);if(ae.pos>ae.start)return He}throw new Error("Mode "+ie.name+" failed to advance stream.")}var vr=function(ie,ae,ye){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=ye};function ia(ie,ae,ye,me){var Ee=ie.doc,He=Ee.mode,it;ae=sr(Ee,ae);var yt=Un(Ee,ae.line),mt=Sa(ie,ae.line,ye),It=new sn(yt.text,ie.options.tabSize,mt),mn;for(me&&(mn=[]);(me||It.pos<ae.ch)&&!It.eol();)It.start=It.pos,it=Jr(He,It,mt.state),me&&mn.push(new vr(It,it,Mi(Ee.mode,mt.state)));return me?mn:new vr(It,it,mt.state)}function vo(ie,ae){if(ie)for(;;){var ye=ie.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ye)break;ie=ie.slice(0,ye.index)+ie.slice(ye.index+ye[0].length);var me=ye[1]?"bgClass":"textClass";ae[me]==null?ae[me]=ye[2]:new RegExp("(?:^|\\s)"+ye[2]+"(?:$|\\s)").test(ae[me])||(ae[me]+=" "+ye[2])}return ie}function Po(ie,ae,ye,me,Ee,He,it){var yt=ye.flattenSpans;yt==null&&(yt=ie.options.flattenSpans);var mt=0,It=null,mn=new sn(ae,ie.options.tabSize,me),Ut,zn=ie.options.addModeClass&&[null];for(ae==""&&vo(pr(ye,me.state),He);!mn.eol();){if(mn.pos>ie.options.maxHighlightLength?(yt=!1,it&&nn(ie,ae,me,mn.pos),mn.pos=ae.length,Ut=null):Ut=vo(Jr(ye,mn,me.state,zn),He),zn){var Rn=zn[0].name;Rn&&(Ut="m-"+(Ut?Rn+" "+Ut:Rn))}if(!yt||It!=Ut){for(;mt<mn.start;)mt=Math.min(mn.start,mt+5e3),Ee(mt,It);It=Ut}mn.start=mn.pos}for(;mt<mn.pos;){var Bi=Math.min(mn.pos,mt+5e3);Ee(Bi,It),mt=Bi}}function bo(ie,ae,ye){for(var me,Ee,He=ie.doc,it=ye?-1:ae-(ie.doc.mode.innerMode?1e3:100),yt=ae;yt>it;--yt){if(yt<=He.first)return He.first;var mt=Un(He,yt-1),It=mt.stateAfter;if(It&&(!ye||yt+(It instanceof Si?It.lookAhead:0)<=He.modeFrontier))return yt;var mn=Et(mt.text,null,ie.options.tabSize);(Ee==null||me>mn)&&(Ee=yt-1,me=mn)}return Ee}function so(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontier<ae-10)){for(var ye=ie.first,me=ae-1;me>ye;me--){var Ee=Un(ie,me).stateAfter;if(Ee&&(!(Ee instanceof Si)||me+Ee.lookAhead<ae)){ye=me+1;break}}ie.highlightFrontier=Math.min(ie.highlightFrontier,ye)}}var Do=!1,Qn=!1;function $o(){Do=!0}function Rt(){Qn=!0}function ut(ie,ae,ye){this.marker=ie,this.from=ae,this.to=ye}function Dn(ie,ae){if(ie)for(var ye=0;ye<ie.length;++ye){var me=ie[ye];if(me.marker==ae)return me}}function Lt(ie,ae){for(var ye,me=0;me<ie.length;++me)ie[me]!=ae&&(ye||(ye=[])).push(ie[me]);return ye}function Ft(ie,ae){ie.markedSpans=ie.markedSpans?ie.markedSpans.concat([ae]):[ae],ae.marker.attachLine(ie)}function Yt(ie,ae,ye){var me;if(ie)for(var Ee=0;Ee<ie.length;++Ee){var He=ie[Ee],it=He.marker,yt=He.from==null||(it.inclusiveLeft?He.from<=ae:He.from<ae);if(yt||He.from==ae&&it.type=="bookmark"&&(!ye||!He.marker.insertLeft)){var mt=He.to==null||(it.inclusiveRight?He.to>=ae:He.to>ae);(me||(me=[])).push(new ut(it,He.from,mt?null:He.to))}}return me}function pn(ie,ae,ye){var me;if(ie)for(var Ee=0;Ee<ie.length;++Ee){var He=ie[Ee],it=He.marker,yt=He.to==null||(it.inclusiveRight?He.to>=ae:He.to>ae);if(yt||He.from==ae&&it.type=="bookmark"&&(!ye||He.marker.insertLeft)){var mt=He.from==null||(it.inclusiveLeft?He.from<=ae:He.from<ae);(me||(me=[])).push(new ut(it,mt?null:He.from-ae,He.to==null?null:He.to-ae))}}return me}function ti(ie,ae){if(ae.full)return null;var ye=lr(ie,ae.from.line)&&Un(ie,ae.from.line).markedSpans,me=lr(ie,ae.to.line)&&Un(ie,ae.to.line).markedSpans;if(!ye&&!me)return null;var Ee=ae.from.ch,He=ae.to.ch,it=qi(ae.from,ae.to)==0,yt=Yt(ye,Ee,it),mt=pn(me,He,it),It=ae.text.length==1,mn=$e(ae.text).length+(It?Ee:0);if(yt)for(var Ut=0;Ut<yt.length;++Ut){var zn=yt[Ut];if(zn.to==null){var Rn=Dn(mt,zn.marker);Rn?It&&(zn.to=Rn.to==null?null:Rn.to+mn):zn.to=Ee}}if(mt)for(var Bi=0;Bi<mt.length;++Bi){var Ui=mt[Bi];if(Ui.to!=null&&(Ui.to+=mn),Ui.from==null){var nr=Dn(yt,Ui.marker);nr||(Ui.from=mn,It&&(yt||(yt=[])).push(Ui))}else Ui.from+=mn,It&&(yt||(yt=[])).push(Ui)}yt&&(yt=Li(yt)),mt&&mt!=yt&&(mt=Li(mt));var Ar=[yt];if(!It){var Qr=ae.text.length-2,Dr;if(Qr>0&&yt)for(var fo=0;fo<yt.length;++fo)yt[fo].to==null&&(Dr||(Dr=[])).push(new ut(yt[fo].marker,null,null));for(var zo=0;zo<Qr;++zo)Ar.push(Dr);Ar.push(mt)}return Ar}function Li(ie){for(var ae=0;ae<ie.length;++ae){var ye=ie[ae];ye.from!=null&&ye.from==ye.to&&ye.marker.clearWhenEmpty!==!1&&ie.splice(ae--,1)}return ie.length?ie:null}function Pi(ie,ae,ye){var me=null;if(ie.iter(ae.line,ye.line+1,function(Rn){if(Rn.markedSpans)for(var Bi=0;Bi<Rn.markedSpans.length;++Bi){var Ui=Rn.markedSpans[Bi].marker;Ui.readOnly&&(!me||ot(me,Ui)==-1)&&(me||(me=[])).push(Ui)}}),!me)return null;for(var Ee=[{from:ae,to:ye}],He=0;He<me.length;++He)for(var it=me[He],yt=it.find(0),mt=0;mt<Ee.length;++mt){var It=Ee[mt];if(!(qi(It.to,yt.from)<0||qi(It.from,yt.to)>0)){var mn=[mt,1],Ut=qi(It.from,yt.from),zn=qi(It.to,yt.to);(Ut<0||!it.inclusiveLeft&&!Ut)&&mn.push({from:It.from,to:yt.from}),(zn>0||!it.inclusiveRight&&!zn)&&mn.push({from:yt.to,to:It.to}),Ee.splice.apply(Ee,mn),mt+=mn.length-3}}return Ee}function Fn(ie){var ae=ie.markedSpans;if(ae){for(var ye=0;ye<ae.length;++ye)ae[ye].marker.detachLine(ie);ie.markedSpans=null}}function st(ie,ae){if(ae){for(var ye=0;ye<ae.length;++ye)ae[ye].marker.attachLine(ie);ie.markedSpans=ae}}function br(ie){return ie.inclusiveLeft?-1:0}function _r(ie){return ie.inclusiveRight?1:0}function to(ie,ae){var ye=ie.lines.length-ae.lines.length;if(ye!=0)return ye;var me=ie.find(),Ee=ae.find(),He=qi(me.from,Ee.from)||br(ie)-br(ae);if(He)return-He;var it=qi(me.to,Ee.to)||_r(ie)-_r(ae);return it||ae.id-ie.id}function lo(ie,ae){var ye=Qn&&ie.markedSpans,me;if(ye)for(var Ee=void 0,He=0;He<ye.length;++He)Ee=ye[He],Ee.marker.collapsed&&(ae?Ee.from:Ee.to)==null&&(!me||to(me,Ee.marker)<0)&&(me=Ee.marker);return me}function uo(ie){return lo(ie,!0)}function Vr(ie){return lo(ie,!1)}function Mo(ie,ae){var ye=Qn&&ie.markedSpans,me;if(ye)for(var Ee=0;Ee<ye.length;++Ee){var He=ye[Ee];He.marker.collapsed&&(He.from==null||He.from<ae)&&(He.to==null||He.to>ae)&&(!me||to(me,He.marker)<0)&&(me=He.marker)}return me}function co(ie,ae,ye,me,Ee){var He=Un(ie,ae),it=Qn&&He.markedSpans;if(it)for(var yt=0;yt<it.length;++yt){var mt=it[yt];if(mt.marker.collapsed){var It=mt.marker.find(0),mn=qi(It.from,ye)||br(mt.marker)-br(Ee),Ut=qi(It.to,me)||_r(mt.marker)-_r(Ee);if(!(mn>=0&&Ut<=0||mn<=0&&Ut>=0)&&(mn<=0&&(mt.marker.inclusiveRight&&Ee.inclusiveLeft?qi(It.to,ye)>=0:qi(It.to,ye)>0)||mn>=0&&(mt.marker.inclusiveRight&&Ee.inclusiveLeft?qi(It.from,me)<=0:qi(It.from,me)<0)))return!0}}}function Ir(ie){for(var ae;ae=uo(ie);)ie=ae.find(-1,!0).line;return ie}function or(ie){for(var ae;ae=Vr(ie);)ie=ae.find(1,!0).line;return ie}function Di(ie){for(var ae,ye;ae=Vr(ie);)ie=ae.find(1,!0).line,(ye||(ye=[])).push(ie);return ye}function Ci(ie,ae){var ye=Un(ie,ae),me=Ir(ye);return ye==me?ae:tn(me)}function ji(ie,ae){if(ae>ie.lastLine())return ae;var ye=Un(ie,ae),me;if(!fn(ie,ye))return ae;for(;me=Vr(ye);)ye=me.find(1,!0).line;return tn(ye)+1}function fn(ie,ae){var ye=Qn&&ae.markedSpans;if(ye){for(var me=void 0,Ee=0;Ee<ye.length;++Ee)if(me=ye[Ee],!!me.marker.collapsed){if(me.from==null)return!0;if(!me.marker.widgetNode&&me.from==0&&me.marker.inclusiveLeft&&$i(ie,ae,me))return!0}}}function $i(ie,ae,ye){if(ye.to==null){var me=ye.marker.find(1,!0);return $i(ie,me.line,Dn(me.line.markedSpans,ye.marker))}if(ye.marker.inclusiveRight&&ye.to==ae.text.length)return!0;for(var Ee=void 0,He=0;He<ae.markedSpans.length;++He)if(Ee=ae.markedSpans[He],Ee.marker.collapsed&&!Ee.marker.widgetNode&&Ee.from==ye.to&&(Ee.to==null||Ee.to!=ye.from)&&(Ee.marker.inclusiveLeft||ye.marker.inclusiveRight)&&$i(ie,ae,Ee))return!0}function Ji(ie){ie=Ir(ie);for(var ae=0,ye=ie.parent,me=0;me<ye.lines.length;++me){var Ee=ye.lines[me];if(Ee==ie)break;ae+=Ee.height}for(var He=ye.parent;He;ye=He,He=ye.parent)for(var it=0;it<He.children.length;++it){var yt=He.children[it];if(yt==ye)break;ae+=yt.height}return ae}function Gr(ie){if(ie.height==0)return 0;for(var ae=ie.text.length,ye,me=ie;ye=uo(me);){var Ee=ye.find(0,!0);me=Ee.from.line,ae+=Ee.from.ch-Ee.to.ch}for(me=ie;ye=Vr(me);){var He=ye.find(0,!0);ae-=me.text.length-He.from.ch,me=He.to.line,ae+=me.text.length-He.to.ch}return ae}function io(ie){var ae=ie.display,ye=ie.doc;ae.maxLine=Un(ye,ye.first),ae.maxLineLength=Gr(ae.maxLine),ae.maxLineChanged=!0,ye.iter(function(me){var Ee=Gr(me);Ee>ae.maxLineLength&&(ae.maxLineLength=Ee,ae.maxLine=me)})}var qr=function(ie,ae,ye){this.text=ie,st(this,ae),this.height=ye?ye(this):1};qr.prototype.lineNo=function(){return tn(this)},ai(qr);function yo(ie,ae,ye,me){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),Fn(ie),st(ie,ye);var Ee=me?me(ie):1;Ee!=ie.height&&si(ie,Ee)}function ea(ie){ie.parent=null,Fn(ie)}var Zo={},ua={};function ba(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var ye=ae.addModeClass?ua:Zo;return ye[ie]||(ye[ie]=ie.replace(/\S+/g,"cm-$&"))}function an(ie,ae){var ye=ft("span",null,null,Ue?"padding-right: .1px":null),me={pre:ft("pre",[ye],"CodeMirror-line"),content:ye,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var Ee=0;Ee<=(ae.rest?ae.rest.length:0);Ee++){var He=Ee?ae.rest[Ee-1]:ae.line,it=void 0;me.pos=0,me.addToken=fa,yr(ie.display.measure)&&(it=ei(He,ie.doc.direction))&&(me.addToken=po(me.addToken,it)),me.map=[];var yt=ae!=ie.display.externalMeasured&&tn(He);Na(He,me,Ha(ie,He,yt)),He.styleClasses&&(He.styleClasses.bgClass&&(me.bgClass=yn(He.styleClasses.bgClass,me.bgClass||"")),He.styleClasses.textClass&&(me.textClass=yn(He.styleClasses.textClass,me.textClass||""))),me.map.length==0&&me.map.push(0,0,me.content.appendChild(dr(ie.display.measure))),Ee==0?(ae.measure.map=me.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(me.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(Ue){var mt=me.content.lastChild;(/\bcm-tab\b/.test(mt.className)||mt.querySelector&&mt.querySelector(".cm-tab"))&&(me.content.className="cm-tab-wrap-hack")}return $t(ie,"renderLine",ie,ae.line,me.pre),me.pre.className&&(me.textClass=yn(me.pre.className,me.textClass||"")),me}function qo(ie){var ae=at("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function fa(ie,ae,ye,me,Ee,He,it){if(ae){var yt=ie.splitSpaces?Ra(ae,ie.trailingSpace):ae,mt=ie.cm.state.specialChars,It=!1,mn;if(!mt.test(ae))ie.col+=ae.length,mn=document.createTextNode(yt),ie.map.push(ie.pos,ie.pos+ae.length,mn),Ye&&Pe<9&&(It=!0),ie.pos+=ae.length;else{mn=document.createDocumentFragment();for(var Ut=0;;){mt.lastIndex=Ut;var zn=mt.exec(ae),Rn=zn?zn.index-Ut:ae.length-Ut;if(Rn){var Bi=document.createTextNode(yt.slice(Ut,Ut+Rn));Ye&&Pe<9?mn.appendChild(at("span",[Bi])):mn.appendChild(Bi),ie.map.push(ie.pos,ie.pos+Rn,Bi),ie.col+=Rn,ie.pos+=Rn}if(!zn)break;Ut+=Rn+1;var Ui=void 0;if(zn[0]==" "){var nr=ie.cm.options.tabSize,Ar=nr-ie.col%nr;Ui=mn.appendChild(at("span",Ot(Ar),"cm-tab")),Ui.setAttribute("role","presentation"),Ui.setAttribute("cm-text"," "),ie.col+=Ar}else zn[0]=="\r"||zn[0]==`
|
|
|
`?(Ui=mn.appendChild(at("span",zn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ui.setAttribute("cm-text",zn[0]),ie.col+=1):(Ui=ie.cm.options.specialCharPlaceholder(zn[0]),Ui.setAttribute("cm-text",zn[0]),Ye&&Pe<9?mn.appendChild(at("span",[Ui])):mn.appendChild(Ui),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,Ui),ie.pos++}}if(ie.trailingSpace=yt.charCodeAt(ae.length-1)==32,ye||me||Ee||It||He||it){var Qr=ye||"";me&&(Qr+=me),Ee&&(Qr+=Ee);var Dr=at("span",[mn],Qr,He);if(it)for(var fo in it)it.hasOwnProperty(fo)&&fo!="style"&&fo!="class"&&Dr.setAttribute(fo,it[fo]);return ie.content.appendChild(Dr)}ie.content.appendChild(mn)}}function Ra(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var ye=ae,me="",Ee=0;Ee<ie.length;Ee++){var He=ie.charAt(Ee);He==" "&&ye&&(Ee==ie.length-1||ie.charCodeAt(Ee+1)==32)&&(He="\xA0"),me+=He,ye=He==" "}return me}function po(ie,ae){return function(ye,me,Ee,He,it,yt,mt){Ee=Ee?Ee+" cm-force-border":"cm-force-border";for(var It=ye.pos,mn=It+me.length;;){for(var Ut=void 0,zn=0;zn<ae.length&&(Ut=ae[zn],!(Ut.to>It&&Ut.from<=It));zn++);if(Ut.to>=mn)return ie(ye,me,Ee,He,it,yt,mt);ie(ye,me.slice(0,Ut.to-It),Ee,He,null,yt,mt),He=null,me=me.slice(Ut.to-It),It=Ut.to}}}function Xa(ie,ae,ye,me){var Ee=!me&&ye.widgetNode;Ee&&ie.map.push(ie.pos,ie.pos+ae,Ee),!me&&ie.cm.display.input.needsContentAttribute&&(Ee||(Ee=ie.content.appendChild(document.createElement("span"))),Ee.setAttribute("cm-marker",ye.id)),Ee&&(ie.cm.display.input.setUneditable(Ee),ie.content.appendChild(Ee)),ie.pos+=ae,ie.trailingSpace=!1}function Na(ie,ae,ye){var me=ie.markedSpans,Ee=ie.text,He=0;if(!me){for(var it=1;it<ye.length;it+=2)ae.addToken(ae,Ee.slice(He,He=ye[it]),ba(ye[it+1],ae.cm.options));return}for(var yt=Ee.length,mt=0,It=1,mn="",Ut,zn,Rn=0,Bi,Ui,nr,Ar,Qr;;){if(Rn==mt){Bi=Ui=nr=zn="",Qr=null,Ar=null,Rn=1/0;for(var Dr=[],fo=void 0,zo=0;zo<me.length;++zo){var Mr=me[zo],ma=Mr.marker;if(ma.type=="bookmark"&&Mr.from==mt&&ma.widgetNode)Dr.push(ma);else if(Mr.from<=mt&&(Mr.to==null||Mr.to>mt||ma.collapsed&&Mr.to==mt&&Mr.from==mt)){if(Mr.to!=null&&Mr.to!=mt&&Rn>Mr.to&&(Rn=Mr.to,Ui=""),ma.className&&(Bi+=" "+ma.className),ma.css&&(zn=(zn?zn+";":"")+ma.css),ma.startStyle&&Mr.from==mt&&(nr+=" "+ma.startStyle),ma.endStyle&&Mr.to==Rn&&(fo||(fo=[])).push(ma.endStyle,Mr.to),ma.title&&((Qr||(Qr={})).title=ma.title),ma.attributes)for(var Ns in ma.attributes)(Qr||(Qr={}))[Ns]=ma.attributes[Ns];ma.collapsed&&(!Ar||to(Ar.marker,ma)<0)&&(Ar=Mr)}else Mr.from>mt&&Rn>Mr.from&&(Rn=Mr.from)}if(fo)for(var yl=0;yl<fo.length;yl+=2)fo[yl+1]==Rn&&(Ui+=" "+fo[yl]);if(!Ar||Ar.from==mt)for(var Hs=0;Hs<Dr.length;++Hs)Xa(ae,0,Dr[Hs]);if(Ar&&(Ar.from||0)==mt){if(Xa(ae,(Ar.to==null?yt+1:Ar.to)-mt,Ar.marker,Ar.from==null),Ar.to==null)return;Ar.to==mt&&(Ar=!1)}}if(mt>=yt)break;for(var Cu=Math.min(yt,Rn);;){if(mn){var eu=mt+mn.length;if(!Ar){var ul=eu>Cu?mn.slice(0,Cu-mt):mn;ae.addToken(ae,ul,Ut?Ut+Bi:Bi,nr,mt+ul.length==Rn?Ui:"",zn,Qr)}if(eu>=Cu){mn=mn.slice(Cu-mt),mt=Cu;break}mt=eu,nr=""}mn=Ee.slice(He,He=ye[It++]),Ut=ba(ye[It++],ae.cm.options)}}}function qa(ie,ae,ye){this.line=ae,this.rest=Di(ae),this.size=this.rest?tn($e(this.rest))-ye+1:1,this.node=this.text=null,this.hidden=fn(ie,ae)}function Co(ie,ae,ye){for(var me=[],Ee,He=ae;He<ye;He=Ee){var it=new qa(ie.doc,Un(ie.doc,He),He);Ee=He+it.size,me.push(it)}return me}var Go=null;function wr(ie){Go?Go.ops.push(ie):ie.ownsGroup=Go={ops:[ie],delayedCallbacks:[]}}function $r(ie){var ae=ie.delayedCallbacks,ye=0;do{for(;ye<ae.length;ye++)ae[ye].call(null);for(var me=0;me<ie.ops.length;me++){var Ee=ie.ops[me];if(Ee.cursorActivityHandlers)for(;Ee.cursorActivityCalled<Ee.cursorActivityHandlers.length;)Ee.cursorActivityHandlers[Ee.cursorActivityCalled++].call(null,Ee.cm)}}while(ye<ae.length)}function ho(ie,ae){var ye=ie.ownsGroup;if(ye)try{$r(ye)}finally{Go=null,ae(ye)}}var _o=null;function Zi(ie,ae){var ye=tr(ie,ae);if(ye.length){var me=Array.prototype.slice.call(arguments,2),Ee;Go?Ee=Go.delayedCallbacks:_o?Ee=_o:(Ee=_o=[],setTimeout(Ea,0));for(var He=function(yt){Ee.push(function(){return ye[yt].apply(null,me)})},it=0;it<ye.length;++it)He(it)}}function Ea(){var ie=_o;_o=null;for(var ae=0;ae<ie.length;++ae)ie[ae]()}function ca(ie,ae,ye,me){for(var Ee=0;Ee<ae.changes.length;Ee++){var He=ae.changes[Ee];He=="text"?wi(ie,ae):He=="gutter"?ka(ie,ae,ye,me):He=="class"?pa(ie,ae):He=="widget"&&fs(ie,ae,me)}ae.changes=null}function ga(ie){return ie.node==ie.text&&(ie.node=at("div",null,null,"position: relative"),ie.text.parentNode&&ie.text.parentNode.replaceChild(ie.node,ie.text),ie.node.appendChild(ie.text),Ye&&Pe<8&&(ie.node.style.zIndex=2)),ie.node}function rs(ie,ae){var ye=ae.bgClass?ae.bgClass+" "+(ae.line.bgClass||""):ae.line.bgClass;if(ye&&(ye+=" CodeMirror-linebackground"),ae.background)ye?ae.background.className=ye:(ae.background.parentNode.removeChild(ae.background),ae.background=null);else if(ye){var me=ga(ae);ae.background=me.insertBefore(at("div",null,ye),me.firstChild),ie.display.input.setUneditable(ae.background)}}function us(ie,ae){var ye=ie.display.externalMeasured;return ye&&ye.line==ae.line?(ie.display.externalMeasured=null,ae.measure=ye.measure,ye.built):an(ie,ae)}function wi(ie,ae){var ye=ae.text.className,me=us(ie,ae);ae.text==ae.node&&(ae.node=me.pre),ae.text.parentNode.replaceChild(me.pre,ae.text),ae.text=me.pre,me.bgClass!=ae.bgClass||me.textClass!=ae.textClass?(ae.bgClass=me.bgClass,ae.textClass=me.textClass,pa(ie,ae)):ye&&(ae.text.className=ye)}function pa(ie,ae){rs(ie,ae),ae.line.wrapClass?ga(ae).className=ae.line.wrapClass:ae.node!=ae.text&&(ae.node.className="");var ye=ae.textClass?ae.textClass+" "+(ae.line.textClass||""):ae.line.textClass;ae.text.className=ye||""}function ka(ie,ae,ye,me){if(ae.gutter&&(ae.node.removeChild(ae.gutter),ae.gutter=null),ae.gutterBackground&&(ae.node.removeChild(ae.gutterBackground),ae.gutterBackground=null),ae.line.gutterClass){var Ee=ga(ae);ae.gutterBackground=at("div",null,"CodeMirror-gutter-background "+ae.line.gutterClass,"left: "+(ie.options.fixedGutter?me.fixedPos:-me.gutterTotalWidth)+"px; width: "+me.gutterTotalWidth+"px"),ie.display.input.setUneditable(ae.gutterBackground),Ee.insertBefore(ae.gutterBackground,ae.text)}var He=ae.line.gutterMarkers;if(ie.options.lineNumbers||He){var it=ga(ae),yt=ae.gutter=at("div",null,"CodeMirror-gutter-wrapper","left: "+(ie.options.fixedGutter?me.fixedPos:-me.gutterTotalWidth)+"px");if(ie.display.input.setUneditable(yt),it.insertBefore(yt,ae.text),ae.line.gutterClass&&(yt.className+=" "+ae.line.gutterClass),ie.options.lineNumbers&&(!He||!He["CodeMirror-linenumbers"])&&(ae.lineNumber=yt.appendChild(at("div",Hr(ie.options,ye),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+me.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+ie.display.lineNumInnerWidth+"px"))),He)for(var mt=0;mt<ie.display.gutterSpecs.length;++mt){var It=ie.display.gutterSpecs[mt].className,mn=He.hasOwnProperty(It)&&He[It];mn&&yt.appendChild(at("div",[mn],"CodeMirror-gutter-elt","left: "+me.gutterLeft[It]+"px; width: "+me.gutterWidth[It]+"px"))}}}function fs(ie,ae,ye){ae.alignable&&(ae.alignable=null);for(var me=Oe("CodeMirror-linewidget"),Ee=ae.node.firstChild,He=void 0;Ee;Ee=He)He=Ee.nextSibling,me.test(Ee.className)&&ae.node.removeChild(Ee);ts(ie,ae,ye)}function wa(ie,ae,ye,me){var Ee=us(ie,ae);return ae.text=ae.node=Ee.pre,Ee.bgClass&&(ae.bgClass=Ee.bgClass),Ee.textClass&&(ae.textClass=Ee.textClass),pa(ie,ae),ka(ie,ae,ye,me),ts(ie,ae,me),ae.node}function ts(ie,ae,ye){if(Yr(ie,ae.line,ae,ye,!0),ae.rest)for(var me=0;me<ae.rest.length;me++)Yr(ie,ae.rest[me],ae,ye,!1)}function Yr(ie,ae,ye,me,Ee){if(ae.widgets)for(var He=ga(ye),it=0,yt=ae.widgets;it<yt.length;++it){var mt=yt[it],It=at("div",[mt.node],"CodeMirror-linewidget"+(mt.className?" "+mt.className:""));mt.handleMouseEvents||It.setAttribute("cm-ignore-events","true"),Is(mt,It,ye,me),ie.display.input.setUneditable(It),Ee&&mt.above?He.insertBefore(It,ye.gutter||ye.text):He.appendChild(It),Zi(mt,"redraw")}}function Is(ie,ae,ye,me){if(ie.noHScroll){(ye.alignable||(ye.alignable=[])).push(ae);var Ee=me.wrapperWidth;ae.style.left=me.fixedPos+"px",ie.coverGutter||(Ee-=me.gutterTotalWidth,ae.style.paddingLeft=me.gutterTotalWidth+"px"),ae.style.width=Ee+"px"}ie.coverGutter&&(ae.style.zIndex=5,ae.style.position="relative",ie.noHScroll||(ae.style.marginLeft=-me.gutterTotalWidth+"px"))}function Ba(ie){if(ie.height!=null)return ie.height;var ae=ie.doc.cm;if(!ae)return 0;if(!Nt(document.body,ie.node)){var ye="position: relative;";ie.coverGutter&&(ye+="margin-left: -"+ae.display.gutters.offsetWidth+"px;"),ie.noHScroll&&(ye+="width: "+ae.display.wrapper.clientWidth+"px;"),lt(ae.display.measure,at("div",[ie.node],null,ye))}return ie.height=ie.node.parentNode.offsetHeight}function ns(ie,ae){for(var ye=hi(ae);ye!=ie.wrapper;ye=ye.parentNode)if(!ye||ye.nodeType==1&&ye.getAttribute("cm-ignore-events")=="true"||ye.parentNode==ie.sizer&&ye!=ie.mover)return!0}function ws(ie){return ie.lineSpace.offsetTop}function tl(ie){return ie.mover.offsetHeight-ie.lineSpace.offsetHeight}function Fl(ie){if(ie.cachedPaddingH)return ie.cachedPaddingH;var ae=lt(ie.measure,at("pre","x","CodeMirror-line-like")),ye=window.getComputedStyle?window.getComputedStyle(ae):ae.currentStyle,me={left:parseInt(ye.paddingLeft),right:parseInt(ye.paddingRight)};return!isNaN(me.left)&&!isNaN(me.right)&&(ie.cachedPaddingH=me),me}function os(ie){return Jt-ie.display.nativeBarWidth}function za(ie){return ie.display.scroller.clientWidth-os(ie)-ie.display.barWidth}function mu(ie){return ie.display.scroller.clientHeight-os(ie)-ie.display.barHeight}function Yu(ie,ae,ye){var me=ie.options.lineWrapping,Ee=me&&za(ie);if(!ae.measure.heights||me&&ae.measure.width!=Ee){var He=ae.measure.heights=[];if(me){ae.measure.width=Ee;for(var it=ae.text.firstChild.getClientRects(),yt=0;yt<it.length-1;yt++){var mt=it[yt],It=it[yt+1];Math.abs(mt.bottom-It.bottom)>2&&He.push((mt.bottom+It.top)/2-ye.top)}}He.push(ye.bottom-ye.top)}}function Kl(ie,ae,ye){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var me=0;me<ie.rest.length;me++)if(ie.rest[me]==ae)return{map:ie.measure.maps[me],cache:ie.measure.caches[me]};for(var Ee=0;Ee<ie.rest.length;Ee++)if(tn(ie.rest[Ee])>ye)return{map:ie.measure.maps[Ee],cache:ie.measure.caches[Ee],before:!0}}function Zl(ie,ae){ae=Ir(ae);var ye=tn(ae),me=ie.display.externalMeasured=new qa(ie.doc,ae,ye);me.lineN=ye;var Ee=me.built=an(ie,me);return me.text=Ee.pre,lt(ie.display.lineMeasure,Ee.pre),me}function Bs(ie,ae,ye,me){return Bl(ie,hl(ie,ae),ye,me)}function As(ie,ae){if(ae>=ie.display.viewFrom&&ae<ie.display.viewTo)return ie.display.view[bl(ie,ae)];var ye=ie.display.externalMeasured;if(ye&&ae>=ye.lineN&&ae<ye.lineN+ye.size)return ye}function hl(ie,ae){var ye=tn(ae),me=As(ie,ye);me&&!me.text?me=null:me&&me.changes&&(ca(ie,me,ye,_s(ie)),ie.curOp.forceUpdate=!0),me||(me=Zl(ie,ae));var Ee=Kl(me,ae,ye);return{line:ae,view:me,rect:null,map:Ee.map,cache:Ee.cache,before:Ee.before,hasHeights:!1}}function Bl(ie,ae,ye,me,Ee){ae.before&&(ye=-1);var He=ye+(me||""),it;return ae.cache.hasOwnProperty(He)?it=ae.cache[He]:(ae.rect||(ae.rect=ae.view.text.getBoundingClientRect()),ae.hasHeights||(Yu(ie,ae.view,ae.rect),ae.hasHeights=!0),it=$a(ie,ae,ye,me),it.bogus||(ae.cache[He]=it)),{left:it.left,right:it.right,top:Ee?it.rtop:it.top,bottom:Ee?it.rbottom:it.bottom}}var sc={left:0,right:0,top:0,bottom:0};function ku(ie,ae,ye){for(var me,Ee,He,it,yt,mt,It=0;It<ie.length;It+=3)if(yt=ie[It],mt=ie[It+1],ae<yt?(Ee=0,He=1,it="left"):ae<mt?(Ee=ae-yt,He=Ee+1):(It==ie.length-3||ae==mt&&ie[It+3]>ae)&&(He=mt-yt,Ee=He-1,ae>=mt&&(it="right")),Ee!=null){if(me=ie[It+2],yt==mt&&ye==(me.insertLeft?"left":"right")&&(it=ye),ye=="left"&&Ee==0)for(;It&&ie[It-2]==ie[It-3]&&ie[It-1].insertLeft;)me=ie[(It-=3)+2],it="left";if(ye=="right"&&Ee==mt-yt)for(;It<ie.length-3&&ie[It+3]==ie[It+4]&&!ie[It+5].insertLeft;)me=ie[(It+=3)+2],it="right";break}return{node:me,start:Ee,end:He,collapse:it,coverStart:yt,coverEnd:mt}}function Ku(ie,ae){var ye=sc;if(ae=="left")for(var me=0;me<ie.length&&(ye=ie[me]).left==ye.right;me++);else for(var Ee=ie.length-1;Ee>=0&&(ye=ie[Ee]).left==ye.right;Ee--);return ye}function $a(ie,ae,ye,me){var Ee=ku(ae.map,ye,me),He=Ee.node,it=Ee.start,yt=Ee.end,mt=Ee.collapse,It;if(He.nodeType==3){for(var mn=0;mn<4;mn++){for(;it&&Sn(ae.line.text.charAt(Ee.coverStart+it));)--it;for(;Ee.coverStart+yt<Ee.coverEnd&&Sn(ae.line.text.charAt(Ee.coverStart+yt));)++yt;if(Ye&&Pe<9&&it==0&&yt==Ee.coverEnd-Ee.coverStart?It=He.parentNode.getBoundingClientRect():It=Ku(pt(He,it,yt).getClientRects(),me),It.left||It.right||it==0)break;yt=it,it=it-1,mt="right"}Ye&&Pe<11&&(It=Fc(ie.display.measure,It))}else{it>0&&(mt=me="right");var Ut;ie.options.lineWrapping&&(Ut=He.getClientRects()).length>1?It=Ut[me=="right"?Ut.length-1:0]:It=He.getBoundingClientRect()}if(Ye&&Pe<9&&!it&&(!It||!It.left&&!It.right)){var zn=He.parentNode.getClientRects()[0];zn?It={left:zn.left,right:zn.left+Js(ie.display),top:zn.top,bottom:zn.bottom}:It=sc}for(var Rn=It.top-ae.rect.top,Bi=It.bottom-ae.rect.top,Ui=(Rn+Bi)/2,nr=ae.view.measure.heights,Ar=0;Ar<nr.length-1&&!(Ui<nr[Ar]);Ar++);var Qr=Ar?nr[Ar-1]:0,Dr=nr[Ar],fo={left:(mt=="right"?It.right:It.left)-ae.rect.left,right:(mt=="left"?It.left:It.right)-ae.rect.left,top:Qr,bottom:Dr};return!It.left&&!It.right&&(fo.bogus=!0),ie.options.singleCursorHeightPerLine||(fo.rtop=Rn,fo.rbottom=Bi),fo}function Fc(ie,ae){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ri(ie))return ae;var ye=screen.logicalXDPI/screen.deviceXDPI,me=screen.logicalYDPI/screen.deviceYDPI;return{left:ae.left*ye,right:ae.right*ye,top:ae.top*me,bottom:ae.bottom*me}}function Bc(ie){if(ie.measure&&(ie.measure.cache={},ie.measure.heights=null,ie.rest))for(var ae=0;ae<ie.rest.length;ae++)ie.measure.caches[ae]={}}function Iu(ie){ie.display.externalMeasure=null,qe(ie.display.lineMeasure);for(var ae=0;ae<ie.display.view.length;ae++)Bc(ie.display.view[ae])}function Zn(ie){Iu(ie),ie.display.cachedCharWidth=ie.display.cachedTextHeight=ie.display.cachedPaddingH=null,ie.options.lineWrapping||(ie.display.maxLineChanged=!0),ie.display.lineNumChars=null}function Sr(){return Ze&&te?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Kr(){return Ze&&te?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function no(ie){var ae=0;if(ie.widgets)for(var ye=0;ye<ie.widgets.length;++ye)ie.widgets[ye].above&&(ae+=Ba(ie.widgets[ye]));return ae}function Lo(ie,ae,ye,me,Ee){if(!Ee){var He=no(ae);ye.top+=He,ye.bottom+=He}if(me=="line")return ye;me||(me="local");var it=Ji(ae);if(me=="local"?it+=ws(ie.display):it-=ie.display.viewOffset,me=="page"||me=="window"){var yt=ie.display.lineSpace.getBoundingClientRect();it+=yt.top+(me=="window"?0:Kr());var mt=yt.left+(me=="window"?0:Sr());ye.left+=mt,ye.right+=mt}return ye.top+=it,ye.bottom+=it,ye}function Xo(ie,ae,ye){if(ye=="div")return ae;var me=ae.left,Ee=ae.top;if(ye=="page")me-=Sr(),Ee-=Kr();else if(ye=="local"||!ye){var He=ie.display.sizer.getBoundingClientRect();me+=He.left,Ee+=He.top}var it=ie.display.lineSpace.getBoundingClientRect();return{left:me-it.left,top:Ee-it.top}}function La(ie,ae,ye,me,Ee){return me||(me=Un(ie.doc,ae.line)),Lo(ie,me,Bs(ie,me,ae.ch,Ee),ye)}function Wo(ie,ae,ye,me,Ee,He){me=me||Un(ie.doc,ae.line),Ee||(Ee=hl(ie,me));function it(Bi,Ui){var nr=Bl(ie,Ee,Bi,Ui?"right":"left",He);return Ui?nr.left=nr.right:nr.right=nr.left,Lo(ie,me,nr,ye)}var yt=ei(me,ie.doc.direction),mt=ae.ch,It=ae.sticky;if(mt>=me.text.length?(mt=me.text.length,It="before"):mt<=0&&(mt=0,It="after"),!yt)return it(It=="before"?mt-1:mt,It=="before");function mn(Bi,Ui,nr){var Ar=yt[Ui],Qr=Ar.level==1;return it(nr?Bi-1:Bi,Qr!=nr)}var Ut=rn(yt,mt,It),zn=_n,Rn=mn(mt,Ut,It=="before");return zn!=null&&(Rn.other=mn(mt,zn,It!="before")),Rn}function vs(ie,ae){var ye=0;ae=sr(ie.doc,ae),ie.options.lineWrapping||(ye=Js(ie.display)*ae.ch);var me=Un(ie.doc,ae.line),Ee=Ji(me)+ws(ie.display);return{left:ye,right:ye,top:Ee,bottom:Ee+me.height}}function Ia(ie,ae,ye,me,Ee){var He=jn(ie,ae,ye);return He.xRel=Ee,me&&(He.outside=me),He}function gs(ie,ae,ye){var me=ie.doc;if(ye+=ie.display.viewOffset,ye<0)return Ia(me.first,0,null,-1,-1);var Ee=Hi(me,ye),He=me.first+me.size-1;if(Ee>He)return Ia(me.first+me.size-1,Un(me,He).text.length,null,1,1);ae<0&&(ae=0);for(var it=Un(me,Ee);;){var yt=Jn(ie,it,Ee,ae,ye),mt=Mo(it,yt.ch+(yt.xRel>0||yt.outside>0?1:0));if(!mt)return yt;var It=mt.find(1);if(It.line==Ee)return It;it=Un(me,Ee=It.line)}}function cr(ie,ae,ye,me){me-=no(ae);var Ee=ae.text.length,He=ui(function(it){return Bl(ie,ye,it-1).bottom<=me},Ee,0);return Ee=ui(function(it){return Bl(ie,ye,it).top>me},He,Ee),{begin:He,end:Ee}}function _l(ie,ae,ye,me){ye||(ye=hl(ie,ae));var Ee=Lo(ie,ae,Bl(ie,ye,me),"line").top;return cr(ie,ae,ye,Ee)}function Ht(ie,ae,ye,me){return ie.bottom<=ye?!1:ie.top>ye?!0:(me?ie.left:ie.right)>ae}function Jn(ie,ae,ye,me,Ee){Ee-=Ji(ae);var He=hl(ie,ae),it=no(ae),yt=0,mt=ae.text.length,It=!0,mn=ei(ae,ie.doc.direction);if(mn){var Ut=(ie.options.lineWrapping?Mu:vu)(ie,ae,ye,He,mn,me,Ee);It=Ut.level!=1,yt=It?Ut.from:Ut.to-1,mt=It?Ut.to:Ut.from-1}var zn=null,Rn=null,Bi=ui(function(zo){var Mr=Bl(ie,He,zo);return Mr.top+=it,Mr.bottom+=it,Ht(Mr,me,Ee,!1)?(Mr.top<=Ee&&Mr.left<=me&&(zn=zo,Rn=Mr),!0):!1},yt,mt),Ui,nr,Ar=!1;if(Rn){var Qr=me-Rn.left<Rn.right-me,Dr=Qr==It;Bi=zn+(Dr?0:1),nr=Dr?"after":"before",Ui=Qr?Rn.left:Rn.right}else{!It&&(Bi==mt||Bi==yt)&&Bi++,nr=Bi==0?"after":Bi==ae.text.length?"before":Bl(ie,He,Bi-(It?1:0)).bottom+it<=Ee==It?"after":"before";var fo=Wo(ie,jn(ye,Bi,nr),"line",ae,He);Ui=fo.left,Ar=Ee<fo.top?-1:Ee>=fo.bottom?1:0}return Bi=ni(ae.text,Bi,1),Ia(ye,Bi,nr,Ar,me-Ui)}function vu(ie,ae,ye,me,Ee,He,it){var yt=ui(function(Ut){var zn=Ee[Ut],Rn=zn.level!=1;return Ht(Wo(ie,jn(ye,Rn?zn.to:zn.from,Rn?"before":"after"),"line",ae,me),He,it,!0)},0,Ee.length-1),mt=Ee[yt];if(yt>0){var It=mt.level!=1,mn=Wo(ie,jn(ye,It?mt.from:mt.to,It?"after":"before"),"line",ae,me);Ht(mn,He,it,!0)&&mn.top>it&&(mt=Ee[yt-1])}return mt}function Mu(ie,ae,ye,me,Ee,He,it){var yt=cr(ie,ae,me,it),mt=yt.begin,It=yt.end;/\s/.test(ae.text.charAt(It-1))&&It--;for(var mn=null,Ut=null,zn=0;zn<Ee.length;zn++){var Rn=Ee[zn];if(!(Rn.from>=It||Rn.to<=mt)){var Bi=Rn.level!=1,Ui=Bl(ie,me,Bi?Math.min(It,Rn.to)-1:Math.max(mt,Rn.from)).right,nr=Ui<He?He-Ui+1e9:Ui-He;(!mn||Ut>nr)&&(mn=Rn,Ut=nr)}}return mn||(mn=Ee[Ee.length-1]),mn.from<mt&&(mn={from:mt,to:mn.to,level:mn.level}),mn.to>It&&(mn={from:mn.from,to:It,level:mn.level}),mn}var Ul;function nl(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(Ul==null){Ul=at("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)Ul.appendChild(document.createTextNode("x")),Ul.appendChild(at("br"));Ul.appendChild(document.createTextNode("x"))}lt(ie.measure,Ul);var ye=Ul.offsetHeight/50;return ye>3&&(ie.cachedTextHeight=ye),qe(ie.measure),ye||1}function Js(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=at("span","xxxxxxxxxx"),ye=at("pre",[ae],"CodeMirror-line-like");lt(ie.measure,ye);var me=ae.getBoundingClientRect(),Ee=(me.right-me.left)/10;return Ee>2&&(ie.cachedCharWidth=Ee),Ee||10}function _s(ie){for(var ae=ie.display,ye={},me={},Ee=ae.gutters.clientLeft,He=ae.gutters.firstChild,it=0;He;He=He.nextSibling,++it){var yt=ie.display.gutterSpecs[it].className;ye[yt]=He.offsetLeft+He.clientLeft+Ee,me[yt]=He.clientWidth}return{fixedPos:il(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:ye,gutterWidth:me,wrapperWidth:ae.wrapper.clientWidth}}function il(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function _a(ie){var ae=nl(ie.display),ye=ie.options.lineWrapping,me=ye&&Math.max(5,ie.display.scroller.clientWidth/Js(ie.display)-3);return function(Ee){if(fn(ie.doc,Ee))return 0;var He=0;if(Ee.widgets)for(var it=0;it<Ee.widgets.length;it++)Ee.widgets[it].height&&(He+=Ee.widgets[it].height);return ye?He+(Math.ceil(Ee.text.length/me)||1)*ae:He+ae}}function eo(ie){var ae=ie.doc,ye=_a(ie);ae.iter(function(me){var Ee=ye(me);Ee!=me.height&&si(me,Ee)})}function Zs(ie,ae,ye,me){var Ee=ie.display;if(!ye&&hi(ae).getAttribute("cm-not-content")=="true")return null;var He,it,yt=Ee.lineSpace.getBoundingClientRect();try{He=ae.clientX-yt.left,it=ae.clientY-yt.top}catch(Ut){return null}var mt=gs(ie,He,it),It;if(me&&mt.xRel>0&&(It=Un(ie.doc,mt.line).text).length==mt.ch){var mn=Et(It,It.length,ie.options.tabSize)-It.length;mt=jn(mt.line,Math.max(0,Math.round((He-Fl(ie.display).left)/Js(ie.display))-mn))}return mt}function bl(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var ye=ie.display.view,me=0;me<ye.length;me++)if(ae-=ye[me].size,ae<0)return me}function Ga(ie,ae,ye,me){ae==null&&(ae=ie.doc.first),ye==null&&(ye=ie.doc.first+ie.doc.size),me||(me=0);var Ee=ie.display;if(me&&ye<Ee.viewTo&&(Ee.updateLineNumbers==null||Ee.updateLineNumbers>ae)&&(Ee.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=Ee.viewTo)Qn&&Ci(ie.doc,ae)<Ee.viewTo&&ys(ie);else if(ye<=Ee.viewFrom)Qn&&ji(ie.doc,ye+me)>Ee.viewFrom?ys(ie):(Ee.viewFrom+=me,Ee.viewTo+=me);else if(ae<=Ee.viewFrom&&ye>=Ee.viewTo)ys(ie);else if(ae<=Ee.viewFrom){var He=rl(ie,ye,ye+me,1);He?(Ee.view=Ee.view.slice(He.index),Ee.viewFrom=He.lineN,Ee.viewTo+=me):ys(ie)}else if(ye>=Ee.viewTo){var it=rl(ie,ae,ae,-1);it?(Ee.view=Ee.view.slice(0,it.index),Ee.viewTo=it.lineN):ys(ie)}else{var yt=rl(ie,ae,ae,-1),mt=rl(ie,ye,ye+me,1);yt&&mt?(Ee.view=Ee.view.slice(0,yt.index).concat(Co(ie,yt.lineN,mt.lineN)).concat(Ee.view.slice(mt.index)),Ee.viewTo+=me):ys(ie)}var It=Ee.externalMeasured;It&&(ye<It.lineN?It.lineN+=me:ae<It.lineN+It.size&&(Ee.externalMeasured=null))}function Ho(ie,ae,ye){ie.curOp.viewChanged=!0;var me=ie.display,Ee=ie.display.externalMeasured;if(Ee&&ae>=Ee.lineN&&ae<Ee.lineN+Ee.size&&(me.externalMeasured=null),!(ae<me.viewFrom||ae>=me.viewTo)){var He=me.view[bl(ie,ae)];if(He.node!=null){var it=He.changes||(He.changes=[]);ot(it,ye)==-1&&it.push(ye)}}}function ys(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function rl(ie,ae,ye,me){var Ee=bl(ie,ae),He,it=ie.display.view;if(!Qn||ye==ie.doc.first+ie.doc.size)return{index:Ee,lineN:ye};for(var yt=ie.display.viewFrom,mt=0;mt<Ee;mt++)yt+=it[mt].size;if(yt!=ae){if(me>0){if(Ee==it.length-1)return null;He=yt+it[Ee].size-ae,Ee++}else He=yt-ae;ae+=He,ye+=He}for(;Ci(ie.doc,ye)!=ye;){if(Ee==(me<0?0:it.length-1))return null;ye+=me*it[Ee-(me<0?1:0)].size,Ee+=me}return{index:Ee,lineN:ye}}function Wa(ie,ae,ye){var me=ie.display,Ee=me.view;Ee.length==0||ae>=me.viewTo||ye<=me.viewFrom?(me.view=Co(ie,ae,ye),me.viewFrom=ae):(me.viewFrom>ae?me.view=Co(ie,ae,me.viewFrom).concat(me.view):me.viewFrom<ae&&(me.view=me.view.slice(bl(ie,ae))),me.viewFrom=ae,me.viewTo<ye?me.view=me.view.concat(Co(ie,me.viewTo,ye)):me.viewTo>ye&&(me.view=me.view.slice(0,bl(ie,ye)))),me.viewTo=ye}function fl(ie){for(var ae=ie.display.view,ye=0,me=0;me<ae.length;me++){var Ee=ae[me];!Ee.hidden&&(!Ee.node||Ee.changes)&&++ye}return ye}function Us(ie){ie.display.input.showSelection(ie.display.input.prepareSelection())}function yu(ie,ae){ae===void 0&&(ae=!0);for(var ye=ie.doc,me={},Ee=me.cursors=document.createDocumentFragment(),He=me.selection=document.createDocumentFragment(),it=0;it<ye.sel.ranges.length;it++)if(!(!ae&&it==ye.sel.primIndex)){var yt=ye.sel.ranges[it];if(!(yt.from().line>=ie.display.viewTo||yt.to().line<ie.display.viewFrom)){var mt=yt.empty();(mt||ie.options.showCursorWhenSelecting)&&da(ie,yt.head,Ee),mt||Qo(ie,yt,He)}}return me}function da(ie,ae,ye){var me=Wo(ie,ae,"div",null,null,!ie.options.singleCursorHeightPerLine),Ee=ye.appendChild(at("div","\xA0","CodeMirror-cursor"));if(Ee.style.left=me.left+"px",Ee.style.top=me.top+"px",Ee.style.height=Math.max(0,me.bottom-me.top)*ie.options.cursorHeight+"px",me.other){var He=ye.appendChild(at("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));He.style.display="",He.style.left=me.other.left+"px",He.style.top=me.other.top+"px",He.style.height=(me.other.bottom-me.other.top)*.85+"px"}}function Vs(ie,ae){return ie.top-ae.top||ie.left-ae.left}function Qo(ie,ae,ye){var me=ie.display,Ee=ie.doc,He=document.createDocumentFragment(),it=Fl(ie.display),yt=it.left,mt=Math.max(me.sizerWidth,za(ie)-me.sizer.offsetLeft)-it.right,It=Ee.direction=="ltr";function mn(Dr,fo,zo,Mr){fo<0&&(fo=0),fo=Math.round(fo),Mr=Math.round(Mr),He.appendChild(at("div",null,"CodeMirror-selected","position: absolute; left: "+Dr+`px;
|
|
|
top: `+fo+"px; width: "+(zo==null?mt-Dr:zo)+`px;
|
|
|
height: `+(Mr-fo)+"px"))}function Ut(Dr,fo,zo){var Mr=Un(Ee,Dr),ma=Mr.text.length,Ns,yl;function Hs(ul,Bu){return La(ie,jn(Dr,ul),"div",Mr,Bu)}function Cu(ul,Bu,zl){var cl=_l(ie,Mr,null,ul),Ja=Bu=="ltr"==(zl=="after")?"left":"right",js=zl=="after"?cl.begin:cl.end-(/\s/.test(Mr.text.charAt(cl.end-1))?2:1);return Hs(js,Ja)[Ja]}var eu=ei(Mr,Ee.direction);return vn(eu,fo||0,zo==null?ma:zo,function(ul,Bu,zl,cl){var Ja=zl=="ltr",js=Hs(ul,Ja?"left":"right"),Tl=Hs(Bu-1,Ja?"right":"left"),jl=fo==null&&ul==0,Ac=zo==null&&Bu==ma,zs=cl==0,gc=!eu||cl==eu.length-1;if(Tl.top-js.top<=3){var Ys=(It?jl:Ac)&&zs,Cf=(It?Ac:jl)&&gc,$u=Ys?yt:(Ja?js:Tl).left,_u=Cf?mt:(Ja?Tl:js).right;mn($u,js.top,_u-$u,js.bottom)}else{var Tu,Es,Al,$c;Ja?(Tu=It&&jl&&zs?yt:js.left,Es=It?mt:Cu(ul,zl,"before"),Al=It?yt:Cu(Bu,zl,"after"),$c=It&&Ac&&gc?mt:Tl.right):(Tu=It?Cu(ul,zl,"before"):yt,Es=!It&&jl&&zs?mt:js.right,Al=!It&&Ac&&gc?yt:Tl.left,$c=It?Cu(Bu,zl,"after"):mt),mn(Tu,js.top,Es-Tu,js.bottom),js.bottom<Tl.top&&mn(yt,js.bottom,null,Tl.top),mn(Al,Tl.top,$c-Al,Tl.bottom)}(!Ns||Vs(js,Ns)<0)&&(Ns=js),Vs(Tl,Ns)<0&&(Ns=Tl),(!yl||Vs(js,yl)<0)&&(yl=js),Vs(Tl,yl)<0&&(yl=Tl)}),{start:Ns,end:yl}}var zn=ae.from(),Rn=ae.to();if(zn.line==Rn.line)Ut(zn.line,zn.ch,Rn.ch);else{var Bi=Un(Ee,zn.line),Ui=Un(Ee,Rn.line),nr=Ir(Bi)==Ir(Ui),Ar=Ut(zn.line,zn.ch,nr?Bi.text.length+1:null).end,Qr=Ut(Rn.line,nr?0:null,Rn.ch).start;nr&&(Ar.top<Qr.top-2?(mn(Ar.right,Ar.top,null,Ar.bottom),mn(yt,Qr.top,Qr.left,Qr.bottom)):mn(Ar.right,Ar.top,Qr.left-Ar.right,Ar.bottom)),Ar.bottom<Qr.top&&mn(yt,Ar.bottom,null,Qr.top)}ye.appendChild(He)}function Oa(ie){if(ie.state.focused){var ae=ie.display;clearInterval(ae.blinker);var ye=!0;ae.cursorDiv.style.visibility="",ie.options.cursorBlinkRate>0?ae.blinker=setInterval(function(){ie.hasFocus()||lc(ie),ae.cursorDiv.style.visibility=(ye=!ye)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function Va(ie){ie.state.focused||(ie.display.input.focus(),va(ie))}function is(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,lc(ie))},100)}function va(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||($t(ie,"focus",ie,ae),ie.state.focused=!0,Zt(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),Ue&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),Oa(ie))}function lc(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&($t(ie,"blur",ie,ae),ie.state.focused=!1,Ke(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function Or(ie){for(var ae=ie.display,ye=ae.lineDiv.offsetTop,me=0;me<ae.view.length;me++){var Ee=ae.view[me],He=ie.options.lineWrapping,it=void 0,yt=0;if(!Ee.hidden){if(Ye&&Pe<8){var mt=Ee.node.offsetTop+Ee.node.offsetHeight;it=mt-ye,ye=mt}else{var It=Ee.node.getBoundingClientRect();it=It.bottom-It.top,!He&&Ee.text.firstChild&&(yt=Ee.text.firstChild.getBoundingClientRect().right-It.left-1)}var mn=Ee.line.height-it;if((mn>.005||mn<-.005)&&(si(Ee.line,it),Md(Ee.line),Ee.rest))for(var Ut=0;Ut<Ee.rest.length;Ut++)Md(Ee.rest[Ut]);if(yt>ie.display.sizerWidth){var zn=Math.ceil(yt/Js(ie.display));zn>ie.display.maxLineLength&&(ie.display.maxLineLength=zn,ie.display.maxLine=Ee.line,ie.display.maxLineChanged=!0)}}}}function Md(ie){if(ie.widgets)for(var ae=0;ae<ie.widgets.length;++ae){var ye=ie.widgets[ae],me=ye.node.parentNode;me&&(ye.height=me.offsetHeight)}}function ra(ie,ae,ye){var me=ye&&ye.top!=null?Math.max(0,ye.top):ie.scroller.scrollTop;me=Math.floor(me-ws(ie));var Ee=ye&&ye.bottom!=null?ye.bottom:me+ie.wrapper.clientHeight,He=Hi(ae,me),it=Hi(ae,Ee);if(ye&&ye.ensure){var yt=ye.ensure.from.line,mt=ye.ensure.to.line;yt<He?(He=yt,it=Hi(ae,Ji(Un(ae,yt))+ie.wrapper.clientHeight)):Math.min(mt,ae.lastLine())>=it&&(He=Hi(ae,Ji(Un(ae,mt))-ie.wrapper.clientHeight),it=mt)}return{from:He,to:Math.max(it,He+1)}}function Rd(ie,ae){if(!_e(ie,"scrollCursorIntoView")){var ye=ie.display,me=ye.sizer.getBoundingClientRect(),Ee=null;if(ae.top+me.top<0?Ee=!0:ae.bottom+me.top>(window.innerHeight||document.documentElement.clientHeight)&&(Ee=!1),Ee!=null&&!Mt){var He=at("div","\u200B",null,`position: absolute;
|
|
|
top: `+(ae.top-ye.viewOffset-ws(ie.display))+`px;
|
|
|
height: `+(ae.bottom-ae.top+os(ie)+ye.barHeight)+`px;
|
|
|
left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(He),He.scrollIntoView(Ee),ie.display.lineSpace.removeChild(He)}}}function uc(ie,ae,ye,me){me==null&&(me=0);var Ee;!ie.options.lineWrapping&&ae==ye&&(ae=ae.ch?jn(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,ye=ae.sticky=="before"?jn(ae.line,ae.ch+1,"before"):ae);for(var He=0;He<5;He++){var it=!1,yt=Wo(ie,ae),mt=!ye||ye==ae?yt:Wo(ie,ye);Ee={left:Math.min(yt.left,mt.left),top:Math.min(yt.top,mt.top)-me,right:Math.max(yt.left,mt.left),bottom:Math.max(yt.bottom,mt.bottom)+me};var It=fd(ie,Ee),mn=ie.doc.scrollTop,Ut=ie.doc.scrollLeft;if(It.scrollTop!=null&&(Dt(ie,It.scrollTop),Math.abs(ie.doc.scrollTop-mn)>1&&(it=!0)),It.scrollLeft!=null&&(zt(ie,It.scrollLeft),Math.abs(ie.doc.scrollLeft-Ut)>1&&(it=!0)),!it)break}return Ee}function _c(ie,ae){var ye=fd(ie,ae);ye.scrollTop!=null&&Dt(ie,ye.scrollTop),ye.scrollLeft!=null&&zt(ie,ye.scrollLeft)}function fd(ie,ae){var ye=ie.display,me=nl(ie.display);ae.top<0&&(ae.top=0);var Ee=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:ye.scroller.scrollTop,He=mu(ie),it={};ae.bottom-ae.top>He&&(ae.bottom=ae.top+He);var yt=ie.doc.height+tl(ye),mt=ae.top<me,It=ae.bottom>yt-me;if(ae.top<Ee)it.scrollTop=mt?0:ae.top;else if(ae.bottom>Ee+He){var mn=Math.min(ae.top,(It?yt:ae.bottom)-He);mn!=Ee&&(it.scrollTop=mn)}var Ut=ie.options.fixedGutter?0:ye.gutters.offsetWidth,zn=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:ye.scroller.scrollLeft-Ut,Rn=za(ie)-ye.gutters.offsetWidth,Bi=ae.right-ae.left>Rn;return Bi&&(ae.right=ae.left+Rn),ae.left<10?it.scrollLeft=0:ae.left<zn?it.scrollLeft=Math.max(0,ae.left+Ut-(Bi?0:10)):ae.right>Rn+zn-3&&(it.scrollLeft=ae.right+(Bi?0:10)-Rn),it}function Ru(ie,ae){ae!=null&&(Xu(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function Su(ie){Xu(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function Zu(ie,ae,ye){(ae!=null||ye!=null)&&Xu(ie),ae!=null&&(ie.curOp.scrollLeft=ae),ye!=null&&(ie.curOp.scrollTop=ye)}function ya(ie,ae){Xu(ie),ie.curOp.scrollToPos=ae}function Xu(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var ye=vs(ie,ae.from),me=vs(ie,ae.to);ht(ie,ye,me,ae.margin)}}function ht(ie,ae,ye,me){var Ee=fd(ie,{left:Math.min(ae.left,ye.left),top:Math.min(ae.top,ye.top)-me,right:Math.max(ae.right,ye.right),bottom:Math.max(ae.bottom,ye.bottom)+me});Zu(ie,Ee.scrollLeft,Ee.scrollTop)}function Dt(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(ce||St(ie,{top:ae}),_t(ie,ae,!0),ce&&St(ie),Uo(ie,100))}function _t(ie,ae,ye){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!ye)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function zt(ie,ae,ye,me){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((ye?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!me)&&(ie.doc.scrollLeft=ae,wn(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function ln(ie){var ae=ie.display,ye=ae.gutters.offsetWidth,me=Math.round(ie.doc.height+tl(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?ye:0,docHeight:me,scrollHeight:me+os(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:ye}}var En=function(ie,ae,ye){this.cm=ye;var me=this.vert=at("div",[at("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Ee=this.horiz=at("div",[at("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");me.tabIndex=Ee.tabIndex=-1,ie(me),ie(Ee),cn(me,"scroll",function(){me.clientHeight&&ae(me.scrollTop,"vertical")}),cn(Ee,"scroll",function(){Ee.clientWidth&&ae(Ee.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ye&&Pe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};En.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,ye=ie.scrollHeight>ie.clientHeight+1,me=ie.nativeBarWidth;if(ye){this.vert.style.display="block",this.vert.style.bottom=ae?me+"px":"0";var Ee=ie.viewHeight-(ae?me:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+Ee)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=ye?me+"px":"0",this.horiz.style.left=ie.barLeft+"px";var He=ie.viewWidth-ie.barLeft-(ye?me:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+He)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(me==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ye?me:0,bottom:ae?me:0}},En.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},En.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},En.prototype.zeroWidthHack=function(){var ie=de&&!Qe?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new nt,this.disableVert=new nt},En.prototype.enableZeroWidthBar=function(ie,ae,ye){ie.style.pointerEvents="auto";function me(){var Ee=ie.getBoundingClientRect(),He=ye=="vert"?document.elementFromPoint(Ee.right-1,(Ee.top+Ee.bottom)/2):document.elementFromPoint((Ee.right+Ee.left)/2,Ee.bottom-1);He!=ie?ie.style.pointerEvents="none":ae.set(1e3,me)}ae.set(1e3,me)},En.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var Tn=function(){};Tn.prototype.update=function(){return{bottom:0,right:0}},Tn.prototype.setScrollLeft=function(){},Tn.prototype.setScrollTop=function(){},Tn.prototype.clear=function(){};function Vn(ie,ae){ae||(ae=ln(ie));var ye=ie.display.barWidth,me=ie.display.barHeight;mi(ie,ae);for(var Ee=0;Ee<4&&ye!=ie.display.barWidth||me!=ie.display.barHeight;Ee++)ye!=ie.display.barWidth&&ie.options.lineWrapping&&Or(ie),mi(ie,ln(ie)),ye=ie.display.barWidth,me=ie.display.barHeight}function mi(ie,ae){var ye=ie.display,me=ye.scrollbars.update(ae);ye.sizer.style.paddingRight=(ye.barWidth=me.right)+"px",ye.sizer.style.paddingBottom=(ye.barHeight=me.bottom)+"px",ye.heightForcer.style.borderBottom=me.bottom+"px solid transparent",me.right&&me.bottom?(ye.scrollbarFiller.style.display="block",ye.scrollbarFiller.style.height=me.bottom+"px",ye.scrollbarFiller.style.width=me.right+"px"):ye.scrollbarFiller.style.display="",me.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(ye.gutterFiller.style.display="block",ye.gutterFiller.style.height=me.bottom+"px",ye.gutterFiller.style.width=ae.gutterWidth+"px"):ye.gutterFiller.style.display=""}var li={native:En,null:Tn};function Fi(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&&Ke(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new li[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),cn(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,ye){ye=="horizontal"?zt(ie,ae):Dt(ie,ae)},ie),ie.display.scrollbars.addClass&&Zt(ie.display.wrapper,ie.display.scrollbars.addClass)}var gi=0;function Ai(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.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:++gi},wr(ie.curOp)}function xi(ie){var ae=ie.curOp;ae&&ho(ae,function(ye){for(var me=0;me<ye.ops.length;me++)ye.ops[me].cm.curOp=null;zi(ye)})}function zi(ie){for(var ae=ie.ops,ye=0;ye<ae.length;ye++)fr(ae[ye]);for(var me=0;me<ae.length;me++)Nr(ae[me]);for(var Ee=0;Ee<ae.length;Ee++)zr(ae[Ee]);for(var He=0;He<ae.length;He++)Yi(ae[He]);for(var it=0;it<ae.length;it++)Tr(ae[it])}function fr(ie){var ae=ie.cm,ye=ae.display;Ce(ae),ie.updateMaxLine&&io(ae),ie.mustUpdate=ie.viewChanged||ie.forceUpdate||ie.scrollTop!=null||ie.scrollToPos&&(ie.scrollToPos.from.line<ye.viewFrom||ie.scrollToPos.to.line>=ye.viewTo)||ye.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new Jo(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function Nr(ie){ie.updatedDisplay=ie.mustUpdate&&et(ie.cm,ie.update)}function zr(ie){var ae=ie.cm,ye=ae.display;ie.updatedDisplay&&Or(ae),ie.barMeasure=ln(ae),ye.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=Bs(ae,ye.maxLine,ye.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(ye.scroller.clientWidth,ye.sizer.offsetLeft+ie.adjustWidthTo+os(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,ye.sizer.offsetLeft+ie.adjustWidthTo-za(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=ye.input.prepareSelection())}function Yi(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft<ae.doc.scrollLeft&&zt(ae,Math.min(ae.display.scroller.scrollLeft,ie.maxScrollLeft),!0),ae.display.maxLineChanged=!1);var ye=ie.focus&&ie.focus==Xt();ie.preparedSelection&&ae.display.input.showSelection(ie.preparedSelection,ye),(ie.updatedDisplay||ie.startHeight!=ae.doc.height)&&Vn(ae,ie.barMeasure),ie.updatedDisplay&&xn(ae,ie.barMeasure),ie.selectionChanged&&Oa(ae),ae.state.focused&&ie.updateInput&&ae.display.input.reset(ie.typing),ye&&Va(ie.cm)}function Tr(ie){var ae=ie.cm,ye=ae.display,me=ae.doc;if(ie.updatedDisplay&>(ae,ie.update),ye.wheelStartX!=null&&(ie.scrollTop!=null||ie.scrollLeft!=null||ie.scrollToPos)&&(ye.wheelStartX=ye.wheelStartY=null),ie.scrollTop!=null&&_t(ae,ie.scrollTop,ie.forceScroll),ie.scrollLeft!=null&&zt(ae,ie.scrollLeft,!0,!0),ie.scrollToPos){var Ee=uc(ae,sr(me,ie.scrollToPos.from),sr(me,ie.scrollToPos.to),ie.scrollToPos.margin);Rd(ae,Ee)}var He=ie.maybeHiddenMarkers,it=ie.maybeUnhiddenMarkers;if(He)for(var yt=0;yt<He.length;++yt)He[yt].lines.length||$t(He[yt],"hide");if(it)for(var mt=0;mt<it.length;++mt)it[mt].lines.length&&$t(it[mt],"unhide");ye.wrapper.offsetHeight&&(me.scrollTop=ae.display.scroller.scrollTop),ie.changeObjs&&$t(ae,"changes",ae,ie.changeObjs),ie.update&&ie.update.finish()}function ur(ie,ae){if(ie.curOp)return ae();Ai(ie);try{return ae()}finally{xi(ie)}}function Ur(ie,ae){return function(){if(ie.curOp)return ae.apply(ie,arguments);Ai(ie);try{return ae.apply(ie,arguments)}finally{xi(ie)}}}function mo(ie){return function(){if(this.curOp)return ie.apply(this,arguments);Ai(this);try{return ie.apply(this,arguments)}finally{xi(this)}}}function Fr(ie){return function(){var ae=this.cm;if(!ae||ae.curOp)return ie.apply(this,arguments);Ai(ae);try{return ie.apply(this,arguments)}finally{xi(ae)}}}function Uo(ie,ae){ie.doc.highlightFrontier<ie.display.viewTo&&ie.state.highlight.set(ae,on(wo,ie))}function wo(ie){var ae=ie.doc;if(!(ae.highlightFrontier>=ie.display.viewTo)){var ye=+new Date+ie.options.workTime,me=Sa(ie,ae.highlightFrontier),Ee=[];ae.iter(me.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(He){if(me.line>=ie.display.viewFrom){var it=He.styles,yt=He.text.length>ie.options.maxHighlightLength?Mi(ae.mode,me.state):null,mt=ja(ie,He,me,!0);yt&&(me.state=yt),He.styles=mt.styles;var It=He.styleClasses,mn=mt.classes;mn?He.styleClasses=mn:It&&(He.styleClasses=null);for(var Ut=!it||it.length!=He.styles.length||It!=mn&&(!It||!mn||It.bgClass!=mn.bgClass||It.textClass!=mn.textClass),zn=0;!Ut&&zn<it.length;++zn)Ut=it[zn]!=He.styles[zn];Ut&&Ee.push(me.line),He.stateAfter=me.save(),me.nextLine()}else He.text.length<=ie.options.maxHighlightLength&&nn(ie,He.text,me),He.stateAfter=me.line%5==0?me.save():null,me.nextLine();if(+new Date>ye)return Uo(ie,ie.options.workDelay),!0}),ae.highlightFrontier=me.line,ae.modeFrontier=Math.max(ae.modeFrontier,me.line),Ee.length&&ur(ie,function(){for(var He=0;He<Ee.length;He++)Ho(ie,Ee[He],"text")})}}var Jo=function(ie,ae,ye){var me=ie.display;this.viewport=ae,this.visible=ra(me,ie.doc,ae),this.editorIsHidden=!me.wrapper.offsetWidth,this.wrapperHeight=me.wrapper.clientHeight,this.wrapperWidth=me.wrapper.clientWidth,this.oldDisplayWidth=za(ie),this.force=ye,this.dims=_s(ie),this.events=[]};Jo.prototype.signal=function(ie,ae){er(ie,ae)&&this.events.push(arguments)},Jo.prototype.finish=function(){for(var ie=0;ie<this.events.length;ie++)$t.apply(null,this.events[ie])};function Ce(ie){var ae=ie.display;!ae.scrollbarsClipped&&ae.scroller.offsetWidth&&(ae.nativeBarWidth=ae.scroller.offsetWidth-ae.scroller.clientWidth,ae.heightForcer.style.height=os(ie)+"px",ae.sizer.style.marginBottom=-ae.nativeBarWidth+"px",ae.sizer.style.borderRightWidth=os(ie)+"px",ae.scrollbarsClipped=!0)}function ze(ie){if(ie.hasFocus())return null;var ae=Xt();if(!ae||!Nt(ie.display.lineDiv,ae))return null;var ye={activeElt:ae};if(window.getSelection){var me=window.getSelection();me.anchorNode&&me.extend&&Nt(ie.display.lineDiv,me.anchorNode)&&(ye.anchorNode=me.anchorNode,ye.anchorOffset=me.anchorOffset,ye.focusNode=me.focusNode,ye.focusOffset=me.focusOffset)}return ye}function Ve(ie){if(!(!ie||!ie.activeElt||ie.activeElt==Xt())&&(ie.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(ie.activeElt.nodeName)&&ie.anchorNode&&Nt(document.body,ie.anchorNode)&&Nt(document.body,ie.focusNode))){var ae=window.getSelection(),ye=document.createRange();ye.setEnd(ie.anchorNode,ie.anchorOffset),ye.collapse(!1),ae.removeAllRanges(),ae.addRange(ye),ae.extend(ie.focusNode,ie.focusOffset)}}function et(ie,ae){var ye=ie.display,me=ie.doc;if(ae.editorIsHidden)return ys(ie),!1;if(!ae.force&&ae.visible.from>=ye.viewFrom&&ae.visible.to<=ye.viewTo&&(ye.updateLineNumbers==null||ye.updateLineNumbers>=ye.viewTo)&&ye.renderedView==ye.view&&fl(ie)==0)return!1;dn(ie)&&(ys(ie),ae.dims=_s(ie));var Ee=me.first+me.size,He=Math.max(ae.visible.from-ie.options.viewportMargin,me.first),it=Math.min(Ee,ae.visible.to+ie.options.viewportMargin);ye.viewFrom<He&&He-ye.viewFrom<20&&(He=Math.max(me.first,ye.viewFrom)),ye.viewTo>it&&ye.viewTo-it<20&&(it=Math.min(Ee,ye.viewTo)),Qn&&(He=Ci(ie.doc,He),it=ji(ie.doc,it));var yt=He!=ye.viewFrom||it!=ye.viewTo||ye.lastWrapHeight!=ae.wrapperHeight||ye.lastWrapWidth!=ae.wrapperWidth;Wa(ie,He,it),ye.viewOffset=Ji(Un(ie.doc,ye.viewFrom)),ie.display.mover.style.top=ye.viewOffset+"px";var mt=fl(ie);if(!yt&&mt==0&&!ae.force&&ye.renderedView==ye.view&&(ye.updateLineNumbers==null||ye.updateLineNumbers>=ye.viewTo))return!1;var It=ze(ie);return mt>4&&(ye.lineDiv.style.display="none"),Pt(ie,ye.updateLineNumbers,ae.dims),mt>4&&(ye.lineDiv.style.display=""),ye.renderedView=ye.view,Ve(It),qe(ye.cursorDiv),qe(ye.selectionDiv),ye.gutters.style.height=ye.sizer.style.minHeight=0,yt&&(ye.lastWrapHeight=ae.wrapperHeight,ye.lastWrapWidth=ae.wrapperWidth,Uo(ie,400)),ye.updateLineNumbers=null,!0}function gt(ie,ae){for(var ye=ae.viewport,me=!0;;me=!1){if(!me||!ie.options.lineWrapping||ae.oldDisplayWidth==za(ie)){if(ye&&ye.top!=null&&(ye={top:Math.min(ie.doc.height+tl(ie.display)-mu(ie),ye.top)}),ae.visible=ra(ie.display,ie.doc,ye),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else me&&(ae.visible=ra(ie.display,ie.doc,ye));if(!et(ie,ae))break;Or(ie);var Ee=ln(ie);Us(ie),Vn(ie,Ee),xn(ie,Ee),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function St(ie,ae){var ye=new Jo(ie,ae);if(et(ie,ye)){Or(ie),gt(ie,ye);var me=ln(ie);Us(ie),Vn(ie,me),xn(ie,me),ye.finish()}}function Pt(ie,ae,ye){var me=ie.display,Ee=ie.options.lineNumbers,He=me.lineDiv,it=He.firstChild;function yt(Bi){var Ui=Bi.nextSibling;return Ue&&de&&ie.display.currentWheelTarget==Bi?Bi.style.display="none":Bi.parentNode.removeChild(Bi),Ui}for(var mt=me.view,It=me.viewFrom,mn=0;mn<mt.length;mn++){var Ut=mt[mn];if(!Ut.hidden)if(!Ut.node||Ut.node.parentNode!=He){var zn=wa(ie,Ut,It,ye);He.insertBefore(zn,it)}else{for(;it!=Ut.node;)it=yt(it);var Rn=Ee&&ae!=null&&ae<=It&&Ut.lineNumber;Ut.changes&&(ot(Ut.changes,"gutter")>-1&&(Rn=!1),ca(ie,Ut,It,ye)),Rn&&(qe(Ut.lineNumber),Ut.lineNumber.appendChild(document.createTextNode(Hr(ie.options,It)))),it=Ut.node.nextSibling}It+=Ut.size}for(;it;)it=yt(it)}function Vt(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function xn(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+os(ie)+"px"}function wn(ie){var ae=ie.display,ye=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var me=il(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,Ee=ae.gutters.offsetWidth,He=me+"px",it=0;it<ye.length;it++)if(!ye[it].hidden){ie.options.fixedGutter&&(ye[it].gutter&&(ye[it].gutter.style.left=He),ye[it].gutterBackground&&(ye[it].gutterBackground.style.left=He));var yt=ye[it].alignable;if(yt)for(var mt=0;mt<yt.length;mt++)yt[mt].style.left=He}ie.options.fixedGutter&&(ae.gutters.style.left=me+Ee+"px")}}function dn(ie){if(!ie.options.lineNumbers)return!1;var ae=ie.doc,ye=Hr(ie.options,ae.first+ae.size-1),me=ie.display;if(ye.length!=me.lineNumChars){var Ee=me.measure.appendChild(at("div",[at("div",ye)],"CodeMirror-linenumber CodeMirror-gutter-elt")),He=Ee.firstChild.offsetWidth,it=Ee.offsetWidth-He;return me.lineGutter.style.width="",me.lineNumInnerWidth=Math.max(He,me.lineGutter.offsetWidth-it)+1,me.lineNumWidth=me.lineNumInnerWidth+it,me.lineNumChars=me.lineNumInnerWidth?ye.length:-1,me.lineGutter.style.width=me.lineNumWidth+"px",Vt(ie.display),!0}return!1}function Gn(ie,ae){for(var ye=[],me=!1,Ee=0;Ee<ie.length;Ee++){var He=ie[Ee],it=null;if(typeof He!="string"&&(it=He.style,He=He.className),He=="CodeMirror-linenumbers")if(ae)me=!0;else continue;ye.push({className:He,style:it})}return ae&&!me&&ye.push({className:"CodeMirror-linenumbers",style:null}),ye}function Wn(ie){var ae=ie.gutters,ye=ie.gutterSpecs;qe(ae),ie.lineGutter=null;for(var me=0;me<ye.length;++me){var Ee=ye[me],He=Ee.className,it=Ee.style,yt=ae.appendChild(at("div",null,"CodeMirror-gutter "+He));it&&(yt.style.cssText=it),He=="CodeMirror-linenumbers"&&(ie.lineGutter=yt,yt.style.width=(ie.lineNumWidth||1)+"px")}ae.style.display=ye.length?"":"none",Vt(ie)}function Pn(ie){Wn(ie.display),Ga(ie),wn(ie)}function le(ie,ae,ye,me){var Ee=this;this.input=ye,Ee.scrollbarFiller=at("div",null,"CodeMirror-scrollbar-filler"),Ee.scrollbarFiller.setAttribute("cm-not-content","true"),Ee.gutterFiller=at("div",null,"CodeMirror-gutter-filler"),Ee.gutterFiller.setAttribute("cm-not-content","true"),Ee.lineDiv=ft("div",null,"CodeMirror-code"),Ee.selectionDiv=at("div",null,null,"position: relative; z-index: 1"),Ee.cursorDiv=at("div",null,"CodeMirror-cursors"),Ee.measure=at("div",null,"CodeMirror-measure"),Ee.lineMeasure=at("div",null,"CodeMirror-measure"),Ee.lineSpace=ft("div",[Ee.measure,Ee.lineMeasure,Ee.selectionDiv,Ee.cursorDiv,Ee.lineDiv],null,"position: relative; outline: none");var He=ft("div",[Ee.lineSpace],"CodeMirror-lines");Ee.mover=at("div",[He],null,"position: relative"),Ee.sizer=at("div",[Ee.mover],"CodeMirror-sizer"),Ee.sizerWidth=null,Ee.heightForcer=at("div",null,null,"position: absolute; height: "+Jt+"px; width: 1px;"),Ee.gutters=at("div",null,"CodeMirror-gutters"),Ee.lineGutter=null,Ee.scroller=at("div",[Ee.sizer,Ee.heightForcer,Ee.gutters],"CodeMirror-scroll"),Ee.scroller.setAttribute("tabIndex","-1"),Ee.wrapper=at("div",[Ee.scrollbarFiller,Ee.gutterFiller,Ee.scroller],"CodeMirror"),Ye&&Pe<8&&(Ee.gutters.style.zIndex=-1,Ee.scroller.style.paddingRight=0),!Ue&&!(ce&&ee)&&(Ee.scroller.draggable=!0),ie&&(ie.appendChild?ie.appendChild(Ee.wrapper):ie(Ee.wrapper)),Ee.viewFrom=Ee.viewTo=ae.first,Ee.reportedViewFrom=Ee.reportedViewTo=ae.first,Ee.view=[],Ee.renderedView=null,Ee.externalMeasured=null,Ee.viewOffset=0,Ee.lastWrapHeight=Ee.lastWrapWidth=0,Ee.updateLineNumbers=null,Ee.nativeBarWidth=Ee.barHeight=Ee.barWidth=0,Ee.scrollbarsClipped=!1,Ee.lineNumWidth=Ee.lineNumInnerWidth=Ee.lineNumChars=null,Ee.alignWidgets=!1,Ee.cachedCharWidth=Ee.cachedTextHeight=Ee.cachedPaddingH=null,Ee.maxLine=null,Ee.maxLineLength=0,Ee.maxLineChanged=!1,Ee.wheelDX=Ee.wheelDY=Ee.wheelStartX=Ee.wheelStartY=null,Ee.shift=!1,Ee.selForContextMenu=null,Ee.activeTouch=null,Ee.gutterSpecs=Gn(me.gutters,me.lineNumbers),Wn(Ee),ye.init(Ee)}var pe=0,Ge=null;Ye?Ge=-.53:ce?Ge=15:Ze?Ge=-.7:xt&&(Ge=-1/3);function Ct(ie){var ae=ie.wheelDeltaX,ye=ie.wheelDeltaY;return ae==null&&ie.detail&&ie.axis==ie.HORIZONTAL_AXIS&&(ae=ie.detail),ye==null&&ie.detail&&ie.axis==ie.VERTICAL_AXIS?ye=ie.detail:ye==null&&(ye=ie.wheelDelta),{x:ae,y:ye}}function gn(ie){var ae=Ct(ie);return ae.x*=Ge,ae.y*=Ge,ae}function Cn(ie,ae){var ye=Ct(ae),me=ye.x,Ee=ye.y,He=ie.display,it=He.scroller,yt=it.scrollWidth>it.clientWidth,mt=it.scrollHeight>it.clientHeight;if(me&&yt||Ee&&mt){if(Ee&&de&&Ue){e:for(var It=ae.target,mn=He.view;It!=it;It=It.parentNode)for(var Ut=0;Ut<mn.length;Ut++)if(mn[Ut].node==It){ie.display.currentWheelTarget=It;break e}}if(me&&!ce&&!rt&&Ge!=null){Ee&&mt&&Dt(ie,Math.max(0,it.scrollTop+Ee*Ge)),zt(ie,Math.max(0,it.scrollLeft+me*Ge)),(!Ee||Ee&&mt)&&Rr(ae),He.wheelStartX=null;return}if(Ee&&Ge!=null){var zn=Ee*Ge,Rn=ie.doc.scrollTop,Bi=Rn+He.wrapper.clientHeight;zn<0?Rn=Math.max(0,Rn+zn-50):Bi=Math.min(ie.doc.height,Bi+zn+50),St(ie,{top:Rn,bottom:Bi})}pe<20&&(He.wheelStartX==null?(He.wheelStartX=it.scrollLeft,He.wheelStartY=it.scrollTop,He.wheelDX=me,He.wheelDY=Ee,setTimeout(function(){if(He.wheelStartX!=null){var Ui=it.scrollLeft-He.wheelStartX,nr=it.scrollTop-He.wheelStartY,Ar=nr&&He.wheelDY&&nr/He.wheelDY||Ui&&He.wheelDX&&Ui/He.wheelDX;He.wheelStartX=He.wheelStartY=null,Ar&&(Ge=(Ge*pe+Ar)/(pe+1),++pe)}},200)):(He.wheelDX+=me,He.wheelDY+=Ee))}}var ci=function(ie,ae){this.ranges=ie,this.primIndex=ae};ci.prototype.primary=function(){return this.ranges[this.primIndex]},ci.prototype.equals=function(ie){if(ie==this)return!0;if(ie.primIndex!=this.primIndex||ie.ranges.length!=this.ranges.length)return!1;for(var ae=0;ae<this.ranges.length;ae++){var ye=this.ranges[ae],me=ie.ranges[ae];if(!ao(ye.anchor,me.anchor)||!ao(ye.head,me.head))return!1}return!0},ci.prototype.deepCopy=function(){for(var ie=[],ae=0;ae<this.ranges.length;ae++)ie[ae]=new Ei(jo(this.ranges[ae].anchor),jo(this.ranges[ae].head));return new ci(ie,this.primIndex)},ci.prototype.somethingSelected=function(){for(var ie=0;ie<this.ranges.length;ie++)if(!this.ranges[ie].empty())return!0;return!1},ci.prototype.contains=function(ie,ae){ae||(ae=ie);for(var ye=0;ye<this.ranges.length;ye++){var me=this.ranges[ye];if(qi(ae,me.from())>=0&&qi(ie,me.to())<=0)return ye}return-1};var Ei=function(ie,ae){this.anchor=ie,this.head=ae};Ei.prototype.from=function(){return Vi(this.anchor,this.head)},Ei.prototype.to=function(){return ko(this.anchor,this.head)},Ei.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ii(ie,ae,ye){var me=ie&&ie.options.selectionsMayTouch,Ee=ae[ye];ae.sort(function(zn,Rn){return qi(zn.from(),Rn.from())}),ye=ot(ae,Ee);for(var He=1;He<ae.length;He++){var it=ae[He],yt=ae[He-1],mt=qi(yt.to(),it.from());if(me&&!it.empty()?mt>0:mt>=0){var It=Vi(yt.from(),it.from()),mn=ko(yt.to(),it.to()),Ut=yt.empty()?it.from()==it.head:yt.from()==yt.head;He<=ye&&--ye,ae.splice(--He,2,new Ei(Ut?mn:It,Ut?It:mn))}}return new ci(ae,ye)}function Br(ie,ae){return new ci([new Ei(ie,ae||ie)],0)}function Yo(ie){return ie.text?jn(ie.from.line+ie.text.length-1,$e(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function No(ie,ae){if(qi(ie,ae.from)<0)return ie;if(qi(ie,ae.to)<=0)return Yo(ae);var ye=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,me=ie.ch;return ie.line==ae.to.line&&(me+=Yo(ae).ch-ae.to.ch),jn(ye,me)}function ha(ie,ae){for(var ye=[],me=0;me<ie.sel.ranges.length;me++){var Ee=ie.sel.ranges[me];ye.push(new Ei(No(Ee.anchor,ae),No(Ee.head,ae)))}return ii(ie.cm,ye,ie.sel.primIndex)}function Qa(ie,ae,ye){return ie.line==ae.line?jn(ye.line,ie.ch-ae.ch+ye.ch):jn(ye.line+(ie.line-ae.line),ie.ch)}function Ca(ie,ae,ye){for(var me=[],Ee=jn(ie.first,0),He=Ee,it=0;it<ae.length;it++){var yt=ae[it],mt=Qa(yt.from,Ee,He),It=Qa(Yo(yt),Ee,He);if(Ee=yt.to,He=It,ye=="around"){var mn=ie.sel.ranges[it],Ut=qi(mn.head,mn.anchor)<0;me[it]=new Ei(Ut?It:mt,Ut?mt:It)}else me[it]=new Ei(mt,mt)}return new ci(me,ie.sel.primIndex)}function rr(ie){ie.doc.mode=hn(ie.options,ie.doc.modeOption),Ko(ie)}function Ko(ie){ie.doc.iter(function(ae){ae.stateAfter&&(ae.stateAfter=null),ae.styles&&(ae.styles=null)}),ie.doc.modeFrontier=ie.doc.highlightFrontier=ie.doc.first,Uo(ie,100),ie.state.modeGen++,ie.curOp&&Ga(ie)}function Xr(ie,ae){return ae.from.ch==0&&ae.to.ch==0&&$e(ae.text)==""&&(!ie.cm||ie.cm.options.wholeLineUpdateBefore)}function Ta(ie,ae,ye,me){function Ee(Qr){return ye?ye[Qr]:null}function He(Qr,Dr,fo){yo(Qr,Dr,fo,me),Zi(Qr,"change",Qr,ae)}function it(Qr,Dr){for(var fo=[],zo=Qr;zo<Dr;++zo)fo.push(new qr(It[zo],Ee(zo),me));return fo}var yt=ae.from,mt=ae.to,It=ae.text,mn=Un(ie,yt.line),Ut=Un(ie,mt.line),zn=$e(It),Rn=Ee(It.length-1),Bi=mt.line-yt.line;if(ae.full)ie.insert(0,it(0,It.length)),ie.remove(It.length,ie.size-It.length);else if(Xr(ie,ae)){var Ui=it(0,It.length-1);He(Ut,Ut.text,Rn),Bi&&ie.remove(yt.line,Bi),Ui.length&&ie.insert(yt.line,Ui)}else if(mn==Ut)if(It.length==1)He(mn,mn.text.slice(0,yt.ch)+zn+mn.text.slice(mt.ch),Rn);else{var nr=it(1,It.length-1);nr.push(new qr(zn+mn.text.slice(mt.ch),Rn,me)),He(mn,mn.text.slice(0,yt.ch)+It[0],Ee(0)),ie.insert(yt.line+1,nr)}else if(It.length==1)He(mn,mn.text.slice(0,yt.ch)+It[0]+Ut.text.slice(mt.ch),Ee(0)),ie.remove(yt.line+1,Bi);else{He(mn,mn.text.slice(0,yt.ch)+It[0],Ee(0)),He(Ut,zn+Ut.text.slice(mt.ch),Rn);var Ar=it(1,It.length-1);Bi>1&&ie.remove(yt.line+1,Bi-1),ie.insert(yt.line+1,Ar)}Zi(ie,"change",ie,ae)}function Da(ie,ae,ye){function me(Ee,He,it){if(Ee.linked)for(var yt=0;yt<Ee.linked.length;++yt){var mt=Ee.linked[yt];if(mt.doc!=He){var It=it&&mt.sharedHist;ye&&!It||(ae(mt.doc,It),me(mt.doc,Ee,It))}}}me(ie,null,!0)}function Ya(ie,ae){if(ae.cm)throw new Error("This document is already in use.");ie.doc=ae,ae.cm=ie,eo(ie),rr(ie),qs(ie),ie.options.lineWrapping||io(ie),ie.options.mode=ae.modeOption,Ga(ie)}function qs(ie){(ie.doc.direction=="rtl"?Zt:Ke)(ie.display.lineDiv,"CodeMirror-rtl")}function Hn(ie){ur(ie,function(){qs(ie),Ga(ie)})}function Ms(ie){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=ie||1}function Ua(ie,ae){var ye={from:jo(ae.from),to:Yo(ae),text:Wi(ie,ae.from,ae.to)};return Ql(ie,ye,ae.from.line,ae.to.line+1),Da(ie,function(me){return Ql(me,ye,ae.from.line,ae.to.line+1)},!0),ye}function Xn(ie){for(;ie.length;){var ae=$e(ie);if(ae.ranges)ie.pop();else break}}function Rs(ie,ae){if(ae)return Xn(ie.done),$e(ie.done);if(ie.done.length&&!$e(ie.done).ranges)return $e(ie.done);if(ie.done.length>1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),$e(ie.done)}function Xl(ie,ae,ye,me){var Ee=ie.history;Ee.undone.length=0;var He=+new Date,it,yt;if((Ee.lastOp==me||Ee.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&Ee.lastModTime>He-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(it=Rs(Ee,Ee.lastOp==me)))yt=$e(it.changes),qi(ae.from,ae.to)==0&&qi(ae.from,yt.to)==0?yt.to=Yo(ae):it.changes.push(Ua(ie,ae));else{var mt=$e(Ee.done);for((!mt||!mt.ranges)&&Ka(ie.sel,Ee.done),it={changes:[Ua(ie,ae)],generation:Ee.generation},Ee.done.push(it);Ee.done.length>Ee.undoDepth;)Ee.done.shift(),Ee.done[0].ranges||Ee.done.shift()}Ee.done.push(ye),Ee.generation=++Ee.maxGeneration,Ee.lastModTime=Ee.lastSelTime=He,Ee.lastOp=Ee.lastSelOp=me,Ee.lastOrigin=Ee.lastSelOrigin=ae.origin,yt||$t(ie,"historyAdded")}function wc(ie,ae,ye,me){var Ee=ae.charAt(0);return Ee=="*"||Ee=="+"&&ye.ranges.length==me.ranges.length&&ye.somethingSelected()==me.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function Ou(ie,ae,ye,me){var Ee=ie.history,He=me&&me.origin;ye==Ee.lastSelOp||He&&Ee.lastSelOrigin==He&&(Ee.lastModTime==Ee.lastSelTime&&Ee.lastOrigin==He||wc(ie,He,$e(Ee.done),ae))?Ee.done[Ee.done.length-1]=ae:Ka(ae,Ee.done),Ee.lastSelTime=+new Date,Ee.lastSelOrigin=He,Ee.lastSelOp=ye,me&&me.clearRedo!==!1&&Xn(Ee.undone)}function Ka(ie,ae){var ye=$e(ae);ye&&ye.ranges&&ye.equals(ie)||ae.push(ie)}function Ql(ie,ae,ye,me){var Ee=ae["spans_"+ie.id],He=0;ie.iter(Math.max(ie.first,ye),Math.min(ie.first+ie.size,me),function(it){it.markedSpans&&((Ee||(Ee=ae["spans_"+ie.id]={}))[He]=it.markedSpans),++He})}function ps(ie){if(!ie)return null;for(var ae,ye=0;ye<ie.length;++ye)ie[ye].marker.explicitlyCleared?ae||(ae=ie.slice(0,ye)):ae&&ae.push(ie[ye]);return ae?ae.length?ae:null:ie}function ol(ie,ae){var ye=ae["spans_"+ie.id];if(!ye)return null;for(var me=[],Ee=0;Ee<ae.text.length;++Ee)me.push(ps(ye[Ee]));return me}function Hl(ie,ae){var ye=ol(ie,ae),me=ti(ie,ae);if(!ye)return me;if(!me)return ye;for(var Ee=0;Ee<ye.length;++Ee){var He=ye[Ee],it=me[Ee];if(He&&it)e:for(var yt=0;yt<it.length;++yt){for(var mt=it[yt],It=0;It<He.length;++It)if(He[It].marker==mt.marker)continue e;He.push(mt)}else it&&(ye[Ee]=it)}return ye}function au(ie,ae,ye){for(var me=[],Ee=0;Ee<ie.length;++Ee){var He=ie[Ee];if(He.ranges){me.push(ye?ci.prototype.deepCopy.call(He):He);continue}var it=He.changes,yt=[];me.push({changes:yt});for(var mt=0;mt<it.length;++mt){var It=it[mt],mn=void 0;if(yt.push({from:It.from,to:It.to,text:It.text}),ae)for(var Ut in It)(mn=Ut.match(/^spans_(\d+)$/))&&ot(ae,Number(mn[1]))>-1&&($e(yt)[Ut]=It[Ut],delete It[Ut])}}return me}function Cc(ie,ae,ye,me){if(me){var Ee=ie.anchor;if(ye){var He=qi(ae,Ee)<0;He!=qi(ye,Ee)<0?(Ee=ae,ae=ye):He!=qi(ae,ye)<0&&(ae=ye)}return new Ei(Ee,ae)}else return new Ei(ye||ae,ae)}function cc(ie,ae,ye,me,Ee){Ee==null&&(Ee=ie.cm&&(ie.cm.display.shift||ie.extend)),as(ie,new ci([Cc(ie.sel.primary(),ae,ye,Ee)],0),me)}function Uc(ie,ae,ye){for(var me=[],Ee=ie.cm&&(ie.cm.display.shift||ie.extend),He=0;He<ie.sel.ranges.length;He++)me[He]=Cc(ie.sel.ranges[He],ae[He],null,Ee);var it=ii(ie.cm,me,ie.sel.primIndex);as(ie,it,ye)}function Qu(ie,ae,ye,me){var Ee=ie.sel.ranges.slice(0);Ee[ae]=ye,as(ie,ii(ie.cm,Ee,ie.sel.primIndex),me)}function Jl(ie,ae,ye,me){as(ie,Br(ae,ye),me)}function dc(ie,ae,ye){var me={ranges:ae.ranges,update:function(Ee){this.ranges=[];for(var He=0;He<Ee.length;He++)this.ranges[He]=new Ei(sr(ie,Ee[He].anchor),sr(ie,Ee[He].head))},origin:ye&&ye.origin};return $t(ie,"beforeSelectionChange",ie,me),ie.cm&&$t(ie.cm,"beforeSelectionChange",ie.cm,me),me.ranges!=ae.ranges?ii(ie.cm,me.ranges,me.ranges.length-1):ae}function Ju(ie,ae,ye){var me=ie.history.done,Ee=$e(me);Ee&&Ee.ranges?(me[me.length-1]=ae,al(ie,ae,ye)):as(ie,ae,ye)}function as(ie,ae,ye){al(ie,ae,ye),Ou(ie,ie.sel,ie.cm?ie.cm.curOp.id:NaN,ye)}function al(ie,ae,ye){(er(ie,"beforeSelectionChange")||ie.cm&&er(ie.cm,"beforeSelectionChange"))&&(ae=dc(ie,ae,ye));var me=ye&&ye.bias||(qi(ae.primary().head,ie.sel.primary().head)<0?-1:1);Eu(ie,Gi(ie,ae,me,!0)),!(ye&&ye.scroll===!1)&&ie.cm&&Su(ie.cm)}function Eu(ie,ae){ae.equals(ie.sel)||(ie.sel=ae,ie.cm&&(ie.cm.curOp.updateInput=1,ie.cm.curOp.selectionChanged=!0,xr(ie.cm)),Zi(ie,"cursorActivity",ie))}function Du(ie){Eu(ie,Gi(ie,ie.sel,null,!1))}function Gi(ie,ae,ye,me){for(var Ee,He=0;He<ae.ranges.length;He++){var it=ae.ranges[He],yt=ae.ranges.length==ie.sel.ranges.length&&ie.sel.ranges[He],mt=ta(ie,it.anchor,yt&&yt.anchor,ye,me),It=ta(ie,it.head,yt&&yt.head,ye,me);(Ee||mt!=it.anchor||It!=it.head)&&(Ee||(Ee=ae.ranges.slice(0,He)),Ee[He]=new Ei(mt,It))}return Ee?ii(ie.cm,Ee,ae.primIndex):ae}function Pr(ie,ae,ye,me,Ee){var He=Un(ie,ae.line);if(He.markedSpans)for(var it=0;it<He.markedSpans.length;++it){var yt=He.markedSpans[it],mt=yt.marker,It="selectLeft"in mt?!mt.selectLeft:mt.inclusiveLeft,mn="selectRight"in mt?!mt.selectRight:mt.inclusiveRight;if((yt.from==null||(It?yt.from<=ae.ch:yt.from<ae.ch))&&(yt.to==null||(mn?yt.to>=ae.ch:yt.to>ae.ch))){if(Ee&&($t(mt,"beforeCursorEnter"),mt.explicitlyCleared))if(He.markedSpans){--it;continue}else break;if(!mt.atomic)continue;if(ye){var Ut=mt.find(me<0?1:-1),zn=void 0;if((me<0?mn:It)&&(Ut=Pa(ie,Ut,-me,Ut&&Ut.line==ae.line?He:null)),Ut&&Ut.line==ae.line&&(zn=qi(Ut,ye))&&(me<0?zn<0:zn>0))return Pr(ie,Ut,ae,me,Ee)}var Rn=mt.find(me<0?-1:1);return(me<0?It:mn)&&(Rn=Pa(ie,Rn,me,Rn.line==ae.line?He:null)),Rn?Pr(ie,Rn,ae,me,Ee):null}}return ae}function ta(ie,ae,ye,me,Ee){var He=me||1,it=Pr(ie,ae,ye,He,Ee)||!Ee&&Pr(ie,ae,ye,He,!0)||Pr(ie,ae,ye,-He,Ee)||!Ee&&Pr(ie,ae,ye,-He,!0);return it||(ie.cantEdit=!0,jn(ie.first,0))}function Pa(ie,ae,ye,me){return ye<0&&ae.ch==0?ae.line>ie.first?sr(ie,jn(ae.line-1)):null:ye>0&&ae.ch==(me||Un(ie,ae.line)).text.length?ae.line<ie.first+ie.size-1?jn(ae.line+1,0):null:new jn(ae.line,ae.ch+ye)}function Vo(ie){ie.setSelection(jn(ie.firstLine(),0),jn(ie.lastLine()),Gt)}function gl(ie,ae,ye){var me={canceled:!1,from:ae.from,to:ae.to,text:ae.text,origin:ae.origin,cancel:function(){return me.canceled=!0}};return ye&&(me.update=function(Ee,He,it,yt){Ee&&(me.from=sr(ie,Ee)),He&&(me.to=sr(ie,He)),it&&(me.text=it),yt!==void 0&&(me.origin=yt)}),$t(ie,"beforeChange",ie,me),ie.cm&&$t(ie.cm,"beforeChange",ie.cm,me),me.canceled?(ie.cm&&(ie.cm.curOp.updateInput=2),null):{from:me.from,to:me.to,text:me.text,origin:me.origin}}function pl(ie,ae,ye){if(ie.cm){if(!ie.cm.curOp)return Ur(ie.cm,pl)(ie,ae,ye);if(ie.cm.state.suppressEdits)return}if(!((er(ie,"beforeChange")||ie.cm&&er(ie.cm,"beforeChange"))&&(ae=gl(ie,ae,!0),!ae))){var me=Do&&!ye&&Pi(ie,ae.from,ae.to);if(me)for(var Ee=me.length-1;Ee>=0;--Ee)ms(ie,{from:me[Ee].from,to:me[Ee].to,text:Ee?[""]:ae.text,origin:ae.origin});else ms(ie,ae)}}function ms(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&qi(ae.from,ae.to)==0)){var ye=ha(ie,ae);Xl(ie,ae,ye,ie.cm?ie.cm.curOp.id:NaN),Os(ie,ae,ye,ti(ie,ae));var me=[];Da(ie,function(Ee,He){!He&&ot(me,Ee.history)==-1&&(Od(Ee.history,ae),me.push(Ee.history)),Os(Ee,ae,null,ti(Ee,ae))})}}function wl(ie,ae,ye){var me=ie.cm&&ie.cm.state.suppressEdits;if(!(me&&!ye)){for(var Ee=ie.history,He,it=ie.sel,yt=ae=="undo"?Ee.done:Ee.undone,mt=ae=="undo"?Ee.undone:Ee.done,It=0;It<yt.length&&(He=yt[It],!(ye?He.ranges&&!He.equals(ie.sel):!He.ranges));It++);if(It!=yt.length){for(Ee.lastOrigin=Ee.lastSelOrigin=null;;)if(He=yt.pop(),He.ranges){if(Ka(He,mt),ye&&!He.equals(ie.sel)){as(ie,He,{clearRedo:!1});return}it=He}else if(me){yt.push(He);return}else break;var mn=[];Ka(it,mt),mt.push({changes:mn,generation:Ee.generation}),Ee.generation=He.generation||++Ee.maxGeneration;for(var Ut=er(ie,"beforeChange")||ie.cm&&er(ie.cm,"beforeChange"),zn=function(Ui){var nr=He.changes[Ui];if(nr.origin=ae,Ut&&!gl(ie,nr,!1))return yt.length=0,{};mn.push(Ua(ie,nr));var Ar=Ui?ha(ie,nr):$e(yt);Os(ie,nr,Ar,Hl(ie,nr)),!Ui&&ie.cm&&ie.cm.scrollIntoView({from:nr.from,to:Yo(nr)});var Qr=[];Da(ie,function(Dr,fo){!fo&&ot(Qr,Dr.history)==-1&&(Od(Dr.history,nr),Qr.push(Dr.history)),Os(Dr,nr,null,Hl(Dr,nr))})},Rn=He.changes.length-1;Rn>=0;--Rn){var Bi=zn(Rn);if(Bi)return Bi.v}}}}function xu(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new ci(Wt(ie.sel.ranges,function(Ee){return new Ei(jn(Ee.anchor.line+ae,Ee.anchor.ch),jn(Ee.head.line+ae,Ee.head.ch))}),ie.sel.primIndex),ie.cm)){Ga(ie.cm,ie.first,ie.first-ae,ae);for(var ye=ie.cm.display,me=ye.viewFrom;me<ye.viewTo;me++)Ho(ie.cm,me,"gutter")}}function Os(ie,ae,ye,me){if(ie.cm&&!ie.cm.curOp)return Ur(ie.cm,Os)(ie,ae,ye,me);if(ae.to.line<ie.first){xu(ie,ae.text.length-1-(ae.to.line-ae.from.line));return}if(!(ae.from.line>ie.lastLine())){if(ae.from.line<ie.first){var Ee=ae.text.length-1-(ie.first-ae.from.line);xu(ie,Ee),ae={from:jn(ie.first,0),to:jn(ae.to.line+Ee,ae.to.ch),text:[$e(ae.text)],origin:ae.origin}}var He=ie.lastLine();ae.to.line>He&&(ae={from:ae.from,to:jn(He,Un(ie,He).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=Wi(ie,ae.from,ae.to),ye||(ye=ha(ie,ae)),ie.cm?Fu(ie.cm,ae,me):Ta(ie,ae,me),al(ie,ye,Gt),ie.cantEdit&&ta(ie,jn(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function Fu(ie,ae,ye){var me=ie.doc,Ee=ie.display,He=ae.from,it=ae.to,yt=!1,mt=He.line;ie.options.lineWrapping||(mt=tn(Ir(Un(me,He.line))),me.iter(mt,it.line+1,function(Rn){if(Rn==Ee.maxLine)return yt=!0,!0})),me.sel.contains(ae.from,ae.to)>-1&&xr(ie),Ta(me,ae,ye,_a(ie)),ie.options.lineWrapping||(me.iter(mt,He.line+ae.text.length,function(Rn){var Bi=Gr(Rn);Bi>Ee.maxLineLength&&(Ee.maxLine=Rn,Ee.maxLineLength=Bi,Ee.maxLineChanged=!0,yt=!1)}),yt&&(ie.curOp.updateMaxLine=!0)),so(me,He.line),Uo(ie,400);var It=ae.text.length-(it.line-He.line)-1;ae.full?Ga(ie):He.line==it.line&&ae.text.length==1&&!Xr(ie.doc,ae)?Ho(ie,He.line,"text"):Ga(ie,He.line,it.line+1,It);var mn=er(ie,"changes"),Ut=er(ie,"change");if(Ut||mn){var zn={from:He,to:it,text:ae.text,removed:ae.removed,origin:ae.origin};Ut&&Zi(ie,"change",ie,zn),mn&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(zn)}ie.display.selForContextMenu=null}function sl(ie,ae,ye,me,Ee){var He;me||(me=ye),qi(me,ye)<0&&(He=[me,ye],ye=He[0],me=He[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),pl(ie,{from:ye,to:me,text:ae,origin:Ee})}function su(ie,ae,ye,me){ye<ie.line?ie.line+=me:ae<ie.line&&(ie.line=ae,ie.ch=0)}function Hc(ie,ae,ye,me){for(var Ee=0;Ee<ie.length;++Ee){var He=ie[Ee],it=!0;if(He.ranges){He.copied||(He=ie[Ee]=He.deepCopy(),He.copied=!0);for(var yt=0;yt<He.ranges.length;yt++)su(He.ranges[yt].anchor,ae,ye,me),su(He.ranges[yt].head,ae,ye,me);continue}for(var mt=0;mt<He.changes.length;++mt){var It=He.changes[mt];if(ye<It.from.line)It.from=jn(It.from.line+me,It.from.ch),It.to=jn(It.to.line+me,It.to.ch);else if(ae<=It.to.line){it=!1;break}}it||(ie.splice(0,Ee+1),Ee=0)}}function Od(ie,ae){var ye=ae.from.line,me=ae.to.line,Ee=ae.text.length-(me-ye)-1;Hc(ie.done,ye,me,Ee),Hc(ie.undone,ye,me,Ee)}function Ro(ie,ae,ye,me){var Ee=ae,He=ae;return typeof ae=="number"?He=Un(ie,Qi(ie,ae)):Ee=tn(ae),Ee==null?null:(me(He,Ee)&&ie.cm&&Ho(ie.cm,Ee,ye),He)}function To(ie){this.lines=ie,this.parent=null;for(var ae=0,ye=0;ye<ie.length;++ye)ie[ye].parent=this,ae+=ie[ye].height;this.height=ae}To.prototype={chunkSize:function(){return this.lines.length},removeInner:function(ie,ae){for(var ye=ie,me=ie+ae;ye<me;++ye){var Ee=this.lines[ye];this.height-=Ee.height,ea(Ee),Zi(Ee,"delete")}this.lines.splice(ie,ae)},collapse:function(ie){ie.push.apply(ie,this.lines)},insertInner:function(ie,ae,ye){this.height+=ye,this.lines=this.lines.slice(0,ie).concat(ae).concat(this.lines.slice(ie));for(var me=0;me<ae.length;++me)ae[me].parent=this},iterN:function(ie,ae,ye){for(var me=ie+ae;ie<me;++ie)if(ye(this.lines[ie]))return!0}};function So(ie){this.children=ie;for(var ae=0,ye=0,me=0;me<ie.length;++me){var Ee=ie[me];ae+=Ee.chunkSize(),ye+=Ee.height,Ee.parent=this}this.size=ae,this.height=ye,this.parent=null}So.prototype={chunkSize:function(){return this.size},removeInner:function(ie,ae){this.size-=ae;for(var ye=0;ye<this.children.length;++ye){var me=this.children[ye],Ee=me.chunkSize();if(ie<Ee){var He=Math.min(ae,Ee-ie),it=me.height;if(me.removeInner(ie,He),this.height-=it-me.height,Ee==He&&(this.children.splice(ye--,1),me.parent=null),(ae-=He)==0)break;ie=0}else ie-=Ee}if(this.size-ae<25&&(this.children.length>1||!(this.children[0]instanceof To))){var yt=[];this.collapse(yt),this.children=[new To(yt)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae<this.children.length;++ae)this.children[ae].collapse(ie)},insertInner:function(ie,ae,ye){this.size+=ae.length,this.height+=ye;for(var me=0;me<this.children.length;++me){var Ee=this.children[me],He=Ee.chunkSize();if(ie<=He){if(Ee.insertInner(ie,ae,ye),Ee.lines&&Ee.lines.length>50){for(var it=Ee.lines.length%25+25,yt=it;yt<Ee.lines.length;){var mt=new To(Ee.lines.slice(yt,yt+=25));Ee.height-=mt.height,this.children.splice(++me,0,mt),mt.parent=this}Ee.lines=Ee.lines.slice(0,it),this.maybeSpill()}break}ie-=He}},maybeSpill:function(){if(!(this.children.length<=10)){var ie=this;do{var ae=ie.children.splice(ie.children.length-5,5),ye=new So(ae);if(ie.parent){ie.size-=ye.size,ie.height-=ye.height;var Ee=ot(ie.parent.children,ie);ie.parent.children.splice(Ee+1,0,ye)}else{var me=new So(ie.children);me.parent=ie,ie.children=[me,ye],ie=me}ye.parent=ie.parent}while(ie.children.length>10);ie.parent.maybeSpill()}},iterN:function(ie,ae,ye){for(var me=0;me<this.children.length;++me){var Ee=this.children[me],He=Ee.chunkSize();if(ie<He){var it=Math.min(ae,He-ie);if(Ee.iterN(ie,it,ye))return!0;if((ae-=it)==0)break;ie=0}else ie-=He}}};var ss=function(ie,ae,ye){if(ye)for(var me in ye)ye.hasOwnProperty(me)&&(this[me]=ye[me]);this.doc=ie,this.node=ae};ss.prototype.clear=function(){var ie=this.doc.cm,ae=this.line.widgets,ye=this.line,me=tn(ye);if(!(me==null||!ae)){for(var Ee=0;Ee<ae.length;++Ee)ae[Ee]==this&&ae.splice(Ee--,1);ae.length||(ye.widgets=null);var He=Ba(this);si(ye,Math.max(0,ye.height-He)),ie&&(ur(ie,function(){$s(ie,ye,-He),Ho(ie,me,"widget")}),Zi(ie,"lineWidgetCleared",ie,this,me))}},ss.prototype.changed=function(){var ie=this,ae=this.height,ye=this.doc.cm,me=this.line;this.height=null;var Ee=Ba(this)-ae;Ee&&(fn(this.doc,me)||si(me,me.height+Ee),ye&&ur(ye,function(){ye.curOp.forceUpdate=!0,$s(ye,me,Ee),Zi(ye,"lineWidgetChanged",ye,ie,tn(me))}))},ai(ss);function $s(ie,ae,ye){Ji(ae)<(ie.curOp&&ie.curOp.scrollTop||ie.doc.scrollTop)&&Ru(ie,ye)}function zc(ie,ae,ye,me){var Ee=new ss(ie,ye,me),He=ie.cm;return He&&Ee.noHScroll&&(He.display.alignWidgets=!0),Ro(ie,ae,"widget",function(it){var yt=it.widgets||(it.widgets=[]);if(Ee.insertAt==null?yt.push(Ee):yt.splice(Math.min(yt.length-1,Math.max(0,Ee.insertAt)),0,Ee),Ee.line=it,He&&!fn(ie,it)){var mt=Ji(it)<ie.scrollTop;si(it,it.height+Ba(Ee)),mt&&Ru(He,Ee.height),He.curOp.forceUpdate=!0}return!0}),He&&Zi(He,"lineWidgetAdded",He,Ee,typeof ae=="number"?ae:tn(ae)),Ee}var hc=0,qt=function(ie,ae){this.lines=[],this.type=ae,this.doc=ie,this.id=++hc};qt.prototype.clear=function(){if(!this.explicitlyCleared){var ie=this.doc.cm,ae=ie&&!ie.curOp;if(ae&&Ai(ie),er(this,"clear")){var ye=this.find();ye&&Zi(this,"clear",ye.from,ye.to)}for(var me=null,Ee=null,He=0;He<this.lines.length;++He){var it=this.lines[He],yt=Dn(it.markedSpans,this);ie&&!this.collapsed?Ho(ie,tn(it),"text"):ie&&(yt.to!=null&&(Ee=tn(it)),yt.from!=null&&(me=tn(it))),it.markedSpans=Lt(it.markedSpans,yt),yt.from==null&&this.collapsed&&!fn(this.doc,it)&&ie&&si(it,nl(ie.display))}if(ie&&this.collapsed&&!ie.options.lineWrapping)for(var mt=0;mt<this.lines.length;++mt){var It=Ir(this.lines[mt]),mn=Gr(It);mn>ie.display.maxLineLength&&(ie.display.maxLine=It,ie.display.maxLineLength=mn,ie.display.maxLineChanged=!0)}me!=null&&ie&&this.collapsed&&Ga(ie,me,Ee+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&Du(ie.doc)),ie&&Zi(ie,"markerCleared",ie,this,me,Ee),ae&&xi(ie),this.parent&&this.parent.clear()}},qt.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var ye,me,Ee=0;Ee<this.lines.length;++Ee){var He=this.lines[Ee],it=Dn(He.markedSpans,this);if(it.from!=null&&(ye=jn(ae?He:tn(He),it.from),ie==-1))return ye;if(it.to!=null&&(me=jn(ae?He:tn(He),it.to),ie==1))return me}return ye&&{from:ye,to:me}},qt.prototype.changed=function(){var ie=this,ae=this.find(-1,!0),ye=this,me=this.doc.cm;!ae||!me||ur(me,function(){var Ee=ae.line,He=tn(ae.line),it=As(me,He);if(it&&(Bc(it),me.curOp.selectionChanged=me.curOp.forceUpdate=!0),me.curOp.updateMaxLine=!0,!fn(ye.doc,Ee)&&ye.height!=null){var yt=ye.height;ye.height=null;var mt=Ba(ye)-yt;mt&&si(Ee,Ee.height+mt)}Zi(me,"markerChanged",me,ie)})},qt.prototype.attachLine=function(ie){if(!this.lines.length&&this.doc.cm){var ae=this.doc.cm.curOp;(!ae.maybeHiddenMarkers||ot(ae.maybeHiddenMarkers,this)==-1)&&(ae.maybeUnhiddenMarkers||(ae.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(ie)},qt.prototype.detachLine=function(ie){if(this.lines.splice(ot(this.lines,ie),1),!this.lines.length&&this.doc.cm){var ae=this.doc.cm.curOp;(ae.maybeHiddenMarkers||(ae.maybeHiddenMarkers=[])).push(this)}},ai(qt);function Tc(ie,ae,ye,me,Ee){if(me&&me.shared)return gd(ie,ae,ye,me,Ee);if(ie.cm&&!ie.cm.curOp)return Ur(ie.cm,Tc)(ie,ae,ye,me,Ee);var He=new qt(ie,Ee),it=qi(ae,ye);if(me&&Bn(me,He,!1),it>0||it==0&&He.clearWhenEmpty!==!1)return He;if(He.replacedWith&&(He.collapsed=!0,He.widgetNode=ft("span",[He.replacedWith],"CodeMirror-widget"),me.handleMouseEvents||He.widgetNode.setAttribute("cm-ignore-events","true"),me.insertLeft&&(He.widgetNode.insertLeft=!0)),He.collapsed){if(co(ie,ae.line,ae,ye,He)||ae.line!=ye.line&&co(ie,ye.line,ae,ye,He))throw new Error("Inserting collapsed marker partially overlapping an existing one");Rt()}He.addToHistory&&Xl(ie,{from:ae,to:ye,origin:"markText"},ie.sel,NaN);var yt=ae.line,mt=ie.cm,It;if(ie.iter(yt,ye.line+1,function(Ut){mt&&He.collapsed&&!mt.options.lineWrapping&&Ir(Ut)==mt.display.maxLine&&(It=!0),He.collapsed&&yt!=ae.line&&si(Ut,0),Ft(Ut,new ut(He,yt==ae.line?ae.ch:null,yt==ye.line?ye.ch:null)),++yt}),He.collapsed&&ie.iter(ae.line,ye.line+1,function(Ut){fn(ie,Ut)&&si(Ut,0)}),He.clearOnEnter&&cn(He,"beforeCursorEnter",function(){return He.clear()}),He.readOnly&&($o(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),He.collapsed&&(He.id=++hc,He.atomic=!0),mt){if(It&&(mt.curOp.updateMaxLine=!0),He.collapsed)Ga(mt,ae.line,ye.line+1);else if(He.className||He.startStyle||He.endStyle||He.css||He.attributes||He.title)for(var mn=ae.line;mn<=ye.line;mn++)Ho(mt,mn,"text");He.atomic&&Du(mt.doc),Zi(mt,"markerAdded",mt,He)}return He}var ql=function(ie,ae){this.markers=ie,this.primary=ae;for(var ye=0;ye<ie.length;++ye)ie[ye].parent=this};ql.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var ie=0;ie<this.markers.length;++ie)this.markers[ie].clear();Zi(this,"clear")}},ql.prototype.find=function(ie,ae){return this.primary.find(ie,ae)},ai(ql);function gd(ie,ae,ye,me,Ee){me=Bn(me),me.shared=!1;var He=[Tc(ie,ae,ye,me,Ee)],it=He[0],yt=me.widgetNode;return Da(ie,function(mt){yt&&(me.widgetNode=yt.cloneNode(!0)),He.push(Tc(mt,sr(mt,ae),sr(mt,ye),me,Ee));for(var It=0;It<mt.linked.length;++It)if(mt.linked[It].isParent)return;it=$e(He)}),new ql(He,it)}function gf(ie){return ie.findMarks(jn(ie.first,0),ie.clipPos(jn(ie.lastLine())),function(ae){return ae.parent})}function pf(ie,ae){for(var ye=0;ye<ae.length;ye++){var me=ae[ye],Ee=me.find(),He=ie.clipPos(Ee.from),it=ie.clipPos(Ee.to);if(qi(He,it)){var yt=Tc(ie,He,it,me.primary,me.primary.type);me.markers.push(yt),yt.parent=me}}}function Fh(ie){for(var ae=function(me){var Ee=ie[me],He=[Ee.primary.doc];Da(Ee.primary.doc,function(mt){return He.push(mt)});for(var it=0;it<Ee.markers.length;it++){var yt=Ee.markers[it];ot(He,yt.doc)==-1&&(yt.parent=null,Ee.markers.splice(it--,1))}},ye=0;ye<ie.length;ye++)ae(ye)}var Vg=0,ml=function(ie,ae,ye,me,Ee){if(!(this instanceof ml))return new ml(ie,ae,ye,me,Ee);ye==null&&(ye=0),So.call(this,[new To([new qr("",null)])]),this.first=ye,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ye;var He=jn(ye,0);this.sel=Br(He),this.history=new Ms(null),this.id=++Vg,this.modeOption=ae,this.lineSep=me,this.direction=Ee=="rtl"?"rtl":"ltr",this.extend=!1,typeof ie=="string"&&(ie=this.splitLines(ie)),Ta(this,{from:He,to:He,text:ie}),as(this,Br(He),Gt)};ml.prototype=Me(So.prototype,{constructor:ml,iter:function(ie,ae,ye){ye?this.iterN(ie-this.first,ae-ie,ye):this.iterN(this.first,this.first+this.size,ie)},insert:function(ie,ae){for(var ye=0,me=0;me<ae.length;++me)ye+=ae[me].height;this.insertInner(ie-this.first,ae,ye)},remove:function(ie,ae){this.removeInner(ie-this.first,ae)},getValue:function(ie){var ae=ir(this,this.first,this.first+this.size);return ie===!1?ae:ae.join(ie||this.lineSeparator())},setValue:Fr(function(ie){var ae=jn(this.first,0),ye=this.first+this.size-1;pl(this,{from:ae,to:jn(ye,Un(this,ye).text.length),text:this.splitLines(ie),origin:"setValue",full:!0},!0),this.cm&&Zu(this.cm,0,0),as(this,Br(ae),Gt)}),replaceRange:function(ie,ae,ye,me){ae=sr(this,ae),ye=ye?sr(this,ye):ae,sl(this,ie,ae,ye,me)},getRange:function(ie,ae,ye){var me=Wi(this,sr(this,ie),sr(this,ae));return ye===!1?me:me.join(ye||this.lineSeparator())},getLine:function(ie){var ae=this.getLineHandle(ie);return ae&&ae.text},getLineHandle:function(ie){if(lr(this,ie))return Un(this,ie)},getLineNumber:function(ie){return tn(ie)},getLineHandleVisualStart:function(ie){return typeof ie=="number"&&(ie=Un(this,ie)),Ir(ie)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(ie){return sr(this,ie)},getCursor:function(ie){var ae=this.sel.primary(),ye;return ie==null||ie=="head"?ye=ae.head:ie=="anchor"?ye=ae.anchor:ie=="end"||ie=="to"||ie===!1?ye=ae.to():ye=ae.from(),ye},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Fr(function(ie,ae,ye){Jl(this,sr(this,typeof ie=="number"?jn(ie,ae||0):ie),null,ye)}),setSelection:Fr(function(ie,ae,ye){Jl(this,sr(this,ie),sr(this,ae||ie),ye)}),extendSelection:Fr(function(ie,ae,ye){cc(this,sr(this,ie),ae&&sr(this,ae),ye)}),extendSelections:Fr(function(ie,ae){Uc(this,Io(this,ie),ae)}),extendSelectionsBy:Fr(function(ie,ae){var ye=Wt(this.sel.ranges,ie);Uc(this,Io(this,ye),ae)}),setSelections:Fr(function(ie,ae,ye){if(ie.length){for(var me=[],Ee=0;Ee<ie.length;Ee++)me[Ee]=new Ei(sr(this,ie[Ee].anchor),sr(this,ie[Ee].head));ae==null&&(ae=Math.min(ie.length-1,this.sel.primIndex)),as(this,ii(this.cm,me,ae),ye)}}),addSelection:Fr(function(ie,ae,ye){var me=this.sel.ranges.slice(0);me.push(new Ei(sr(this,ie),sr(this,ae||ie))),as(this,ii(this.cm,me,me.length-1),ye)}),getSelection:function(ie){for(var ae=this.sel.ranges,ye,me=0;me<ae.length;me++){var Ee=Wi(this,ae[me].from(),ae[me].to());ye=ye?ye.concat(Ee):Ee}return ie===!1?ye:ye.join(ie||this.lineSeparator())},getSelections:function(ie){for(var ae=[],ye=this.sel.ranges,me=0;me<ye.length;me++){var Ee=Wi(this,ye[me].from(),ye[me].to());ie!==!1&&(Ee=Ee.join(ie||this.lineSeparator())),ae[me]=Ee}return ae},replaceSelection:function(ie,ae,ye){for(var me=[],Ee=0;Ee<this.sel.ranges.length;Ee++)me[Ee]=ie;this.replaceSelections(me,ae,ye||"+input")},replaceSelections:Fr(function(ie,ae,ye){for(var me=[],Ee=this.sel,He=0;He<Ee.ranges.length;He++){var it=Ee.ranges[He];me[He]={from:it.from(),to:it.to(),text:this.splitLines(ie[He]),origin:ye}}for(var yt=ae&&ae!="end"&&Ca(this,me,ae),mt=me.length-1;mt>=0;mt--)pl(this,me[mt]);yt?Ju(this,yt):this.cm&&Su(this.cm)}),undo:Fr(function(){wl(this,"undo")}),redo:Fr(function(){wl(this,"redo")}),undoSelection:Fr(function(){wl(this,"undo",!0)}),redoSelection:Fr(function(){wl(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,ye=0,me=0;me<ie.done.length;me++)ie.done[me].ranges||++ae;for(var Ee=0;Ee<ie.undone.length;Ee++)ie.undone[Ee].ranges||++ye;return{undo:ae,redo:ye}},clearHistory:function(){var ie=this;this.history=new Ms(this.history.maxGeneration),Da(this,function(ae){return ae.history=ie.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(ie){return ie&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(ie){return this.history.generation==(ie||this.cleanGeneration)},getHistory:function(){return{done:au(this.history.done),undone:au(this.history.undone)}},setHistory:function(ie){var ae=this.history=new Ms(this.history.maxGeneration);ae.done=au(ie.done.slice(0),null,!0),ae.undone=au(ie.undone.slice(0),null,!0)},setGutterMarker:Fr(function(ie,ae,ye){return Ro(this,ie,"gutter",function(me){var Ee=me.gutterMarkers||(me.gutterMarkers={});return Ee[ae]=ye,!ye&&je(Ee)&&(me.gutterMarkers=null),!0})}),clearGutter:Fr(function(ie){var ae=this;this.iter(function(ye){ye.gutterMarkers&&ye.gutterMarkers[ie]&&Ro(ae,ye,"gutter",function(){return ye.gutterMarkers[ie]=null,je(ye.gutterMarkers)&&(ye.gutterMarkers=null),!0})})}),lineInfo:function(ie){var ae;if(typeof ie=="number"){if(!lr(this,ie)||(ae=ie,ie=Un(this,ie),!ie))return null}else if(ae=tn(ie),ae==null)return null;return{line:ae,handle:ie,text:ie.text,gutterMarkers:ie.gutterMarkers,textClass:ie.textClass,bgClass:ie.bgClass,wrapClass:ie.wrapClass,widgets:ie.widgets}},addLineClass:Fr(function(ie,ae,ye){return Ro(this,ie,ae=="gutter"?"gutter":"class",function(me){var Ee=ae=="text"?"textClass":ae=="background"?"bgClass":ae=="gutter"?"gutterClass":"wrapClass";if(!me[Ee])me[Ee]=ye;else{if(Oe(ye).test(me[Ee]))return!1;me[Ee]+=" "+ye}return!0})}),removeLineClass:Fr(function(ie,ae,ye){return Ro(this,ie,ae=="gutter"?"gutter":"class",function(me){var Ee=ae=="text"?"textClass":ae=="background"?"bgClass":ae=="gutter"?"gutterClass":"wrapClass",He=me[Ee];if(He)if(ye==null)me[Ee]=null;else{var it=He.match(Oe(ye));if(!it)return!1;var yt=it.index+it[0].length;me[Ee]=He.slice(0,it.index)+(!it.index||yt==He.length?"":" ")+He.slice(yt)||null}else return!1;return!0})}),addLineWidget:Fr(function(ie,ae,ye){return zc(this,ie,ae,ye)}),removeLineWidget:function(ie){ie.clear()},markText:function(ie,ae,ye){return Tc(this,sr(this,ie),sr(this,ae),ye,ye&&ye.type||"range")},setBookmark:function(ie,ae){var ye={replacedWith:ae&&(ae.nodeType==null?ae.widget:ae),insertLeft:ae&&ae.insertLeft,clearWhenEmpty:!1,shared:ae&&ae.shared,handleMouseEvents:ae&&ae.handleMouseEvents};return ie=sr(this,ie),Tc(this,ie,ie,ye,"bookmark")},findMarksAt:function(ie){ie=sr(this,ie);var ae=[],ye=Un(this,ie.line).markedSpans;if(ye)for(var me=0;me<ye.length;++me){var Ee=ye[me];(Ee.from==null||Ee.from<=ie.ch)&&(Ee.to==null||Ee.to>=ie.ch)&&ae.push(Ee.marker.parent||Ee.marker)}return ae},findMarks:function(ie,ae,ye){ie=sr(this,ie),ae=sr(this,ae);var me=[],Ee=ie.line;return this.iter(ie.line,ae.line+1,function(He){var it=He.markedSpans;if(it)for(var yt=0;yt<it.length;yt++){var mt=it[yt];!(mt.to!=null&&Ee==ie.line&&ie.ch>=mt.to||mt.from==null&&Ee!=ie.line||mt.from!=null&&Ee==ae.line&&mt.from>=ae.ch)&&(!ye||ye(mt.marker))&&me.push(mt.marker.parent||mt.marker)}++Ee}),me},getAllMarks:function(){var ie=[];return this.iter(function(ae){var ye=ae.markedSpans;if(ye)for(var me=0;me<ye.length;++me)ye[me].from!=null&&ie.push(ye[me].marker)}),ie},posFromIndex:function(ie){var ae,ye=this.first,me=this.lineSeparator().length;return this.iter(function(Ee){var He=Ee.text.length+me;if(He>ie)return ae=ie,!0;ie-=He,++ye}),sr(this,jn(ye,ae))},indexFromPos:function(ie){ie=sr(this,ie);var ae=ie.ch;if(ie.line<this.first||ie.ch<0)return 0;var ye=this.lineSeparator().length;return this.iter(this.first,ie.line,function(me){ae+=me.text.length+ye}),ae},copy:function(ie){var ae=new ml(ir(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ae.scrollTop=this.scrollTop,ae.scrollLeft=this.scrollLeft,ae.sel=this.sel,ae.extend=!1,ie&&(ae.history.undoDepth=this.history.undoDepth,ae.setHistory(this.getHistory())),ae},linkedDoc:function(ie){ie||(ie={});var ae=this.first,ye=this.first+this.size;ie.from!=null&&ie.from>ae&&(ae=ie.from),ie.to!=null&&ie.to<ye&&(ye=ie.to);var me=new ml(ir(this,ae,ye),ie.mode||this.modeOption,ae,this.lineSep,this.direction);return ie.sharedHist&&(me.history=this.history),(this.linked||(this.linked=[])).push({doc:me,sharedHist:ie.sharedHist}),me.linked=[{doc:this,isParent:!0,sharedHist:ie.sharedHist}],pf(me,gf(this)),me},unlinkDoc:function(ie){if(ie instanceof Za&&(ie=ie.doc),this.linked)for(var ae=0;ae<this.linked.length;++ae){var ye=this.linked[ae];if(ye.doc==ie){this.linked.splice(ae,1),ie.unlinkDoc(this),Fh(gf(this));break}}if(ie.history==this.history){var me=[ie.id];Da(ie,function(Ee){return me.push(Ee.id)},!0),ie.history=new Ms(null),ie.history.done=au(this.history.done,me),ie.history.undone=au(this.history.undone,me)}},iterLinkedDocs:function(ie){Da(this,ie)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(ie){return this.lineSep?ie.split(this.lineSep):On(ie)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:Fr(function(ie){ie!="rtl"&&(ie="ltr"),ie!=this.direction&&(this.direction=ie,this.iter(function(ae){return ae.order=null}),this.cm&&Hn(this.cm))})}),ml.prototype.eachLine=ml.prototype.iter;var ah=0;function Bh(ie){var ae=this;if(Uh(ae),!(_e(ae,ie)||ns(ae.display,ie))){Rr(ie),Ye&&(ah=+new Date);var ye=Zs(ae,ie,!0),me=ie.dataTransfer.files;if(!(!ye||ae.isReadOnly()))if(me&&me.length&&window.FileReader&&window.File)for(var Ee=me.length,He=Array(Ee),it=0,yt=function(){++it==Ee&&Ur(ae,function(){ye=sr(ae.doc,ye);var Rn={from:ye,to:ye,text:ae.doc.splitLines(He.filter(function(Bi){return Bi!=null}).join(ae.doc.lineSeparator())),origin:"paste"};pl(ae.doc,Rn),Ju(ae.doc,Br(sr(ae.doc,ye),sr(ae.doc,Yo(Rn))))})()},mt=function(Rn,Bi){if(ae.options.allowDropFileTypes&&ot(ae.options.allowDropFileTypes,Rn.type)==-1){yt();return}var Ui=new FileReader;Ui.onerror=function(){return yt()},Ui.onload=function(){var nr=Ui.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(nr)){yt();return}He[Bi]=nr,yt()},Ui.readAsText(Rn)},It=0;It<me.length;It++)mt(me[It],It);else{if(ae.state.draggingText&&ae.doc.sel.contains(ye)>-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var mn=ie.dataTransfer.getData("Text");if(mn){var Ut;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Ut=ae.listSelections()),al(ae.doc,Br(ye,ye)),Ut)for(var zn=0;zn<Ut.length;++zn)sl(ae.doc,"",Ut[zn].anchor,Ut[zn].head,"drag");ae.replaceSelection(mn,"around","paste"),ae.display.input.focus()}}catch(Rn){}}}}function sh(ie,ae){if(Ye&&(!ie.state.draggingText||+new Date-ah<100)){ar(ae);return}if(!(_e(ie,ae)||ns(ie.display,ae))&&(ae.dataTransfer.setData("Text",ie.getSelection()),ae.dataTransfer.effectAllowed="copyMove",ae.dataTransfer.setDragImage&&!xt)){var ye=at("img",null,null,"position: fixed; left: 0; top: 0;");ye.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",rt&&(ye.width=ye.height=1,ie.display.wrapper.appendChild(ye),ye._top=ye.offsetTop),ae.dataTransfer.setDragImage(ye,0,0),rt&&ye.parentNode.removeChild(ye)}}function _h(ie,ae){var ye=Zs(ie,ae);if(ye){var me=document.createDocumentFragment();da(ie,ye,me),ie.display.dragCursor||(ie.display.dragCursor=at("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),ie.display.lineSpace.insertBefore(ie.display.dragCursor,ie.display.cursorDiv)),lt(ie.display.dragCursor,me)}}function Uh(ie){ie.display.dragCursor&&(ie.display.lineSpace.removeChild(ie.display.dragCursor),ie.display.dragCursor=null)}function mf(ie){if(document.getElementsByClassName){for(var ae=document.getElementsByClassName("CodeMirror"),ye=[],me=0;me<ae.length;me++){var Ee=ae[me].CodeMirror;Ee&&ye.push(Ee)}ye.length&&ye[0].operation(function(){for(var He=0;He<ye.length;He++)ie(ye[He])})}}var Hh=!1;function lu(){Hh||(pd(),Hh=!0)}function pd(){var ie;cn(window,"resize",function(){ie==null&&(ie=setTimeout(function(){ie=null,mf(vf)},100))}),cn(window,"blur",function(){return mf(lc)})}function vf(ie){var ae=ie.display;ae.cachedCharWidth=ae.cachedTextHeight=ae.cachedPaddingH=null,ae.scrollbarsClipped=!1,ie.setSize()}for(var fc={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},md=0;md<10;md++)fc[md+48]=fc[md+96]=String(md);for(var lh=65;lh<=90;lh++)fc[lh]=String.fromCharCode(lh);for(var vd=1;vd<=12;vd++)fc[vd+111]=fc[vd+63235]="F"+vd;var $l={};$l.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},$l.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},$l.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},$l.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},$l.default=de?$l.macDefault:$l.pcDefault;function yf(ie){var ae=ie.split(/-(?!$)/);ie=ae[ae.length-1];for(var ye,me,Ee,He,it=0;it<ae.length-1;it++){var yt=ae[it];if(/^(cmd|meta|m)$/i.test(yt))He=!0;else if(/^a(lt)?$/i.test(yt))ye=!0;else if(/^(c|ctrl|control)$/i.test(yt))me=!0;else if(/^s(hift)?$/i.test(yt))Ee=!0;else throw new Error("Unrecognized modifier name: "+yt)}return ye&&(ie="Alt-"+ie),me&&(ie="Ctrl-"+ie),He&&(ie="Cmd-"+ie),Ee&&(ie="Shift-"+ie),ie}function Ma(ie){var ae={};for(var ye in ie)if(ie.hasOwnProperty(ye)){var me=ie[ye];if(/^(name|fallthrough|(de|at)tach)$/.test(ye))continue;if(me=="..."){delete ie[ye];continue}for(var Ee=Wt(ye.split(" "),yf),He=0;He<Ee.length;He++){var it=void 0,yt=void 0;He==Ee.length-1?(yt=Ee.join(" "),it=me):(yt=Ee.slice(0,He+1).join(" "),it="...");var mt=ae[yt];if(!mt)ae[yt]=it;else if(mt!=it)throw new Error("Inconsistent bindings for "+yt)}delete ie[ye]}for(var It in ae)ie[It]=ae[It];return ie}function sa(ie,ae,ye,me){ae=qu(ae);var Ee=ae.call?ae.call(ie,me):ae[ie];if(Ee===!1)return"nothing";if(Ee==="...")return"multi";if(Ee!=null&&ye(Ee))return"handled";if(ae.fallthrough){if(Object.prototype.toString.call(ae.fallthrough)!="[object Array]")return sa(ie,ae.fallthrough,ye,me);for(var He=0;He<ae.fallthrough.length;He++){var it=sa(ie,ae.fallthrough[He],ye,me);if(it)return it}}}function Xs(ie){var ae=typeof ie=="string"?ie:fc[ie.keyCode];return ae=="Ctrl"||ae=="Alt"||ae=="Shift"||ae=="Mod"}function bu(ie,ae,ye){var me=ie;return ae.altKey&&me!="Alt"&&(ie="Alt-"+ie),(be?ae.metaKey:ae.ctrlKey)&&me!="Ctrl"&&(ie="Ctrl-"+ie),(be?ae.ctrlKey:ae.metaKey)&&me!="Mod"&&(ie="Cmd-"+ie),!ye&&ae.shiftKey&&me!="Shift"&&(ie="Shift-"+ie),ie}function Cl(ie,ae){if(rt&&ie.keyCode==34&&ie.char)return!1;var ye=fc[ie.keyCode];return ye==null||ie.altGraphKey?!1:(ie.keyCode==3&&ie.code&&(ye=ie.code),bu(ye,ie,ae))}function qu(ie){return typeof ie=="string"?$l[ie]:ie}function el(ie,ae){for(var ye=ie.doc.sel.ranges,me=[],Ee=0;Ee<ye.length;Ee++){for(var He=ae(ye[Ee]);me.length&&qi(He.from,$e(me).to)<=0;){var it=me.pop();if(qi(it.from,He.from)<0){He.from=it.from;break}}me.push(He)}ur(ie,function(){for(var yt=me.length-1;yt>=0;yt--)sl(ie.doc,"",me[yt].from,me[yt].to,"+delete");Su(ie)})}function jc(ie,ae,ye){var me=ni(ie.text,ae+ye,ye);return me<0||me>ie.text.length?null:me}function Ps(ie,ae,ye){var me=jc(ie,ae.ch,ye);return me==null?null:new jn(ae.line,me,ye<0?"after":"before")}function yd(ie,ae,ye,me,Ee){if(ie){ae.doc.direction=="rtl"&&(Ee=-Ee);var He=ei(ye,ae.doc.direction);if(He){var it=Ee<0?$e(He):He[0],yt=Ee<0==(it.level==1),mt=yt?"after":"before",It;if(it.level>0||ae.doc.direction=="rtl"){var mn=hl(ae,ye);It=Ee<0?ye.text.length-1:0;var Ut=Bl(ae,mn,It).top;It=ui(function(zn){return Bl(ae,mn,zn).top==Ut},Ee<0==(it.level==1)?it.from:it.to-1,It),mt=="before"&&(It=jc(ye,It,1))}else It=Ee<0?it.to:it.from;return new jn(me,It,mt)}}return new jn(me,Ee<0?ye.text.length:0,Ee<0?"before":"after")}function Zf(ie,ae,ye,me){var Ee=ei(ae,ie.doc.direction);if(!Ee)return Ps(ae,ye,me);ye.ch>=ae.text.length?(ye.ch=ae.text.length,ye.sticky="before"):ye.ch<=0&&(ye.ch=0,ye.sticky="after");var He=rn(Ee,ye.ch,ye.sticky),it=Ee[He];if(ie.doc.direction=="ltr"&&it.level%2==0&&(me>0?it.to>ye.ch:it.from<ye.ch))return Ps(ae,ye,me);var yt=function(Ar,Qr){return jc(ae,Ar instanceof jn?Ar.ch:Ar,Qr)},mt,It=function(Ar){return ie.options.lineWrapping?(mt=mt||hl(ie,ae),_l(ie,ae,mt,Ar)):{begin:0,end:ae.text.length}},mn=It(ye.sticky=="before"?yt(ye,-1):ye.ch);if(ie.doc.direction=="rtl"||it.level==1){var Ut=it.level==1==me<0,zn=yt(ye,Ut?1:-1);if(zn!=null&&(Ut?zn<=it.to&&zn<=mn.end:zn>=it.from&&zn>=mn.begin)){var Rn=Ut?"before":"after";return new jn(ye.line,zn,Rn)}}var Bi=function(Ar,Qr,Dr){for(var fo=function(Ns,yl){return yl?new jn(ye.line,yt(Ns,1),"before"):new jn(ye.line,Ns,"after")};Ar>=0&&Ar<Ee.length;Ar+=Qr){var zo=Ee[Ar],Mr=Qr>0==(zo.level!=1),ma=Mr?Dr.begin:yt(Dr.end,-1);if(zo.from<=ma&&ma<zo.to||(ma=Mr?zo.from:yt(zo.to,-1),Dr.begin<=ma&&ma<Dr.end))return fo(ma,Mr)}},Ui=Bi(He+me,me,mn);if(Ui)return Ui;var nr=me>0?mn.end:yt(mn.begin,-1);return nr!=null&&!(me>0&&nr==ae.text.length)&&(Ui=Bi(me>0?0:Ee.length-1,me,It(nr)),Ui)?Ui:null}var Dd={selectAll:Vo,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),Gt)},killLine:function(ie){return el(ie,function(ae){if(ae.empty()){var ye=Un(ie.doc,ae.head.line).text.length;return ae.head.ch==ye&&ae.head.line<ie.lastLine()?{from:ae.head,to:jn(ae.head.line+1,0)}:{from:ae.head,to:jn(ae.head.line,ye)}}else return{from:ae.from(),to:ae.to()}})},deleteLine:function(ie){return el(ie,function(ae){return{from:jn(ae.from().line,0),to:sr(ie.doc,jn(ae.to().line+1,0))}})},delLineLeft:function(ie){return el(ie,function(ae){return{from:jn(ae.from().line,0),to:ae.from()}})},delWrappedLineLeft:function(ie){return el(ie,function(ae){var ye=ie.charCoords(ae.head,"div").top+5,me=ie.coordsChar({left:0,top:ye},"div");return{from:me,to:ae.from()}})},delWrappedLineRight:function(ie){return el(ie,function(ae){var ye=ie.charCoords(ae.head,"div").top+5,me=ie.coordsChar({left:ie.display.lineDiv.offsetWidth+100,top:ye},"div");return{from:ae.from(),to:me}})},undo:function(ie){return ie.undo()},redo:function(ie){return ie.redo()},undoSelection:function(ie){return ie.undoSelection()},redoSelection:function(ie){return ie.redoSelection()},goDocStart:function(ie){return ie.extendSelection(jn(ie.firstLine(),0))},goDocEnd:function(ie){return ie.extendSelection(jn(ie.lastLine()))},goLineStart:function(ie){return ie.extendSelectionsBy(function(ae){return zh(ie,ae.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(ie){return ie.extendSelectionsBy(function(ae){return Yg(ie,ae.head)},{origin:"+move",bias:1})},goLineEnd:function(ie){return ie.extendSelectionsBy(function(ae){return jh(ie,ae.head.line)},{origin:"+move",bias:-1})},goLineRight:function(ie){return ie.extendSelectionsBy(function(ae){var ye=ie.cursorCoords(ae.head,"div").top+5;return ie.coordsChar({left:ie.display.lineDiv.offsetWidth+100,top:ye},"div")},Nn)},goLineLeft:function(ie){return ie.extendSelectionsBy(function(ae){var ye=ie.cursorCoords(ae.head,"div").top+5;return ie.coordsChar({left:0,top:ye},"div")},Nn)},goLineLeftSmart:function(ie){return ie.extendSelectionsBy(function(ae){var ye=ie.cursorCoords(ae.head,"div").top+5,me=ie.coordsChar({left:0,top:ye},"div");return me.ch<ie.getLine(me.line).search(/\S/)?Yg(ie,ae.head):me},Nn)},goLineUp:function(ie){return ie.moveV(-1,"line")},goLineDown:function(ie){return ie.moveV(1,"line")},goPageUp:function(ie){return ie.moveV(-1,"page")},goPageDown:function(ie){return ie.moveV(1,"page")},goCharLeft:function(ie){return ie.moveH(-1,"char")},goCharRight:function(ie){return ie.moveH(1,"char")},goColumnLeft:function(ie){return ie.moveH(-1,"column")},goColumnRight:function(ie){return ie.moveH(1,"column")},goWordLeft:function(ie){return ie.moveH(-1,"word")},goGroupRight:function(ie){return ie.moveH(1,"group")},goGroupLeft:function(ie){return ie.moveH(-1,"group")},goWordRight:function(ie){return ie.moveH(1,"word")},delCharBefore:function(ie){return ie.deleteH(-1,"codepoint")},delCharAfter:function(ie){return ie.deleteH(1,"char")},delWordBefore:function(ie){return ie.deleteH(-1,"word")},delWordAfter:function(ie){return ie.deleteH(1,"word")},delGroupBefore:function(ie){return ie.deleteH(-1,"group")},delGroupAfter:function(ie){return ie.deleteH(1,"group")},indentAuto:function(ie){return ie.indentSelection("smart")},indentMore:function(ie){return ie.indentSelection("add")},indentLess:function(ie){return ie.indentSelection("subtract")},insertTab:function(ie){return ie.replaceSelection(" ")},insertSoftTab:function(ie){for(var ae=[],ye=ie.listSelections(),me=ie.options.tabSize,Ee=0;Ee<ye.length;Ee++){var He=ye[Ee].from(),it=Et(ie.getLine(He.line),He.ch,me);ae.push(Ot(me-it%me))}ie.replaceSelections(ae)},defaultTab:function(ie){ie.somethingSelected()?ie.indentSelection("add"):ie.execCommand("insertTab")},transposeChars:function(ie){return ur(ie,function(){for(var ae=ie.listSelections(),ye=[],me=0;me<ae.length;me++)if(ae[me].empty()){var Ee=ae[me].head,He=Un(ie.doc,Ee.line).text;if(He){if(Ee.ch==He.length&&(Ee=new jn(Ee.line,Ee.ch-1)),Ee.ch>0)Ee=new jn(Ee.line,Ee.ch+1),ie.replaceRange(He.charAt(Ee.ch-1)+He.charAt(Ee.ch-2),jn(Ee.line,Ee.ch-2),Ee,"+transpose");else if(Ee.line>ie.doc.first){var it=Un(ie.doc,Ee.line-1).text;it&&(Ee=new jn(Ee.line,1),ie.replaceRange(He.charAt(0)+ie.doc.lineSeparator()+it.charAt(it.length-1),jn(Ee.line-1,it.length-1),Ee,"+transpose"))}}ye.push(new Ei(Ee,Ee))}ie.setSelections(ye)})},newlineAndIndent:function(ie){return ur(ie,function(){for(var ae=ie.listSelections(),ye=ae.length-1;ye>=0;ye--)ie.replaceRange(ie.doc.lineSeparator(),ae[ye].anchor,ae[ye].head,"+input");ae=ie.listSelections();for(var me=0;me<ae.length;me++)ie.indentLine(ae[me].from().line,null,!0);Su(ie)})},openLine:function(ie){return ie.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(ie){return ie.toggleOverwrite()}};function zh(ie,ae){var ye=Un(ie.doc,ae),me=Ir(ye);return me!=ye&&(ae=tn(me)),yd(!0,ie,me,ae,1)}function jh(ie,ae){var ye=Un(ie.doc,ae),me=or(ye);return me!=ye&&(ae=tn(me)),yd(!0,ie,ye,ae,-1)}function Yg(ie,ae){var ye=zh(ie,ae.line),me=Un(ie.doc,ye.line),Ee=ei(me,ie.doc.direction);if(!Ee||Ee[0].level==0){var He=Math.max(ye.ch,me.text.search(/\S/)),it=ae.line==ye.line&&ae.ch<=He&&ae.ch;return jn(ye.line,it?0:He,ye.sticky)}return ye}function Gh(ie,ae,ye){if(typeof ae=="string"&&(ae=Dd[ae],!ae))return!1;ie.display.input.ensurePolled();var me=ie.display.shift,Ee=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),ye&&(ie.display.shift=!1),Ee=ae(ie)!=In}finally{ie.display.shift=me,ie.state.suppressEdits=!1}return Ee}function Kg(ie,ae,ye){for(var me=0;me<ie.state.keyMaps.length;me++){var Ee=sa(ae,ie.state.keyMaps[me],ye,ie);if(Ee)return Ee}return ie.options.extraKeys&&sa(ae,ie.options.extraKeys,ye,ie)||sa(ae,ie.options.keyMap,ye,ie)}var qc=new nt;function uh(ie,ae,ye,me){var Ee=ie.state.keySeq;if(Ee){if(Xs(ae))return"handled";if(/\'$/.test(ae)?ie.state.keySeq=null:qc.set(50,function(){ie.state.keySeq==Ee&&(ie.state.keySeq=null,ie.display.input.reset())}),Xf(ie,Ee+" "+ae,ye,me))return!0}return Xf(ie,ae,ye,me)}function Xf(ie,ae,ye,me){var Ee=Kg(ie,ae,me);return Ee=="multi"&&(ie.state.keySeq=ae),Ee=="handled"&&Zi(ie,"keyHandled",ie,ae,ye),(Ee=="handled"||Ee=="multi")&&(Rr(ye),Oa(ie)),!!Ee}function Qf(ie,ae){var ye=Cl(ae,!0);return ye?ae.shiftKey&&!ie.state.keySeq?uh(ie,"Shift-"+ye,ae,function(me){return Gh(ie,me,!0)})||uh(ie,ye,ae,function(me){if(typeof me=="string"?/^go[A-Z]/.test(me):me.motion)return Gh(ie,me)}):uh(ie,ye,ae,function(me){return Gh(ie,me)}):!1}function Jf(ie,ae,ye){return uh(ie,"'"+ye+"'",ae,function(me){return Gh(ie,me,!0)})}var ch=null;function Zg(ie){var ae=this;if(!(ie.target&&ie.target!=ae.display.input.getField())&&(ae.curOp.focus=Xt(),!_e(ae,ie))){Ye&&Pe<11&&ie.keyCode==27&&(ie.returnValue=!1);var ye=ie.keyCode;ae.display.shift=ye==16||ie.shiftKey;var me=Qf(ae,ie);rt&&(ch=me?ye:null,!me&&ye==88&&!Mn&&(de?ie.metaKey:ie.ctrlKey)&&ae.replaceSelection("",null,"cut")),ce&&!de&&!me&&ye==46&&ie.shiftKey&&!ie.ctrlKey&&document.execCommand&&document.execCommand("cut"),ye==18&&!/\bCodeMirror-crosshair\b/.test(ae.display.lineDiv.className)&&Xg(ae)}}function Xg(ie){var ae=ie.display.lineDiv;Zt(ae,"CodeMirror-crosshair");function ye(me){(me.keyCode==18||!me.altKey)&&(Ke(ae,"CodeMirror-crosshair"),Xi(document,"keyup",ye),Xi(document,"mouseover",ye))}cn(document,"keyup",ye),cn(document,"mouseover",ye)}function Qg(ie){ie.keyCode==16&&(this.doc.sel.shift=!1),_e(this,ie)}function Gc(ie){var ae=this;if(!(ie.target&&ie.target!=ae.display.input.getField())&&!(ns(ae.display,ie)||_e(ae,ie)||ie.ctrlKey&&!ie.altKey||de&&ie.metaKey)){var ye=ie.keyCode,me=ie.charCode;if(rt&&ye==ch){ch=null,Rr(ie);return}if(!(rt&&(!ie.which||ie.which<10)&&Qf(ae,ie))){var Ee=String.fromCharCode(me==null?ye:me);Ee!="\b"&&(Jf(ae,ie,Ee)||ae.display.input.onKeyPress(ie))}}}var am=400,Jg=function(ie,ae,ye){this.time=ie,this.pos=ae,this.button=ye};Jg.prototype.compare=function(ie,ae,ye){return this.time+am>ie&&qi(ae,this.pos)==0&&ye==this.button};var Wh,dh;function qg(ie,ae){var ye=+new Date;return dh&&dh.compare(ye,ie,ae)?(Wh=dh=null,"triple"):Wh&&Wh.compare(ye,ie,ae)?(dh=new Jg(ye,ie,ae),Wh=null,"double"):(Wh=new Jg(ye,ie,ae),dh=null,"single")}function Wc(ie){var ae=this,ye=ae.display;if(!(_e(ae,ie)||ye.activeTouch&&ye.input.supportsTouch())){if(ye.input.ensurePolled(),ye.shift=ie.shiftKey,ns(ye,ie)){Ue||(ye.scroller.draggable=!1,setTimeout(function(){return ye.scroller.draggable=!0},100));return}if(!eg(ae,ie)){var me=Zs(ae,ie),Ee=Qt(ie),He=me?qg(me,Ee):"single";window.focus(),Ee==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(me&&$g(ae,Ee,me,He,ie))&&(Ee==1?me?sm(ae,me,He,ie):hi(ie)==ye.scroller&&Rr(ie):Ee==2?(me&&cc(ae.doc,me),setTimeout(function(){return ye.input.focus()},20)):Ee==3&&(we?ae.display.input.onContextMenu(ie):is(ae)))}}}function $g(ie,ae,ye,me,Ee){var He="Click";return me=="double"?He="Double"+He:me=="triple"&&(He="Triple"+He),He=(ae==1?"Left":ae==2?"Middle":"Right")+He,uh(ie,bu(He,Ee),Ee,function(it){if(typeof it=="string"&&(it=Dd[it]),!it)return!1;var yt=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),yt=it(ie,ye)!=In}finally{ie.state.suppressEdits=!1}return yt})}function qf(ie,ae,ye){var me=ie.getOption("configureMouse"),Ee=me?me(ie,ae,ye):{};if(Ee.unit==null){var He=se?ye.shiftKey&&ye.metaKey:ye.altKey;Ee.unit=He?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(Ee.extend==null||ie.doc.extend)&&(Ee.extend=ie.doc.extend||ye.shiftKey),Ee.addNew==null&&(Ee.addNew=de?ye.metaKey:ye.ctrlKey),Ee.moveOnDrag==null&&(Ee.moveOnDrag=!(de?ye.altKey:ye.ctrlKey)),Ee}function sm(ie,ae,ye,me){Ye?setTimeout(on(Va,ie),0):ie.curOp.focus=Xt();var Ee=qf(ie,ye,me),He=ie.doc.sel,it;ie.options.dragDrop&&Wr&&!ie.isReadOnly()&&ye=="single"&&(it=He.contains(ae))>-1&&(qi((it=He.ranges[it]).from(),ae)<0||ae.xRel>0)&&(qi(it.to(),ae)>0||ae.xRel<0)?ep(ie,me,ae,Ee):rv(ie,me,ae,Ee)}function ep(ie,ae,ye,me){var Ee=ie.display,He=!1,it=Ur(ie,function(It){Ue&&(Ee.scroller.draggable=!1),ie.state.draggingText=!1,Xi(Ee.wrapper.ownerDocument,"mouseup",it),Xi(Ee.wrapper.ownerDocument,"mousemove",yt),Xi(Ee.scroller,"dragstart",mt),Xi(Ee.scroller,"drop",it),He||(Rr(It),me.addNew||cc(ie.doc,ye,null,null,me.extend),Ue&&!xt||Ye&&Pe==9?setTimeout(function(){Ee.wrapper.ownerDocument.body.focus({preventScroll:!0}),Ee.input.focus()},20):Ee.input.focus())}),yt=function(It){He=He||Math.abs(ae.clientX-It.clientX)+Math.abs(ae.clientY-It.clientY)>=10},mt=function(){return He=!0};Ue&&(Ee.scroller.draggable=!0),ie.state.draggingText=it,it.copy=!me.moveOnDrag,Ee.scroller.dragDrop&&Ee.scroller.dragDrop(),cn(Ee.wrapper.ownerDocument,"mouseup",it),cn(Ee.wrapper.ownerDocument,"mousemove",yt),cn(Ee.scroller,"dragstart",mt),cn(Ee.scroller,"drop",it),is(ie),setTimeout(function(){return Ee.input.focus()},20)}function tp(ie,ae,ye){if(ye=="char")return new Ei(ae,ae);if(ye=="word")return ie.findWordAt(ae);if(ye=="line")return new Ei(jn(ae.line,0),sr(ie.doc,jn(ae.line+1,0)));var me=ye(ie,ae);return new Ei(me.from,me.to)}function rv(ie,ae,ye,me){var Ee=ie.display,He=ie.doc;Rr(ae);var it,yt,mt=He.sel,It=mt.ranges;if(me.addNew&&!me.extend?(yt=He.sel.contains(ye),yt>-1?it=It[yt]:it=new Ei(ye,ye)):(it=He.sel.primary(),yt=He.sel.primIndex),me.unit=="rectangle")me.addNew||(it=new Ei(ye,ye)),ye=Zs(ie,ae,!0,!0),yt=-1;else{var mn=tp(ie,ye,me.unit);me.extend?it=Cc(it,mn.anchor,mn.head,me.extend):it=mn}me.addNew?yt==-1?(yt=It.length,as(He,ii(ie,It.concat([it]),yt),{scroll:!1,origin:"*mouse"})):It.length>1&&It[yt].empty()&&me.unit=="char"&&!me.extend?(as(He,ii(ie,It.slice(0,yt).concat(It.slice(yt+1)),0),{scroll:!1,origin:"*mouse"}),mt=He.sel):Qu(He,yt,it,An):(yt=0,as(He,new ci([it],0),An),mt=He.sel);var Ut=ye;function zn(Dr){if(qi(Ut,Dr)!=0)if(Ut=Dr,me.unit=="rectangle"){for(var fo=[],zo=ie.options.tabSize,Mr=Et(Un(He,ye.line).text,ye.ch,zo),ma=Et(Un(He,Dr.line).text,Dr.ch,zo),Ns=Math.min(Mr,ma),yl=Math.max(Mr,ma),Hs=Math.min(ye.line,Dr.line),Cu=Math.min(ie.lastLine(),Math.max(ye.line,Dr.line));Hs<=Cu;Hs++){var eu=Un(He,Hs).text,ul=di(eu,Ns,zo);Ns==yl?fo.push(new Ei(jn(Hs,ul),jn(Hs,ul))):eu.length>ul&&fo.push(new Ei(jn(Hs,ul),jn(Hs,di(eu,yl,zo))))}fo.length||fo.push(new Ei(ye,ye)),as(He,ii(ie,mt.ranges.slice(0,yt).concat(fo),yt),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(Dr)}else{var Bu=it,zl=tp(ie,Dr,me.unit),cl=Bu.anchor,Ja;qi(zl.anchor,cl)>0?(Ja=zl.head,cl=Vi(Bu.from(),zl.anchor)):(Ja=zl.anchor,cl=ko(Bu.to(),zl.head));var js=mt.ranges.slice(0);js[yt]=lm(ie,new Ei(sr(He,cl),Ja)),as(He,ii(ie,js,yt),An)}}var Rn=Ee.wrapper.getBoundingClientRect(),Bi=0;function Ui(Dr){var fo=++Bi,zo=Zs(ie,Dr,!0,me.unit=="rectangle");if(zo)if(qi(zo,Ut)!=0){ie.curOp.focus=Xt(),zn(zo);var Mr=ra(Ee,He);(zo.line>=Mr.to||zo.line<Mr.from)&&setTimeout(Ur(ie,function(){Bi==fo&&Ui(Dr)}),150)}else{var ma=Dr.clientY<Rn.top?-20:Dr.clientY>Rn.bottom?20:0;ma&&setTimeout(Ur(ie,function(){Bi==fo&&(Ee.scroller.scrollTop+=ma,Ui(Dr))}),50)}}function nr(Dr){ie.state.selectingText=!1,Bi=1/0,Dr&&(Rr(Dr),Ee.input.focus()),Xi(Ee.wrapper.ownerDocument,"mousemove",Ar),Xi(Ee.wrapper.ownerDocument,"mouseup",Qr),He.history.lastSelOrigin=null}var Ar=Ur(ie,function(Dr){Dr.buttons===0||!Qt(Dr)?nr(Dr):Ui(Dr)}),Qr=Ur(ie,nr);ie.state.selectingText=Qr,cn(Ee.wrapper.ownerDocument,"mousemove",Ar),cn(Ee.wrapper.ownerDocument,"mouseup",Qr)}function lm(ie,ae){var ye=ae.anchor,me=ae.head,Ee=Un(ie.doc,ye.line);if(qi(ye,me)==0&&ye.sticky==me.sticky)return ae;var He=ei(Ee);if(!He)return ae;var it=rn(He,ye.ch,ye.sticky),yt=He[it];if(yt.from!=ye.ch&&yt.to!=ye.ch)return ae;var mt=it+(yt.from==ye.ch==(yt.level!=1)?0:1);if(mt==0||mt==He.length)return ae;var It;if(me.line!=ye.line)It=(me.line-ye.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var mn=rn(He,me.ch,me.sticky),Ut=mn-it||(me.ch-ye.ch)*(yt.level==1?-1:1);mn==mt-1||mn==mt?It=Ut<0:It=Ut>0}var zn=He[mt+(It?-1:0)],Rn=It==(zn.level==1),Bi=Rn?zn.from:zn.to,Ui=Rn?"after":"before";return ye.ch==Bi&&ye.sticky==Ui?ae:new Ei(new jn(ye.line,Bi,Ui),me)}function $f(ie,ae,ye,me){var Ee,He;if(ae.touches)Ee=ae.touches[0].clientX,He=ae.touches[0].clientY;else try{Ee=ae.clientX,He=ae.clientY}catch(zn){return!1}if(Ee>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;me&&Rr(ae);var it=ie.display,yt=it.lineDiv.getBoundingClientRect();if(He>yt.bottom||!er(ie,ye))return Ii(ae);He-=yt.top-it.viewOffset;for(var mt=0;mt<ie.display.gutterSpecs.length;++mt){var It=it.gutters.childNodes[mt];if(It&&It.getBoundingClientRect().right>=Ee){var mn=Hi(ie.doc,He),Ut=ie.display.gutterSpecs[mt];return $t(ie,ye,ie,mn,Ut.className,ae),Ii(ae)}}}function eg(ie,ae){return $f(ie,ae,"gutterClick",!0)}function tg(ie,ae){ns(ie.display,ae)||um(ie,ae)||_e(ie,ae,"contextmenu")||we||ie.display.input.onContextMenu(ae)}function um(ie,ae){return er(ie,"gutterContextMenu")?$f(ie,ae,"gutterContextMenu",!1):!1}function ng(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Zn(ie)}var Fd={toString:function(){return"CodeMirror.Init"}},np={},Sf={};function cm(ie){var ae=ie.optionHandlers;function ye(me,Ee,He,it){ie.defaults[me]=Ee,He&&(ae[me]=it?function(yt,mt,It){It!=Fd&&He(yt,mt,It)}:He)}ie.defineOption=ye,ie.Init=Fd,ye("value","",function(me,Ee){return me.setValue(Ee)},!0),ye("mode",null,function(me,Ee){me.doc.modeOption=Ee,rr(me)},!0),ye("indentUnit",2,rr,!0),ye("indentWithTabs",!1),ye("smartIndent",!0),ye("tabSize",4,function(me){Ko(me),Zn(me),Ga(me)},!0),ye("lineSeparator",null,function(me,Ee){if(me.doc.lineSep=Ee,!!Ee){var He=[],it=me.doc.first;me.doc.iter(function(mt){for(var It=0;;){var mn=mt.text.indexOf(Ee,It);if(mn==-1)break;It=mn+Ee.length,He.push(jn(it,mn))}it++});for(var yt=He.length-1;yt>=0;yt--)sl(me.doc,Ee,He[yt],jn(He[yt].line,He[yt].ch+Ee.length))}}),ye("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(me,Ee,He){me.state.specialChars=new RegExp(Ee.source+(Ee.test(" ")?"":"| "),"g"),He!=Fd&&me.refresh()}),ye("specialCharPlaceholder",qo,function(me){return me.refresh()},!0),ye("electricChars",!0),ye("inputStyle",ee?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ye("spellcheck",!1,function(me,Ee){return me.getInputField().spellcheck=Ee},!0),ye("autocorrect",!1,function(me,Ee){return me.getInputField().autocorrect=Ee},!0),ye("autocapitalize",!1,function(me,Ee){return me.getInputField().autocapitalize=Ee},!0),ye("rtlMoveVisually",!ge),ye("wholeLineUpdateBefore",!0),ye("theme","default",function(me){ng(me),Pn(me)},!0),ye("keyMap","default",function(me,Ee,He){var it=qu(Ee),yt=He!=Fd&&qu(He);yt&&yt.detach&&yt.detach(me,it),it.attach&&it.attach(me,yt||null)}),ye("extraKeys",null),ye("configureMouse",null),ye("lineWrapping",!1,dm,!0),ye("gutters",[],function(me,Ee){me.display.gutterSpecs=Gn(Ee,me.options.lineNumbers),Pn(me)},!0),ye("fixedGutter",!0,function(me,Ee){me.display.gutters.style.left=Ee?il(me.display)+"px":"0",me.refresh()},!0),ye("coverGutterNextToScrollbar",!1,function(me){return Vn(me)},!0),ye("scrollbarStyle","native",function(me){Fi(me),Vn(me),me.display.scrollbars.setScrollTop(me.doc.scrollTop),me.display.scrollbars.setScrollLeft(me.doc.scrollLeft)},!0),ye("lineNumbers",!1,function(me,Ee){me.display.gutterSpecs=Gn(me.options.gutters,Ee),Pn(me)},!0),ye("firstLineNumber",1,Pn,!0),ye("lineNumberFormatter",function(me){return me},Pn,!0),ye("showCursorWhenSelecting",!1,Us,!0),ye("resetSelectionOnContextMenu",!0),ye("lineWiseCopyCut",!0),ye("pasteLinesPerSelection",!0),ye("selectionsMayTouch",!1),ye("readOnly",!1,function(me,Ee){Ee=="nocursor"&&(lc(me),me.display.input.blur()),me.display.input.readOnlyChanged(Ee)}),ye("screenReaderLabel",null,function(me,Ee){Ee=Ee===""?null:Ee,me.display.input.screenReaderLabelChanged(Ee)}),ye("disableInput",!1,function(me,Ee){Ee||me.display.input.reset()},!0),ye("dragDrop",!0,ig),ye("allowDropFileTypes",null),ye("cursorBlinkRate",530),ye("cursorScrollMargin",0),ye("cursorHeight",1,Us,!0),ye("singleCursorHeightPerLine",!0,Us,!0),ye("workTime",100),ye("workDelay",100),ye("flattenSpans",!0,Ko,!0),ye("addModeClass",!1,Ko,!0),ye("pollInterval",100),ye("undoDepth",200,function(me,Ee){return me.doc.history.undoDepth=Ee}),ye("historyEventDelay",1250),ye("viewportMargin",10,function(me){return me.refresh()},!0),ye("maxHighlightLength",1e4,Ko,!0),ye("moveInputWithCursor",!0,function(me,Ee){Ee||me.display.input.resetPosition()}),ye("tabindex",null,function(me,Ee){return me.display.input.getField().tabIndex=Ee||""}),ye("autofocus",null),ye("direction","ltr",function(me,Ee){return me.doc.setDirection(Ee)},!0),ye("phrases",null)}function ig(ie,ae,ye){var me=ye&&ye!=Fd;if(!ae!=!me){var Ee=ie.display.dragFunctions,He=ae?cn:Xi;He(ie.display.scroller,"dragstart",Ee.start),He(ie.display.scroller,"dragenter",Ee.enter),He(ie.display.scroller,"dragover",Ee.over),He(ie.display.scroller,"dragleave",Ee.leave),He(ie.display.scroller,"drop",Ee.drop)}}function dm(ie){ie.options.lineWrapping?(Zt(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(Ke(ie.display.wrapper,"CodeMirror-wrap"),io(ie)),eo(ie),Ga(ie),Zn(ie),setTimeout(function(){return Vn(ie)},100)}function Za(ie,ae){var ye=this;if(!(this instanceof Za))return new Za(ie,ae);this.options=ae=ae?Bn(ae):{},Bn(np,ae,!1);var me=ae.value;typeof me=="string"?me=new ml(me,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(me.modeOption=ae.mode),this.doc=me;var Ee=new Za.inputStyles[ae.inputStyle](this),He=this.display=new le(ie,me,Ee,ae);He.wrapper.CodeMirror=this,ng(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Fi(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 nt,keySeq:null,specialChars:null},ae.autofocus&&!ee&&He.input.focus(),Ye&&Pe<11&&setTimeout(function(){return ye.display.input.reset(!0)},20),Vh(this),lu(),Ai(this),this.curOp.forceUpdate=!0,Ya(this,me),ae.autofocus&&!ee||this.hasFocus()?setTimeout(function(){ye.hasFocus()&&!ye.state.focused&&va(ye)},20):lc(this);for(var it in Sf)Sf.hasOwnProperty(it)&&Sf[it](this,ae[it],Fd);dn(this),ae.finishInit&&ae.finishInit(this);for(var yt=0;yt<hh.length;++yt)hh[yt](this);xi(this),Ue&&ae.lineWrapping&&getComputedStyle(He.lineDiv).textRendering=="optimizelegibility"&&(He.lineDiv.style.textRendering="auto")}Za.defaults=np,Za.optionHandlers=Sf;function Vh(ie){var ae=ie.display;cn(ae.scroller,"mousedown",Ur(ie,Wc)),Ye&&Pe<11?cn(ae.scroller,"dblclick",Ur(ie,function(mt){if(!_e(ie,mt)){var It=Zs(ie,mt);if(!(!It||eg(ie,mt)||ns(ie.display,mt))){Rr(mt);var mn=ie.findWordAt(It);cc(ie.doc,mn.anchor,mn.head)}}})):cn(ae.scroller,"dblclick",function(mt){return _e(ie,mt)||Rr(mt)}),cn(ae.scroller,"contextmenu",function(mt){return tg(ie,mt)}),cn(ae.input.getField(),"contextmenu",function(mt){ae.scroller.contains(mt.target)||tg(ie,mt)});var ye,me={end:0};function Ee(){ae.activeTouch&&(ye=setTimeout(function(){return ae.activeTouch=null},1e3),me=ae.activeTouch,me.end=+new Date)}function He(mt){if(mt.touches.length!=1)return!1;var It=mt.touches[0];return It.radiusX<=1&&It.radiusY<=1}function it(mt,It){if(It.left==null)return!0;var mn=It.left-mt.left,Ut=It.top-mt.top;return mn*mn+Ut*Ut>20*20}cn(ae.scroller,"touchstart",function(mt){if(!_e(ie,mt)&&!He(mt)&&!eg(ie,mt)){ae.input.ensurePolled(),clearTimeout(ye);var It=+new Date;ae.activeTouch={start:It,moved:!1,prev:It-me.end<=300?me:null},mt.touches.length==1&&(ae.activeTouch.left=mt.touches[0].pageX,ae.activeTouch.top=mt.touches[0].pageY)}}),cn(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),cn(ae.scroller,"touchend",function(mt){var It=ae.activeTouch;if(It&&!ns(ae,mt)&&It.left!=null&&!It.moved&&new Date-It.start<300){var mn=ie.coordsChar(ae.activeTouch,"page"),Ut;!It.prev||it(It,It.prev)?Ut=new Ei(mn,mn):!It.prev.prev||it(It,It.prev.prev)?Ut=ie.findWordAt(mn):Ut=new Ei(jn(mn.line,0),sr(ie.doc,jn(mn.line+1,0))),ie.setSelection(Ut.anchor,Ut.head),ie.focus(),Rr(mt)}Ee()}),cn(ae.scroller,"touchcancel",Ee),cn(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(Dt(ie,ae.scroller.scrollTop),zt(ie,ae.scroller.scrollLeft,!0),$t(ie,"scroll",ie))}),cn(ae.scroller,"mousewheel",function(mt){return Cn(ie,mt)}),cn(ae.scroller,"DOMMouseScroll",function(mt){return Cn(ie,mt)}),cn(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(mt){_e(ie,mt)||ar(mt)},over:function(mt){_e(ie,mt)||(_h(ie,mt),ar(mt))},start:function(mt){return sh(ie,mt)},drop:Ur(ie,Bh),leave:function(mt){_e(ie,mt)||Uh(ie)}};var yt=ae.input.getField();cn(yt,"keyup",function(mt){return Qg.call(ie,mt)}),cn(yt,"keydown",Ur(ie,Zg)),cn(yt,"keypress",Ur(ie,Gc)),cn(yt,"focus",function(mt){return va(ie,mt)}),cn(yt,"blur",function(mt){return lc(ie,mt)})}var hh=[];Za.defineInitHook=function(ie){return hh.push(ie)};function vl(ie,ae,ye,me){var Ee=ie.doc,He;ye==null&&(ye="add"),ye=="smart"&&(Ee.mode.indent?He=Sa(ie,ae).state:ye="prev");var it=ie.options.tabSize,yt=Un(Ee,ae),mt=Et(yt.text,null,it);yt.stateAfter&&(yt.stateAfter=null);var It=yt.text.match(/^\s*/)[0],mn;if(!me&&!/\S/.test(yt.text))mn=0,ye="not";else if(ye=="smart"&&(mn=Ee.mode.indent(He,yt.text.slice(It.length),yt.text),mn==In||mn>150)){if(!me)return;ye="prev"}ye=="prev"?ae>Ee.first?mn=Et(Un(Ee,ae-1).text,null,it):mn=0:ye=="add"?mn=mt+ie.options.indentUnit:ye=="subtract"?mn=mt-ie.options.indentUnit:typeof ye=="number"&&(mn=mt+ye),mn=Math.max(0,mn);var Ut="",zn=0;if(ie.options.indentWithTabs)for(var Rn=Math.floor(mn/it);Rn;--Rn)zn+=it,Ut+=" ";if(zn<mn&&(Ut+=Ot(mn-zn)),Ut!=It)return sl(Ee,Ut,jn(ae,0),jn(ae,It.length),"+input"),yt.stateAfter=null,!0;for(var Bi=0;Bi<Ee.sel.ranges.length;Bi++){var Ui=Ee.sel.ranges[Bi];if(Ui.head.line==ae&&Ui.head.ch<It.length){var nr=jn(ae,It.length);Qu(Ee,Bi,new Ei(nr,nr));break}}}var wu=null;function fh(ie){wu=ie}function Ef(ie,ae,ye,me,Ee){var He=ie.doc;ie.display.shift=!1,me||(me=He.sel);var it=+new Date-200,yt=Ee=="paste"||ie.state.pasteIncoming>it,mt=On(ae),It=null;if(yt&&me.ranges.length>1)if(wu&&wu.text.join(`
|
|
|
`)==ae){if(me.ranges.length%wu.text.length==0){It=[];for(var mn=0;mn<wu.text.length;mn++)It.push(He.splitLines(wu.text[mn]))}}else mt.length==me.ranges.length&&ie.options.pasteLinesPerSelection&&(It=Wt(mt,function(Ar){return[Ar]}));for(var Ut=ie.curOp.updateInput,zn=me.ranges.length-1;zn>=0;zn--){var Rn=me.ranges[zn],Bi=Rn.from(),Ui=Rn.to();Rn.empty()&&(ye&&ye>0?Bi=jn(Bi.line,Bi.ch-ye):ie.state.overwrite&&!yt?Ui=jn(Ui.line,Math.min(Un(He,Ui.line).text.length,Ui.ch+$e(mt).length)):yt&&wu&&wu.lineWise&&wu.text.join(`
|
|
|
`)==mt.join(`
|
|
|
`)&&(Bi=Ui=jn(Bi.line,0)));var nr={from:Bi,to:Ui,text:It?It[zn%It.length]:mt,origin:Ee||(yt?"paste":ie.state.cutIncoming>it?"cut":"+input")};pl(ie.doc,nr),Zi(ie,"inputRead",ie,nr)}ae&&!yt&&rp(ie,ae),Su(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Ut),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function ip(ie,ae){var ye=ie.clipboardData&&ie.clipboardData.getData("Text");if(ye)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&ur(ae,function(){return Ef(ae,ye,0,null,"paste")}),!0}function rp(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var ye=ie.doc.sel,me=ye.ranges.length-1;me>=0;me--){var Ee=ye.ranges[me];if(!(Ee.head.ch>100||me&&ye.ranges[me-1].head.line==Ee.head.line)){var He=ie.getModeAt(Ee.head),it=!1;if(He.electricChars){for(var yt=0;yt<He.electricChars.length;yt++)if(ae.indexOf(He.electricChars.charAt(yt))>-1){it=vl(ie,Ee.head.line,"smart");break}}else He.electricInput&&He.electricInput.test(Un(ie.doc,Ee.head.line).text.slice(0,Ee.head.ch))&&(it=vl(ie,Ee.head.line,"smart"));it&&Zi(ie,"electricInput",ie,Ee.head.line)}}}function op(ie){for(var ae=[],ye=[],me=0;me<ie.doc.sel.ranges.length;me++){var Ee=ie.doc.sel.ranges[me].head.line,He={anchor:jn(Ee,0),head:jn(Ee+1,0)};ye.push(He),ae.push(ie.getRange(He.anchor,He.head))}return{text:ae,ranges:ye}}function ap(ie,ae,ye,me){ie.setAttribute("autocorrect",ye?"":"off"),ie.setAttribute("autocapitalize",me?"":"off"),ie.setAttribute("spellcheck",!!ae)}function sp(){var ie=at("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),ae=at("div",[ie],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ue?ie.style.width="1000px":ie.setAttribute("wrap","off"),De&&(ie.style.border="1px solid black"),ap(ie),ae}function Bd(ie){var ae=ie.optionHandlers,ye=ie.helpers={};ie.prototype={constructor:ie,focus:function(){window.focus(),this.display.input.focus()},setOption:function(me,Ee){var He=this.options,it=He[me];He[me]==Ee&&me!="mode"||(He[me]=Ee,ae.hasOwnProperty(me)&&Ur(this,ae[me])(this,Ee,it),$t(this,"optionChange",this,me))},getOption:function(me){return this.options[me]},getDoc:function(){return this.doc},addKeyMap:function(me,Ee){this.state.keyMaps[Ee?"push":"unshift"](qu(me))},removeKeyMap:function(me){for(var Ee=this.state.keyMaps,He=0;He<Ee.length;++He)if(Ee[He]==me||Ee[He].name==me)return Ee.splice(He,1),!0},addOverlay:mo(function(me,Ee){var He=me.token?me:ie.getMode(this.options,me);if(He.startState)throw new Error("Overlays may not be stateful.");jt(this.state.overlays,{mode:He,modeSpec:me,opaque:Ee&&Ee.opaque,priority:Ee&&Ee.priority||0},function(it){return it.priority}),this.state.modeGen++,Ga(this)}),removeOverlay:mo(function(me){for(var Ee=this.state.overlays,He=0;He<Ee.length;++He){var it=Ee[He].modeSpec;if(it==me||typeof me=="string"&&it.name==me){Ee.splice(He,1),this.state.modeGen++,Ga(this);return}}}),indentLine:mo(function(me,Ee,He){typeof Ee!="string"&&typeof Ee!="number"&&(Ee==null?Ee=this.options.smartIndent?"smart":"prev":Ee=Ee?"add":"subtract"),lr(this.doc,me)&&vl(this,me,Ee,He)}),indentSelection:mo(function(me){for(var Ee=this.doc.sel.ranges,He=-1,it=0;it<Ee.length;it++){var yt=Ee[it];if(yt.empty())yt.head.line>He&&(vl(this,yt.head.line,me,!0),He=yt.head.line,it==this.doc.sel.primIndex&&Su(this));else{var mt=yt.from(),It=yt.to(),mn=Math.max(He,mt.line);He=Math.min(this.lastLine(),It.line-(It.ch?0:1))+1;for(var Ut=mn;Ut<He;++Ut)vl(this,Ut,me);var zn=this.doc.sel.ranges;mt.ch==0&&Ee.length==zn.length&&zn[it].from().ch>0&&Qu(this.doc,it,new Ei(mt,zn[it].to()),Gt)}}}),getTokenAt:function(me,Ee){return ia(this,me,Ee)},getLineTokens:function(me,Ee){return ia(this,jn(me),Ee,!0)},getTokenTypeAt:function(me){me=sr(this.doc,me);var Ee=Ha(this,Un(this.doc,me.line)),He=0,it=(Ee.length-1)/2,yt=me.ch,mt;if(yt==0)mt=Ee[2];else for(;;){var It=He+it>>1;if((It?Ee[It*2-1]:0)>=yt)it=It;else if(Ee[It*2+1]<yt)He=It+1;else{mt=Ee[It*2+2];break}}var mn=mt?mt.indexOf("overlay "):-1;return mn<0?mt:mn==0?null:mt.slice(0,mn-1)},getModeAt:function(me){var Ee=this.doc.mode;return Ee.innerMode?ie.innerMode(Ee,this.getTokenAt(me).state).mode:Ee},getHelper:function(me,Ee){return this.getHelpers(me,Ee)[0]},getHelpers:function(me,Ee){var He=[];if(!ye.hasOwnProperty(Ee))return He;var it=ye[Ee],yt=this.getModeAt(me);if(typeof yt[Ee]=="string")it[yt[Ee]]&&He.push(it[yt[Ee]]);else if(yt[Ee])for(var mt=0;mt<yt[Ee].length;mt++){var It=it[yt[Ee][mt]];It&&He.push(It)}else yt.helperType&&it[yt.helperType]?He.push(it[yt.helperType]):it[yt.name]&&He.push(it[yt.name]);for(var mn=0;mn<it._global.length;mn++){var Ut=it._global[mn];Ut.pred(yt,this)&&ot(He,Ut.val)==-1&&He.push(Ut.val)}return He},getStateAfter:function(me,Ee){var He=this.doc;return me=Qi(He,me==null?He.first+He.size-1:me),Sa(this,me+1,Ee).state},cursorCoords:function(me,Ee){var He,it=this.doc.sel.primary();return me==null?He=it.head:typeof me=="object"?He=sr(this.doc,me):He=me?it.from():it.to(),Wo(this,He,Ee||"page")},charCoords:function(me,Ee){return La(this,sr(this.doc,me),Ee||"page")},coordsChar:function(me,Ee){return me=Xo(this,me,Ee||"page"),gs(this,me.left,me.top)},lineAtHeight:function(me,Ee){return me=Xo(this,{top:me,left:0},Ee||"page").top,Hi(this.doc,me+this.display.viewOffset)},heightAtLine:function(me,Ee,He){var it=!1,yt;if(typeof me=="number"){var mt=this.doc.first+this.doc.size-1;me<this.doc.first?me=this.doc.first:me>mt&&(me=mt,it=!0),yt=Un(this.doc,me)}else yt=me;return Lo(this,yt,{top:0,left:0},Ee||"page",He||it).top+(it?this.doc.height-Ji(yt):0)},defaultTextHeight:function(){return nl(this.display)},defaultCharWidth:function(){return Js(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(me,Ee,He,it,yt){var mt=this.display;me=Wo(this,sr(this.doc,me));var It=me.bottom,mn=me.left;if(Ee.style.position="absolute",Ee.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Ee),mt.sizer.appendChild(Ee),it=="over")It=me.top;else if(it=="above"||it=="near"){var Ut=Math.max(mt.wrapper.clientHeight,this.doc.height),zn=Math.max(mt.sizer.clientWidth,mt.lineSpace.clientWidth);(it=="above"||me.bottom+Ee.offsetHeight>Ut)&&me.top>Ee.offsetHeight?It=me.top-Ee.offsetHeight:me.bottom+Ee.offsetHeight<=Ut&&(It=me.bottom),mn+Ee.offsetWidth>zn&&(mn=zn-Ee.offsetWidth)}Ee.style.top=It+"px",Ee.style.left=Ee.style.right="",yt=="right"?(mn=mt.sizer.clientWidth-Ee.offsetWidth,Ee.style.right="0px"):(yt=="left"?mn=0:yt=="middle"&&(mn=(mt.sizer.clientWidth-Ee.offsetWidth)/2),Ee.style.left=mn+"px"),He&&_c(this,{left:mn,top:It,right:mn+Ee.offsetWidth,bottom:It+Ee.offsetHeight})},triggerOnKeyDown:mo(Zg),triggerOnKeyPress:mo(Gc),triggerOnKeyUp:Qg,triggerOnMouseDown:mo(Wc),execCommand:function(me){if(Dd.hasOwnProperty(me))return Dd[me].call(null,this)},triggerElectric:mo(function(me){rp(this,me)}),findPosH:function(me,Ee,He,it){var yt=1;Ee<0&&(yt=-1,Ee=-Ee);for(var mt=sr(this.doc,me),It=0;It<Ee&&(mt=xf(this.doc,mt,yt,He,it),!mt.hitSide);++It);return mt},moveH:mo(function(me,Ee){var He=this;this.extendSelectionsBy(function(it){return He.display.shift||He.doc.extend||it.empty()?xf(He.doc,it.head,me,Ee,He.options.rtlMoveVisually):me<0?it.from():it.to()},Nn)}),deleteH:mo(function(me,Ee){var He=this.doc.sel,it=this.doc;He.somethingSelected()?it.replaceSelection("",null,"+delete"):el(this,function(yt){var mt=xf(it,yt.head,me,Ee,!1);return me<0?{from:mt,to:yt.head}:{from:yt.head,to:mt}})}),findPosV:function(me,Ee,He,it){var yt=1,mt=it;Ee<0&&(yt=-1,Ee=-Ee);for(var It=sr(this.doc,me),mn=0;mn<Ee;++mn){var Ut=Wo(this,It,"div");if(mt==null?mt=Ut.left:Ut.left=mt,It=_d(this,Ut,yt,He),It.hitSide)break}return It},moveV:mo(function(me,Ee){var He=this,it=this.doc,yt=[],mt=!this.display.shift&&!it.extend&&it.sel.somethingSelected();if(it.extendSelectionsBy(function(mn){if(mt)return me<0?mn.from():mn.to();var Ut=Wo(He,mn.head,"div");mn.goalColumn!=null&&(Ut.left=mn.goalColumn),yt.push(Ut.left);var zn=_d(He,Ut,me,Ee);return Ee=="page"&&mn==it.sel.primary()&&Ru(He,La(He,zn,"div").top-Ut.top),zn},Nn),yt.length)for(var It=0;It<it.sel.ranges.length;It++)it.sel.ranges[It].goalColumn=yt[It]}),findWordAt:function(me){var Ee=this.doc,He=Un(Ee,me.line).text,it=me.ch,yt=me.ch;if(He){var mt=this.getHelper(me,"wordChars");(me.sticky=="before"||yt==He.length)&&it?--it:++yt;for(var It=He.charAt(it),mn=dt(It,mt)?function(Ut){return dt(Ut,mt)}:/\s/.test(It)?function(Ut){return/\s/.test(Ut)}:function(Ut){return!/\s/.test(Ut)&&!dt(Ut)};it>0&&mn(He.charAt(it-1));)--it;for(;yt<He.length&&mn(He.charAt(yt));)++yt}return new Ei(jn(me.line,it),jn(me.line,yt))},toggleOverwrite:function(me){me!=null&&me==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Zt(this.display.cursorDiv,"CodeMirror-overwrite"):Ke(this.display.cursorDiv,"CodeMirror-overwrite"),$t(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Xt()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:mo(function(me,Ee){Zu(this,me,Ee)}),getScrollInfo:function(){var me=this.display.scroller;return{left:me.scrollLeft,top:me.scrollTop,height:me.scrollHeight-os(this)-this.display.barHeight,width:me.scrollWidth-os(this)-this.display.barWidth,clientHeight:mu(this),clientWidth:za(this)}},scrollIntoView:mo(function(me,Ee){me==null?(me={from:this.doc.sel.primary().head,to:null},Ee==null&&(Ee=this.options.cursorScrollMargin)):typeof me=="number"?me={from:jn(me,0),to:null}:me.from==null&&(me={from:me,to:null}),me.to||(me.to=me.from),me.margin=Ee||0,me.from.line!=null?ya(this,me):ht(this,me.from,me.to,me.margin)}),setSize:mo(function(me,Ee){var He=this,it=function(mt){return typeof mt=="number"||/^\d+$/.test(String(mt))?mt+"px":mt};me!=null&&(this.display.wrapper.style.width=it(me)),Ee!=null&&(this.display.wrapper.style.height=it(Ee)),this.options.lineWrapping&&Iu(this);var yt=this.display.viewFrom;this.doc.iter(yt,this.display.viewTo,function(mt){if(mt.widgets){for(var It=0;It<mt.widgets.length;It++)if(mt.widgets[It].noHScroll){Ho(He,yt,"widget");break}}++yt}),this.curOp.forceUpdate=!0,$t(this,"refresh",this)}),operation:function(me){return ur(this,me)},startOperation:function(){return Ai(this)},endOperation:function(){return xi(this)},refresh:mo(function(){var me=this.display.cachedTextHeight;Ga(this),this.curOp.forceUpdate=!0,Zn(this),Zu(this,this.doc.scrollLeft,this.doc.scrollTop),Vt(this.display),(me==null||Math.abs(me-nl(this.display))>.5||this.options.lineWrapping)&&eo(this),$t(this,"refresh",this)}),swapDoc:mo(function(me){var Ee=this.doc;return Ee.cm=null,this.state.selectingText&&this.state.selectingText(),Ya(this,me),Zn(this),this.display.input.reset(),Zu(this,me.scrollLeft,me.scrollTop),this.curOp.forceScroll=!0,Zi(this,"swapDoc",this,Ee),Ee}),phrase:function(me){var Ee=this.options.phrases;return Ee&&Object.prototype.hasOwnProperty.call(Ee,me)?Ee[me]:me},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}},ai(ie),ie.registerHelper=function(me,Ee,He){ye.hasOwnProperty(me)||(ye[me]=ie[me]={_global:[]}),ye[me][Ee]=He},ie.registerGlobalHelper=function(me,Ee,He,it){ie.registerHelper(me,Ee,it),ye[me]._global.push({pred:He,val:it})}}function xf(ie,ae,ye,me,Ee){var He=ae,it=ye,yt=Un(ie,ae.line),mt=Ee&&ie.direction=="rtl"?-ye:ye;function It(){var Qr=ae.line+mt;return Qr<ie.first||Qr>=ie.first+ie.size?!1:(ae=new jn(Qr,ae.ch,ae.sticky),yt=Un(ie,Qr))}function mn(Qr){var Dr;if(me=="codepoint"){var fo=yt.text.charCodeAt(ae.ch+(me>0?0:-1));isNaN(fo)?Dr=null:Dr=new jn(ae.line,Math.max(0,Math.min(yt.text.length,ae.ch+ye*(fo>=55296&&fo<56320?2:1))),-ye)}else Ee?Dr=Zf(ie.cm,yt,ae,ye):Dr=Ps(yt,ae,ye);if(Dr==null)if(!Qr&&It())ae=yd(Ee,ie.cm,yt,ae.line,mt);else return!1;else ae=Dr;return!0}if(me=="char"||me=="codepoint")mn();else if(me=="column")mn(!0);else if(me=="word"||me=="group")for(var Ut=null,zn=me=="group",Rn=ie.cm&&ie.cm.getHelper(ae,"wordChars"),Bi=!0;!(ye<0&&!mn(!Bi));Bi=!1){var Ui=yt.text.charAt(ae.ch)||`
|
|
|
`,nr=dt(Ui,Rn)?"w":zn&&Ui==`
|
|
|
`?"n":!zn||/\s/.test(Ui)?null:"p";if(zn&&!Bi&&!nr&&(nr="s"),Ut&&Ut!=nr){ye<0&&(ye=1,mn(),ae.sticky="after");break}if(nr&&(Ut=nr),ye>0&&!mn(!Bi))break}var Ar=ta(ie,ae,He,it,!0);return ao(He,Ar)&&(Ar.hitSide=!0),Ar}function _d(ie,ae,ye,me){var Ee=ie.doc,He=ae.left,it;if(me=="page"){var yt=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),mt=Math.max(yt-.5*nl(ie.display),3);it=(ye>0?ae.bottom:ae.top)+ye*mt}else me=="line"&&(it=ye>0?ae.bottom+3:ae.top-3);for(var It;It=gs(ie,He,it),!!It.outside;){if(ye<0?it<=0:it>=Ee.height){It.hitSide=!0;break}it+=ye*5}return It}var Ss=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new nt,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ss.prototype.init=function(ie){var ae=this,ye=this,me=ye.cm,Ee=ye.div=ie.lineDiv;ap(Ee,me.options.spellcheck,me.options.autocorrect,me.options.autocapitalize);function He(yt){for(var mt=yt.target;mt;mt=mt.parentNode){if(mt==Ee)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(mt.className))break}return!1}cn(Ee,"paste",function(yt){!He(yt)||_e(me,yt)||ip(yt,me)||Pe<=11&&setTimeout(Ur(me,function(){return ae.updateFromDOM()}),20)}),cn(Ee,"compositionstart",function(yt){ae.composing={data:yt.data,done:!1}}),cn(Ee,"compositionupdate",function(yt){ae.composing||(ae.composing={data:yt.data,done:!1})}),cn(Ee,"compositionend",function(yt){ae.composing&&(yt.data!=ae.composing.data&&ae.readFromDOMSoon(),ae.composing.done=!0)}),cn(Ee,"touchstart",function(){return ye.forceCompositionEnd()}),cn(Ee,"input",function(){ae.composing||ae.readFromDOMSoon()});function it(yt){if(!(!He(yt)||_e(me,yt))){if(me.somethingSelected())fh({lineWise:!1,text:me.getSelections()}),yt.type=="cut"&&me.replaceSelection("",null,"cut");else if(me.options.lineWiseCopyCut){var mt=op(me);fh({lineWise:!0,text:mt.text}),yt.type=="cut"&&me.operation(function(){me.setSelections(mt.ranges,0,Gt),me.replaceSelection("",null,"cut")})}else return;if(yt.clipboardData){yt.clipboardData.clearData();var It=wu.text.join(`
|
|
|
`);if(yt.clipboardData.setData("Text",It),yt.clipboardData.getData("Text")==It){yt.preventDefault();return}}var mn=sp(),Ut=mn.firstChild;me.display.lineSpace.insertBefore(mn,me.display.lineSpace.firstChild),Ut.value=wu.text.join(`
|
|
|
`);var zn=document.activeElement;Ln(Ut),setTimeout(function(){me.display.lineSpace.removeChild(mn),zn.focus(),zn==Ee&&ye.showPrimarySelection()},50)}}cn(Ee,"copy",it),cn(Ee,"cut",it)},Ss.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},Ss.prototype.prepareSelection=function(){var ie=yu(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},Ss.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},Ss.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ss.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,ye=ae.doc.sel.primary(),me=ye.from(),Ee=ye.to();if(ae.display.viewTo==ae.display.viewFrom||me.line>=ae.display.viewTo||Ee.line<ae.display.viewFrom){ie.removeAllRanges();return}var He=bf(ae,ie.anchorNode,ie.anchorOffset),it=bf(ae,ie.focusNode,ie.focusOffset);if(!(He&&!He.bad&&it&&!it.bad&&qi(Vi(He,it),me)==0&&qi(ko(He,it),Ee)==0)){var yt=ae.display.view,mt=me.line>=ae.display.viewFrom&&rg(ae,me)||{node:yt[0].measure.map[2],offset:0},It=Ee.line<ae.display.viewTo&&rg(ae,Ee);if(!It){var mn=yt[yt.length-1].measure,Ut=mn.maps?mn.maps[mn.maps.length-1]:mn.map;It={node:Ut[Ut.length-1],offset:Ut[Ut.length-2]-Ut[Ut.length-3]}}if(!mt||!It){ie.removeAllRanges();return}var zn=ie.rangeCount&&ie.getRangeAt(0),Rn;try{Rn=pt(mt.node,mt.offset,It.offset,It.node)}catch(Bi){}Rn&&(!ce&&ae.state.focused?(ie.collapse(mt.node,mt.offset),Rn.collapsed||(ie.removeAllRanges(),ie.addRange(Rn))):(ie.removeAllRanges(),ie.addRange(Rn)),zn&&ie.anchorNode==null?ie.addRange(zn):ce&&this.startGracePeriod()),this.rememberSelection()}},Ss.prototype.startGracePeriod=function(){var ie=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){ie.gracePeriod=!1,ie.selectionChanged()&&ie.cm.operation(function(){return ie.cm.curOp.selectionChanged=!0})},20)},Ss.prototype.showMultipleSelections=function(ie){lt(this.cm.display.cursorDiv,ie.cursors),lt(this.cm.display.selectionDiv,ie.selection)},Ss.prototype.rememberSelection=function(){var ie=this.getSelection();this.lastAnchorNode=ie.anchorNode,this.lastAnchorOffset=ie.anchorOffset,this.lastFocusNode=ie.focusNode,this.lastFocusOffset=ie.focusOffset},Ss.prototype.selectionInEditor=function(){var ie=this.getSelection();if(!ie.rangeCount)return!1;var ae=ie.getRangeAt(0).commonAncestorContainer;return Nt(this.div,ae)},Ss.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ss.prototype.blur=function(){this.div.blur()},Ss.prototype.getField=function(){return this.div},Ss.prototype.supportsTouch=function(){return!0},Ss.prototype.receivedFocus=function(){var ie=this;this.selectionInEditor()?this.pollSelection():ur(this.cm,function(){return ie.cm.curOp.selectionChanged=!0});function ae(){ie.cm.state.focused&&(ie.pollSelection(),ie.polling.set(ie.cm.options.pollInterval,ae))}this.polling.set(this.cm.options.pollInterval,ae)},Ss.prototype.selectionChanged=function(){var ie=this.getSelection();return ie.anchorNode!=this.lastAnchorNode||ie.anchorOffset!=this.lastAnchorOffset||ie.focusNode!=this.lastFocusNode||ie.focusOffset!=this.lastFocusOffset},Ss.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var ie=this.getSelection(),ae=this.cm;if(te&&Ze&&this.cm.display.gutterSpecs.length&&lp(ie.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ye=bf(ae,ie.anchorNode,ie.anchorOffset),me=bf(ae,ie.focusNode,ie.focusOffset);ye&&me&&ur(ae,function(){as(ae.doc,Br(ye,me),Gt),(ye.bad||me.bad)&&(ae.curOp.selectionChanged=!0)})}}},Ss.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var ie=this.cm,ae=ie.display,ye=ie.doc.sel.primary(),me=ye.from(),Ee=ye.to();if(me.ch==0&&me.line>ie.firstLine()&&(me=jn(me.line-1,Un(ie.doc,me.line-1).length)),Ee.ch==Un(ie.doc,Ee.line).text.length&&Ee.line<ie.lastLine()&&(Ee=jn(Ee.line+1,0)),me.line<ae.viewFrom||Ee.line>ae.viewTo-1)return!1;var He,it,yt;me.line==ae.viewFrom||(He=bl(ie,me.line))==0?(it=tn(ae.view[0].line),yt=ae.view[0].node):(it=tn(ae.view[He].line),yt=ae.view[He-1].node.nextSibling);var mt=bl(ie,Ee.line),It,mn;if(mt==ae.view.length-1?(It=ae.viewTo-1,mn=ae.lineDiv.lastChild):(It=tn(ae.view[mt+1].line)-1,mn=ae.view[mt+1].node.previousSibling),!yt)return!1;for(var Ut=ie.doc.splitLines(Kh(ie,yt,mn,it,It)),zn=Wi(ie.doc,jn(it,0),jn(It,Un(ie.doc,It).text.length));Ut.length>1&&zn.length>1;)if($e(Ut)==$e(zn))Ut.pop(),zn.pop(),It--;else if(Ut[0]==zn[0])Ut.shift(),zn.shift(),it++;else break;for(var Rn=0,Bi=0,Ui=Ut[0],nr=zn[0],Ar=Math.min(Ui.length,nr.length);Rn<Ar&&Ui.charCodeAt(Rn)==nr.charCodeAt(Rn);)++Rn;for(var Qr=$e(Ut),Dr=$e(zn),fo=Math.min(Qr.length-(Ut.length==1?Rn:0),Dr.length-(zn.length==1?Rn:0));Bi<fo&&Qr.charCodeAt(Qr.length-Bi-1)==Dr.charCodeAt(Dr.length-Bi-1);)++Bi;if(Ut.length==1&&zn.length==1&&it==me.line)for(;Rn&&Rn>me.ch&&Qr.charCodeAt(Qr.length-Bi-1)==Dr.charCodeAt(Dr.length-Bi-1);)Rn--,Bi++;Ut[Ut.length-1]=Qr.slice(0,Qr.length-Bi).replace(/^\u200b+/,""),Ut[0]=Ut[0].slice(Rn).replace(/\u200b+$/,"");var zo=jn(it,Rn),Mr=jn(It,zn.length?$e(zn).length-Bi:0);if(Ut.length>1||Ut[0]||qi(zo,Mr))return sl(ie.doc,Ut,zo,Mr,"+input"),!0},Ss.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ss.prototype.reset=function(){this.forceCompositionEnd()},Ss.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ss.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},Ss.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&ur(this.cm,function(){return Ga(ie.cm)})},Ss.prototype.setUneditable=function(ie){ie.contentEditable="false"},Ss.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||Ur(this.cm,Ef)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},Ss.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},Ss.prototype.onContextMenu=function(){},Ss.prototype.resetPosition=function(){},Ss.prototype.needsContentAttribute=!0;function rg(ie,ae){var ye=As(ie,ae.line);if(!ye||ye.hidden)return null;var me=Un(ie.doc,ae.line),Ee=Kl(ye,me,ae.line),He=ei(me,ie.doc.direction),it="left";if(He){var yt=rn(He,ae.ch);it=yt%2?"right":"left"}var mt=ku(Ee.map,ae.ch,it);return mt.offset=mt.collapse=="right"?mt.end:mt.start,mt}function lp(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function Yh(ie,ae){return ae&&(ie.bad=!0),ie}function Kh(ie,ae,ye,me,Ee){var He="",it=!1,yt=ie.doc.lineSeparator(),mt=!1;function It(Rn){return function(Bi){return Bi.id==Rn}}function mn(){it&&(He+=yt,mt&&(He+=yt),it=mt=!1)}function Ut(Rn){Rn&&(mn(),He+=Rn)}function zn(Rn){if(Rn.nodeType==1){var Bi=Rn.getAttribute("cm-text");if(Bi){Ut(Bi);return}var Ui=Rn.getAttribute("cm-marker"),nr;if(Ui){var Ar=ie.findMarks(jn(me,0),jn(Ee+1,0),It(+Ui));Ar.length&&(nr=Ar[0].find(0))&&Ut(Wi(ie.doc,nr.from,nr.to).join(yt));return}if(Rn.getAttribute("contenteditable")=="false")return;var Qr=/^(pre|div|p|li|table|br)$/i.test(Rn.nodeName);if(!/^br$/i.test(Rn.nodeName)&&Rn.textContent.length==0)return;Qr&&mn();for(var Dr=0;Dr<Rn.childNodes.length;Dr++)zn(Rn.childNodes[Dr]);/^(pre|p)$/i.test(Rn.nodeName)&&(mt=!0),Qr&&(it=!0)}else Rn.nodeType==3&&Ut(Rn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;zn(ae),ae!=ye;)ae=ae.nextSibling,mt=!1;return He}function bf(ie,ae,ye){var me;if(ae==ie.display.lineDiv){if(me=ie.display.lineDiv.childNodes[ye],!me)return Yh(ie.clipPos(jn(ie.display.viewTo-1)),!0);ae=null,ye=0}else for(me=ae;;me=me.parentNode){if(!me||me==ie.display.lineDiv)return null;if(me.parentNode&&me.parentNode==ie.display.lineDiv)break}for(var Ee=0;Ee<ie.display.view.length;Ee++){var He=ie.display.view[Ee];if(He.node==me)return hm(He,ae,ye)}}function hm(ie,ae,ye){var me=ie.text.firstChild,Ee=!1;if(!ae||!Nt(me,ae))return Yh(jn(tn(ie.line),0),!0);if(ae==me&&(Ee=!0,ae=me.childNodes[ye],ye=0,!ae)){var He=ie.rest?$e(ie.rest):ie.line;return Yh(jn(tn(He),He.text.length),Ee)}var it=ae.nodeType==3?ae:null,yt=ae;for(!it&&ae.childNodes.length==1&&ae.firstChild.nodeType==3&&(it=ae.firstChild,ye&&(ye=it.nodeValue.length));yt.parentNode!=me;)yt=yt.parentNode;var mt=ie.measure,It=mt.maps;function mn(nr,Ar,Qr){for(var Dr=-1;Dr<(It?It.length:0);Dr++)for(var fo=Dr<0?mt.map:It[Dr],zo=0;zo<fo.length;zo+=3){var Mr=fo[zo+2];if(Mr==nr||Mr==Ar){var ma=tn(Dr<0?ie.line:ie.rest[Dr]),Ns=fo[zo]+Qr;return(Qr<0||Mr!=nr)&&(Ns=fo[zo+(Qr?1:0)]),jn(ma,Ns)}}}var Ut=mn(it,yt,ye);if(Ut)return Yh(Ut,Ee);for(var zn=yt.nextSibling,Rn=it?it.nodeValue.length-ye:0;zn;zn=zn.nextSibling){if(Ut=mn(zn,zn.firstChild,0),Ut)return Yh(jn(Ut.line,Ut.ch-Rn),Ee);Rn+=zn.textContent.length}for(var Bi=yt.previousSibling,Ui=ye;Bi;Bi=Bi.previousSibling){if(Ut=mn(Bi,Bi.firstChild,-1),Ut)return Yh(jn(Ut.line,Ut.ch+Ui),Ee);Ui+=Bi.textContent.length}}var ll=function(ie){this.cm=ie,this.prevInput="",this.pollingFast=!1,this.polling=new nt,this.hasSelection=!1,this.composing=null};ll.prototype.init=function(ie){var ae=this,ye=this,me=this.cm;this.createField(ie);var Ee=this.textarea;ie.wrapper.insertBefore(this.wrapper,ie.wrapper.firstChild),De&&(Ee.style.width="0px"),cn(Ee,"input",function(){Ye&&Pe>=9&&ae.hasSelection&&(ae.hasSelection=null),ye.poll()}),cn(Ee,"paste",function(it){_e(me,it)||ip(it,me)||(me.state.pasteIncoming=+new Date,ye.fastPoll())});function He(it){if(!_e(me,it)){if(me.somethingSelected())fh({lineWise:!1,text:me.getSelections()});else if(me.options.lineWiseCopyCut){var yt=op(me);fh({lineWise:!0,text:yt.text}),it.type=="cut"?me.setSelections(yt.ranges,null,Gt):(ye.prevInput="",Ee.value=yt.text.join(`
|
|
|
`),Ln(Ee))}else return;it.type=="cut"&&(me.state.cutIncoming=+new Date)}}cn(Ee,"cut",He),cn(Ee,"copy",He),cn(ie.scroller,"paste",function(it){if(!(ns(ie,it)||_e(me,it))){if(!Ee.dispatchEvent){me.state.pasteIncoming=+new Date,ye.focus();return}var yt=new Event("paste");yt.clipboardData=it.clipboardData,Ee.dispatchEvent(yt)}}),cn(ie.lineSpace,"selectstart",function(it){ns(ie,it)||Rr(it)}),cn(Ee,"compositionstart",function(){var it=me.getCursor("from");ye.composing&&ye.composing.range.clear(),ye.composing={start:it,range:me.markText(it,me.getCursor("to"),{className:"CodeMirror-composing"})}}),cn(Ee,"compositionend",function(){ye.composing&&(ye.poll(),ye.composing.range.clear(),ye.composing=null)})},ll.prototype.createField=function(ie){this.wrapper=sp(),this.textarea=this.wrapper.firstChild},ll.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},ll.prototype.prepareSelection=function(){var ie=this.cm,ae=ie.display,ye=ie.doc,me=yu(ie);if(ie.options.moveInputWithCursor){var Ee=Wo(ie,ye.sel.primary().head,"div"),He=ae.wrapper.getBoundingClientRect(),it=ae.lineDiv.getBoundingClientRect();me.teTop=Math.max(0,Math.min(ae.wrapper.clientHeight-10,Ee.top+it.top-He.top)),me.teLeft=Math.max(0,Math.min(ae.wrapper.clientWidth-10,Ee.left+it.left-He.left))}return me},ll.prototype.showSelection=function(ie){var ae=this.cm,ye=ae.display;lt(ye.cursorDiv,ie.cursors),lt(ye.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},ll.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var ae=this.cm;if(ae.somethingSelected()){this.prevInput="";var ye=ae.getSelection();this.textarea.value=ye,ae.state.focused&&Ln(this.textarea),Ye&&Pe>=9&&(this.hasSelection=ye)}else ie||(this.prevInput=this.textarea.value="",Ye&&Pe>=9&&(this.hasSelection=null))}},ll.prototype.getField=function(){return this.textarea},ll.prototype.supportsTouch=function(){return!1},ll.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ee||Xt()!=this.textarea))try{this.textarea.focus()}catch(ie){}},ll.prototype.blur=function(){this.textarea.blur()},ll.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ll.prototype.receivedFocus=function(){this.slowPoll()},ll.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},ll.prototype.fastPoll=function(){var ie=!1,ae=this;ae.pollingFast=!0;function ye(){var me=ae.poll();!me&&!ie?(ie=!0,ae.polling.set(60,ye)):(ae.pollingFast=!1,ae.slowPoll())}ae.polling.set(20,ye)},ll.prototype.poll=function(){var ie=this,ae=this.cm,ye=this.textarea,me=this.prevInput;if(this.contextMenuPending||!ae.state.focused||Ie(ye)&&!me&&!this.composing||ae.isReadOnly()||ae.options.disableInput||ae.state.keySeq)return!1;var Ee=ye.value;if(Ee==me&&!ae.somethingSelected())return!1;if(Ye&&Pe>=9&&this.hasSelection===Ee||de&&/[\uf700-\uf7ff]/.test(Ee))return ae.display.input.reset(),!1;if(ae.doc.sel==ae.display.selForContextMenu){var He=Ee.charCodeAt(0);if(He==8203&&!me&&(me="\u200B"),He==8666)return this.reset(),this.cm.execCommand("undo")}for(var it=0,yt=Math.min(me.length,Ee.length);it<yt&&me.charCodeAt(it)==Ee.charCodeAt(it);)++it;return ur(ae,function(){Ef(ae,Ee.slice(it),me.length-it,null,ie.composing?"*compose":null),Ee.length>1e3||Ee.indexOf(`
|
|
|
`)>-1?ye.value=ie.prevInput="":ie.prevInput=Ee,ie.composing&&(ie.composing.range.clear(),ie.composing.range=ae.markText(ie.composing.start,ae.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ll.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ll.prototype.onKeyPress=function(){Ye&&Pe>=9&&(this.hasSelection=null),this.fastPoll()},ll.prototype.onContextMenu=function(ie){var ae=this,ye=ae.cm,me=ye.display,Ee=ae.textarea;ae.contextMenuPending&&ae.contextMenuPending();var He=Zs(ye,ie),it=me.scroller.scrollTop;if(!He||rt)return;var yt=ye.options.resetSelectionOnContextMenu;yt&&ye.doc.sel.contains(He)==-1&&Ur(ye,as)(ye.doc,Br(He),Gt);var mt=Ee.style.cssText,It=ae.wrapper.style.cssText,mn=ae.wrapper.offsetParent.getBoundingClientRect();ae.wrapper.style.cssText="position: static",Ee.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(ie.clientY-mn.top-5)+"px; left: "+(ie.clientX-mn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Ye?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ut;Ue&&(Ut=window.scrollY),me.input.focus(),Ue&&window.scrollTo(null,Ut),me.input.reset(),ye.somethingSelected()||(Ee.value=ae.prevInput=" "),ae.contextMenuPending=Rn,me.selForContextMenu=ye.doc.sel,clearTimeout(me.detectingSelectAll);function zn(){if(Ee.selectionStart!=null){var Ui=ye.somethingSelected(),nr="\u200B"+(Ui?Ee.value:"");Ee.value="\u21DA",Ee.value=nr,ae.prevInput=Ui?"":"\u200B",Ee.selectionStart=1,Ee.selectionEnd=nr.length,me.selForContextMenu=ye.doc.sel}}function Rn(){if(ae.contextMenuPending==Rn&&(ae.contextMenuPending=!1,ae.wrapper.style.cssText=It,Ee.style.cssText=mt,Ye&&Pe<9&&me.scrollbars.setScrollTop(me.scroller.scrollTop=it),Ee.selectionStart!=null)){(!Ye||Ye&&Pe<9)&&zn();var Ui=0,nr=function(){me.selForContextMenu==ye.doc.sel&&Ee.selectionStart==0&&Ee.selectionEnd>0&&ae.prevInput=="\u200B"?Ur(ye,Vo)(ye):Ui++<10?me.detectingSelectAll=setTimeout(nr,500):(me.selForContextMenu=null,me.input.reset())};me.detectingSelectAll=setTimeout(nr,200)}}if(Ye&&Pe>=9&&zn(),we){ar(ie);var Bi=function(){Xi(window,"mouseup",Bi),setTimeout(Rn,20)};cn(window,"mouseup",Bi)}else setTimeout(Rn,50)},ll.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},ll.prototype.setUneditable=function(){},ll.prototype.needsContentAttribute=!1;function fm(ie,ae){if(ae=ae?Bn(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var ye=Xt();ae.autofocus=ye==ie||ie.getAttribute("autofocus")!=null&&ye==document.body}function me(){ie.value=yt.getValue()}var Ee;if(ie.form&&(cn(ie.form,"submit",me),!ae.leaveSubmitMethodAlone)){var He=ie.form;Ee=He.submit;try{var it=He.submit=function(){me(),He.submit=Ee,He.submit(),He.submit=it}}catch(mt){}}ae.finishInit=function(mt){mt.save=me,mt.getTextArea=function(){return ie},mt.toTextArea=function(){mt.toTextArea=isNaN,me(),ie.parentNode.removeChild(mt.getWrapperElement()),ie.style.display="",ie.form&&(Xi(ie.form,"submit",me),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=Ee))}},ie.style.display="none";var yt=Za(function(mt){return ie.parentNode.insertBefore(mt,ie.nextSibling)},ae);return yt}function Zh(ie){ie.off=Xi,ie.on=cn,ie.wheelEventPixels=gn,ie.Doc=ml,ie.splitLines=On,ie.countColumn=Et,ie.findColumn=di,ie.isWordChar=Xe,ie.Pass=In,ie.signal=$t,ie.Line=qr,ie.changeEnd=Yo,ie.scrollbarModel=li,ie.Pos=jn,ie.cmpPos=qi,ie.modes=fi,ie.mimeModes=vi,ie.resolveMode=un,ie.getMode=hn,ie.modeExtensions=Kt,ie.extendMode=bn,ie.copyState=Mi,ie.startState=bi,ie.innerMode=Oi,ie.commands=Dd,ie.keyMap=$l,ie.keyName=Cl,ie.isModifierKey=Xs,ie.lookupKey=sa,ie.normalizeKeyMap=Ma,ie.StringStream=sn,ie.SharedTextMarker=ql,ie.TextMarker=qt,ie.LineWidget=ss,ie.e_preventDefault=Rr,ie.e_stopPropagation=Lr,ie.e_stop=ar,ie.addClass=Zt,ie.contains=Nt,ie.rmClass=Ke,ie.keyNames=fc}cm(Za),Bd(Za);var Sd="iter insert remove copy getEditor constructor".split(" ");for(var wf in ml.prototype)ml.prototype.hasOwnProperty(wf)&&ot(Sd,wf)<0&&(Za.prototype[wf]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(ml.prototype[wf]));return ai(ml),Za.inputStyles={textarea:ll,contenteditable:Ss},Za.defineMode=function(ie){!Za.defaults.mode&&ie!="null"&&(Za.defaults.mode=ie),Ni.apply(this,arguments)},Za.defineMIME=hr,Za.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),Za.defineMIME("text/plain","null"),Za.defineExtension=function(ie,ae){Za.prototype[ie]=ae},Za.defineDocExtension=function(ie,ae){ml.prototype[ie]=ae},Za.fromTextArea=fm,Zh(Za),Za.version="5.58.2",Za})},49047:function(Re,xe,ue){(function(ce){ce(ue(4631),ue(29589),ue(52539))})(function(ce){"use strict";ce.defineMode("markdown",function(Ae,Fe){var ke=ce.getMode(Ae,"text/html"),Ye=ke.name=="null";function Pe(Et){if(ce.findModeByName){var nt=ce.findModeByName(Et);nt&&(Et=nt.mime||nt.mimes[0])}var ot=ce.getMode(Ae,Et);return ot.name=="null"?null:ot}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 Ue={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 tt in Ue)Ue.hasOwnProperty(tt)&&Fe.tokenTypeOverrides[tt]&&(Ue[tt]=Fe.tokenTypeOverrides[tt]);var Ze=/^([*\-_])(?:\s*\1){2,}\s*$/,rt=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,xt=/^\[(x| )\](?=\s)/i,Qe=Fe.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Mt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,De=/^[^#!\[\]*_\\<>` "'(~:]+/,te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ee=/^\s*\[[^\]]+?\]:.*$/,de=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,se=" ";function ge(Et,nt,ot){return nt.f=nt.inline=ot,ot(Et,nt)}function ve(Et,nt,ot){return nt.f=nt.block=ot,ot(Et,nt)}function be(Et){return!Et||!/\S/.test(Et.string)}function we(Et){if(Et.linkTitle=!1,Et.linkHref=!1,Et.linkText=!1,Et.em=!1,Et.strong=!1,Et.strikethrough=!1,Et.quote=0,Et.indentedCode=!1,Et.f==Ke){var nt=Ye;if(!nt){var ot=ce.innerMode(ke,Et.htmlState);nt=ot.mode.name=="xml"&&ot.state.tagStart===null&&!ot.state.context&&ot.state.tokenize.isInText}nt&&(Et.f=ft,Et.block=Oe,Et.htmlState=null)}return Et.trailingSpace=0,Et.trailingSpaceNewLine=!1,Et.prevLine=Et.thisLine,Et.thisLine={stream:null},null}function Oe(Et,nt){var ot=Et.column()===nt.indentation,Jt=be(nt.prevLine.stream),In=nt.indentedCode,Gt=nt.prevLine.hr,An=nt.list!==!1,Nn=(nt.listStack[nt.listStack.length-1]||0)+3;nt.indentedCode=!1;var di=nt.indentation;if(nt.indentationDiff===null&&(nt.indentationDiff=nt.indentation,An)){for(nt.list=null;di<nt.listStack[nt.listStack.length-1];)nt.listStack.pop(),nt.listStack.length?nt.indentation=nt.listStack[nt.listStack.length-1]:nt.list=!1;nt.list!==!1&&(nt.indentationDiff=di-nt.listStack[nt.listStack.length-1])}var At=!Jt&&!Gt&&!nt.prevLine.header&&(!An||!In)&&!nt.prevLine.fencedCodeEnd,Ot=(nt.list===!1||Gt||Jt)&&nt.indentation<=Nn&&Et.match(Ze),$e=null;if(nt.indentationDiff>=4&&(In||nt.prevLine.fencedCodeEnd||nt.prevLine.header||Jt))return Et.skipToEnd(),nt.indentedCode=!0,Ue.code;if(Et.eatSpace())return null;if(ot&&nt.indentation<=Nn&&($e=Et.match(Qe))&&$e[1].length<=6)return nt.quote=0,nt.header=$e[1].length,nt.thisLine.header=!0,Fe.highlightFormatting&&(nt.formatting="header"),nt.f=nt.inline,lt(nt);if(nt.indentation<=Nn&&Et.eat(">"))return nt.quote=ot?1:nt.quote+1,Fe.highlightFormatting&&(nt.formatting="quote"),Et.eatSpace(),lt(nt);if(!Ot&&!nt.setext&&ot&&nt.indentation<=Nn&&($e=Et.match(rt))){var Wt=$e[1]?"ol":"ul";return nt.indentation=di+Et.current().length,nt.list=!0,nt.quote=0,nt.listStack.push(nt.indentation),nt.em=!1,nt.strong=!1,nt.code=!1,nt.strikethrough=!1,Fe.taskLists&&Et.match(xt,!1)&&(nt.taskList=!0),nt.f=nt.inline,Fe.highlightFormatting&&(nt.formatting=["list","list-"+Wt]),lt(nt)}else{if(ot&&nt.indentation<=Nn&&($e=Et.match(te,!0)))return nt.quote=0,nt.fencedEndRE=new RegExp($e[1]+"+ *$"),nt.localMode=Fe.fencedCodeBlockHighlighting&&Pe($e[2]||Fe.fencedCodeBlockDefaultMode),nt.localMode&&(nt.localState=ce.startState(nt.localMode)),nt.f=nt.block=qe,Fe.highlightFormatting&&(nt.formatting="code-block"),nt.code=-1,lt(nt);if(nt.setext||(!At||!An)&&!nt.quote&&nt.list===!1&&!nt.code&&!Ot&&!ee.test(Et.string)&&($e=Et.lookAhead(1))&&($e=$e.match(Mt)))return nt.setext?(nt.header=nt.setext,nt.setext=0,Et.skipToEnd(),Fe.highlightFormatting&&(nt.formatting="header")):(nt.header=$e[0].charAt(0)=="="?1:2,nt.setext=nt.header),nt.thisLine.header=!0,nt.f=nt.inline,lt(nt);if(Ot)return Et.skipToEnd(),nt.hr=!0,nt.thisLine.hr=!0,Ue.hr;if(Et.peek()==="[")return ge(Et,nt,yn)}return ge(Et,nt,nt.inline)}function Ke(Et,nt){var ot=ke.token(Et,nt.htmlState);if(!Ye){var Jt=ce.innerMode(ke,nt.htmlState);(Jt.mode.name=="xml"&&Jt.state.tagStart===null&&!Jt.state.context&&Jt.state.tokenize.isInText||nt.md_inside&&Et.current().indexOf(">")>-1)&&(nt.f=ft,nt.block=Oe,nt.htmlState=null)}return ot}function qe(Et,nt){var ot=nt.listStack[nt.listStack.length-1]||0,Jt=nt.indentation<ot,In=ot+3;if(nt.fencedEndRE&&nt.indentation<=In&&(Jt||Et.match(nt.fencedEndRE))){Fe.highlightFormatting&&(nt.formatting="code-block");var Gt;return Jt||(Gt=lt(nt)),nt.localMode=nt.localState=null,nt.block=Oe,nt.f=ft,nt.fencedEndRE=null,nt.code=0,nt.thisLine.fencedCodeEnd=!0,Jt?ve(Et,nt,nt.block):Gt}else return nt.localMode?nt.localMode.token(Et,nt.localState):(Et.skipToEnd(),Ue.code)}function lt(Et){var nt=[];if(Et.formatting){nt.push(Ue.formatting),typeof Et.formatting=="string"&&(Et.formatting=[Et.formatting]);for(var ot=0;ot<Et.formatting.length;ot++)nt.push(Ue.formatting+"-"+Et.formatting[ot]),Et.formatting[ot]==="header"&&nt.push(Ue.formatting+"-"+Et.formatting[ot]+"-"+Et.header),Et.formatting[ot]==="quote"&&(!Fe.maxBlockquoteDepth||Fe.maxBlockquoteDepth>=Et.quote?nt.push(Ue.formatting+"-"+Et.formatting[ot]+"-"+Et.quote):nt.push("error"))}if(Et.taskOpen)return nt.push("meta"),nt.length?nt.join(" "):null;if(Et.taskClosed)return nt.push("property"),nt.length?nt.join(" "):null;if(Et.linkHref?nt.push(Ue.linkHref,"url"):(Et.strong&&nt.push(Ue.strong),Et.em&&nt.push(Ue.em),Et.strikethrough&&nt.push(Ue.strikethrough),Et.emoji&&nt.push(Ue.emoji),Et.linkText&&nt.push(Ue.linkText),Et.code&&nt.push(Ue.code),Et.image&&nt.push(Ue.image),Et.imageAltText&&nt.push(Ue.imageAltText,"link"),Et.imageMarker&&nt.push(Ue.imageMarker)),Et.header&&nt.push(Ue.header,Ue.header+"-"+Et.header),Et.quote&&(nt.push(Ue.quote),!Fe.maxBlockquoteDepth||Fe.maxBlockquoteDepth>=Et.quote?nt.push(Ue.quote+"-"+Et.quote):nt.push(Ue.quote+"-"+Fe.maxBlockquoteDepth)),Et.list!==!1){var Jt=(Et.listStack.length-1)%3;Jt?Jt===1?nt.push(Ue.list2):nt.push(Ue.list3):nt.push(Ue.list1)}return Et.trailingSpaceNewLine?nt.push("trailing-space-new-line"):Et.trailingSpace&&nt.push("trailing-space-"+(Et.trailingSpace%2?"a":"b")),nt.length?nt.join(" "):null}function at(Et,nt){if(Et.match(De,!0))return lt(nt)}function ft(Et,nt){var ot=nt.text(Et,nt);if(typeof ot!="undefined")return ot;if(nt.list)return nt.list=null,lt(nt);if(nt.taskList){var Jt=Et.match(xt,!0)[1]===" ";return Jt?nt.taskOpen=!0:nt.taskClosed=!0,Fe.highlightFormatting&&(nt.formatting="task"),nt.taskList=!1,lt(nt)}if(nt.taskOpen=!1,nt.taskClosed=!1,nt.header&&Et.match(/^#+$/,!0))return Fe.highlightFormatting&&(nt.formatting="header"),lt(nt);var In=Et.next();if(nt.linkTitle){nt.linkTitle=!1;var Gt=In;In==="("&&(Gt=")"),Gt=(Gt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var An="^\\s*(?:[^"+Gt+"\\\\]+|\\\\\\\\|\\\\.)"+Gt;if(Et.match(new RegExp(An),!0))return Ue.linkHref}if(In==="`"){var Nn=nt.formatting;Fe.highlightFormatting&&(nt.formatting="code"),Et.eatWhile("`");var di=Et.current().length;if(nt.code==0&&(!nt.quote||di==1))return nt.code=di,lt(nt);if(di==nt.code){var At=lt(nt);return nt.code=0,At}else return nt.formatting=Nn,lt(nt)}else if(nt.code)return lt(nt);if(In==="\\"&&(Et.next(),Fe.highlightFormatting)){var Ot=lt(nt),$e=Ue.formatting+"-escape";return Ot?Ot+" "+$e:$e}if(In==="!"&&Et.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return nt.imageMarker=!0,nt.image=!0,Fe.highlightFormatting&&(nt.formatting="image"),lt(nt);if(In==="["&&nt.imageMarker&&Et.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return nt.imageMarker=!1,nt.imageAltText=!0,Fe.highlightFormatting&&(nt.formatting="image"),lt(nt);if(In==="]"&&nt.imageAltText){Fe.highlightFormatting&&(nt.formatting="image");var Ot=lt(nt);return nt.imageAltText=!1,nt.image=!1,nt.inline=nt.f=Nt,Ot}if(In==="["&&!nt.image)return nt.linkText&&Et.match(/^.*?\]/)||(nt.linkText=!0,Fe.highlightFormatting&&(nt.formatting="link")),lt(nt);if(In==="]"&&nt.linkText){Fe.highlightFormatting&&(nt.formatting="link");var Ot=lt(nt);return nt.linkText=!1,nt.inline=nt.f=Et.match(/\(.*?\)| ?\[.*?\]/,!1)?Nt:ft,Ot}if(In==="<"&&Et.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){nt.f=nt.inline=pt,Fe.highlightFormatting&&(nt.formatting="link");var Ot=lt(nt);return Ot?Ot+=" ":Ot="",Ot+Ue.linkInline}if(In==="<"&&Et.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){nt.f=nt.inline=pt,Fe.highlightFormatting&&(nt.formatting="link");var Ot=lt(nt);return Ot?Ot+=" ":Ot="",Ot+Ue.linkEmail}if(Fe.xml&&In==="<"&&Et.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Wt=Et.string.indexOf(">",Et.pos);if(Wt!=-1){var jt=Et.string.substring(Et.start,Wt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(jt)&&(nt.md_inside=!0)}return Et.backUp(1),nt.htmlState=ce.startState(ke),ve(Et,nt,Ke)}if(Fe.xml&&In==="<"&&Et.match(/^\/\w*?>/))return nt.md_inside=!1,"tag";if(In==="*"||In==="_"){for(var Je=1,Me=Et.pos==1?" ":Et.string.charAt(Et.pos-2);Je<3&&Et.eat(In);)Je++;var Le=Et.peek()||" ",Xe=!/\s/.test(Le)&&(!de.test(Le)||/\s/.test(Me)||de.test(Me)),dt=!/\s/.test(Me)&&(!de.test(Me)||/\s/.test(Le)||de.test(Le)),je=null,bt=null;if(Je%2&&(!nt.em&&Xe&&(In==="*"||!dt||de.test(Me))?je=!0:nt.em==In&&dt&&(In==="*"||!Xe||de.test(Le))&&(je=!1)),Je>1&&(!nt.strong&&Xe&&(In==="*"||!dt||de.test(Me))?bt=!0:nt.strong==In&&dt&&(In==="*"||!Xe||de.test(Le))&&(bt=!1)),bt!=null||je!=null){Fe.highlightFormatting&&(nt.formatting=je==null?"strong":bt==null?"em":"strong em"),je===!0&&(nt.em=In),bt===!0&&(nt.strong=In);var At=lt(nt);return je===!1&&(nt.em=!1),bt===!1&&(nt.strong=!1),At}}else if(In===" "&&(Et.eat("*")||Et.eat("_"))){if(Et.peek()===" ")return lt(nt);Et.backUp(1)}if(Fe.strikethrough){if(In==="~"&&Et.eatWhile(In)){if(nt.strikethrough){Fe.highlightFormatting&&(nt.formatting="strikethrough");var At=lt(nt);return nt.strikethrough=!1,At}else if(Et.match(/^[^\s]/,!1))return nt.strikethrough=!0,Fe.highlightFormatting&&(nt.formatting="strikethrough"),lt(nt)}else if(In===" "&&Et.match(/^~~/,!0)){if(Et.peek()===" ")return lt(nt);Et.backUp(2)}}if(Fe.emoji&&In===":"&&Et.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){nt.emoji=!0,Fe.highlightFormatting&&(nt.formatting="emoji");var Sn=lt(nt);return nt.emoji=!1,Sn}return In===" "&&(Et.match(/^ +$/,!1)?nt.trailingSpace++:nt.trailingSpace&&(nt.trailingSpaceNewLine=!0)),lt(nt)}function pt(Et,nt){var ot=Et.next();if(ot===">"){nt.f=nt.inline=ft,Fe.highlightFormatting&&(nt.formatting="link");var Jt=lt(nt);return Jt?Jt+=" ":Jt="",Jt+Ue.linkInline}return Et.match(/^[^>]+/,!0),Ue.linkInline}function Nt(Et,nt){if(Et.eatSpace())return null;var ot=Et.next();return ot==="("||ot==="["?(nt.f=nt.inline=Zt(ot==="("?")":"]"),Fe.highlightFormatting&&(nt.formatting="link-string"),nt.linkHref=!0,lt(nt)):"error"}var Xt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Zt(Et){return function(nt,ot){var Jt=nt.next();if(Jt===Et){ot.f=ot.inline=ft,Fe.highlightFormatting&&(ot.formatting="link-string");var In=lt(ot);return ot.linkHref=!1,In}return nt.match(Xt[Et]),ot.linkHref=!0,lt(ot)}}function yn(Et,nt){return Et.match(/^([^\]\\]|\\.)*\]:/,!1)?(nt.f=Ln,Et.next(),Fe.highlightFormatting&&(nt.formatting="link"),nt.linkText=!0,lt(nt)):ge(Et,nt,ft)}function Ln(Et,nt){if(Et.match(/^\]:/,!0)){nt.f=nt.inline=on,Fe.highlightFormatting&&(nt.formatting="link");var ot=lt(nt);return nt.linkText=!1,ot}return Et.match(/^([^\]\\]|\\.)+/,!0),Ue.linkText}function on(Et,nt){return Et.eatSpace()?null:(Et.match(/^[^\s]+/,!0),Et.peek()===void 0?nt.linkTitle=!0:Et.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),nt.f=nt.inline=ft,Ue.linkHref+" url")}var Bn={startState:function(){return{f:Oe,prevLine:{stream:null},thisLine:{stream:null},block:Oe,htmlState:null,indentation:0,inline:ft,text:at,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(Et){return{f:Et.f,prevLine:Et.prevLine,thisLine:Et.thisLine,block:Et.block,htmlState:Et.htmlState&&ce.copyState(ke,Et.htmlState),indentation:Et.indentation,localMode:Et.localMode,localState:Et.localMode?ce.copyState(Et.localMode,Et.localState):null,inline:Et.inline,text:Et.text,formatting:!1,linkText:Et.linkText,linkTitle:Et.linkTitle,linkHref:Et.linkHref,code:Et.code,em:Et.em,strong:Et.strong,strikethrough:Et.strikethrough,emoji:Et.emoji,header:Et.header,setext:Et.setext,hr:Et.hr,taskList:Et.taskList,list:Et.list,listStack:Et.listStack.slice(0),quote:Et.quote,indentedCode:Et.indentedCode,trailingSpace:Et.trailingSpace,trailingSpaceNewLine:Et.trailingSpaceNewLine,md_inside:Et.md_inside,fencedEndRE:Et.fencedEndRE}},token:function(Et,nt){if(nt.formatting=!1,Et!=nt.thisLine.stream){if(nt.header=0,nt.hr=!1,Et.match(/^\s*$/,!0))return we(nt),null;if(nt.prevLine=nt.thisLine,nt.thisLine={stream:Et},nt.taskList=!1,nt.trailingSpace=0,nt.trailingSpaceNewLine=!1,!nt.localState&&(nt.f=nt.block,nt.f!=Ke)){var ot=Et.match(/^\s*/,!0)[0].replace(/\t/g,se).length;if(nt.indentation=ot,nt.indentationDiff=null,ot>0)return null}}return nt.f(Et,nt)},innerMode:function(Et){return Et.block==Ke?{state:Et.htmlState,mode:ke}:Et.localState?{state:Et.localState,mode:Et.localMode}:{state:Et,mode:Bn}},indent:function(Et,nt,ot){return Et.block==Ke&&ke.indent?ke.indent(Et.htmlState,nt,ot):Et.localState&&Et.localMode.indent?Et.localMode.indent(Et.localState,nt,ot):ce.Pass},blankLine:we,getType:lt,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Bn},"xml"),ce.defineMIME("text/markdown","markdown"),ce.defineMIME("text/x-markdown","markdown")})},52539:function(Re,xe,ue){(function(ce){ce(ue(4631))})(function(ce){"use strict";ce.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 Ae=0;Ae<ce.modeInfo.length;Ae++){var Fe=ce.modeInfo[Ae];Fe.mimes&&(Fe.mime=Fe.mimes[0])}ce.findModeByMIME=function(ke){ke=ke.toLowerCase();for(var Ye=0;Ye<ce.modeInfo.length;Ye++){var Pe=ce.modeInfo[Ye];if(Pe.mime==ke)return Pe;if(Pe.mimes){for(var Ue=0;Ue<Pe.mimes.length;Ue++)if(Pe.mimes[Ue]==ke)return Pe}}if(/\+xml$/.test(ke))return ce.findModeByMIME("application/xml");if(/\+json$/.test(ke))return ce.findModeByMIME("application/json")},ce.findModeByExtension=function(ke){ke=ke.toLowerCase();for(var Ye=0;Ye<ce.modeInfo.length;Ye++){var Pe=ce.modeInfo[Ye];if(Pe.ext){for(var Ue=0;Ue<Pe.ext.length;Ue++)if(Pe.ext[Ue]==ke)return Pe}}},ce.findModeByFileName=function(ke){for(var Ye=0;Ye<ce.modeInfo.length;Ye++){var Pe=ce.modeInfo[Ye];if(Pe.file&&Pe.file.test(ke))return Pe}var Ue=ke.lastIndexOf("."),tt=Ue>-1&&ke.substring(Ue+1,ke.length);if(tt)return ce.findModeByExtension(tt)},ce.findModeByName=function(ke){ke=ke.toLowerCase();for(var Ye=0;Ye<ce.modeInfo.length;Ye++){var Pe=ce.modeInfo[Ye];if(Pe.name.toLowerCase()==ke)return Pe;if(Pe.alias){for(var Ue=0;Ue<Pe.alias.length;Ue++)if(Pe.alias[Ue].toLowerCase()==ke)return Pe}}}})},80785:function(Re,xe,ue){(function(ce){ce(ue(4631))})(function(ce){"use strict";ce.defineMode("stex",function(Ae,Fe){"use strict";function ke(De,te){De.cmdState.push(te)}function Ye(De){return De.cmdState.length>0?De.cmdState[De.cmdState.length-1]:null}function Pe(De){var te=De.cmdState.pop();te&&te.closeBracket()}function Ue(De){for(var te=De.cmdState,ee=te.length-1;ee>=0;ee--){var de=te[ee];if(de.name!="DEFAULT")return de}return{styleIdentifier:function(){return null}}}function tt(De,te,ee){return function(){this.name=De,this.bracketNo=0,this.style=te,this.styles=ee,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ze={};Ze.importmodule=tt("importmodule","tag",["string","builtin"]),Ze.documentclass=tt("documentclass","tag",["","atom"]),Ze.usepackage=tt("usepackage","tag",["atom"]),Ze.begin=tt("begin","tag",["atom"]),Ze.end=tt("end","tag",["atom"]),Ze.label=tt("label","tag",["atom"]),Ze.ref=tt("ref","tag",["atom"]),Ze.eqref=tt("eqref","tag",["atom"]),Ze.cite=tt("cite","tag",["atom"]),Ze.bibitem=tt("bibitem","tag",["atom"]),Ze.Bibitem=tt("Bibitem","tag",["atom"]),Ze.RBibitem=tt("RBibitem","tag",["atom"]),Ze.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function rt(De,te){De.f=te}function xt(De,te){var ee;if(De.match(/^\\[a-zA-Z@]+/)){var de=De.current().slice(1);return ee=Ze.hasOwnProperty(de)?Ze[de]:Ze.DEFAULT,ee=new ee,ke(te,ee),rt(te,Mt),ee.style}if(De.match(/^\\[$&%#{}_]/)||De.match(/^\\[,;!\/\\]/))return"tag";if(De.match("\\["))return rt(te,function(ge,ve){return Qe(ge,ve,"\\]")}),"keyword";if(De.match("\\("))return rt(te,function(ge,ve){return Qe(ge,ve,"\\)")}),"keyword";if(De.match("$$"))return rt(te,function(ge,ve){return Qe(ge,ve,"$$")}),"keyword";if(De.match("$"))return rt(te,function(ge,ve){return Qe(ge,ve,"$")}),"keyword";var se=De.next();if(se=="%")return De.skipToEnd(),"comment";if(se=="}"||se=="]"){if(ee=Ye(te),ee)ee.closeBracket(se),rt(te,Mt);else return"error";return"bracket"}else return se=="{"||se=="["?(ee=Ze.DEFAULT,ee=new ee,ke(te,ee),"bracket"):/\d/.test(se)?(De.eatWhile(/[\w.%]/),"atom"):(De.eatWhile(/[\w\-_]/),ee=Ue(te),ee.name=="begin"&&(ee.argument=De.current()),ee.styleIdentifier())}function Qe(De,te,ee){if(De.eatSpace())return null;if(ee&&De.match(ee))return rt(te,xt),"keyword";if(De.match(/^\\[a-zA-Z@]+/))return"tag";if(De.match(/^[a-zA-Z]+/))return"variable-2";if(De.match(/^\\[$&%#{}_]/)||De.match(/^\\[,;!\/]/)||De.match(/^[\^_&]/))return"tag";if(De.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(De.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var de=De.next();return de=="{"||de=="}"||de=="["||de=="]"||de=="("||de==")"?"bracket":de=="%"?(De.skipToEnd(),"comment"):"error"}function Mt(De,te){var ee=De.peek(),de;return ee=="{"||ee=="["?(de=Ye(te),de.openBracket(ee),De.eat(ee),rt(te,xt),"bracket"):/[ \t\r]/.test(ee)?(De.eat(ee),null):(rt(te,xt),Pe(te),xt(De,te))}return{startState:function(){var De=Fe.inMathMode?function(te,ee){return Qe(te,ee)}:xt;return{cmdState:[],f:De}},copyState:function(De){return{cmdState:De.cmdState.slice(),f:De.f}},token:function(De,te){return te.f(De,te)},blankLine:function(De){De.f=xt,De.cmdState.length=0},lineComment:"%"}}),ce.defineMIME("text/x-stex","stex"),ce.defineMIME("text/x-latex","stex")})},29589:function(Re,xe,ue){(function(ce){ce(ue(4631))})(function(ce){"use strict";var Ae={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};ce.defineMode("xml",function(ke,Ye){var Pe=ke.indentUnit,Ue={},tt=Ye.htmlMode?Ae:Fe;for(var Ze in tt)Ue[Ze]=tt[Ze];for(var Ze in Ye)Ue[Ze]=Ye[Ze];var rt,xt;function Qe(pt,Nt){function Xt(Ln){return Nt.tokenize=Ln,Ln(pt,Nt)}var Zt=pt.next();if(Zt=="<")return pt.eat("!")?pt.eat("[")?pt.match("CDATA[")?Xt(te("atom","]]>")):null:pt.match("--")?Xt(te("comment","-->")):pt.match("DOCTYPE",!0,!0)?(pt.eatWhile(/[\w\._\-]/),Xt(ee(1))):null:pt.eat("?")?(pt.eatWhile(/[\w\._\-]/),Nt.tokenize=te("meta","?>"),"meta"):(rt=pt.eat("/")?"closeTag":"openTag",Nt.tokenize=Mt,"tag bracket");if(Zt=="&"){var yn;return pt.eat("#")?pt.eat("x")?yn=pt.eatWhile(/[a-fA-F\d]/)&&pt.eat(";"):yn=pt.eatWhile(/[\d]/)&&pt.eat(";"):yn=pt.eatWhile(/[\w\.\-:]/)&&pt.eat(";"),yn?"atom":"error"}else return pt.eatWhile(/[^&<]/),null}Qe.isInText=!0;function Mt(pt,Nt){var Xt=pt.next();if(Xt==">"||Xt=="/"&&pt.eat(">"))return Nt.tokenize=Qe,rt=Xt==">"?"endTag":"selfcloseTag","tag bracket";if(Xt=="=")return rt="equals",null;if(Xt=="<"){Nt.tokenize=Qe,Nt.state=ve,Nt.tagName=Nt.tagStart=null;var Zt=Nt.tokenize(pt,Nt);return Zt?Zt+" tag error":"tag error"}else return/[\'\"]/.test(Xt)?(Nt.tokenize=De(Xt),Nt.stringStartCol=pt.column(),Nt.tokenize(pt,Nt)):(pt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function De(pt){var Nt=function(Xt,Zt){for(;!Xt.eol();)if(Xt.next()==pt){Zt.tokenize=Mt;break}return"string"};return Nt.isInAttribute=!0,Nt}function te(pt,Nt){return function(Xt,Zt){for(;!Xt.eol();){if(Xt.match(Nt)){Zt.tokenize=Qe;break}Xt.next()}return pt}}function ee(pt){return function(Nt,Xt){for(var Zt;(Zt=Nt.next())!=null;){if(Zt=="<")return Xt.tokenize=ee(pt+1),Xt.tokenize(Nt,Xt);if(Zt==">")if(pt==1){Xt.tokenize=Qe;break}else return Xt.tokenize=ee(pt-1),Xt.tokenize(Nt,Xt)}return"meta"}}function de(pt,Nt,Xt){this.prev=pt.context,this.tagName=Nt,this.indent=pt.indented,this.startOfLine=Xt,(Ue.doNotIndent.hasOwnProperty(Nt)||pt.context&&pt.context.noIndent)&&(this.noIndent=!0)}function se(pt){pt.context&&(pt.context=pt.context.prev)}function ge(pt,Nt){for(var Xt;;){if(!pt.context||(Xt=pt.context.tagName,!Ue.contextGrabbers.hasOwnProperty(Xt)||!Ue.contextGrabbers[Xt].hasOwnProperty(Nt)))return;se(pt)}}function ve(pt,Nt,Xt){return pt=="openTag"?(Xt.tagStart=Nt.column(),be):pt=="closeTag"?we:ve}function be(pt,Nt,Xt){return pt=="word"?(Xt.tagName=Nt.current(),xt="tag",qe):Ue.allowMissingTagName&&pt=="endTag"?(xt="tag bracket",qe(pt,Nt,Xt)):(xt="error",be)}function we(pt,Nt,Xt){if(pt=="word"){var Zt=Nt.current();return Xt.context&&Xt.context.tagName!=Zt&&Ue.implicitlyClosed.hasOwnProperty(Xt.context.tagName)&&se(Xt),Xt.context&&Xt.context.tagName==Zt||Ue.matchClosing===!1?(xt="tag",Oe):(xt="tag error",Ke)}else return Ue.allowMissingTagName&&pt=="endTag"?(xt="tag bracket",Oe(pt,Nt,Xt)):(xt="error",Ke)}function Oe(pt,Nt,Xt){return pt!="endTag"?(xt="error",Oe):(se(Xt),ve)}function Ke(pt,Nt,Xt){return xt="error",Oe(pt,Nt,Xt)}function qe(pt,Nt,Xt){if(pt=="word")return xt="attribute",lt;if(pt=="endTag"||pt=="selfcloseTag"){var Zt=Xt.tagName,yn=Xt.tagStart;return Xt.tagName=Xt.tagStart=null,pt=="selfcloseTag"||Ue.autoSelfClosers.hasOwnProperty(Zt)?ge(Xt,Zt):(ge(Xt,Zt),Xt.context=new de(Xt,Zt,yn==Xt.indented)),ve}return xt="error",qe}function lt(pt,Nt,Xt){return pt=="equals"?at:(Ue.allowMissing||(xt="error"),qe(pt,Nt,Xt))}function at(pt,Nt,Xt){return pt=="string"?ft:pt=="word"&&Ue.allowUnquoted?(xt="string",qe):(xt="error",qe(pt,Nt,Xt))}function ft(pt,Nt,Xt){return pt=="string"?ft:qe(pt,Nt,Xt)}return{startState:function(pt){var Nt={tokenize:Qe,state:ve,indented:pt||0,tagName:null,tagStart:null,context:null};return pt!=null&&(Nt.baseIndent=pt),Nt},token:function(pt,Nt){if(!Nt.tagName&&pt.sol()&&(Nt.indented=pt.indentation()),pt.eatSpace())return null;rt=null;var Xt=Nt.tokenize(pt,Nt);return(Xt||rt)&&Xt!="comment"&&(xt=null,Nt.state=Nt.state(rt||Xt,pt,Nt),xt&&(Xt=xt=="error"?Xt+" error":xt)),Xt},indent:function(pt,Nt,Xt){var Zt=pt.context;if(pt.tokenize.isInAttribute)return pt.tagStart==pt.indented?pt.stringStartCol+1:pt.indented+Pe;if(Zt&&Zt.noIndent)return ce.Pass;if(pt.tokenize!=Mt&&pt.tokenize!=Qe)return Xt?Xt.match(/^(\s*)/)[0].length:0;if(pt.tagName)return Ue.multilineTagIndentPastTag!==!1?pt.tagStart+pt.tagName.length+2:pt.tagStart+Pe*(Ue.multilineTagIndentFactor||1);if(Ue.alignCDATA&&/<!\[CDATA\[/.test(Nt))return 0;var yn=Nt&&/^<(\/)?([\w_:\.-]*)/.exec(Nt);if(yn&&yn[1])for(;Zt;)if(Zt.tagName==yn[2]){Zt=Zt.prev;break}else if(Ue.implicitlyClosed.hasOwnProperty(Zt.tagName))Zt=Zt.prev;else break;else if(yn)for(;Zt;){var Ln=Ue.contextGrabbers[Zt.tagName];if(Ln&&Ln.hasOwnProperty(yn[2]))Zt=Zt.prev;else break}for(;Zt&&Zt.prev&&!Zt.startOfLine;)Zt=Zt.prev;return Zt?Zt.indent+Pe:pt.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ue.htmlMode?"html":"xml",helperType:Ue.htmlMode?"html":"xml",skipAttribute:function(pt){pt.state==at&&(pt.state=qe)},xmlCurrentTag:function(pt){return pt.tagName?{name:pt.tagName,close:pt.type=="closeTag"}:null},xmlCurrentContext:function(pt){for(var Nt=[],Xt=pt.context;Xt;Xt=Xt.prev)Xt.tagName&&Nt.push(Xt.tagName);return Nt.reverse()}}}),ce.defineMIME("text/xml","xml"),ce.defineMIME("application/xml","xml"),ce.mimeModes.hasOwnProperty("text/html")||ce.defineMIME("text/html",{name:"xml",htmlMode:!0})})},17187:function(Re){"use strict";var xe=typeof Reflect=="object"?Reflect:null,ue=xe&&typeof xe.apply=="function"?xe.apply:function(ve,be,we){return Function.prototype.apply.call(ve,be,we)},ce;xe&&typeof xe.ownKeys=="function"?ce=xe.ownKeys:Object.getOwnPropertySymbols?ce=function(ve){return Object.getOwnPropertyNames(ve).concat(Object.getOwnPropertySymbols(ve))}:ce=function(ve){return Object.getOwnPropertyNames(ve)};function Ae(ge){console&&console.warn&&console.warn(ge)}var Fe=Number.isNaN||function(ve){return ve!==ve};function ke(){ke.init.call(this)}Re.exports=ke,Re.exports.once=ee,ke.EventEmitter=ke,ke.prototype._events=void 0,ke.prototype._eventsCount=0,ke.prototype._maxListeners=void 0;var Ye=10;function Pe(ge){if(typeof ge!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof ge)}Object.defineProperty(ke,"defaultMaxListeners",{enumerable:!0,get:function(){return Ye},set:function(ge){if(typeof ge!="number"||ge<0||Fe(ge))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+ge+".");Ye=ge}}),ke.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ke.prototype.setMaxListeners=function(ve){if(typeof ve!="number"||ve<0||Fe(ve))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ve+".");return this._maxListeners=ve,this};function Ue(ge){return ge._maxListeners===void 0?ke.defaultMaxListeners:ge._maxListeners}ke.prototype.getMaxListeners=function(){return Ue(this)},ke.prototype.emit=function(ve){for(var be=[],we=1;we<arguments.length;we++)be.push(arguments[we]);var Oe=ve==="error",Ke=this._events;if(Ke!==void 0)Oe=Oe&&Ke.error===void 0;else if(!Oe)return!1;if(Oe){var qe;if(be.length>0&&(qe=be[0]),qe instanceof Error)throw qe;var lt=new Error("Unhandled error."+(qe?" ("+qe.message+")":""));throw lt.context=qe,lt}var at=Ke[ve];if(at===void 0)return!1;if(typeof at=="function")ue(at,this,be);else for(var ft=at.length,pt=Mt(at,ft),we=0;we<ft;++we)ue(pt[we],this,be);return!0};function tt(ge,ve,be,we){var Oe,Ke,qe;if(Pe(be),Ke=ge._events,Ke===void 0?(Ke=ge._events=Object.create(null),ge._eventsCount=0):(Ke.newListener!==void 0&&(ge.emit("newListener",ve,be.listener?be.listener:be),Ke=ge._events),qe=Ke[ve]),qe===void 0)qe=Ke[ve]=be,++ge._eventsCount;else if(typeof qe=="function"?qe=Ke[ve]=we?[be,qe]:[qe,be]:we?qe.unshift(be):qe.push(be),Oe=Ue(ge),Oe>0&&qe.length>Oe&&!qe.warned){qe.warned=!0;var lt=new Error("Possible EventEmitter memory leak detected. "+qe.length+" "+String(ve)+" listeners added. Use emitter.setMaxListeners() to increase limit");lt.name="MaxListenersExceededWarning",lt.emitter=ge,lt.type=ve,lt.count=qe.length,Ae(lt)}return ge}ke.prototype.addListener=function(ve,be){return tt(this,ve,be,!1)},ke.prototype.on=ke.prototype.addListener,ke.prototype.prependListener=function(ve,be){return tt(this,ve,be,!0)};function Ze(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function rt(ge,ve,be){var we={fired:!1,wrapFn:void 0,target:ge,type:ve,listener:be},Oe=Ze.bind(we);return Oe.listener=be,we.wrapFn=Oe,Oe}ke.prototype.once=function(ve,be){return Pe(be),this.on(ve,rt(this,ve,be)),this},ke.prototype.prependOnceListener=function(ve,be){return Pe(be),this.prependListener(ve,rt(this,ve,be)),this},ke.prototype.removeListener=function(ve,be){var we,Oe,Ke,qe,lt;if(Pe(be),Oe=this._events,Oe===void 0)return this;if(we=Oe[ve],we===void 0)return this;if(we===be||we.listener===be)--this._eventsCount===0?this._events=Object.create(null):(delete Oe[ve],Oe.removeListener&&this.emit("removeListener",ve,we.listener||be));else if(typeof we!="function"){for(Ke=-1,qe=we.length-1;qe>=0;qe--)if(we[qe]===be||we[qe].listener===be){lt=we[qe].listener,Ke=qe;break}if(Ke<0)return this;Ke===0?we.shift():De(we,Ke),we.length===1&&(Oe[ve]=we[0]),Oe.removeListener!==void 0&&this.emit("removeListener",ve,lt||be)}return this},ke.prototype.off=ke.prototype.removeListener,ke.prototype.removeAllListeners=function(ve){var be,we,Oe;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ve]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ve]),this;if(arguments.length===0){var Ke=Object.keys(we),qe;for(Oe=0;Oe<Ke.length;++Oe)qe=Ke[Oe],qe!=="removeListener"&&this.removeAllListeners(qe);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(be=we[ve],typeof be=="function")this.removeListener(ve,be);else if(be!==void 0)for(Oe=be.length-1;Oe>=0;Oe--)this.removeListener(ve,be[Oe]);return this};function xt(ge,ve,be){var we=ge._events;if(we===void 0)return[];var Oe=we[ve];return Oe===void 0?[]:typeof Oe=="function"?be?[Oe.listener||Oe]:[Oe]:be?te(Oe):Mt(Oe,Oe.length)}ke.prototype.listeners=function(ve){return xt(this,ve,!0)},ke.prototype.rawListeners=function(ve){return xt(this,ve,!1)},ke.listenerCount=function(ge,ve){return typeof ge.listenerCount=="function"?ge.listenerCount(ve):Qe.call(ge,ve)},ke.prototype.listenerCount=Qe;function Qe(ge){var ve=this._events;if(ve!==void 0){var be=ve[ge];if(typeof be=="function")return 1;if(be!==void 0)return be.length}return 0}ke.prototype.eventNames=function(){return this._eventsCount>0?ce(this._events):[]};function Mt(ge,ve){for(var be=new Array(ve),we=0;we<ve;++we)be[we]=ge[we];return be}function De(ge,ve){for(;ve+1<ge.length;ve++)ge[ve]=ge[ve+1];ge.pop()}function te(ge){for(var ve=new Array(ge.length),be=0;be<ve.length;++be)ve[be]=ge[be].listener||ge[be];return ve}function ee(ge,ve){return new Promise(function(be,we){function Oe(qe){ge.removeListener(ve,Ke),we(qe)}function Ke(){typeof ge.removeListener=="function"&&ge.removeListener("error",Oe),be([].slice.call(arguments))}se(ge,ve,Ke,{once:!0}),ve!=="error"&&de(ge,Oe,{once:!0})})}function de(ge,ve,be){typeof ge.on=="function"&&se(ge,"error",ve,be)}function se(ge,ve,be,we){if(typeof ge.on=="function")we.once?ge.once(ve,be):ge.on(ve,be);else if(typeof ge.addEventListener=="function")ge.addEventListener(ve,function Oe(Ke){we.once&&ge.removeEventListener(ve,Oe),be(Ke)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof ge)}},94470:function(Re){"use strict";var xe=Object.prototype.hasOwnProperty,ue=Object.prototype.toString,ce=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,Fe=function(tt){return typeof Array.isArray=="function"?Array.isArray(tt):ue.call(tt)==="[object Array]"},ke=function(tt){if(!tt||ue.call(tt)!=="[object Object]")return!1;var Ze=xe.call(tt,"constructor"),rt=tt.constructor&&tt.constructor.prototype&&xe.call(tt.constructor.prototype,"isPrototypeOf");if(tt.constructor&&!Ze&&!rt)return!1;var xt;for(xt in tt);return typeof xt=="undefined"||xe.call(tt,xt)},Ye=function(tt,Ze){ce&&Ze.name==="__proto__"?ce(tt,Ze.name,{enumerable:!0,configurable:!0,value:Ze.newValue,writable:!0}):tt[Ze.name]=Ze.newValue},Pe=function(tt,Ze){if(Ze==="__proto__")if(xe.call(tt,Ze)){if(Ae)return Ae(tt,Ze).value}else return;return tt[Ze]};Re.exports=function Ue(){var tt,Ze,rt,xt,Qe,Mt,De=arguments[0],te=1,ee=arguments.length,de=!1;for(typeof De=="boolean"&&(de=De,De=arguments[1]||{},te=2),(De==null||typeof De!="object"&&typeof De!="function")&&(De={});te<ee;++te)if(tt=arguments[te],tt!=null)for(Ze in tt)rt=Pe(De,Ze),xt=Pe(tt,Ze),De!==xt&&(de&&xt&&(ke(xt)||(Qe=Fe(xt)))?(Qe?(Qe=!1,Mt=rt&&Fe(rt)?rt:[]):Mt=rt&&ke(rt)?rt:{},Ye(De,{name:Ze,newValue:Ue(de,Mt,xt)})):typeof xt!="undefined"&&Ye(De,{name:Ze,newValue:xt}));return De}},23495:function(Re,xe,ue){"use strict";ue.d(xe,{$u:function(){return Ze},BD:function(){return Je},E9:function(){return tt},FF:function(){return oo},FJ:function(){return ve},Hn:function(){return ge},KX:function(){return we},NB:function(){return vn},S0:function(){return $e},UL:function(){return rt},Vk:function(){return se},Vm:function(){return rn},YI:function(){return Wt},ZA:function(){return Fe},Zt:function(){return xt},al:function(){return je},bn:function(){return dt},bx:function(){return Me},g2:function(){return jt},h1:function(){return at},hD:function(){return ai},l4:function(){return Pe},rU:function(){return _n},s_:function(){return Le},uz:function(){return ui},z6:function(){return Qe}}),Re=ue.hmd(Re),function(){var Ie;function Mn(a){var y=0;return function(){return y<a.length?{done:!1,value:a[y++]}:{done:!0}}}function Kn(a){var y=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];return y?y.call(a):{next:Mn(a)}}function ri(a){for(var y,E=[];!(y=a.next()).done;)E.push(y.value);return E}var fi=typeof Object.create=="function"?Object.create:function(a){function y(){}return y.prototype=a,new y},vi;if(typeof Object.setPrototypeOf=="function")vi=Object.setPrototypeOf;else{var Ni;e:{var hr={a:!0},un={};try{un.__proto__=hr,Ni=un.a;break e}catch(a){}Ni=!1}vi=Ni?function(a,y){if(a.__proto__=y,a.__proto__!==y)throw new TypeError(a+" is not extensible");return a}:null}var hn=vi;function Kt(a,y){if(a.prototype=fi(y.prototype),a.prototype.constructor=a,hn)hn(a,y);else for(var E in y)if(E!="prototype")if(Object.defineProperties){var x=Object.getOwnPropertyDescriptor(y,E);x&&Object.defineProperty(a,E,x)}else a[E]=y[E];a.QA=y.prototype}var bn=typeof ue.g!="undefined"&&ue.g!=null?ue.g:self,Mi=typeof Object.assign=="function"?Object.assign:function(a,y){for(var E=1;E<arguments.length;E++){var x=arguments[E];if(x)for(var b in x)Object.prototype.hasOwnProperty.call(x,b)&&(a[b]=x[b])}return a},Oi=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,y,E){a!=Array.prototype&&a!=Object.prototype&&(a[y]=E.value)};function bi(a,y){if(y){var E=bn;a=a.split(".");for(var x=0;x<a.length-1;x++){var b=a[x];b in E||(E[b]={}),E=E[b]}a=a[a.length-1],x=E[a],y=y(x),y!=x&&y!=null&&Oi(E,a,{writable:!0,value:y})}}bi("Object.assign",function(a){return a||Mi}),bi("Array.prototype.fill",function(a){return a||function(y,E,x){var b=this.length||0;for(0>E&&(E=Math.max(0,b+E)),(x==null||x>b)&&(x=b),x=Number(x),0>x&&(x=Math.max(0,b+x)),E=Number(E||0);E<x;E++)this[E]=y;return this}});var sn=typeof globalThis=="object"&&globalThis||typeof ue.g=="object"&&ue.g.global===ue.g&&ue.g||typeof self=="object"&&self.self===self&&self||{};sn.requestAnimationFrame===void 0&&(sn.setImmediate===void 0?sn.requestAnimationFrame=function(a){sn.setTimeout(a,0)}:sn.requestAnimationFrame=sn.setImmediate);function Un(){}function Wi(a,y){var E=-1;return function(){var x=this,b=arguments;E!==-1&&sn.clearTimeout(E),E=ir(function(){E=-1,a.apply(x,b)},y)}}function ir(a,y){return sn.setTimeout(a,y)}function si(a){return sn.document.createElement(a)}function tn(a){throw Error(a)}function Hi(a,y){a="The object is frozen, so its properties cannot be set: "+a.toString(),y!==void 0&&(a+=" to value: "+y),tn(a)}function lr(a,y,E,x){E=E===null?"*":typeof E=="string"?E:typeof E=="function"&&typeof E.className=="string"?E.className:"",x!==void 0&&(E+="."+x),tn(E+" is not in the range "+y+": "+a)}function Hr(a){sn.console&&sn.console.log(a)}function jn(a){return typeof a=="object"&&a!==null}function qi(a){return Array.isArray(a)||sn.NodeList&&a instanceof sn.NodeList||sn.HTMLCollection&&a instanceof sn.HTMLCollection}function ao(a){return Array.prototype.slice.call(a)}function jo(a,y,E){Array.isArray(a)?y>=a.length?a.push(E):a.splice(y,0,E):tn("Cannot insert an object into an HTMLCollection or NodeList: "+E+" at "+y)}function ko(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):tn("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function Vi(){var a=Sa.pop();return a===void 0?[]:a}function Qi(a){a.length=0,Sa.push(a)}function sr(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(jn(a)&&a.constructor)return sr(a.constructor);return typeof a}function Zr(a){var y=a;return jn(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 Io(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var E=a.CA;if(E&&E[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Si(a,y,E){Object.defineProperty(ra.prototype,a,{get:y,set:E})}function mr(a){for(var y=[],E=0;256>E;E++)y["0123456789abcdef".charAt(E>>4)+"0123456789abcdef".charAt(E&15)]=String.fromCharCode(E);a.length%2&&(a="0"+a),E=[];for(var x=0,b=0;b<a.length;b+=2)E[x++]=y[a.substr(b,2)];for(a=E.join(""),a=a===""?"0":a,y=[],E=0;256>E;E++)y[E]=E;for(E=x=0;256>E;E++)x=(x+y[E]+119)%256,b=y[E],y[E]=y[x],y[x]=b;x=E=0;for(var z="",ne=0;ne<a.length;ne++)E=(E+1)%256,x=(x+y[E])%256,b=y[E],y[E]=y[x],y[x]=b,z+=String.fromCharCode(a.charCodeAt(ne)^y[(y[E]+y[x])%256]);return z.indexOf("GoJS 2.1 evaluation")>-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 ja=sn.navigator!==void 0&&0<sn.navigator.userAgent.indexOf("Trident/7"),Ha=sn.navigator!==void 0&&sn.navigator.platform!==void 0&&sn.navigator.platform.match(/(iPhone|iPod|iPad|Mac)/i)!==null,Sa=[];Object.freeze([]),Un.className="Util",Un.Dx="32ab5ff3b26f42dc0ed90f21472913b5",Un.adym="gojs.net",Un.vfo="28e645fdb266",Un.className="Util";function nn(a,y,E){ut(this),this.j=a,this.xa=y,this.o=E}nn.prototype.toString=function(){return"EnumValue."+this.xa};function pr(a,y){return y==null||y===""?null:a[y]}bn.Object.defineProperties(nn.prototype,{classType:{get:function(){return this.j}},name:{get:function(){return this.xa}},value:{get:function(){return this.o}}}),nn.className="EnumValue";function Jr(){this.ew=[]}Jr.prototype.toString=function(){return this.ew.join("")},Jr.prototype.add=function(a){a!==""&&this.ew.push(a)},Jr.className="StringBuilder";function vr(){}vr.className="PropertyCollection";var ia={EA:!1,JA:!1,GA:!1,IA:!1,NA:!1,LA:!1,nx:!1,FA:null,trace:function(a){sn.console&&sn.console.log(a)},HA:function(a,y,E,x){a.strokeStyle="red",a.fillStyle="red",a.font="8px sans-serif",a.beginPath(),a.moveTo(-10,0),a.lineTo(10,0),a.moveTo(0,-10),a.lineTo(0,10),a.stroke(),a.setTransform(1,0,0,1,0,0),a.scale(E,E),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.lineWidth=2,a.beginPath(),a.moveTo(x.left,x.top+20),a.lineTo(x.left,x.top),a.lineTo(x.left+20,x.top),a.moveTo(x.right,x.bottom-20),a.lineTo(x.right,x.bottom),a.lineTo(x.right-20,x.bottom),a.stroke(),a.fillText("DB: "+Math.round(x.x)+", "+Math.round(x.y)+", "+Math.round(x.width)+", "+Math.round(x.height),x.left,x.top-5)},DA:function(a){var y={},E;for(E in a){if(y.x=E,y.x!=="licenseKey"){var x=a[y.x];if(x.prototype!==void 0){y.Zl=Object.getOwnPropertyNames(x.prototype);for(var b={Tj:0};b.Tj<y.Zl.length;b={Tj:b.Tj},b.Tj++){var z=Object.getOwnPropertyDescriptor(x.prototype,y.Zl[b.Tj]);z.get!==void 0&&z.set===void 0&&Object.defineProperty(x.prototype,y.Zl[b.Tj],{set:function(ne,re){return function(){throw Error("Property "+ne.Zl[re.Tj]+" of "+ne.x+" is read-only.")}}(y,b)})}}}y={Zl:y.Zl,x:y.x}}}};function vo(){}vo.prototype.reset=function(){},vo.prototype.next=function(){return!1},vo.prototype.Ad=function(){return!1},vo.prototype.first=function(){return null},vo.prototype.any=function(){return!1},vo.prototype.all=function(){return!0},vo.prototype.each=function(){return this},vo.prototype.map=function(){return this},vo.prototype.filter=function(){return this},vo.prototype.de=function(){},vo.prototype.toString=function(){return"EmptyIterator"},bn.Object.defineProperties(vo.prototype,{iterator:{get:function(){return this}},count:{get:function(){return 0}}}),vo.prototype.first=vo.prototype.first,vo.prototype.hasNext=vo.prototype.Ad,vo.prototype.next=vo.prototype.next,vo.prototype.reset=vo.prototype.reset;var Po=null;vo.className="EmptyIterator",Po=new vo;function bo(a){this.key=-1,this.value=a}bo.prototype.reset=function(){this.key=-1},bo.prototype.next=function(){return this.key===-1?(this.key=0,!0):!1},bo.prototype.Ad=function(){return this.next()},bo.prototype.first=function(){return this.key=0,this.value},bo.prototype.any=function(a){return this.key=-1,a(this.value)},bo.prototype.all=function(a){return this.key=-1,a(this.value)},bo.prototype.each=function(a){return this.key=-1,a(this.value),this},bo.prototype.map=function(a){return new bo(a(this.value))},bo.prototype.filter=function(a){return a(this.value)?new bo(this.value):Po},bo.prototype.de=function(){this.value=null},bo.prototype.toString=function(){return"SingletonIterator("+this.value+")"},bn.Object.defineProperties(bo.prototype,{iterator:{get:function(){return this}},count:{get:function(){return 1}}}),bo.prototype.first=bo.prototype.first,bo.prototype.hasNext=bo.prototype.Ad,bo.prototype.next=bo.prototype.next,bo.prototype.reset=bo.prototype.reset,bo.className="SingletonIterator";function so(a){this.Bb=a,this.qf=null,a.Sa=null,this.qa=a.Ja,this.Za=-1}so.prototype.reset=function(){var a=this.Bb;a.Sa=null,this.qa=a.Ja,this.Za=-1},so.prototype.next=function(){var a=this.Bb;if(a.Ja!==this.qa&&0>this.key)return!1;a=a.s;var y=a.length,E=++this.Za,x=this.qf;if(x!==null)for(;E<y;){var b=a[E];if(x(b))return this.key=this.Za=E,this.value=b,!0;E++}else{if(E<y)return this.key=E,this.value=a[E],!0;this.de()}return!1},so.prototype.Ad=function(){return this.next()},so.prototype.first=function(){var a=this.Bb;this.qa=a.Ja,this.Za=0,a=a.s;var y=a.length,E=this.qf;if(E!==null){for(var x=0;x<y;){var b=a[x];if(E(b))return this.key=this.Za=x,this.value=b;x++}return null}return 0<y?(a=a[0],this.key=0,this.value=a):null},so.prototype.any=function(a){var y=this.Bb;y.Sa=null,this.Za=-1,y=y.s;for(var E=y.length,x=this.qf,b=0;b<E;b++){var z=y[b];if((x===null||x(z))&&a(z))return!0}return!1},so.prototype.all=function(a){var y=this.Bb;y.Sa=null,this.Za=-1,y=y.s;for(var E=y.length,x=this.qf,b=0;b<E;b++){var z=y[b];if((x===null||x(z))&&!a(z))return!1}return!0},so.prototype.each=function(a){var y=this.Bb;y.Sa=null,this.Za=-1,y=y.s;for(var E=y.length,x=this.qf,b=0;b<E;b++){var z=y[b];(x===null||x(z))&&a(z)}return this},so.prototype.map=function(a){var y=this.Bb;y.Sa=null,this.Za=-1;var E=[];y=y.s;for(var x=y.length,b=this.qf,z=0;z<x;z++){var ne=y[z];(b===null||b(ne))&&E.push(a(ne))}return a=new Qn,a.s=E,a.xb(),a.iterator},so.prototype.filter=function(a){var y=this.Bb;y.Sa=null,this.Za=-1;var E=[];y=y.s;for(var x=y.length,b=this.qf,z=0;z<x;z++){var ne=y[z];(b===null||b(ne))&&a(ne)&&E.push(ne)}return a=new Qn,a.s=E,a.xb(),a.iterator},so.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.qf=null,this.Bb.Sa=this},so.prototype.toString=function(){return"ListIterator@"+this.Za+"/"+this.Bb.count},bn.Object.defineProperties(so.prototype,{iterator:{get:function(){return this}},predicate:{get:function(){return this.qf},set:function(a){this.qf=a}},count:{get:function(){var a=this.qf;if(a!==null){for(var y=0,E=this.Bb.s,x=E.length,b=0;b<x;b++)a(E[b])&&y++;return y}return this.Bb.s.length}}}),so.prototype.first=so.prototype.first,so.prototype.hasNext=so.prototype.Ad,so.prototype.next=so.prototype.next,so.prototype.reset=so.prototype.reset,so.className="ListIterator";function Do(a){this.Bb=a,a.Hg=null,this.qa=a.Ja,this.Za=a.s.length}Do.prototype.reset=function(){var a=this.Bb;a.Hg=null,this.qa=a.Ja,this.Za=a.s.length},Do.prototype.next=function(){var a=this.Bb;if(a.Ja!==this.qa&&0>this.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Do.prototype.Ad=function(){return this.next()},Do.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},Do.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--)if(a(y[E]))return!0;return!1},Do.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--)if(!a(y[E]))return!1;return!0},Do.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var E=y.length;for(this.Za=E,--E;0<=E;E--)a(y[E]);return this},Do.prototype.map=function(a){var y=this.Bb;y.Hg=null;var E=[];y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)E.push(a(y[x]));return a=new Qn,a.s=E,a.xb(),a.iterator},Do.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var E=[];y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--){var b=y[x];a(b)&&E.push(b)}return a=new Qn,a.s=E,a.xb(),a.iterator},Do.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Do.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},bn.Object.defineProperties(Do.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Do.prototype.first=Do.prototype.first,Do.prototype.hasNext=Do.prototype.Ad,Do.prototype.next=Do.prototype.next,Do.prototype.reset=Do.prototype.reset,Do.className="ListIteratorBackwards";function Qn(a){ut(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&tn("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ie=Qn.prototype,Ie.xb=function(){var a=this.Ja;a++,999999999<a&&(a=0),this.Ja=a},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return this._isFrozen=!1,this},Ie.toString=function(){return"List()#"+Lt(this)},Ie.add=function(a){return a===null?this:(this._isFrozen&&Hi(this,a),this.s.push(a),this.xb(),this)},Ie.push=function(a){this.add(a)},Ie.addAll=function(a){if(a===null)return this;this._isFrozen&&Hi(this);var y=this.s;if(qi(a))for(var E=a.length,x=0;x<E;x++)y.push(a[x]);else for(a=a.iterator;a.next();)y.push(a.value);return this.xb(),this},Ie.clear=function(){this._isFrozen&&Hi(this),this.s.length=0,this.xb()},Ie.contains=function(a){return a===null?!1:this.s.indexOf(a)!==-1},Ie.has=function(a){return this.contains(a)},Ie.indexOf=function(a){return a===null?-1:this.s.indexOf(a)},Ie.M=function(a){var y=this.s;return(0>a||a>=y.length)&&lr(a,"0 <= i < length",Qn,"elt:i"),y[a]},Ie.get=function(a){return this.M(a)},Ie.cd=function(a,y){var E=this.s;(0>a||a>=E.length)&&lr(a,"0 <= i < length",Qn,"setElt:i"),this._isFrozen&&Hi(this,a),E[a]=y},Ie.set=function(a,y){this.cd(a,y)},Ie.first=function(){var a=this.s;return a.length===0?null:a[0]},Ie.jc=function(){var a=this.s,y=a.length;return 0<y?a[y-1]:null},Ie.pop=function(){this._isFrozen&&Hi(this);var a=this.s;return 0<a.length?a.pop():null},Qn.prototype.any=function(a){for(var y=this.s,E=y.length,x=0;x<E;x++)if(a(y[x]))return!0;return!1},Qn.prototype.all=function(a){for(var y=this.s,E=y.length,x=0;x<E;x++)if(!a(y[x]))return!1;return!0},Qn.prototype.each=function(a){for(var y=this.s,E=y.length,x=0;x<E;x++)a(y[x]);return this},Qn.prototype.map=function(a){for(var y=new Qn,E=[],x=this.s,b=x.length,z=0;z<b;z++)E.push(a(x[z]));return y.s=E,y.xb(),y},Qn.prototype.filter=function(a){for(var y=new Qn,E=[],x=this.s,b=x.length,z=0;z<b;z++){var ne=x[z];a(ne)&&E.push(ne)}return y.s=E,y.xb(),y},Ie=Qn.prototype,Ie.Gb=function(a,y){0>a&&lr(a,">= 0",Qn,"insertAt:i"),this._isFrozen&&Hi(this,a);var E=this.s;a>=E.length?E.push(y):E.splice(a,0,y),this.xb()},Ie.remove=function(a){if(a===null)return!1;this._isFrozen&&Hi(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)},Ie.delete=function(a){return this.remove(a)},Ie.mb=function(a){var y=this.s;(0>a||a>=y.length)&&lr(a,"0 <= i < length",Qn,"removeAt:i"),this._isFrozen&&Hi(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Ie.removeRange=function(a,y){var E=this.s,x=E.length;if(0>a)a=0;else if(a>=x)return this;if(0>y)return this;if(y>=x&&(y=x-1),a>y)return this;this._isFrozen&&Hi(this);for(var b=a,z=y+1;z<x;)E[b++]=E[z++];return E.length=x-(y-a+1),this.xb(),this},Qn.prototype.copy=function(){var a=new Qn,y=this.s;return 0<y.length&&(a.s=Array.prototype.slice.call(y)),a},Ie=Qn.prototype,Ie.Fa=function(){for(var a=this.s,y=this.count,E=Array(y),x=0;x<y;x++)E[x]=a[x];return E},Ie.Iv=function(){for(var a=new Rt,y=this.s,E=this.count,x=0;x<E;x++)a.add(y[x]);return a},Ie.sort=function(a){return this._isFrozen&&Hi(this),this.s.sort(a),this.xb(),this},Ie.zi=function(a,y,E){var x=this.s,b=x.length;y===void 0&&(y=0),E===void 0&&(E=b),this._isFrozen&&Hi(this);var z=E-y;if(1>=z)return this;if((0>y||y>=b-1)&&lr(y,"0 <= from < length",Qn,"sortRange:from"),z===2)return E=x[y],b=x[y+1],0<a(E,b)&&(x[y]=b,x[y+1]=E,this.xb()),this;if(y===0)if(E>=b)x.sort(a);else for(y=x.slice(0,E),y.sort(a),a=0;a<E;a++)x[a]=y[a];else if(E>=b)for(E=x.slice(y),E.sort(a),a=y;a<b;a++)x[a]=E[a-y];else for(b=x.slice(y,E),b.sort(a),a=y;a<E;a++)x[a]=b[a-y];return this.xb(),this},Ie.reverse=function(){return this._isFrozen&&Hi(this),this.s.reverse(),this.xb(),this},bn.Object.defineProperties(Qn.prototype,{_dataArray:{get:function(){return this.s}},count:{get:function(){return this.s.length}},size:{get:function(){return this.s.length}},length:{get:function(){return this.s.length}},iterator:{get:function(){if(0>=this.s.length)return Po;var a=this.Sa;return a!==null?(a.reset(),a):new so(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Po;var a=this.Hg;return a!==null?(a.reset(),a):new Do(this)}}}),Qn.prototype.reverse=Qn.prototype.reverse,Qn.prototype.sortRange=Qn.prototype.zi,Qn.prototype.sort=Qn.prototype.sort,Qn.prototype.toSet=Qn.prototype.Iv,Qn.prototype.toArray=Qn.prototype.Fa,Qn.prototype.removeRange=Qn.prototype.removeRange,Qn.prototype.removeAt=Qn.prototype.mb,Qn.prototype.delete=Qn.prototype.delete,Qn.prototype.remove=Qn.prototype.remove,Qn.prototype.insertAt=Qn.prototype.Gb,Qn.prototype.pop=Qn.prototype.pop,Qn.prototype.last=Qn.prototype.jc,Qn.prototype.first=Qn.prototype.first,Qn.prototype.set=Qn.prototype.set,Qn.prototype.setElt=Qn.prototype.cd,Qn.prototype.get=Qn.prototype.get,Qn.prototype.elt=Qn.prototype.M,Qn.prototype.indexOf=Qn.prototype.indexOf,Qn.prototype.has=Qn.prototype.has,Qn.prototype.contains=Qn.prototype.contains,Qn.prototype.clear=Qn.prototype.clear,Qn.prototype.addAll=Qn.prototype.addAll,Qn.prototype.push=Qn.prototype.push,Qn.prototype.add=Qn.prototype.add,Qn.prototype.thaw=Qn.prototype.ka,Qn.prototype.freeze=Qn.prototype.freeze,Qn.className="List";function $o(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}$o.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},$o.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)},$o.prototype.Ad=function(){return this.next()},$o.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},$o.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},$o.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},$o.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},$o.prototype.map=function(a){var y=this.eg;y.Sa=null;var E=new Qn;for(y=y.ea;y!==null;)E.add(a(y.value)),y=y.va;return E.iterator},$o.prototype.filter=function(a){var y=this.eg;y.Sa=null;var E=new Qn;for(y=y.ea;y!==null;){var x=y.value;a(x)&&E.add(x),y=y.va}return E.iterator},$o.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},$o.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},bn.Object.defineProperties($o.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),$o.prototype.first=$o.prototype.first,$o.prototype.hasNext=$o.prototype.Ad,$o.prototype.next=$o.prototype.next,$o.prototype.reset=$o.prototype.reset,$o.className="SetIterator";function Rt(a){ut(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&tn("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ie=Rt.prototype,Ie.xb=function(){var a=this.Ja;a++,999999999<a&&(a=0),this.Ja=a},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return this._isFrozen=!1,this},Ie.toString=function(){return"Set()#"+Lt(this)},Ie.add=function(a){if(a===null)return this;this._isFrozen&&Hi(this,a);var y=a;return jn(a)&&(y=Dn(a)),this.Tb[y]===void 0&&(this.Sb++,a=new Li(a,a),this.Tb[y]=a,y=this.kf,y===null?this.ea=a:(a.ll=y,y.va=a),this.kf=a,this.xb()),this},Ie.addAll=function(a){if(a===null)return this;if(this._isFrozen&&Hi(this),qi(a))for(var y=a.length,E=0;E<y;E++)this.add(a[E]);else for(a=a.iterator;a.next();)this.add(a.value);return this},Ie.contains=function(a){if(a===null)return!1;var y=a;return jn(a)&&(y=Lt(a),y===void 0)?!1:this.Tb[y]!==void 0},Ie.has=function(a){return this.contains(a)},Ie.Sy=function(a){if(a===null)return!0;for(a=a.iterator;a.next();)if(!this.contains(a.value))return!1;return!0},Ie.Ty=function(a){if(a===null)return!0;for(a=a.iterator;a.next();)if(this.contains(a.value))return!0;return!1},Ie.first=function(){var a=this.ea;return a===null?null:a.value},Rt.prototype.any=function(a){for(var y=this.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},Rt.prototype.all=function(a){for(var y=this.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},Rt.prototype.each=function(a){for(var y=this.ea;y!==null;)a(y.value),y=y.va;return this},Rt.prototype.map=function(a){for(var y=new Rt,E=this.ea;E!==null;)y.add(a(E.value)),E=E.va;return y},Rt.prototype.filter=function(a){for(var y=new Rt,E=this.ea;E!==null;){var x=E.value;a(x)&&y.add(x),E=E.va}return y},Ie=Rt.prototype,Ie.remove=function(a){if(a===null)return!1;this._isFrozen&&Hi(this,a);var y=a;if(jn(a)&&(y=Lt(a),y===void 0)||(a=this.Tb[y],a===void 0))return!1;var E=a.va,x=a.ll;return E!==null&&(E.ll=x),x!==null&&(x.va=E),this.ea===a&&(this.ea=E),this.kf===a&&(this.kf=x),delete this.Tb[y],this.Sb--,this.xb(),!0},Ie.delete=function(a){return this.remove(a)},Ie.hp=function(a){if(a===null)return this;if(this._isFrozen&&Hi(this),qi(a))for(var y=a.length,E=0;E<y;E++)this.remove(a[E]);else for(a=a.iterator;a.next();)this.remove(a.value);return this},Ie.pA=function(a){if(a===null||this.count===0)return this;this._isFrozen&&Hi(this);var y=new Rt;y.addAll(a),a=[];for(var E=this.iterator;E.next();){var x=E.value;y.contains(x)||a.push(x)}return this.hp(a),this},Ie.clear=function(){this._isFrozen&&Hi(this),this.Tb={},this.Sb=0,this.Sa!==null&&this.Sa.reset(),this.kf=this.ea=null,this.xb()},Rt.prototype.copy=function(){var a=new Rt,y=this.Tb,E;for(E in y)a.add(y[E].value);return a},Rt.prototype.Fa=function(){var a=Array(this.Sb),y=this.Tb,E=0,x;for(x in y)a[E]=y[x].value,E++;return a},Rt.prototype.Hv=function(){var a=new Qn,y=this.Tb,E;for(E in y)a.add(y[E].value);return a};function ut(a){a.__gohashid=Ft++}function Dn(a){var y=a.__gohashid;return y===void 0&&(y=Ft++,a.__gohashid=y),y}function Lt(a){return a.__gohashid}bn.Object.defineProperties(Rt.prototype,{count:{get:function(){return this.Sb}},size:{get:function(){return this.Sb}},iterator:{get:function(){if(0>=this.Sb)return Po;var a=this.Sa;return a!==null?(a.reset(),a):new $o(this)}}}),Rt.prototype.toList=Rt.prototype.Hv,Rt.prototype.toArray=Rt.prototype.Fa,Rt.prototype.clear=Rt.prototype.clear,Rt.prototype.retainAll=Rt.prototype.pA,Rt.prototype.removeAll=Rt.prototype.hp,Rt.prototype.delete=Rt.prototype.delete,Rt.prototype.remove=Rt.prototype.remove,Rt.prototype.first=Rt.prototype.first,Rt.prototype.containsAny=Rt.prototype.Ty,Rt.prototype.containsAll=Rt.prototype.Sy,Rt.prototype.has=Rt.prototype.has,Rt.prototype.contains=Rt.prototype.contains,Rt.prototype.addAll=Rt.prototype.addAll,Rt.prototype.add=Rt.prototype.add,Rt.prototype.thaw=Rt.prototype.ka,Rt.prototype.freeze=Rt.prototype.freeze;var Ft=1;Rt.className="Set",Rt.uniqueHash=ut,Rt.hashIdUnique=Dn,Rt.hashId=Lt;function Yt(a){this.ma=a,this.qa=a.Ja,this.sa=null}Yt.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Yt.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)},Yt.prototype.Ad=function(){return this.next()},Yt.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},Yt.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},Yt.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},Yt.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},Yt.prototype.map=function(a){var y=this.ma;this.sa=null;var E=new Qn;for(y=y.ea;y!==null;)E.add(a(y.key)),y=y.va;return E.iterator},Yt.prototype.filter=function(a){var y=this.ma;this.sa=null;var E=new Qn;for(y=y.ea;y!==null;){var x=y.key;a(x)&&E.add(x),y=y.va}return E.iterator},Yt.prototype.de=function(){this.value=this.key=null,this.qa=-1},Yt.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},bn.Object.defineProperties(Yt.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Yt.prototype.first=Yt.prototype.first,Yt.prototype.hasNext=Yt.prototype.Ad,Yt.prototype.next=Yt.prototype.next,Yt.prototype.reset=Yt.prototype.reset,Yt.className="MapKeySetIterator";function pn(a){Rt.call(this),ut(this),this._isFrozen=!0,this.ma=a}Kt(pn,Rt),Ie=pn.prototype,Ie.freeze=function(){return this},Ie.ka=function(){return this},Ie.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Ie.add=function(){tn("This Set is read-only: "+this.toString())},Ie.contains=function(a){return this.ma.contains(a)},Ie.has=function(a){return this.contains(a)},Ie.remove=function(){tn("This Set is read-only: "+this.toString())},Ie.delete=function(a){return this.remove(a)},Ie.clear=function(){tn("This Set is read-only: "+this.toString())},Ie.first=function(){var a=this.ma.ea;return a!==null?a.key:null},pn.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},pn.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},pn.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},pn.prototype.map=function(a){for(var y=new Rt,E=this.ma.ea;E!==null;)y.add(a(E.key)),E=E.va;return y},pn.prototype.filter=function(a){for(var y=new Rt,E=this.ma.ea;E!==null;){var x=E.key;a(x)&&y.add(x),E=E.va}return y},pn.prototype.copy=function(){return new pn(this.ma)},pn.prototype.Iv=function(){var a=new Rt,y=this.ma.Tb,E;for(E in y)a.add(y[E].key);return a},pn.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),E=0,x;for(x in a)y[E]=a[x].key,E++;return y},pn.prototype.Hv=function(){var a=new Qn,y=this.ma.Tb,E;for(E in y)a.add(y[E].key);return a},bn.Object.defineProperties(pn.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Po:new Yt(this.ma)}}}),pn.prototype.toList=pn.prototype.Hv,pn.prototype.toArray=pn.prototype.Fa,pn.prototype.toSet=pn.prototype.Iv,pn.prototype.first=pn.prototype.first,pn.prototype.clear=pn.prototype.clear,pn.prototype.delete=pn.prototype.delete,pn.prototype.remove=pn.prototype.remove,pn.prototype.has=pn.prototype.has,pn.prototype.contains=pn.prototype.contains,pn.prototype.add=pn.prototype.add,pn.prototype.thaw=pn.prototype.ka,pn.prototype.freeze=pn.prototype.freeze,pn.className="MapKeySet";function ti(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}ti.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},ti.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)},ti.prototype.Ad=function(){return this.next()},ti.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},ti.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},ti.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},ti.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},ti.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var E=new Qn;for(y=y.ea;y!==null;)E.add(a(y.value)),y=y.va;return E.iterator},ti.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var E=new Qn;for(y=y.ea;y!==null;){var x=y.value;a(x)&&E.add(x),y=y.va}return E.iterator},ti.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},ti.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},bn.Object.defineProperties(ti.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),ti.prototype.first=ti.prototype.first,ti.prototype.hasNext=ti.prototype.Ad,ti.prototype.next=ti.prototype.next,ti.prototype.reset=ti.prototype.reset,ti.className="MapValueSetIterator";function Li(a,y){this.key=a,this.value=y,this.ll=this.va=null}Li.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},Li.className="KeyValuePair";function Pi(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Pi.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},Pi.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)},Pi.prototype.Ad=function(){return this.next()},Pi.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},Pi.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},Pi.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},Pi.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},Pi.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var E=new Qn;for(y=y.ea;y!==null;)E.add(a(y)),y=y.va;return E.iterator},Pi.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var E=new Qn;for(y=y.ea;y!==null;)a(y)&&E.add(y),y=y.va;return E.iterator},Pi.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},Pi.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},bn.Object.defineProperties(Pi.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Pi.prototype.first=Pi.prototype.first,Pi.prototype.hasNext=Pi.prototype.Ad,Pi.prototype.next=Pi.prototype.next,Pi.prototype.reset=Pi.prototype.reset,Pi.className="MapIterator";function Fn(a){ut(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"&&tn("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ie=Fn.prototype,Ie.xb=function(){var a=this.Ja;a++,999999999<a&&(a=0),this.Ja=a},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return this._isFrozen=!1,this},Ie.toString=function(){return"Map()#"+Lt(this)},Ie.add=function(a,y){this._isFrozen&&Hi(this,a);var E=a;jn(a)&&(E=Dn(a));var x=this.Tb[E];return x===void 0?(this.Sb++,a=new Li(a,y),this.Tb[E]=a,E=this.kf,E===null?this.ea=a:(a.ll=E,E.va=a),this.kf=a,this.xb()):x.value=y,this},Ie.set=function(a,y){return this.add(a,y)},Ie.addAll=function(a){if(a===null)return this;if(qi(a))for(var y=a.length,E=0;E<y;E++){var x=a[E];this.add(x.key,x.value)}else if(a instanceof Fn)for(a=a.iterator;a.next();)this.add(a.key,a.value);else for(a=a.iterator;a.next();)y=a.value,this.add(y.key,y.value);return this},Ie.first=function(){return this.ea},Fn.prototype.any=function(a){for(var y=this.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},Fn.prototype.all=function(a){for(var y=this.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},Fn.prototype.each=function(a){for(var y=this.ea;y!==null;)a(y),y=y.va;return this},Fn.prototype.map=function(a){for(var y=new Fn,E=this.ea;E!==null;)y.add(E.key,a(E)),E=E.va;return y},Fn.prototype.filter=function(a){for(var y=new Fn,E=this.ea;E!==null;)a(E)&&y.add(E.key,E.value),E=E.va;return y},Ie=Fn.prototype,Ie.contains=function(a){var y=a;return jn(a)&&(y=Lt(a),y===void 0)?!1:this.Tb[y]!==void 0},Ie.has=function(a){return this.contains(a)},Ie.I=function(a){var y=a;return jn(a)&&(y=Lt(a),y===void 0)?null:(a=this.Tb[y],a===void 0?null:a.value)},Ie.get=function(a){return this.I(a)},Ie.remove=function(a){if(a===null)return!1;this._isFrozen&&Hi(this,a);var y=a;if(jn(a)&&(y=Lt(a),y===void 0)||(a=this.Tb[y],a===void 0))return!1;var E=a.va,x=a.ll;return E!==null&&(E.ll=x),x!==null&&(x.va=E),this.ea===a&&(this.ea=E),this.kf===a&&(this.kf=x),delete this.Tb[y],this.Sb--,this.xb(),!0},Ie.delete=function(a){return this.remove(a)},Ie.clear=function(){this._isFrozen&&Hi(this),this.Tb={},this.Sb=0,this.Sa!==null&&this.Sa.reset(),this.jf!==null&&this.jf.reset(),this.kf=this.ea=null,this.xb()},Fn.prototype.copy=function(){var a=new Fn,y=this.Tb,E;for(E in y){var x=y[E];a.add(x.key,x.value)}return a},Fn.prototype.Fa=function(){var a=this.Tb,y=Array(this.Sb),E=0,x;for(x in a){var b=a[x];y[E]=new Li(b.key,b.value),E++}return y},Fn.prototype.Lf=function(){return new pn(this)},bn.Object.defineProperties(Fn.prototype,{count:{get:function(){return this.Sb}},size:{get:function(){return this.Sb}},iterator:{get:function(){if(0>=this.count)return Po;var a=this.Sa;return a!==null?(a.reset(),a):new Pi(this)}},iteratorKeys:{get:function(){return 0>=this.count?Po:new Yt(this)}},iteratorValues:{get:function(){if(0>=this.count)return Po;var a=this.jf;return a!==null?(a.reset(),a):new ti(this)}}}),Fn.prototype.toKeySet=Fn.prototype.Lf,Fn.prototype.toArray=Fn.prototype.Fa,Fn.prototype.clear=Fn.prototype.clear,Fn.prototype.delete=Fn.prototype.delete,Fn.prototype.remove=Fn.prototype.remove,Fn.prototype.get=Fn.prototype.get,Fn.prototype.getValue=Fn.prototype.I,Fn.prototype.has=Fn.prototype.has,Fn.prototype.contains=Fn.prototype.contains,Fn.prototype.first=Fn.prototype.first,Fn.prototype.addAll=Fn.prototype.addAll,Fn.prototype.set=Fn.prototype.set,Fn.prototype.add=Fn.prototype.add,Fn.prototype.thaw=Fn.prototype.ka,Fn.prototype.freeze=Fn.prototype.freeze,Fn.className="Map";function st(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):tn("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var br,_r,to,lo,uo;st.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},st.prototype.h=function(a,y){return this.x=a,this.y=y,this},st.prototype.sg=function(a,y){return this.x=a,this.y=y,this},st.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},st.prototype.copy=function(){var a=new st;return a.x=this.x,a.y=this.y,a},Ie=st.prototype,Ie.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ie.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this};function Vr(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,E=0;a[y]==="";)y++;var x=a[y++];x&&(E=parseFloat(x));for(var b=0;a[y]==="";)y++;return(x=a[y++])&&(b=parseFloat(x)),new st(E,b)}return new st}function Mo(a){return a.x.toString()+" "+a.y.toString()}Ie.toString=function(){return"Point("+this.x+","+this.y+")"},Ie.D=function(a){return a instanceof st?this.x===a.x&&this.y===a.y:!1},Ie.hi=function(a,y){return this.x===a&&this.y===y},Ie.Xa=function(a){return Ht.B(this.x,a.x)&&Ht.B(this.y,a.y)},Ie.add=function(a){return this.x+=a.x,this.y+=a.y,this},Ie.re=function(a){return this.x-=a.x,this.y-=a.y,this},Ie.offset=function(a,y){return this.x+=a,this.y+=y,this},st.prototype.rotate=function(a){if(a===0)return this;var y=this.x,E=this.y;if(y===0&&E===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var x=1}else a===180?(a=-1,x=0):a===270?(a=0,x=-1):(x=a*Math.PI/180,a=Math.cos(x),x=Math.sin(x));return this.x=a*y-x*E,this.y=x*y+a*E,this},Ie=st.prototype,Ie.scale=function(a,y){return this.x*=a,this.y*=y,this},Ie.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Ie.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Ie.normalize=function(){var a=this.x,y=this.y,E=Math.sqrt(a*a+y*y);return 0<E&&(this.x=a/E,this.y=y/E),this},Ie.ab=function(a){return co(a.x-this.x,a.y-this.y)},Ie.direction=function(a,y){return co(a-this.x,y-this.y)};function co(a,y){if(a===0)return 0<y?90:0>y?270:0;if(y===0)return 0<a?0:180;if(isNaN(a)||isNaN(y))return 0;var E=180*Math.atan(Math.abs(y/a))/Math.PI;return 0>a?E=0>y?E+180:180-E:0>y&&(E=360-E),E}Ie.Ry=function(a,y){return Ht.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Ie.fA=function(a,y,E,x){return Ht.qh(a,y,E,x,this.x,this.y,this),this},Ie.gA=function(a,y){return Ht.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Ie.uA=function(a,y,E,x){return Ht.No(this.x,this.y,a,y,E,x,this),this},Ie.vA=function(a,y){return Ht.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Ie.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},Ie.yi=function(a,y,E,x,b){return this.x=a+b.x*E+b.offsetX,this.y=y+b.y*x+b.offsetY,this},Ie.transform=function(a){return a.Ga(this),this};function Ir(a,y){return y.Cd(a),a}function or(a,y,E,x,b,z){var ne=b-E,re=z-x,oe=ne*ne+re*re;E-=a,x-=y;var he=-E*ne-x*re;return 0>=he||he>=oe?(ne=b-a,re=z-y,Math.min(E*E+x*x,ne*ne+re*re)):(a=ne*x-re*E,a*a/oe)}function Di(a,y,E,x){return a=E-a,y=x-y,a*a+y*y}function Ci(a,y,E,x){return a=E-a,y=x-y,a===0?0<y?90:0>y?270:0:y===0?0<a?0:180:isNaN(a)||isNaN(y)?0:(x=180*Math.atan(Math.abs(y/a))/Math.PI,0>a?x=0>y?x+180:180-x:0>y&&(x=360-x),x)}Ie.w=function(){return isFinite(this.x)&&isFinite(this.y)},st.alloc=function(){var a=ji.pop();return a===void 0?new st:a},st.allocAt=function(a,y){var E=ji.pop();return E===void 0?new st(a,y):(E.x=a,E.y=y,E)},st.free=function(a){ji.push(a)},st.prototype.isReal=st.prototype.w,st.prototype.setSpot=st.prototype.yi,st.prototype.setRectSpot=st.prototype.xi,st.prototype.snapToGridPoint=st.prototype.vA,st.prototype.snapToGrid=st.prototype.uA,st.prototype.projectOntoLineSegmentPoint=st.prototype.gA,st.prototype.projectOntoLineSegment=st.prototype.fA,st.intersectingLineSegments=function(a,y,E,x,b,z,ne,re){return Ht.Rl(a,y,E,x,b,z,ne,re)},st.prototype.compareWithLineSegmentPoint=st.prototype.Ry,st.compareWithLineSegment=function(a,y,E,x,b,z){return Ht.Fl(a,y,E,x,b,z)},st.prototype.direction=st.prototype.direction,st.prototype.directionPoint=st.prototype.ab,st.prototype.normalize=st.prototype.normalize,st.prototype.distanceSquared=st.prototype.zd,st.prototype.distanceSquaredPoint=st.prototype.Bf,st.prototype.scale=st.prototype.scale,st.prototype.rotate=st.prototype.rotate,st.prototype.offset=st.prototype.offset,st.prototype.subtract=st.prototype.re,st.prototype.add=st.prototype.add,st.prototype.equalsApprox=st.prototype.Xa,st.prototype.equalTo=st.prototype.hi,st.prototype.equals=st.prototype.D,st.prototype.set=st.prototype.set,st.prototype.setTo=st.prototype.sg;var ji=[];st.className="Point",st.parse=Vr,st.stringify=Mo,st.distanceLineSegmentSquared=or,st.distanceSquared=Di,st.direction=Ci,st.Origin=br=new st(0,0).ja(),st.InfiniteTopLeft=_r=new st(-1/0,-1/0).ja(),st.InfiniteBottomRight=to=new st(1/0,1/0).ja(),st.SixPoint=lo=new st(6,6).ja(),st.NoPoint=uo=new st(NaN,NaN).ja(),st.parse=Vr,st.stringify=Mo,st.distanceLineSegmentSquared=or,st.distanceSquared=Di,st.direction=Ci;function fn(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):tn("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var $i,Ji,Gr,io,qr,yo,ea;fn.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},fn.prototype.h=function(a,y){return this.width=a,this.height=y,this},fn.prototype.sg=function(a,y){return this.width=a,this.height=y,this},fn.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},fn.prototype.copy=function(){var a=new fn;return a.width=this.width,a.height=this.height,a},Ie=fn.prototype,Ie.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ie.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this};function Zo(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,E=0;a[y]==="";)y++;var x=a[y++];x&&(E=parseFloat(x));for(var b=0;a[y]==="";)y++;return(x=a[y++])&&(b=parseFloat(x)),new fn(E,b)}return new fn}function ua(a){return a.width.toString()+" "+a.height.toString()}Ie.toString=function(){return"Size("+this.width+","+this.height+")"},Ie.D=function(a){return a instanceof fn?this.width===a.width&&this.height===a.height:!1},Ie.hi=function(a,y){return this.width===a&&this.height===y},Ie.Xa=function(a){return Ht.B(this.width,a.width)&&Ht.B(this.height,a.height)},Ie.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},Ie.w=function(){return isFinite(this.width)&&isFinite(this.height)},fn.alloc=function(){var a=ba.pop();return a===void 0?new fn:a},fn.free=function(a){ba.push(a)},fn.prototype.isReal=fn.prototype.w,fn.prototype.inflate=fn.prototype.Bc,fn.prototype.equalsApprox=fn.prototype.Xa,fn.prototype.equalTo=fn.prototype.hi,fn.prototype.equals=fn.prototype.D,fn.prototype.set=fn.prototype.set,fn.prototype.setTo=fn.prototype.sg;var ba=[];fn.className="Size",fn.parse=Zo,fn.stringify=ua,fn.ZeroSize=$i=new fn(0,0).ja(),fn.OneSize=Ji=new fn(1,1).ja(),fn.SixSize=Gr=new fn(6,6).ja(),fn.EightSize=io=new fn(8,8).ja(),fn.TenSize=qr=new fn(10,10).ja(),fn.InfiniteSize=yo=new fn(1/0,1/0).ja(),fn.NoSize=ea=new fn(NaN,NaN).ja(),fn.parse=Zo,fn.stringify=ua;function an(a,y,E,x){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof E=="number"&&(0<=E||isNaN(E))&&typeof x=="number"&&(0<=x||isNaN(x))?(this.x=a,this.y=y,this.width=E,this.height=x):a instanceof st?(E=a.x,a=a.y,y instanceof st?(x=y.x,y=y.y,this.x=Math.min(E,x),this.y=Math.min(a,y),this.width=Math.abs(E-x),this.height=Math.abs(a-y)):y instanceof fn?(this.x=E,this.y=a,this.width=y.width,this.height=y.height):tn("Incorrect second argument supplied to Rect constructor "+y)):tn("Invalid arguments to Rect constructor: "+a+", "+y+", "+E+", "+x),this._isFrozen=!1}Ie=an.prototype,Ie.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ie.h=function(a,y,E,x){return this.x=a,this.y=y,this.width=E,this.height=x,this};function qo(a,y,E){a.width=y,a.height=E}Ie.sg=function(a,y,E,x){return this.x=a,this.y=y,this.width=E,this.height=x,this},Ie.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ie.dd=function(a){return this.x=a.x,this.y=a.y,this},Ie.tA=function(a){return this.width=a.width,this.height=a.height,this},an.prototype.copy=function(){var a=new an;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Ie=an.prototype,Ie.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ie.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this};function fa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,E=0;a[y]==="";)y++;var x=a[y++];x&&(E=parseFloat(x));for(var b=0;a[y]==="";)y++;(x=a[y++])&&(b=parseFloat(x));for(var z=0;a[y]==="";)y++;(x=a[y++])&&(z=parseFloat(x));for(var ne=0;a[y]==="";)y++;return(x=a[y++])&&(ne=parseFloat(x)),new an(E,b,z,ne)}return new an}function Ra(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Ie.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Ie.D=function(a){return a instanceof an?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Ie.hi=function(a,y,E,x){return this.x===a&&this.y===y&&this.width===E&&this.height===x},Ie.Xa=function(a){return Ht.B(this.x,a.x)&&Ht.B(this.y,a.y)&&Ht.B(this.width,a.width)&&Ht.B(this.height,a.height)};function po(a,y){return Ht.$(a.x,y.x)&&Ht.$(a.y,y.y)&&Ht.$(a.width,y.width)&&Ht.$(a.height,y.height)}Ie.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Ie.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},Ie.contains=function(a,y,E,x){return E===void 0&&(E=0),x===void 0&&(x=0),this.x<=a&&a+E<=this.x+this.width&&this.y<=y&&y+x<=this.y+this.height},Ie.offset=function(a,y){return this.x+=a,this.y+=y,this},Ie.Bc=function(a,y){return Xa(this,y,a,y,a)},Ie.Co=function(a){return Xa(this,a.top,a.right,a.bottom,a.left)},Ie.Fv=function(a){return Xa(this,-a.top,-a.right,-a.bottom,-a.left)},Ie.Hz=function(a,y,E,x){return Xa(this,a,y,E,x)};function Xa(a,y,E,x,b){var z=a.width;return E+b<=-z?(a.x+=z/2,a.width=0):(a.x-=b,a.width+=E+b),E=a.height,y+x<=-E?(a.y+=E/2,a.height=0):(a.y-=y,a.height+=y+x),a}Ie.Ex=function(a){return Na(this,a.x,a.y,a.width,a.height)},Ie.Uu=function(a,y,E,x){return Na(this,a,y,E,x)};function Na(a,y,E,x,b){var z=Math.max(a.x,y),ne=Math.max(a.y,E);return y=Math.min(a.x+a.width,y+x),E=Math.min(a.y+a.height,E+b),a.x=z,a.y=ne,a.width=Math.max(0,y-z),a.height=Math.max(0,E-ne),a}Ie.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Ie.Vu=function(a,y,E,x){var b=this.width,z=this.x;return b!==1/0&&E!==1/0&&(b+=z,E+=a,isNaN(E)||isNaN(b)||z>E||a>b)?!1:(a=this.height,E=this.y,!(a!==1/0&&x!==1/0&&(a+=E,x+=y,isNaN(x)||isNaN(a)||E>x||y>a)))};function qa(a,y){var E=a.width,x=a.x,b=y.x-10;return x>y.width+10+10+b||b>E+x?!1:(E=a.height,a=a.y,x=y.y-10,!(a>y.height+10+10+x||x>E+a))}Ie.Ye=function(a){return Co(this,a.x,a.y,0,0)},Ie.ed=function(a){return Co(this,a.x,a.y,a.width,a.height)},Ie.Kv=function(a,y,E,x){return E===void 0&&(E=0),x===void 0&&(x=0),Co(this,a,y,E,x)};function Co(a,y,E,x,b){var z=Math.min(a.x,y),ne=Math.min(a.y,E);return y=Math.max(a.x+a.width,y+x),E=Math.max(a.y+a.height,E+b),a.x=z,a.y=ne,a.width=y-z,a.height=E-ne,a}Ie.yi=function(a,y,E){return this.x=a-E.offsetX-E.x*this.width,this.y=y-E.offsetY-E.y*this.height,this};function Go(a,y,E,x,b,z,ne,re){return ne===void 0&&(ne=0),re===void 0&&(re=0),a<=b&&b+ne<=a+E&&y<=z&&z+re<=y+x}function wr(a,y,E,x,b,z,ne,re){return a>ne+b||b>E+a?!1:!(y>re+z||z>x+y)}Ie.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Ie.Mz=function(){return this.width===0&&this.height===0},an.alloc=function(){var a=_o.pop();return a===void 0?new an:a},an.allocAt=function(a,y,E,x){var b=_o.pop();return b===void 0?new an(a,y,E,x):b.h(a,y,E,x)},an.free=function(a){_o.push(a)},bn.Object.defineProperties(an.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 st(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new fn(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new st(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}}}),an.prototype.isEmpty=an.prototype.Mz,an.prototype.isReal=an.prototype.w,an.intersectsLineSegment=function(a,y,E,x,b,z,ne,re){return Ht.Fx(a,y,E,x,b,z,ne,re)},an.prototype.setSpot=an.prototype.yi,an.prototype.union=an.prototype.Kv,an.prototype.unionRect=an.prototype.ed,an.prototype.unionPoint=an.prototype.Ye,an.prototype.intersects=an.prototype.Vu,an.prototype.intersectsRect=an.prototype.Yc,an.prototype.intersect=an.prototype.Uu,an.prototype.intersectRect=an.prototype.Ex,an.prototype.grow=an.prototype.Hz,an.prototype.subtractMargin=an.prototype.Fv,an.prototype.addMargin=an.prototype.Co,an.prototype.inflate=an.prototype.Bc,an.prototype.offset=an.prototype.offset,an.prototype.contains=an.prototype.contains,an.prototype.containsRect=an.prototype.Re,an.prototype.containsPoint=an.prototype.ca,an.prototype.equalsApprox=an.prototype.Xa,an.prototype.equalTo=an.prototype.hi,an.prototype.equals=an.prototype.D,an.prototype.setSize=an.prototype.tA,an.prototype.setPoint=an.prototype.dd,an.prototype.set=an.prototype.set,an.prototype.setTo=an.prototype.sg;var $r=null,ho=null,_o=[];an.className="Rect",an.parse=fa,an.stringify=Ra,an.contains=Go,an.intersects=wr,an.ZeroRect=$r=new an(0,0,0,0).ja(),an.NoRect=ho=new an(NaN,NaN,NaN,NaN).ja(),an.parse=fa,an.stringify=Ra,an.contains=Go,an.intersects=wr;function Zi(a,y,E,x){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:E===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):x!==void 0?(this.top=a,this.right=y,this.bottom=E,this.left=x):tn("Invalid arguments to Margin constructor: "+a+", "+y+", "+E+", "+x),this._isFrozen=!1}Zi.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Zi.prototype.sg=function(a,y,E,x){return this.top=a,this.right=y,this.bottom=E,this.left=x,this},Zi.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Zi.prototype.copy=function(){var a=new Zi;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Ie=Zi.prototype,Ie.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ie.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this};function Ea(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,E=NaN;a[y]==="";)y++;var x=a[y++];if(x&&(E=parseFloat(x)),isNaN(E))return new Zi;for(var b=NaN;a[y]==="";)y++;if((x=a[y++])&&(b=parseFloat(x)),isNaN(b))return new Zi(E);for(var z=NaN;a[y]==="";)y++;if((x=a[y++])&&(z=parseFloat(x)),isNaN(z))return new Zi(E,b);for(var ne=NaN;a[y]==="";)y++;return(x=a[y++])&&(ne=parseFloat(x)),isNaN(ne)?new Zi(E,b):new Zi(E,b,z,ne)}return new Zi}function ca(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Ie.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Ie.D=function(a){return a instanceof Zi?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Ie.hi=function(a,y,E,x){return this.top===a&&this.right===y&&this.bottom===E&&this.left===x},Ie.Xa=function(a){return Ht.B(this.top,a.top)&&Ht.B(this.right,a.right)&&Ht.B(this.bottom,a.bottom)&&Ht.B(this.left,a.left)},Ie.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},Zi.alloc=function(){var a=us.pop();return a===void 0?new Zi:a},Zi.free=function(a){us.push(a)},Zi.prototype.isReal=Zi.prototype.w,Zi.prototype.equalsApprox=Zi.prototype.Xa,Zi.prototype.equalTo=Zi.prototype.hi,Zi.prototype.equals=Zi.prototype.D,Zi.prototype.set=Zi.prototype.set,Zi.prototype.setTo=Zi.prototype.sg;var ga=null,rs=null,us=[];Zi.className="Margin",Zi.parse=Ea,Zi.stringify=ca,Zi.ZeroMargin=ga=new Zi(0,0,0,0).ja(),Zi.TwoMargin=rs=new Zi(2,2,2,2).ja(),Zi.parse=Ea,Zi.stringify=ca;function wi(a,y,E,x){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),E===void 0&&(E=0),x===void 0&&(x=0),this.x=a,this.y=y,this.offsetX=E,this.offsetY=x),this._isFrozen=!1}var pa,ka,fs,wa,ts,Yr,Is,Ba,ns,ws,tl,Fl,os,za,mu,Yu,Kl,Zl,Bs,As,hl,Bl,sc,ku,Ku,$a,Fc,Bc,Iu,Zn,Sr,Kr,no,Lo,Xo,La;wi.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},wi.prototype.sg=function(a,y,E,x){return this.x=a,this.y=y,this.offsetX=E,this.offsetY=x,this},wi.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},wi.prototype.copy=function(){var a=new wi;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Ie=wi.prototype,Ie.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ie.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this};function Wo(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function vs(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return pa;if(a==="TopLeft")return ka;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return fs;if(a==="TopRight")return wa;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return ts;if(a==="Center")return Yr;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Is;if(a==="BottomLeft")return Ba;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return ns;if(a==="BottomRight")return ws;if(a==="TopSide")return tl;if(a==="LeftSide")return Fl;if(a==="RightSide")return os;if(a==="BottomSide")return za;if(a==="TopBottomSides")return mu;if(a==="LeftRightSides")return Yu;if(a==="TopLeftSides")return Kl;if(a==="TopRightSides")return Zl;if(a==="BottomLeftSides")return Bs;if(a==="BottomRightSides")return As;if(a==="NotTopSide")return hl;if(a==="NotLeftSide")return Bl;if(a==="NotRightSide")return sc;if(a==="NotBottomSide")return ku;if(a==="AllSides")return Ku;if(a==="Default")return $a;a=a.split(" ");for(var y=0,E=0;a[y]==="";)y++;var x=a[y++];x!==void 0&&0<x.length&&(E=parseFloat(x));for(var b=0;a[y]==="";)y++;x=a[y++],x!==void 0&&0<x.length&&(b=parseFloat(x));for(var z=0;a[y]==="";)y++;x=a[y++],x!==void 0&&0<x.length&&(z=parseFloat(x));for(var ne=0;a[y]==="";)y++;return x=a[y++],x!==void 0&&0<x.length&&(ne=parseFloat(x)),new wi(E,b,z,ne)}return new wi}function Ia(a){return a.sb()?a.x.toString()+" "+a.y.toString()+" "+a.offsetX.toString()+" "+a.offsetY.toString():a.toString()}Ie.toString=function(){return this.sb()?this.offsetX===0&&this.offsetY===0?"Spot("+this.x+","+this.y+")":"Spot("+this.x+","+this.y+","+this.offsetX+","+this.offsetY+")":this.D(pa)?"None":this.D(ka)?"TopLeft":this.D(fs)?"Top":this.D(wa)?"TopRight":this.D(ts)?"Left":this.D(Yr)?"Center":this.D(Is)?"Right":this.D(Ba)?"BottomLeft":this.D(ns)?"Bottom":this.D(ws)?"BottomRight":this.D(tl)?"TopSide":this.D(Fl)?"LeftSide":this.D(os)?"RightSide":this.D(za)?"BottomSide":this.D(mu)?"TopBottomSides":this.D(Yu)?"LeftRightSides":this.D(Kl)?"TopLeftSides":this.D(Zl)?"TopRightSides":this.D(Bs)?"BottomLeftSides":this.D(As)?"BottomRightSides":this.D(hl)?"NotTopSide":this.D(Bl)?"NotLeftSide":this.D(sc)?"NotRightSide":this.D(ku)?"NotBottomSide":this.D(Ku)?"AllSides":this.D($a)?"Default":"None"},Ie.D=function(a){return a instanceof wi?(this.x===a.x||isNaN(this.x)&&isNaN(a.x))&&(this.y===a.y||isNaN(this.y)&&isNaN(a.y))&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY:!1},Ie.gv=function(){return new wi(.5-(this.x-.5),.5-(this.y-.5),-this.offsetX,-this.offsetY)},Ie.Hf=function(a){if(!this.$c())return!1;if(!a.$c())if(a.D(Fc))a=Fl;else if(a.D(Bc))a=os;else if(a.D(Iu))a=tl;else if(a.D(Zn))a=za;else return!1;return a=a.offsetY,(this.offsetY&a)===a},Ie.sb=function(){return!isNaN(this.x)&&!isNaN(this.y)},Ie.Mc=function(){return isNaN(this.x)||isNaN(this.y)},Ie.$c=function(){return isNaN(this.x)&&isNaN(this.y)&&this.offsetX===1&&this.offsetY!==0},Ie.ys=function(){return isNaN(this.x)&&isNaN(this.y)&&this.offsetX===0&&this.offsetY===0},Ie.Xb=function(){return isNaN(this.x)&&isNaN(this.y)&&this.offsetX===-1&&this.offsetY===0},wi.alloc=function(){var a=gs.pop();return a===void 0?new wi:a},wi.free=function(a){gs.push(a)},wi.prototype.isDefault=wi.prototype.Xb,wi.prototype.isNone=wi.prototype.ys,wi.prototype.isSide=wi.prototype.$c,wi.prototype.isNoSpot=wi.prototype.Mc,wi.prototype.isSpot=wi.prototype.sb,wi.prototype.includesSide=wi.prototype.Hf,wi.prototype.opposite=wi.prototype.gv,wi.prototype.equals=wi.prototype.D,wi.prototype.set=wi.prototype.set,wi.prototype.setTo=wi.prototype.sg;var gs=[];wi.className="Spot",wi.parse=vs,wi.stringify=Ia,wi.None=pa=Wo(new wi(0,0,0,0),0).ja(),wi.Default=$a=Wo(new wi(0,0,-1,0),-1).ja(),wi.TopLeft=ka=new wi(0,0,0,0).ja(),wi.TopCenter=fs=new wi(.5,0,0,0).ja(),wi.TopRight=wa=new wi(1,0,0,0).ja(),wi.LeftCenter=ts=new wi(0,.5,0,0).ja(),wi.Center=Yr=new wi(.5,.5,0,0).ja(),wi.RightCenter=Is=new wi(1,.5,0,0).ja(),wi.BottomLeft=Ba=new wi(0,1,0,0).ja(),wi.BottomCenter=ns=new wi(.5,1,0,0).ja(),wi.BottomRight=ws=new wi(1,1,0,0).ja(),wi.MiddleTop=Sr=fs,wi.MiddleLeft=Kr=ts,wi.MiddleRight=no=Is,wi.MiddleBottom=Lo=ns,wi.Top=Iu=fs,wi.Left=Fc=ts,wi.Right=Bc=Is,wi.Bottom=Zn=ns,wi.TopSide=tl=Wo(new wi(0,0,1,1),1).ja(),wi.LeftSide=Fl=Wo(new wi(0,0,1,2),1).ja(),wi.RightSide=os=Wo(new wi(0,0,1,4),1).ja(),wi.BottomSide=za=Wo(new wi(0,0,1,8),1).ja(),wi.TopBottomSides=mu=Wo(new wi(0,0,1,9),1).ja(),wi.LeftRightSides=Yu=Wo(new wi(0,0,1,6),1).ja(),wi.TopLeftSides=Kl=Wo(new wi(0,0,1,3),1).ja(),wi.TopRightSides=Zl=Wo(new wi(0,0,1,5),1).ja(),wi.BottomLeftSides=Bs=Wo(new wi(0,0,1,10),1).ja(),wi.BottomRightSides=As=Wo(new wi(0,0,1,12),1).ja(),wi.NotTopSide=hl=Wo(new wi(0,0,1,14),1).ja(),wi.NotLeftSide=Bl=Wo(new wi(0,0,1,13),1).ja(),wi.NotRightSide=sc=Wo(new wi(0,0,1,11),1).ja(),wi.NotBottomSide=ku=Wo(new wi(0,0,1,7),1).ja(),wi.AllSides=Ku=Wo(new wi(0,0,1,15),1).ja(),Xo=new wi(.156,.156).ja(),La=new wi(.844,.844).ja(),wi.parse=vs,wi.stringify=Ia;function cr(){this.m11=1,this.m21=this.m12=0,this.m22=1,this.dy=this.dx=0}cr.prototype.set=function(a){return this.m11=a.m11,this.m12=a.m12,this.m21=a.m21,this.m22=a.m22,this.dx=a.dx,this.dy=a.dy,this},cr.prototype.setTransform=function(a,y,E,x,b,z){return this.m11=a,this.m12=y,this.m21=E,this.m22=x,this.dx=b,this.dy=z,this},cr.prototype.copy=function(){var a=new cr;return a.m11=this.m11,a.m12=this.m12,a.m21=this.m21,a.m22=this.m22,a.dx=this.dx,a.dy=this.dy,a},cr.prototype.toString=function(){return"Transform("+this.m11+","+this.m12+","+this.m21+","+this.m22+","+this.dx+","+this.dy+")"},cr.prototype.D=function(a){return this.m11===a.m11&&this.m12===a.m12&&this.m21===a.m21&&this.m22===a.m22&&this.dx===a.dx&&this.dy===a.dy},cr.prototype.ws=function(){return this.dx===0&&this.dy===0&&this.m11===1&&this.m12===0&&this.m21===0&&this.m22===1},cr.prototype.reset=function(){return this.m11=1,this.m21=this.m12=0,this.m22=1,this.dy=this.dx=0,this},cr.prototype.multiply=function(a){var y=this.m11*a.m11+this.m21*a.m12,E=this.m12*a.m11+this.m22*a.m12,x=this.m11*a.m21+this.m21*a.m22,b=this.m12*a.m21+this.m22*a.m22;return this.dx=this.m11*a.dx+this.m21*a.dy+this.dx,this.dy=this.m12*a.dx+this.m22*a.dy+this.dy,this.m11=y,this.m12=E,this.m21=x,this.m22=b,this},cr.prototype.bv=function(a){var y=1/(a.m11*a.m22-a.m12*a.m21),E=a.m22*y,x=-a.m12*y,b=-a.m21*y,z=a.m11*y,ne=y*(a.m21*a.dy-a.m22*a.dx);return a=y*(a.m12*a.dx-a.m11*a.dy),y=this.m11*E+this.m21*x,E=this.m12*E+this.m22*x,x=this.m11*b+this.m21*z,b=this.m12*b+this.m22*z,this.dx=this.m11*ne+this.m21*a+this.dx,this.dy=this.m12*ne+this.m22*a+this.dy,this.m11=y,this.m12=E,this.m21=x,this.m22=b,this},cr.prototype.Vj=function(){var a=1/(this.m11*this.m22-this.m12*this.m21),y=-this.m12*a,E=-this.m21*a,x=this.m11*a,b=a*(this.m21*this.dy-this.m22*this.dx),z=a*(this.m12*this.dx-this.m11*this.dy);return this.m11=this.m22*a,this.m12=y,this.m21=E,this.m22=x,this.dx=b,this.dy=z,this},cr.prototype.rotate=function(a,y,E){if(360<=a?a-=360:0>a&&(a+=360),a===0)return this;if(this.translate(y,E),a===90){a=0;var x=1}else a===180?(a=-1,x=0):a===270?(a=0,x=-1):(x=a*Math.PI/180,a=Math.cos(x),x=Math.sin(x));var b=this.m12*a+this.m22*x,z=this.m11*-x+this.m21*a,ne=this.m12*-x+this.m22*a;return this.m11=this.m11*a+this.m21*x,this.m12=b,this.m21=z,this.m22=ne,this.translate(-y,-E),this},Ie=cr.prototype,Ie.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Ie.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Ie.Ga=function(a){var y=a.x,E=a.y;return a.h(y*this.m11+E*this.m21+this.dx,y*this.m12+E*this.m22+this.dy)},Ie.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),E=a.x,x=a.y;return a.h(E*this.m22*y+x*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),E*-this.m12*y+x*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ie.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),E=1.25*a.x,x=1.2*a.y;return a.h(E*this.m22*y+x*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),E*-this.m12*y+x*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ie.pp=function(a){var y=a.x,E=a.y,x=y+a.width,b=E+a.height,z=this.m11,ne=this.m12,re=this.m21,oe=this.m22,he=this.dx,fe=this.dy,Se=y*z+E*re+he,Te=y*ne+E*oe+fe,Ne=x*z+E*re+he,Be=x*ne+E*oe+fe;return E=y*z+b*re+he,y=y*ne+b*oe+fe,z=x*z+b*re+he,x=x*ne+b*oe+fe,b=Math.min(Se,Ne),Se=Math.max(Se,Ne),Ne=Math.min(Te,Be),Te=Math.max(Te,Be),b=Math.min(b,E),Se=Math.max(Se,E),Ne=Math.min(Ne,y),Te=Math.max(Te,y),b=Math.min(b,z),Se=Math.max(Se,z),Ne=Math.min(Ne,x),Te=Math.max(Te,x),a.h(b,Ne,Se-b,Te-Ne),a},cr.alloc=function(){var a=_l.pop();return a===void 0?new cr:a},cr.free=function(a){_l.push(a)},cr.prototype.transformRect=cr.prototype.pp,cr.prototype.transformPoint=cr.prototype.Ga,cr.prototype.scale=cr.prototype.scale,cr.prototype.translate=cr.prototype.translate,cr.prototype.rotate=cr.prototype.rotate,cr.prototype.invert=cr.prototype.Vj,cr.prototype.multiplyInverted=cr.prototype.bv,cr.prototype.multiply=cr.prototype.multiply,cr.prototype.reset=cr.prototype.reset,cr.prototype.isIdentity=cr.prototype.ws,cr.prototype.equals=cr.prototype.D,cr.prototype.setTransform=cr.prototype.setTransform,cr.prototype.set=cr.prototype.set;var _l=[];cr.className="Transform",cr.xF="54a702f3e53909c447824c6706603faf4c";var Ht={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Ht.Uv;if(y===null){y=[];for(var E=0;2e3>=E;E++)y[E]=Math.sqrt(E);Ht.Uv=y}return 1>a?(E=1/a,2e3>=E?1/y[E|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5<a},$:function(a,y){return a-=y,5e-8>a&&-5e-8<a},Yb:function(a,y,E,x,b,z,ne){if(0>=b&&(b=1e-6),a<E)var re=a,oe=E;else re=E,oe=a;if(y<x)var he=y,fe=x;else he=x,fe=y;if(a===E)return he<=ne&&ne<=fe&&a-b<=z&&z<=a+b;if(y===x)return re<=z&&z<=oe&&y-b<=ne&&ne<=y+b;if(oe+=b,re-=b,re<=z&&z<=oe&&(fe+=b,he-=b,he<=ne&&ne<=fe))if(oe-re>fe-he)if(a-E>b||E-a>b){if(z=(x-y)/(E-a)*(z-a)+y,z-b<=ne&&ne<=z+b)return!0}else return!0;else if(y-x>b||x-y>b){if(ne=(E-a)/(x-y)*(ne-y)+a,ne-b<=z&&z<=ne+b)return!0}else return!0;return!1},cs:function(a,y,E,x,b,z,ne,re,oe,he,fe,Se){if(Ht.Yb(a,y,ne,re,Se,E,x)&&Ht.Yb(a,y,ne,re,Se,b,z))return Ht.Yb(a,y,ne,re,Se,he,fe);var Te=(a+E)/2,Ne=(y+x)/2,Be=(E+b)/2,We=(x+z)/2;b=(b+ne)/2,z=(z+re)/2,x=(Te+Be)/2,E=(Ne+We)/2,Be=(Be+b)/2,We=(We+z)/2;var vt=(x+Be)/2,ct=(E+We)/2;return Ht.cs(a,y,Te,Ne,x,E,vt,ct,oe,he,fe,Se)||Ht.cs(vt,ct,Be,We,b,z,ne,re,oe,he,fe,Se)},ax:function(a,y,E,x,b,z,ne,re,oe){var he=(E+b)/2,fe=(x+z)/2;return oe.h((((a+E)/2+he)/2+(he+(b+ne)/2)/2)/2,(((y+x)/2+fe)/2+(fe+(z+re)/2)/2)/2),oe},My:function(a,y,E,x,b,z,ne,re){var oe=(E+b)/2,he=(x+z)/2;return Ci(((a+E)/2+oe)/2,((y+x)/2+he)/2,(oe+(b+ne)/2)/2,(he+(z+re)/2)/2)},Dl:function(a,y,E,x,b,z,ne,re,oe,he){if(Ht.Yb(a,y,ne,re,oe,E,x)&&Ht.Yb(a,y,ne,re,oe,b,z))Co(he,a,y,0,0),Co(he,ne,re,0,0);else{var fe=(a+E)/2,Se=(y+x)/2,Te=(E+b)/2,Ne=(x+z)/2;b=(b+ne)/2,z=(z+re)/2,x=(fe+Te)/2,E=(Se+Ne)/2,Te=(Te+b)/2,Ne=(Ne+z)/2;var Be=(x+Te)/2,We=(E+Ne)/2;Ht.Dl(a,y,fe,Se,x,E,Be,We,oe,he),Ht.Dl(Be,We,Te,Ne,b,z,ne,re,oe,he)}return he},Qe:function(a,y,E,x,b,z,ne,re,oe,he){if(Ht.Yb(a,y,ne,re,oe,E,x)&&Ht.Yb(a,y,ne,re,oe,b,z))he.length===0&&(he.push(a),he.push(y)),he.push(ne),he.push(re);else{var fe=(a+E)/2,Se=(y+x)/2,Te=(E+b)/2,Ne=(x+z)/2;b=(b+ne)/2,z=(z+re)/2,x=(fe+Te)/2,E=(Se+Ne)/2,Te=(Te+b)/2,Ne=(Ne+z)/2;var Be=(x+Te)/2,We=(E+Ne)/2;Ht.Qe(a,y,fe,Se,x,E,Be,We,oe,he),Ht.Qe(Be,We,Te,Ne,b,z,ne,re,oe,he)}return he},jv:function(a,y,E,x,b,z,ne,re,oe,he){if(Ht.Yb(a,y,b,z,he,E,x))return Ht.Yb(a,y,b,z,he,re,oe);var fe=(a+E)/2,Se=(y+x)/2;E=(E+b)/2,x=(x+z)/2;var Te=(fe+E)/2,Ne=(Se+x)/2;return Ht.jv(a,y,fe,Se,Te,Ne,ne,re,oe,he)||Ht.jv(Te,Ne,E,x,b,z,ne,re,oe,he)},OA:function(a,y,E,x,b,z,ne){return ne.h(((a+E)/2+(E+b)/2)/2,((y+x)/2+(x+z)/2)/2),ne},iv:function(a,y,E,x,b,z,ne,re){if(Ht.Yb(a,y,b,z,ne,E,x))Co(re,a,y,0,0),Co(re,b,z,0,0);else{var oe=(a+E)/2,he=(y+x)/2;E=(E+b)/2,x=(x+z)/2;var fe=(oe+E)/2,Se=(he+x)/2;Ht.iv(a,y,oe,he,fe,Se,ne,re),Ht.iv(fe,Se,E,x,b,z,ne,re)}return re},ep:function(a,y,E,x,b,z,ne,re){if(Ht.Yb(a,y,b,z,ne,E,x))re.length===0&&(re.push(a),re.push(y)),re.push(b),re.push(z);else{var oe=(a+E)/2,he=(y+x)/2;E=(E+b)/2,x=(x+z)/2;var fe=(oe+E)/2,Se=(he+x)/2;Ht.ep(a,y,oe,he,fe,Se,ne,re),Ht.ep(fe,Se,E,x,b,z,ne,re)}return re},Eo:function(a,y,E,x,b,z,ne,re,oe,he,fe,Se,Te,Ne){if(Ht.Yb(a,y,ne,re,Te,E,x)&&Ht.Yb(a,y,ne,re,Te,b,z))return!Ht.Rl(a,y,ne,re,oe,he,fe,Se)||(Te=(a-ne)*(he-Se)-(y-re)*(oe-fe),Te===0)?!1:(Ne.h(((a*re-y*ne)*(oe-fe)-(a-ne)*(oe*Se-he*fe))/Te,((a*re-y*ne)*(he-Se)-(y-re)*(oe*Se-he*fe))/Te),!0);var Be=(a+E)/2,We=(y+x)/2,vt=(E+b)/2,ct=(x+z)/2;b=(b+ne)/2,z=(z+re)/2,x=(Be+vt)/2,E=(We+ct)/2,vt=(vt+b)/2,ct=(ct+z)/2;var wt=(x+vt)/2,Tt=(E+ct)/2,kt=1/0,Bt=!1,en=0,pi=0;return Ht.Eo(a,y,Be,We,x,E,wt,Tt,oe,he,fe,Se,Te,Ne)&&(a=(Ne.x-oe)*(Ne.x-oe)+(Ne.y-he)*(Ne.y-he),a<kt&&(kt=a,Bt=!0,en=Ne.x,pi=Ne.y)),Ht.Eo(wt,Tt,vt,ct,b,z,ne,re,oe,he,fe,Se,Te,Ne)&&(Ne.x-oe)*(Ne.x-oe)+(Ne.y-he)*(Ne.y-he)<kt&&(Bt=!0,en=Ne.x,pi=Ne.y),Bt&&(Ne.x=en,Ne.y=pi),Bt},Fo:function(a,y,E,x,b,z,ne,re,oe,he,fe,Se,Te){var Ne=0;if(Ht.Yb(a,y,ne,re,Te,E,x)&&Ht.Yb(a,y,ne,re,Te,b,z)){if(Te=(a-ne)*(he-Se)-(y-re)*(oe-fe),Te===0)return Ne;var Be=((a*re-y*ne)*(oe-fe)-(a-ne)*(oe*Se-he*fe))/Te,We=((a*re-y*ne)*(he-Se)-(y-re)*(oe*Se-he*fe))/Te;if(Be>=fe)return Ne;if((oe>fe?oe-fe:fe-oe)<(he>Se?he-Se:Se-he)){if(y<re?(oe=y,a=re):(oe=re,a=y),We<oe||We>a)return Ne}else if(a<ne?(oe=a,a=ne):oe=ne,Be<oe||Be>a)return Ne;0<Te?Ne++:0>Te&&Ne--}else{Be=(a+E)/2,We=(y+x)/2;var vt=(E+b)/2,ct=(x+z)/2;b=(b+ne)/2,z=(z+re)/2,x=(Be+vt)/2,E=(We+ct)/2,vt=(vt+b)/2,ct=(ct+z)/2;var wt=(x+vt)/2,Tt=(E+ct)/2;Ne+=Ht.Fo(a,y,Be,We,x,E,wt,Tt,oe,he,fe,Se,Te),Ne+=Ht.Fo(wt,Tt,vt,ct,b,z,ne,re,oe,he,fe,Se,Te)}return Ne},qh:function(a,y,E,x,b,z,ne){return Ht.$(a,E)?(y<x?(E=y,y=x):E=x,z<E?(ne.h(a,E),!1):z>y?(ne.h(a,y),!1):(ne.h(a,z),!0)):Ht.$(y,x)?(a<E?(x=a,a=E):x=E,b<x?(ne.h(x,y),!1):b>a?(ne.h(a,y),!1):(ne.h(b,y),!0)):(b=((a-b)*(a-E)+(y-z)*(y-x))/((E-a)*(E-a)+(x-y)*(x-y)),-5e-6>b?(ne.h(a,y),!1):1.000005<b?(ne.h(E,x),!1):(ne.h(a+b*(E-a),y+b*(x-y)),!0))},Ve:function(a,y,E,x,b,z,ne,re,oe){return Ht.B(a,E)&&Ht.B(y,x)?(oe.h(a,y),!1):Ht.$(b,ne)?Ht.$(a,E)?(Ht.qh(a,y,E,x,b,z,oe),!1):Ht.qh(a,y,E,x,b,(x-y)/(E-a)*(b-a)+y,oe):(re=(re-z)/(ne-b),Ht.$(a,E)?(E=re*(a-b)+z,y<x?(b=y,y=x):b=x,E<b?(oe.h(a,b),!1):E>y?(oe.h(a,y),!1):(oe.h(a,E),!0)):(ne=(x-y)/(E-a),Ht.$(re,ne)?(Ht.qh(a,y,E,x,b,z,oe),!1):(b=(ne*a-re*b+z-y)/(ne-re),Ht.$(ne,0)?(a<E?(x=a,a=E):x=E,b<x?(oe.h(x,y),!1):b>a?(oe.h(a,y),!1):(oe.h(b,y),!0)):Ht.qh(a,y,E,x,b,ne*(b-a)+y,oe))))},MA:function(a,y,E,x,b){return Ht.Ve(E.x,E.y,x.x,x.y,a.x,a.y,y.x,y.y,b)},KA:function(a,y,E,x,b,z,ne,re,oe,he){function fe(vt,ct){var wt=(vt-a)*(vt-a)+(ct-y)*(ct-y);wt<Se&&(Se=wt,oe.h(vt,ct))}var Se=1/0;fe(oe.x,oe.y);var Te=0,Ne=0,Be=0,We=0;if(b<ne?(Te=b,Ne=ne):(Te=ne,Ne=b),z<re?(Be=b,We=ne):(Be=ne,We=b),Te=(Ne-Te)/2+he,he=(We-Be)/2+he,b=(b+ne)/2,z=(z+re)/2,Te===0||he===0)return oe;if(.5>(E>a?E-a:a-E)){if(Te=1-(E-b)*(E-b)/(Te*Te),0>Te)return oe;Te=Math.sqrt(Te),x=-he*Te+z,fe(E,he*Te+z),fe(E,x)}else{if(E=(x-y)/(E-a),x=1/(Te*Te)+E*E/(he*he),re=2*E*(y-E*a)/(he*he)-2*E*z/(he*he)-2*b/(Te*Te),Te=re*re-4*x*(2*E*a*z/(he*he)-2*y*z/(he*he)+z*z/(he*he)+b*b/(Te*Te)-1+(y-E*a)*(y-E*a)/(he*he)),0>Te)return oe;Te=Math.sqrt(Te),he=(-re+Te)/(2*x),fe(he,E*he-E*a+y),Te=(-re-Te)/(2*x),fe(Te,E*Te-E*a+y)}return oe},Ff:function(a,y,E,x,b,z,ne,re,oe){var he=1e21,fe=a,Se=y;if(Ht.Ve(a,y,a,x,b,z,ne,re,oe)){var Te=(oe.x-b)*(oe.x-b)+(oe.y-z)*(oe.y-z);Te<he&&(he=Te,fe=oe.x,Se=oe.y)}return Ht.Ve(E,y,E,x,b,z,ne,re,oe)&&(Te=(oe.x-b)*(oe.x-b)+(oe.y-z)*(oe.y-z),Te<he&&(he=Te,fe=oe.x,Se=oe.y)),Ht.Ve(a,y,E,y,b,z,ne,re,oe)&&(y=(oe.x-b)*(oe.x-b)+(oe.y-z)*(oe.y-z),y<he&&(he=y,fe=oe.x,Se=oe.y)),Ht.Ve(a,x,E,x,b,z,ne,re,oe)&&(a=(oe.x-b)*(oe.x-b)+(oe.y-z)*(oe.y-z),a<he&&(he=a,fe=oe.x,Se=oe.y)),oe.h(fe,Se),1e21>he},us:function(a,y,E){return Ht.Fx(a.x,a.y,a.width,a.height,y.x,y.y,E.x,E.y)},Fx:function(a,y,E,x,b,z,ne,re){var oe=a+E,he=y+x;return b===ne?(z<re?(ne=z,z=re):ne=re,a<=b&&b<=oe&&ne<=he&&z>=y):z===re?(b<ne?(re=b,b=ne):re=ne,y<=z&&z<=he&&re<=oe&&b>=a):!!(Go(a,y,E,x,b,z)||Go(a,y,E,x,ne,re)||Ht.Rl(a,y,oe,y,b,z,ne,re)||Ht.Rl(oe,y,oe,he,b,z,ne,re)||Ht.Rl(oe,he,a,he,b,z,ne,re)||Ht.Rl(a,he,a,y,b,z,ne,re))},Rl:function(a,y,E,x,b,z,ne,re){return a===E&&y===x&&b===ne&&z===re?a===b&&y===z:0>=Ht.Fl(a,y,E,x,b,z)*Ht.Fl(a,y,E,x,ne,re)&&0>=Ht.Fl(b,z,ne,re,a,y)*Ht.Fl(b,z,ne,re,E,x)},Fl:function(a,y,E,x,b,z){return E-=a,x-=y,a=b-a,y=z-y,z=a*x-y*E,z===0&&(z=a*E+y*x,0<z&&(z=(a-E)*E+(y-x)*x,0>z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,E,x,b,z){var ne=Math.PI;z||(x*=ne/180,b*=ne/180);var re=x>b?-1:1;z=[];var oe=ne/2,he=x;if(x=Math.min(2*ne,Math.abs(b-x)),1e-5>x)return oe=he+re*Math.min(x,oe),re=a+E*Math.cos(he),he=y+E*Math.sin(he),a+=E*Math.cos(oe),y+=E*Math.sin(oe),E=(re+a)/2,oe=(he+y)/2,z.push([re,he,E,oe,E,oe,a,y]),z;for(;1e-5<x;)b=he+re*Math.min(x,oe),z.push(Ht.Vy(E,he,b,a,y)),x-=Math.abs(b-he),he=b;return z},Vy:function(a,y,E,x,b){var z=(E-y)/2,ne=a*Math.cos(z),re=a*Math.sin(z),oe=-re,he=ne*ne+oe*oe,fe=he+ne*ne+oe*re;return he=4/3*(Math.sqrt(2*he*fe)-fe)/(ne*re-oe*ne),re=ne-he*oe,ne=oe+he*ne,oe=-ne,he=z+y,z=Math.cos(he),he=Math.sin(he),[x+a*Math.cos(y),b+a*Math.sin(y),x+re*z-ne*he,b+re*he+ne*z,x+re*z-oe*he,b+re*he+oe*z,x+a*Math.cos(E),b+a*Math.sin(E)]},No:function(a,y,E,x,b,z,ne){E=Math.floor((a-E)/b)*b+E,x=Math.floor((y-x)/z)*z+x;var re=E;return E+b-a<b/2&&(re=E+b),a=x,x+z-y<z/2&&(a=x+z),ne.h(re,a),ne},vx:function(a,y){var E=Math.max(a,y);a=Math.min(a,y);var x;do y=E%a,E=x=a,a=y;while(0<y);return x},$y:function(a,y,E,x){var b=0>E,z=0>x;if(a<y)var ne=1,re=0;else ne=0,re=1;var oe=ne===0?a:y,he=ne===0?E:x;return(ne===0?b:z)&&(he=-he),ne=re,E=ne===0?E:x,(ne===0?b:z)&&(E=-E),Ht.az(oe,ne===0?a:y,he,E,0,0)},az:function(a,y,E,x,b,z){if(0<x)if(0<E){b=a*a,z=y*y,a*=E;var ne=y*x,re=-z+ne,oe=-z+Math.sqrt(a*a+ne*ne);y=re;for(var he=0;9999999999>he&&(y=.5*(re+oe),!(y===re||y===oe));++he){var fe=a/(y+b),Se=ne/(y+z);if(fe=fe*fe+Se*Se-1,0<fe)re=y;else if(0>fe)oe=y;else break}E=b*E/(y+b)-E,x=z*x/(y+z)-x,E=Math.sqrt(E*E+x*x)}else E=Math.abs(x-y);else x=a*a-y*y,z=a*E,z<x?(x=z/x,z=y*Math.sqrt(Math.abs(1-x*x)),E=a*x-E,E=Math.sqrt(E*E+z*z)):E=Math.abs(E-a);return E},Ze:new vr,um:new vr,Mf:new vr,Nf:0,vm:100};Ht.za=Ht.AA;function Jn(a){ut(this),this.l=2,a===void 0&&(a=Jn.o),this.na=a,this.Ec=this.Dc=this.pd=this.od=0,a===Jn.o?this.ee=new Qn:(Jn.V===null&&(Jn.V=new Qn().freeze()),this.ee=Jn.V),this.aq=this.ee.Ja,this.Ip=new an().freeze(),this.ym=this.tk=null,this.zm=NaN,this.fg=ka,this.gg=ws,this.Rk=this.Sk=NaN,this.Uf=zn}Jn.prototype.copy=function(){var a=new Jn;if(a.l=this.l&-2,a.na=this.na,a.od=this.od,a.pd=this.pd,a.Dc=this.Dc,a.Ec=this.Ec,this.na===Jn.o){for(var y=this.ee.s,E=a.ee,x=0;x<y.length;x++)E.add(y[x].copy());a.ee=E}else a.ee=this.ee;return a.aq=this.aq,a.Ip.assign(this.Ip),a.tk=this.tk,a.ym=this.ym,a.zm=this.zm,a.fg=this.fg.J(),a.gg=this.gg.J(),a.Sk=this.Sk,a.Rk=this.Rk,a.Uf=this.Uf,a},Jn.prototype.ja=function(){return this.freeze(),Object.freeze(this),this},Jn.prototype.freeze=function(){if(this._isFrozen=!0,this.type!==Jn.o)return this;var a=this.figures;a.freeze(),a=a.s;for(var y=a.length,E=0;E<y;E++)a[E].freeze();return this},Jn.prototype.ka=function(){if(Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this.type!==Jn.o)return this;var a=this.figures;a.ka(),a=a.s;for(var y=a.length,E=0;E<y;E++)a[E].ka();return this},Jn.prototype.Xa=function(a){if(!(a instanceof Jn))return!1;if(this.type!==a.type)return this.type===Jn.j&&a.type===Jn.o?vu(this,a):a.type===Jn.j&&this.type===Jn.o?vu(a,this):!1;if(this.type===Jn.o){var y=this.figures.s;a=a.figures.s;var E=y.length;if(E!==a.length)return!1;for(var x=0;x<E;x++)if(!y[x].Xa(a[x]))return!1;return!0}return Ht.B(this.startX,a.startX)&&Ht.B(this.startY,a.startY)&&Ht.B(this.endX,a.endX)&&Ht.B(this.endY,a.endY)};function vu(a,y){return a.type!==Jn.j||y.type!==Jn.o?!1:!!(y.figures.count===1&&(y=y.figures.M(0),y.segments.count===1&&Ht.B(a.startX,y.startX)&&Ht.B(a.startY,y.startY)&&(y=y.segments.M(0),y.type===Ho&&Ht.B(a.endX,y.endX)&&Ht.B(a.endY,y.endY))))}Jn.ia=function(a){return a.toString()},Jn.prototype.qb=function(a){a.classType===Jn&&(this.type=a)},Jn.prototype.toString=function(a){switch(a===void 0&&(a=-1),this.type){case Jn.j:return 0>a?"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 Jn.u:var y=new an(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 Jn.F:if(y=new an(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 E=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+E+"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 "+E;case Jn.o:y="",E=this.figures.s;for(var x=E.length,b=0;b<x;b++){var z=E[b];0<b&&(y+=" x "),z.isFilled&&(y+="F "),y+=z.toString(a)}return y;default:return this.type.toString()}},Jn.nb=function(a){a=a.split(/[Xx]/);for(var y=a.length,E="",x=0;x<y;x++){var b=a[x];E=b.match(/[Ff]/)!==null?x===0?E+b:E+("X"+(b[0]===" "?"":" ")+b):E+((x===0?"":"X ")+"F"+(b[0]===" "?"":" ")+b)}return E},Jn.parse=function(a,y){function E(){return We>=kt-1?!0:he[We+1].match(Bt)!==null}function x(){return We++,he[We]}function b(Er){var gr=parseFloat(x()),Ao=parseFloat(x());vt===vt.toLowerCase()&&(gr=Tt.x+gr,Ao=Tt.y+Ao),Er.h(gr,Ao)}function z(){return b(Tt),Tt}function ne(){return b(wt),wt}function re(){var Er=ct.toLowerCase();return Er!=="c"&&Er!=="s"&&Er!=="q"&&Er!=="t"?Tt:new st(2*Tt.x-wt.x,2*Tt.y-wt.y)}y===void 0&&(y=!1);var oe=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(oe,"$1 $2"),a=a.replace(oe,"$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 he=a.split(" ");for(a=0;a<he.length;a++){var fe=he[a];if(fe.match(/(\.[0-9]*)(\.)/gm)!==null){oe=Vi();for(var Se="",Te=!1,Ne=0;Ne<fe.length;Ne++){var Be=fe[Ne];Be!=="."||Te?Be==="."?(oe.push(Se),Se="."):Se+=Be:(Te=!0,Se+=Be)}for(oe.push(Se),he.splice(a,1),fe=0;fe<oe.length;fe++)he.splice(a+fe,0,oe[fe]);a+=oe.length-1,Qi(oe)}}var We=-1,vt="",ct="";oe=new st(0,0);var wt=new st(0,0),Tt=new st(0,0),kt=he.length;a=OS(null),Te=Se=fe=!1,Ne=!0,Be=null;for(var Bt=/[UuBbMmZzLlHhVvCcSsQqTtAaFfXx]/;!(We>=kt-1);)if(ct=vt,vt=x(),vt!=="")switch(vt.toUpperCase()){case"X":Ne=!0,Se=fe=!1;break;case"M":for(Be=z(),a.mc===null||Ne===!0?(yg(a,Be.x,Be.y,fe,!Se,Te),Ne=!1):a.moveTo(Be.x,Be.y),oe.assign(Tt);!E();)Be=z(),a.lineTo(Be.x,Be.y);break;case"L":for(;!E();)Be=z(),a.lineTo(Be.x,Be.y);break;case"H":for(;!E();)Tt=new st((vt===vt.toLowerCase()?Tt.x:0)+parseFloat(x()),Tt.y),a.lineTo(Tt.x,Tt.y);break;case"V":for(;!E();)Tt=new st(Tt.x,(vt===vt.toLowerCase()?Tt.y:0)+parseFloat(x())),a.lineTo(Tt.x,Tt.y);break;case"C":for(;!E();){Be=new st,b(Be);var en=ne(),pi=z();jd(a,Be.x,Be.y,en.x,en.y,pi.x,pi.y)}break;case"S":for(;!E();)Be=re(),en=ne(),pi=z(),jd(a,Be.x,Be.y,en.x,en.y,pi.x,pi.y);break;case"Q":for(;!E();)Be=ne(),en=z(),Gm(a,Be.x,Be.y,en.x,en.y);break;case"T":for(;!E();)wt=Be=re(),en=z(),Gm(a,Be.x,Be.y,en.x,en.y);break;case"B":for(;!E();){Be=parseFloat(x()),en=parseFloat(x()),pi=parseFloat(x());var ki=parseFloat(x()),Ti=parseFloat(x()),qn=Ti,kn=!1;E()||(qn=parseFloat(x()),E()||(kn=parseFloat(x())!==0)),vt===vt.toLowerCase()&&(pi+=Tt.x,ki+=Tt.y),a.arcTo(Be,en,pi,ki,Ti,qn,kn)}break;case"A":for(;!E();)Be=Math.abs(parseFloat(x())),en=Math.abs(parseFloat(x())),pi=parseFloat(x()),Ti=ki=!1,kn=qn=0,qn=x(),qn.length===1?(ki=!!parseFloat(qn),Ti=!!parseFloat(x()),qn=parseFloat(x())):qn.length===2?(ki=!!parseFloat(qn[0]),Ti=!!parseFloat(qn[1]),qn=parseFloat(x())):(ki=!!parseFloat(qn[0]),Ti=!!parseFloat(qn[1]),qn=parseFloat(qn.slice(2))),kn=parseFloat(x()),vt===vt.toLowerCase()&&(qn=Tt.x+qn,kn=Tt.y+kn),Tt.h(qn,kn),ME(a,Be,en,pi,ki,Ti,qn,kn);break;case"Z":IE(a),Tt.assign(oe);break;case"F":for(Be="",en=1;he[We+en];)if(he[We+en]==="0")Te=!0,en++;else if(he[We+en].match(/[Uu]/)!==null)en++;else if(he[We+en].match(Bt)===null)en++;else{Be=he[We+en];break}Be.match(/[Mm]/)?fe=!0:0<a.mc.segments.length&&(a.mc.isFilled=!0);break;case"U":for(Be="",en=1;he[We+en];)if(he[We+en].match(/[Ff]/)!==null)en++;else if(he[We+en].match(Bt)===null)en++;else{Be=he[We+en];break}Be.match(/[Mm]/)?Se=!0:a.mc.isShadowed=!1}if(oe=a.os,Wm=a,y)for(y=oe.figures.iterator;y.next();)y.value.isFilled=!0;return oe},Jn.Ha=function(a,y){for(var E=a.length,x=st.alloc(),b=0;b<E;b++){var z=a[b];x.x=z[0],x.y=z[1],y.Ga(x),z[0]=x.x,z[1]=x.y,x.x=z[2],x.y=z[3],y.Ga(x),z[2]=x.x,z[3]=x.y,x.x=z[4],x.y=z[5],y.Ga(x),z[4]=x.x,z[5]=x.y,x.x=z[6],x.y=z[7],y.Ga(x),z[6]=x.x,z[7]=x.y}st.free(x)},Jn.prototype.Zu=function(){if(this._isInvalidBounds)return!0;if(this.type===Jn.o){if(this.aq!==this.figures.Ja)return!0;for(var a=this.figures.s,y=a.length,E=0;E<y;E++)if(a[E].Zu())return!0}return!1},Jn.prototype.computeBounds=function(){if(this._isInvalidBounds=!1,this.ym=this.tk=null,this.zm=NaN,this.type===Jn.o){this.aq=this.figures.Ja;for(var a=this.figures.s,y=a.length,E=0;E<y;E++){var x=a[E];x._isInvalidBounds=!1;var b=x.segments;x.sr=b.Ja,x=b.s,b=x.length;for(var z=0;z<b;z++){var ne=x[z];ne._isInvalidBounds=!1,ne.ae=null}}}a=this.Ip,a.ka(),isNaN(this.Sk)||isNaN(this.Rk)?a.h(0,0,0,0):a.h(0,0,this.Sk,this.Rk),Mu(this,a,!1),Co(a,0,0,0,0),a.freeze()},Jn.prototype.ix=function(){var a=new an;return Mu(this,a,!0),a};function Mu(a,y,E){switch(a.type){case Jn.j:case Jn.u:case Jn.F:E?y.h(a.od,a.pd,0,0):Co(y,a.od,a.pd,0,0),Co(y,a.Dc,a.Ec,0,0);break;case Jn.o:var x=a.figures;a=x.s,x=x.length;for(var b=0;b<x;b++){var z=a[b];E&&b===0?y.h(z.startX,z.startY,0,0):Co(y,z.startX,z.startY,0,0);for(var ne=z.segments.s,re=ne.length,oe=z.startX,he=z.startY,fe=0;fe<re;fe++){var Se=ne[fe];switch(Se.type){case Ho:case Ga:oe=Se.endX,he=Se.endY,Co(y,oe,he,0,0);break;case ys:Ht.Dl(oe,he,Se.point1X,Se.point1Y,Se.point2X,Se.point2Y,Se.endX,Se.endY,.5,y),oe=Se.endX,he=Se.endY;break;case rl:Ht.iv(oe,he,Se.point1X,Se.point1Y,Se.endX,Se.endY,.5,y),oe=Se.endX,he=Se.endY;break;case Wa:case fl:var Te=Se.type===Wa?Zs(Se,z):bl(Se,z,oe,he),Ne=Te.length;if(Ne===0){oe=Se.type===Wa?Se.centerX:Se.endX,he=Se.type===Wa?Se.centerY:Se.endY,Co(y,oe,he,0,0);break}Se=null;for(var Be=0;Be<Ne;Be++)Se=Te[Be],Ht.Dl(Se[0],Se[1],Se[2],Se[3],Se[4],Se[5],Se[6],Se[7],.5,y);Se!==null&&(oe=Se[6],he=Se[7]);break;default:tn("Unknown Segment type: "+Se.type)}}}break;default:tn("Unknown Geometry type: "+a.type)}}Jn.prototype.normalize=function(){this._isFrozen&&Hi(this);var a=this.ix();return this.offset(-a.x,-a.y),new st(-a.x,-a.y)},Jn.prototype.offset=function(a,y){return this._isFrozen&&Hi(this),this.transform(1,0,0,1,a,y),this},Jn.prototype.scale=function(a,y){return this._isFrozen&&Hi(this),this.transform(a,0,0,y,0,0),this},Jn.prototype.rotate=function(a,y,E){this._isFrozen&&Hi(this),y===void 0&&(y=0),E===void 0&&(E=0);var x=cr.alloc();return x.reset(),x.rotate(a,y,E),this.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),cr.free(x),this},Ie=Jn.prototype,Ie.transform=function(a,y,E,x,b,z){switch(this.type){case Jn.j:case Jn.u:case Jn.F:var ne=this.od,re=this.pd;this.od=ne*a+re*E+b,this.pd=ne*y+re*x+z,ne=this.Dc,re=this.Ec,this.Dc=ne*a+re*E+b,this.Ec=ne*y+re*x+z;break;case Jn.o:for(var oe=this.figures.s,he=oe.length,fe=0;fe<he;fe++){var Se=oe[fe];ne=Se.startX,re=Se.startY,Se.startX=ne*a+re*E+b,Se.startY=ne*y+re*x+z,Se=Se.segments.s;for(var Te=Se.length,Ne=0;Ne<Te;Ne++){var Be=Se[Ne];switch(Be.type){case Ho:case Ga:ne=Be.endX,re=Be.endY,Be.endX=ne*a+re*E+b,Be.endY=ne*y+re*x+z;break;case ys:ne=Be.point1X,re=Be.point1Y,Be.point1X=ne*a+re*E+b,Be.point1Y=ne*y+re*x+z,ne=Be.point2X,re=Be.point2Y,Be.point2X=ne*a+re*E+b,Be.point2Y=ne*y+re*x+z,ne=Be.endX,re=Be.endY,Be.endX=ne*a+re*E+b,Be.endY=ne*y+re*x+z;break;case rl:ne=Be.point1X,re=Be.point1Y,Be.point1X=ne*a+re*E+b,Be.point1Y=ne*y+re*x+z,ne=Be.endX,re=Be.endY,Be.endX=ne*a+re*E+b,Be.endY=ne*y+re*x+z;break;case Wa:ne=Be.centerX,re=Be.centerY,Be.centerX=ne*a+re*E+b,Be.centerY=ne*y+re*x+z,y!==0&&(ne=180*Math.atan2(y,a)/Math.PI,0>ne&&(ne+=360),Be.startAngle+=ne),0>a&&(Be.startAngle=180-Be.startAngle,Be.sweepAngle=-Be.sweepAngle),0>x&&(Be.startAngle=-Be.startAngle,Be.sweepAngle=-Be.sweepAngle),Be.radiusX*=Math.sqrt(a*a+E*E),Be.radiusY!==void 0&&(Be.radiusY*=Math.sqrt(y*y+x*x));break;case fl:if(ne=Be.endX,re=Be.endY,Be.endX=ne*a+re*E+b,Be.endY=ne*y+re*x+z,Be.radiusX===0||Be.radiusY===0)break;y!==0&&(ne=180*Math.atan2(y,a)/Math.PI,0>ne&&(ne+=360),Be.xAxisRotation+=ne),0>a&&(Be.xAxisRotation=180-Be.xAxisRotation,Be.isClockwiseArc=!Be.isClockwiseArc),0>x&&(Be.xAxisRotation=-Be.xAxisRotation,Be.isClockwiseArc=!Be.isClockwiseArc),Be.radiusX*=Math.sqrt(a*a+E*E),Be.radiusY*=Math.sqrt(y*y+x*x);break;default:tn("Unknown Segment type: "+Be.type)}}}}return this._isInvalidBounds=!0,this},Ie.ca=function(a,y){y===void 0&&(y=0);var E=this.od,x=this.pd,b=this.Dc,z=this.Ec;switch(this.type){case Jn.j:return Ht.Yb(E,x,b,z,y,a.x,a.y);case Jn.u:var ne=an.allocAt(Math.min(E,b)-y,Math.min(x,z)-y,Math.abs(b-E)+2*y,Math.abs(z-x)+2*y);return a=ne.ca(a),an.free(ne),a;case Jn.F:ne=Math.min(E,b)-y;var re=Math.min(x,z)-y;return E=(Math.abs(b-E)+2*y)/2,y=(Math.abs(z-x)+2*y)/2,0>=E||0>=y?!1:(ne=a.x-(ne+E),re=a.y-(re+y),1>=ne*ne/(E*E)+re*re/(y*y));case Jn.o:return Ul(this,a,y,!0,!1);default:return!1}};function Ul(a,y,E,x,b){var z=y.x;y=y.y;for(var ne=a.bounds.x-20,re=0,oe,he,fe,Se,Te=a.figures.s,Ne=Te.length,Be=0;Be<Ne;Be++){var We=Te[Be],vt=!We.isEvenOdd;if(We.isFilled){if(x&&We.ca(z,y,E))return!0;var ct=We.segments;oe=We.startX,he=We.startY;for(var wt=oe,Tt=he,kt=ct.s,Bt=0;Bt<=ct.length;Bt++){var en=void 0;if(Bt!==ct.length){en=kt[Bt];var pi=en.type;a=en.endX,Se=en.endY}else pi=Ho,a=wt,Se=Tt;switch(pi){case Ga:if(wt=nl(z,y,ne,y,oe,he,wt,Tt),isNaN(wt))return!0;re+=wt,wt=a,Tt=Se;break;case Ho:if(oe=nl(z,y,ne,y,oe,he,a,Se),isNaN(oe))return!0;re+=oe;break;case ys:fe=Ht.Fo(oe,he,en.point1X,en.point1Y,en.point2X,en.point2Y,a,Se,ne,y,z,y,.5),re+=fe;break;case rl:fe=Ht.Fo(oe,he,(oe+2*en.point1X)/3,(he+2*en.point1Y)/3,(2*en.point1X+a)/3,(2*en.point1Y+Se)/3,a,Se,ne,y,z,y,.5),re+=fe;break;case Wa:case fl:pi=en.type===Wa?Zs(en,We):bl(en,We,oe,he);var ki=pi.length;if(ki===0){if(oe=nl(z,y,ne,y,oe,he,en.type===Wa?en.centerX:en.endX,en.type===Wa?en.centerY:en.endY),isNaN(oe))return!0;re+=oe;break}en=null;for(var Ti=0;Ti<ki;Ti++){if(en=pi[Ti],Ti===0){if(fe=nl(z,y,ne,y,oe,he,en[0],en[1]),isNaN(fe))return!0;re+=fe}fe=Ht.Fo(en[0],en[1],en[2],en[3],en[4],en[5],en[6],en[7],ne,y,z,y,.5),re+=fe}en!==null&&(a=en[6],Se=en[7]);break;default:tn("Unknown Segment type: "+en.type)}oe=a,he=Se}if(vt){if(re!==0)return!0}else if(re%2!==0)return!0;re=0}else if(We.ca(z,y,b?E:E+2))return!0}return!1}function nl(a,y,E,x,b,z,ne,re){if(Ht.Yb(b,z,ne,re,.05,a,y))return NaN;var oe=(a-E)*(z-re);if(oe===0)return 0;var he=((a*x-y*E)*(b-ne)-(a-E)*(b*re-z*ne))/oe;if(y=(a*x-y*E)*(z-re)/oe,he>=a)return 0;if((b>ne?b-ne:ne-b)<(z>re?z-re:re-z)){if(z<re){if(y<z||y>re)return 0}else if(y<re||y>z)return 0}else if(b<ne){if(he<b||he>ne)return 0}else if(he<ne||he>b)return 0;return 0<oe?1:-1}function Js(a,y,E,x){a=a.figures.s;for(var b=a.length,z=0;z<b;z++)if(a[z].ca(y,E,x))return!0;return!1}Ie.Pu=function(a,y){if(0>a?a=0:1<a&&(a=1),y===void 0&&(y=new st),this.type===Jn.j)return y.h(this.startX+a*(this.endX-this.startX),this.startY+a*(this.endY-this.startY)),y;for(var E=this.flattenedSegments,x=this.flattenedLengths,b=E.length,z=this.flattenedTotalLength*a,ne=0,re=0;re<b;re++){var oe=x[re],he=oe.length;for(a=0;a<he;a++){var fe=oe[a];if(ne+fe>=z)return x=z-ne,x=fe===0?0:x/fe,E=E[re],re=E[2*a],b=E[2*a+1],y.h(re+(E[2*a+2]-re)*x,b+(E[2*a+3]-b)*x),y;ne+=fe}}return y},Ie.wx=function(a){if(0>a?a=0:1<a&&(a=1),this.type===Jn.j)return 180*Math.atan2(this.endY-this.startY,this.endX-this.startX)/Math.PI;for(var y=this.flattenedSegments,E=this.flattenedLengths,x=y.length,b=this.flattenedTotalLength*a,z=0,ne=0;ne<x;ne++){var re=E[ne],oe=re.length;for(a=0;a<oe;a++){var he=re[a];if(z+he>=b)return b=y[ne],y=b[2*a],E=b[2*a+1],x=b[2*a+2],a=b[2*a+3],1>Math.abs(x-y)&&1>Math.abs(a-E)?0:1>Math.abs(x-y)?0<=a-E?90:270:1>Math.abs(a-E)?0<=x-y?0:180:180*Math.atan2(a-E,x-y)/Math.PI;z+=he}}return NaN},Ie.Qu=function(a,y){if(0>a?a=0:1<a&&(a=1),y===void 0&&(y=[]),y.length=3,this.type===Jn.j)return y[0]=this.startX+a*(this.endX-this.startX),y[1]=this.startY+a*(this.endY-this.startY),y[2]=180*Math.atan2(this.endY-this.startY,this.endX-this.startX)/Math.PI,y;for(var E=this.flattenedSegments,x=this.flattenedLengths,b=E.length,z=this.flattenedTotalLength*a,ne=0,re=0;re<b;re++){var oe=x[re],he=oe.length;for(a=0;a<he;a++){var fe=oe[a];if(ne+fe>=z)return x=z-ne,x=fe===0?0:x/fe,fe=E[re],E=fe[2*a],re=fe[2*a+1],b=fe[2*a+2],a=fe[2*a+3],y[0]=E+(b-E)*x,y[1]=re+(a-re)*x,y[2]=1>Math.abs(b-E)&&1>Math.abs(a-re)?0:1>Math.abs(b-E)?0<=a-re?90:270:1>Math.abs(a-re)?0<=b-E?0:180:180*Math.atan2(a-re,b-E)/Math.PI,y;ne+=fe}}return y},Ie.xx=function(a){if(this.type===Jn.j){var y=this.startX,E=this.startY,x=this.endX,b=this.endY;if(y!==x||E!==b){var z=a.x;if(a=a.y,y===x){if(E<b){var ne=E;x=b}else ne=b,x=E;return a<=ne?ne===E?0:1:a>=x?x===E?0:1:Math.abs(a-E)/(x-ne)}if(E===b)return y<x?ne=y:(ne=x,x=y),z<=ne?ne===y?0:1:z>=x?x===y?0:1:Math.abs(z-y)/(x-ne);ne=(x-y)*(x-y)+(b-E)*(b-E);var re=st.alloc();return Ht.qh(y,E,x,b,z,a,re),a=re.x,z=re.y,st.free(re),Math.sqrt(((a-y)*(a-y)+(z-E)*(z-E))/ne)}}else if(this.type===Jn.u){ne=this.startX,re=this.startY;var oe=this.endX;if(b=this.endY,ne!==oe||re!==b){y=oe-ne,E=b-re,z=2*y+2*E,x=a.x,a=a.y,x=Math.min(Math.max(x,ne),oe),a=Math.min(Math.max(a,re),b),ne=Math.abs(x-ne),oe=Math.abs(x-oe),re=Math.abs(a-re),b=Math.abs(a-b);var he=Math.min(ne,oe,re,b);if(he===re)return x/z;if(he===oe)return(y+a)/z;if(he===b)return(2*y+E-x)/z;if(he===ne)return(2*y+2*E-a)/z}}else{y=this.flattenedSegments,E=this.flattenedLengths,z=this.flattenedTotalLength,x=st.alloc(),b=1/0,re=ne=0,oe=y.length;for(var fe=he=0,Se=0;Se<oe;Se++)for(var Te=y[Se],Ne=E[Se],Be=Te.length,We=0;We<Be;We+=2){var vt=Te[We],ct=Te[We+1];if(We!==0){Ht.qh(he,fe,vt,ct,a.x,a.y,x);var wt=(x.x-a.x)*(x.x-a.x)+(x.y-a.y)*(x.y-a.y);wt<b&&(b=wt,ne=re,ne+=Math.sqrt((x.x-he)*(x.x-he)+(x.y-fe)*(x.y-fe))),re+=Ne[(We-2)/2]}he=vt,fe=ct}return st.free(x),a=ne/z,0>a?0:1<a?1:a}return 0};function _s(a){if(a.tk===null){var y=a.tk=[],E=a.ym=[],x=[],b=[];if(a.type===Jn.j)x.push(a.startX),x.push(a.startY),x.push(a.endX),x.push(a.endY),y.push(x),b.push(Math.sqrt((a.startX-a.endX)*(a.startX-a.endX)+(a.startY-a.endY)*(a.startY-a.endY))),E.push(b);else if(a.type===Jn.u)x.push(a.startX),x.push(a.startY),x.push(a.endX),x.push(a.startY),x.push(a.endX),x.push(a.endY),x.push(a.startX),x.push(a.endY),x.push(a.startX),x.push(a.startY),y.push(x),b.push(Math.abs(a.startX-a.endX)),b.push(Math.abs(a.startY-a.endY)),b.push(Math.abs(a.startX-a.endX)),b.push(Math.abs(a.startY-a.endY)),E.push(b);else if(a.type===Jn.F){var z=new _a;z.startX=a.endX,z.startY=(a.startY+a.endY)/2;var ne=new eo(Wa);if(ne.startAngle=0,ne.sweepAngle=360,ne.centerX=(a.startX+a.endX)/2,ne.centerY=(a.startY+a.endY)/2,ne.radiusX=Math.abs(a.startX-a.endX)/2,ne.radiusY=Math.abs(a.startY-a.endY)/2,z.add(ne),a=Zs(ne,z),b=a.length,b===0)x.push(ne.centerX),x.push(ne.centerY);else{ne=z.startX,z=z.startY;for(var re=0;re<b;re++){var oe=a[re];Ht.Qe(ne,z,oe[2],oe[3],oe[4],oe[5],oe[6],oe[7],.5,x),ne=oe[6],z=oe[7]}}y.push(x),E.push(il(x))}else for(a=a.figures.iterator;a.next();){b=a.value,x=[],x.push(b.startX),x.push(b.startY),ne=b.startX,z=b.startY,re=ne,oe=z;for(var he=b.segments.s,fe=he.length,Se=0;Se<fe;Se++){var Te=he[Se];switch(Te.type){case Ga:4<=x.length&&(y.push(x),E.push(il(x))),x=[],x.push(Te.endX),x.push(Te.endY),ne=Te.endX,z=Te.endY,re=ne,oe=z;break;case Ho:x.push(Te.endX),x.push(Te.endY),ne=Te.endX,z=Te.endY;break;case ys:Ht.Qe(ne,z,Te.point1X,Te.point1Y,Te.point2X,Te.point2Y,Te.endX,Te.endY,.5,x),ne=Te.endX,z=Te.endY;break;case rl:Ht.ep(ne,z,Te.point1X,Te.point1Y,Te.endX,Te.endY,.5,x),ne=Te.endX,z=Te.endY;break;case Wa:var Ne=Zs(Te,b),Be=Ne.length;if(Be===0){x.push(Te.centerX),x.push(Te.centerY),ne=Te.centerX,z=Te.centerY;break}for(var We=0;We<Be;We++){var vt=Ne[We];Ht.Qe(ne,z,vt[2],vt[3],vt[4],vt[5],vt[6],vt[7],.5,x),ne=vt[6],z=vt[7]}break;case fl:if(Ne=bl(Te,b,ne,z),Be=Ne.length,We=Te.endX,vt=Te.endY,Be===0){x.push(We),x.push(vt),ne=We,z=vt;break}for(We=0;We<Be;We++)vt=Ne[We],Ht.Qe(ne,z,vt[2],vt[3],vt[4],vt[5],vt[6],vt[7],.5,x),ne=vt[6],z=vt[7];break;default:tn("Segment not of valid type: "+Te.type)}Te.isClosed&&(x.push(re),x.push(oe))}4<=x.length&&(y.push(x),E.push(il(x)))}}}function il(a){for(var y=[],E=0,x=0,b=a.length,z=0;z<b;z+=2){var ne=a[z],re=a[z+1];z!==0&&y.push(Math.sqrt(Di(E,x,ne,re))),E=ne,x=re}return y}Ie.add=function(a){return this.ee.add(a),this},Ie.pm=function(a,y,E,x,b,z,ne,re){return this._isFrozen&&Hi(this),this.fg=new wi(a,y,b,z).freeze(),this.gg=new wi(E,x,ne,re).freeze(),this},bn.Object.defineProperties(Jn.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}},flattenedSegments:{get:function(){return _s(this),this.tk}},flattenedLengths:{get:function(){return _s(this),this.ym}},flattenedTotalLength:{get:function(){var a=this.zm;if(isNaN(a)){if(this.type===Jn.j){a=Math.abs(this.endX-this.startX);var y=Math.abs(this.endY-this.startY);a=Math.sqrt(a*a+y*y)}else if(this.type===Jn.u)a=2*Math.abs(this.endX-this.startX)+2*Math.abs(this.endY-this.startY);else{y=this.flattenedLengths;for(var E=y.length,x=a=0;x<E;x++)for(var b=y[x],z=b.length,ne=0;ne<z;ne++)a+=b[ne]}this.zm=a}return a}},type:{get:function(){return this.na},set:function(a){this.na!==a&&(this._isFrozen&&Hi(this,a),this.na=a,a===Jn.o?this.ee=new Qn:(Jn.V===null&&(Jn.V=new Qn().freeze()),this.ee=Jn.V),this._isInvalidBounds=!0)}},startX:{get:function(){return this.od},set:function(a){this.od!==a&&(this._isFrozen&&Hi(this,a),this.od=a,this._isInvalidBounds=!0)}},startY:{get:function(){return this.pd},set:function(a){this.pd!==a&&(this._isFrozen&&Hi(this,a),this.pd=a,this._isInvalidBounds=!0)}},endX:{get:function(){return this.Dc},set:function(a){this.Dc!==a&&(this._isFrozen&&Hi(this,a),this.Dc=a,this._isInvalidBounds=!0)}},endY:{get:function(){return this.Ec},set:function(a){this.Ec!==a&&(this._isFrozen&&Hi(this,a),this.Ec=a,this._isInvalidBounds=!0)}},figures:{get:function(){return this.ee},set:function(a){this.ee!==a&&(this._isFrozen&&Hi(this,a),this.ee=a,this._isInvalidBounds=!0)}},spot1:{get:function(){return this.fg},set:function(a){this._isFrozen&&Hi(this,a),this.fg=a.J()}},spot2:{get:function(){return this.gg},set:function(a){this._isFrozen&&Hi(this,a),this.gg=a.J()}},defaultStretch:{get:function(){return this.Uf},set:function(a){this._isFrozen&&Hi(this,a),this.Uf=a}},bounds:{get:function(){return this.Zu()&&this.computeBounds(),this.Ip}}}),Jn.prototype.setSpots=Jn.prototype.pm,Jn.prototype.add=Jn.prototype.add,Jn.prototype.getFractionForPoint=Jn.prototype.xx,Jn.prototype.getPointAndAngleAlongPath=Jn.prototype.Qu,Jn.prototype.getAngleAlongPath=Jn.prototype.wx,Jn.prototype.getPointAlongPath=Jn.prototype.Pu,Jn.prototype.containsPoint=Jn.prototype.ca,Jn.prototype.transform=Jn.prototype.transform,Jn.prototype.rotate=Jn.prototype.rotate,Jn.prototype.scale=Jn.prototype.scale,Jn.prototype.offset=Jn.prototype.offset,Jn.prototype.normalize=Jn.prototype.normalize,Jn.prototype.computeBoundsWithoutOrigin=Jn.prototype.ix,Jn.prototype.equalsApprox=Jn.prototype.Xa,Jn.className="Geometry",Jn.j=new nn(Jn,"Line",0),Jn.u=new nn(Jn,"Rectangle",1),Jn.F=new nn(Jn,"Ellipse",2),Jn.o=new nn(Jn,"Path",3),Jn.V=null,Jn.hb="UuBbMmZzLlHhVvCcSsQqTtAaFfXx",Jn.className="Geometry",Jn.stringify=Jn.ia,Jn.fillPath=Jn.nb,Jn.parse=Jn.parse,Jn.Line=Jn.j,Jn.Rectangle=Jn.u,Jn.Ellipse=Jn.F,Jn.Path=Jn.o;function _a(a,y,E,x,b){ut(this),E===void 0&&(E=!0),x===void 0&&(x=!0),b===void 0&&(b=!1),this.l=2|(E?4:0)|(x?8:0)|(b?16:0),a!==void 0?this.od=a:this.od=0,y!==void 0?this.pd=y:this.pd=0,this.pl=new Qn,this.sr=this.pl.Ja,this.fw=null}_a.prototype.copy=function(){var a=new _a;a.l=this.l&-2,a.od=this.od,a.pd=this.pd;for(var y=this.pl.s,E=y.length,x=a.pl,b=0;b<E;b++){var z=y[b].copy();x.add(z)}return a.sr=this.sr,a.fw=this.fw,a},Ie=_a.prototype,Ie.Xa=function(a){if(!(a instanceof _a&&Ht.B(this.startX,a.startX)&&Ht.B(this.startY,a.startY)))return!1;var y=this.segments.s;a=a.segments.s;var E=y.length;if(E!==a.length)return!1;for(var x=0;x<E;x++)if(!y[x].Xa(a[x]))return!1;return!0},Ie.toString=function(a){a===void 0&&(a=-1);for(var y=0>a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),E=this.segments.s,x=E.length,b=0;b<x;b++)y+=" "+E[b].toString(a);return y},Ie.freeze=function(){this._isFrozen=!0;var a=this.segments;a.freeze();var y=a.s;a=a.length;for(var E=0;E<a;E++)y[E].freeze();return this},Ie.ka=function(){this._isFrozen=!1;var a=this.segments;a.ka(),a=a.s;for(var y=a.length,E=0;E<y;E++)a[E].ka();return this},Ie.Zu=function(){if(this._isInvalidBounds)return!0;var a=this.segments;if(this.sr!==a.Ja)return!0;a=a.s;for(var y=a.length,E=0;E<y;E++)if(a[E]._isInvalidBounds)return!0;return!1},Ie.add=function(a){return this.pl.add(a),this},Ie.ca=function(a,y,E){for(var x=this.startX,b=this.startY,z=x,ne=b,re=this.segments.s,oe=re.length,he=0;he<oe;he++){var fe=re[he];switch(fe.type){case Ga:z=fe.endX,ne=fe.endY,x=fe.endX,b=fe.endY;break;case Ho:if(Ht.Yb(x,b,fe.endX,fe.endY,E,a,y))return!0;x=fe.endX,b=fe.endY;break;case ys:if(Ht.cs(x,b,fe.point1X,fe.point1Y,fe.point2X,fe.point2Y,fe.endX,fe.endY,.5,a,y,E))return!0;x=fe.endX,b=fe.endY;break;case rl:if(Ht.jv(x,b,fe.point1X,fe.point1Y,fe.endX,fe.endY,.5,a,y,E))return!0;x=fe.endX,b=fe.endY;break;case Wa:case fl:var Se=fe.type===Wa?Zs(fe,this):bl(fe,this,x,b),Te=Se.length,Ne=fe.type===Wa?fe.centerX:fe.endX,Be=fe.type===Wa?fe.centerY:fe.endY;if(Te===0){if(Ht.Yb(x,b,Ne,Be,E,a,y))return!0;x=Ne,b=Be;break}for(Ne=null,Be=0;Be<Te;Be++)if(Ne=Se[Be],Be===0&&Ht.Yb(x,b,Ne[0],Ne[1],E,a,y)||Ht.cs(Ne[0],Ne[1],Ne[2],Ne[3],Ne[4],Ne[5],Ne[6],Ne[7],.5,a,y,E))return!0;Ne!==null&&(x=Ne[6],b=Ne[7]);break;default:tn("Unknown Segment type: "+fe.type)}if(fe.isClosed&&(x!==z||b!==ne)&&Ht.Yb(x,b,z,ne,E,a,y))return!0}return!1},bn.Object.defineProperties(_a.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}},isFilled:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Hi(this,a),this.l=a?this.l|4:this.l&-5}},isShadowed:{get:function(){return(this.l&8)!==0},set:function(a){this._isFrozen&&Hi(this,a),this.l=a?this.l|8:this.l&-9}},isEvenOdd:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&Hi(this,a),this.l=a?this.l|16:this.l&-17}},startX:{get:function(){return this.od},set:function(a){this._isFrozen&&Hi(this,a),this.od=a,this._isInvalidBounds=!0}},startY:{get:function(){return this.pd},set:function(a){this._isFrozen&&Hi(this,a),this.pd=a,this._isInvalidBounds=!0}},segments:{get:function(){return this.pl},set:function(a){this._isFrozen&&Hi(this,a),this.pl=a,this._isInvalidBounds=!0}}}),_a.prototype.add=_a.prototype.add,_a.prototype.equalsApprox=_a.prototype.Xa,_a.className="PathFigure";function eo(a,y,E,x,b,z,ne,re){ut(this),a===void 0&&(a=Ho),this.na=a,this.l=2,y!==void 0?this.Dc=y:this.Dc=0,E!==void 0?this.Ec=E:this.Ec=0,x===void 0&&(x=0),b===void 0&&(b=0),z===void 0&&(z=0),ne===void 0&&(ne=0),a===fl?(a=z%360,0>a&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(x,0),this.Pg=Math.max(b,0),typeof ne=="boolean"?ne&&(this.isLargeArc=!0):typeof ne=="number"&&ne&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=x,this.Vh=b,a===Wa&&(z=Math.max(z,0)),this.Wh=z,typeof ne=="number"?(a===Wa&&(ne=Math.max(ne,0)),this.Pg=ne):this.Pg=0),this.ae=null}eo.prototype.copy=function(){var a=new eo;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},Ie=eo.prototype,Ie.Xa=function(a){if(!(a instanceof eo)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case Ga:case Ho:return Ht.B(this.endX,a.endX)&&Ht.B(this.endY,a.endY);case ys:return Ht.B(this.endX,a.endX)&&Ht.B(this.endY,a.endY)&&Ht.B(this.point1X,a.point1X)&&Ht.B(this.point1Y,a.point1Y)&&Ht.B(this.point2X,a.point2X)&&Ht.B(this.point2Y,a.point2Y);case rl:return Ht.B(this.endX,a.endX)&&Ht.B(this.endY,a.endY)&&Ht.B(this.point1X,a.point1X)&&Ht.B(this.point1Y,a.point1Y);case Wa:return Ht.B(this.startAngle,a.startAngle)&&Ht.B(this.sweepAngle,a.sweepAngle)&&Ht.B(this.centerX,a.centerX)&&Ht.B(this.centerY,a.centerY)&&Ht.B(this.radiusX,a.radiusX)&&Ht.B(this.radiusY,a.radiusY);case fl:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Ht.B(this.xAxisRotation,a.xAxisRotation)&&Ht.B(this.endX,a.endX)&&Ht.B(this.endY,a.endY)&&Ht.B(this.radiusX,a.radiusX)&&Ht.B(this.radiusY,a.radiusY);default:return!1}},Ie.qb=function(a){a.classType===eo&&(this.type=a)},Ie.toString=function(a){switch(a===void 0&&(a=-1),this.type){case Ga:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Ho:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ys: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 rl: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 Wa: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 fl: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":"")},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return this._isFrozen=!1,this},Ie.close=function(){return this.isClosed=!0,this};function Zs(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var E=a.radiusX,x=a.radiusY;if(x===void 0&&(x=E),E===0||x===0)return a.ae=[],a.ae;y=a.Ne;var b=a.Vh,z=Ht.jx(0,0,E<x?E:x,a.startAngle,a.startAngle+a.sweepAngle,!1);if(E!==x){var ne=cr.alloc();ne.reset(),E<x?ne.scale(1,x/E):ne.scale(E/x,1),Jn.Ha(z,ne),cr.free(ne)}for(E=z.length,x=0;x<E;x++)ne=z[x],ne[0]+=y,ne[1]+=b,ne[2]+=y,ne[3]+=b,ne[4]+=y,ne[5]+=b,ne[6]+=y,ne[7]+=b;return a.ae=z,a.ae}function bl(a,y,E,x){function b(We,vt,ct,wt){return(We*wt<vt*ct?-1:1)*Math.acos((We*ct+vt*wt)/(Math.sqrt(We*We+vt*vt)*Math.sqrt(ct*ct+wt*wt)))}if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;if(a.radiusX===0||a.radiusY===0)return a.ae=[],a.ae;y=a.Wh;var z=a.Pg;y===0&&(y=1e-4),z===0&&(z=1e-4);var ne=Math.PI/180*a.Ne,re=a.isLargeArc,oe=a.isClockwiseArc,he=a.Dc,fe=a.Ec,Se=Math.cos(ne),Te=Math.sin(ne),Ne=Se*(E-he)/2+Te*(x-fe)/2;ne=-Te*(E-he)/2+Se*(x-fe)/2;var Be=Ne*Ne/(y*y)+ne*ne/(z*z);return 1<Be&&(y*=Math.sqrt(Be),z*=Math.sqrt(Be)),Be=(re===oe?-1:1)*Math.sqrt((y*y*z*z-y*y*ne*ne-z*z*Ne*Ne)/(y*y*ne*ne+z*z*Ne*Ne)),isNaN(Be)&&(Be=0),re=Be*y*ne/z,Be=Be*-z*Ne/y,isNaN(re)&&(re=0),isNaN(Be)&&(Be=0),E=(E+he)/2+Se*re-Te*Be,x=(x+fe)/2+Te*re+Se*Be,fe=b(1,0,(Ne-re)/y,(ne-Be)/z),Se=(Ne-re)/y,he=(ne-Be)/z,Ne=(-Ne-re)/y,re=(-ne-Be)/z,ne=b(Se,he,Ne,re),Ne=(Se*Ne+he*re)/(Math.sqrt(Se*Se+he*he)*Math.sqrt(Ne*Ne+re*re)),-1>=Ne?ne=Math.PI:1<=Ne&&(ne=0),!oe&&0<ne&&(ne-=2*Math.PI),oe&&0>ne&&(ne+=2*Math.PI),oe=y>z?1:y/z,Ne=y>z?z/y:1,y=Ht.jx(0,0,y>z?y:z,fe,fe+ne,!0),z=cr.alloc(),z.reset(),z.translate(E,x),z.rotate(a.Ne,0,0),z.scale(oe,Ne),Jn.Ha(y,z),cr.free(z),a.ae=y,a.ae}bn.Object.defineProperties(eo.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&&Hi(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Hi(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Hi(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Hi(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Hi(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&Hi(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&Hi(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Hi(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Hi(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&lr(a,">= zero",eo,"radiusX"),this._isFrozen&&Hi(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&lr(a,">= zero",eo,"radiusY"),this._isFrozen&&Hi(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Hi(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&&Hi(this,a),360<a&&(a=360),-360>a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Hi(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&&Hi(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&&Hi(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),eo.prototype.equalsApprox=eo.prototype.Xa;var Ga=new nn(eo,"Move",0),Ho=new nn(eo,"Line",1),ys=new nn(eo,"Bezier",2),rl=new nn(eo,"QuadraticBezier",3),Wa=new nn(eo,"Arc",4),fl=new nn(eo,"SvgArc",4);eo.className="PathSegment",eo.Move=Ga,eo.Line=Ho,eo.Bezier=ys,eo.QuadraticBezier=rl,eo.Arc=Wa,eo.SvgArc=fl;function Us(){this.H=null,this.xu=new st(0,0).freeze(),this.mt=new st(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}Us.prototype.copy=function(){var a=new Us;return this.clone(a)},Us.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},Us.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},Us.prototype.So=function(a,y){var E=this.diagram;return E===null||bu(E,a,y),y},Us.prototype.Bz=function(a,y){var E=this.diagram;return E===null||(bu(E,a,y),y.assign(E.Ps(y))),y},bn.Object.defineProperties(Us.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}}}),Us.prototype.getMultiTouchDocumentPoint=Us.prototype.Bz,Us.prototype.getMultiTouchViewPoint=Us.prototype.So,Us.className="InputEvent";function yu(){this.H=null,this.xa="",this.ar=this.Lr=null}yu.prototype.copy=function(){var a=new yu;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},yu.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},bn.Object.defineProperties(yu.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}}}),yu.className="DiagramEvent";function da(){this.Fm=Qo,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}da.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},da.prototype.copy=function(){var a=new da;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=jn(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=jn(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=jn(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=jn(y)&&typeof y.J=="function"?y.J():y,a},da.prototype.qb=function(a){a.classType===da&&(this.change=a)},da.prototype.toString=function(){var a="";return a=this.change===Vs?a+"* ":this.change===Qo?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===Vs?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=Zr(this.object)),this.oldValue!==null&&(a+=" old: "+Zr(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+Zr(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},da.prototype.I=function(a){return a?this.oldValue:this.newValue},da.prototype.Dz=function(a){return a?this.oldParam:this.newParam},da.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},da.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},da.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},da.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},bn.Object.defineProperties(da.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===Vs&&(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}}}),da.prototype.redo=da.prototype.redo,da.prototype.canRedo=da.prototype.canRedo,da.prototype.undo=da.prototype.undo,da.prototype.canUndo=da.prototype.canUndo,da.prototype.getParam=da.prototype.Dz,da.prototype.getValue=da.prototype.I,da.prototype.clear=da.prototype.clear;var Vs=new nn(da,"Transaction",-1),Qo=new nn(da,"Property",0),Oa=new nn(da,"Insert",1),Va=new nn(da,"Remove",2);da.className="ChangedEvent",da.Transaction=Vs,da.Property=Qo,da.Insert=Oa,da.Remove=Va;function is(){this.o=new Qn().freeze(),this.xa="",this.j=!1}is.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0<a){a=this.changes.count;for(var E=0;E<a;E++){var x=this.changes.M(E);x!==null&&(y+=`
|
|
|
`+x.toString())}}return y},is.prototype.clear=function(){var a=this.changes;a.ka();for(var y=a.count-1;0<=y;y--){var E=a.M(y);E!==null&&E.clear()}a.clear(),a.freeze()},is.prototype.canUndo=function(){return this.isComplete},is.prototype.undo=function(){if(this.canUndo())for(var a=this.changes.count-1;0<=a;a--){var y=this.changes.M(a);y!==null&&y.undo()}},is.prototype.canRedo=function(){return this.isComplete},is.prototype.redo=function(){if(this.canRedo())for(var a=this.changes.count,y=0;y<a;y++){var E=this.changes.M(y);E!==null&&E.redo()}},is.prototype.ak=function(){if(this.isComplete){var a=this.changes;a.ka();for(var y=new Fn,E=0;E<a.count;E++){var x=a.M(E);if(x!==null&&x.change===Qo&&x.object){var b=y.get(x.object);b||(b=new Fn,y.set(x.object,b));var z=b.get(x.propertyName);z===null?b.set(x.propertyName,-1):(0<z&&a.cd(z,null),b.set(x.propertyName,E))}}for(E=y=0;E<a.count;E++)x=a.M(E),x!==null&&(E>y&&a.cd(y,x),y++);for(;a.length>y;)a.pop();a.freeze()}},bn.Object.defineProperties(is.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}}}),is.prototype.optimize=is.prototype.ak,is.prototype.redo=is.prototype.redo,is.prototype.canRedo=is.prototype.canRedo,is.prototype.undo=is.prototype.undo,is.prototype.canUndo=is.prototype.canUndo,is.prototype.clear=is.prototype.clear,is.className="Transaction";function va(){this.Pt=new Rt,this.Jd=!1,this.u=new Qn().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new Qn().freeze(),this.hl=new Qn,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}va.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var E=this.nestedTransactionNames.count,x=0;x<E;x++)0<x&&(y+=" "),y+=this.nestedTransactionNames.M(x);if(y+="]",a!==void 0&&0<a)for(E=this.history.count,x=0;x<E;x++)y+=`
|
|
|
`+this.history.M(x).toString(a-1);return y},va.prototype.clear=function(){var a=this.history;a.ka();for(var y=a.count-1;0<=y;y--){var E=a.M(y);E!==null&&E.clear()}a.clear(),this.Ce=-1,a.freeze(),this.Fe=!1,this.Np=null,this.bi=0,this.Ie.ka(),this.Ie.clear(),this.Ie.freeze(),this.hl.clear(),this.Dt=this.rq=this.Gt=this.Ft=!1},va.prototype.copyProperties=function(a){this.isEnabled=a.isEnabled,this.maxHistoryLength=a.maxHistoryLength,this.checksTransactionLevel=a.checksTransactionLevel},Ie=va.prototype,Ie.Xw=function(a){this.Pt.add(a)},Ie.Rx=function(a){this.Pt.remove(a)},Ie.Ea=function(a){if(a===void 0&&(a=""),a===null&&(a=""),this.isUndoingRedoing)return!1;this.tt===!0&&(this.tt=!1,this.bi++,this.isInternalTransaction||this.Ob("StartingFirstTransaction",a,this.currentTransaction),0<this.bi&&this.bi--),this.isEnabled&&(this.Ie.ka(),this.Ie.add(a),this.Ie.freeze(),this.currentTransaction===null?this.hl.add(0):this.hl.add(this.currentTransaction.changes.count)),this.bi++;var y=this.transactionLevel===1;return y&&(this.isInternalTransaction||this.Ob("StartedTransaction",a,this.currentTransaction)),y},Ie.eb=function(a){return a===void 0&&(a=""),lc(this,!0,a)},Ie.Kf=function(){return lc(this,!1,"")};function lc(a,y,E){if(a.isUndoingRedoing)return!1;a.checksTransactionLevel&&1>a.transactionLevel&&Hr("Ending transaction without having started a transaction: "+E);var x=a.transactionLevel===1,b=a.currentTransaction;x&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",E,b));var z=0;if(0<a.transactionLevel&&(a.bi--,a.isEnabled)){var ne=a.Ie.count;0<ne&&(E===""&&(E=a.Ie.M(0)),a.Ie.ka(),a.Ie.mb(ne-1),a.Ie.freeze()),ne=a.hl.count,0<ne&&(z=a.hl.M(ne-1),a.hl.mb(ne-1))}if(x){if(y)a.rq=!1,b===null&&E!==""&&(b=a.currentTransaction),a.isEnabled&&b!==null&&(b.isComplete||(b.isComplete=!0,b.name=E),a.lx(),y=a.history,y.ka(),x=a.maxHistoryLength,0<=x&&(x===0?y.clear():y.count>=x&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),x===0||y.count!==0&&y.get(y.count-1)===b||(y.add(b),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",E,b);else{a.Fe=!0;try{a.isEnabled&&b!==null&&(b.isComplete=!0,b.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",E,b),a.Fe=!1}b!==null&&b.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&b!==null){for(a=z,E=b.changes,b=E.count-1;b>=a;b--)y=E.M(b),y!==null&&y.undo(),E.ka(),E.mb(b);E.freeze()}return!1}Ie.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var E=a.M(y);E!==null&&E.clear(),a.mb(y),this.rq=!0}a.freeze()}},va.prototype.canUndo=function(){if(!this.isEnabled||0<this.transactionLevel)return!1;var a=this.transactionToUndo;return!!(a!==null&&a.canUndo())},va.prototype.undo=function(){if(this.canUndo()){var a=this.transactionToUndo;try{this.Fe=!0,this.Ob("StartingUndo","Undo",a),this.Ce--,a.undo()}catch(y){Hr("undo error: "+y.toString())}finally{this.Ob("FinishedUndo","Undo",a),this.Fe=!1}}},va.prototype.canRedo=function(){if(!this.isEnabled||0<this.transactionLevel)return!1;var a=this.transactionToRedo;return!!(a!==null&&a.canRedo())},va.prototype.redo=function(){if(this.canRedo()){var a=this.transactionToRedo;try{this.Fe=!0,this.Ob("StartingRedo","Redo",a),this.Ce++,a.redo()}catch(y){Hr("redo error: "+y.toString())}finally{this.Ob("FinishedRedo","Redo",a),this.Fe=!1}}},va.prototype.Ob=function(a,y,E){E===void 0&&(E=null);var x=new da;for(x.change=Vs,x.propertyName=a,x.object=E,x.oldValue=y,a=this.models;a.next();)y=a.value,x.model=y,y.ds(x)},va.prototype.Tu=function(a){if(this.isEnabled&&!this.isUndoingRedoing&&!this.skipsEvent(a)){var y=this.currentTransaction;y===null&&(this.Np=y=new is);var E=a.copy();y=y.changes,y.ka(),y.add(E),y.freeze(),this.checksTransactionLevel&&0>=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||Hr("Change not within a transaction: "+E.toString()))}},va.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},bn.Object.defineProperties(va.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.historyIndex<this.history.count-1?this.history.M(this.historyIndex+1):null}},isUndoingRedoing:{get:function(){return this.Fe}},history:{get:function(){return this.u}},maxHistoryLength:{get:function(){return this.o},set:function(a){this.o=a}},historyIndex:{get:function(){return this.Ce}},currentTransaction:{get:function(){return this.Np}},transactionLevel:{get:function(){return this.bi}},isInTransaction:{get:function(){return 0<this.bi}},checksTransactionLevel:{get:function(){return this.j},set:function(a){this.j=a}},nestedTransactionNames:{get:function(){return this.Ie}},isPendingClear:{get:function(){return this.Ft},set:function(a){this.Ft=a}},isPendingUnmodified:{get:function(){return this.Gt},set:function(a){this.Gt=a}},isInternalTransaction:{get:function(){return this.Dt},set:function(a){this.Dt=a}},isJustDiscarded:{get:function(){return this.rq}}}),va.prototype.handleChanged=va.prototype.Tu,va.prototype.redo=va.prototype.redo,va.prototype.undo=va.prototype.undo,va.prototype.canUndo=va.prototype.canUndo,va.prototype.discardHistoryAfterIndex=va.prototype.lx,va.prototype.rollbackTransaction=va.prototype.Kf,va.prototype.commitTransaction=va.prototype.eb,va.prototype.startTransaction=va.prototype.Ea,va.prototype.removeModel=va.prototype.Rx,va.prototype.addModel=va.prototype.Xw,va.prototype.clear=va.prototype.clear,va.className="UndoManager";function Or(){ut(this),this.H=ql,this.xa="",this.Jd=!0,this.nb=!1,this.wm=null,this.yy=new Us,this.Zr=-1}Or.prototype.toString=function(){return this.name!==""?this.name+" Tool":sr(this.constructor)},Or.prototype.updateAdornments=function(){},Or.prototype.canStart=function(){return this.isEnabled},Or.prototype.doStart=function(){},Or.prototype.doActivate=function(){this.isActive=!0},Or.prototype.doDeactivate=function(){this.isActive=!1},Or.prototype.doStop=function(){},Or.prototype.doCancel=function(){this.transactionResult=null,this.stopTool()},Or.prototype.stopTool=function(){var a=this.diagram;a.currentTool===this&&(a.currentTool=null,a.currentCursor="")},Or.prototype.doMouseDown=function(){!this.isActive&&this.canStart()&&this.doActivate()},Or.prototype.doMouseMove=function(){},Or.prototype.doMouseUp=function(){this.stopTool()},Or.prototype.doMouseWheel=function(){},Or.prototype.canStartMultiTouch=function(){return!0},Or.prototype.standardPinchZoomStart=function(){var a=this.diagram,y=a.lastInput,E=y.So(0,st.allocAt(NaN,NaN)),x=y.So(1,st.allocAt(NaN,NaN));if(E.w()&&x.w()&&(this.doCancel(),a.Ql("hasGestureZoom"))){a.Bw=a.scale;var b=x.x-E.x,z=x.y-E.y;a.Jw=Math.sqrt(b*b+z*z),y.bubbles=!1}st.free(E),st.free(x)},Or.prototype.standardPinchZoomMove=function(){var a=this.diagram,y=a.lastInput,E=y.So(0,st.allocAt(NaN,NaN)),x=y.So(1,st.allocAt(NaN,NaN));if(E.w()&&x.w()&&(this.doCancel(),a.Ql("hasGestureZoom"))){var b=x.x-E.x,z=x.y-E.y;z=Math.sqrt(b*b+z*z)/a.Jw,b=new st((Math.min(x.x,E.x)+Math.max(x.x,E.x))/2,(Math.min(x.y,E.y)+Math.max(x.y,E.y))/2),z*=a.Bw;var ne=a.commandHandler;if(z!==a.scale&&ne.canResetZoom(z)){var re=a.zoomPoint;a.zoomPoint=b,ne.resetZoom(z),a.zoomPoint=re}y.bubbles=!1}st.free(E),st.free(x)},Or.prototype.doKeyDown=function(){this.diagram.lastInput.key==="Esc"&&this.doCancel()},Or.prototype.doKeyUp=function(){},Or.prototype.Ea=function(a){return a===void 0&&(a=this.name),this.transactionResult=null,this.diagram.Ea(a)},Or.prototype.stopTransaction=function(){var a=this.diagram;return this.transactionResult===null?a.Kf():a.eb(this.transactionResult)},Or.prototype.standardMouseSelect=function(){var a=this.diagram;if(a.allowSelect){var y=a.lastInput,E=a.Ol(y.documentPoint,!1);if(E!==null){if(Ha?y.meta:y.control){for(a.R("ChangingSelection",a.selection),y=E;y!==null&&!y.canSelect();)y=y.containingGroup;y!==null&&(y.isSelected=!y.isSelected),a.R("ChangedSelection",a.selection)}else if(y.shift){if(!E.isSelected){for(a.R("ChangingSelection",a.selection),y=E;y!==null&&!y.canSelect();)y=y.containingGroup;y!==null&&(y.isSelected=!0),a.R("ChangedSelection",a.selection)}}else if(!E.isSelected){for(y=E;y!==null&&!y.canSelect();)y=y.containingGroup;y!==null&&a.select(y)}}else!y.left||(Ha?y.meta:y.control)||y.shift||a.clearSelection()}},Or.prototype.standardMouseClick=function(a,y){a===void 0&&(a=null),y===void 0&&(y=function(b){return!b.layer.isTemporary});var E=this.diagram,x=E.lastInput;return a=E.ic(x.documentPoint,a,y),x.targetObject=a,Md(a,x,E),x.handled};function Md(a,y,E){if(y.handled=!1,a===null||a.If()){var x=0;y.left?x=y.clickCount===1?1:y.clickCount===2?2:1:y.right&&y.clickCount===1&&(x=3);var b="ObjectSingleClicked";if(a!==null){switch(x){case 1:b="ObjectSingleClicked";break;case 2:b="ObjectDoubleClicked";break;case 3:b="ObjectContextClicked"}x!==0&&E.R(b,a)}else{switch(x){case 1:b="BackgroundSingleClicked";break;case 2:b="BackgroundDoubleClicked";break;case 3:b="BackgroundContextClicked"}x!==0&&E.R(b)}if(a!==null)for(;a!==null;){switch(E=null,x){case 1:E=a.click;break;case 2:E=a.doubleClick?a.doubleClick:a.click;break;case 3:E=a.contextClick}if(E!==null&&(E(y,a),y.handled))break;a=a.panel}else{switch(a=null,x){case 1:a=E.click;break;case 2:a=E.doubleClick?E.doubleClick:E.click;break;case 3:a=E.contextClick}a!==null&&a(y)}}}Or.prototype.standardMouseOver=function(){var a=this.diagram,y=a.lastInput;if(a.animationManager.zb!==!0){var E=a.skipsUndoManager;a.skipsUndoManager=!0;var x=a.viewportBounds.ca(y.documentPoint)?a.ic(y.documentPoint,null,null):null;!y.event||y.event.type!=="pointercancel"&&y.event.type!=="pointerout"||(x=null),y.targetObject=x;var b=!1;if(x!==a.Ck){var z=a.Ck,ne=z;for(a.Ck=x,this.doCurrentObjectChanged(z,x),y.handled=!1;z!==null;){var re=z.mouseLeave;if(re!==null&&(x===z||x!==null&&x.rg(z)||(re(y,z,x),b=!0,y.handled)))break;z=z.panel}for(z=ne,y.handled=!1;x!==null&&(ne=x.mouseEnter,!(ne!==null&&(z===x||z!==null&&z.rg(x)||(ne(y,x,z),b=!0,y.handled))));)x=x.panel;x=a.Ck}if(x!==null){for(z=x,ne="";z!==null&&(ne=z.cursor,ne==="");)z=z.panel;for(a.currentCursor=ne,y.handled=!1,z=x;z!==null&&(x=z.mouseOver,!(x!==null&&(x(y,z),b=!0,y.handled)));)z=z.panel}else this.doUpdateCursor(null),x=a.mouseOver,x!==null&&(x(y),b=!0);b&&a.$b(),a.skipsUndoManager=E}},Or.prototype.doUpdateCursor=function(){var a=this.diagram;a&&(a.currentCursor="")},Or.prototype.doCurrentObjectChanged=function(){},Or.prototype.standardMouseWheel=function(){var a=this.diagram,y=a.lastInput,E=y.delta;if(E!==0&&a.documentBounds.w()){var x=a.commandHandler,b=a.toolManager.mouseWheelBehavior;if(x!==null&&(b===_c&&!y.shift||b===uc&&y.control))(0<E?x.canIncreaseZoom():x.canDecreaseZoom())&&(b=a.zoomPoint,a.zoomPoint=y.viewPoint,0<E?x.increaseZoom():x.decreaseZoom(),a.zoomPoint=b),y.bubbles=!1;else if(b===_c&&y.shift||b===uc&&!y.control){x=a.position.copy();var z=y.event;b=z.deltaMode;var ne=z.deltaX;z=z.deltaY;var re="pixel";if(ne===0&&z===0||y.shift)!y.shift&&a.allowVerticalScroll?(E=3*E*a.scrollVerticalLineChange,a.scroll(re,0<E?"up":"down",Math.abs(E))):y.shift&&a.allowHorizontalScroll&&(E=3*E*a.scrollHorizontalLineChange,a.scroll(re,0<E?"left":"right",Math.abs(E)));else{switch(b){case 0:re="pixel";break;case 1:re="line";break;case 2:re="page"}ne!==0&&a.allowHorizontalScroll&&(ne*=a.scrollHorizontalLineChange/16,a.scroll(re,0<ne?"right":"left",Math.abs(ne))),z!==0&&a.allowVerticalScroll&&(z*=a.scrollVerticalLineChange/16,a.scroll(re,0<z?"down":"up",Math.abs(z)))}this.doWheelChange(a,x,y)}}},Or.prototype.doWheelChange=function(a,y,E){a.position.D(y)&&E.event.wheelDeltaX===0||(E.bubbles=!1)},Or.prototype.standardWaitAfter=function(a,y){y===void 0&&(y=this.diagram.lastInput),this.cancelWaitAfter();var E=this,x=y.clone(this.yy);this.Zr=ir(function(){E.doWaitAfter(x)},a)},Or.prototype.cancelWaitAfter=function(){this.Zr!==-1&&sn.clearTimeout(this.Zr),this.Zr=-1},Or.prototype.doWaitAfter=function(){},Or.prototype.findToolHandleAt=function(a,y){return a=this.diagram.ic(a,function(E){for(;E!==null&&!(E.panel instanceof Eo);)E=E.panel;return E}),a===null?null:a.part.category===y?a:null},Or.prototype.isBeyondDragSize=function(a,y){var E=this.diagram;a===void 0&&(a=E.firstInput.viewPoint),y===void 0&&(y=E.lastInput.viewPoint);var x=E.toolManager.dragSize,b=x.width;return x=x.height,E.firstInput.isTouchEvent&&(b+=6,x+=6),Math.abs(y.x-a.x)>b||Math.abs(y.y-a.y)>x},bn.Object.defineProperties(Or.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof qt&&(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}}}),Or.prototype.startTransaction=Or.prototype.Ea,Or.className="Tool";function ra(){Or.call(this),this.name="ToolManager",this.hb=new Qn,this.ob=new Qn,this.Hb=new Qn,this.F=this.V=850,this.o=new fn(2,2).ja(),this.Ha=5e3,this.ia=uc,this.u=Ru,this.Mp=this.j=null,this.zj=-1}Kt(ra,Or),ra.prototype.initializeStandardTools=function(){},ra.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof Eo&&this.Mp===a){var E=y.adornedObject;(a!==null?E.part===a:E===null)?this.showToolTip(y,E):this.hideToolTip()}},ra.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===Su&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===Zu){y.bubbles=!0;return}if(this.gestureBehavior===Su)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var E=this.mouseDownTools.length,x=0;x<E;x++){var b=this.mouseDownTools.M(x);if(b.diagram=this.diagram,b.canStart()){a.doFocus(),a.currentTool=b,a.currentTool===b&&(b.isActive||b.doActivate(),b.doMouseDown());return}}a.lastInput.button===1&&(this.mouseWheelBehavior===uc?this.mouseWheelBehavior=_c:this.mouseWheelBehavior===_c&&(this.mouseWheelBehavior=uc)),this.doActivate(),this.standardWaitAfter(this.holdDelay,y)},ra.prototype.doMouseMove=function(){var a=this.diagram,y=a.lastInput;if(y.isMultiTouch){if(this.gestureBehavior===Zu){y.bubbles=!0;return}if(this.gestureBehavior===Su)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomMove();return}}if(this.isActive)for(var E=this.mouseMoveTools.length,x=0;x<E;x++){var b=this.mouseMoveTools.M(x);if(b.diagram=this.diagram,b.canStart()){a.doFocus(),a.currentTool=b,a.currentTool===b&&(b.isActive||b.doActivate(),b.doMouseMove());return}}Rd(this,a),a=y.event,a===null||a.type!=="pointermove"&&a.cancelable||(y.bubbles=!0)};function Rd(a,y){a.standardMouseOver(),a.isBeyondDragSize()&&a.standardWaitAfter(a.isActive?a.holdDelay:a.hoverDelay,y.lastInput)}ra.prototype.doCurrentObjectChanged=function(a,y){a=this.currentToolTip,a===null||y!==null&&a instanceof Eo&&(y===a||y.rg(a))||this.hideToolTip()},ra.prototype.doWaitAfter=function(a){var y=this.diagram;y.ta!==null&&(this.doMouseHover(),this.isActive||this.doToolTip(),a.isTouchEvent&&!y.lastInput.handled&&(a=a.copy(),a.button=2,a.buttons=2,y.lastInput=a,y.qu=!0,y.doMouseUp()))},ra.prototype.doMouseHover=function(){var a=this.diagram,y=a.lastInput;y.targetObject===null&&(y.targetObject=a.ic(y.documentPoint,null,null));var E=y.targetObject;if(E!==null)for(y.handled=!1;E!==null&&(a=this.isActive?E.mouseHold:E.mouseHover,!(a!==null&&(a(y,E),y.handled)));)E=E.panel;else E=this.isActive?a.mouseHold:a.mouseHover,E!==null&&E(y)},ra.prototype.doToolTip=function(){var a=this.diagram,y=a.lastInput;if(y.targetObject===null&&(y.targetObject=a.ic(y.documentPoint,null,null)),y=y.targetObject,y!==null){if(a=this.currentToolTip,!(a instanceof Eo)||y!==a&&!y.rg(a)){for(;y!==null;){if(a=y.toolTip,a!==null){this.showToolTip(a,y);return}y=y.panel}this.hideToolTip()}}else y=a.toolTip,y!==null?this.showToolTip(y,null):this.hideToolTip()},ra.prototype.showToolTip=function(a,y){var E=this.diagram;if(a!==this.currentToolTip&&this.hideToolTip(),a instanceof Eo){a.layerName="Tool",a.selectable=!1,a.scale=1/E.scale,a.category="ToolTip",a.placeholder!==null&&(a.placeholder.scale=E.scale);var x=a.diagram;x!==null&&x!==E&&x.remove(a),E.add(a),y!==null?a.adornedObject=y:a.data=E.model,a.Va(),this.positionToolTip(a,y)}else a instanceof Ct&&a!==this.currentToolTip&&a.show(y,E,this);if(this.currentToolTip=a,this.zj!==-1&&(sn.clearTimeout(this.zj),this.zj=-1),a=this.toolTipDuration,0<a&&a!==1/0){var b=this;this.zj=ir(function(){b.hideToolTip()},a)}},ra.prototype.positionToolTip=function(a){if(a.placeholder===null){var y=this.diagram,E=y.lastInput.documentPoint.copy(),x=a.measuredBounds,b=y.viewportBounds;y.lastInput.isTouchEvent&&(E.x-=x.width),E.x+x.width>b.right&&(E.x-=x.width+5/y.scale),E.x<b.x&&(E.x=b.x),E.y=E.y+20/y.scale+x.height>b.bottom?E.y-(x.height+5/y.scale):E.y+20/y.scale,E.y<b.y&&(E.y=b.y),a.position=E}},ra.prototype.hideToolTip=function(){this.zj!==-1&&(sn.clearTimeout(this.zj),this.zj=-1);var a=this.diagram,y=this.currentToolTip;y!==null&&(y instanceof Eo?(a.remove(y),this.Mp!==null&&this.Mp.Jf(y.category),y.data=null,y.adornedObject=null):y instanceof Ct&&y.hide!==null&&y.hide(a,this),this.currentToolTip=null)},ra.prototype.doMouseUp=function(){this.cancelWaitAfter();var a=this.diagram;if(this.isActive)for(var y=this.mouseUpTools.length,E=0;E<y;E++){var x=this.mouseUpTools.M(E);if(x.diagram=this.diagram,x.canStart()){a.doFocus(),a.currentTool=x,a.currentTool===x&&(x.isActive||x.doActivate(),x.doMouseUp());return}}a.doFocus(),this.doDeactivate()},ra.prototype.doMouseWheel=function(){this.standardMouseWheel()},ra.prototype.doKeyDown=function(){var a=this.diagram;a.commandHandler!==null&&a.commandHandler.doKeyDown()},ra.prototype.doKeyUp=function(){var a=this.diagram;a.commandHandler!==null&&a.commandHandler.doKeyUp()},ra.prototype.findTool=function(a){for(var y=this.mouseDownTools.length,E=0;E<y;E++){var x=this.mouseDownTools.M(E);if(x.name===a)return x}for(y=this.mouseMoveTools.length,E=0;E<y;E++)if(x=this.mouseMoveTools.M(E),x.name===a)return x;for(y=this.mouseUpTools.length,E=0;E<y;E++)if(x=this.mouseUpTools.M(E),x.name===a)return x;return null},ra.prototype.replaceTool=function(a,y){y!==null&&(y.diagram=this.diagram);for(var E=this.mouseDownTools.length,x=0;x<E;x++){var b=this.mouseDownTools.M(x);if(b.name===a)return y!==null?this.mouseDownTools.cd(x,y):this.mouseDownTools.mb(x),b}for(E=this.mouseMoveTools.length,x=0;x<E;x++)if(b=this.mouseMoveTools.M(x),b.name===a)return y!==null?this.mouseMoveTools.cd(x,y):this.mouseMoveTools.mb(x),b;for(E=this.mouseUpTools.length,x=0;x<E;x++)if(b=this.mouseUpTools.M(x),b.name===a)return y!==null?this.mouseUpTools.cd(x,y):this.mouseUpTools.mb(x),b;return null},ra.prototype.gb=function(a,y,E){y!==null&&(y.name=a,y.diagram=this.diagram),this.findTool(a)?this.replaceTool(a,y):y!==null&&E.add(y)},bn.Object.defineProperties(ra.prototype,{mouseWheelBehavior:{get:function(){return this.ia},set:function(a){this.ia=a}},gestureBehavior:{get:function(){return this.u},set:function(a){this.u=a}},currentToolTip:{get:function(){return this.j},set:function(a){this.j=a,this.Mp=a!==null&&a instanceof Eo?a.adornedPart:null}},mouseDownTools:{get:function(){return this.hb}},mouseMoveTools:{get:function(){return this.ob}},mouseUpTools:{get:function(){return this.Hb}},hoverDelay:{get:function(){return this.V},set:function(a){this.V=a}},holdDelay:{get:function(){return this.F},set:function(a){this.F=a}},dragSize:{get:function(){return this.o},set:function(a){this.o=a.J()}},toolTipDuration:{get:function(){return this.Ha},set:function(a){this.Ha=a}}}),ra.prototype.replaceStandardTool=ra.prototype.gb;var uc=new nn(ra,"WheelScroll",0),_c=new nn(ra,"WheelZoom",1),fd=new nn(ra,"WheelNone",2),Ru=new nn(ra,"GestureZoom",3),Su=new nn(ra,"GestureCancel",4),Zu=new nn(ra,"GestureNone",5);ra.className="ToolManager",ra.WheelScroll=uc,ra.WheelZoom=_c,ra.WheelNone=fd,ra.GestureZoom=Ru,ra.GestureCancel=Su,ra.GestureNone=Zu;function ya(){Or.call(this),this.name="Dragging",this.u=this.Sw=this.ob=!0,this.o=this.Ha=this.V=this.Oe=null,this.Ym=this.Hb=!1,this.tl=new st(NaN,NaN),this.Fr=new st,this.hb=!0,this.Ik=100,this.Cg=[],this.te=new Rt().freeze(),this.ia=new ae,this.Bn=null,this.F="copy",this.Oc="",this.Pc="no-drop"}var Xu;Kt(ya,Or),ya.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly&&!a.allowDragOut||!a.allowMove&&!a.allowCopy&&!a.allowDragOut||!a.allowSelect)return!1;var y=a.lastInput;return!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.isTouchEvent&&y.timestamp-a.firstInput.timestamp<this.Ik)?!1:this.findDraggablePart()!==null},ya.prototype.findDraggablePart=function(){var a=this.diagram;if(a=a.Ol(a.firstInput.documentPoint,!1),a===null)return null;for(;a!==null&&!a.canSelect();)a=a.containingGroup;return a!==null&&(a.canMove()||a.canCopy())?a:null},ya.prototype.standardMouseSelect=function(){var a=this.diagram;if(a.allowSelect){var y=a.Ol(a.firstInput.documentPoint,!1);if(y!==null){for(;y!==null&&!y.canSelect();)y=y.containingGroup;this.currentPart=y,this.currentPart===null||this.currentPart.isSelected||(a.R("ChangingSelection",a.selection),y=a.lastInput,(Ha?y.meta:y.control)||y.shift||a.clearSelection(!0),this.currentPart.isSelected=!0,a.R("ChangedSelection",a.selection))}}},ya.prototype.doActivate=function(){var a=this.diagram;this.Bn=null,this.currentPart===null&&this.standardMouseSelect();var y=this.currentPart;y!==null&&(y.canMove()||y.canCopy())&&(a.Fu(!0),Yi=null,this.isActive=!0,this.tl.set(a.position),ht(this,a.selection),this.Cg.length=0,a.animationManager.Cc(),this.draggedParts=this.computeEffectiveCollection(a.selection,this.dragOptions),this.Sw=this.diagram.layout.isRealtime,this.diagram.layout.isRealtime=!1,a.Ns=!0,a.Gf("temporaryPixelRatio")===!0&&30<a.$w&&ml(a),Jf(a,this.draggedParts),this.Ea("Drag"),this.startPoint=a.firstInput.documentPoint,a.isMouseCaptured=!0,a.allowDragOut&&(this.isDragOutStarted=!0,this.Ym=!1,Yi=this,Tr=this.diagram,this.doSimulatedDragOut()))};function ht(a,y){if(a.dragsLink){var E=a.diagram;E.allowRelink&&(E.model.Wj()&&y.count===1&&y.first()instanceof $n?(a.draggedLink=y.first(),a.draggedLink.canRelinkFrom()&&a.draggedLink.canRelinkTo()&&a.draggedLink.Ej(),a.Oe=E.toolManager.findTool("Relinking"),a.Oe===null&&(a.Oe=new Ve,a.Oe.diagram=E),a.Oe.originalLink=a.draggedLink):(a.draggedLink=null,a.Oe=null))}}ya.prototype.computeEffectiveCollection=function(a,y){return this.diagram.commandHandler.computeEffectiveCollection(a,y)},ya.prototype.Pd=function(a){return a===void 0?new Sd(br):this.isGridSnapEnabled?new Sd(new st(Math.round(1e3*a.x)/1e3,Math.round(1e3*a.y)/1e3)):new Sd(a.copy())},ya.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;if(this.diagram.layout.isRealtime=this.Sw,a.Fu(!1),a.ug(),Dt(this),ch(a,this.draggedParts),this.draggedParts=this.currentPart=this.Bn=null,this.Ym=this.isDragOutStarted=!1,0<Xu.count){for(var y=Xu,E=y.length,x=0;x<E;x++){var b=y.M(x);En(b),ln(b),Dt(b),b.diagram.ug()}y.clear()}En(this),this.tl.h(NaN,NaN),Tr!==null&&(Tr.currentCursor=""),Yi=Tr=null,ln(this),a.isMouseCaptured=!1,a.currentCursor="",a.Ns=!1,this.stopTransaction(),ah(a,!0)},ya.prototype.stopTransaction=function(){var a=this.diagram,y=Or.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y};function Dt(a){var y=a.diagram,E=y.skipsUndoManager;y.skipsUndoManager=!0,li(a,y.lastInput,null),y.skipsUndoManager=E,a.Cg.length=0}function _t(){var a=Yi;ln(a),Vn(a);var y=a.diagram;a.tl.w()&&(y.position=a.tl),y.ug()}ya.prototype.doCancel=function(){ln(this),Vn(this);var a=this.diagram;this.tl.w()&&(a.position=this.tl),this.stopTool()},ya.prototype.doKeyDown=function(){var a=this.diagram,y=a.lastInput;this.isActive&&(y.key==="Esc"?this.doCancel():y.key!==a.previousInput.key&&this.doMouseMove())},ya.prototype.doKeyUp=function(){this.isActive&&this.doMouseMove()};function zt(a,y){if(a.copiedParts===null){var E=a.diagram;if((!y||!E.isReadOnly&&!E.isModelReadOnly)&&a.draggedParts!==null){var x=E.undoManager;for(x.isEnabled&&x.isInTransaction?x.currentTransaction!==null&&0<x.currentTransaction.changes.count&&(E.undoManager.Kf(),E.Ea("Drag")):Vn(a),E.skipsUndoManager=!y,E.partManager.addsToTemporaryLayer=!y,a.startPoint=E.firstInput.documentPoint,y=a.copiesEffectiveCollection?a.draggedParts.Lf():E.selection,y=E.Kj(y,E,!0),E=new Fn,x=a.draggedParts.iterator;x.next();){var b=x.key;if(b.Zc()&&b.canCopy()){var z=y.I(b);z!==null&&(z.location=b.location,z.Va(),E.add(z,a.Pd(z.location)))}}for(y=y.iterator;y.next();)x=y.value,x instanceof $n&&x.canCopy()&&E.add(x,a.Pd());a.copiedParts=E,ht(a,E.Lf()),a.draggedLink!==null&&(E=a.draggedLink,y=E.routeBounds,Vd(E,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}function ln(a){var y=a.diagram;if(a.copiedParts!==null){if(y.Is(a.copiedParts.Lf(),!1),a.copiedParts=null,a.draggedParts!==null)for(var E=a.draggedParts.iterator;E.next();)E.key instanceof $n&&(E.value.point=new st(0,0));a.doUpdateCursor(null)}y.skipsUndoManager=!1,y.partManager.addsToTemporaryLayer=!1,a.startPoint=y.firstInput.documentPoint}function En(a){if(a.draggedLink!==null){if(a.dragsLink&&a.Oe!==null){var y=a.Oe;y.diagram.remove(y.temporaryFromNode),y.diagram.remove(y.temporaryToNode),a.Oe.originalLink=null}a.draggedLink=null,a.Oe=null}}function Tn(a,y,E){var x=a.diagram,b=a.startPoint,z=st.alloc();z.assign(x.lastInput.documentPoint),a.moveParts(y,z.re(b),E),st.free(z),x.Gf("temporaryPixelRatio")===!0&&x.Yh===null&&30<x.$w&&(ml(x),x.hk())}ya.prototype.moveParts=function(a,y,E){E===void 0&&(E=!1);var x=this.diagram;x!==null&&uh(x,a,y,this.dragOptions,E)};function Vn(a){if(a.draggedParts!==null){for(var y=a.diagram,E=a.draggedParts.iterator;E.next();){var x=E.key;x.Zc()&&(x.location=E.value.point)}for(E=a.draggedParts.iterator;E.next();)if(x=E.key,x instanceof $n&&x.suspendsRouting){var b=E.value.point;a.draggedParts.add(x,a.Pd()),Vd(x,-b.x,-b.y)}y.bd()}}function mi(a,y){var E=a.diagram;a.dragsLink&&(a.draggedLink!==null&&(a.draggedLink.fromNode=null,a.draggedLink.toNode=null),Ai(a,!1));var x=a.findDragOverObject(y),b=E.lastInput;b.targetObject=x,a.doUpdateCursor(x);var z=E.skipsUndoManager,ne=!1;try{if(E.skipsUndoManager=!0,ne=li(a,b,x),!a.isActive&&Yi===null)return;var re=x!==null?x.part:null;if(re===null||E.handlesDragDropForTopLevelParts&&re.isTopLevel&&!(re instanceof Cr)){var oe=E.mouseDragOver;oe!==null&&(oe(b),ne=!0)}if(!a.isActive&&Yi===null||(a.doDragOver(y,x),!a.isActive&&Yi===null))return}finally{E.skipsUndoManager=z,ne&&E.bd()}a.Bn=x,E.isReadOnly||!E.allowMove&&!E.allowCopy||!E.allowHorizontalScroll&&!E.allowVerticalScroll||E.gs(b.viewPoint)}ya.prototype.findDragOverObject=function(a){var y=this;return fc(this.diagram,a,null,function(E){return E===null?E=!0:(E=E.part,E=!!(E===null||E instanceof Eo||E.layer.isTemporary||y.draggedParts&&y.draggedParts.contains(E)||y.copiedParts&&y.copiedParts.contains(E))),!E})},ya.prototype.doUpdateCursor=function(a){var y=this.diagram;(a===null||this.Bn!==a)&&(!this.diagram.currentTool.isActive||this.mayCopy()?y.currentCursor=this.copyCursor:this.mayMove()?y.currentCursor=this.moveCursor:this.mayDragOut()&&(y.currentCursor=this.nodropCursor))};function li(a,y,E){var x=!1,b=a.Cg.length,z=0<b?a.Cg[0]:null;if(E===z)return!1;y.handled=!1;for(var ne=0;ne<b;ne++){var re=a.Cg[ne],oe=re.mouseDragLeave;if(oe!==null&&(oe(y,re,E),x=!0,y.handled))break}if(a.Cg.length=0,!a.isActive&&Yi===null||E===null)return x;for(y.handled=!1,b=E;b!==null;)a.Cg.push(b),b=Fi(b);for(b=a.Cg.length,E=0;E<b&&(ne=a.Cg[E],re=ne.mouseDragEnter,re===null||(re(y,ne,z),x=!0,!y.handled));E++);return x}function Fi(a){var y=a.panel;return y!==null?y:a instanceof Ki&&!(a instanceof Cr)&&(a=a.containingGroup,a!==null&&a.handlesDragDropForMembers)?a:null}function gi(a,y,E){var x=a.Oe;if(x===null)return null;var b=a.diagram.og(y,x.portGravity,function(he){return x.findValidLinkablePort(he,E)});a=st.alloc();var z=1/0,ne=null;for(b=b.iterator;b.next();){var re=b.value;if(re.part!==null){var oe=re.ga(Yr,a);oe=y.Bf(oe),oe<z&&(ne=re,z=oe)}}return st.free(a),ne}function Ai(a,y){var E=a.draggedLink;if(E!==null&&!(2>E.pointsCount)){var x=a.diagram;if(!x.isReadOnly){var b=a.Oe;if(b!==null){var z=null,ne=null;E.fromNode===null&&(z=gi(a,E.i(0),!1),z!==null&&(ne=z.part));var re=null,oe=null;E.toNode===null&&(re=gi(a,E.i(E.pointsCount-1),!0),re!==null&&(oe=re.part)),b.isValidLink(ne,z,oe,re)?y?(E.defaultFromPoint=E.i(0),E.defaultToPoint=E.i(E.pointsCount-1),E.suspendsRouting=!1,E.fromNode=ne,z!==null&&(E.fromPortId=z.portId),E.toNode=oe,re!==null&&(E.toPortId=re.portId),E.fromPort!==x.Mx&&x.R("LinkRelinked",E,x.Mx),E.toPort!==x.Nx&&x.R("LinkRelinked",E,x.Nx)):et(b,ne,z,oe,re):et(b,null,null,null,null)}}}}ya.prototype.doDragOver=function(){};function xi(a,y){var E=a.diagram;a.dragsLink&&Ai(a,!0),Dt(a);var x=a.findDragOverObject(y),b=E.lastInput;if(b.targetObject=x,x!==null){b.handled=!1;for(var z=x;z!==null;){var ne=z.mouseDrop;if(ne!==null&&(ne(b,z),b.handled))break;zi(a,b,z),z=Fi(z)}}else z=E.mouseDrop,z!==null&&z(b);if(a.isActive||Yi!==null){for(b=(a.copiedParts||a.draggedParts).iterator;b.next();)z=b.key,z instanceof yi&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,x),a.isActive||Yi!==null){for(a=an.alloc(),y=E.selection.iterator;y.next();)x=y.value,x instanceof yi&&fr(E,x,a);an.free(a)}}}function zi(a,y,E){a=a.diagram,E=E.part,!a.handlesDragDropForTopLevelParts||!E.isTopLevel||E instanceof Cr||(E=a.mouseDrop,E!==null&&E(y))}function fr(a,y,E){var x=!1;if(E=y.getAvoidableRect(E),a.viewportBounds.Re(E)&&(x=!0),a=a.Nu(E,function(b){return b.part},function(b){return b instanceof $n},!0,function(b){return b instanceof $n},x),a.count!==0)for(a=a.iterator;a.next();)E=a.value,!E.Td(y)&&E.isAvoiding&&E.bb()}ya.prototype.doDropOnto=function(){},ya.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()?(zt(this,!1),Jf(a,this.copiedParts),Tn(this,this.copiedParts,!1),ch(a,this.copiedParts)):this.mayMove()?(ln(this),Tn(this,this.draggedParts,!0)):this.mayDragOut()?(zt(this,!1),Tn(this,this.copiedParts,!1)):ln(this),mi(this,a.lastInput.documentPoint))}},ya.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 E=this.mayCopy();if(E&&this.copiedParts!==null?(ln(this),zt(this,!0),Jf(a,this.copiedParts),Tn(this,this.copiedParts,!1),ch(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(b){b.isSelected=!0}))):(y=!0,ln(this),this.mayMove()&&(Tn(this,this.draggedParts,!0),mi(this,a.lastInput.documentPoint))),this.Ym=!0,xi(this,a.lastInput.documentPoint),this.isActive){var x=E?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&Nr(this),a.Ya(),ch(a,this.draggedParts),this.transactionResult=E?"Copy":"Move",a.R(E?"SelectionCopied":"SelectionMoved",x)}this.stopTool(),E&&a.R("ChangedSelection",a.selection)}}},ya.prototype.simulatedMouseMove=function(a,y,E){if(Yi===null)return!1;var x=Yi.diagram;E instanceof qt||(E=null);var b=Tr;return E!==b&&(b!==null&&b!==x&&(b.ug(),Yi.isDragOutStarted=!1,b=b.toolManager.findTool("Dragging"),b!==null&&b.doSimulatedDragLeave()),Tr=E,E!==null&&E!==x&&(_t(),b=E.toolManager.findTool("Dragging"),b!==null&&(Xu.contains(b)||Xu.add(b),b.doSimulatedDragEnter())),this.doUpdateCursor(null)),E===null||E===x||!E.allowDrop||E.isReadOnly||!E.allowInsert?!1:(x=E.toolManager.findTool("Dragging"),x!==null&&(a!==null&&(a.targetTouches!==void 0&&(0<a.targetTouches.length?a=a.targetTouches[0]:0<a.changedTouches.length&&(a=a.changedTouches[0])),y=E.getMouse(a)),E.lastInput.documentPoint=y,E.lastInput.viewPoint=E.op(y),E.lastInput.down=!1,E.lastInput.up=!1,x.doSimulatedDragOver()),!0)},ya.prototype.simulatedMouseUp=function(a,y,E){if(Yi===null)return!1;var x=Tr,b=Yi.diagram;if(E===null)return Yi.doCancel(),!0;if(E!==x){var z=x.toolManager.findTool("Dragging");if(x!==null&&x!==b&&z!==null)return x.ug(),Yi.isDragOutStarted=!1,z.doSimulatedDragLeave(),!1;Tr=E,x=E.toolManager.findTool("Dragging"),x!==null&&(_t(),Xu.contains(x)||Xu.add(x),x.doSimulatedDragEnter())}return E!==this.diagram?(a!==null?(a.targetTouches!==void 0&&(0<a.targetTouches.length?a=a.targetTouches[0]:0<a.changedTouches.length&&(a=a.changedTouches[0])),y=E.getMouse(a)):y===null&&(y=new st),E.lastInput.documentPoint=y,E.lastInput.viewPoint=E.op(y),E.lastInput.down=!1,E.lastInput.up=!0,a=E.toolManager.findTool("Dragging"),a!==null&&a.doSimulatedDrop(),a=Yi,a!==null&&(E=a.mayCopy(),a.transactionResult=E?"Copy":"Move",a.stopTool()),!0):!1};function Nr(a){if(a.draggedParts!==null)for(var y=a.draggedParts.iterator;y.next();){var E=y.key;E instanceof yi&&(E=E.containingGroup,E===null||E.placeholder===null||a.draggedParts.contains(E)||E.placeholder.v())}}ya.prototype.mayCopy=function(){if(!this.isCopyEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.allowCopy||(Ha?!a.lastInput.alt:!a.lastInput.control))return!1;for(a=a.selection.iterator;a.next();)if(a.value.canCopy())return!0;return!!(this.draggedLink!==null&&this.dragsLink&&this.draggedLink.canCopy())},ya.prototype.mayDragOut=function(){if(!this.isCopyEnabled)return!1;var a=this.diagram;if(!a.allowDragOut||!a.allowCopy||a.allowMove)return!1;for(a=a.selection.iterator;a.next();)if(a.value.canCopy())return!0;return!!(this.draggedLink!==null&&this.dragsLink&&this.draggedLink.canCopy())},ya.prototype.mayMove=function(){var a=this.diagram;if(a.isReadOnly||!a.allowMove)return!1;for(a=a.selection.iterator;a.next();)if(a.value.canMove())return!0;return!!(this.draggedLink!==null&&this.dragsLink&&this.draggedLink.canMove())},ya.prototype.computeBorder=function(a,y,E){return this.Ym||this.draggedParts===null||this.draggedParts.contains(a)?null:E.assign(y)},ya.prototype.Az=function(){return Yi},ya.prototype.mayDragIn=function(){var a=this.diagram;if(!a.allowDrop||a.isReadOnly||a.isModelReadOnly||!a.allowInsert)return!1;var y=Yi;return!(y===null||y.diagram.model.dataFormat!==a.model.dataFormat)},ya.prototype.doSimulatedDragEnter=function(){if(this.mayDragIn()){var a=this.diagram;a.animationManager.Cc(),el(a),a.animationManager.Cc(),a=Yi,a!==null&&(a.diagram.Ns=!1),this.doUpdateCursor(null)}},ya.prototype.doSimulatedDragLeave=function(){var a=Yi;a!==null&&a.doSimulatedDragOut(),this.doCancel()},ya.prototype.doSimulatedDragOver=function(){var a=this.diagram;a.animationManager.Dm=!0;var y=Yi;if(y!==null&&y.draggedParts!==null){if(!this.mayDragIn())return;zr(this,y.draggedParts.Lf(),!1,a.firstInput),Tn(this,this.copiedParts,!1),mi(this,a.lastInput.documentPoint)}a.animationManager.Dm=!1},ya.prototype.doSimulatedDrop=function(){var a=this.diagram,y=Yi;if(y!==null){var E=y.diagram;if(y.Ym=!0,ln(this),!this.mayDragIn())return;a.animationManager.Dm=!0,a.R("ChangingSelection",a.selection),this.Ea("Drop"),zr(this,y.draggedParts.Lf(),!0,a.lastInput),Tn(this,this.copiedParts,!1);var x=new Rt;this.copiedParts!==null&&(a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(b){b.isSelected=!0,x.add(b)})),xi(this,a.lastInput.documentPoint),a.Ya(),this.copiedParts!==null&&(this.transactionResult="ExternalCopy"),this.copiedParts=null,a.doFocus(),a.R("ExternalObjectsDropped",x,E),this.stopTransaction(),a.R("ChangedSelection",a.selection)}a.animationManager.Dm=!1};function zr(a,y,E,x){if(a.copiedParts===null){var b=a.diagram;if(!b.isReadOnly&&!b.isModelReadOnly){b.skipsUndoManager=!E,b.partManager.addsToTemporaryLayer=!E,a.startPoint=x.documentPoint,E=b.Kj(y,b,!0);var z=an.alloc();b=x=1/0;for(var ne=-1/0,re=-1/0,oe=y.iterator;oe.next();){var he=oe.value;if(he.isVisible()){var fe=he.location;he=fe.x,fe=fe.y,isNaN(he)||isNaN(fe)||(he<x&&(x=he),fe<b&&(b=fe),he>ne&&(ne=he),fe>re&&(re=fe))}}for(x===1/0?z.h(0,0,0,0):z.h(x,b,ne-x,re-b),x=z.x+z.width/2,b=z.y+z.height/2,an.free(z),z=a.Fr,ne=new Fn,re=st.alloc(),oe=y.iterator;oe.next();)he=oe.value,he instanceof $n&&he.canCopy()&&(fe=E.I(he),fe!==null&&(fe.points=he.points,Vd(fe,z.x-x,z.y-b),fe.suspendsRouting=!0,ne.add(fe,a.Pd())));for(y=y.iterator;y.next();)he=y.value,he.Zc()&&he.canCopy()&&(oe=E.I(he),oe!==null&&(he=he.location,re.h(z.x-(x-he.x),z.y-(b-he.y)),oe.location=re,oe.Va(),ne.add(oe,a.Pd(re))));st.free(re),a.copiedParts=ne,ht(a,ne.Lf()),a.draggedLink!==null&&(E=a.draggedLink,y=E.routeBounds,Vd(E,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}ya.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},ya.prototype.computeMove=function(a,y,E,x){return E=this.diagram,E!==null?E.computeMove(a,y,this.dragOptions,x):new st},bn.Object.defineProperties(ya.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}}}),ya.prototype.getDraggingSource=ya.prototype.Az;var Yi=null,Tr=null;ya.className="DraggingTool",Xu=new Qn,Si("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),ra.prototype.doCancel=function(){Yi!==null&&Yi.doCancel(),Or.prototype.doCancel.call(this)};function ur(){Or.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new $n,y=new kr;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new kr,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new yi,y=new kr,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Ji,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new yi,y=new kr,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=Ji,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 Fn,this.Of=this.gj=this.Pf=null}Kt(ur,Or),ur.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},ur.prototype.copyPortProperties=function(a,y,E,x,b){if(a!==null&&y!==null&&E!==null&&x!==null){var z=y.Df(),ne=fn.alloc();ne.width=y.naturalBounds.width*z,ne.height=y.naturalBounds.height*z,x.desiredSize=ne,fn.free(ne),b?(x.toSpot=y.toSpot,x.toEndSegmentLength=y.toEndSegmentLength):(x.fromSpot=y.fromSpot,x.fromEndSegmentLength=y.fromEndSegmentLength),E.locationSpot=Yr,z=st.alloc(),E.location=y.ga(Yr,z),st.free(z),x.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,E,x,b)}},ur.prototype.setNoTargetPortProperties=function(a,y,E){y!==null&&(y.desiredSize=Ji,y.fromSpot=pa,y.toSpot=pa),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,E)},ur.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},ur.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof yi){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)}},ur.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var E=a.part;if(!(E instanceof yi))return null;for(;a!==null;){var x=y?a.toLinkable:a.fromLinkable;if(x===!0&&(a.portId!==null||a instanceof yi)&&(y?this.isValidTo(E,a):this.isValidFrom(E,a)))return a;if(x===!1)break;a=a.panel}return null},ur.prototype.findTargetPort=function(a){var y=this.diagram,E=y.lastInput.documentPoint,x=this.portGravity;0>=x&&(x=.1);var b=this,z=y.og(E,x,function(Se){return b.findValidLinkablePort(Se,a)},null,!0);for(x=1/0,y=null,z=z.iterator;z.next();){var ne=z.value,re=ne.part;if(re instanceof yi){var oe=ne.ga(Yr,st.alloc()),he=E.x-oe.x,fe=E.y-oe.y;st.free(oe),oe=he*he+fe*fe,oe<x&&(he=this.validPortsCache.I(ne),he!==null?he&&(y=ne,x=oe):a&&this.isValidLink(this.originalFromNode,this.originalFromPort,re,ne)||!a&&this.isValidLink(re,ne,this.originalToNode,this.originalToPort)?(this.validPortsCache.add(ne,!0),y=ne,x=oe):this.validPortsCache.add(ne,!1))}}return y!==null&&(E=y.part,E instanceof yi&&(E.layer===null||E.layer.allowLink))?y:null},ur.prototype.isValidFrom=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.fromLinkable!==!0))return!1;var E=y.fromMaxLinks;if(1/0>E){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=E)return!1}return!0},ur.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 E=y.toMaxLinks;if(1/0>E){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=E)return!1}return!0},ur.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},ur.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var E=a.part;if(!(E instanceof yi))return!1;a=a.portId,a===null&&(a="");var x=y.part;if(!(x instanceof yi))return!1;for(y=y.portId,y===null&&(y=""),y=x.Sd(y);y.next();)if(x=y.value,x.fromNode===E&&x.fromPortId===a)return!0;return!1},ur.prototype.isValidLink=function(a,y,E,x){if(!this.isValidFrom(a,y)||!this.isValidTo(E,x)||!(y===null||x===null||(y.fromLinkableSelfNode&&x.toLinkableSelfNode||!this.isInSameNode(y,x))&&(y.fromLinkableDuplicates&&x.toLinkableDuplicates||!this.isLinked(y,x)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||E!==null&&this.isLabelDependentOnLink(E,this.originalLink))||a!==null&&E!==null&&(a.data===null&&E.data!==null||a.data!==null&&E.data===null)||!this.isValidCycle(a,E,this.originalLink))return!1;if(a!==null){var b=a.linkValidation;if(b!==null&&!b(a,y,E,x,this.originalLink))return!1}return E!==null&&(b=E.linkValidation,b!==null&&!b(a,y,E,x,this.originalLink))?!1:(b=this.linkValidation,b!==null?b(a,y,E,x,this.originalLink):!0)},ur.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var E=a.labeledLink;if(E===null)return!1;if(E===y)return!0;var x=new Rt;return x.add(a),Ur(this,E,y,x)};function Ur(a,y,E,x){if(y===E)return!0;var b=y.fromNode;return b!==null&&b.isLinkLabel&&(x.add(b),Ur(a,b.labeledLink,E,x))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(x.add(y),Ur(a,y.labeledLink,E,x))))}ur.prototype.isValidCycle=function(a,y,E){if(E===void 0&&(E=null),a===null||y===null)return this.isUnconnectedLinkValid;var x=this.diagram.validCycle;if(x!==Ef){if(x===ap){if(x=E||this.temporaryLink,x!==null&&!x.isTreeLink)return!0;for(x=y.linksConnected;x.next();){var b=x.value;if(b!==E&&b.isTreeLink&&b.toNode===y)return!1}return!mo(this,a,y,E,!0)}if(x===sp){if(x=E||this.temporaryLink,x!==null&&!x.isTreeLink)return!0;for(x=a.linksConnected;x.next();)if(b=x.value,b!==E&&b.isTreeLink&&b.fromNode===a)return!1;return!mo(this,a,y,E,!0)}if(x===ip)return a===y?a=!0:(x=new Rt,x.add(y),a=Fr(this,x,a,y,E)),!a;if(x===rp)return!mo(this,a,y,E,!1);if(x===op)return a===y?a=!0:(x=new Rt,x.add(y),a=Uo(this,x,a,y,E)),!a}return!0};function mo(a,y,E,x,b){if(y===E)return!0;if(y===null||E===null)return!1;for(var z=y.linksConnected;z.next();){var ne=z.value;if(ne!==x&&(!b||ne.isTreeLink)&&ne.toNode===y&&(ne=ne.fromNode,ne!==y&&mo(a,ne,E,x,b)))return!0}return!1}function Fr(a,y,E,x,b){if(E===x)return!0;if(E===null||x===null||y.contains(E))return!1;y.add(E);for(var z=E.linksConnected;z.next();){var ne=z.value;if(ne!==b&&ne.toNode===E&&(ne=ne.fromNode,ne!==E&&Fr(a,y,ne,x,b)))return!0}return!1}function Uo(a,y,E,x,b){if(E===x)return!0;if(E===null||x===null||y.contains(E))return!1;y.add(E);for(var z=E.linksConnected;z.next();){var ne=z.value;if(ne!==b){var re=ne.fromNode;if(ne=ne.toNode,re=re===E?ne:re,re!==E&&Uo(a,y,re,x,b))return!0}}return!1}bn.Object.defineProperties(ur.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 E=y.O.indexOf(this.j);y.mb(E),y.Gb(E,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 E=y.O.indexOf(this.o);y.mb(E),y.Gb(E,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}}}),ur.className="LinkingBaseTool";function wo(){ur.call(this),this.name="Linking",this.V={},this.F=null,this.K=Jo,this.Xd=null}Kt(wo,ur),wo.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},wo.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 yi)))return null;var E=this.direction;if(E===Jo||E===Ce){var x=this.findValidLinkablePort(y,!1);if(x!==null||this.startObject===a&&(x=a.port,this.findValidLinkablePort(x,!1)))return this.isForwards=!0,x}return(E===Jo||E===ze)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},wo.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 yi&&(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 yi&&(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)},wo.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()},wo.prototype.doStop=function(){ur.prototype.doStop.call(this),this.startObject=null},wo.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,E=null,x=null,b=null,z=null;try{var ne=this.targetPort=this.findTargetPort(this.isForwards);if(ne!==null){var re=ne.part;re instanceof yi&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,E=this.originalFromPort),x=re,b=ne):(y=re,E=ne,this.originalToNode!==null&&(x=this.originalToNode,b=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,E=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(x=this.originalToNode,b=this.originalToPort);y!==null||x!==null?(z=this.insertLink(y,E,x,b),z!==null?(ne===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,E,x,b)):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)}}},wo.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof $n)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)},wo.prototype.insertLink=function(a,y,E,x){return this.diagram.partManager.insertLink(a,y,E,x)},wo.prototype.doNoLink=function(){},bn.Object.defineProperties(wo.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 Jo=new nn(wo,"Either",0),Ce=new nn(wo,"ForwardsOnly",0),ze=new nn(wo,"BackwardsOnly",0);wo.className="LinkingTool",wo.Either=Jo,wo.ForwardsOnly=Ce,wo.BackwardsOnly=ze;function Ve(){ur.call(this),this.name="Relinking";var a=new kr;a.figure="Diamond",a.desiredSize=io,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new kr,a.figure="Diamond",a.desiredSize=io,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new an}Kt(Ve,ur),Ve.prototype.updateAdornments=function(a){if(a!==null&&a instanceof $n){var y="RelinkFrom",E=null;if(a.isSelected&&!this.diagram.isReadOnly){var x=a.selectionObject;x!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&x.actualBounds.w()&&x.Ed()&&(E=a.Pj(y),E===null&&(E=this.makeAdornment(x,!1),a.bh(y,E)))}E===null&&a.Jf(y),y="RelinkTo",E=null,a.isSelected&&!this.diagram.isReadOnly&&(x=a.selectionObject,x!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&x.actualBounds.w()&&x.Ed()&&(E=a.Pj(y),E===null?(E=this.makeAdornment(x,!0),a.bh(y,E)):E.v())),E===null&&a.Jf(y)}},Ve.prototype.makeAdornment=function(a,y){var E=new Eo;return E.type=Yn.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&E.add(y.copy()),E.adornedObject=a,E},Ve.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},Ve.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 E=y.part;if(!(E instanceof Eo&&E.adornedPart instanceof $n))return;this.handle=y,this.isForwards=E===null||E.category==="RelinkTo",this.originalLink=E.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&&0<this.originalLink.pointsCount&&(this.originalLink.fromNode===null&&(this.temporaryFromPort!==null&&(this.temporaryFromPort.desiredSize=$i),this.temporaryFromNode!==null&&(this.temporaryFromNode.location=this.originalLink.i(0))),this.originalLink.toNode===null&&(this.temporaryToPort!==null&&(this.temporaryToPort.desiredSize=$i),this.temporaryToNode!==null&&(this.temporaryToNode.location=this.originalLink.i(this.originalLink.pointsCount-1)))),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0),a.add(this.temporaryFromNode),a.add(this.temporaryToNode),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.copyLinkProperties(this.originalLink,this.temporaryLink),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0},Ve.prototype.copyLinkProperties=function(a,y){if(a!==null&&y!==null){y.adjusting=a.adjusting,y.corner=a.corner;var E=a.curve;(E===xg||E===Yd)&&(E=Ll),y.curve=E,y.curviness=a.curviness,y.isTreeLink=a.isTreeLink,y.points=a.points,y.routing=a.routing,y.smoothness=a.smoothness,y.fromSpot=a.fromSpot,y.fromEndSegmentLength=a.fromEndSegmentLength,y.fromShortLength=a.fromShortLength,y.toSpot=a.toSpot,y.toEndSegmentLength=a.toEndSegmentLength,y.toShortLength=a.toShortLength}},Ve.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()},Ve.prototype.doStop=function(){ur.prototype.doStop.call(this),this.handle=null},Ve.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram;this.transactionResult=null;var y=this.originalFromNode,E=this.originalFromPort,x=this.originalToNode,b=this.originalToPort,z=this.originalLink;try{if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null){var ne=this.targetPort.part;ne instanceof yi&&(this.isForwards?(x=ne,b=this.targetPort):(y=ne,E=this.targetPort))}else this.isUnconnectedLinkValid?this.isForwards?b=x=null:E=y=null:z=null;z!==null?(this.reconnectLink(z,this.isForwards?x:y,this.isForwards?b:E,this.isForwards),this.targetPort===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint,z.bb()),this.transactionResult=this.name,a.R("LinkRelinked",z,this.isForwards?this.originalToPort:this.originalFromPort)):this.doNoRelink(this.originalLink,this.isForwards),this.originalLink.Xo(this.Ew)}finally{this.stopTool()}}},Ve.prototype.reconnectLink=function(a,y,E,x){return E=E!==null&&E.portId!==null?E.portId:"",x?(a.toNode=y,a.toPortId=E):(a.fromNode=y,a.fromPortId=E),!0},Ve.prototype.doNoRelink=function(){};function et(a,y,E,x,b){y!==null?(a.copyPortProperties(y,E,a.temporaryFromNode,a.temporaryFromPort,!1),a.diagram.add(a.temporaryFromNode)):a.diagram.remove(a.temporaryFromNode),x!==null?(a.copyPortProperties(x,b,a.temporaryToNode,a.temporaryToPort,!0),a.diagram.add(a.temporaryToNode)):a.diagram.remove(a.temporaryToNode)}bn.Object.defineProperties(Ve.prototype,{fromHandleArchetype:{get:function(){return this.V},set:function(a){this.V=a}},toHandleArchetype:{get:function(){return this.Xd},set:function(a){this.Xd=a}},handle:{get:function(){return this.F},set:function(a){if(a!==null&&!(a.part instanceof Eo))throw Error("new handle is not in an Adornment: "+a);this.F=a}}}),Ve.className="RelinkingTool",Si("linkingTool",function(){return this.findTool("Linking")},function(a){this.gb("Linking",a,this.mouseMoveTools)}),Si("relinkingTool",function(){return this.findTool("Relinking")},function(a){this.gb("Relinking",a,this.mouseDownTools)});function gt(){Or.call(this),this.name="LinkReshaping";var a=new kr;a.figure="Rectangle",a.desiredSize=Gr,a.fill="lightblue",a.stroke="dodgerblue",this.o=a,a=new kr,a.figure="Diamond",a.desiredSize=io,a.fill="lightblue",a.stroke="dodgerblue",a.cursor="move",this.u=a,this.F=3,this.Ts=this.j=null,this.Fw=new st,this.Yq=new Qn}Kt(gt,Or),gt.prototype.Ru=function(a){return a&&a.reshapingBehavior.value!==0?a.reshapingBehavior:Pt},gt.prototype.om=function(a,y){a.reshapingBehavior=y},gt.prototype.updateAdornments=function(a){if(a!==null&&a instanceof $n){var y=null;if(a.isSelected&&!this.diagram.isReadOnly){var E=a.path;E!==null&&a.canReshape()&&a.actualBounds.w()&&a.isVisible()&&E.actualBounds.w()&&E.Ed()&&(y=a.Pj(this.name),y===null||y.Aw!==a.pointsCount||y.Uw!==a.resegmentable)&&(y=this.makeAdornment(E),y!==null&&(y.Aw=a.pointsCount,y.Uw=a.resegmentable,a.bh(this.name,y)))}y===null&&a.Jf(this.name)}},gt.prototype.makeAdornment=function(a){var y=a.part,E=y.pointsCount,x=y.isOrthogonal,b=null;if(y.points!==null&&1<E){b=new Eo,b.type=Yn.Link,E=y.firstPickIndex;var z=y.lastPickIndex,ne=x?1:0;if(y.resegmentable&&y.computeCurve()!==Pu)for(var re=E+ne;re<z-ne;re++){var oe=this.makeResegmentHandle(a,re);oe!==null&&(oe.segmentIndex=re,oe.segmentFraction=.5,oe.fromMaxLinks=999,b.add(oe))}for(ne=E+1;ne<z;ne++)if(re=this.makeHandle(a,ne),re!==null){if(re.segmentIndex=ne,ne!==E)if(ne===E+1&&x){oe=y.i(E);var he=y.i(E+1);Ht.B(oe.x,he.x)&&Ht.B(oe.y,he.y)&&(he=y.i(E-1)),Ht.B(oe.x,he.x)?(this.om(re,xn),re.cursor="n-resize"):Ht.B(oe.y,he.y)&&(this.om(re,Vt),re.cursor="w-resize")}else ne===z-1&&x?(oe=y.i(z-1),he=y.i(z),Ht.B(oe.x,he.x)&&Ht.B(oe.y,he.y)&&(oe=y.i(z+1)),Ht.B(oe.x,he.x)?(this.om(re,xn),re.cursor="n-resize"):Ht.B(oe.y,he.y)&&(this.om(re,Vt),re.cursor="w-resize")):ne!==z&&(this.om(re,wn),re.cursor="move");b.add(re)}b.adornedObject=a}return b},gt.prototype.makeHandle=function(){var a=this.handleArchetype;return a===null?null:a.copy()},gt.prototype.makeResegmentHandle=function(){var a=this.midHandleArchetype;return a===null?null:a.copy()},gt.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowReshape&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},gt.prototype.doActivate=function(){var a=this.diagram;if(this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null){var y=this.handle.part.adornedPart;if(y instanceof $n){if(this.Ts=y,a.isMouseCaptured=!0,this.Ea(this.name),y.resegmentable&&this.handle.fromMaxLinks===999){var E=y.points.copy(),x=this.getResegmentingPoint();if(E.Gb(this.handle.segmentIndex+1,x),y.isOrthogonal&&E.Gb(this.handle.segmentIndex+1,x),y.points=E,y.Wb(),y.updateAdornments(),this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name),this.handle===null){this.doDeactivate();return}}this.Fw=y.i(this.handle.segmentIndex),this.Yq=y.points.copy(),this.isActive=!0}}},gt.prototype.doDeactivate=function(){this.stopTransaction(),this.Ts=this.handle=null,this.isActive=this.diagram.isMouseCaptured=!1},gt.prototype.stopTransaction=function(){var a=this.diagram,y=Or.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},gt.prototype.doCancel=function(){var a=this.adornedLink;a!==null&&(a.points=this.Yq),this.stopTool()},gt.prototype.getResegmentingPoint=function(){return this.handle.ga(Yr)},gt.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeReshape(a.lastInput.documentPoint),this.reshape(a))},gt.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.computeReshape(a.lastInput.documentPoint);if(this.reshape(y),y=this.adornedLink,y!==null&&y.resegmentable){var E=this.handle.segmentIndex,x=y.i(E-1),b=y.i(E),z=y.i(E+1);if(y.isOrthogonal){if(E>y.firstPickIndex+1&&E<y.lastPickIndex-1){var ne=y.i(E-2);if(Math.abs(x.x-b.x)<this.resegmentingDistance&&Math.abs(x.y-b.y)<this.resegmentingDistance&&(St(this,ne,x,b,z,!0)||St(this,ne,x,b,z,!1))){var re=y.points.copy();St(this,ne,x,b,z,!0)?(re.cd(E-2,new st(ne.x,(z.y+ne.y)/2)),re.cd(E+1,new st(z.x,(z.y+ne.y)/2))):(re.cd(E-2,new st((z.x+ne.x)/2,ne.y)),re.cd(E+1,new st((z.x+ne.x)/2,z.y))),re.mb(E),re.mb(E-1),y.points=re,y.Wb()}else ne=y.i(E+2),Math.abs(b.x-z.x)<this.resegmentingDistance&&Math.abs(b.y-z.y)<this.resegmentingDistance&&(St(this,x,b,z,ne,!0)||St(this,x,b,z,ne,!1))&&(re=y.points.copy(),St(this,x,b,z,ne,!0)?(re.cd(E-1,new st(x.x,(x.y+ne.y)/2)),re.cd(E+2,new st(ne.x,(x.y+ne.y)/2))):(re.cd(E-1,new st((x.x+ne.x)/2,x.y)),re.cd(E+2,new st((x.x+ne.x)/2,ne.y))),re.mb(E+1),re.mb(E),y.points=re,y.Wb())}}else ne=st.alloc(),Ht.qh(x.x,x.y,z.x,z.y,b.x,b.y,ne)&&ne.Bf(b)<this.resegmentingDistance*this.resegmentingDistance&&(x=y.points.copy(),x.mb(E),y.points=x,y.Wb()),st.free(ne)}a.Ya(),this.transactionResult=this.name,a.R("LinkReshaped",this.adornedLink,this.Yq)}this.stopTool()};function St(a,y,E,x,b,z){return z?Math.abs(y.y-E.y)<a.resegmentingDistance&&Math.abs(E.y-x.y)<a.resegmentingDistance&&Math.abs(x.y-b.y)<a.resegmentingDistance:Math.abs(y.x-E.x)<a.resegmentingDistance&&Math.abs(E.x-x.x)<a.resegmentingDistance&&Math.abs(x.x-b.x)<a.resegmentingDistance}gt.prototype.reshape=function(a){var y=this.adornedLink;y.uh();var E=this.handle.segmentIndex,x=this.Ru(this.handle);if(y.isOrthogonal)if(E===y.firstPickIndex+1)E=y.firstPickIndex+1,x===xn?(y.L(E,y.i(E-1).x,a.y),y.L(E+1,y.i(E+2).x,a.y)):x===Vt&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.fromNode,b=y.fromPort,x!==null&&(z=x.findVisibleNode(),z!==null&&z!==x&&(x=z,b=x.port)),E===1&&y.computeSpot(!0,b).Mc()&&(z=b.ga(Yr,st.alloc()),x=y.getLinkPointFromPoint(x,b,z,a,!0,st.alloc()),y.L(0,x.x,x.y),st.free(z),st.free(x)),x=y.toNode,b=y.toPort,x!==null&&(z=x.findVisibleNode(),z!==null&&z!==x&&(x=z,b=x.port)),E===y.pointsCount-2&&y.computeSpot(!1,b).Mc()&&(E=b.ga(Yr,st.alloc()),a=y.getLinkPointFromPoint(x,b,E,a,!1,st.alloc()),y.L(y.pointsCount-1,a.x,a.y),st.free(E),st.free(a));y.zf()},gt.prototype.computeReshape=function(a){var y=this.adornedLink,E=this.handle.segmentIndex;switch(this.Ru(this.handle)){case wn:return a;case xn:return new st(y.i(E).x,a.y);case Vt:return new st(a.x,y.i(E).y);default:case Pt:return y.i(E)}},bn.Object.defineProperties(gt.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},midHandleArchetype:{get:function(){return this.u},set:function(a){this.u=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof Eo))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedLink:{get:function(){return this.Ts}},resegmentingDistance:{get:function(){return this.F},set:function(a){this.F=a}},originalPoint:{get:function(){return this.Fw}},originalPoints:{get:function(){return this.Yq}}}),gt.prototype.setReshapingBehavior=gt.prototype.om,gt.prototype.getReshapingBehavior=gt.prototype.Ru;var Pt=new nn(gt,"None",0),Vt=new nn(gt,"Horizontal",1),xn=new nn(gt,"Vertical",2),wn=new nn(gt,"All",3);gt.className="LinkReshapingTool",gt.None=Pt,gt.Horizontal=Vt,gt.Vertical=xn,gt.All=wn,Si("linkReshapingTool",function(){return this.findTool("LinkReshaping")},function(a){this.gb("LinkReshaping",a,this.mouseDownTools)});function dn(){Or.call(this),this.name="Resizing",this.o=new fn(1,1).freeze(),this.j=new fn(9999,9999).freeze(),this.yg=new fn(NaN,NaN).freeze(),this.V=!1,this.ia=!0,this.ue=null;var a=new kr;a.alignmentFocus=Yr,a.figure="Rectangle",a.desiredSize=Gr,a.fill="lightblue",a.stroke="dodgerblue",a.strokeWidth=1,a.cursor="pointer",this.F=a,this.u=null,this.Xq=new st,this.Dw=new fn,this.Tn=new st,this.rt=new fn(0,0),this.qt=new fn(1/0,1/0),this.pt=new fn(1,1)}Kt(dn,Or),dn.prototype.updateAdornments=function(a){if(!(a===null||a instanceof $n)){if(a.isSelected&&!this.diagram.isReadOnly){var y=a.resizeObject,E=a.Pj(this.name);if(y!==null&&a.canResize()&&a.actualBounds.w()&&a.isVisible()&&y.actualBounds.w()&&y.Ed()&&((E===null||E.adornedObject!==y)&&(E=this.makeAdornment(y)),E!==null)){y=y.li(),mh(a)&&this.updateResizeHandles(E,y),a.bh(this.name,E);return}}a.Jf(this.name)}},dn.prototype.makeAdornment=function(a){var y=a.part.resizeAdornmentTemplate;if(y===null){y=new Eo,y.type=Yn.Spot,y.locationSpot=Yr;var E=new Nl;E.isPanelMain=!0,y.add(E),y.add(this.makeHandle(a,ka)),y.add(this.makeHandle(a,wa)),y.add(this.makeHandle(a,ws)),y.add(this.makeHandle(a,Ba)),y.add(this.makeHandle(a,Sr)),y.add(this.makeHandle(a,no)),y.add(this.makeHandle(a,Lo)),y.add(this.makeHandle(a,Kr))}else if(tc(y),y=y.copy(),y===null)return null;return y.adornedObject=a,y},dn.prototype.makeHandle=function(a,y){return a=this.handleArchetype,a===null?null:(a=a.copy(),a.alignment=y,a)},dn.prototype.updateResizeHandles=function(a,y){if(a!==null){if(!a.alignment.Xb()&&(a.cursor==="pointer"||0<a.cursor.indexOf("resize")))e:{var E=a.alignment;if(E.Mc()&&(E=Yr),0>=E.x)y=0>=E.y?y+225:1<=E.y?y+135:y+180;else if(1<=E.x)0>=E.y?y+=315:1<=E.y&&(y+=45);else if(0>=E.y)y+=270;else if(1<=E.y)y+=90;else break e;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 Yn)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},dn.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},dn.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))},dn.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},dn.prototype.stopTransaction=function(){var a=this.diagram,y=Or.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},dn.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},dn.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,E=this.qt,x=this.pt,b=this.adornedObject.qs(a.lastInput.documentPoint,st.alloc()),z=this.computeReshape();y=this.computeResize(b,this.handle.alignment,y,E,x,z),this.resize(y),a.bd(),st.free(b)}},dn.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,E=this.qt,x=this.pt,b=this.adornedObject.qs(a.lastInput.documentPoint,st.alloc()),z=this.computeReshape();y=this.computeResize(b,this.handle.alignment,y,E,x,z),this.resize(y),st.free(b),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},dn.prototype.resize=function(a){var y=this.diagram,E=this.adornedObject;if(E!==null){if(E.desiredSize=a.size,a=E.part,a.Va(),E=E.ga(this.handle.alignment.gv()),a instanceof Cr){var x=new Qn;if(x.add(a),!this.dragsMembers&&a.placeholder===null){var b=new ae;b.dragsMembers=!1}y.moveParts(x,this.oppositePoint.copy().re(E),!0,b)}else a.location=a.location.copy().re(E).add(this.oppositePoint);y.bd()}},dn.prototype.computeResize=function(a,y,E,x,b,z){y.Mc()&&(y=Yr);var ne=this.adornedObject.naturalBounds,re=ne.x,oe=ne.y,he=ne.x+ne.width,fe=ne.y+ne.height,Se=1;if(!z){Se=ne.width;var Te=ne.height;0>=Se&&(Se=1),0>=Te&&(Te=1),Se=Te/Se}return Te=st.alloc(),Ht.No(a.x,a.y,re,oe,b.width,b.height,Te),a=ne.copy(),0>=y.x?0>=y.y?(a.x=Math.max(Te.x,he-x.width),a.x=Math.min(a.x,he-E.width),a.width=Math.max(he-a.x,E.width),a.y=Math.max(Te.y,fe-x.height),a.y=Math.min(a.y,fe-E.height),a.height=Math.max(fe-a.y,E.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(Se*a.width,x.height),E.height),a.width=a.height/Se):(a.width=Math.max(Math.min(a.height/Se,x.width),E.width),a.height=Se*a.width),a.x=he-a.width,a.y=fe-a.height)):1<=y.y?(a.x=Math.max(Te.x,he-x.width),a.x=Math.min(a.x,he-E.width),a.width=Math.max(he-a.x,E.width),a.height=Math.max(Math.min(Te.y-oe,x.height),E.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(Se*a.width,x.height),E.height),a.width=a.height/Se):(a.width=Math.max(Math.min(a.height/Se,x.width),E.width),a.height=Se*a.width),a.x=he-a.width)):(a.x=Math.max(Te.x,he-x.width),a.x=Math.min(a.x,he-E.width),a.width=he-a.x,z||(a.height=Math.max(Math.min(Se*a.width,x.height),E.height),a.width=a.height/Se,a.y=oe+.5*(fe-oe-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(Te.x-re,x.width),E.width),a.y=Math.max(Te.y,fe-x.height),a.y=Math.min(a.y,fe-E.height),a.height=Math.max(fe-a.y,E.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(Se*a.width,x.height),E.height),a.width=a.height/Se):(a.width=Math.max(Math.min(a.height/Se,x.width),E.width),a.height=Se*a.width),a.y=fe-a.height)):1<=y.y?(a.width=Math.max(Math.min(Te.x-re,x.width),E.width),a.height=Math.max(Math.min(Te.y-oe,x.height),E.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(Se*a.width,x.height),E.height),a.width=a.height/Se):(a.width=Math.max(Math.min(a.height/Se,x.width),E.width),a.height=Se*a.width))):(a.width=Math.max(Math.min(Te.x-re,x.width),E.width),z||(a.height=Math.max(Math.min(Se*a.width,x.height),E.height),a.width=a.height/Se,a.y=oe+.5*(fe-oe-a.height))):0>=y.y?(a.y=Math.max(Te.y,fe-x.height),a.y=Math.min(a.y,fe-E.height),a.height=fe-a.y,z||(a.width=Math.max(Math.min(a.height/Se,x.width),E.width),a.height=Se*a.width,a.x=re+.5*(he-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(Te.y-oe,x.height),E.height),z||(a.width=Math.max(Math.min(a.height/Se,x.width),E.width),a.height=Se*a.width,a.x=re+.5*(he-re-a.width))),st.free(Te),a},dn.prototype.computeReshape=function(){var a=Rn;return this.adornedObject instanceof kr&&(a=Pv(this.adornedObject)),!(a===Bi||this.diagram.lastInput.shift)},dn.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},dn.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.width<a.width&&(a.width=y.width),!isNaN(y.height)&&y.height<a.height&&(a.height=y.height),a},dn.prototype.computeCellSize=function(){var a=new fn(NaN,NaN),y=this.adornedObject.part;return y!==null&&(y=y.resizeCellSize,!isNaN(y.width)&&0<y.width&&(a.width=y.width),!isNaN(y.height)&&0<y.height&&(a.height=y.height)),y=this.cellSize,isNaN(a.width)&&!isNaN(y.width)&&0<y.width&&(a.width=y.width),isNaN(a.height)&&!isNaN(y.height)&&0<y.height&&(a.height=y.height),y=this.diagram,(isNaN(a.width)||isNaN(a.height))&&y&&(y=y.grid,y!==null&&y.visible&&this.isGridSnapEnabled&&(y=y.gridCellSize,isNaN(a.width)&&!isNaN(y.width)&&0<y.width&&(a.width=y.width),isNaN(a.height)&&!isNaN(y.height)&&0<y.height&&(a.height=y.height))),(isNaN(a.width)||a.width===0||a.width===1/0)&&(a.width=1),(isNaN(a.height)||a.height===0||a.height===1/0)&&(a.height=1),a},bn.Object.defineProperties(dn.prototype,{handleArchetype:{get:function(){return this.F},set:function(a){this.F=a}},handle:{get:function(){return this.u},set:function(a){if(a!==null&&!(a.part instanceof Eo))throw Error("new handle is not in an Adornment: "+a);this.u=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof Eo)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},minSize:{get:function(){return this.o},set:function(a){if(!this.o.D(a)){var y=a.width;isNaN(y)&&(y=0),a=a.height,isNaN(a)&&(a=0),this.o.h(y,a)}}},maxSize:{get:function(){return this.j},set:function(a){if(!this.j.D(a)){var y=a.width;isNaN(y)&&(y=1/0),a=a.height,isNaN(a)&&(a=1/0),this.j.h(y,a)}}},cellSize:{get:function(){return this.yg},set:function(a){this.yg.D(a)||this.yg.assign(a)}},isGridSnapEnabled:{get:function(){return this.V},set:function(a){this.V=a}},dragsMembers:{get:function(){return this.ia},set:function(a){this.ia=a}},oppositePoint:{get:function(){return this.Xq},set:function(a){this.Xq.D(a)||this.Xq.assign(a)}},originalDesiredSize:{get:function(){return this.Dw}},originalLocation:{get:function(){return this.Tn}}}),dn.className="ResizingTool",Si("resizingTool",function(){return this.findTool("Resizing")},function(a){this.gb("Resizing",a,this.mouseDownTools)});function Gn(){Or.call(this),this.name="Rotating",this.ia=45,this.V=2,this.Tn=new st,this.ue=null;var a=new kr;a.figure="Ellipse",a.desiredSize=io,a.fill="lightblue",a.stroke="dodgerblue",a.strokeWidth=1,a.cursor="pointer",this.o=a,this.j=null,this.Cw=0,this.kr=new st(NaN,NaN),this.u=0,this.F=50}Kt(Gn,Or),Gn.prototype.updateAdornments=function(a){if(a!==null){if(a.ph()){var y=a.rotateObject;if(y===a||y===a.path||y.isPanelMain)return}if(a.isSelected&&!this.diagram.isReadOnly&&(y=a.rotateObject,y!==null&&a.canRotate()&&a.actualBounds.w()&&a.isVisible()&&y.actualBounds.w()&&y.Ed())){var E=a.Pj(this.name);if((E===null||E.adornedObject!==y)&&(E=this.makeAdornment(y)),E!==null){E.angle=y.li(),E.placeholder===null&&(E.location=this.computeAdornmentLocation(y)),a.bh(this.name,E);return}}a.Jf(this.name)}},Gn.prototype.makeAdornment=function(a){var y=a.part.rotateAdornmentTemplate;if(y===null){y=new Eo,y.type=Yn.Position,y.locationSpot=Yr;var E=this.handleArchetype;E!==null&&y.add(E.copy())}else if(tc(y),y=y.copy(),y===null)return null;return y.adornedObject=a,y},Gn.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowRotate&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},Gn.prototype.doActivate=function(){var a=this.diagram;if(this.adornedObject===null){if(this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle===null)return;this.adornedObject=this.handle.part.adornedObject}this.adornedObject!==null&&(a.isMouseCaptured=!0,a.delaysLayout=!0,this.Ea(this.name),this.Cw=this.adornedObject.angle,this.kr=this.computeRotationPoint(this.adornedObject),this.Tn=this.adornedObject.part.location.copy(),this.isActive=!0)},Gn.prototype.computeRotationPoint=function(a){var y=a.part,E=y.locationObject;return y.rotationSpot.sb()?a.ga(y.rotationSpot):a===y||a===E?E.ga(y.locationSpot):a.ga(Yr)},Gn.prototype.computeAdornmentLocation=function(a){var y=this.rotationPoint;y.w()||(y=this.computeRotationPoint(a)),y=a.qs(y);var E=this.handleAngle;0>E?E+=360:360<=E&&(E-=360),E=Math.round(45*Math.round(E/45));var x=this.handleDistance;return E===0?y.x=a.naturalBounds.width+x:E===45?(y.x=a.naturalBounds.width+x,y.y=a.naturalBounds.height+x):E===90?y.y=a.naturalBounds.height+x:E===135?(y.x=-x,y.y=a.naturalBounds.height+x):E===180?y.x=-x:E===225?(y.x=-x,y.y=-x):E===270?y.y=-x:E===315&&(y.x=a.naturalBounds.width+x,y.y=-x),a.ga(y)},Gn.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new st(NaN,NaN),this.isActive=a.isMouseCaptured=!1},Gn.prototype.stopTransaction=function(){var a=this.diagram,y=Or.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Gn.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},Gn.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},Gn.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()},Gn.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var E=y.locationObject,x=y.rotateObject;(E===x||E.rg(x))&&(E=this.Tn.copy(),y.location=E.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},Gn.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 E=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0<y&&0<E&&(a%y<E?a=Math.floor(a/y)*y:a%y>y-E&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},bn.Object.defineProperties(Gn.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 Eo))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 Eo)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}}}),Gn.className="RotatingTool",Si("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Wn(){Or.call(this),this.name="ClickSelecting"}Kt(Wn,Or),Wn.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Wn.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Wn.className="ClickSelectingTool";function Pn(){Or.call(this),this.name="Action",this.pk=null}Kt(Pn,Or),Pn.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,E=a.ic(y.documentPoint,function(x){for(;x.panel!==null&&!x.isActionable;)x=x.panel;return x});return E!==null&&E.isActionable?(this.pk=E,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},Pn.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()},Pn.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))}},Pn.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(E){for(;E.panel!==null&&(!E.isActionable||E!==y);)E=E.panel;return E},function(E){return E===y})}this.stopTool()},Pn.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())},Pn.prototype.doStop=function(){this.pk=null},Pn.className="ActionTool";function le(){Or.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new st(0,0)}Kt(le,Or),le.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)},le.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},le.prototype.insertPart=function(a){var y=this.diagram,E=this.archetypeNodeData;if(E===null)return null;var x=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),E instanceof Ki)E.Zc()&&(tc(E),x=E.copy(),x!==null&&y.add(x));else if(E!==null){var b=y.model.copyNodeData(E);jn(b)&&(y.model.xf(b),x=y.Lc(b))}if(x!==null){var z=st.allocAt(a.x,a.y);this.isGridSnapEnabled&&Qf(this.diagram,x,a,z),x.location=z,y.allowSelect&&(y.clearSelection(!0),x.isSelected=!0),st.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",x)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return x},bn.Object.defineProperties(le.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}}}),le.className="ClickCreatingTool";function pe(){Or.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new Ki;a.layerName="Tool",a.selectable=!1;var y=new kr;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}Kt(pe,Or),pe.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.timestamp<this.delay||a.Ol(y.documentPoint,!0)!==null))},pe.prototype.doActivate=function(){var a=this.diagram;this.isActive=!0,a.isMouseCaptured=!0,a.skipsUndoManager=!0,a.add(this.box),this.doMouseMove()},pe.prototype.doDeactivate=function(){var a=this.diagram;a.ug(),a.remove(this.box),a.skipsUndoManager=!1,this.isActive=a.isMouseCaptured=!1},pe.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive&&this.box!==null){var y=this.computeBoxBounds(),E=this.box.fb("SHAPE");E===null&&(E=this.box.Pb());var x=fn.alloc().h(y.width,y.height);E.desiredSize=x,this.box.mm(y.x,y.y,!1),fn.free(x),(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},pe.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram;a.remove(this.box);try{a.currentCursor="wait",a.R("ChangingSelection",a.selection),this.selectInRect(this.computeBoxBounds()),a.R("ChangedSelection",a.selection)}finally{a.currentCursor=""}}this.stopTool()},pe.prototype.computeBoxBounds=function(){var a=this.diagram;return new an(a.firstInput.documentPoint,a.lastInput.documentPoint)},pe.prototype.selectInRect=function(a){var y=this.diagram,E=y.lastInput;if(a=y.ux(a,this.isPartialInclusion),Ha?E.meta:E.control)if(E.shift)for(a=a.iterator;a.next();)y=a.value,y.isSelected&&(y.isSelected=!1);else for(a=a.iterator;a.next();)y=a.value,y.isSelected=!y.isSelected;else if(E.shift)for(a=a.iterator;a.next();)y=a.value,y.isSelected||(y.isSelected=!0);else{for(E=new Qn,y=y.selection.iterator;y.next();){var x=y.value;a.contains(x)||E.add(x)}for(y=E.iterator;y.next();)y.value.isSelected=!1;for(a=a.iterator;a.next();)y=a.value,y.isSelected||(y.isSelected=!0)}},bn.Object.defineProperties(pe.prototype,{delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}},isPartialInclusion:{get:function(){return this.o},set:function(a){this.o=a}},box:{get:function(){return this.j},set:function(a){this.j=a}}}),pe.className="DragSelectingTool";function Ge(){Or.call(this),this.name="Panning",this.Xt=new st,this.xy=new st,this.xg=!1;var a=this;this.Kw=function(){var y=a.diagram;y!==null&&y.removeEventListener(sn.document,"scroll",a.Kw,!1),a.stopTool()}}Kt(Ge,Or),Ge.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!(!a.allowHorizontalScroll&&!a.allowVerticalScroll||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize())},Ge.prototype.doActivate=function(){var a=this.diagram;this.xg?(a.lastInput.bubbles=!0,a.addEventListener(sn.document,"scroll",this.Kw,!1)):(a.currentCursor="move",a.isMouseCaptured=!0,this.Xt.assign(a.position)),this.isActive=!0},Ge.prototype.doDeactivate=function(){var a=this.diagram;a.currentCursor="",this.isActive=a.isMouseCaptured=!1},Ge.prototype.doCancel=function(){var a=this.diagram;a.position=this.Xt,a.isMouseCaptured=!1,this.stopTool()},Ge.prototype.doMouseMove=function(){this.move()},Ge.prototype.doMouseUp=function(){this.move(),this.stopTool()},Ge.prototype.move=function(){var a=this.diagram;if(this.isActive&&a)if(this.xg)a.lastInput.bubbles=!0;else{var y=a.position,E=a.firstInput.documentPoint,x=a.lastInput.documentPoint,b=y.x+E.x-x.x;E=y.y+E.y-x.y,a.allowHorizontalScroll||(b=y.x),a.allowVerticalScroll||(E=y.y),a.position=this.xy.h(b,E)}},bn.Object.defineProperties(Ge.prototype,{bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},originalPosition:{get:function(){return this.Xt}}}),Ge.className="PanningTool",Si("clickCreatingTool",function(){return this.findTool("ClickCreating")},function(a){this.gb("ClickCreating",a,this.mouseUpTools)}),Si("clickSelectingTool",function(){return this.findTool("ClickSelecting")},function(a){this.gb("ClickSelecting",a,this.mouseUpTools)}),Si("panningTool",function(){return this.findTool("Panning")},function(a){this.gb("Panning",a,this.mouseMoveTools)}),Si("dragSelectingTool",function(){return this.findTool("DragSelecting")},function(a){this.gb("DragSelecting",a,this.mouseMoveTools)}),Si("actionTool",function(){return this.findTool("Action")},function(a){this.gb("Action",a,this.mouseDownTools)});function Ct(){this.F=this.u=this.j=this.o=null}bn.Object.defineProperties(Ct.prototype,{mainElement:{get:function(){return this.u},set:function(a){this.u=a}},show:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},hide:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},valueFunction:{get:function(){return this.F},set:function(a){this.F=a}}}),Ct.className="HTMLInfo";function gn(a,y,E){this.text=a,this.hx=y,this.visible=E}gn.className="ContextMenuButtonInfo";function Cn(){Or.call(this),this.name="ContextMenu",this.o=this.ht=this.j=null,this.yw=new st,this.jt=null,this.Et=!1;var a=this;this.tu=function(){a.stopTool()}}Kt(Cn,Or);function ci(a){var y=new Ct;y.show=function(b,z,ne){ne.showDefaultContextMenu()},y.hide=function(b,z){z.hideDefaultContextMenu()},No=y,a.tu=function(){a.stopTool()},y=si("div");var E=si("div");y.style.cssText="top: 0px;z-index:10002;position: fixed;display: none;text-align: center;left: 25%;width: 50%;background-color: #F5F5F5;padding: 16px;border: 16px solid #444;border-radius: 10px;margin-top: 10px",E.style.cssText="z-index:10001;position: fixed;display: none;top: 0;left: 0;width: 100%;height: 100%;background-color: black;opacity: 0.8;";var x=si("style");sn.document.getElementsByTagName("head")[0].appendChild(x),x.sheet.insertRule(".goCXul { list-style: none; }",0),x.sheet.insertRule(".goCXli {font:700 1.5em Helvetica, Arial, sans-serif;position: relative;min-width: 60px; }",0),x.sheet.insertRule(".goCXa {color: #444;display: inline-block;padding: 4px;text-decoration: none;margin: 2px;border: 1px solid gray;border-radius: 10px; }",0),x=a.diagram,x!==null&&(x.addEventListener(y,"contextmenu",Ei,!1),x.addEventListener(y,"selectstart",Ei,!1),x.addEventListener(E,"contextmenu",Ei,!1)),y.className="goCXforeground",E.className="goCXbackground",sn.document.body&&(sn.document.body.appendChild(y),sn.document.body.appendChild(E)),Ca=y,Qa=E,ha=!0}function Ei(a){return a.preventDefault(),!1}Cn.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return this.isBeyondDragSize()||!a.lastInput.right||1<a.lastInput.clickCount?!1:!!(a.lastInput.isTouchEvent&&this.defaultTouchContextMenu!==null||this.findObjectWithContextMenu()!==null)},Cn.prototype.doStart=function(){this.yw.set(this.diagram.firstInput.documentPoint)},Cn.prototype.doStop=function(){this.hideContextMenu(),this.currentObject=null},Cn.prototype.findObjectWithContextMenu=function(a){a===void 0&&(a=null);var y=this.diagram,E=y.lastInput,x=null;if(a instanceof qt||(a instanceof Ut?x=a:x=y.ic(E.documentPoint,null,function(b){return!b.layer.isTemporary})),x!==null){for(a=x;a!==null;){if(a.contextMenu!==null)return a;a=a.panel}if(y.lastInput.isTouchEvent&&this.defaultTouchContextMenu)return x.part}else if(y.contextMenu!==null)return y;return null},Cn.prototype.doActivate=function(){},Cn.prototype.doMouseDown=function(){if(Or.prototype.doMouseDown.call(this),this.isActive&&this.currentContextMenu instanceof Eo){var a=this.diagram.toolManager.findTool("Action");a!==null&&a.canStart()&&(a.doActivate(),a.doMouseDown(),a.doDeactivate())}this.diagram.toolManager.mouseDownTools.contains(this)&&ii(this)},Cn.prototype.doMouseUp=function(){if(this.isActive&&this.currentContextMenu instanceof Eo){var a=this.diagram.toolManager.findTool("Action");a!==null&&a.canStart()&&(a.doActivate(),a.doCancel(),a.doDeactivate())}ii(this)};function ii(a){var y=a.diagram;if(a.isActive){var E=a.currentContextMenu;if(E!==null){var x=null;E instanceof Ct||(x=y.ic(y.lastInput.documentPoint,null,null),x!==null&&x.rg(E)&&a.standardMouseClick(null,null)),a.maybeStopTool(x)}}else a.canStart()&&(Br(a,!0),a.isActive||a.stopTool())}Cn.prototype.maybeStopTool=function(){this.stopTool(),this.canStart()&&(this.diagram.currentTool=this,this.doMouseUp())};function Br(a,y,E){if(E===void 0&&(E=null),!a.Et&&(a.Et=!0,y&&a.standardMouseSelect(),y=a.standardMouseClick(),a.Et=!1,!y)){if(a.isActive=!0,y=No,E===null&&(E=a.findObjectWithContextMenu()),E!==null){var x=E.contextMenu;x!==null?(a.currentObject=E instanceof Ut?E:null,a.showContextMenu(x,a.currentObject)):y!==null&&a.showContextMenu(y,a.currentObject)}else y!==null&&a.showContextMenu(y,null);a.currentContextMenu instanceof Eo&&!a.currentContextMenu.visible&&a.stopTool()}}Cn.prototype.doMouseMove=function(){var a=this.diagram.toolManager.findTool("Action");a!==null&&a.doMouseMove(),this.isActive&&this.diagram.toolManager.doMouseMove()},Cn.prototype.showContextMenu=function(a,y){var E=this.diagram;if(a!==this.currentContextMenu&&this.hideContextMenu(),a instanceof Eo){a.layerName="Tool",a.selectable=!1,a.scale=1/E.scale,a.category=this.name,a.placeholder!==null&&(a.placeholder.scale=E.scale);var x=a.diagram;x!==null&&x!==E&&x.remove(a),E.add(a),y!==null?a.adornedObject=y:a.data=E.model,a.Va(),this.positionContextMenu(a,y)}else a instanceof Ct&&a.show(y,E,this);this.currentContextMenu=a},Cn.prototype.positionContextMenu=function(a){if(a.placeholder===null){var y=this.diagram,E=y.lastInput.documentPoint.copy(),x=a.measuredBounds,b=y.viewportBounds;y.lastInput.isTouchEvent&&(E.x-=x.width),E.x+x.width>b.right&&(E.x-=x.width+5/y.scale),E.x<b.x&&(E.x=b.x),E.y+x.height>b.bottom&&(E.y-=x.height+5/y.scale),E.y<b.y&&(E.y=b.y),a.position=E}},Cn.prototype.hideContextMenu=function(){var a=this.diagram,y=this.currentContextMenu;y!==null&&(y instanceof Eo?(a.remove(y),this.ht!==null&&this.ht.Jf(y.category),y.data=null,y.adornedObject=null):y instanceof Ct&&(y.hide!==null?y.hide(a,this):y.mainElement!==null&&(y.mainElement.style.display="none")),this.currentContextMenu=null,this.standardMouseOver())};function Yo(a){var y=new Qn;return y.add(new gn("Copy",function(E){E.commandHandler.copySelection()},function(E){return E.commandHandler.canCopySelection()})),y.add(new gn("Cut",function(E){E.commandHandler.cutSelection()},function(E){return E.commandHandler.canCutSelection()})),y.add(new gn("Delete",function(E){E.commandHandler.deleteSelection()},function(E){return E.commandHandler.canDeleteSelection()})),y.add(new gn("Paste",function(E){E.commandHandler.pasteSelection(a.mouseDownPoint)},function(E){return E.commandHandler.canPasteSelection(a.mouseDownPoint)})),y.add(new gn("Select All",function(E){E.commandHandler.selectAll()},function(E){return E.commandHandler.canSelectAll()})),y.add(new gn("Undo",function(E){E.commandHandler.undo()},function(E){return E.commandHandler.canUndo()})),y.add(new gn("Redo",function(E){E.commandHandler.redo()},function(E){return E.commandHandler.canRedo()})),y.add(new gn("Scroll To Part",function(E){E.commandHandler.scrollToPart()},function(E){return E.commandHandler.canScrollToPart()})),y.add(new gn("Zoom To Fit",function(E){E.commandHandler.zoomToFit()},function(E){return E.commandHandler.canZoomToFit()})),y.add(new gn("Reset Zoom",function(E){E.commandHandler.resetZoom()},function(E){return E.commandHandler.canResetZoom()})),y.add(new gn("Group Selection",function(E){E.commandHandler.groupSelection()},function(E){return E.commandHandler.canGroupSelection()})),y.add(new gn("Ungroup Selection",function(E){E.commandHandler.ungroupSelection()},function(E){return E.commandHandler.canUngroupSelection()})),y.add(new gn("Edit Text",function(E){E.commandHandler.editTextBlock()},function(E){return E.commandHandler.canEditTextBlock()})),y}Cn.prototype.showDefaultContextMenu=function(){var a=this.diagram;this.jt===null&&(this.jt=Yo(this)),Ca.innerHTML="",Qa.addEventListener("pointerdown",this.tu,!1);var y=this,E=si("ul");E.className="goCXul",Ca.appendChild(E),E.innerHTML="";for(var x=this.jt.iterator;x.next();){var b=x.value,z=b.visible;if(typeof b.hx=="function"&&(typeof z!="function"||z(a))){z=si("li"),z.className="goCXli";var ne=si("a");ne.className="goCXa",ne.href="#",ne.ky=b.hx,ne.addEventListener("pointerdown",function(re){return this.ky(a),y.stopTool(),re.preventDefault(),!1},!1),ne.textContent=b.text,z.appendChild(ne),E.appendChild(z)}}Ca.style.display="block",Qa.style.display="block"},Cn.prototype.hideDefaultContextMenu=function(){if(this.currentContextMenu!==null&&this.currentContextMenu===No){Ca.style.display="none",Qa.style.display="none";var a=this.diagram;a!==null&&a.removeEventListener(Qa,"pointerdown",this.tu,!1),this.currentContextMenu=null}},bn.Object.defineProperties(Cn.prototype,{currentContextMenu:{get:function(){return this.j},set:function(a){this.j=a,this.ht=a instanceof Eo?a.adornedPart:null}},defaultTouchContextMenu:{get:function(){return ha===!1&&No===null&&Za&&ci(this),No},set:function(a){a===null&&(ha=!0),No=a}},currentObject:{get:function(){return this.o},set:function(a){this.o=a}},mouseDownPoint:{get:function(){return this.yw}}});var No=null,ha=!1,Qa=null,Ca=null;Cn.className="ContextMenuTool",Si("contextMenuTool",function(){return this.findTool("ContextMenu")},function(a){this.gb("ContextMenu",a,this.mouseUpTools)});function rr(){Or.call(this),this.name="TextEditing",this.Zh=new oa,this.ia=null,this.V=Ms,this.vj=null,this.qa=Xn,this.u=1,this.F=!0,this.o=null,this.j=new Ct,this.kt=null,Ko(this,this.j)}Kt(rr,Or);function Ko(a,y){if(Za){var E=si("textarea");a.kt=E,E.addEventListener("input",function(){if(a.textBlock!==null){var x=a.Lx(this.value);this.style.width=20+x.measuredBounds.width*this.wA+"px",this.rows=x.lineCount}},!1),E.addEventListener("keydown",function(x){if(!x.isComposing&&a.textBlock!==null){var b=x.key;b==="Enter"?(a.textBlock.isMultiline===!1&&x.preventDefault(),a.acceptText(qs)):b==="Tab"?(a.acceptText(Ya),x.preventDefault()):b==="Escape"&&(a.doCancel(),a.diagram!==null&&a.diagram.doFocus())}},!1),E.addEventListener("focus",function(){if(a.currentTextEditor!==null&&a.state!==Xn){var x=a.kt;a.qa===Rs&&(a.qa=Xl),typeof x.select=="function"&&a.selectsTextOnActivate&&(x.select(),x.setSelectionRange(0,9999))}},!1),E.addEventListener("blur",function(){if(a.currentTextEditor!==null&&a.state!==Xn){var x=a.kt;typeof x.focus=="function"&&x.focus(),typeof x.select=="function"&&a.selectsTextOnActivate&&(x.select(),x.setSelectionRange(0,9999))}},!1),y.valueFunction=function(){return E.value},y.mainElement=E,y.show=function(x,b,z){if(x instanceof oa&&z instanceof rr)if(z.state===Ou)E.style.border="3px solid red",E.focus();else{var ne=x.ga(Yr),re=b.position,oe=b.scale,he=x.Df()*oe;he<z.minimumEditorScale&&(he=z.minimumEditorScale);var fe=x.naturalBounds.width*he+6,Se=x.naturalBounds.height*he+2,Te=(ne.x-re.x)*oe;ne=(ne.y-re.y)*oe,re=x.verticalAlignment,oe=(x.lineHeight+x.spacingAbove+x.spacingBelow)*x.lineCount*he,Se=re.y*Se-re.y*oe+re.offsetY-(.5*Se-.5*oe)-oe/2,E.value=x.text,b.div.style.font=x.font,E.style.position="absolute",E.style.zIndex="100",E.style.font="inherit",E.style.fontSize=100*he+"%",E.style.lineHeight="normal",E.style.width=fe+"px",E.style.left=(Te-fe/2|0)-1+"px",E.style.top=(ne+Se|0)-1+"px",E.style.textAlign=x.textAlign,E.style.margin="0",E.style.padding="1px",E.style.border="0",E.style.outline="none",E.style.whiteSpace="pre-wrap",E.style.overflow="hidden",E.rows=x.lineCount,E.wA=he,E.className="goTXarea",b.div.appendChild(E),E.focus(),z.selectsTextOnActivate&&(E.select(),E.setSelectionRange(0,9999))}},y.hide=function(x){x.div.removeChild(E)}}}rr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||a.isReadOnly||Ql&&Ql!==this&&(Ql.acceptText(Da),Ql&&Ql!==this)||!a.lastInput.left||this.isBeyondDragSize())return!1;var y=a.ic(a.lastInput.documentPoint);return y!==null&&y instanceof oa&&y.editable&&y.part.canEdit()?(y=y.part,!(y===null||this.starting===Ms&&!y.isSelected||this.starting===Ua&&2>a.lastInput.clickCount)):!1},rr.prototype.doStart=function(){Ql=this,this.textBlock!==null&&this.doActivate()},rr.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 oa&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Rs;var E=this.defaultTextEditor;y.textEditor!==null&&(E=y.textEditor),this.Zh=this.textBlock.copy();var x=new an(this.textBlock.ga(ka),this.textBlock.ga(ws));a.tv(x),E.show(y,a,this),this.currentTextEditor=E}}}},rr.prototype.doCancel=function(){this.stopTool()},rr.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},rr.prototype.doMouseDown=function(){this.isActive&&this.acceptText(Da)},rr.prototype.acceptText=function(a){switch(a){case Da:this.qa===Ka?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Rs||this.qa===Ou||this.qa===Xl)&&(this.qa=wc,Xr(this));break;case Ta:case qs:case Ya:(qs!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Rs||this.qa===Ou||this.qa===Xl)&&(this.qa=wc,Xr(this))}};function Xr(a){var y=a.textBlock,E=a.diagram,x=a.currentTextEditor;if(y!==null&&x!==null){var b=y.text,z="";x.valueFunction!==null&&(z=x.valueFunction()),a.isValidText(y,b,z)?(a.Ea(a.name),a.qa=Ka,a.transactionResult=a.name,y.text=z,a.doSuccess(b,z),E!==null&&E.R("TextEdited",y,b),a.stopTransaction(),a.stopTool(),E!==null&&E.doFocus()):(a.qa=Ou,a.doError(b,z))}}rr.prototype.doError=function(a,y){var E=this.textBlock;E.errorFunction!==null&&E.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(E,this.diagram,this)},rr.prototype.doSuccess=function(a,y){var E=this.textBlock;E.textEdited!==null&&E.textEdited(E,a,y)},rr.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=Xn,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},rr.prototype.doStop=function(){Ql=null},rr.prototype.isValidText=function(a,y,E){var x=this.textValidation;return x!==null&&!x(a,y,E)?!1:(x=a.textValidation,!!(x===null||x(a,y,E)))},rr.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},bn.Object.defineProperties(rr.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)}}}),rr.prototype.measureTemporaryTextBlock=rr.prototype.Lx;var Ta=new nn(rr,"LostFocus",0),Da=new nn(rr,"MouseDown",1),Ya=new nn(rr,"Tab",2),qs=new nn(rr,"Enter",3),Hn=new nn(rr,"SingleClick",0),Ms=new nn(rr,"SingleClickSelected",1),Ua=new nn(rr,"DoubleClick",2),Xn=new nn(rr,"StateNone",0),Rs=new nn(rr,"StateActive",1),Xl=new nn(rr,"StateEditing",2),wc=new nn(rr,"StateValidating",3),Ou=new nn(rr,"StateInvalid",4),Ka=new nn(rr,"StateValidated",5),Ql=null;rr.className="TextEditingTool",rr.LostFocus=Ta,rr.MouseDown=Da,rr.Tab=Ya,rr.Enter=qs,rr.SingleClick=Hn,rr.SingleClickSelected=Ms,rr.DoubleClick=Ua,rr.StateNone=Xn,rr.StateActive=Rs,rr.StateEditing=Xl,rr.StateValidating=wc,rr.StateInvalid=Ou,rr.StateValidated=Ka,Si("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function ps(a){Gi||(Eu(),Gi=!0),this.H=ql,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=Pr,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Rt,this.ce=new Vo,this.ce.Yd=this,this.Ei=new Rt,this.pu=new Rt,this.Sr=new Rt,this.pr=new Rt,a&&Object.assign(this,a)}ps.prototype.Xe=function(a){this.H=a},ps.prototype.canStart=function(){return!0};function ol(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),Ps(a.H),a.zb=!0)}function Hl(a){if(a.Jd&&a.zb){var y=a.ce,E=a.H,x=a.Zd.contains("Model");x&&(a.Ok=!0,a.Pk===Pr?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(E,"position",E.position.copy().offset(0,-200),E.position),y.add(E,"opacity",0,1)):a.Pk===Pa&&y.vc.clear(),a.Qw=!!(a.Pk===ta&&E.du.D(E.pa)),E.R("InitialAnimationStarting",a)),x&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),gl(y,E),a.Ok=!1,E.N()):(a.Zd.clear(),E.kg=!1,x=y.vc.get(E),E.autoScale!==vl&&x!==null&&(delete x.start.scale,delete x.end.scale),sn.requestAnimationFrame(function(){a.zb===!1||y.bc||(E.Gf("temporaryPixelRatio")&&ml(E),Bh(E),a.zb=!1,y.start(),y.bc&&(Qu(a),E.Ya(),xu(y,0),el(E,!0),Jl(a),E.R("AnimationStarting",a)))}))}}function au(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function Cc(a,y,E,x){a.isTicking||au(a)||y instanceof $n&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",E,x,!1)}Ie=ps.prototype,Ie.fv=function(a){return this.ce.fv(a)},Ie.Xu=function(a){return this.ce.Xu(a)};function cc(a,y){function E(){if(0<b.Sr.count&&(x.addAll(b.Sr),b.Sr.clear(),b.bc=!0),b.bc!==!1&&x.count!==0){b.pu.addAll(x);for(var z=b.pu.iterator;z.next();){var ne=z.value;if(ne.bc!==!1){e:if(0<ne.yl.count)var re=!0;else{for(re=ne.vc.iterator;re.next();){var oe=re.key;if(oe instanceof Ut&&oe.diagram!==null||oe instanceof qt){re=!0;break e}}re=!1}re?wl(ne,!1):ne.Xk=!0}}b.pu.clear(),b.bc!==!1&&(Qu(b),el(b.H),Jl(b)),sn.requestAnimationFrame(E)}}var x=a.Ei,b=a;a.bc?a.Sr.add(y):(a.bc=!0,x.add(y),sn.requestAnimationFrame(function(){E()}))}function Uc(a){for(a=a.Ei.iterator;a.next();)a.value.Xk=!1}function Qu(a){if(!a.vq){var y=a.H;a.Ow=y.skipsUndoManager,a.cw=y.skipsModelSourceBindings,y.skipsUndoManager=!0,y.skipsModelSourceBindings=!0,a.vq=!0}}function Jl(a){var y=a.H;y.skipsUndoManager=a.Ow,y.skipsModelSourceBindings=a.cw,a.vq=!1}Ie.Cc=function(a){var y=this.ce;if(this.zb===!0&&(this.Ok=this.zb=!1,this.Zd.clear(),0<y.vc.count&&this.H.$b()),this.bc){if(y.Ml(!0),y.vc.clear(),gl(y,null),a===!0)for(a=this.Ei.Fa(),y=0;y<a.length;y++)a[y].Ml(!0)}else y.vc.clear(),gl(y,this.H)},Ie.Ml=function(a){a===this.defaultAnimation&&this.defaultAnimation.vc.clear(),this.Ei.remove(a),this.Ei.count===0&&(this.bc=!1,this.H.$b()),a===this.defaultAnimation&&(this.defaultAnimation.vc.clear(),this.H.R("AnimationFinished",this))},Ie.Cj=function(a,y){this.zb&&(this.Zd.contains("Expand Tree")||this.Zd.contains("Expand SubGraph"))&&(this.ce.Cj(a,y),as(this,a))},Ie.Aj=function(a,y){this.zb&&(this.Zd.contains("Collapse Tree")||this.Zd.contains("Collapse SubGraph"))&&(this.ce.Aj(a,y),pl(this.ce,y,"position",y.position,y.position),as(this,a))};function dc(a,y,E){!a.zb||y.D(E)||au(a)||(a.H.pi||(y=E.copy()),pl(a.ce,a.H,"position",y,E))}function Ju(a,y,E){y.fd&&(y.Tg=E,a.pr.add(y))}function as(a,y){for(y=y.findLinksConnected();y.next();){var E=y.value;E.fd&&(E.Tg=E.points.copy(),a.pr.add(E))}}function al(a,y,E,x,b){a===null&&(a=[0,0,0,0]),y===null&&(y=[0,0,0,0]);var z=a[0],ne=a[1],re=a[2];a=a[3];var oe=y[0],he=y[1],fe=y[2];return y=y[3],re===0||re===100?(z=oe,ne=he):(fe===0||fe===100)&&(oe=z,he=ne),180<Math.abs(oe-z)&&(oe>z?z+=360:oe+=360),z=b(E,z,oe-z,x)%360,ne=b(E,ne,he-ne,x),re=b(E,re,fe-re,x),E=b(E,a,y-a,x),"hsla("+z+", "+ne+"%, "+re+"%, "+E+")"}function Eu(){function a(E,x,b,z,ne,re){E.position=new st(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re))}var y=new Fn;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(E,x,b,z,ne,re){ne<re?E.mm(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re),!1):E.position=new st(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re))}),y.add("location",function(E,x,b,z,ne,re){ne<re?E.mm(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re),!0):E.location=new st(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re))}),y.add("position:placeholder",function(E,x,b,z,ne,re){ne<re?E.mm(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re),!1):E.position=new st(z(ne,x.x,b.x-x.x,re),z(ne,x.y,b.y-x.y,re))}),y.add("position:nodeCollapse",function(E,x,b,z,ne,re){var oe=E.actualBounds,he=b.actualBounds;b=he.x+he.width/2-oe.width/2,oe=he.y+he.height/2-oe.height/2,ne<re?E.mm(z(ne,x.x,b-x.x,re),z(ne,x.y,oe-x.y,re),!1):E.position=new st(z(ne,x.x,b-x.x,re),z(ne,x.y,oe-x.y,re))}),y.add("desiredSize",function(E,x,b,z,ne,re){E.desiredSize=new an(z(ne,x.width,b.width-x.width,re),z(ne,x.height,b.height-x.height,re))}),y.add("width",function(E,x,b,z,ne,re){E.width=z(ne,x,b-x,re)}),y.add("height",function(E,x,b,z,ne,re){E.height=z(ne,x,b-x,re)}),y.add("fill",function(E,x,b,z,ne,re){E.fill=al(x,b,ne,re,z)}),y.add("stroke",function(E,x,b,z,ne,re){E.stroke=al(x,b,ne,re,z)}),y.add("strokeWidth",function(E,x,b,z,ne,re){E.strokeWidth=z(ne,x,b-x,re)}),y.add("strokeDashOffset",function(E,x,b,z,ne,re){E.strokeDashOffset=z(ne,x,b-x,re)}),y.add("background",function(E,x,b,z,ne,re){E.background=al(x,b,ne,re,z)}),y.add("areaBackground",function(E,x,b,z,ne,re){E.areaBackground=al(x,b,ne,re,z)}),y.add("opacity",function(E,x,b,z,ne,re){E.opacity=z(ne,x,b-x,re)}),y.add("scale",function(E,x,b,z,ne,re){E.scale=z(ne,x,b-x,re)}),y.add("angle",function(E,x,b,z,ne,re){E.angle=z(ne,x,b-x,re)}),Du=y}bn.Object.defineProperties(ps.prototype,{animationReasons:{get:function(){return this.Zd}},isEnabled:{get:function(){return this.Jd},set:function(a){(this.Jd=a)&&this.Ei.each(function(y){y.isAnimating||y.runCount!==1/0||y.start()})}},duration:{get:function(){return this.Dg},set:function(a){1>a&&lr(a,">= 1",ps,"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}}}),ps.prototype.stopAnimation=ps.prototype.Cc;var Du=null,Gi=!1,Pr=new nn(ps,"Default",1),ta=new nn(ps,"AnimateLocations",2),Pa=new nn(ps,"None",3);ps.className="AnimationManager",ps.defineAnimationEffect=function(a,y){Gi||(Eu(),Gi=!0),Du.add(a,y)},ps.Default=Pr,ps.AnimateLocations=ta,ps.None=Pa;function Vo(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=Os,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=br,this.vc=new Fn,this.Tt=new Fn,this.yl=new Rt,this.Ut=new Rt,this.dw=Bd,a&&Object.assign(this,a)}Vo.prototype.suspend=function(){this.Xk=!0},Vo.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,wl(this,!0),Qu(this.Yd),el(this.H),Jl(this.Yd),this.H.redraw()};function gl(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0<a.yl.count&&a.yl.clear(),0<a.Ut.count&&a.Ut.clear(),y!==null)for(a=y.links;a.next();)a.value.Tg=null}Ie=Vo.prototype,Ie.start=function(){if(this.vc.count===0||this.bc)return this;for(var a=this.H,y=this.vc.iterator;y.next();){var E=y.key;a===null&&(E instanceof qt?a=E:E instanceof Ut&&(a=E.diagram))}if(a!==null)this.H=a,this.Yd=a.animationManager;else return this;return y=this.Yd,y.isEnabled===!1?this:(this.Gd=isNaN(this.Dg)?y.duration:this.Dg,this.Lp=this.ot,y.Ok&&y.Pk===Pr&&this===y.defaultAnimation&&(this.Lp=Fu,this.Gd=isNaN(this.Dg)?y.duration===600?900:y.duration:this.Dg),this.dw=a.scrollMode,this.isViewportUnconstrained&&(a.sj=xf),Qu(y),this.yl.each(function(x){x.data=null,a.add(x)}),Jl(y),this.bc=!0,this.Qd=+new Date,this.cn=this.Qd+this.Gd,cc(y,this),this)},Ie.Iy=function(a,y){return a.Zc()?(this.yl.add(a),this.H=y,this):this},Ie.add=function(a,y,E,x,b){if(y==="position"&&E.Xa(x))return this;if(this.H===null&&(a instanceof qt?this.H=a:a instanceof Ut&&a.diagram!==null&&(this.H=a.diagram)),a instanceof Ki){if(!a.isAnimated)return this;y==="position"&&(y="position:part")}return pl(this,a,y,E,x,b),this};function pl(a,y,E,x,b,z){var ne=a.vc;if(y instanceof qt&&E==="position"&&(E="position:diagram"),(E==="fill"||E==="stroke"||E==="background"||E==="areaBackground")&&(xd(x),uv(),x=[Au.j,Au.u,Au.o,Au.F],xd(b),uv(),b=[Au.j,Au.u,Au.o,Au.F]),ne.contains(y)){var re=ne.I(y),oe=re.start,he=re.end;oe[E]===void 0&&(oe[E]=ms(x)),he[E]=ms(b)}else oe={},he={},oe[E]=ms(x),he[E]=ms(b),re=oe.position,y instanceof Ut&&re instanceof st&&!re.w()&&y.diagram.animationManager.Zd.contains("Expand SubGraph")&&re.assign(he.position),re=new sl(oe,he,z),ne.add(y,re);ne=oe[E],ne instanceof st&&!ne.w()&&ne.assign(a.o),z&&E.indexOf("position:")===0&&y instanceof Ki?re.Ku.location=ms(y.location):z&&(re.Ku[E]=ms(x))}function ms(a){return a instanceof st||a instanceof fn?a.copy():a}Ie.fv=function(a){return this.bc?(a=this.vc.I(a),a!==null&&a.nv):!1},Ie.Xu=function(a){return this.bc?(a=this.vc.I(a),a!==null&&(a.start.position||a.start.location)):!1};function wl(a,y){if(!a.Xk||y){var E=a.Yd;if(a.bc!==!1){var x=+new Date,b=x>a.cn?a.Gd:x-a.Qd;y&&(b=a.gw,b<a.Gd?(a.Qd=+new Date-b,a.cn=a.Qd+a.Gd):b=a.Gd),Qu(E),xu(a,b),el(a.H,!0),Jl(E),x>a.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function xu(a,y){for(var E=a.Gd,x=a.vc.iterator,b=a.Wk;x.next();){var z=x.key;if(!(z instanceof Ut&&z.diagram===null)){var ne=x.value,re=b?ne.end:ne.start;ne=b?ne.start:ne.end;var oe=Du,he;for(he in ne)he==="position"&&(ne["position:placeholder"]||ne["position:nodeCollapse"])||oe.get(he)===null||oe.get(he)(z,re[he],ne[he],a.Lp,y,E,a)}}}Ie.stop=function(){return this.bc?(this.Ml(!0),this):this},Ie.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,E=this.Yd;this.Xk=this.bc=E.Ok=!1,Qu(E);for(var x=this.vc,b=this.yl.iterator;b.next();)y.remove(b.value);for(b=this.Ut.iterator;b.next();)b.value.v();b=this.ho,x=x.iterator;for(var z=Du;x.next();){var ne=x.key,re=x.value,oe=b?re.end:re.start,he=b?re.start:re.end,fe=re.Ku,Se;for(Se in he)if(z.get(Se)!==null){var Te=Se;!re.Hu||Te!=="position:nodeCollapse"&&Te!=="position:placeholder"||(Te="position"),z.get(Te)(ne,oe[Se],fe[Se]!==void 0?fe[Se]:re.Hu?oe[Se]:he[Se],this.Lp,this.Gd,this.Gd,this)}re.Hu&&fe.location!==void 0&&ne instanceof Ki&&(ne.location=fe.location),re.nv&&ne instanceof Ki&&ne.Zb(!1)}if(y.As.clear(),ah(y,!1),y.Ya(),y.N(),el(y,!0),E.defaultAnimation===this){for(Se=E.pr.iterator;Se.next();)b=Se.value,b.Tg!==null&&(b.points=b.Tg,b.Tg=null);E.pr.clear()}el(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),Jl(E),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),gl(this,null),E.Ml(this),y.$b())}},Ie.Cj=function(a,y){var E=y.actualBounds,x=null;if(y instanceof Cr&&(x=y.placeholder),x!==null?(E=x.ga(ka),x=x.padding,E.x+=x.left,E.y+=x.top,this.add(a,"position",E,a.position,!1)):this.add(a,"position",new st(E.x+E.width/2,E.y+E.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof Cr)for(a=a.memberParts;a.next();)x=a.value,x instanceof yi&&this.Cj(x,y)},Ie.Aj=function(a,y){if(a.isVisible()){var E=null;if(y instanceof Cr&&(E=y.placeholder),E!==null){var x=E.ga(ka);E=E.padding,x.x+=E.left,x.y+=E.top,this.add(a,"position:placeholder",a.position,x,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),x=this.vc,x.contains(a)&&(x.I(a).nv=!0),a instanceof Cr)for(a=a.memberParts;a.next();)x=a.value,x instanceof yi&&this.Aj(x,y)}},Ie.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},bn.Object.defineProperties(Vo.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&lr(a,">= 1",Vo,"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){0<a?this.cu=a:tn("Animation.runCount value must be a positive integer.")}},finished:{get:function(){return this.dn},set:function(a){this.dn!==a&&(this.dn=a)}},easing:{get:function(){return this.ot},set:function(a){this.ot=a}},isViewportUnconstrained:{get:function(){return this.j},set:function(a){this.j=a}},isAnimating:{get:function(){return this.bc}}}),Vo.prototype.getTemporaryState=Vo.prototype.Ez,Vo.prototype.stop=Vo.prototype.stop,Vo.prototype.add=Vo.prototype.add,Vo.prototype.addTemporaryPart=Vo.prototype.Iy;function Os(a,y,E,x){return a/=x/2,1>a?E/2*a*a+y:-E/2*(--a*(a-2)-1)+y}function Fu(a,y,E,x){return a===x?y+E:E*(-Math.pow(2,-10*a/x)+1)+y}Vo.className="Animation",Vo.EaseLinear=function(a,y,E,x){return E*a/x+y},Vo.EaseInOutQuad=Os,Vo.EaseInQuad=function(a,y,E,x){return E*(a/=x)*a+y},Vo.EaseOutQuad=function(a,y,E,x){return-E*(a/=x)*(a-2)+y},Vo.EaseInExpo=function(a,y,E,x){return a===0?y:E*Math.pow(2,10*(a/x-1))+y},Vo.EaseOutExpo=Fu;function sl(a,y,E){this.start=a,this.end=y,this.Ku={},this.Hu=E,this.nv=!1}sl.className="AnimationState";function su(a,y,E){this.xd=null,this.rf=a,this.so=E||Od,this.uk=null,y!==void 0&&(this.uk=y,E===void 0&&(this.so=Ro))}su.prototype.copy=function(){var a=new su(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var E={};y.duration!==void 0&&(E.duration=y.duration),y.finished!==void 0&&(E.finished=y.finished),y.easing!==void 0&&(E.easing=y.easing),a.uk=E}return a};function Hc(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))}bn.Object.defineProperties(su.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 Od=new nn(su,"Default",1),Ro=new nn(su,"Immediate",2),To=new nn(su,"Bundled",3);su.className="AnimationTrigger",su.Default=Od,su.Immediate=Ro,su.Bundled=To;function So(a){ut(this),this.H=null,this.Pa=new Qn,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)}Ie=So.prototype,Ie.clear=function(){for(var a=this.Pa,y=0;y<a.length;y++){var E=a.s[y];E.Ig=null,cl(E)}a.clear(),this.Zq.length=0},Ie.Xe=function(a){this.H=a},Ie.toString=function(a){a===void 0&&(a=0);var y='Layer "'+this.name+'"';if(0>=a)return y;for(var E=0,x=0,b=0,z=0,ne=0,re=this.Pa.iterator;re.next();){var oe=re.value;oe instanceof Cr?b++:oe instanceof yi?x++:oe instanceof $n?z++:oe instanceof Eo?ne++:E++}if(re="",0<E&&(re+=E+" Parts "),0<x&&(re+=x+" Nodes "),0<b&&(re+=b+" Groups "),0<z&&(re+=z+" Links "),0<ne&&(re+=ne+" Adornments "),1<a)for(a=this.Pa.iterator;a.next();)E=a.value,re+=`
|
|
|
`+E.toString(),x=E.data,x!==null&&Lt(x)&&(re+=" #"+Lt(x)),E instanceof yi?re+=" "+Zr(x):E instanceof $n&&(re+=" "+Zr(E.fromNode)+" "+Zr(E.toNode));return y+" "+this.Pa.count+": "+re},Ie.ic=function(a,y,E){if(y===void 0&&(y=null),E===void 0&&(E=null),this.Uh===!1)return null;var x=!1;this.diagram!==null&&this.diagram.viewportBounds.ca(a)&&(x=!0);for(var b=st.alloc(),z=this.Pa.s,ne=z.length;ne--;){var re=z[ne];if((x!==!0||mh(re)!==!1)&&re.isVisible()&&(b.assign(a),Ir(b,re.oe),re=re.ic(b,y,E),re!==null&&(y!==null&&(re=y(re)),re!==null&&(E===null||E(re)))))return st.free(b),re}return st.free(b),null},Ie.ji=function(a,y,E,x){if(y===void 0&&(y=null),E===void 0&&(E=null),x instanceof Qn||x instanceof Rt||(x=new Rt),this.Uh===!1)return x;var b=!1;this.diagram!==null&&this.diagram.viewportBounds.ca(a)&&(b=!0);for(var z=st.alloc(),ne=this.Pa.s,re=ne.length;re--;){var oe=ne[re];if((b!==!0||mh(oe)!==!1)&&oe.isVisible()){z.assign(a),Ir(z,oe.oe);var he=oe;oe.ji(z,y,E,x)&&(y!==null&&(he=y(he)),he===null||E!==null&&!E(he)||x.add(he))}}return st.free(z),x},Ie.Cf=function(a,y,E,x,b){if(y===void 0&&(y=null),E===void 0&&(E=null),x===void 0&&(x=!1),b instanceof Qn||b instanceof Rt||(b=new Rt),this.Uh===!1)return b;var z=!1;this.diagram!==null&&this.diagram.viewportBounds.Re(a)&&(z=!0);for(var ne=this.Pa.s,re=ne.length;re--;){var oe=ne[re];if((z!==!0||mh(oe)!==!1)&&oe.isVisible()){var he=oe;oe.Cf(a,y,E,x,b)&&(y!==null&&(he=y(he)),he===null||E!==null&&!E(he)||b.add(he))}}return b},Ie.Nu=function(a,y,E,x,b,z,ne){if(this.Uh===!1)return b;for(var re=this.Pa.s,oe=re.length;oe--;){var he=re[oe];if((ne!==!0||mh(he)!==!1)&&z(he)&&he.isVisible()){var fe=he;he.Cf(a,y,E,x,b)&&(y!==null&&(fe=y(fe)),fe===null||E!==null&&!E(fe)||b.add(fe))}}return b},Ie.og=function(a,y,E,x,b,z){if(E===void 0&&(E=null),x===void 0&&(x=null),b===void 0&&(b=!0),b!==!1&&b!==!0&&((b instanceof Qn||b instanceof Rt)&&(z=b),b=!0),z instanceof Qn||z instanceof Rt||(z=new Rt),this.Uh===!1)return z;var ne=!1;this.diagram!==null&&this.diagram.viewportBounds.ca(a)&&(ne=!0);for(var re=st.alloc(),oe=st.alloc(),he=this.Pa.s,fe=he.length;fe--;){var Se=he[fe];if((ne!==!0||mh(Se)!==!1)&&Se.isVisible()){re.assign(a),Ir(re,Se.oe),oe.h(a.x+y,a.y),Ir(oe,Se.oe);var Te=Se;Se.og(re,oe,E,x,b,z)&&(E!==null&&(Te=E(Te)),Te===null||x!==null&&!x(Te)||z.add(Te))}}return st.free(re),st.free(oe),z},Ie.Fd=function(a,y){if(this.visible){var E=this.Pa.s,x=E.length;if(x!==0){a=Vi();for(var b=Vi(),z=0;z<x;z++){var ne=E[z];if(ne.vw=z,ne instanceof $n){if(ne.fd===!1)continue}else if(ne instanceof Eo&&ne.adornedPart!==null)continue;var re=ne.actualBounds;ne.isVisible()&&qa(re,y)?(ne.Fd(!0),a.push(ne)):(ne.Fd(!1),ne.adornments!==null&&0<ne.adornments.count&&b.push(ne))}for(y=0;y<a.length;y++)for(E=a[y],_v(E),E=E.adornments;E.next();)x=E.value,x.measure(1/0,1/0),x.arrange(),x.Fd(!0);for(y=0;y<b.length;y++)_v(b[y]);Qi(a),Qi(b)}}};function ss(a,y){var E=1;return a.pb!==1&&(E=y.globalAlpha,y.globalAlpha=E*a.pb),E}Ie.gc=function(a,y,E){if(this.visible&&this.pb!==0&&(E===void 0&&(E=!0),E||!this.isTemporary)){E=this.Pa.s;var x=E.length;if(x!==0){if(a.isTemporary)for(var b=0;b<x;b++)E[b].Gj();b=ss(this,a);var z=this.Zq;z.length=0;for(var ne=y.scale,re=an.alloc(),oe=0;oe<x;oe++)this.Oj(a,E[oe],y,z,ne,re,!0);if(an.free(re),a.isTemporary)for(y=0;y<x;y++)E[y].Gj();a.globalAlpha=b}}};function $s(a,y,E,x,b){if(a.visible&&a.pb!==0&&(b||!a.isTemporary)){b=a.Pa.s;var z=b.length;if(z!==0){var ne=ss(a,y),re=a.Zq;re.length=0;for(var oe=E.scale,he=an.alloc(),fe=0;fe<z;fe++){var Se=b[fe];x.contains(Se)&&a.Oj(y,Se,E,re,oe,he,!1)}an.free(he),y.globalAlpha=ne}}}Ie.Oj=function(a,y,E,x,b,z,ne){if(ne&&!mh(y))a.Hs(y);else{if(x!==null&&y instanceof $n&&(y.isOrthogonal&&x.push(y),y.fd===!1)){a.Hs(y);return}for(ne=!1,x=y.containingGroup;x!==null;)ne?x.tb!==null&&z.Ex(x.tb):x.tb!==null&&(ne=!0,z.assign(x.tb)),x=x.containingGroup;var re=y.actualBounds;if(x=!1,ne&&y.isVisible()){if(!z.Yc(re)){a.Hs(y);return}x=!z.Re(re)}x&&(a.save(),a instanceof uu?a.bk=z.copy():(a.beginPath(),a.rect(z.x,z.y,z.width,z.height),a.clip())),re.width*b>E.Oq||re.height*b>E.Oq?y.gc(a,E):(b=y.actualBounds,z=y.naturalBounds,b.width===0||b.height===0||isNaN(b.x)||isNaN(b.y)||!y.isVisible()||(E=y.transform,y.areaBackground!==null&&(Ja(y,a,y.areaBackground,!0,!0,z,b),a.fillRect(b.x,b.y,b.width,b.height)),y.areaBackground===null&&y.background===null&&(Ja(y,a,"rgba(0,0,0,0.3)",!0,!1,z,b),a.fillRect(b.x,b.y,b.width,b.height)),y.background!==null&&(a.transform(E.m11,E.m12,E.m21,E.m22,E.dx,E.dy),Ja(y,a,y.background,!0,!1,z,b),a.fillRect(0,0,z.width/2,z.height/2),E.ws()||(y=1/(E.m11*E.m22-E.m12*E.m21),a.transform(E.m22*y,-E.m12*y,-E.m21*y,E.m11*y,y*(E.m21*E.dy-E.m22*E.dx),y*(E.m12*E.dx-E.m11*E.dy)))))),x&&(a.restore(),a.Vc(!0))}},Ie.g=function(a,y,E,x,b){var z=this.diagram;z!==null&&z.cb(Qo,a,this,y,E,x,b)},Ie.oi=function(a,y,E){var x=this.Pa;if(y.Ig=this,this===null&&cl(y),a>=x.count)a=x.count;else if(x.M(a)===y)return-1;return x.Gb(a,y),y.Vo(E),x=this.diagram,x!==null&&(E?x.N():x.oi(y)),zc(this,a,y),a},Ie.pc=function(a,y,E){if(!E&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,E);var x=this.Pa;if(0>a||a>=x.length){if(a=x.indexOf(y),0>a)return-1}else if(x.M(a)!==y&&(a=x.indexOf(y),0>a))return-1;return y.Wo(E),x.mb(a),x=this.diagram,x!==null&&(E?x.N():x.pc(y)),y.Ig=null,cl(y),a};function zc(a,y,E){if(y=hc(a,y,E),E instanceof Cr&&E!==null&&isNaN(E.zOrder)){if(E.memberParts.count!==0){for(var x=-1,b=a.Pa.s,z=b.length,ne=0;ne<z;ne++){var re=b[ne];if(re===E&&(y=ne,0<=x)||0>x&&re.containingGroup===E&&(x=ne,0<=y))break}!(0>x)&&x<y&&(b=a.Pa,b.mb(y),b.Gb(x,E))}y=E.containingGroup,y!==null&&zc(a,-1,y)}E.svg!==null&&E.svg.remove()}function hc(a,y,E){var x=E.zOrder;if(isNaN(x))return y;a=a.Pa;var b=a.count;if(1>=b)return y;if(0>y&&(y=a.indexOf(E)),0>y)return-1;for(var z=y-1,ne=NaN;0<=z&&(ne=a.M(z).zOrder,!!isNaN(ne));)z--;for(var re=y+1,oe=NaN;re<b&&(oe=a.M(re).zOrder,!!isNaN(oe));)re++;if(!isNaN(ne)&&ne>x)for(;;){if(z===-1||ne<=x){if(z++,z===y)break;return a.mb(y),a.Gb(z,E),z}for(ne=NaN;0<=--z&&(ne=a.M(z).zOrder,isNaN(ne)););}else if(!isNaN(oe)&&oe<x)for(;;){if(re===b||oe>=x){if(re--,re===y)break;return a.mb(y),a.Gb(re,E),re}for(oe=NaN;++re<b&&(oe=a.M(re).zOrder,isNaN(oe)););}return y}bn.Object.defineProperties(So.prototype,{parts:{get:function(){return this.Pa.iterator}},partsBackwards:{get:function(){return this.Pa.iteratorBackwards}},diagram:{get:function(){return this.H}},name:{get:function(){return this.xa},set:function(a){var y=this.xa;if(y!==a){var E=this.diagram;if(E!==null)for(y===""&&tn("Cannot rename default Layer to: "+a),E=E.layers;E.next();)E.value.name===a&&tn("Layer.name is already present in this diagram: "+a);for(this.xa=a,this.g("name",y,a),a=this.Pa.iterator;a.next();)a.value.layerName=this.xa}}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1<a)&&lr(a,"0 <= value <= 1",So,"opacity"),this.pb=a,this.g("opacity",y,a),a=this.diagram,a!==null&&a.N())}},isTemporary:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&((this.o=a)&&(this.isInDocumentBounds=!1),this.g("isTemporary",y,a))}},visible:{get:function(){return this.u},set:function(a){var y=this.u;if(y!==a){for(this.u=a,this.g("visible",y,a),y=this.Pa.iterator;y.next();)y.value.Zb(a);a=this.diagram,a!==null&&a.N()}}},pickable:{get:function(){return this.Uh},set:function(a){var y=this.Uh;y!==a&&(this.Uh=a,this.g("pickable",y,a))}},isInDocumentBounds:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,this.diagram!==null&&this.diagram.Ya())}},allowCopy:{get:function(){return this.Fi},set:function(a){var y=this.Fi;y!==a&&(this.Fi=a,this.g("allowCopy",y,a))}},allowDelete:{get:function(){return this.Gi},set:function(a){var y=this.Gi;y!==a&&(this.Gi=a,this.g("allowDelete",y,a))}},allowTextEdit:{get:function(){return this.Pi},set:function(a){var y=this.Pi;y!==a&&(this.Pi=a,this.g("allowTextEdit",y,a))}},allowGroup:{get:function(){return this.Hi},set:function(a){var y=this.Hi;y!==a&&(this.Hi=a,this.g("allowGroup",y,a))}},allowUngroup:{get:function(){return this.Qi},set:function(a){var y=this.Qi;y!==a&&(this.Qi=a,this.g("allowUngroup",y,a))}},allowLink:{get:function(){return this.Ii},set:function(a){var y=this.Ii;y!==a&&(this.Ii=a,this.g("allowLink",y,a))}},allowRelink:{get:function(){return this.Ki},set:function(a){var y=this.Ki;y!==a&&(this.Ki=a,this.g("allowRelink",y,a))}},allowMove:{get:function(){return this.Ji},set:function(a){var y=this.Ji;y!==a&&(this.Ji=a,this.g("allowMove",y,a))}},allowReshape:{get:function(){return this.Li},set:function(a){var y=this.Li;y!==a&&(this.Li=a,this.g("allowReshape",y,a))}},allowResize:{get:function(){return this.Mi},set:function(a){var y=this.Mi;y!==a&&(this.Mi=a,this.g("allowResize",y,a))}},allowRotate:{get:function(){return this.Ni},set:function(a){var y=this.Ni;y!==a&&(this.Ni=a,this.g("allowRotate",y,a))}},allowSelect:{get:function(){return this.Oi},set:function(a){var y=this.Oi;y!==a&&(this.Oi=a,this.g("allowSelect",y,a))}}}),So.prototype.findObjectsNear=So.prototype.og,So.prototype.findObjectsIn=So.prototype.Cf,So.prototype.findObjectsAt=So.prototype.ji,So.prototype.findObjectAt=So.prototype.ic,So.className="Layer";function qt(a,y){if(hm||(ll(),hm=!0),ut(this),ql=this,this.vb=!0,this.Ka=null,this.ya=this.Aa=0,this.ta=null,Za){var E=this,x=function(){E.removeEventListener(sn.document,"DOMContentLoaded",x,!1),E.setRTL()};sn.document.body!==null?this.setRTL():E.addEventListener(sn.document,"DOMContentLoaded",x,!1)}this.ol=null,ig.add("Model",Fo);var b=this;return this.Hb=function(z){var ne=b.partManager;if(z.model===ne.diagram.model&&ne.diagram.aa){ne.diagram.aa=!1;try{var re=z.change;z.modelChange===""&&re===Qo&&ne.updateDataBindings(z.object,z.propertyName)}finally{ne.diagram.aa=!0}}},this.Oc=function(z){b.partManager.doModelChanged(z)},this.hu=this.ku=null,gd(this),this.model=fy(),this.Wg=!0,sh(this),this.layout=new Aa,this.Wg=!1,this.ck=this.ek=this.fk=this.dk=this.ui=this.aA=this.$j=this.Ov=null,this.hk=function(){},this.preventDefault=null,this.rn=!1,this.Yf=new fm,a!==void 0&&(typeof a=="string"||sn.Element&&a instanceof Element?Fh(this,a):y=a),this.vb=!1,y&&this.nm(y),this}var Tc,ql;function gd(a){a.Yd=new ps,a.Yd.Xe(a),a.Db=17,a.Gw=!1,a.tn=!1,a.bu="default",a.Wa=new Qn,a.pj=new Fn,a.nl="default",a.Tx(),a.Sx(),a.pb=1,a.pa=new st(NaN,NaN).freeze(),a.du=new st(NaN,NaN),a.Ca=1,a.Pp=1,a.zt=new st(NaN,NaN).freeze(),a.At=NaN,a.Ot=1e-4,a.Mt=100,a.Ab=new cr,a.zu=new st(NaN,NaN).freeze(),a.ut=new an(NaN,NaN,NaN,NaN).freeze(),a.rj=new Zi(0,0,0,0).freeze(),a.sj=Bd,a.nu=!1,a.Zt=null,a.fu=null,a.yh=vl,a.zk=$a,a.Fg=vl,a.pq=$a,a.yt=ka,a.Bt=ka,a.Fc=!0,a.pn=!1,a.De=new Rt,a.Eh=new Fn,a.Xm=!0,a.vp=250,a.vk=-1,a.xp=new Zi(16,16,16,16).freeze(),a.kg=!1,a.Jk=!1,a.fn=!0,a.bq=new Us,a.bq.diagram=a,a.Qg=new Us,a.Qg.diagram=a,a.cj=new Us,a.cj.diagram=a,a.zg=null,a.pf=null,a.qu=!1,rv(a),a.ai=new Rt,a.Ht=!0,a.uu=_d,a.pw=!1,a.wu=Ef,a.it="auto",a.Op="auto",a.zh=null,a.Fh=null,a.Bh=null,a.Qh=null,a.Oh=null,a.Nh=null,a.Qt=null,a.Lh=null,a.xt=!1,a.Mh=null,a.Ph=null,a.$h=null,a.Ch=null,a.Rt=!1,a.Yt={},a.oj=[null,null],a.Wg=!1,a.Iw=!1,a.ou=!1,a.lt=!1,a.rw=!0,a.ld=!1,a.$i=!1,a.Tw=!0,a.Ce=-2,a.Og=new Fn,a.Xn=new Qn,a.Gg=!1,a.Jd=!0,a.Us=!0,a.Fi=!0,a.Gi=!0,a.Vs=!1,a.Ws=!0,a.Pi=!0,a.Hi=!0,a.Qi=!0,a.Ys=!0,a.Ii=!0,a.Ki=!0,a.Ji=!0,a.Li=!0,a.Mi=!0,a.Ni=!0,a.Oi=!0,a.Zs=!0,a.at=!0,a.qw=!1,a.Vk=!1,a.mn=!0,a.nn=!0,a.Xs=!0,a.$s=!0,a.iu=16,a.mu=16,a.qr=!1,a.gu=!1,a.lu=0,a.ju=0,a.yb=new Zi(5).freeze(),a.Hw=new Rt().freeze(),a.Nt=999999999,a.nw=new Rt().freeze(),a.Zi=!0,a.Ee=!0,a.vd=!0,a.Be=!1,a.gf=!1,a.xh=!0,a.hf=!1,a.sy=new Rt,a.ow=new Rt,a.Xh=null,a.aw=new fn(8,8),a.bw=999,a.Bw=1,a.Jw=0,a.fc={scale:1,position:new st,bounds:new an,Py:new fn,bA:new fn,Oz:!1},a.fc.canvasSize=a.fc.Py,a.fc.newCanvasSize=a.fc.bA,a.fc.isScroll=!1,a.Rw=new an(NaN,NaN,NaN,NaN).freeze(),a.wo=new fn(NaN,NaN).freeze(),a.Sp=new an(NaN,NaN,NaN,NaN).freeze(),a.It=!1,a.Lg=new Fn;var y=new yi,E=new oa;E.bind(new cs("text","",Zr)),y.add(E),a.ny=y,a.Lg.add("",y),y=new yi,E=new oa,E.stroke="brown",E.bind(new cs("text","",Zr)),y.add(E),a.Lg.add("Comment",y),y=new yi,y.selectable=!1,y.avoidable=!1,E=new kr,E.figure="Ellipse",E.fill="black",E.stroke=null,E.desiredSize=new fn(3,3).ja(),y.add(E),a.Lg.add("LinkLabel",y),a.Yi=new Fn,y=new Cr,y.selectionObjectName="GROUPPANEL",y.type=Yn.Vertical,E=new oa,E.font="bold 12pt sans-serif",E.bind(new cs("text","",Zr)),y.add(E),E=new Yn(Yn.Auto),E.name="GROUPPANEL";var x=new kr;x.figure="Rectangle",x.fill="rgba(128,128,128,0.2)",x.stroke="black",E.add(x),x=new Nl,x.padding=new Zi(5,5,5,5).ja(),E.add(x),y.add(E),a.ly=y,a.Yi.add("",y),a.Kh=new Fn,y=new $n,E=new kr,E.isPanelMain=!0,y.add(E),E=new kr,E.toArrow="Standard",E.fill="black",E.stroke=null,E.strokeWidth=0,y.add(E),a.my=y,a.Kh.add("",y),y=new $n,E=new kr,E.isPanelMain=!0,E.stroke="brown",y.add(E),a.Kh.add("Comment",y),y=new Eo,y.type=Yn.Auto,E=new kr,E.fill=null,E.stroke="dodgerblue",E.strokeWidth=3,y.add(E),E=new Nl,E.margin=new Zi(1.5,1.5,1.5,1.5).ja(),y.add(E),a.St=y,a.wt=y,y=new Eo,y.type=Yn.Link,E=new kr,E.isPanelMain=!0,E.fill=null,E.stroke="dodgerblue",E.strokeWidth=3,y.add(E),a.Kt=y,a.fe=null,a.mq=!1,a.Ck=null,a.partManager=new Fo,a.toolManager=new ra,a.toolManager.initializeStandardTools(),a.defaultTool=a.toolManager,a.currentTool=a.defaultTool,a.nt=null,a.Wm=new ae,a.Vt=null,a.Wt=null,a.Mr=!1,a.commandHandler=pf(),a.eq=null,a.fq=uo,a.Pw=!1,a.Mb=1,a.Yh=null,a.Oq=1,a.Sq=0,a.zw=[0,0,0,0,0],a.Tq=0,a.yq=1,a.tw=0,a.uw=new st,a.zy=500,a.wp=new st,a.wq=!1}qt.prototype.clear=function(){this.animationManager.Cc(),this.model.clear(),Vh=null,hh="",gf(this,!1),this.Xn.clear(),mg(),this.Og.clear(),this.Xh=null,this.Ya(),this.Va(),this.N()};function gf(a,y){a.animationManager.Cc(!0),a.Hw=new Rt().freeze(),a.nw=new Rt().freeze();var E=a.skipsUndoManager,x=a.cc!==null&&a.cc!==void 0;x&&(a.skipsUndoManager=!0);var b=null;a.fe!==null&&(b=a.fe.part,b!==null&&a.remove(b));var z=[],ne=a.Wa.length;if(y){for(y=0;y<ne;y++)for(var re=a.Wa.s[y].parts;re.next();){var oe=re.value;oe!==b&&oe.data===null&&z.push(oe)}for(y=0;y<z.length;y++)a.remove(z[y])}for(y=0;y<ne;y++)a.Wa.s[y].clear();return a.partManager.clear(),a.De.clear(),a.Eh.clear(),a.ai.clear(),a.Ck=null,a.Xn.clear(),mg(),a.Og.clear(),Sa=[],b!==null&&(a.add(b),a.partManager.parts.remove(b)),x&&(a.skipsUndoManager=E),z}function pf(){return null}qt.prototype.reset=function(){this.clear(),this.vb=!0,gd(this),Wc(this),this.Wg=!0,sh(this),this.layout=new Aa,this.Wg=!1,this.model=fy(),this.model.undoManager=new va,this.vb=this.rn=!1,this.N()},qt.prototype.setRTL=function(a){a=a===void 0?this.div:a,a===null&&(a=sn.document.body);var y=si("div");y.dir="rtl",y.style.cssText="font-size: 14px; width: 1px; height: 1px; position: absolute; top: -1000px; overflow: scroll;",y.textContent="A",a.appendChild(y);var E="reverse";0<y.scrollLeft?E="default":(y.scrollLeft=1,y.scrollLeft===0&&(E="negative")),a.removeChild(y),this.bu=E},qt.prototype.setScrollWidth=function(a){a=a===void 0?this.div:a,a===null&&(a=sn.document.body);var y=0;if(Za){var E=dm;y=Tc,E===null&&(E=dm=si("p"),E.style.width="100%",E.style.height="200px",E.style.boxSizing="content-box",y=Tc=si("div"),y.style.position="absolute",y.style.visibility="hidden",y.style.width="200px",y.style.height="150px",y.style.boxSizing="content-box",y.appendChild(E)),y.style.overflow="hidden",a.appendChild(y);var x=E.offsetWidth;y.style.overflow="scroll",E=E.offsetWidth,x===E&&(E=y.clientWidth),a.removeChild(y),y=x-E,y!==0||Ha||(y=11)}this.Db=y,this.Gw=!0},qt.prototype.qb=function(a){a.classType===qt&&(this.autoScale=a)},qt.prototype.toString=function(a){a===void 0&&(a=0);var y="";if(this.div&&this.div.id&&(y=this.div.id),y='Diagram "'+y+'"',0>=a)return y;for(var E=this.Wa.iterator;E.next();)y+=`
|
|
|
`+E.value.toString(a-1);return y};function Fh(a,y){if(Za){if(y!=null||tn("Diagram setup requires an argument DIV."),a.Ka!==null&&tn("Diagram has already completed setup."),typeof y=="string"?a.Ka=sn.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:tn("No DIV or DIV id supplied: "+y),a.Ka===null&&tn("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&tn("Invalid div id; div already has a Diagram associated with it."),!a.ol&&sn.ResizeObserver){var E=Wi(function(){a.$b()},250);a.ol=new sn.ResizeObserver(function(){E()}),a.ol.observe(a.Ka)}sn.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var x="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=x,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=sn.go;var b=new ec(a);if(b.style!==void 0&&(b.style.position="absolute",b.style.top="0px",b.style.left="0px",sn.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),b.style.zIndex="2",b.style.userSelect="none",b.style.MozUserSelect="none",b.style.touchAction="none",b.style.letterSpacing="normal !important",b.style.wordSpacing="normal !important"),a.ta=b,a.ib=b.context,x=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),Yg(a,a.Aa,a.ya),a.Ka.insertBefore(b.Oa,a.Ka.firstChild),b=new ec(null),b.width=1,b.height=1,a.jw=b,a.oy=b.context,Za){b=si("div");var z=si("div");b.style.position="absolute",b.style.overflow="auto",b.style.width=a.Aa+"px",b.style.height=a.ya+"px",b.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(b),b.appendChild(z),b.onscroll=Uh,b.addEventListener("pointerdown",mf),b.H=a,b.uy=!0,b.vy=!0,a.ku=b,a.hu=z}a.hk=Wi(function(){a.Yh=null,a.N()},300),a.Ov=Wi(function(){Bh(a)},250),a.preventDefault=function(ne){return ne.preventDefault(),!1},a.$j=function(ne){if(a.isEnabled){var re=$l(a,ne,!0);re.bubbles=!0;var oe=0,he=0;re.delta=0,ne.deltaX!==void 0?(ne.deltaX!==0&&(oe=0<ne.deltaX?1:-1),ne.deltaY!==0&&(he=0<ne.deltaY?1:-1),re.delta=Math.abs(ne.deltaX)>Math.abs(ne.deltaY)?-oe:-he):ne.wheelDeltaX!==void 0?(ne.wheelDeltaX!==0&&(oe=0<ne.wheelDeltaX?-1:1),ne.wheelDeltaY!==0&&(he=0<ne.wheelDeltaY?-1:1),re.delta=Math.abs(ne.wheelDeltaX)>Math.abs(ne.wheelDeltaY)?-oe:-he):ne.wheelDelta!==void 0&&ne.wheelDelta!==0&&(re.delta=0<ne.wheelDelta?1:-1),a.doMouseWheel(),sa(re,ne)}},a.aA=function(ne){a.isEnabled&&(a.Vk=!1,$l(a,ne,!0),ne=a.currentTool,ne.cancelWaitAfter(),ne.standardMouseOver())},a.ui=function(ne){if(a.isEnabled){a.Vk=!0;var re=a.Yt;re[ne.pointerId]===void 0&&(re[ne.pointerId]=ne),re=a.oj;var oe=!1;if(re[0]===null||re[0].pointerId!==ne.pointerId&&re[0].pointerType===ne.pointerType)if(re[1]!==null&&re[1].pointerId===ne.pointerId)re[1]=ne,oe=!0;else if(re[0]===null)re[0]=ne;else if(re[1]===null)re[1]=ne,oe=!0;else{ne.preventDefault();return}else re[0]=ne;(re=ne.pointerType==="touch"||ne.pointerType==="pen")&&(a.qu=!1,a.wq=!0);var he=oe;oe=Ma(a,ne,!0,!1,!0,he),Xs(a,ne,oe),oe.targetDiagram=yf(ne,ne.target),oe.targetObject=null,he||oe.clone(a.bq),he=a.uw,re=re?25:10,ne.timeStamp-a.tw<a.zy&&!(Math.abs(he.x-ne.screenX)>re||Math.abs(he.y-ne.screenY)>re)?a.yq++:a.yq=1,oe.clickCount=a.yq,a.tw=ne.timeStamp,a.uw.sg(ne.screenX,ne.screenY),a.doMouseDown(),ne.button===1?ne.preventDefault():sa(oe,ne)}},a.dk=function(ne){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==ne.pointerId&&re[0].pointerType===ne.pointerType){if(re[1]!==null&&re[1].pointerId===ne.pointerId){re[1]=ne;return}if(re[0]===null)re[0]=ne;else return}else re[0]=ne;if(re[0].pointerId===ne.pointerId){re=Ma(a,ne,!1,!1,!1,re[1]!==null);var oe=sn.document.elementFromPoint(ne.clientX,ne.clientY)||null;oe!==null&&oe.shadowRoot!==void 0&&oe.shadowRoot!==null&&(oe=oe.shadowRoot.elementFromPoint(ne.clientX,ne.clientY));var he=a,fe=ne;oe&&oe.H&&(fe=ne,he=oe.H),re.targetDiagram=he,Xs(a,fe,re),re.targetObject=null,a.doMouseMove(),sa(re,ne)}}},a.fk=function(ne){if(a.isEnabled){a.Vk=!0;var re=ne.pointerType==="touch"||ne.pointerType==="pen",oe=a.Yt;if(re&&a.qu)delete oe[ne.pointerId],ne.preventDefault();else if(oe=a.oj,oe[0]===null||oe[0].pointerId!==ne.pointerId&&oe[0].pointerType===ne.pointerType)oe[1]!==null&&oe[1].pointerId===ne.pointerId&&(oe[1]=null);else{oe[0]=null,oe=Ma(a,ne,!1,!0,!0,!1);var he=sn.document.elementFromPoint(ne.clientX,ne.clientY)||null;he!==null&&he.shadowRoot!==void 0&&he.shadowRoot!==null&&(he=he.shadowRoot.elementFromPoint(ne.clientX,ne.clientY)),he!==null&&he.H instanceof qt&&he.H!==a&&Xs(he.H,ne,oe),he===null&&(he=ne.target),Xs(a,ne,oe),oe.clickCount=a.yq,oe.targetDiagram=yf(ne,he),oe.targetObject=null,a.doMouseUp(),sa(oe,ne),re&&(a.wq=!1)}}},a.ek=function(ne){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[ne.pointerId]&&delete re[ne.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===ne.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===ne.pointerId&&(re[1]=null),ne.pointerType!=="touch"&&ne.pointerType!=="pen"&&(ne=a.currentTool,ne.cancelWaitAfter(),ne.standardMouseOver())}},a.ck=function(ne){var re=a.oj;re[0]!==null&&re[0].pointerId===ne.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===ne.pointerId&&(re[1]=null)},a.Vp=x.Z["d"+wf[1]+wf[2]+"wI"+Kh.slice(1,5)]["b"+jE.slice(1,y)](x.Z,bf,y,y),x.Vc(!0),Vg(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}qt.prototype.addEventListener=function(a,y,E,x){a.addEventListener(y,E,{capture:x,passive:!1})},qt.prototype.removeEventListener=function(a,y,E,x){a.removeEventListener(y,E,{capture:x})};function Vg(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(E){return E.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(E){return E.preventDefault(),!1},!1),a.addEventListener(sn,"resize",a.Ov,!1)}function ml(a){30<a.Sq&&(a.Yh=1)}function ah(a,y){a.Yh!==null&&(a.Yh=null,y&&a.hk(),ia&&ia.nx||(a.Sq=0,a.zw=[0,0,0,0,0],a.Tq=0))}qt.prototype.computePixelRatio=function(){return this.Yh!==null?this.Yh:sn.devicePixelRatio||1},qt.prototype.doMouseMove=function(){this.currentTool.doMouseMove()},qt.prototype.doMouseDown=function(){this.currentTool.doMouseDown()},qt.prototype.doMouseUp=function(){this.currentTool.doMouseUp()},qt.prototype.doMouseWheel=function(){this.currentTool.doMouseWheel()},qt.prototype.doKeyDown=function(){this.currentTool.doKeyDown()},qt.prototype.doKeyUp=function(){this.currentTool.doKeyUp()},qt.prototype.doFocus=function(){this.focus()},qt.prototype.focus=function(){if(this.ta)if(this.scrollsPageOnFocus)this.ta.focus();else{var a=sn.scrollX||sn.pageXOffset,y=sn.scrollY||sn.pageYOffset;this.ta.focus(),sn.scrollTo(a,y)}},qt.prototype.Oy=function(){this.H.R("GainedFocus")},qt.prototype.Ny=function(){this.H.R("LostFocus")};function Bh(a){if(a.ta!==null){var y=a.Ka;if(y!==null&&y.clientWidth!==0&&y.clientHeight!==0){a.Gw||a.setScrollWidth();var E=a.gf?a.Db:0,x=a.Be?a.Db:0,b=a.Mb;a.Mb=a.computePixelRatio(),a.Mb!==b&&(a.pn=!0,a.$b()),(y.clientWidth!==a.Aa+E||y.clientHeight!==a.ya+x)&&(a.Ee=!0,a.Fc=!0,y=a.layout,y!==null&&y.isViewportSized&&a.autoScale===vl&&(a.Jk=!0,y.C()),a.ld||a.$b())}}}function sh(a){var y=new So;y.name="Background",a.Al(y),y=new So,y.name="",a.Al(y),y=new So,y.name="Foreground",a.Al(y),y=new So,y.name="Adornment",y.isTemporary=!0,y.isInDocumentBounds=!1,a.Al(y),y=new So,y.name="Tool",y.isTemporary=!0,y.isInDocumentBounds=!0,a.Al(y),y=new So,y.name="Grid",y.allowSelect=!1,y.pickable=!1,y.isTemporary=!0,y.isInDocumentBounds=!1,a.Ww(y,a.Qj("Background"))}function _h(a){var y=new Yn(Yn.Grid);y.name="GRID";var E=new kr;return E.figure="LineH",E.stroke="lightgray",E.strokeWidth=.5,E.interval=1,y.add(E),E=new kr,E.figure="LineH",E.stroke="gray",E.strokeWidth=.5,E.interval=5,y.add(E),E=new kr,E.figure="LineH",E.stroke="gray",E.strokeWidth=1,E.interval=10,y.add(E),E=new kr,E.figure="LineV",E.stroke="lightgray",E.strokeWidth=.5,E.interval=1,y.add(E),E=new kr,E.figure="LineV",E.stroke="gray",E.strokeWidth=.5,E.interval=5,y.add(E),E=new kr,E.figure="LineV",E.stroke="gray",E.strokeWidth=1,E.interval=10,y.add(E),E=new Ki,E.add(y),E.layerName="Grid",E.zOrder=0,E.isInDocumentBounds=!1,E.isAnimated=!1,E.pickable=!1,E.locationObjectName="GRID",a.add(E),a.partManager.parts.remove(E),y.visible=!1,y}function Uh(){this.H.gu?this.H.gu=!1:this.H.isEnabled?this.H.kx(this):Gh(this.H)}function mf(a){this.H.isEnabled?(this.H.lu=a.target.scrollTop,this.H.ju=a.target.scrollLeft):Gh(this.H)}qt.prototype.kx=function(a){if(this.ta!==null){var y=this.ku,E=this.hu;this.qr=!0;var x=this.documentBounds,b=this.viewportBounds,z=this.rj,ne=x.x-z.left,re=x.y-z.top,oe=x.width+z.left+z.right,he=x.height+z.top+z.bottom,fe=x.right+z.right;z=x.bottom+z.bottom;var Se=b.x;x=b.y;var Te=b.width,Ne=b.height,Be=b.right,We=b.bottom;b=this.scale;var vt=a.scrollLeft;if(this.tn)switch(this.bu){case"negative":vt=vt+a.scrollWidth-a.clientWidth;break;case"reverse":vt=a.scrollWidth-vt-a.clientWidth}var ct=vt;Te<oe||Ne<he?(vt=st.allocAt(this.position.x,this.position.y),this.allowHorizontalScroll&&this.ju!==ct&&(vt.x=ct/b+ne,this.ju=ct),this.allowVerticalScroll&&this.lu!==a.scrollTop&&(vt.y=a.scrollTop/b+re,this.lu=a.scrollTop),this.position=vt,st.free(vt),this.Ee=this.qr=!1):(vt=st.alloc(),a.uy&&this.allowHorizontalScroll&&(ne<Se&&(this.position=vt.h(ct+ne,this.position.y)),fe>Be&&(this.position=vt.h(-(y.scrollWidth-this.Aa)+ct-this.Aa/b+fe,this.position.y))),a.vy&&this.allowVerticalScroll&&(re<x&&(this.position=vt.h(this.position.x,a.scrollTop+re)),z>We&&(this.position=vt.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/b+z))),st.free(vt),this.vd=!0,this.Ee=this.qr=!1,x=this.documentBounds,b=this.viewportBounds,fe=x.right,Be=b.right,z=x.bottom,We=b.bottom,ne=x.x,Se=b.x,re=x.y,x=b.y,Te>=oe&&ne>=Se&&fe<=Be&&(E.style.width="1px"),Ne>=he&&re>=x&&z<=We&&(E.style.height="1px"))}},qt.prototype.computeBounds=function(a){return a===void 0&&(a=new an),Ps(this),Hh(this,a)};function Hh(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var E=!0,x=a.Wa.s,b=x.length,z=0;z<b;z++){var ne=x[z];if(ne.visible&&ne.isInDocumentBounds){ne=ne.Pa.s;for(var re=ne.length,oe=0;oe<re;oe++){var he=ne[oe];he.isInDocumentBounds&&he.isVisible()&&(he=he.actualBounds,he.w()&&(E?(E=!1,y.assign(he)):y.ed(he)))}}}return E&&y.h(0,0,0,0),y.Co(a.yb),y}qt.prototype.computePartsBounds=function(a,y){y===void 0&&(y=!1);var E=null;if(qi(a))for(var x=0;x<a.length;x++){var b=a[x];!y&&b instanceof $n||(b.Va(),E===null?E=b.actualBounds.copy():E.ed(b.actualBounds))}else for(a=a.iterator;a.next();)x=a.value,!y&&x instanceof $n||(x.Va(),E===null?E=x.actualBounds.copy():E.ed(x.actualBounds));return E===null?new an(NaN,NaN,0,0):E};function lu(a,y){if((y||a.hf)&&!a.vb&&a.ta!==null&&a.documentBounds.w()){if(a.vb=!0,y){var E=a.initialPosition;if(E.w()){a.vb=!1,a.position=E;return}E=st.alloc(),E.xi(a.documentBounds,a.initialDocumentSpot);var x=a.viewportBounds;x=an.allocAt(0,0,x.width,x.height);var b=st.alloc();b.xi(x,a.initialViewportSpot),b.h(E.x-b.x,E.y-b.y),a.position=b,an.free(x),st.free(b),st.free(E)}E=a.yh,y&&a.Fg!==vl&&(E=a.Fg);var z=E!==vl?pd(a,E):a.scale;E=a.pa.x,x=a.pa.y,b=a.Aa/z;var ne=a.ya/z,re=a.zk,oe=a.pq;y&&!re.sb()&&(oe.sb()||oe.Xb())&&(re=oe.Xb()?Yr:oe),vf(a,a.documentBounds,b,ne,re,y),y=a.scale,a.scale=z,a.vb=!1,z=a.viewportBounds,Ht.B(z.x,E)&&Ht.B(z.y,x)&&Ht.B(z.width,b)&&Ht.B(z.height,ne)||a.onViewportBoundsChanged(new an(E,x,b,ne),z,y,!1)}}function pd(a,y){var E=a.Pp;if(a.ta===null)return E;a.Va();var x=a.documentBounds;if(!x.w())return E;var b=x.width;x=x.height;var z=a.Aa+(a.gf?a.Db:0),ne=a.ya+(a.Be?a.Db:0),re=z/b,oe=ne/x;return y===wu?(y=Math.min(oe,re),y>E&&(y=E),y<a.minScale&&(y=a.minScale),y>a.maxScale&&(y=a.maxScale),y):y===fh?(y=oe>re?(ne-a.Db)/x:(z-a.Db)/b,y>E&&(y=E),y<a.minScale&&(y=a.minScale),y>a.maxScale&&(y=a.maxScale),y):a.scale}qt.prototype.zoomToFit=function(){var a=this.sj;this.sj=Bd,this.scale=pd(this,wu),a!==Bd&&(lu(this,!1),vf(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Ie=qt.prototype,Ie.BA=function(a,y){y===void 0&&(y=wu);var E=a.width,x=a.height;if(!(E===0||x===0||isNaN(E)&&isNaN(x))){var b=1;if(y===wu||y===fh)if(isNaN(E))b=this.viewportBounds.height*this.scale/x;else if(isNaN(x))b=this.viewportBounds.width*this.scale/E;else{b=this.Aa;var z=this.ya;b=y===fh?z/x>b/E?(z-(this.Be?this.Db:0))/x:(b-(this.gf?this.Db:0))/E:Math.min(z/x,b/E)}this.scale=b,this.position=new st(a.x,a.y)}},Ie.Jy=function(a,y){this.Va();var E=this.documentBounds,x=this.viewportBounds;this.position=new st(E.x+(a.x*E.width+a.offsetX)-(y.x*x.width-y.offsetX),E.y+(a.y*E.height+a.offsetY)-(y.y*x.height-y.offsetY))},Ie.zz=function(a){if(a instanceof Ut){this.eq=a;var y=st.alloc();this.fq=this.op(a.ga(ka,y)),st.free(y)}else this.eq=null,this.fq=uo};function vf(a,y,E,x,b,z){var ne=st.allocAt(a.pa.x,a.pa.y),re=ne.x,oe=ne.y;if(a.eq!==null){var he=st.alloc();he=a.eq.ga(ka,he),re=he.x-a.fq.x/a.scale,oe=he.y-a.fq.y/a.scale,b=pa,st.free(he)}(z||a.scrollMode===Bd)&&(b.sb()&&(E>y.width&&(re=y.x+(b.x*y.width+b.offsetX)-(b.x*E-b.offsetX)),x>y.height&&(oe=y.y+(b.y*y.height+b.offsetY)-(b.y*x-b.offsetY))),b=a.rj,z=E-y.width,E<y.width+b.left+b.right?(re=Math.min(re+E/2,y.right+Math.max(z,b.right)-E/2),re=Math.max(re,y.left-Math.max(z,b.left)+E/2),re-=E/2):re>y.left?re=y.left:re<y.right-E&&(re=y.right-E),E=x-y.height,x<y.height+b.top+b.bottom?(oe=Math.min(oe+x/2,y.bottom+Math.max(E,b.bottom)-x/2),oe=Math.max(oe,y.top-Math.max(E,b.top)+x/2),oe-=x/2):oe>y.top?oe=y.top:oe<y.bottom-x&&(oe=y.bottom-x)),ne.x=isFinite(re)?re:-a.yb.left,ne.y=isFinite(oe)?oe:-a.yb.top,a.positionComputation!==null&&(y=a.positionComputation(a,ne),ne.x=y.x,ne.y=y.y),dc(a.Yd,a.pa,ne),a.pa.h(ne.x,ne.y),Wc(a),st.free(ne)}Ie.Ol=function(a,y){if(y===void 0&&(y=!0),y){if(a=fc(this,a,function(E){return E.part},function(E){return E.canSelect()}),a instanceof Ki)return a}else if(a=fc(this,a,function(E){return E.part}),a instanceof Ki)return a;return null},Ie.ic=function(a,y,E){y===void 0&&(y=null),E===void 0&&(E=null),Ps(this);for(var x=this.Wa.iteratorBackwards;x.next();){var b=x.value;if(b.visible&&(b=b.ic(a,y,E),b!==null))return b}return null};function fc(a,y,E,x){for(E===void 0&&(E=null),x===void 0&&(x=null),Ps(a),a=a.Wa.iteratorBackwards;a.next();){var b=a.value;if(b.visible&&!b.isTemporary&&(b=b.ic(y,E,x),b!==null))return b}return null}Ie.lz=function(a,y,E){return y===void 0&&(y=!0),md(this,a,function(x){return x.part},y?function(x){return x instanceof Ki&&x.canSelect()}:null,E)};function md(a,y,E,x,b){for(E===void 0&&(E=null),x===void 0&&(x=null),b instanceof Qn||b instanceof Rt||(b=new Rt),Ps(a),a=a.Wa.iteratorBackwards;a.next();){var z=a.value;z.visible&&!z.isTemporary&&z.ji(y,E,x,b)}return b}Ie.ji=function(a,y,E,x){y===void 0&&(y=null),E===void 0&&(E=null),x instanceof Qn||x instanceof Rt||(x=new Rt),Ps(this);for(var b=this.Wa.iteratorBackwards;b.next();){var z=b.value;z.visible&&z.ji(a,y,E,x)}return x},Ie.ux=function(a,y,E,x){return y===void 0&&(y=!1),E===void 0&&(E=!0),lh(this,a,function(b){return b instanceof Ki&&(!E||b.canSelect())},y,x)},Ie.Cf=function(a,y,E,x,b){y===void 0&&(y=null),E===void 0&&(E=null),x===void 0&&(x=!1),b instanceof Qn||b instanceof Rt||(b=new Rt),Ps(this);for(var z=this.Wa.iteratorBackwards;z.next();){var ne=z.value;ne.visible&&ne.Cf(a,y,E,x,b)}return b},Ie.Nu=function(a,y,E,x,b,z){var ne=new Rt;Ps(this);for(var re=this.Wa.iteratorBackwards;re.next();){var oe=re.value;oe.visible&&oe.Nu(a,y,E,x,ne,b,z)}return ne};function lh(a,y,E,x,b){var z=null;for(z===void 0&&(z=null),E===void 0&&(E=null),x===void 0&&(x=!1),b instanceof Qn||b instanceof Rt||(b=new Rt),Ps(a),a=a.Wa.iteratorBackwards;a.next();){var ne=a.value;ne.visible&&!ne.isTemporary&&ne.Cf(y,z,E,x,b)}return b}Ie.mz=function(a,y,E,x,b){return E===void 0&&(E=!0),x===void 0&&(x=!0),vd(this,a,y,function(z){return z instanceof Ki&&(!x||z.canSelect())},E,b)},Ie.og=function(a,y,E,x,b,z){E===void 0&&(E=null),x===void 0&&(x=null),b===void 0&&(b=!0),b!==!1&&b!==!0&&((b instanceof Qn||b instanceof Rt)&&(z=b),b=!0),z instanceof Qn||z instanceof Rt||(z=new Rt),Ps(this);for(var ne=this.Wa.iteratorBackwards;ne.next();){var re=ne.value;re.visible&&re.og(a,y,E,x,b,z)}return z};function vd(a,y,E,x,b,z){var ne=null;for(ne===void 0&&(ne=null),x===void 0&&(x=null),b===void 0&&(b=!0),b!==!1&&b!==!0&&((b instanceof Qn||b instanceof Rt)&&(z=b),b=!0),z instanceof Qn||z instanceof Rt||(z=new Rt),Ps(a),a=a.Wa.iteratorBackwards;a.next();){var re=a.value;re.visible&&!re.isTemporary&&re.og(y,E,ne,x,b,z)}return z}qt.prototype.acceptEvent=function(a){return $l(this,a,a instanceof MouseEvent)};function $l(a,y,E){var x=a.Qg;return a.Qg=a.cj,a.cj=x,x.diagram=a,x.event=y,E?Xs(a,y,x):(x.viewPoint=a.Qg.viewPoint,x.documentPoint=a.Qg.documentPoint),a=0,y.ctrlKey&&(a+=1),y.altKey&&(a+=2),y.shiftKey&&(a+=4),y.metaKey&&(a+=8),x.modifiers=a,x.button=y.button,y.buttons!==void 0&&(x.buttons=y.buttons),Ha&&y.button===0&&y.ctrlKey&&(x.button=2),x.down=!1,x.up=!1,x.clickCount=1,x.delta=0,x.handled=!1,x.bubbles=!1,x.timestamp=y.timeStamp,x.isMultiTouch=!1,x.targetDiagram=yf(y,y.target),x.targetObject=null,x}function yf(a,y){return y===null?null:(y=y.H)?y:((y=a.path)||typeof a.composedPath!="function"||(y=a.composedPath()),y&&y[0]&&y[0].H?y[0].H:null)}function Ma(a,y,E,x,b,z){var ne=a.Qg;return a.Qg=a.cj,a.cj=ne,ne.diagram=a,ne.clickCount=1,a=ne.delta=0,y.ctrlKey&&(a+=1),y.altKey&&(a+=2),y.shiftKey&&(a+=4),y.metaKey&&(a+=8),ne.modifiers=a,ne.event=y,ne.timestamp=y.timeStamp,ne.button=y.button,ne.buttons=y.buttons,Ha&&y.button===0&&y.ctrlKey&&(ne.button=2),ne.down=E,ne.up=x,ne.handled=!1,ne.bubbles=b,ne.isMultiTouch=z,ne}function sa(a,y){return a.bubbles?!0:(y.stopPropagation!==void 0&&y.stopPropagation(),y.cancelable!==!1&&y.preventDefault(),y.cancelBubble=!0,!1)}qt.prototype.Qz=function(a){var y=this.H;if(!this.H.isEnabled)return!1;var E=$l(y,a,!1);switch(E.key=String.fromCharCode(a.which),E.down=!0,a.which){case 8:E.key="Backspace";break;case 33:E.key="PageUp";break;case 34:E.key="PageDown";break;case 35:E.key="End";break;case 36:E.key="Home";break;case 37:E.key="Left";break;case 38:E.key="Up";break;case 39:E.key="Right";break;case 40:E.key="Down";break;case 45:E.key="Insert";break;case 46:E.key="Del";break;case 48:E.key="0";break;case 187:case 61:case 107:E.key="Add";break;case 189:case 173:case 109:E.key="Subtract";break;case 27:E.key="Esc"}return y.doKeyDown(),sa(E,a)},qt.prototype.Rz=function(a){var y=this.H;if(!y.isEnabled)return!1;var E=$l(y,a,!1);switch(E.key=String.fromCharCode(a.which),E.up=!0,a.which){case 8:E.key="Backspace";break;case 33:E.key="PageUp";break;case 34:E.key="PageDown";break;case 35:E.key="End";break;case 36:E.key="Home";break;case 37:E.key="Left";break;case 38:E.key="Up";break;case 39:E.key="Right";break;case 40:E.key="Down";break;case 45:E.key="Insert";break;case 46:E.key="Del"}return y.doKeyUp(),sa(E,a)},qt.prototype.bz=function(a){var y=this.H;if(!y.isEnabled)return!1;var E=$l(y,a,!0);return y.mouseEnter!==null&&y.mouseEnter(E),y.currentTool.standardMouseOver(),sa(E,a)},qt.prototype.cz=function(a){var y=this.H;if(!y.isEnabled)return!1;var E=$l(y,a,!0);return y.mouseLeave!==null&&y.mouseLeave(E),sa(E,a)},qt.prototype.getMouse=function(a){var y=this.ta;if(y===null)return new st(0,0);var E=y.getBoundingClientRect();return y=a.clientX-this.Aa/E.width*E.left,a=a.clientY-this.ya/E.height*E.top,this.Ab!==null?Ir(new st(y,a),this.Ab):new st(y,a)};function Xs(a,y,E){var x=a.ta,b=a.Aa,z=a.ya,ne=0,re=0;x!==null&&(x=x.getBoundingClientRect(),ne=y.clientX-b/x.width*x.left,re=y.clientY-z/x.height*x.top),E.viewPoint.h(ne,re),a.Ab!==null?(y=st.allocAt(ne,re),a.Ab.Cd(y),E.documentPoint.assign(y),st.free(y)):E.documentPoint.h(ne,re)}function bu(a,y,E){if(a.oj[0]!==null){y=a.oj[y];var x=a.ta;x!==null&&(x=x.getBoundingClientRect(),E.h(y.clientX-a.Aa/x.width*x.left,y.clientY-a.ya/x.height*x.top))}}qt.prototype.Ya=function(){this.Zi||(this.Zi=!0,this.$b(!1))};function Cl(a){a.ld||Ps(a),a.Va()}qt.prototype.redraw=function(){this.vb||this.ld||(this.N(),this.bd())},Ie=qt.prototype,Ie.Pz=function(){return this.kg},Ie.Xy=function(a){a===void 0&&(a=null);var y=this.animationManager,E=y.isEnabled;y.Cc(),y.isEnabled=!1,el(this),this.hf=!1,this.du=new st(NaN,NaN),y.isEnabled=E,this.ld=!0;var x=this;a!==null&&ir(function(){x.ld=!1,ol(y,"Model"),a(x)},1)},Ie.$b=function(a){if(a===void 0&&(a=!1),this.kg!==!0&&!(this.vb||a===!1&&this.ld)){this.kg=!0;var y=this;sn.requestAnimationFrame(function(){y.kg&&y.bd()})}},Ie.bd=function(){(!this.fn||this.kg)&&(this.fn&&(this.fn=!1),el(this))};function qu(a,y,E){!a.Ee||a.vb||a.animationManager.defaultAnimation.isAnimating||Gh(a)||(y&&Ps(a),E&&lu(a,!1))}function el(a,y){if(!a.ld&&(a.kg=!1,a.Ka!==null||a.wo.w())){a.ld=!0;var E=a.animationManager,x=a.Xn;if(!E.isAnimating&&x.length!==0){for(var b=x.s,z=b.length,ne=0;ne<z;ne++){var re=b[ne];Es(re,!1),re.v()}x.clear()}x=a.ow,0<x.count&&(x.each(function(oe){oe.Nv()}),x.clear()),b=x=!1,E.defaultAnimation.isAnimating&&(b=!0,x=a.skipsUndoManager,a.skipsUndoManager=!0),E.zb||Bh(a),qu(a,!1,!0),a.fe!==null&&(a.fe.visible&&!a.mq&&(Gc(a),a.mq=!0),!a.fe.visible&&a.mq&&(a.mq=!1)),Ps(a),z=!1,(!a.hf||a.xh)&&(a.hf?ep(a,!a.Jk):(a.Ea("Initial Layout"),E.isEnabled===!1&&E.Cc(),ep(a,!1)),z=!0),a.Jk=!1,Ps(a),a.ou||Cl(a),qu(a,!0,!1),ne=!1,z?(E=an.alloc(),E.assign(a.viewportBounds),a.hf||(ne=a.hf=!0,a.skipsUndoManager||(a.undoManager.isPendingClear=!0),a.undoManager.isPendingUnmodified=!0,jc(a)),a.R("LayoutCompleted"),qu(a,!0,!1),an.free(E)):E.Ok&&E.Qw&&(a.Fg!==vl?a.scale=pd(a,a.Fg):a.yh!==vl?a.scale=pd(a,a.yh):(E=a.initialScale,isFinite(E)&&0<E&&(a.scale=E)),lu(a,!0)),z&&ne&&a.eb("Initial Layout"),Ps(a),y||a.gc(a.ib),b&&(a.skipsUndoManager=x),a.ld=!1}}function jc(a){if(a.Fg!==vl)a.scale=pd(a,a.Fg);else if(a.yh!==vl)a.scale=pd(a,a.yh);else{var y=a.initialScale;isFinite(y)&&0<y&&(a.scale=y)}lu(a,!0),y=a.Wa.s,a.Fd(y,y.length,a,a.viewportBounds),a.R("InitialLayoutCompleted"),a.du.assign(a.pa),Gc(a)}function Ps(a){if(a.De.count!==0&&(a.ld||!a.animationManager.isTicking)){for(var y=0;23>y;y++){var E=a.De.iterator;if(E===null||a.De.count===0)break;a.De=new Rt,a.Nv(E,a.De)}a.nodes.each(function(x){x instanceof Cr&&x.U&65536&&(x.U=x.U^65536)})}}Ie.Nv=function(a,y){for(a.reset();a.next();){var E=a.value;!E.Zc()||E instanceof Cr||(E.si()?(E.measure(1/0,1/0),E.arrange()):y.add(E))}for(a.reset();a.next();)E=a.value,E instanceof Cr&&E.isVisible()&&yd(this,E);for(a.reset();a.next();)E=a.value,E instanceof $n&&E.isVisible()&&(E.si()?(E.measure(1/0,1/0),E.arrange()):y.add(E));for(a.reset();a.next();)E=a.value,E instanceof Eo&&E.isVisible()&&(E.si()?(E.measure(1/0,1/0),E.arrange()):y.add(E))};function yd(a,y){for(var E=Vi(),x=Vi(),b=y.memberParts;b.next();){var z=b.value;z.isVisible()&&(z instanceof Cr?(Tu(z)||Al(z)||ph(z))&&yd(a,z):z instanceof $n?z.fromNode===y||z.toNode===y?x.push(z):E.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=E.length,b=0;b<a;b++)z=E[b],z.measure(1/0,1/0),z.arrange();for(Qi(E),y.measure(1/0,1/0),y.arrange(),a=x.length,y=0;y<a;y++)E=x[y],E.measure(1/0,1/0),E.arrange();Qi(x)}Ie.Fd=function(a,y,E,x){if(this.vd||this.animationManager.isAnimating)for(var b=0;b<y;b++)a[b].Fd(E,x)},Ie.gc=function(a){if(this.Ka!==null){if(this.ta===null&&tn("No canvas specified"),this.nl==="svg"){if(this.Ka!==null){var y=this.animationManager;if(!y.zb&&(!y.isAnimating||y.isTicking)){jh(this);var E=this.Aa,x=this.ya;if(a.Gv.resize(E,x,E,x),E=this.Wa.s,x=E.length,this.Fd(E,x,this,this.viewportBounds),this.Fc||y.isAnimating){y=this.pa;var b=this.Ca,z=Math.round(y.x*b)/b,ne=Math.round(y.y*b)/b,re=this.Ab;for(re.reset(),b!==1&&re.scale(b),y.x===0&&y.y===0||re.translate(-z,-ne),a.ti=null,Jy(a,re.m11,re.m12,re.m21,re.m22,re.dx,re.dy),this.pb!==1&&(a.globalAlpha=this.pb),Dd(this,a),y=this.Mb,this.ta.context.setTransform(y,0,0,y,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya),y=0;y<x;y++)E[y].gc(a,this);a=!1,this.Yf?Zh(this.Yf,this)&&(a=this.Vp()):a=!0,a&&(cr.prototype.Cd=cr.prototype.Eu),this.Fc=this.vd=!1}}}}else e:if(z=this.animationManager,!z.zb&&(!z.isAnimating||z.isTicking)&&(E=new Date,jh(this),this.Ka.style.opacity!=="0")){if(x=a!==this.ib,y=this.Wa.s,b=y.length,this.Fd(y,b,this,this.viewportBounds),x)a.Vc(!0),this.vd=!0;else if(!this.Fc&&!z.isAnimating)break e;z=this.Ab,z.reset(),ne=this.Mb,re=this.pa;var oe=this.Ca,he=Math.round(re.x*oe)/oe,fe=Math.round(re.y*oe)/oe;for(oe!==1&&z.scale(oe),re.x===0&&re.y===0||z.translate(-he,-fe),a.setTransform(ne,0,0,ne,0,0),a.clearRect(0,0,this.Aa,this.ya),this.pb!==1&&(a.globalAlpha=this.pb),Dd(this,a),re=0;re<b;re++)a.setTransform(ne,0,0,ne,0,0),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),a.yc(),y[re].gc(a,this);if(y=!1,this.Yf?Zh(this.Yf,this)&&(y=this.Vp()):y=!0,y&&(cr.prototype.Cd=cr.prototype.Eu),x?(this.ib.Vc(!0),this.vd=!0):this.Fc=this.vd=!1,y=+new Date-+E,x=ia&&ia.nx,E=this.zw,x||this.Yh===null){for(E[this.Tq]=y,this.Tq=(this.Tq+1)%E.length,b=y=0;b<E.length;b++)y+=E[b];this.Sq=y/E.length}if(this.pb!==1&&(a.globalAlpha=1),x)for(a.setTransform(1,0,0,1,0,0),x=0;x<E.length;x++)a.fillText(E[x].toString(),20,150+ +(20*x))}}};function Zf(a,y,E,x,b,z,ne,re,oe,he){if(a.Ka!==null){a.ta===null&&tn("No canvas specified"),ne===void 0&&(ne=null),re===void 0&&(re=null),oe===void 0&&(oe=!1),he===void 0&&(he=!1),jh(a),a.ib.Vc(!0),a.vd=!0,a.$i=!0;var fe=a.Ca;a.Ca=b;var Se=a.Wa.s,Te=Se.length;try{var Ne=new an(z.x,z.y,x.width/b,x.height/b),Be=Ne.copy();Be.Co(E),Gc(a,Be),Ps(a),a.Fd(Se,Te,a,Ne),y.setTransform(1,0,0,1,0,0),y.clearRect(0,0,x.width,x.height),re!==null&&re!==""&&(y.fillStyle=re,y.ox(0,0,x.width,x.height));var We=a.Mb;y.scale(We,We);var vt=cr.alloc();vt.reset(),vt.translate(E.left,E.top),vt.scale(b),z.x===0&&z.y===0||vt.translate(-z.x,-z.y),y.setTransform(vt.m11,vt.m12,vt.m21,vt.m22,vt.dx,vt.dy),y.yc(),y instanceof uu&&Jy(y,vt.m11,vt.m12,vt.m21,vt.m22,vt.dx,vt.dy),cr.free(vt),Dd(a,y),y.globalAlpha=a.pb;var ct=a.Qj("Grid");if(ne){var wt=new Rt,Tt=ne.iterator;for(Tt.reset();Tt.next();){var kt=Tt.value;kt instanceof Ki&&(he||kt.layer!==ct)&&(kt.Gj(),wt.add(kt))}for(he=0;he<Te;he++)$s(Se[he],y,a,wt,oe);wt.each(function(en){return en.Gj()})}else for(wt=0;wt<Te;wt++){var Bt=Se[wt];Bt===ct?he&&Bt.gc(y,a,!0):Bt.gc(y,a,oe)}a.$i=!1,a.Yf&&Zh(a.Yf,a)&&a.Vp()}finally{a.Ca=fe,a.ib.Vc(!0),a.vd=!0,a.Fd(Se,Te,a,a.viewportBounds),Gc(a),a.ib instanceof uu&&(a.ib.Nj.PA(),a.redraw())}}}Ie.Gf=function(a){return this.Rg[a]},Ie.Xx=function(a,y){a==="minDrawingLength"&&(this.Oq=y),this.Rg[a]=y,this.redraw()},Ie.Tx=function(){this.Rg=new vr,this.Rg.drawShadows=!0,this.Rg.textGreeking=!0,this.Rg.viewportOptimizations=!(Ha||ja),this.Rg.temporaryPixelRatio=!0,this.Rg.pictureRatioOptimization=!0,this.Oq=this.Rg.minDrawingLength=1};function Dd(a,y){a=a.Rg,a!==null&&(a.imageSmoothingEnabled!==void 0&&y.Wx(!!a.imageSmoothingEnabled),a=a.defaultFont,a!=null&&(y.font=a))}Ie.Ql=function(a){return this.on[a]},Ie.sA=function(a,y){this.on[a]=y},Ie.Sx=function(){this.on=new vr,this.on.extraTouchArea=10,this.on.extraTouchThreshold=10,this.on.hasGestureZoom=!0},Ie.set=function(a){return Object.assign(this,a),this},Ie.Du=function(a){return this.nm(a)},Ie.nm=function(a){return zh(this,a),this};function zh(a,y){var E=a instanceof Yn,x=a instanceof qt,b;for(b in y){b===""&&tn("Setting properties requires non-empty property names");var z=a,ne=b;if(E||x){var re=b.indexOf(".");if(0<re){var oe=b.substring(0,re);E?z=a.fb(oe):(z=a[oe],z==null&&(z=a.toolManager[oe])),jn(z)?ne=b.substr(re+1):tn("Unable to find object named: "+oe+" in "+a.toString()+" when trying to set property: "+b)}}if(ne[0]!=="_"&&!Io(z,ne))if(x&&ne==="ModelChanged"){a.Yw(y[ne]);continue}else if(x&&ne==="Changed"){a.Pe(y[ne]);continue}else if(x&&Io(a.toolManager,ne))z=a.toolManager;else if(x&&lm(a,ne)){a.Bj(ne,y[ne]);continue}else if(a instanceof _i&&ne==="Changed"){a.Pe(y[ne]);continue}else tn('Trying to set undefined property "'+ne+'" on object: '+z.toString());z[ne]=y[b],ne[0]==="_"&&z instanceof Ut&&z.Vw(ne)}}Ie.bx=function(){if(this.Eh.count!==0&&!(1<this.undoManager.transactionLevel)){for(;0<this.Eh.count;){var a=this.Eh;for(this.Eh=new Fn,a=a.iterator;a.next();){var y=a.key;y.Xo(a.value),y.qc()}}this.N()}},Ie.N=function(a){if(a===void 0)this.Fc=!0,this.$b();else{var y=this.viewportBounds;a.w()&&y.Yc(a)&&(this.Fc=!0,this.$b())}this.R("InvalidateDraw")},qt.prototype.invalidateViewport=function(a,y){if(this.Fc!==!0)if(this.Fc=!0,this.nl==="svg")this.bd();else{var E=this.Gf("temporaryPixelRatio")===!0;if(this.Gf("viewportOptimizations")===!0&&this.scrollMode!==xf&&this.rj.hi(0,0,0,0)&&y.width===a.width&&y.height===a.height){var x=this.scale,b=Math.max(a.y,y.y),z=Math.min(a.y+a.height,y.y+y.height);if(0<Math.max(0,Math.min(a.x+a.width,y.x+y.width)-Math.max(a.x,y.x))*x&&0<Math.max(0,z-b)*x){if(!(this.ld||(this.kg=!1,this.Ka===null||(this.ld=!0,this.documentBounds.w()||(x=an.alloc(),$g(this,this.computeBounds(x)),an.free(x)),x=this.ta,x===null||x instanceof Vc)))){var ne=this.Mb;b=this.Aa*ne;var re=this.ya*ne,oe=this.scale*ne;z=Math.round(Math.round(y.x*oe)-Math.round(a.x*oe)),y=Math.round(Math.round(y.y*oe)-Math.round(a.y*oe)),oe=this.jw,a=this.oy,oe.width!==b&&(oe.width=b),oe.height!==re&&(oe.height=re),a.clearRect(0,0,b,re),oe=190*ne;var he=70*ne,fe=Math.max(z,0),Se=Math.max(y,0),Te=Math.floor(b-fe),Ne=Math.floor(re-Se);a.drawImage(x.Oa,fe,Se,Te,Ne,0,0,Te,Ne),Zh(this.Yf,this)&&a.clearRect(0,0,oe,he),x=Vi(),a=Vi(),Ne=Math.abs(z),Te=Math.abs(y);var Be=fe===0?0:b-Ne;fe=st.allocAt(Be,0),Ne=st.allocAt(Ne+Be,re),a.push(new an(Math.min(fe.x,Ne.x),Math.min(fe.y,Ne.y),Math.abs(fe.x-Ne.x),Math.abs(fe.y-Ne.y)));var We=this.Ab;if(We.reset(),We.scale(ne,ne),this.Ca!==1&&We.scale(this.Ca),ne=this.pa,(ne.x!==0||ne.y!==0)&&isFinite(ne.x)&&isFinite(ne.y)&&We.translate(-ne.x,-ne.y),Ir(fe,We),Ir(Ne,We),x.push(new an(Math.min(fe.x,Ne.x),Math.min(fe.y,Ne.y),Math.abs(fe.x-Ne.x),Math.abs(fe.y-Ne.y))),Be=Se===0?0:re-Te,fe.h(0,Be),Ne.h(b,Te+Be),a.push(new an(Math.min(fe.x,Ne.x),Math.min(fe.y,Ne.y),Math.abs(fe.x-Ne.x),Math.abs(fe.y-Ne.y))),Ir(fe,We),Ir(Ne,We),x.push(new an(Math.min(fe.x,Ne.x),Math.min(fe.y,Ne.y),Math.abs(fe.x-Ne.x),Math.abs(fe.y-Ne.y))),Zh(this.Yf,this)&&(b=0<z?0:-z,re=0<y?0:-y,fe.h(b,re),Ne.h(oe+b,he+re),a.push(new an(Math.min(fe.x,Ne.x),Math.min(fe.y,Ne.y),Math.abs(fe.x-Ne.x),Math.abs(fe.y-Ne.y))),Ir(fe,We),Ir(Ne,We),x.push(new an(Math.min(fe.x,Ne.x),Math.min(fe.y,Ne.y),Math.abs(fe.x-Ne.x),Math.abs(fe.y-Ne.y)))),st.free(fe),st.free(Ne),qu(this,!1,!0),this.Ka===null&&tn("No div specified"),this.ta===null&&tn("No canvas specified"),!this.animationManager.zb&&(b=this.ib,this.Fc)){for(jh(this),re=this.Mb,b.setTransform(1,0,0,1,0,0),b.clearRect(0,0,this.Aa*re,this.ya*re),b.drawImage(this.jw.Oa,0<z?0:Math.round(-z),0<y?0:Math.round(-y)),z=this.pa,ne=this.Ca,oe=Math.round(z.x*ne)/ne,he=Math.round(z.y*ne)/ne,y=this.Ab,y.reset(),ne!==1&&y.scale(ne),z.x===0&&z.y===0||y.translate(-oe,-he),b.save(),b.beginPath(),z=a.length,ne=0;ne<z;ne++)oe=a[ne],oe.width!==0&&oe.height!==0&&b.rect(Math.floor(oe.x),Math.floor(oe.y),Math.ceil(oe.width),Math.ceil(oe.height));for(b.clip(),b.setTransform(re,0,0,re,0,0),b.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),b.yc(),y=this.Wa.s,z=y.length,this.Fd(y,z,this,this.viewportBounds),Dd(this,b),b.globalAlpha=this.pb,re=0;re<z;re++)if(ne=y[re],oe=x,ne.visible&&ne.pb!==0){he=ss(ne,b),Se=ne.Zq,Se.length=0,fe=this.scale,Te=an.alloc(),Ne=ne.Pa.s,We=Ne.length,Be=oe.length;for(var vt=0;vt<We;vt++){var ct=Ne[vt],wt=tf(ct,ct.actualBounds);e:{for(var Tt=2/fe,kt=4/fe,Bt=0;Bt<Be;Bt++){var en=oe[Bt];if(en.width!==0&&en.height!==0&&wt.Vu(en.x-Tt,en.y-Tt,en.width+kt,en.height+kt)){wt=!0;break e}}wt=!1}wt&&ne.Oj(b,ct,this,Se,fe,Te,!0)}an.free(Te),b.globalAlpha=he}b.restore(),b.Vc(!0),this.Yf&&Zh(this.Yf,this)&&this.Vp(),this.Fc=this.vd=!1,this.hk()}Qi(x),Qi(a),this.ld=!1}}else this.bd();E&&(ml(this),this.bd(),ah(this,!0))}else E?(ml(this),this.bd(),ah(this,!0)):this.bd()}};function jh(a){a.pn!==!1&&(a.pn=!1,Yg(a,a.Aa,a.ya))}function Yg(a,y,E){Wc(a);var x=a.Mb;a.ta.resize(y*x,E*x,y,E)&&(a.Fc=!0,a.ib.Vc(!0))}function Gh(a){var y=a.ta;if(y===null||a.wo.w())return!0;var E=a.Aa,x=a.ya,b=a.Ka,z=!1,ne=a.gf?a.Db:0,re=a.Be?a.Db:0,oe=b.clientWidth||E+ne,he=b.clientHeight||x+re,fe=a.viewportBounds;b=fe.x;var Se=fe.y,Te=fe.width,Ne=fe.height;if((oe!==E+ne||he!==x+re)&&(a.gf=!1,a.Be=!1,re=ne=0,a.Aa=oe,a.ya=he,z=a.pn=!0,Wc(a)),!a.hf||!a.viewportBounds.w())return!0;var Be=a.ku,We=a.hu;if(a.Ee=!1,!(z||a.gf||a.Be||a.mn||a.nn))return!0;var vt=a.documentBounds,ct=0,wt=0,Tt=0,kt=0,Bt=fe.width,en=fe.height,pi=a.rj;a.contentAlignment.sb()?(vt.width>Bt&&(ct=pi.left,wt=pi.right),vt.height>en&&(Tt=pi.top,kt=pi.bottom)):(ct=pi.left,wt=pi.right,Tt=pi.top,kt=pi.bottom);var ki=vt.width+ct+wt,Ti=vt.height+Tt+kt;pi=a.scale;var qn=ki>oe/pi,kn=Ti>he/pi;if(!(z||a.gf||a.Be||qn||kn))return!0;ct=vt.x-ct,oe=fe.x,wt=vt.right+wt,he=fe.right+ne,Tt=vt.y-Tt;var Er=fe.y;vt=vt.bottom+kt,fe=fe.bottom+re;var gr="1px";if(kt="1px",a.scrollMode===Bd&&(qn||kn)&&(qn&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(qn=1,ct+1<oe&&(qn=Math.max((oe-ct)*pi+a.Aa,qn)),wt>he+1&&(qn=Math.max((wt-he)*pi+a.Aa,qn)),Bt+ne+1<ki&&(qn=Math.max((ki-Bt)*pi+a.Aa,qn)),gr=qn.toString()+"px"),kn&&a.hasVerticalScrollbar&&a.allowVerticalScroll&&(qn=1,Tt+1<Er&&(qn=Math.max((Er-Tt)*pi+a.ya,qn)),vt>fe+1&&(qn=Math.max((vt-fe)*pi+a.ya,qn)),en+re+1<Ti&&(qn=Math.max((Ti-en)*pi+a.ya,qn)),kt=qn.toString()+"px")),qn=gr!=="1px",kn=kt!=="1px",qn&&kn||!qn&&!kn||(kn&&(he-=a.Db),qn&&(fe-=a.Db),ki<Bt+ne||!a.hasHorizontalScrollbar||!a.allowHorizontalScroll||(ne=1,ct+1<oe&&(ne=Math.max((oe-ct)*pi+a.Aa,ne)),wt>he+1&&(ne=Math.max((wt-he)*pi+a.Aa,ne)),Bt+1<ki&&(ne=Math.max((ki-Bt)*pi+a.Aa,ne)),gr=ne.toString()+"px"),qn=gr!=="1px",ne=a.ya,qn!==a.Be&&(ne=qn?a.ya-a.Db:a.ya+a.Db),Ti<en+re||!a.hasVerticalScrollbar||!a.allowVerticalScroll||(re=1,Tt+1<Er&&(re=Math.max((Er-Tt)*pi+ne,re)),vt>fe+1&&(re=Math.max((vt-fe)*pi+ne,re)),en+1<Ti&&(re=Math.max((Ti-en)*pi+ne,re)),kt=re.toString()+"px"),kn=kt!=="1px"),a.qr&&qn===a.Be&&kn===a.gf)return E===a.Aa&&x===a.ya||a.bd(),!1;if(qn!==a.Be&&(gr==="1px"?a.ya=a.ya+a.Db:a.ya=Math.max(a.ya-a.Db,1),z=!0),a.Be=qn,We.style.width=gr,kn!==a.gf&&(kt==="1px"?a.Aa=a.Aa+a.Db:a.Aa=Math.max(a.Aa-a.Db,1),z=!0,a.tn&&(re=st.alloc(),kn?(y.style.left=a.Db+"px",a.position=re.h(a.pa.x+a.Db/a.scale,a.pa.y)):(y.style.left="0px",a.position=re.h(a.pa.x-a.Db/a.scale,a.pa.y)),st.free(re))),z&&Wc(a),a.gf=kn,We.style.height=kt,a.gu=!0,z&&(a.pn=!0),y=Be.scrollLeft,a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(Bt+1<ki?y=(a.position.x-ct)*pi:ct+1<oe?y=Be.scrollWidth-Be.clientWidth:wt>he+1&&(y=a.position.x*pi)),a.tn)switch(a.bu){case"negative":y=-(Be.scrollWidth-y-Be.clientWidth);break;case"reverse":y=Be.scrollWidth-y-Be.clientWidth}return Be.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(en+1<Ti?Be.scrollTop=(a.position.y-Tt)*pi:Tt+1<Er?Be.scrollTop=Be.scrollHeight-Be.clientHeight:vt>fe+1&&(Be.scrollTop=a.position.y*pi)),oe=a.Aa,he=a.ya,Be.style.width=oe+(a.gf?a.Db:0)+"px",Be.style.height=he+(a.Be?a.Db:0)+"px",E!==oe||x!==he||a.animationManager.zb?(E=an.allocAt(b,Se,Te,Ne),a.onViewportBoundsChanged(E,a.viewportBounds,pi,z),an.free(E),!1):!0}Ie=qt.prototype,Ie.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&tn("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&&tn('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var E=y.oi(99999999,a,a.diagram===this);0<=E&&this.cb(Oa,"parts",y,null,a,null,E),y.isTemporary||this.Ya(),a.C(1),E=a.layerChanged,E!==null&&E(a,null,y)}},Ie.oi=function(a){this.partManager.oi(a);var y=this;qh(a,function(E){Wh(y,E)}),(a instanceof Eo||a instanceof Cr&&a.placeholder!==null)&&a.v(),a.data!==null&&qh(a,function(E){cy(y.partManager,E)}),Al(a)!==!0&&ph(a)!==!0||this.De.add(a),zS(a,!0,this),GS(a)?(a.actualBounds.w()&&this.N(tf(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(tf(a,a.actualBounds)),this.$b()},Ie.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&qh(a,function(E){dy(y.partManager,E,y)}),this.De.remove(a),GS(a)?(a.actualBounds.w()&&this.N(tf(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(tf(a,a.actualBounds)),this.$b()},Ie.remove=function(a){Kg(this,a,!0)};function Kg(a,y,E){var x=y.layer;x!==null&&x.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),E&&y.Lj(),E=x.pc(-1,y,!1),0<=E&&a.cb(Va,"parts",x,y,null,E,null),a=y.layerChanged,a!==null&&a(y,x,null))}Ie.Is=function(a,y){if(y===void 0&&(y=!1),qi(a))for(var E=a.length,x=0;x<E;x++){var b=a[x];y&&!b.canDelete()||this.remove(b)}else for(E=new Rt,E.addAll(a),a=E.iterator;a.next();)E=a.value,y&&!E.canDelete()||this.remove(E)},Ie.Kj=function(a,y,E){return E===void 0&&(E=!1),this.partManager.Kj(a,y,E)},qt.prototype.moveParts=function(a,y,E,x){if(E===void 0&&(E=!1),x===void 0&&(x=Xf(this)),this.toolManager!==null){var b=new Fn;if(a!==null)if(qi(a))for(var z=0;z<a.length;z++)qc(this,b,a[z],E,x);else for(a=a.iterator;a.next();)qc(this,b,a.value,E,x);else{for(a=this.parts;a.next();)qc(this,b,a.value,E,x);for(a=this.nodes;a.next();)qc(this,b,a.value,E,x);for(a=this.links;a.next();)qc(this,b,a.value,E,x)}uh(this,b,y,x,E)}};function qc(a,y,E,x,b,z){if(!y.contains(E)&&(z===void 0&&(z=!1),!x||z||E.canMove()||E.canCopy()))if(b===void 0&&(b=Xf(a)),E instanceof yi){if(y.add(E,a.Pd(b,E,E.location)),E instanceof Cr&&(E.placeholder!==null||b.dragsMembers))for(z=E.memberParts;z.next();)qc(a,y,z.value,x,b,b.groupsAlwaysMove);for(z=E.linksConnected;z.next();){var ne=z.value;if(!y.contains(ne)){var re=ne.fromNode,oe=ne.toNode;re!==null&&y.contains(re)&&oe!==null&&y.contains(oe)&&qc(a,y,ne,x,b)}}if(b.dragsTree)for(E=E.Ou();E.next();)qc(a,y,E.value,x,b)}else if(E instanceof $n)for(y.add(E,a.Pd(b,E)),E=E.labelNodes;E.next();)qc(a,y,E.value,x,b);else E instanceof Eo||y.add(E,a.Pd(b,E,E.location))}function uh(a,y,E,x,b){if(y!==null&&y.count!==0){var z=st.alloc(),ne=st.alloc();ne.assign(E),isNaN(ne.x)&&(ne.x=0),isNaN(ne.y)&&(ne.y=0),(E=a.Mr)||Jf(a,y);for(var re=Vi(),oe=Vi(),he=y.iterator,fe=st.alloc();he.next();){var Se=he.key,Te=he.value;if(Se.Zc()){var Ne=Zg(a,Se,y);Ne!==null?re.push(new ie(Se,Te,Ne)):(!b||Se.canMove())&&(Ne=Te.point,z.assign(Ne),a.computeMove(Se,z.add(ne),x,fe),Se.location=fe,Te.shifted===void 0&&(Te.shifted=new st),Te.shifted.assign(fe.re(Ne)))}else he.key instanceof $n&&oe.push(he.sa)}for(st.free(fe),b=re.length,he=0;he<b;he++)Se=re[he],z.assign(Se.info.point),Se.Su.shifted===void 0&&(Se.Su.shifted=new st),Se.node.location=z.add(Se.Su.shifted);for(b=st.alloc(),he=st.alloc(),Se=oe.length,Te=0;Te<Se;Te++){var Be=oe[Te];if(Ne=Be.key,Ne instanceof $n)if(Ne.suspendsRouting){Ne.Tg=null,fe=Ne.fromNode;var We=Ne.toNode;if(a.draggedLink!==null&&x.dragsLink)if(We=Be.value.point,Ne.dragComputation===null)y.add(Ne,a.Pd(x,Ne,ne)),Vd(Ne,ne.x-We.x,ne.y-We.y);else{Be=st.allocAt(0,0),(fe=Ne.i(0))&&fe.w()&&Be.assign(fe);var vt=fe=st.alloc().assign(Be).add(ne);x.isGridSnapEnabled&&(x.isGridSnapRealtime||a.lastInput.up)&&(vt=st.alloc(),Qf(a,Ne,fe,vt,x)),fe.assign(Ne.dragComputation(Ne,fe,vt)).re(Be),y.add(Ne,a.Pd(x,Ne,fe)),Vd(Ne,fe.x-We.x,fe.y-We.y),st.free(Be),st.free(fe),vt!==fe&&st.free(vt)}else fe!==null&&(b.assign(fe.location),vt=y.I(fe),vt!==null&&b.re(vt.point)),We!==null&&(he.assign(We.location),vt=y.I(We),vt!==null&&he.re(vt.point)),fe!==null&&We!==null?b.Xa(he)?(fe=Be.value.point,We=z,We.assign(b),We.re(fe),y.add(Ne,a.Pd(x,Ne,b)),Vd(Ne,We.x,We.y)):(Ne.suspendsRouting=!1,Ne.bb()):(Be=Be.value.point,fe=fe!==null?b:We!==null?he:ne,y.add(Ne,a.Pd(x,Ne,fe)),Vd(Ne,fe.x-Be.x,fe.y-Be.y))}else(Ne.fromNode===null||Ne.toNode===null)&&(fe=Be.value.point,y.add(Ne,a.Pd(x,Ne,ne)),Vd(Ne,ne.x-fe.x,ne.y-fe.y))}st.free(z),st.free(ne),st.free(b),st.free(he),Qi(re),Qi(oe),E||(Ps(a),ch(a,y))}}qt.prototype.computeMove=function(a,y,E,x){if(x===void 0&&(x=new st),x.assign(y),a===null)return x;var b=y,z=E.isGridSnapEnabled;z&&(E.isGridSnapRealtime||this.lastInput.up)&&(b=st.alloc(),Qf(this,a,y,b,E)),E=a.dragComputation!==null?a.dragComputation(a,y,b):b;var ne=a.minLocation,re=ne.x;isNaN(re)&&(re=z?Math.round(1e3*a.location.x)/1e3:a.location.x),ne=ne.y,isNaN(ne)&&(ne=z?Math.round(1e3*a.location.y)/1e3:a.location.y);var oe=a.maxLocation,he=oe.x;return isNaN(he)&&(he=z?Math.round(1e3*a.location.x)/1e3:a.location.x),oe=oe.y,isNaN(oe)&&(oe=z?Math.round(1e3*a.location.y)/1e3:a.location.y),x.h(Math.max(re,Math.min(E.x,he)),Math.max(ne,Math.min(E.y,oe))),b!==y&&st.free(b),x};function Xf(a){var y=a.toolManager.findTool("Dragging");return y!==null?y.dragOptions:a.Wm}function Qf(a,y,E,x,b){if(b===void 0&&(b=Xf(a)),x.assign(E),y!==null){var z=a.grid;y=b.gridSnapCellSize,a=y.width,y=y.height;var ne=b.gridSnapOrigin,re=ne.x;if(ne=ne.y,b=b.gridSnapCellSpot,z!==null){var oe=z.gridCellSize;isNaN(a)&&(a=oe.width),isNaN(y)&&(y=oe.height),z=z.gridOrigin,isNaN(re)&&(re=z.x),isNaN(ne)&&(ne=z.y)}z=st.allocAt(0,0),z.yi(0,0,a,y,b),Ht.No(E.x,E.y,re+z.x,ne+z.y,a,y,x),st.free(z)}}function Jf(a,y){if(y!==null)for(a.Mr=!0,a=y.iterator;a.next();)y=a.key,y instanceof $n&&(y.suspendsRouting=!0)}function ch(a,y){if(y!==null){for(y=y.iterator;y.next();){var E=y.key;E instanceof $n&&(E.suspendsRouting=!1,Qv(E)&&E.bb())}a.Mr=!1}}function Zg(a,y,E){return y=y.containingGroup,y!==null&&(a=Zg(a,y,E),a!==null||(a=E.I(y),a!==null))?a:null}Ie=qt.prototype,Ie.Pd=function(a,y,E){if(E===void 0)return new Sd(br);var x=a.isGridSnapEnabled;return a.groupsSnapMembers||y.containingGroup===null||(x=!1),x?new Sd(new st(Math.round(1e3*E.x)/1e3,Math.round(1e3*E.y)/1e3)):new Sd(E.copy())};function Xg(a,y,E){if(y.diagram!==null&&y.diagram!==a&&tn("Cannot share a Layer with another Diagram: "+y+" of "+y.diagram),E===null?y.diagram!==null&&tn("Cannot add an existing Layer to this Diagram again: "+y):(E.diagram!==a&&tn("Existing Layer must be in this Diagram: "+E+" not in "+E.diagram),y===E&&tn("Cannot move a Layer before or after itself: "+y)),y.diagram!==a){y=y.name,a=a.Wa,E=a.count;for(var x=0;x<E;x++)a.M(x).name===y&&tn("Cannot add Layer with the name '"+y+"'; a Layer with the same name is already present in this Diagram.")}}Ie.Al=function(a){Xg(this,a,null),a.Xe(this);var y=this.Wa,E=y.count-1;if(!a.isTemporary)for(;0<=E&&y.M(E).isTemporary;)E--;return y.Gb(E+1,a),this.cc!==null&&this.cb(Oa,"layers",this,null,a,null,E+1),this.N(),this.Ya(),this},Ie.Ww=function(a,y){Xg(this,a,y),a.Xe(this);var E=this.Wa,x=E.indexOf(a);0<=x&&(E.remove(a),this.cc!==null&&this.cb(Va,"layers",this,a,null,x,null));var b=E.count,z;for(z=0;z<b;z++)if(E.M(z)===y){E.Gb(z,a);break}return this.cc!==null&&this.cb(Oa,"layers",this,null,a,null,z),this.N(),0>x&&this.Ya(),this},Ie.Cy=function(a,y){Xg(this,a,y),a.Xe(this);var E=this.Wa,x=E.indexOf(a);0<=x&&(E.remove(a),this.cc!==null&&this.cb(Va,"layers",this,a,null,x,null));var b=E.count,z;for(z=0;z<b;z++)if(E.M(z)===y){E.Gb(z+1,a);break}return this.cc!==null&&this.cb(Oa,"layers",this,null,a,null,z+1),this.N(),0>x&&this.Ya(),this},Ie.kA=function(a){if(a.diagram!==this&&tn("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,E=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var x=y.value,b=x.layerName;b!==a.name?x.layerName=b:x.layerName=""}this.cc!==null&&this.cb(Va,"layers",this,a,null,E,null),this.N(),this.Ya()}}},Ie.Qj=function(a){for(var y=this.layers;y.next();){var E=y.value;if(E.name===a)return E}return null},Ie.Yw=function(a){return this.pf===null&&(this.pf=new Qn),this.pf.add(a),this.model.Pe(a),this},Ie.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Ie.Pe=function(a){return this.zg===null&&(this.zg=new Qn),this.zg.add(a),this},Ie.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Ie.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==Vs&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,E=y.length,x=0;x<E;x++)y.M(x)(a)},Ie.cb=function(a,y,E,x,b,z,ne){z===void 0&&(z=null),ne===void 0&&(ne=null);var re=new da;re.diagram=this,re.change=a,re.propertyName=y,re.object=E,re.oldValue=x,re.oldParam=z,re.newValue=b,re.newParam=ne,this.ds(re)},Ie.g=function(a,y,E,x,b){this.cb(Qo,a,this,y,E,x,b)},qt.prototype.changeState=function(a,y){if(a!==null&&a.diagram===this){var E=this.skipsModelSourceBindings;try{this.skipsModelSourceBindings=!0;var x=a.change;if(x===Qo){var b=a.object;if(xa(b,a.propertyName,a.I(y)),b instanceof Ut){var z=b.part;z!==null&&z.Wb()}this.isModified=!0}else if(x===Oa){var ne=a.object,re=a.newParam,oe=a.newValue;if(ne instanceof Yn)if(typeof re=="number"&&oe instanceof Ut){y?ne.pc(re):ne.Gb(re,oe);var he=ne.part;he!==null&&he.Wb()}else typeof re=="number"&&oe instanceof xs&&(oe.isRow?fS(ne,re,y?void 0:oe):gS(ne,re,y?void 0:oe));else if(ne instanceof So){var fe=a.oldParam===!0;typeof re=="number"&&oe instanceof Ki&&(y?(oe.isSelected=!1,oe.isHighlighted=!1,oe.Wb(),ne.pc(fe?re:-1,oe,fe)):ne.oi(re,oe,fe))}else ne instanceof qt?typeof re=="number"&&oe instanceof So&&(y?this.Wa.mb(re):(oe.Xe(this),this.Wa.Gb(re,oe))):tn("unknown ChangedEvent.Insert object: "+a.toString());this.isModified=!0}else if(x===Va){var Se=a.object,Te=a.oldParam,Ne=a.oldValue;if(Se instanceof Yn)typeof Te=="number"&&Ne instanceof Ut?y?Se.Gb(Te,Ne):Se.pc(Te):typeof Te=="number"&&Ne instanceof xs&&(Ne.isRow?fS(Se,Te,y?Ne:void 0):gS(Se,Te,y?Ne:void 0));else if(Se instanceof So){var Be=a.newParam===!0;typeof Te=="number"&&Ne instanceof Ki&&(y?0>Se.Pa.indexOf(Ne)&&Se.oi(Te,Ne,Be):(Ne.isSelected=!1,Ne.isHighlighted=!1,Ne.Wb(),Se.pc(Be?Te:-1,Ne,Be)))}else Se instanceof qt?typeof Te=="number"&&Ne instanceof So&&(y?(Ne.Xe(this),this.Wa.Gb(Te,Ne)):this.Wa.mb(Te)):tn("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else x!==Vs&&tn("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=E}}},qt.prototype.Ea=function(a){return this.undoManager.Ea(a)},qt.prototype.eb=function(a){return this.undoManager.eb(a)},qt.prototype.Kf=function(){return this.undoManager.Kf()},qt.prototype.commit=function(a,y){y===void 0&&(y="");var E=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var x=!1;try{a(this),x=!0}finally{x?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=E}},qt.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},qt.prototype.rp=function(){this.partManager.rp()};function Qg(a,y,E){var x=a.animationManager;if(a.vb||a.ld)a.Ca=E,Wc(a),a.N(),a.Ee=!0,x.zb&&(au(x)||x.ce.add(x.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=E,Wc(a);else{a.vb=!0;var b=a.viewportBounds.copy(),z=a.Aa,ne=a.ya,re=a.zoomPoint.x,oe=a.zoomPoint.y,he=a.contentAlignment;isNaN(re)&&(he.$c()?he.Hf(Fl)?re=0:he.Hf(os)&&(re=z-1):re=he.sb()?he.x*(z-1):z/2),isNaN(oe)&&(he.$c()?he.Hf(tl)?oe=0:he.Hf(za)&&(oe=ne-1):oe=he.sb()?he.y*(ne-1):ne/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(E=a.scaleComputation(a,E)),E<a.minScale&&(E=a.minScale),E>a.maxScale&&(E=a.maxScale),z=st.allocAt(a.pa.x+re/y-re/E,a.pa.y+oe/y-oe/E),a.position=z,st.free(z),a.Ca=E,Wc(a),a.vb=!1,a.onViewportBoundsChanged(b,a.viewportBounds,y,!1),lu(a,!1),x.zb&&(au(x)||x.ce.add(x.H,"scale",y,a.Ca))}}qt.prototype.onViewportBoundsChanged=function(a,y,E,x){if(!a.D(y)){x===void 0&&(x=!1),x||(this.Ee=!0),this.vd=!0;var b=this.layout;b===null||!b.isViewportSized||this.autoScale!==vl||a.width===y.width&&a.height===y.height||b.C(),b=this.currentTool,this.Vk===!0&&b instanceof ra&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),Rd(b,this)),this.vb||this.invalidateViewport(a,y),Gc(this),this.fc.scale=E,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*E),this.fc.canvasSize.height=Math.round(a.height*E),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=x,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function Gc(a,y){var E=a.fe;if(E!==null&&E.visible){for(var x=fn.alloc(),b=1,z=1,ne=E.O.s,re=ne.length,oe=0;oe<re;oe++){var he=ne[oe],fe=Math.abs(he.interval);2>fe||(yv(he.figure)?z=z*fe/Ht.vx(z,fe):b=b*fe/Ht.vx(b,fe))}if(ne=E.gridCellSize,x.h(z*ne.width,b*ne.height),y!==void 0)b=y.width,z=y.height,a=y.x,ne=y.y;else{if(y=an.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){an.free(y);return}b=y.width,z=y.height,a=y.x,ne=y.y,an.free(y)}E.width=b+2*x.width,E.height=z+2*x.height,y=st.alloc(),Ht.No(a,ne,0,0,x.width,x.height,y),y.offset(-x.width,-x.height),fn.free(x),E.part.location=y,st.free(y)}}qt.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var E=y.Fa(),x=E.length,b=0;b<x;b++)E[b].isSelected=!1;y.ka(),y.clear(),y.freeze(),a||this.R("ChangedSelection",y)}},qt.prototype.select=function(a){a!==null&&a.diagram===this&&(!a.isSelected||1<this.selection.count)&&(this.R("ChangingSelection",this.selection),this.clearSelection(!0),a.isSelected=!0,this.R("ChangedSelection",this.selection))},qt.prototype.rA=function(a){if(this.R("ChangingSelection",this.selection),this.clearSelection(!0),qi(a))for(var y=a.length,E=0;E<y;E++){var x=a[E];x instanceof Ki||tn("Diagram.selectCollection given something that is not a Part: "+x),x.isSelected=!0}else for(a=a.iterator;a.next();)y=a.value,y instanceof Ki||tn("Diagram.selectCollection given something that is not a Part: "+y),y.isSelected=!0;this.R("ChangedSelection",this.selection)},qt.prototype.clearHighlighteds=function(){var a=this.highlighteds;if(0<a.count){for(var y=a.Fa(),E=y.length,x=0;x<E;x++)y[x].isHighlighted=!1;a.ka(),a.clear(),a.freeze()}},Ie=qt.prototype,Ie.Iz=function(a){a!==null&&a.diagram===this&&(!a.isHighlighted||1<this.highlighteds.count)&&(this.clearHighlighteds(),a.isHighlighted=!0)},Ie.Jz=function(a){a=new Rt().addAll(a);for(var y=this.highlighteds.copy().hp(a).iterator;y.next();)y.value.isHighlighted=!1;for(a=a.iterator;a.next();)y=a.value,y instanceof Ki||tn("Diagram.highlightCollection given something that is not a Part: "+y),y.isHighlighted=!0},Ie.scroll=function(a,y,E){E===void 0&&(E=1);var x=y==="up"||y==="down",b=0,z=st.alloc();if(a==="pixel")b=E;else if(a==="line")b=E*(x?this.scrollVerticalLineChange:this.scrollHorizontalLineChange);else if(a==="page")a=x?this.viewportBounds.height:this.viewportBounds.width,a*=this.scale,a!==0&&(b=E*Math.max(a-(x?this.scrollVerticalLineChange:this.scrollHorizontalLineChange),0));else{if(a==="document"){b=this.documentBounds,E=this.viewportBounds,y==="up"?this.position=z.h(E.x,b.y):y==="left"?this.position=z.h(b.x,E.y):y==="down"?this.position=z.h(E.x,b.bottom-E.height):y==="right"&&(this.position=z.h(b.right-E.width,E.y)),st.free(z);return}tn("scrolling unit must be 'pixel', 'line', 'page', or 'document', not: "+a)}b/=this.scale,E=this.position,y==="up"?this.position=z.h(E.x,E.y-b):y==="down"?this.position=z.h(E.x,E.y+b):y==="left"?this.position=z.h(E.x-b,E.y):y==="right"?this.position=z.h(E.x+b,E.y):tn("scrolling direction must be 'up', 'down', 'left', or 'right', not: "+y),st.free(z)},Ie.tv=function(a){var y=this.viewportBounds;y.Re(a)||(a=a.center,a.x-=y.width/2,a.y-=y.height/2,this.position=a)},Ie.es=function(a){var y=this.viewportBounds;a=a.center,a.x-=y.width/2,a.y-=y.height/2,this.position=a},Ie.op=function(a){var y=this.Ab;y.reset(),this.Ca!==1&&y.scale(this.Ca);var E=this.pa;return(E.x!==0||E.y!==0)&&isFinite(E.x)&&isFinite(E.y)&&y.translate(-E.x,-E.y),a.copy().transform(this.Ab)},Ie.zA=function(a){var y=this.Ab,E=a.x,x=a.y,b=E+a.width,z=x+a.height,ne=y.m11,re=y.m12,oe=y.m21,he=y.m22,fe=y.dx,Se=y.dy,Te=E*ne+x*oe+fe;y=E*re+x*he+Se;var Ne=b*ne+x*oe+fe;return a=b*re+x*he+Se,x=E*ne+z*oe+fe,E=E*re+z*he+Se,ne=b*ne+z*oe+fe,b=b*re+z*he+Se,z=Math.min(Te,Ne),Te=Math.max(Te,Ne),Ne=Math.min(y,a),y=Math.max(y,a),z=Math.min(z,x),Te=Math.max(Te,x),Ne=Math.min(Ne,E),y=Math.max(y,E),z=Math.min(z,ne),Te=Math.max(Te,ne),Ne=Math.min(Ne,b),y=Math.max(y,b),new an(z,Ne,Te-z,y-Ne)},Ie.Ps=function(a){var y=this.Ab;y.reset(),this.Ca!==1&&y.scale(this.Ca);var E=this.pa;return(E.x!==0||E.y!==0)&&isFinite(E.x)&&isFinite(E.y)&&y.translate(-E.x,-E.y),Ir(a.copy(),this.Ab)};function am(a){var y=a.isModified;a.Tw!==y&&(a.Tw=y,a.R("Modified"))}function Jg(a){return a=ig.get(a),a!==null?new a:new Fo}qt.prototype.doModelChanged=function(a){var y=this;if(a.model===this.model){var E=a.change,x=a.propertyName;if(E===Vs&&x[0]==="S")if(x==="StartingFirstTransaction"){var b=this;a=this.toolManager,a.mouseDownTools.each(function(oe){return oe.diagram=b}),a.mouseMoveTools.each(function(oe){return oe.diagram=b}),a.mouseUpTools.each(function(oe){return oe.diagram=b}),this.ld||this.hf||(this.Jk=!0,this.fn&&(this.kg=!0))}else x==="StartingUndo"||x==="StartingRedo"?(a=this.animationManager,a.defaultAnimation.isAnimating&&!this.skipsUndoManager&&a.Cc(),this.R("ChangingSelection",this.selection)):x==="StartedTransaction"&&(a=this.animationManager,a.defaultAnimation.isAnimating&&!this.skipsUndoManager&&a.Cc());else if(this.aa){this.aa=!1;try{if(a.modelChange===""&&E===Vs){(x==="FinishedUndo"||x==="FinishedRedo")&&(this.R("ChangedSelection",this.selection),Ps(this));var z=this.animationManager;x==="RolledBackTransaction"&&z.Cc(),this.bx(),this.Jk=!0,this.bd(),this.undoManager.transactionLevel!==0&&this.undoManager.transactionLevel!==1||Hl(z),x==="CommittedTransaction"&&this.undoManager.isJustDiscarded&&(this.Ce=Math.min(this.Ce,this.undoManager.historyIndex-1)),x!=="CommittedTransaction"&&x!=="RolledBackTransaction"||!this.undoManager.isPendingUnmodified||setTimeout(function(){y.isModified=!1},1);var ne=a.isTransactionFinished;if(ne&&(am(this),this.As.clear(),Uc(this.animationManager)),!this.Rt&&ne&&this.lastInput.targetDiagram){this.Rt=!0;var re=this;ir(function(){re.currentTool.standardMouseOver(),re.Rt=!1},10)}}}finally{this.aa=!0}}}};function Wh(a,y){y=y.O.s;for(var E=y.length,x=0;x<E;x++)dh(a,y[x])}function dh(a,y){if(y instanceof Wl){var E=y.element;if(E!==null&&E instanceof HTMLImageElement){E.Bg instanceof Rt&&E.Bg.add(a);var x=y.Eg;if(x!==null&&x.sq===!0&&y.diagram!==null&&y.diagram.Xn.add(y),E.hn)if(E=E.getAttribute("src")||"",x=a.Og.I(E),x===null)x=[],x.push(y),a.Og.add(E,x);else{for(a=0;a<x.length;a++)if(x[a]===y)return;x.push(y)}}}}function qg(a,y){if(y instanceof Wl){var E=y.element;if(E!==null&&E instanceof HTMLImageElement&&E.hn){var x=E.getAttribute("src")||"",b=a.Og.I(x);if(b!==null){for(var z=0;z<b.length;z++)if(b[z]===y){b.splice(z,1),b.length===0&&(a.Og.remove(x),E.Fq&&E.removeEventListener("load",E.Fq),E.Yp&&E.removeEventListener("error",E.Yp),delete E.Fq,delete E.Yp,E.Bg instanceof Rt&&E.Bg.remove(a),mg(x));break}}}}}qt.prototype.Wd=function(){this.partManager.Wd()},qt.prototype.Aj=function(a,y){this.Yd.Aj(a,y)},qt.prototype.Cj=function(a,y){this.Yd.Cj(a,y)},qt.prototype.findPartForKey=function(a){return this.partManager.findPartForKey(a)},qt.prototype.Vb=function(a){return this.partManager.Vb(a)},qt.prototype.findLinkForKey=function(a){return this.partManager.findLinkForKey(a)},Ie=qt.prototype,Ie.Lc=function(a){return this.partManager.Lc(a)},Ie.ii=function(a){return this.partManager.ii(a)},Ie.Kc=function(a){return this.partManager.Kc(a)},Ie.ms=function(a){for(var y=[],E=0;E<arguments.length;++E)y[E]=arguments[E];return this.partManager.ms.apply(this.partManager,y instanceof Array?y:ri(Kn(y)))},Ie.ls=function(a){for(var y=[],E=0;E<arguments.length;++E)y[E]=arguments[E];return this.partManager.ls.apply(this.partManager,y instanceof Array?y:ri(Kn(y)))};function Wc(a){var y=a.pa,E=a.Ca;a.Rw.h(y.x,y.y,Math.max(a.Aa,0)/E,Math.max(a.ya,0)/E),a.vd=!0}function $g(a,y){a.Zi=!1;var E=a.Sp;E.D(y)||(E=E.copy(),a.Sp.assign(y),lu(a,!1),a.R("DocumentBoundsChanged",void 0,E),a.Ee=!0,a.N())}Ie.Va=function(){if(this.Zi){var a=an.alloc();$g(this,this.computeBounds(a)),an.free(a)}},Ie.rz=function(){for(var a=new Rt,y=this.nodes;y.next();){var E=y.value;E.isTopLevel&&a.add(E)}for(y=this.links;y.next();)E=y.value,E.isTopLevel&&a.add(E);return a.iterator},Ie.qz=function(){return this.ai.iterator},Ie.Uz=function(a){Ps(this),a&&qf(this,!0),this.ld?ep(this,!1):(this.Jk=!0,el(this))};function qf(a,y){for(var E=a.ai.iterator;E.next();)sm(a,E.value,y);a.layout&&(y?a.layout.isValidLayout=!1:a.layout.C())}function sm(a,y,E){if(y!==null){for(var x=y.gl.iterator;x.next();)sm(a,x.value,E);y.layout!==null&&(E?y.layout.isValidLayout=!1:y.layout.C())}}function ep(a,y){if(a.xh&&!a.lt){var E=a.aa;a.aa=!0;var x=a.undoManager.transactionLevel,b=a.layout,z=a.animationManager;try{x===0&&(a.undoManager.isInternalTransaction=!0,a.Ea("Layout")),1>=x&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||ol(z,"Layout")),a.xh=!1;for(var ne=a.ai.iterator;ne.next();)tp(a,ne.value,y,x);b.isValidLayout||(!y||b.isRealtime||b.isRealtime===null||x===0?(b.doLayout(a),Ps(a),b.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,x===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||x!==0&&x!==1||Hl(z),a.aa=E}}}function tp(a,y,E,x){if(y!==null){for(var b=y.gl.iterator;b.next();)tp(a,b.value,E,x);b=y.layout,b===null||b.isValidLayout||(!E||b.isRealtime||x===0?(y.rh=!y.location.w(),b.doLayout(y),y.C(32),yd(a,y),b.isValidLayout=!0):a.xh=!0)}}Ie.yz=function(){for(var a=new Qn,y=this.nodes;y.next();){var E=y.value;E.isTopLevel&&E.kh()===null&&a.add(E)}return a.iterator};function rv(a){function y(b){var z=b.toLowerCase(),ne=new Qn;E.add(b,ne),E.add(z,ne),x.add(b,b),x.add(z,b)}var E=new Fn,x=new Fn;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=E,a.hw=x}function lm(a,y){var E=a.hw.I(y);return E!==null?E:a.hw.I(y.toLowerCase())}function $f(a,y){var E=a.iw.I(y);if(E!==null||(E=a.iw.I(y.toLowerCase()),E!==null))return E;tn("Unknown DiagramEvent name: "+y)}Ie.Bj=function(a,y){return a=$f(this,a),a!==null&&a.add(y),this},Ie.am=function(a,y){a=$f(this,a),a!==null&&a.remove(y)},Ie.R=function(a,y,E){var x=$f(this,a),b=new yu;if(b.diagram=this,a=lm(this,a),a!==null&&(b.name=a),y!==void 0&&(b.subject=y),E!==void 0&&(b.parameter=E),y=x.length,y===1)x.M(0)(b);else if(y!==0)for(x=x.Fa(),E=0;E<y;E++)(0,x[E])(b)};function eg(a){if(a.animationManager.isTicking)return!1;var y=a.currentTool;return y===a.toolManager.findTool("Dragging")?!a.Mr||y.isComplexRoutingRealtime:!0}Ie.Yj=function(a,y){return tg(this,!1,null,y||null).Yj(a.x,a.y,a.width,a.height)},qt.prototype.computeOccupiedArea=function(a){return this.isVirtualized?this.viewportBounds.copy():this.Zi?Hh(this,a):a.assign(this.documentBounds)};function tg(a,y,E,x){var b=a.Xh;if(b===null&&(a.Xh=b=new kp(a.avoidanceCellSize)),b.vs||b.group!==E||b.Yx!==x){if(b.Hx=Math.max(b.Os+1,Math.floor(a.avoidanceLimit/a.avoidanceCellSize.width)),b.Ix=Math.max(b.Os+1,Math.floor(a.avoidanceLimit/a.avoidanceCellSize.height)),E!==null&&(E=um(a,E)),E===null){y=an.alloc(),a.computeOccupiedArea(y),y.Bc(100,100),b.initialize(y);for(var z=a.nodes;z.next();){var ne=z.value,re=ne.layer;re!==null&&re.visible&&!re.isTemporary&&ng(a,ne,x,y)}an.free(y)}else{for(0<E.memberParts.count&&(y=a.computePartsBounds(E.memberParts,!1),y.Bc(20,20),b.initialize(y)),y=an.alloc(),z=E.memberParts;z.next();)ne=z.value,ne instanceof yi&&ng(a,ne,x,y);an.free(y)}b.group=E,b.Yx=x,b.vs=!1}else y&&l1(b);return b}function um(a,y){return y.avoidable&&!y.isLinkLabel?y:y.containingGroup!==null?um(a,y.containingGroup):null}function ng(a,y,E,x){if(y!==E&&y.isVisible()){if(y.avoidable&&!y.isLinkLabel){y=y.getAvoidableRect(x),a=a.Xh;var b=y.x,z=y.y;if(bg(a,b,z))for(E=(z-a.Od)/a.sc|0,x=Math.min((b+y.width-a.Nd)/a.rc|0,a.di),y=Math.min((z+y.height-a.Od)/a.sc|0,a.ei),b=(b-a.Nd)/a.rc|0;b<=x;b++)if(z=a.ac[b],z.fill)z.fill(Kd,E,y+1);else for(var ne=E;ne<=y;ne++)z[ne]=Kd}else if(y instanceof Cr)for(y=y.memberParts;y.next();)b=y.value,b instanceof yi&&ng(a,b,E,x)}}function Fd(a,y){a.Xh===null||a.Xh.vs||y!==void 0&&(!y.avoidable||y.isLinkLabel)||(a.Xh.vs=!0)}qt.prototype.gs=function(a){this.wp.assign(a),this.computeAutoScrollPosition(this.wp).Xa(this.position)?this.ug():np(this)};function np(a){a.vk===-1&&(a.vk=ir(function(){if(a.vk!==-1&&(a.ug(),a.lastInput.event!==null)){var y=a.computeAutoScrollPosition(a.wp);y.Xa(a.position)||(a.position=y,a.lastInput.documentPoint=a.Ps(a.wp),a.doMouseMove(),a.Zi=!0,y=an.alloc(),a.computeBounds(y),y.ed(a.documentBounds),$g(a,y),an.free(y),a.Fc=!0,a.bd(),np(a))}},a.vp))}qt.prototype.ug=function(){this.vk!==-1&&(sn.clearTimeout(this.vk),this.vk=-1)},qt.prototype.computeAutoScrollPosition=function(a){var y=this.position,E=this.xp;if(0>=E.top&&0>=E.left&&0>=E.right&&0>=E.bottom)return y;var x=this.viewportBounds,b=this.scale;x=an.allocAt(0,0,x.width*b,x.height*b);var z=st.allocAt(0,0);if(a.x>=x.x&&a.x<x.x+E.left&&this.allowHorizontalScroll){var ne=Math.max(this.scrollHorizontalLineChange,1);ne|=0,z.x-=ne,a.x<x.x+E.left/2&&(z.x-=ne),a.x<x.x+E.left/4&&(z.x-=4*ne)}else a.x<=x.x+x.width&&a.x>x.x+x.width-E.right&&this.allowHorizontalScroll&&(ne=Math.max(this.scrollHorizontalLineChange,1),ne|=0,z.x+=ne,a.x>x.x+x.width-E.right/2&&(z.x+=ne),a.x>x.x+x.width-E.right/4&&(z.x+=4*ne));return a.y>=x.y&&a.y<x.y+E.top&&this.allowVerticalScroll?(ne=Math.max(this.scrollVerticalLineChange,1),ne|=0,z.y-=ne,a.y<x.y+E.top/2&&(z.y-=ne),a.y<x.y+E.top/4&&(z.y-=4*ne)):a.y<=x.y+x.height&&a.y>x.y+x.height-E.bottom&&this.allowVerticalScroll&&(ne=Math.max(this.scrollVerticalLineChange,1),ne|=0,z.y+=ne,a.y>x.y+x.height-E.bottom/2&&(z.y+=ne),a.y>x.y+x.height-E.bottom/4&&(z.y+=4*ne)),z.Xa(br)||(y=new st(y.x+z.x/b,y.y+z.y/b)),an.free(x),st.free(z),y},Ie=qt.prototype,Ie.Cs=function(){return null},Ie.av=function(){return null},Ie.bs=function(a,y){this.pj.add(a,y)},Ie.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof Cr&&(y.$p=null)})};function Sf(a,y,E){function x(){var fe=+new Date;for(z=!0,ne.reset();ne.next();)if(!ne.value[0].al){z=!1;break}z||fe-he>oe?y(E,b,re):sn.requestAnimationFrame(x)}for(var b=E.callback,z=!0,ne=a.Og.iterator;ne.next();)if(!ne.value[0].al){z=!1;break}if(typeof b!="function"||z)return y(E,b,a);var re=a,oe=E.callbackTimeout||300,he=+new Date;return sn.requestAnimationFrame(function(){x()}),null}Ie.Wz=function(a){return Za?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Ie.Jx=function(a){return a===void 0&&(a={}),Sf(this,this.Xz,a)},Ie.Xz=function(a,y,E){var x=cm(E,a,"canvas",null);if(x===null)return null;E=x.Z.canvas;var b=null;if(E!==null)switch(b=a.returnType,b===void 0?b="string":b=b.toLowerCase(),b){case Kh+"data":b=x.getImageData(0,0,E.width,E.height);break;case Kh:x=(a.document||document).createElement("img"),x.src=E.toDataURL(a.type,a.details),b=x;break;case"blob":return typeof y!="function"&&tn('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof E.toBlob=="function"?(E.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:b=E.toDataURL(a.type,a.details)}return typeof y=="function"?(y(b),null):b};function cm(a,y,E,x){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&tn("properties argument must be an Object.");var b=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var ne=y.maxSize;y.maxSize===void 0&&(ne=E==="SVG"?new fn(1/0,1/0):new fn(2e3,2e3));var re=y.position||null,oe=y.parts||null,he=y.padding===void 0?1:y.padding,fe=y.background||null,Se=y.omitTemporary;Se===void 0&&(Se=!0);var Te=y.document||document,Ne=y.elementFinished||null,Be=y.showTemporary;Be===void 0&&(Be=!Se),y=y.showGrid,y===void 0&&(y=Be),b!==null&&isNaN(b.width)&&isNaN(b.height)&&(b=null),typeof he=="number"?he=new Zi(he):he instanceof Zi||tn("MakeImage padding must be a Margin or a number."),he.left=Math.max(he.left,0),he.right=Math.max(he.right,0),he.top=Math.max(he.top,0),he.bottom=Math.max(he.bottom,0),a.ib.Vc(!0),Se=new ec(null,Te,void 0,!0);var We=Se.context;if(!(b||z||oe||re))return Se.width=a.Aa+Math.ceil(he.left+he.right),Se.height=a.ya+Math.ceil(he.top+he.bottom),E==="SVG"?x===null?null:(x.resize(Se.width,Se.height,Se.width,Se.height),x.ownerDocument=Te,x.hs=Ne,Zf(a,x.context,he,new fn(Se.width,Se.height),a.Ca,a.pa,oe,fe,Be,y),x.context):(a.Xm=!1,Zf(a,We,he,new fn(Se.width,Se.height),a.Ca,a.pa,oe,fe,Be,y),a.Xm=!0,Se.context);var vt=a.Pp,ct=a.documentBounds.copy();if(ct.Fv(a.yb),Be)for(var wt=a.Wa.s,Tt=wt.length,kt=0;kt<Tt;kt++){var Bt=wt[kt];if(Bt.visible&&Bt.isTemporary){Bt=Bt.Pa.s;for(var en=Bt.length,pi=0;pi<en;pi++){var ki=Bt[pi];ki.isInDocumentBounds&&ki.isVisible()&&(ki=ki.actualBounds,ki.w()&&ct.ed(ki))}}}if(wt=new st(ct.x,ct.y),oe!==null){for(Tt=new an(0,0,0,0),kt=!0,Bt=oe.iterator,Bt.reset();Bt.next();)en=Bt.value,en instanceof Ki&&(pi=en.layer,pi!==null&&!pi.visible||pi!==null&&!Be&&pi.isTemporary||!en.isVisible()||(en=en.actualBounds,en.w()&&(kt?(kt=!1,Tt.assign(en)):Tt.ed(en))));ct.width=Tt.width,ct.height=Tt.height,wt.x=Tt.x,wt.y=Tt.y}return re!==null&&re.w()&&(wt=re,z||(z=vt)),Tt=re=0,he!==null&&(re=he.left+he.right,Tt=he.top+he.bottom),kt=Bt=0,b!==null&&(Bt=b.width,kt=b.height,isFinite(Bt)&&(Bt=Math.max(0,Bt-re)),isFinite(kt)&&(kt=Math.max(0,kt-Tt))),b!==null&&z!==null?(z==="NaN"&&(z=vt),b.w()?(b=Bt,ct=kt):isNaN(kt)?(b=Bt,ct=ct.height*z):(b=ct.width*z,ct=kt)):b!==null?b.w()?(z=Math.min(Bt/ct.width,kt/ct.height),b=Bt,ct=kt):isNaN(kt)?(z=Bt/ct.width,b=Bt,ct=ct.height*z):(z=kt/ct.height,b=ct.width*z,ct=kt):z!==null?z==="NaN"&&ne.w()?(z=Math.min((ne.width-re)/ct.width,(ne.height-Tt)/ct.height),z>vt?(z=vt,b=ct.width,ct=ct.height):(b=ne.width,ct=ne.height)):(b=ct.width*z,ct=ct.height*z):(z=vt,b=ct.width,ct=ct.height),he!==null?(b+=re,ct+=Tt):he=new Zi(0),ne!==null&&(vt=ne.width,ne=ne.height,isNaN(vt)&&(vt=2e3),isNaN(ne)&&(ne=2e3),isFinite(vt)&&(b=Math.min(b,vt)),isFinite(ne)&&(ct=Math.min(ct,ne))),Se.width=Math.ceil(b),Se.height=Math.ceil(ct),E==="SVG"?x===null?null:(x.resize(Se.width,Se.height,Se.width,Se.height),x.ownerDocument=Te,x.hs=Ne,Zf(a,x.context,he,new fn(Math.ceil(b),Math.ceil(ct)),z,wt,oe,fe,Be,y),x.context):(a.Xm=!1,Zf(a,We,he,new fn(Math.ceil(b),Math.ceil(ct)),z,wt,oe,fe,Be,y),a.Xm=!0,Se.context)}bn.Object.defineProperties(qt.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof Ee||(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 Vc(this,sn.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 Vc(this,sn.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(E){E.cancelWaitAfter()}),y.mouseMoveTools.each(function(E){E.cancelWaitAfter()}),y.mouseUpTools.each(function(E){E.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(sn,"resize",this.Ov,!1),this.removeEventListener(sn,"wheel",this.$j,!0),ql===this&&(ql=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Fh(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||1<a)&&lr(a,"0 <= value <= 1",qt,"opacity"),this.pb=a,this.g("opacity",y,a),this.N())}},validCycle:{get:function(){return this.wu},set:function(a){var y=this.wu;y!==a&&(this.wu=a,this.g("validCycle",y,a))}},layers:{get:function(){return this.Wa.iterator}},isModelReadOnly:{get:function(){var a=this.cc;return a===null?!1:a.isReadOnly},set:function(a){var y=this.cc;y!==null&&(y.isReadOnly=a)}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},isEnabled:{get:function(){return this.Jd},set:function(a){var y=this.Jd;y!==a&&(this.Jd=a,this.g("isEnabled",y,a))}},allowClipboard:{get:function(){return this.Us},set:function(a){var y=this.Us;y!==a&&(this.Us=a,this.g("allowClipboard",y,a))}},allowCopy:{get:function(){return this.Fi},set:function(a){var y=this.Fi;y!==a&&(this.Fi=a,this.g("allowCopy",y,a))}},allowDelete:{get:function(){return this.Gi},set:function(a){var y=this.Gi;y!==a&&(this.Gi=a,this.g("allowDelete",y,a))}},allowDragOut:{get:function(){return this.Vs},set:function(a){var y=this.Vs;y!==a&&(this.Vs=a,this.g("allowDragOut",y,a))}},allowDrop:{get:function(){return this.Ws},set:function(a){var y=this.Ws;y!==a&&(this.Ws=a,this.g("allowDrop",y,a))}},allowTextEdit:{get:function(){return this.Pi},set:function(a){var y=this.Pi;y!==a&&(this.Pi=a,this.g("allowTextEdit",y,a))}},allowGroup:{get:function(){return this.Hi},set:function(a){var y=this.Hi;y!==a&&(this.Hi=a,this.g("allowGroup",y,a))}},allowUngroup:{get:function(){return this.Qi},set:function(a){var y=this.Qi;y!==a&&(this.Qi=a,this.g("allowUngroup",y,a))}},allowInsert:{get:function(){return this.Ys},set:function(a){var y=this.Ys;y!==a&&(this.Ys=a,this.g("allowInsert",y,a))}},allowLink:{get:function(){return this.Ii},set:function(a){var y=this.Ii;y!==a&&(this.Ii=a,this.g("allowLink",y,a))}},allowRelink:{get:function(){return this.Ki},set:function(a){var y=this.Ki;y!==a&&(this.Ki=a,this.g("allowRelink",y,a))}},allowMove:{get:function(){return this.Ji},set:function(a){var y=this.Ji;y!==a&&(this.Ji=a,this.g("allowMove",y,a))}},allowReshape:{get:function(){return this.Li},set:function(a){var y=this.Li;y!==a&&(this.Li=a,this.g("allowReshape",y,a))}},allowResize:{get:function(){return this.Mi},set:function(a){var y=this.Mi;y!==a&&(this.Mi=a,this.g("allowResize",y,a))}},allowRotate:{get:function(){return this.Ni},set:function(a){var y=this.Ni;y!==a&&(this.Ni=a,this.g("allowRotate",y,a))}},allowSelect:{get:function(){return this.Oi},set:function(a){var y=this.Oi;y!==a&&(this.Oi=a,this.g("allowSelect",y,a))}},allowUndo:{get:function(){return this.Zs},set:function(a){var y=this.Zs;y!==a&&(this.Zs=a,this.g("allowUndo",y,a))}},allowZoom:{get:function(){return this.at},set:function(a){var y=this.at;y!==a&&(this.at=a,this.g("allowZoom",y,a))}},hasVerticalScrollbar:{get:function(){return this.nn},set:function(a){var y=this.nn;y!==a&&(this.nn=a,this.Ee=!0,this.N(),this.g("hasVerticalScrollbar",y,a),lu(this,!1))}},hasHorizontalScrollbar:{get:function(){return this.mn},set:function(a){var y=this.mn;y!==a&&(this.mn=a,this.Ee=!0,this.N(),this.g("hasHorizontalScrollbar",y,a),lu(this,!1))}},allowHorizontalScroll:{get:function(){return this.Xs},set:function(a){var y=this.Xs;y!==a&&(this.Xs=a,this.g("allowHorizontalScroll",y,a),lu(this,!1))}},allowVerticalScroll:{get:function(){return this.$s},set:function(a){var y=this.$s;y!==a&&(this.$s=a,this.g("allowVerticalScroll",y,a),lu(this,!1))}},scrollHorizontalLineChange:{get:function(){return this.iu},set:function(a){var y=this.iu;y!==a&&(0>a&&lr(a,">= 0",qt,"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&&lr(a,">= 0",qt,"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,E=this.Ka;if(y!==null&&E!==null){this.it=a;var x=y.style.cursor;y.style.cursor=a,E.style.cursor=a,y.style.cursor===x&&(y.style.cursor="-webkit-"+a,E.style.cursor="-webkit-"+a,y.style.cursor===x&&(y.style.cursor="-moz-"+a,E.style.cursor="-moz-"+a,y.style.cursor===x&&(y.style.cursor=a,E.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<a)){this.R("ChangingSelection",this.selection),y=this.selection.Fa();for(var E=0;E<a;E++)y[E].isSelected=!1;this.R("ChangedSelection",this.selection)}}else lr(a,">= 0",qt,"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||am(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&&tn("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var E=gf(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var x=this.vb;this.vb=!0,ol(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=Jg(this.cc.type);for(var b=0;b<E.length;b++)this.add(E[b]);a.Pe(this.Hb),this.partManager.addAllModeledParts(),a.ik(this.Hb),a.Pe(this.Oc),this.pf!==null&&this.pf.each(function(z){return a.Pe(z)}),this.vb=x,this.Ya(),this.vb||this.N(),y&&a.undoManager.copyProperties(y.undoManager)}}},aa:{get:function(){return this.rw},set:function(a){this.rw=a}},As:{get:function(){return this.sy}},skipsModelSourceBindings:{get:function(){return this.Iw},set:function(a){this.Iw=a}},Ns:{get:function(){return this.ou},set:function(a){this.ou=a}},nodeTemplate:{get:function(){return this.Lg.I("")},set:function(a){var y=this.Lg.I("");y!==a&&(this.Lg.add("",a),this.g("nodeTemplate",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},nodeTemplateMap:{get:function(){return this.Lg},set:function(a){var y=this.Lg;y!==a&&(this.Lg=a,this.g("nodeTemplateMap",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},groupTemplate:{get:function(){return this.Yi.I("")},set:function(a){var y=this.Yi.I("");y!==a&&(this.Yi.add("",a),this.g("groupTemplate",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},groupTemplateMap:{get:function(){return this.Yi},set:function(a){var y=this.Yi;y!==a&&(this.Yi=a,this.g("groupTemplateMap",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},linkTemplate:{get:function(){return this.Kh.I("")},set:function(a){var y=this.Kh.I("");y!==a&&(this.Kh.add("",a),this.g("linkTemplate",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},linkTemplateMap:{get:function(){return this.Kh},set:function(a){var y=this.Kh;y!==a&&(this.Kh=a,this.g("linkTemplateMap",y,a),this.undoManager.isUndoingRedoing||this.Wd())}},isMouseCaptured:{get:function(){return this.qw},set:function(a){var y=this.ta;y!==null&&(y=y.Oa,y instanceof SVGElement||(a?(this.lastInput.bubbles=!1,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.addEventListener(sn,"pointermove",this.dk,!0),this.addEventListener(sn,"pointerdown",this.ui,!0),this.addEventListener(sn,"pointerup",this.fk,!0),this.addEventListener(sn,"pointerout",this.ek,!0),this.addEventListener(sn,"pointercancel",this.ck,!0),this.removeEventListener(y,"wheel",this.$j,!1),this.addEventListener(sn,"wheel",this.$j,!0),this.addEventListener(sn,"selectstart",this.preventDefault,!1)):(this.removeEventListener(sn,"pointermove",this.dk,!0),this.removeEventListener(sn,"pointerdown",this.ui,!0),this.removeEventListener(sn,"pointerup",this.fk,!0),this.removeEventListener(sn,"pointerout",this.ek,!0),this.removeEventListener(sn,"pointercancel",this.ck,!0),this.addEventListener(y,"pointermove",this.dk,!1),this.addEventListener(y,"pointerdown",this.ui,!1),this.addEventListener(y,"pointerup",this.fk,!1),this.addEventListener(y,"pointerout",this.ek,!1),this.addEventListener(y,"pointercancel",this.ck,!1),this.removeEventListener(sn,"wheel",this.$j,!0),this.removeEventListener(sn,"selectstart",this.preventDefault,!1),this.addEventListener(y,"wheel",this.$j,!1)),this.qw=a))}},position:{get:function(){return this.pa},set:function(a){var y=st.alloc().assign(this.pa);if(!y.D(a)){var E=this.viewportBounds.copy();this.pa.assign(a),dc(this.animationManager,y,this.pa),this.vb||this.ta===null&&!this.wo.w()?Wc(this):(this.vb=!0,a=this.scale,vf(this,this.Sp,this.Aa/a,this.ya/a,this.zk,!1),this.vb=!1),this.vb||this.onViewportBoundsChanged(E,this.viewportBounds,this.Ca,!1)}st.free(y)}},initialPosition:{get:function(){return this.zt},set:function(a){this.zt.D(a)||(this.zt=a.J())}},initialScale:{get:function(){return this.At},set:function(a){this.At!==a&&(this.At=a)}},grid:{get:function(){return this.fe===null&&(this.fe=_h(this)),this.fe},set:function(a){var y=this.fe;if(y!==a){y===null&&(y=this.fe=_h(this)),a.type!==Yn.Grid&&tn("Diagram.grid must be a Panel of type Panel.Grid");var E=y.panel;E!==null&&E.remove(y),this.fe=a,a.name="GRID",E!==null&&E.add(a),Gc(this),this.N(),this.g("grid",y,a)}}},viewportBounds:{get:function(){return this.Rw}},viewSize:{get:function(){return this.wo},set:function(a){var y=this.viewSize;y.D(a)||(this.wo=a=a.J(),this.ya=this.Aa=0,a.w()?(this.Aa=a.width,this.ya=a.height):this.Ka!==null&&(this.Aa=this.Ka.clientWidth||1,this.ya=this.Ka.clientHeight||1),Wc(this),this.Ya(),this.g("viewSize",y,a),this.redraw())}},fixedBounds:{get:function(){return this.ut},set:function(a){var y=this.ut;y.D(a)||(a.width!==-1/0&&a.height!==1/0&&a.height!==-1/0||tn("fixedBounds width/height must not be Infinity"),this.ut=a=a.J(),this.Ya(),this.g("fixedBounds",y,a))}},scrollMargin:{get:function(){return this.rj},set:function(a){typeof a=="number"&&(a=new Zi(a));var y=this.rj;y.D(a)||(this.rj=a=a.J(),this.g("scrollMargin",y,a),this.hk())}},scrollMode:{get:function(){return this.sj},set:function(a){var y=this.sj;y!==a&&(this.sj=a,a===Bd&&lu(this,!1),this.g("scrollMode",y,a),this.Ee=!0,this.N())}},scrollsPageOnFocus:{get:function(){return this.nu},set:function(a){var y=this.nu;y!==a&&(this.nu=a,this.g("scrollsPageOnFocus",y,a))}},positionComputation:{get:function(){return this.Zt},set:function(a){var y=this.Zt;y!==a&&(this.Zt=a,lu(this,!1),this.g("positionComputation",y,a))}},scaleComputation:{get:function(){return this.fu},set:function(a){var y=this.fu;y!==a&&(this.fu=a,Qg(this,this.scale,this.scale),this.g("scaleComputation",y,a))}},documentBounds:{get:function(){return this.Sp}},isVirtualized:{get:function(){return this.It},set:function(a){var y=this.It;y!==a&&(this.It=a,this.g("isVirtualized",y,a))}},scale:{get:function(){return this.Ca},set:function(a){var y=this.Ca;y!==a&&Qg(this,y,a)}},defaultScale:{get:function(){return this.Pp},set:function(a){this.Pp=a}},autoScale:{get:function(){return this.yh},set:function(a){var y=this.yh;y!==a&&(this.yh=a,this.g("autoScale",y,a),a!==vl&&lu(this,!1))}},initialAutoScale:{get:function(){return this.Fg},set:function(a){var y=this.Fg;y!==a&&(this.Fg=a,this.g("initialAutoScale",y,a))}},initialViewportSpot:{get:function(){return this.Bt},set:function(a){var y=this.Bt;y!==a&&(a.sb()||tn("initialViewportSpot must be a specific Spot: "+a),this.Bt=a,this.g("initialViewportSpot",y,a))}},initialDocumentSpot:{get:function(){return this.yt},set:function(a){var y=this.yt;y!==a&&(a.sb()||tn("initialViewportSpot must be a specific Spot: "+a),this.yt=a,this.g("initialDocumentSpot",y,a))}},minScale:{get:function(){return this.Ot},set:function(a){var y=this.Ot;y!==a&&(0<a?(this.Ot=a,this.g("minScale",y,a),a>this.scale&&(this.scale=a)):lr(a,"> 0",qt,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0<a?(this.Mt=a,this.g("maxScale",y,a),a<this.scale&&(this.scale=a)):lr(a,"> 0",qt,"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),lu(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 Zi(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&&tn("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!==_d&&a!==Ss&&a!==rg&&tn("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 fn(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 Zi(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),bn.Object.defineProperties(qt,{licenseKey:{get:function(){return lp.jc()},set:function(a){lp.add(a.replace(/\s/g,""))}},version:{get:function(){return Yh}}}),qt.prototype.makeImageData=qt.prototype.Jx,qt.prototype.makeImage=qt.prototype.Wz,qt.prototype.cacheGroupExternalLinks=qt.prototype.Fu,qt.prototype.addRenderer=qt.prototype.bs,qt.prototype.makeSVG=qt.prototype.av,qt.prototype.makeSvg=qt.prototype.Cs,qt.prototype.stopAutoScroll=qt.prototype.ug,qt.prototype.doAutoScroll=qt.prototype.gs,qt.prototype.isUnoccupied=qt.prototype.Yj,qt.prototype.raiseDiagramEvent=qt.prototype.R,qt.prototype.removeDiagramListener=qt.prototype.am,qt.prototype.addDiagramListener=qt.prototype.Bj,qt.prototype.findTreeRoots=qt.prototype.yz,qt.prototype.layoutDiagram=qt.prototype.Uz,qt.prototype.findTopLevelGroups=qt.prototype.qz,qt.prototype.findTopLevelNodesAndLinks=qt.prototype.rz,qt.prototype.ensureBounds=qt.prototype.Va,qt.prototype.findLinksByExample=qt.prototype.ls,qt.prototype.findNodesByExample=qt.prototype.ms,qt.prototype.findLinkForData=qt.prototype.Kc,qt.prototype.findNodeForData=qt.prototype.ii,qt.prototype.findPartForData=qt.prototype.Lc,qt.prototype.findLinkForKey=qt.prototype.findLinkForKey,qt.prototype.findNodeForKey=qt.prototype.Vb,qt.prototype.findPartForKey=qt.prototype.findPartForKey,qt.prototype.rebuildParts=qt.prototype.Wd,qt.prototype.transformViewToDoc=qt.prototype.Ps,qt.prototype.transformRectDocToView=qt.prototype.zA,qt.prototype.transformDocToView=qt.prototype.op,qt.prototype.centerRect=qt.prototype.es,qt.prototype.scrollToRect=qt.prototype.tv,qt.prototype.scroll=qt.prototype.scroll,qt.prototype.highlightCollection=qt.prototype.Jz,qt.prototype.highlight=qt.prototype.Iz,qt.prototype.selectCollection=qt.prototype.rA,qt.prototype.select=qt.prototype.select,qt.prototype.updateAllRelationshipsFromData=qt.prototype.rp,qt.prototype.updateAllTargetBindings=qt.prototype.updateAllTargetBindings,qt.prototype.commit=qt.prototype.commit,qt.prototype.rollbackTransaction=qt.prototype.Kf,qt.prototype.commitTransaction=qt.prototype.eb,qt.prototype.startTransaction=qt.prototype.Ea,qt.prototype.raiseChanged=qt.prototype.g,qt.prototype.raiseChangedEvent=qt.prototype.cb,qt.prototype.removeChangedListener=qt.prototype.ik,qt.prototype.addChangedListener=qt.prototype.Pe,qt.prototype.removeModelChangedListener=qt.prototype.mA,qt.prototype.addModelChangedListener=qt.prototype.Yw,qt.prototype.findLayer=qt.prototype.Qj,qt.prototype.removeLayer=qt.prototype.kA,qt.prototype.addLayerAfter=qt.prototype.Cy,qt.prototype.addLayerBefore=qt.prototype.Ww,qt.prototype.addLayer=qt.prototype.Al,qt.prototype.moveParts=qt.prototype.moveParts,qt.prototype.copyParts=qt.prototype.Kj,qt.prototype.removeParts=qt.prototype.Is,qt.prototype.remove=qt.prototype.remove,qt.prototype.add=qt.prototype.add,qt.prototype.clearDelayedGeometries=qt.prototype.bx,qt.prototype.setProperties=qt.prototype.nm,qt.prototype.attach=qt.prototype.Du,qt.prototype.set=qt.prototype.set,qt.prototype.resetInputOptions=qt.prototype.Sx,qt.prototype.setInputOption=qt.prototype.sA,qt.prototype.getInputOption=qt.prototype.Ql,qt.prototype.resetRenderingHints=qt.prototype.Tx,qt.prototype.setRenderingHint=qt.prototype.Xx,qt.prototype.getRenderingHint=qt.prototype.Gf,qt.prototype.maybeUpdate=qt.prototype.bd,qt.prototype.requestUpdate=qt.prototype.$b,qt.prototype.delayInitialization=qt.prototype.Xy,qt.prototype.isUpdateRequested=qt.prototype.Pz,qt.prototype.invalidateDocumentBounds=qt.prototype.Ya,qt.prototype.findObjectsNear=qt.prototype.og,qt.prototype.findPartsNear=qt.prototype.mz,qt.prototype.findObjectsIn=qt.prototype.Cf,qt.prototype.findPartsIn=qt.prototype.ux,qt.prototype.findObjectsAt=qt.prototype.ji,qt.prototype.findPartsAt=qt.prototype.lz,qt.prototype.findObjectAt=qt.prototype.ic,qt.prototype.findPartAt=qt.prototype.Ol,qt.prototype.focusObject=qt.prototype.zz,qt.prototype.alignDocument=qt.prototype.Jy,qt.prototype.zoomToRect=qt.prototype.BA,qt.prototype.zoomToFit=qt.prototype.zoomToFit,qt.prototype.diagramScroll=qt.prototype.kx,qt.prototype.focus=qt.prototype.focus;var ig=new Fn,dm=null,Za=sn.document!==void 0,Vh=null,hh="",vl=new nn(qt,"None",0),wu=new nn(qt,"Uniform",1),fh=new nn(qt,"UniformToFill",2),Ef=new nn(qt,"CycleAll",10),ip=new nn(qt,"CycleNotDirected",11),rp=new nn(qt,"CycleNotDirectedFast",12),op=new nn(qt,"CycleNotUndirected",13),ap=new nn(qt,"CycleDestinationTree",14),sp=new nn(qt,"CycleSourceTree",15),Bd=new nn(qt,"DocumentScroll",1),xf=new nn(qt,"InfiniteScroll",2),_d=new nn(qt,"TreeParentCollapsed",21),Ss=new nn(qt,"AllParentsCollapsed",22),rg=new nn(qt,"AnyParentsCollapsed",23),lp=new Qn,Yh="2.3.10",Kh="image",bf=null,hm=!1;function ll(){if(Za){var a=sn.document.createElement("canvas"),y=a.getContext("2d"),E=mr("7ca11abfd022028846");y[E]=mr("398c3597c01238");for(var x=["5da73c80a36455d7038e4972187c3cae51fd22",Un.Dx+"4ae6247590da4bb21c324ba3a84e385776",cr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Ht.za],b=1;5>b;b++)y[mr("7ca11abfd7330390")](mr(x[b-1]),10,15*b);for(y[E]=mr("39f046ebb36e4b"),E=1;5>E;E++)y[mr("7ca11abfd7330390")](mr(x[E-1]),10,15*E);(x.length!==4||x[0][0]!=="5"||x[3][0]!=="7")&&(cr.prototype.Cd=cr.prototype.Eu),bf=a}}qt.className="Diagram",qt.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=sn.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof qt?y.H:null},qt.inherit=function(a,y){function E(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class
|
|
|
`+a);E.prototype=y.prototype,a.prototype=new E,a.prototype.constructor=a},qt.useDOM=function(a){Za=a?sn.document!==void 0:!1},qt.isUsingDOM=function(){return Za},qt.None=vl,qt.Uniform=wu,qt.UniformToFill=fh,qt.CycleAll=Ef,qt.CycleNotDirected=ip,qt.CycleNotDirectedFast=rp,qt.CycleNotUndirected=op,qt.CycleDestinationTree=ap,qt.CycleSourceTree=sp,qt.DocumentScroll=Bd,qt.InfiniteScroll=xf,qt.TreeParentCollapsed=_d,qt.AllParentsCollapsed=Ss,qt.AnyParentsCollapsed=rg;function fm(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function Zh(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var E=sn[mr("76a715b2f73f148a")][mr("72ba13b5")]||"";if(a.Rc=!0,Za){var x=qt[mr("76a115b6ed251eaf4692")];if(x)for(var b=lp.iterator;b.next()&&(x=b.value,x=mr(x).split(mr("39e9")),!(6>x.length));){var z=mr(x[1]).split(".");if(x[4]!=="7da71ca0")break;var ne=mr(Un[mr("6cae19")]).split(".");if(z[0]>ne[0]||z[0]===ne[0]&&z[1]>=ne[1]){var re=sn[mr("74a900bae4370f8b51")][mr("6fbb13a1c2311e8a57")].toLowerCase();if(ne=re[mr("73a612b6fb191d")](mr("3aad1ab6e022098b4dc4")),z=mr(x[2]),-1<ne&&(re=re[mr("73a612b6fb191d")](z.toLowerCase()+"/"),a.Rc=!(-1<re&&re<ne),!a.Rc))break;for(ne=E[mr("76ad18b4f73e")],re=E[mr("73a612b6fb191d")](mr("35e7"))+2;re<ne;re++)y+=E[re];if(ne=y[mr("73a612b6fb191d")](z),0>ne&&z!==mr("7da71ca0ad381e90")&&(ne=y[mr("73a612b6fb191d")](mr("76a715b2ef3e149757"))),0>ne&&(ne=y[mr("73a612b6fb191d")](mr("76a715b2ef3e149757"))),0>ne&&(ne=y[mr("73a612b6fb191d")](mr("2bfa41fdb3784bca12"))),0>ne&&(ne=E[mr("73a612b6fb191d")](mr("7baa19a6f76c1988428554"))),a.Rc=!(0<=ne&&ne<y[mr("73a612b6fb191d")](mr("35"))||y[mr("73a612b6fb191d")](mr("35"))===-1),!a.Rc||E[mr("73a612b6fb191d")](mr("7fb002b6ed25128b4da25b2e"))&&(a.Rc=!(-1<E[mr("73a612b6fb191d")](z)),!a.Rc)||(ne=sn[mr("76a715b2f73f148a")][mr("69ad17a1e03e")],re=ne[mr("73a612b6fb191d")](mr("7fb002b6ed25128b4da25b2e")),-1<re&&(a.Rc=!(ne[mr("73a612b6fb191d")](z)>re),!a.Rc)))break;if(z[0]==="#"){ne=sn.document.createElement("div");for(var oe=x[0].replace(/[A-Za-z]/g,"");4>oe.length;)oe+="9";if(re=oe,oe=oe.substr(oe.length-4),x="",x+=["gsh","gsf"][parseInt(oe.substr(0,1),10)%2],x+=["Header","Background","Display","Feedback"][parseInt(oe.substr(0,1),10)%4],ne[mr("79a417a0f0181a8946")]=x,sn.document[mr("78a712aa")]){sn.document[mr("78a712aa")][mr("7bb806b6ed32388c4a875b")](ne),oe=sn.getComputedStyle(ne).getPropertyValue(mr("78a704b7e62456904c9b12701b6532a8"));var he=sn.getComputedStyle(ne).getPropertyValue(mr("75b817b0ea2202"));if(sn.document[mr("78a712aa")][mr("68ad1bbcf533388c4a875b")](ne),oe){if(ne=sn[mr("77a902b0eb1b1e804a8a")],he==="0."+parseInt(re,10)%100||oe.indexOf(parseInt(z[1]+z[2],16))!==-1&&oe.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(ne&&ne(mr("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(x="."+x,z=0;z<document.styleSheets.length;z++){ne=document.styleSheets[z].rules||document.styleSheets[z].cssRules;for(var fe in ne)if(x===ne[fe].selectorText){a.Rc=!1;break e}}}}else a.Rc=null,a.Rc=!1}}}else{for(fe=E[mr("76ad18b4f73e")],b=E[mr("73a612b6fb191d")](mr("35e7"))+2;b<fe;b++)y+=E[b];E=y[mr("73a612b6fb191d")](mr("7da71ca0ad381e90")),a.Rc=!(0<=E&&E<y[mr("73a612b6fb191d")](mr("35")))}}}return 0<a.Rc&&a!==a.wy}fm.className="DiagramHelper";function Sd(a){this.j=a===void 0?new st:a,this.o=new st}bn.Object.defineProperties(Sd.prototype,{point:{get:function(){return this.j},set:function(a){this.j=a}},shifted:{get:function(){return this.o},set:function(a){this.o=a}}});var wf="DraggingInfo";Sd.className="DraggingInfo";function ie(a,y,E){this.node=a,this.info=y,this.Su=E}ie.className="DraggingNodeInfoPair";function ae(){this.reset()}ae.prototype.reset=function(){this.isGridSnapEnabled=!1,this.isGridSnapRealtime=!0,this.gridSnapCellSize=new fn(NaN,NaN).freeze(),this.gridSnapCellSpot=ka,this.gridSnapOrigin=new st(NaN,NaN).freeze(),this.groupsSnapMembers=this.dragsTree=this.dragsLink=!1,this.dragsMembers=this.groupsAlwaysMove=!0},ae.className="DraggingOptions";function ye(a,y){if(typeof a=="string"||sn.Element&&a instanceof Element)var E=qt.call(this,a)||this;else E=qt.call(this)||this,y=a;return me(E),y&&E.nm(y),E}Kt(ye,qt);function me(a){a.allowDragOut=!0,a.allowMove=!1,a.isReadOnly=!0,a.contentAlignment=fs,a.layout=new Gs}ye.prototype.reset=function(){qt.prototype.reset.call(this),me(this)},ye.className="Palette";function Ee(a,y){if(typeof a=="string"||sn.Element&&a instanceof Element)var E=qt.call(this,a)||this;else E=qt.call(this)||this,y=a;var x=E;E.animationManager.isEnabled=!1,E.vb=!0,E.V=null,E.mn=!1,E.nn=!1,E.F=!0,E.u=!0,E.ia=0,E.o=!1,E.ql=null,E.Xx("drawShadows",!1),a=new Ki;var b=new kr;return b.stroke="magenta",b.strokeWidth=2,b.fill="transparent",b.name="BOXSHAPE",a.selectable=!0,a.selectionAdorned=!1,a.selectionObjectName="BOXSHAPE",a.locationObjectName="BOXSHAPE",a.resizeObjectName="BOXSHAPE",a.cursor="move",a.add(b),E.j=a,E.allowCopy=!1,E.allowDelete=!1,E.allowSelect=!0,E.autoScrollRegion=new Zi(0,0,0,0),E.pa.h(0,0),E.toolManager.gb("Dragging",new yt,E.toolManager.mouseMoveTools),E.click=function(){var z=x.observed;if(z!==null){var ne=z.viewportBounds,re=x.lastInput.documentPoint;z.position=new st(re.x-ne.width/2,re.y-ne.height/2)}},E.Pf=function(){x.Ya(),it(x)},E.Xd=function(){x.observed!==null&&(x.Ya(),x.N())},E.Ha=function(){1>x.updateDelay?x.N():x.o||(x.o=!0,setTimeout(function(){return x.redraw()},x.updateDelay))},E.Of=function(){x.observed!==null&&it(x)},E.autoScale=wu,E.vb=!1,y&&Object.assign(E,y),E}Kt(Ee,qt),Ee.prototype.computePixelRatio=function(){return 1},Ee.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(jh(this),this.ql===null){var E=new ec(null);E.width=a.width,E.height=a.height,this.ql=E}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),He(this)}finally{this.ta=a,this.ib=y}}}qt.prototype.redraw.call(this)},Ee.prototype.gc=function(){if(this.Ka===null&&tn("No div specified"),this.ta===null&&tn("No canvas specified"),!(this.ta instanceof Vc)&&(_v(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){jh(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?He(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 E=y.length,x=0;x<E;x++)y[x].gc(a,this);this.Fc=this.vd=!1}}};function He(a){var y=a.observed;if(y!==null){var E=a.drawsTemporaryLayers,x=a.drawsGrid&&E,b=y.grid;x&&b!==null&&b.visible&&!isNaN(b.width)&&!isNaN(b.height)&&(b=an.alloc().assign(a.viewportBounds).ed(y.viewportBounds),Gc(y,b),an.free(b),Ps(y));var z=a.Ab;z.reset(),a.scale!==1&&z.scale(a.scale),a.position.x===0&&a.position.y===0||z.translate(-a.position.x,-a.position.y),b=a.ib,b.scale(a.Mb,a.Mb),b.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),b.yc(),y=y.Wa.s,z=y.length;for(var ne=0;ne<z;ne++){var re=y[ne],oe=a;if(re.visible&&re.opacity!==0){var he=re.diagram.grid.part;if(!E&&re.isTemporary)x&&he.layer===re&&(re=ss(re,b),he.gc(b,oe),b.globalAlpha=re);else{for(var fe=ss(re,b),Se=oe.scale,Te=an.alloc(),Ne=re.Pa.s,Be=Ne.length,We=0;We<Be;We++){var vt=Ne[We];(x||vt!==he)&&re.Oj(b,vt,oe,null,Se,Te,!1)}an.free(Te),b.globalAlpha=fe}}}}}function it(a){var y=a.box;if(y!==null){var E=a.observed;if(E!==null){a.Fc=!0,E=E.viewportBounds;var x=y.selectionObject,b=fn.alloc();b.h(E.width,E.height),x.desiredSize=b,fn.free(b),a=2/a.scale,x instanceof kr&&(x.strokeWidth=a),y.location=new st(E.x-a/2,E.y-a/2),y.isSelected=!0}}}Ee.prototype.computeBounds=function(){var a=this.observed;if(a===null)return $r;var y=a.documentBounds.copy();return y.ed(a.viewportBounds),y},Ee.prototype.invalidateViewport=function(){this.Fc!==!0&&(this.Fc=!0,this.$b())},Ee.prototype.onViewportBoundsChanged=function(a,y,E,x){this.vb||(this.vd=!0,this.N(),this.Ee=!0,this.Ya(),it(this),this.fc.scale=E,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.Oz=x,this.R("ViewportBoundsChanged",this.fc,a))},bn.Object.defineProperties(Ee.prototype,{observed:{get:function(){return this.V},set:function(a){var y=this.V;if(a instanceof Ee&&tn("Overview.observed Diagram may not be an Overview itself: "+a),y!==a){if(y!==null&&(this.remove(this.box),y.am("ViewportBoundsChanged",this.Pf),y.am("DocumentBoundsChanged",this.Xd),y.am("InvalidateDraw",this.Ha),y.am("AnimationFinished",this.Of)),this.V=a,a!==null&&(a.Bj("ViewportBoundsChanged",this.Pf),a.Bj("DocumentBoundsChanged",this.Xd),a.Bj("InvalidateDraw",this.Ha),a.Bj("AnimationFinished",this.Of),this.add(this.box)),this.Ya(),a===null){this.ql=null;var E=this.ta,x=this.ib;E&&x&&(x.setTransform(1,0,0,1,0,0),x.clearRect(0,0,E.width,E.height))}else this.Ha(null),it(this),this.N();this.g("observed",y,a)}}},box:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.remove(y),this.add(this.j),it(this),this.g("box",y,a))}},drawsTemporaryLayers:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a,this.redraw())}},drawsGrid:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a,this.redraw())}},updateDelay:{get:function(){return this.ia},set:function(a){0>a&&(a=0),this.ia!==a&&(this.ia=a)}}}),Ee.className="Overview";function yt(){ya.call(this),this.j=null}Kt(yt,ya),yt.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 E=a.lastInput;return!E.left||a.currentTool!==this&&(!this.isBeyondDragSize()||E.isTouchEvent&&E.timestamp-a.firstInput.timestamp<this.delay)?!1:(this.findDraggablePart()===null&&(E=y.viewportBounds,this.j=new st(E.width/2,E.height/2),a=a.firstInput.documentPoint,y.position=new st(a.x-this.j.x,a.y-this.j.y)),!0)},yt.prototype.doActivate=function(){this.j=null,ya.prototype.doActivate.call(this)},yt.prototype.doUpdateCursor=function(){var a=this.diagram,y=a.box;y!==null&&y.cursor&&(a.currentCursor=y.cursor)},yt.prototype.moveParts=function(){var a=this.diagram,y=a.observed;if(y!==null){var E=a.box;if(E!==null){if(this.j===null){var x=a.firstInput.documentPoint;E=E.location,this.j=new st(x.x-E.x,x.y-E.y)}a=a.lastInput.documentPoint,y.position=new st(a.x-this.j.x,a.y-this.j.y)}}},yt.className="OverviewDraggingTool";function mt(){ut(this),this.H=ql,this.Ha=this.u=this.o=!0,this.F=this.V=this.nb=this.ia=!1,this.ij=this.j=null,this.Hb=1.05,this.Jt=NaN,this.sw=null,this.Au=NaN,this.yu=$r,this.hb=!0,this.cg=null,this.ob=200}mt.prototype.toString=function(){return"CommandHandler"},mt.prototype.Xe=function(a){this.H=a},mt.prototype.doKeyDown=function(){var a=this.diagram,y=a.lastInput,E=Ha?y.meta:y.control,x=y.shift,b=y.alt,z=y.key;!E||z!=="C"&&z!=="Insert"?E&&z==="X"||x&&z==="Del"?this.canCutSelection()&&this.cutSelection():E&&z==="V"||x&&z==="Insert"?this.canPasteSelection()&&this.pasteSelection():E&&z==="Y"||b&&x&&z==="Backspace"?this.canRedo()&&this.redo():E&&z==="Z"||b&&z==="Backspace"?this.canUndo()&&this.undo():z==="Del"||z==="Backspace"?this.canDeleteSelection()&&this.deleteSelection():E&&z==="A"?this.canSelectAll()&&this.selectAll():z==="Esc"?this.canStopCommand()&&this.stopCommand():z==="Up"?a.allowVerticalScroll&&(E?a.scroll("pixel","up"):a.scroll("line","up")):z==="Down"?a.allowVerticalScroll&&(E?a.scroll("pixel","down"):a.scroll("line","down")):z==="Left"?a.allowHorizontalScroll&&(E?a.scroll("pixel","left"):a.scroll("line","left")):z==="Right"?a.allowHorizontalScroll&&(E?a.scroll("pixel","right"):a.scroll("line","right")):z==="PageUp"?x&&a.allowHorizontalScroll?a.scroll("page","left"):a.allowVerticalScroll&&a.scroll("page","up"):z==="PageDown"?x&&a.allowHorizontalScroll?a.scroll("page","right"):a.allowVerticalScroll&&a.scroll("page","down"):z==="Home"?E&&a.allowVerticalScroll?a.scroll("document","up"):!E&&a.allowHorizontalScroll&&a.scroll("document","left"):z==="End"?E&&a.allowVerticalScroll?a.scroll("document","down"):!E&&a.allowHorizontalScroll&&a.scroll("document","right"):z===" "?this.canScrollToPart()&&this.scrollToPart():z==="Subtract"?this.canDecreaseZoom()&&this.decreaseZoom():z==="Add"?this.canIncreaseZoom()&&this.increaseZoom():E&&z==="0"?this.canResetZoom()&&this.resetZoom():x&&z==="Z"?this.canZoomToFit()&&this.zoomToFit():E&&!x&&z==="G"?this.canGroupSelection()&&this.groupSelection():E&&x&&z==="G"?this.canUngroupSelection()&&this.ungroupSelection():z==="F2"||y.event&&y.event.key==="F2"?this.canEditTextBlock()&&this.editTextBlock():z==="ContextMenu"||y.event&&y.event.key==="ContextMenu"?this.canShowContextMenu()&&this.showContextMenu():y.bubbles=!0:this.canCopySelection()&&this.copySelection()},mt.prototype.doKeyUp=function(){this.diagram.lastInput.bubbles=!0},mt.prototype.stopCommand=function(){var a=this.diagram,y=a.currentTool;y instanceof ra&&a.allowSelect&&a.clearSelection(),y!==null&&y.doCancel()},mt.prototype.canStopCommand=function(){return!0},mt.prototype.selectAll=function(){var a=this.diagram;a.N();try{a.currentCursor="wait",a.R("ChangingSelection",a.selection);for(var y=a.parts;y.next();)y.value.isSelected=!0;for(var E=a.nodes;E.next();)E.value.isSelected=!0;for(var x=a.links;x.next();)x.value.isSelected=!0}finally{a.R("ChangedSelection",a.selection),a.currentCursor=""}},mt.prototype.canSelectAll=function(){return this.diagram.allowSelect},mt.prototype.deleteSelection=function(){var a=this.diagram;try{a.currentCursor="wait",a.R("ChangingSelection",a.selection),a.Ea("Delete"),a.R("SelectionDeleting",a.selection);for(var y=new Rt,E=a.selection.iterator;E.next();)vh(y,E.value,!0,this.deletesTree?1/0:0,this.deletesConnectedLinks?null:!1,function(x){return x.canDelete()});a.Is(y,!0),a.R("SelectionDeleted",y)}finally{a.eb("Delete"),a.R("ChangedSelection",a.selection),a.currentCursor=""}},mt.prototype.canDeleteSelection=function(){var a=this.diagram;return!(a.isReadOnly||a.isModelReadOnly||!a.allowDelete||a.selection.count===0)},mt.prototype.copySelection=function(){var a=this.diagram,y=new Rt;for(a=a.selection.iterator;a.next();)vh(y,a.value,!0,this.copiesTree?1/0:0,this.copiesConnectedLinks,function(E){return E.canCopy()});this.copyToClipboard(y)},mt.prototype.canCopySelection=function(){var a=this.diagram;return!!(a.allowCopy&&a.allowClipboard&&a.selection.count!==0)},mt.prototype.cutSelection=function(){this.copySelection(),this.deleteSelection()},mt.prototype.canCutSelection=function(){var a=this.diagram;return!!(!a.isReadOnly&&!a.isModelReadOnly&&a.allowCopy&&a.allowDelete&&a.allowClipboard&&a.selection.count!==0)},mt.prototype.copyToClipboard=function(a){var y=this.diagram,E=null;if(a===null)Vh=null,hh="";else{E=y.model;var x=!1,b=!1,z=null;try{E.Tl()&&(x=E.Jj,E.Jj=this.copiesParentKey),E.Wj()&&(b=E.Ij,E.Ij=this.copiesGroupKey),z=y.Kj(a,null,!0)}finally{E.Tl()&&(E.Jj=x),E.Wj()&&(E.Ij=b),E=new Qn,E.addAll(z),Vh=E,hh=y.model.dataFormat}}y.R("ClipboardChanged",E)},mt.prototype.pasteFromClipboard=function(){var a=new Rt,y=Vh;if(y===null)return a;var E=this.diagram;if(hh!==E.model.dataFormat)return a;var x=E.model,b=!1,z=!1,ne=null;try{x.Tl()&&(b=x.Jj,x.Jj=this.copiesParentKey),x.Wj()&&(z=x.Ij,x.Ij=this.copiesGroupKey),ne=E.Kj(y,E,!1)}finally{for(x.Tl()&&(x.Jj=b),x.Wj()&&(x.Ij=z),y=ne.iterator;y.next();)E=y.value,x=y.key,E.location.w()||(x.location.w()?E.location=x.location:!E.position.w()&&x.position.w()&&(E.position=x.position)),a.add(E)}return a},mt.prototype.pasteSelection=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.currentCursor="wait",y.R("ChangingSelection",y.selection),y.Ea("Paste");var E=this.pasteFromClipboard();0<E.count&&y.clearSelection(!0);for(var x=E.iterator;x.next();)x.value.isSelected=!0;if(a!==null){var b=y.computePartsBounds(y.selection);if(b.w()){var z=this.computeEffectiveCollection(y.selection,y.Wm);uh(y,z,new st(a.x-b.centerX,a.y-b.centerY),y.Wm,!1)}}y.R("ClipboardPasted",E)}finally{y.eb("Paste"),y.R("ChangedSelection",y.selection),y.currentCursor=""}},mt.prototype.canPasteSelection=function(){var a=this.diagram;return!(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.allowClipboard||Vh===null||Vh.count===0||hh!==a.model.dataFormat)},mt.prototype.undo=function(){this.diagram.undoManager.undo()},mt.prototype.canUndo=function(){var a=this.diagram;return a.isReadOnly||a.isModelReadOnly?!1:a.allowUndo&&a.undoManager.canUndo()},mt.prototype.redo=function(){this.diagram.undoManager.redo()},mt.prototype.canRedo=function(){var a=this.diagram;return a.isReadOnly||a.isModelReadOnly?!1:a.allowUndo&&a.undoManager.canRedo()},mt.prototype.decreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;y.autoScale===vl&&(a=y.scale*a,a<y.minScale||a>y.maxScale||(y.scale=a))},mt.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==vl?!1:(a=y.scale*a,a<y.minScale||a>y.maxScale?!1:y.allowZoom)},mt.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===vl&&(a=y.scale*a,a<y.minScale||a>y.maxScale||(y.scale=a))},mt.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==vl?!1:(a=y.scale*a,a<y.minScale||a>y.maxScale?!1:y.allowZoom)},mt.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;a<y.minScale||a>y.maxScale||(y.scale=a)},mt.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return a<y.minScale||a>y.maxScale?!1:y.allowZoom},mt.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var E=a.position,x=a.scale;ol(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&x===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=$r):(this.Jt=x,this.sw=E.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),Hl(y)},mt.prototype.canZoomToFit=function(){return this.diagram.allowZoom},mt.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(oe){this.cg=null}a===null&&(0<y.highlighteds.count?this.cg=y.highlighteds.iterator:0<y.selection.count&&(this.cg=y.selection.iterator),this.cg!==null&&this.cg.next()&&(a=this.cg.value))}if(a!==null){var E=y.animationManager;ol(E,"Scroll To Part");var x=this.scrollToPartPause;if(0<x){var b=It(this,a,[a]);if(b.length===1)y.Ea(),y.es(a.actualBounds),y.eb("Scroll To Part");else{var z=function(){y.Ea();for(var oe=b.pop();0<b.length&&oe instanceof yi&&oe.isTreeExpanded&&(!(oe instanceof Cr)||oe.isSubGraphExpanded);)oe=b.pop();0<b.length?(oe instanceof Ki&&y.tv(oe.actualBounds),oe instanceof yi&&!oe.isTreeExpanded&&(oe.isTreeExpanded=!0),oe instanceof Cr&&!oe.isSubGraphExpanded&&(oe.isSubGraphExpanded=!0)):(oe instanceof Ki&&y.es(oe.actualBounds),y.am("LayoutCompleted",ne)),y.eb("Scroll To Part")},ne=function(){ir(z,(E.isEnabled?E.duration:0)+x)};y.Bj("LayoutCompleted",ne),z()}}else{var re=y.position.copy();y.es(a.actualBounds),re.Xa(y.position)&&E.Cc()}}};function It(a,y,E){if(y.isVisible())return E;if(y instanceof Eo)It(a,y.adornedPart,E);else if(y instanceof $n){var x=y.fromNode;x!==null&&It(a,x,E),y=y.toNode,y!==null&&It(a,y,E)}else y instanceof yi&&(x=y.labeledLink,x!==null&&It(a,x,E),x=y.pg(),x!==null&&(x.isTreeExpanded||x.wasTreeExpanded||E.push(x),It(a,x,E))),y=y.containingGroup,y!==null&&(y.isSubGraphExpanded||y.wasSubGraphExpanded||E.push(y),It(a,y,E));return E}mt.prototype.canScrollToPart=function(a){return a===void 0&&(a=null),a!==null&&!(a instanceof Ki)?!1:(a=this.diagram,a.selection.count===0&&a.highlighteds.count===0?!1:a.allowHorizontalScroll&&a.allowVerticalScroll)},mt.prototype.collapseTree=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Collapse Tree"),ol(y.animationManager,"Collapse Tree");var E=new Qn;if(a!==null&&a.isTreeExpanded)a.collapseTree(),E.add(a);else if(a===null)for(var x=y.selection.iterator;x.next();){var b=x.value;b instanceof yi&&b.isTreeExpanded&&(b.collapseTree(),E.add(b))}y.R("TreeCollapsed",E)}finally{y.eb("Collapse Tree")}},mt.prototype.canCollapseTree=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null){if(!(a instanceof yi&&a.isTreeExpanded))return!1;if(0<a.Qo().count)return!0}else for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof yi&&y.isTreeExpanded&&0<y.Qo().count)return!0;return!1},mt.prototype.expandTree=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Expand Tree"),ol(y.animationManager,"Expand Tree");var E=new Qn;if(a!==null&&!a.isTreeExpanded)a.expandTree(),E.add(a);else if(a===null)for(var x=y.selection.iterator;x.next();){var b=x.value;b instanceof yi&&!b.isTreeExpanded&&(b.expandTree(),E.add(b))}y.R("TreeExpanded",E)}finally{y.eb("Expand Tree")}},mt.prototype.canExpandTree=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null){if(!(a instanceof yi)||a.isTreeExpanded)return!1;if(0<a.Qo().count)return!0}else for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof yi&&!y.isTreeExpanded&&0<y.Qo().count)return!0;return!1},mt.prototype.groupSelection=function(){var a=this.diagram,y=a.model;if(y.Xj()){var E=this.archetypeGroupData;if(E!==null){var x=null;try{a.currentCursor="wait",a.R("ChangingSelection",a.selection),a.Ea("Group");for(var b=new Qn,z=a.selection.iterator;z.next();){var ne=z.value;ne.Zc()&&ne.canGroup()&&b.add(ne)}for(var re=new Qn,oe=b.iterator;oe.next();){var he=oe.value;z=!1;for(var fe=b.iterator;fe.next();)if(he.Td(fe.value)){z=!0;break}z||re.add(he)}if(0<re.count){var Se=re.first().containingGroup;if(Se!==null)for(;Se!==null;){b=!1;for(var Te=re.iterator;Te.next();)if(!Te.value.Td(Se)){b=!0;break}if(b)Se=Se.containingGroup;else break}if(E instanceof Cr)tc(E),x=E.copy(),x!==null&&a.add(x);else if(y.Yu(E)){var Ne=y.copyNodeData(E);jn(Ne)&&(y.xf(Ne),x=a.ii(Ne))}if(x!==null){Se!==null&&this.isValidMember(Se,x)&&(x.containingGroup=Se);for(var Be=re.iterator;Be.next();){var We=Be.value;this.isValidMember(x,We)&&(We.containingGroup=x)}a.clearSelection(!0),x.isSelected=!0}}a.R("SelectionGrouped",x)}finally{a.eb("Group"),a.R("ChangedSelection",a.selection),a.currentCursor=""}}}},mt.prototype.canGroupSelection=function(){var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.allowGroup||!a.model.Xj()||this.archetypeGroupData===null)return!1;for(a=a.selection.iterator;a.next();){var y=a.value;if(y.Zc()&&y.canGroup())return!0}return!1};function mn(a){var y=Vi();for(a=a.iterator;a.next();){var E=a.value;E instanceof $n||y.push(E)}a=new Rt,E=y.length;for(var x=0;x<E;x++){for(var b=y[x],z=!0,ne=0;ne<E;ne++)if(b.Td(y[ne])){z=!1;break}z&&a.add(b)}return Qi(y),a}mt.prototype.isValidMember=function(a,y){if(y===null||a===y||y instanceof $n)return!1;if(a!==null){if(a===y||a.Td(y))return!1;var E=a.memberValidation;if(E!==null&&!E(a,y)||a.data===null&&y.data!==null||a.data!==null&&y.data===null)return!1}return E=this.memberValidation,E!==null?E(a,y):!0},mt.prototype.ungroupSelection=function(a){a===void 0&&(a=null);var y=this.diagram,E=y.model;if(E.Xj())try{y.currentCursor="wait",y.R("ChangingSelection",y.selection),y.Ea("Ungroup");var x=new Qn;if(a!==null)x.add(a);else for(var b=y.selection.iterator;b.next();){var z=b.value;z instanceof Cr&&z.canUngroup()&&x.add(z)}var ne=new Qn;if(0<x.count){y.clearSelection(!0);for(var re=x.iterator;re.next();){var oe=re.value;oe.expandSubGraph();var he=oe.containingGroup,fe=he!==null&&he.data!==null?E.wa(he.data):void 0;ne.addAll(oe.memberParts);for(var Se=ne.iterator;Se.next();){var Te=Se.value;if(Te.isSelected=!0,!(Te instanceof $n)){var Ne=Te.data;Ne!==null?E.mp(Ne,fe):Te.containingGroup=he}}y.remove(oe)}}y.R("SelectionUngrouped",x,ne)}finally{y.eb("Ungroup"),y.R("ChangedSelection",y.selection),y.currentCursor=""}},mt.prototype.canUngroupSelection=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly||y.isModelReadOnly||!y.allowDelete||!y.allowUngroup||!y.model.Xj())return!1;if(a!==null){if(!(a instanceof Cr))return!1;if(a.canUngroup())return!0}else for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof Cr&&y.canUngroup())return!0;return!1},mt.prototype.addTopLevelParts=function(a,y){var E=!0;for(a=mn(a).iterator;a.next();){var x=a.value;x.containingGroup!==null&&(!y||this.isValidMember(null,x)?x.containingGroup=null:E=!1)}return E},mt.prototype.collapseSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Collapse SubGraph"),ol(y.animationManager,"Collapse SubGraph");var E=new Qn;if(a!==null&&a.isSubGraphExpanded)a.collapseSubGraph(),E.add(a);else if(a===null)for(var x=y.selection.iterator;x.next();){var b=x.value;b instanceof Cr&&b.isSubGraphExpanded&&(b.collapseSubGraph(),E.add(b))}y.R("SubGraphCollapsed",E)}finally{y.eb("Collapse SubGraph")}},mt.prototype.canCollapseSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null)return!!(a instanceof Cr&&a.isSubGraphExpanded);for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof Cr&&y.isSubGraphExpanded)return!0;return!1},mt.prototype.expandSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;try{y.Ea("Expand SubGraph"),ol(y.animationManager,"Expand SubGraph");var E=new Qn;if(a!==null&&!a.isSubGraphExpanded)a.expandSubGraph(),E.add(a);else if(a===null)for(var x=y.selection.iterator;x.next();){var b=x.value;b instanceof Cr&&!b.isSubGraphExpanded&&(b.expandSubGraph(),E.add(b))}y.R("SubGraphExpanded",E)}finally{y.eb("Expand SubGraph")}},mt.prototype.canExpandSubGraph=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly)return!1;if(a!==null)return a instanceof Cr&&!a.isSubGraphExpanded;for(a=y.selection.iterator;a.next();)if(y=a.value,y instanceof Cr&&!y.isSubGraphExpanded)return!0;return!1},mt.prototype.editTextBlock=function(a){a===void 0&&(a=null);var y=this.diagram,E=y.toolManager.findTool("TextEditing");if(E!==null){if(a===null){a=null;for(var x=y.selection.iterator;x.next();){var b=x.value;if(b.canEdit()){a=b;break}}if(a===null)return;a=a.Nl(function(z){return z instanceof oa&&z.editable})}a!==null&&(y.currentTool=null,E.textBlock=a,y.currentTool=E)}},mt.prototype.canEditTextBlock=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.isReadOnly||y.isModelReadOnly||!y.allowTextEdit||y.toolManager.findTool("TextEditing")===null)return!1;if(a!==null){if(!(a instanceof oa))return!1;if(a=a.part,a!==null&&a.canEdit())return!0}else for(y=y.selection.iterator;y.next();)if(a=y.value,a.canEdit()&&(a=a.Nl(function(E){return E instanceof oa&&E.editable}),a!==null))return!0;return!1},mt.prototype.showContextMenu=function(a){var y=this.diagram,E=y.toolManager.findTool("ContextMenu");if(E!==null&&(a===void 0&&(a=0<y.selection.count?y.selection.first():y),a=E.findObjectWithContextMenu(a),a!==null)){var x=y.lastInput,b=null;a instanceof Ut?b=a.ga(Yr):y.viewportBounds.ca(x.documentPoint)||(b=y.viewportBounds,b=new st(b.x+b.width/2,b.y+b.height/2)),b!==null&&(x.viewPoint=y.op(b),x.documentPoint=b,x.left=!1,x.right=!0,x.up=!0),y.currentTool=E,Br(E,!1,a)}},mt.prototype.canShowContextMenu=function(a){var y=this.diagram,E=y.toolManager.findTool("ContextMenu");return E===null?!1:(a===void 0&&(a=0<y.selection.count?y.selection.first():y),E.findObjectWithContextMenu(a)!==null)},mt.prototype.computeEffectiveCollection=function(a,y){var E=this.diagram,x=E.toolManager.findTool("Dragging"),b=E.currentTool===x;if(y===void 0&&(y=b?x.dragOptions:E.Wm),x=new Fn,a===null)return x;for(var z=a.iterator;z.next();)qc(E,x,z.value,b,y);if(E.draggedLink!==null&&y.dragsLink)return x;for(z=a.iterator;z.next();)a=z.value,a instanceof $n&&(y=a.fromNode,y===null||x.contains(y)?(y=a.toNode,y===null||x.contains(y)||x.remove(a)):x.remove(a));return x},bn.Object.defineProperties(mt.prototype,{diagram:{get:function(){return this.H}},copiesClipboardData:{get:function(){return this.o},set:function(a){this.o=a}},copiesConnectedLinks:{get:function(){return this.u},set:function(a){this.u=a}},deletesConnectedLinks:{get:function(){return this.Ha},set:function(a){this.Ha=a}},copiesTree:{get:function(){return this.ia},set:function(a){this.ia=a}},deletesTree:{get:function(){return this.nb},set:function(a){this.nb=a}},copiesParentKey:{get:function(){return this.V},set:function(a){this.V=a}},copiesGroupKey:{get:function(){return this.F},set:function(a){this.F=a}},archetypeGroupData:{get:function(){return this.j},set:function(a){this.j=a}},memberValidation:{get:function(){return this.ij},set:function(a){this.ij=a}},defaultScale:{get:function(){return this.diagram.defaultScale},set:function(a){this.diagram.defaultScale=a}},zoomFactor:{get:function(){return this.Hb},set:function(a){1<a||tn("zoomFactor must be larger than 1.0, not: "+a),this.Hb=a}},isZoomToFitRestoreEnabled:{get:function(){return this.hb},set:function(a){this.hb=a}},scrollToPartPause:{get:function(){return this.ob},set:function(a){this.ob=a}}}),mt.className="CommandHandler",pf=function(){return new mt};function Ut(){ut(this),this.l=30723,this.pb=1,this.bn="",this.Ma=this.Me=null,this.pa=new st(NaN,NaN).freeze(),this.jd=ea,this.Ab=new cr,this.wh=new cr,this.Lb=null,this.Ca=this.Kk=1,this.Kb=0,this.Kg=ga,this.uc=new an(NaN,NaN,NaN,NaN).freeze(),this.Ib=new an(NaN,NaN,NaN,NaN).freeze(),this.dc=new an(0,0,NaN,NaN).freeze(),this.ba=this.Yn=this.Zn=null,this.sk=this.Jb=$a,this.Ag=this.io=0,this.V=this.tb=this.Dh=this.A=this.Ua=null,this.Uc=!1,this.jo=this.Ng=null}var zn,Rn,Bi,Ui,nr,Ar,Qr,Dr,fo,zo;Ut.prototype.cloneProtected=function(a){a.l=this.l|6144,a.pb=this.pb,a.bn=this.bn,a.Ma=this.Ma,a.pa.assign(this.pa),a.jd=this.jd.J(),this.Lb!==null?a.Lb=this.Lb.copy():a.Lb=null,a.Ca=this.Ca,a.Kb=this.Kb,a.Kg=this.Kg.J(),a.uc.assign(this.uc),a.Ib.assign(this.Ib),a.dc.assign(this.dc),a.Yn=this.Yn,this.ba!==null&&(a.ba=this.ba.copy()),a.Jb=this.Jb.J(),a.sk=this.sk.J(),a.io=this.io,a.Ag=this.Ag,this.Ua!==null&&(a.Ua=this.Ua.copy()),this.A!==null&&(a.A=this.A.nc?this.A:this.A.copy()),this.Dh!==null&&(a.Dh=ao(this.Dh)),this.tb!==null&&(a.tb=this.tb.copy())},Ut.prototype.Vw=function(a){var y=this.Dh;if(qi(y)){for(var E=0;E<y.length;E++)if(y[E]===a)return}else this.Dh=y=[];y.push(a)},Ut.prototype.Af=function(a){a.Zn=null,a.Ng=null,a.v()},Ut.prototype.clone=function(){var a=new this.constructor;if(this.cloneProtected(a),this.Dh!==null)for(var y=0;y<this.Dh.length;y++){var E=this.Dh[y];a[E]=this[E]}return a},Ut.prototype.copy=function(){return this.clone()},Ie=Ut.prototype,Ie.qb=function(a){a.classType===$n?a.name.indexOf("Orient")===0?this.segmentOrientation=a:tn("Unknown Link enum value for GraphObject.segmentOrientation property: "+a):a.classType===Ut&&(this.stretch=a)},Ie.toString=function(){return sr(this.constructor)+"#"+Lt(this)},Ie.th=function(){this.A!==null&&(this.A.nc=!0)};function Mr(a){a.A===null?a.A=new Tf:a.A.nc&&(a.A=a.A.copy())}Ie.Xc=function(){if(this.ba===null){var a=new up;a.Xi=pa,a.yj=pa,a.Vi=10,a.wj=10,a.Wi=0,a.xj=0,this.ba=a}},Ie.cb=function(a,y,E,x,b,z,ne){var re=this.part;if(re!==null&&(re.gk(a,y,E,x,b,z,ne),E===this&&a===Qo&&Ys(this)&&ma(this,re,y),z=this.diagram,this.animationTriggers===null||z===null||!z.pi||z.undoManager.isUndoingRedoing||z.animationManager.Dm||(a=this.animationTriggers.get(y),a!==null&&z.animationManager.isEnabled&&!z.animationManager.isTicking&&(this.jo===null&&(this.jo=new Fn),ne=z.undoManager.transactionLevel===0,a.startCondition===Ro?ne=!0:a.startCondition===To&&(ne=!1),ne?(z=new Vo,Hc(a,z),ne=this.jo.get(a),ne!==null&&ne.stop(),this.jo.add(a,z),z.vu=this,z.Nw=a,z.add(this,y,x,b),z.start()):(ol(z.animationManager,"Trigger"),z.animationManager.defaultAnimation.add(this,y,x,b)))),this instanceof Yn&&E===re&&(re.l&16777216)!==0&&re.data!==null))for(E=this.O.s,x=E.length,b=0;b<x;b++)re=E[b],re instanceof Yn&&qh(re,function(oe){oe.data!==null&&oe.l&16777216&&oe.La(y)})};function ma(a,y,E){var x=a.ih();if(x!==null)for(var b=a.localBindings.iterator;b.next();){var z=b.value,ne=null;if(z.sourceName!==null){if(ne=k1(z,x,a),ne===null)continue;z.sp(a,ne,E,null)}else if(z.isToModel){var re=y.diagram;re===null||re.skipsModelSourceBindings||z.sp(a,re.model.modelData,E,x)}else{if(re=x.data,re===null)continue;var oe=y.diagram;oe===null||oe.skipsModelSourceBindings||z.sp(a,re,E,x)}ne===a&&(re=x.ks(z.Ai),re!==null&&z.Mv(re,ne,E))}}Ie.ks=function(a){return this.bindingId===a?this:null},Ie.g=function(a,y,E){this.cb(Qo,a,this,y,E)},Ie.Ge=function(a,y,E,x){var b=this.uc;if(b.h(a,y,E,x),this.Ca!==1||this.Kb!==0){this.Lb===null&&(this.Lb=new cr);var z=this.Lb;z.reset(),this.no(z,a,y,E,x),z.pp(b)}};function Ns(a,y,E,x){return a.pickable===!1?!1:(x.multiply(a.transform),E?a.Yc(y,x):a.fh(y,x))}Ie.tx=function(a,y,E){if(this.pickable===!1)return!1;var x=this.naturalBounds;return y=a.Bf(y),E?or(a.x,a.y,0,0,0,x.height)<=y||or(a.x,a.y,0,x.height,x.width,x.height)<=y||or(a.x,a.y,x.width,x.height,x.width,0)<=y||or(a.x,a.y,x.width,0,0,0)<=y:a.zd(0,0)<=y&&a.zd(0,x.height)<=y&&a.zd(x.width,0)<=y&&a.zd(x.width,x.height)<=y},Ie.se=function(){return!0},Ie.ca=function(a){var y=st.alloc();y.assign(a),this.transform.Ga(y);var E=this.actualBounds;if(!E.w())return st.free(y),!1;var x=this.diagram;if(x!==null&&x.wq){var b=x.Ql("extraTouchThreshold"),z=x.Ql("extraTouchArea"),ne=z/2,re=this.naturalBounds;x=this.Df()*x.scale;var oe=1/x;if(re.width*x<b&&re.height*x<b)return a=Go(E.x-ne*oe,E.y-ne*oe,E.width+z*oe,E.height+z*oe,y.x,y.y),st.free(y),a}return b=!1,(this instanceof Eo||this instanceof kr?Go(E.x-5,E.y-5,E.width+10,E.height+10,y.x,y.y):E.ca(y))&&(this.tb&&!this.tb.ca(y)?b=!1:this.areaBackground!==null&&E.ca(y)||this.Ma!==null&&this.dc.ca(a)?b=!0:b=this.gh(a)),st.free(y),b},Ie.gh=function(a){var y=this.naturalBounds;return Go(0,0,y.width,y.height,a.x,a.y)},Ie.Re=function(a){if(this.angle===0)return this.actualBounds.Re(a);var y=this.naturalBounds;y=an.allocAt(0,0,y.width,y.height);var E=this.transform,x=!1,b=st.allocAt(a.x,a.y);return y.ca(E.Cd(b))&&(b.h(a.x,a.bottom),y.ca(E.Cd(b))&&(b.h(a.right,a.bottom),y.ca(E.Cd(b))&&(b.h(a.right,a.y),y.ca(E.Cd(b))&&(x=!0)))),st.free(b),an.free(y),x},Ie.fh=function(a,y){if(y===void 0)return a.Re(this.actualBounds);var E=this.naturalBounds,x=!1,b=st.allocAt(0,0);return a.ca(y.Ga(b))&&(b.h(0,E.height),a.ca(y.Ga(b))&&(b.h(E.width,E.height),a.ca(y.Ga(b))&&(b.h(E.width,0),a.ca(y.Ga(b))&&(x=!0)))),st.free(b),x},Ie.Yc=function(a,y){if(y===void 0&&(y=this.transform,this.angle===0))return a.Yc(this.actualBounds);var E=this.naturalBounds,x=st.allocAt(0,0),b=st.allocAt(0,E.height),z=st.allocAt(E.width,E.height),ne=st.allocAt(E.width,0),re=!1;if(a.ca(y.Ga(x))||a.ca(y.Ga(b))||a.ca(y.Ga(z))||a.ca(y.Ga(ne)))re=!0;else{E=an.allocAt(0,0,E.width,E.height);var oe=st.allocAt(a.x,a.y);E.ca(y.Cd(oe))?re=!0:(oe.h(a.x,a.bottom),E.ca(y.Cd(oe))?re=!0:(oe.h(a.right,a.bottom),E.ca(y.Cd(oe))?re=!0:(oe.h(a.right,a.y),E.ca(y.Cd(oe))&&(re=!0)))),st.free(oe),an.free(E),!re&&(Ht.us(a,x,b)||Ht.us(a,b,z)||Ht.us(a,z,ne)||Ht.us(a,ne,x))&&(re=!0)}return st.free(x),st.free(b),st.free(z),st.free(ne),re},Ie.ga=function(a,y){if(y===void 0&&(y=new st),a instanceof wi){var E=this.naturalBounds;y.h(a.x*E.width+a.offsetX,a.y*E.height+a.offsetY)}else y.set(a);return this.oe.Ga(y),y},Ie.mi=function(a){a===void 0&&(a=new an);var y=this.naturalBounds,E=this.oe,x=st.allocAt(0,0).transform(E);return a.h(x.x,x.y,0,0),x.h(y.width,0).transform(E),Co(a,x.x,x.y,0,0),x.h(y.width,y.height).transform(E),Co(a,x.x,x.y,0,0),x.h(0,y.height).transform(E),Co(a,x.x,x.y,0,0),st.free(x),a},Ie.li=function(){var a=this.oe;return a.m11===1&&a.m12===0?a=0:(a=180*Math.atan2(a.m12,a.m11)/Math.PI,0>a&&(a+=360)),a},Ie.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Ie.qs=function(a,y){return y===void 0&&(y=new st),y.assign(a),this.oe.Cd(y),y},Ie.rs=function(a,y,E){return this.Sj(a.x,a.y,y.x,y.y,E)},Ie.Sj=function(a,y,E,x,b){var z=this.transform,ne=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*ne,oe=-z.m12*ne,he=-z.m21*ne,fe=z.m11*ne,Se=ne*(z.m21*z.dy-z.m22*z.dx),Te=ne*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Ht.Ff(z.left,z.top,z.right,z.bottom,a,y,E,x,b)):(ne=a*re+y*he+Se,a=a*oe+y*fe+Te,y=E*re+x*he+Se,E=E*oe+x*fe+Te,b.h(0,0),x=this.naturalBounds,E=Ht.Ff(0,0,x.width,x.height,ne,a,y,E,b),b.transform(z),E)},Ut.prototype.measure=function(a,y,E,x){if(Tu(this)!==!1){var b=this.Kg,z=b.right+b.left;b=b.top+b.bottom,a=Math.max(a-z,0),y=Math.max(y-b,0),E=Math.max((E||0)-z,0),x=Math.max((x||0)-b,0),z=this.angle,b=this.desiredSize;var ne=this.kq();z===90||z===270?(a=isFinite(b.height)?b.height+ne:a,y=isFinite(b.width)?b.width+ne:y):(a=isFinite(b.width)?b.width+ne:a,y=isFinite(b.height)?b.height+ne:y),b=E||0,ne=x||0;var re=this instanceof Yn;switch(jl(this,!0)){case Rn:ne=b=0,re&&(y=a=1/0);break;case zn:isFinite(a)&&a>E&&(b=a),isFinite(y)&&y>x&&(ne=y);break;case Ui:isFinite(a)&&a>E&&(b=a),ne=0,re&&(y=1/0);break;case nr:isFinite(y)&&y>x&&(ne=y),b=0,re&&(a=1/0)}re=this.maxSize;var oe=this.minSize;b>re.width&&oe.width<re.width&&(b=re.width),ne>re.height&&oe.height<re.height&&(ne=re.height),E=Math.max(b,oe.width),x=Math.max(ne,oe.height),re.width<E&&(E=Math.min(oe.width,E)),re.height<x&&(x=Math.min(oe.height,x)),a=Math.min(re.width,a),y=Math.min(re.height,y),a=Math.max(E,a),y=Math.max(x,y),(z===90||z===270)&&(z=a,a=y,y=z,z=E,E=x,x=z),this.uc.ka(),this.Wl(a,y,E,x),this.uc.freeze(),this.uc.w()||tn("Non-real measuredBounds has been set. Object "+this+", measuredBounds: "+this.uc.toString()),Es(this,!1)}},Ut.prototype.Wl=function(){},Ut.prototype.Dd=function(){return!1},Ut.prototype.arrange=function(a,y,E,x,b){this.Uk();var z=an.alloc();z.assign(this.Ib),this.Ib.ka(),Al(this)===!1?this.Ib.h(a,y,E,x):this.eh(a,y,E,x),this.Ib.freeze(),b===void 0?this.tb=null:this.tb=b,E=!1,b!==void 0?E=!0:(b=this.panel,b!==null&&zd(b)&&(b=b.panel),b!==null&&(b=b.dc,x=this.measuredBounds,this.areaBackground!==null&&(x=this.Ib),E=y+x.height,x=a+x.width,E=!(0<=a+.05&&x<=b.width+.05&&0<=y+.05&&E<=b.height+.05),this instanceof oa&&(a=this.naturalBounds,this.Lq>a.height||this.Cb>a.width))&&(E=!0)),this.l=E?this.l|256:this.l&-257,this.Ib.w()||tn("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),$c(this,!1),an.free(z)},Ie=Ut.prototype,Ie.eh=function(){};function yl(a,y,E,x,b){if(a.Ib.h(y,E,x,b),!a.desiredSize.w()){var z=a.uc;E=a.Kg,y=E.right+E.left;var ne=E.top+E.bottom;switch(E=z.width+y,z=z.height+ne,x+=y,b+=ne,y=jl(a,!0),E===x&&z===b&&(y=Rn),y){case Rn:(E>x||z>b)&&(Es(a,!0),a.measure(E>x?x:E,z>b?b:z,0,0));break;case zn:Es(a,!0),a.measure(x,b,0,0);break;case Ui:Es(a,!0),a.measure(x,z,0,0);break;case nr:Es(a,!0),a.measure(E,b,0,0)}}}Ie.Xl=function(a,y){var E=this.part;E!==null&&E.diagram!==null&&(E.selectionObject!==this&&E.resizeObject!==this&&E.rotateObject!==this||zv(E,!0),this.N(),po(a,y)||(E.oh(),this.Pn(E)))},Ie.Pn=function(a){this.portId!==null&&(zv(a,!0),a instanceof yi&&KS(a,this))},Ie.gc=function(a,y){if(!Bu(this,a,y)&&this.visible){var E=this.opacity;if(E!==0){var x=1;E!==1&&(x=a.globalAlpha,a.globalAlpha=x*E);var b="";this.filter!==""&&(b=a.filter,a.filter=this.filter);var z=this instanceof Yn&&zd(this),ne=this.Ib;if(z){var re=this.Ib,oe=this.dc,he=this.areaBackground,fe=this.Ma;he===null&&fe===null||a.yc(),he!==null&&(Ja(this,a,he,!0,!0,oe,re),he instanceof Oo&&he.type===Hu?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(he)):a.fillRect(re.x,re.y,re.width,re.height)),fe!==null&&(Ja(this,a,fe,!0,!1,oe,re),fe instanceof Oo&&fe.type===Hu?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(fe)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||ne.width!==0&&ne.height!==0&&!isNaN(ne.x)&&!isNaN(ne.y))){z=this.transform,re=this.panel,this.l&4096&&js(this),he=this.part,oe=!1;var Se=0;he&&y.Gf("drawShadows")&&(oe=he.isShadowed)&&(fe=he.shadowOffset,Se=Math.max(fe.y,fe.x)*y.scale*y.Mb),fe=this.Dd();var Te;if(!(Te=y.$i||!fe)){var Ne=this.naturalBounds;Te=this.wh;var Be=Te.m11,We=Te.m21,vt=Te.dx,ct=Te.m12,wt=Te.m22,Tt=Te.dy,kt,Bt=kt=0;Te=kt*Be+Bt*We+vt;var en=kt*ct+Bt*wt+Tt;kt=Ne.width+Se,Bt=0;var pi=kt*Be+Bt*We+vt;kt=kt*ct+Bt*wt+Tt,Bt=Math.min(Te,pi);var ki=Math.min(en,kt),Ti=Math.max(Te+0,pi)-Bt,qn=Math.max(en+0,kt)-ki;Te=Bt,en=ki,kt=Ne.width+Se,Bt=Ne.height+Se,pi=kt*Be+Bt*We+vt,kt=kt*ct+Bt*wt+Tt,Bt=Math.min(Te,pi),ki=Math.min(en,kt),Ti=Math.max(Te+Ti,pi)-Bt,qn=Math.max(en+qn,kt)-ki,Te=Bt,en=ki,kt=0,Bt=Ne.height+Se,pi=kt*Be+Bt*We+vt,kt=kt*ct+Bt*wt+Tt,Bt=Math.min(Te,pi),ki=Math.min(en,kt),Ti=Math.max(Te+Ti,pi)-Bt,qn=Math.max(en+qn,kt)-ki,Te=Bt,en=ki,Se=y.viewportBounds,Ne=Se.x,Be=Se.y,Te=!(Te>Se.width+Ne||Ne>Ti+Te||en>Se.height+Be||Be>qn+en)}if(Te){if(Te=(this.l&256)!==0,a.clipInsteadOfFill&&(Te=!1),this instanceof oa&&(a.font=this.font),Te){if(en=re.se()?re.naturalBounds:re.actualBounds,Ti=Math.max(ne.x,en.x),qn=Math.max(ne.y,en.y),Se=Math.min(ne.right,en.right)-Ti,Ne=Math.min(ne.bottom,en.bottom)-qn,Be=this.tb,Be!==null&&(Ti=Be.x,qn=Be.y,Se=Be.width,Ne=Be.height),Ti>ne.width+ne.x||ne.x>en.width+en.x){E!==1&&(a.globalAlpha=x),this.filter!==""&&(a.filter=b);return}a.save(),a.beginPath(),a.rect(Ti,qn,Se,Ne),a.clip()}if(fe){if(!he.isVisible()){E!==1&&(a.globalAlpha=x),this.filter!==""&&(a.filter=b);return}oe&&(en=he.shadowOffset,a.Ev(en.x*y.scale*this.scale*y.Mb,en.y*y.scale*this.scale*y.Mb,he.shadowBlur),Ed(a),a.shadowColor=he.shadowColor)}oe&&this.shadowVisible===!0?Ed(a):oe&&this.shadowVisible===!1&&ed(a),he=this.naturalBounds,this.areaBackground!==null&&(a.yc(),Cu(this,a,he,ne)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),oe&&Hs(this,re)&&this.shadowVisible===null&&ed(a),this.Ma!==null&&(a.yc(),eu(this,a,he,ne)),oe&&(this.Ma!==null||this.areaBackground!==null||Hs(this,re))?(gc(this,!0),this.shadowVisible===null&&ed(a)):gc(this,!1),this.hh(a,y),oe&&this.l&512&&Ed(a),fe&&oe&&ed(a),Te&&(a.restore(),a.Vc(this instanceof Yn)),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)))}}E!==1&&(a.globalAlpha=x),this.filter!==""&&(a.filter=b)}}};function Hs(a,y){return y===null?!1:(zd(y)&&(y=y.panel),(y.l&512)!==0||(y.type===Yn.Auto||y.type===Yn.Spot)&&y.Pb()!==a)}Ie.Dv=function(){};function Cu(a,y,E,x){Ja(a,y,a.areaBackground,!0,!0,E,x),a.areaBackground instanceof Oo&&a.areaBackground.type===Hu?(y.beginPath(),y.rect(x.x,x.y,x.width,x.height),y.ng(a.areaBackground)):y.fillRect(x.x,x.y,x.width,x.height)}function eu(a,y,E,x){var b=a.kq(),z=E.x,ne=E.y,re=E.width+b,oe=E.height+b;Ja(a,y,a.Ma,!0,!1,E,x),a.Ma instanceof Oo&&a.Ma.type===Hu?(y.beginPath(),y.rect(z-b/2,ne-b/2,re,oe),y.ng(a.Ma)):y.fillRect(z-b/2,ne-b/2,re,oe)}function ul(a,y,E){for(var x=y.O.s,b=x.length,z=-1,ne=0;ne<b;ne++)if(x[ne]===a){z=ne;break}if(a=z,a!==-1)if(a===0)y.svg.gd?y.svg.gd.after(E):y.svg.Ma?y.svg.Ma.after(E):y.type===Yn.Table?(y=y.svg.getElementsByClassName("gojs-ts"),y=y.length!==0?y[0]:null,y!==null&&y.after(E)):y.svg.prepend(E);else{for(;a!==0&&!y.M(a-1).Ed();)a--;a===0?y.svg.prepend(E):(a=y.M(a-1).svg,a!==null?a.after(E):y.svg.appendChild(E))}}function Bu(a,y,E){if(!(y instanceof uu))return!1;if(!a.visible||a.opacity===0||a.Dd()&&!a.isVisible())return a.svg!==null&&a.svg.parentNode!==null&&a.svg.remove(),!0;var x=a.panel,b=a.nk(y);if(a.kk(y,E,b))return a.svg.parentElement!==null?(a.Dd()&&(y.ti=a.svg),!0):(a.Dd()?(y.ti!==null?y.ti.after(a.svg):y.Nj.prepend(a.svg),y.ti=a.svg):x&&ul(a,x,a.svg),!0);if(a.Dd()&&a.isShadowed){var z=a.shadowOffset;y.Ev(z.x*E.scale*a.scale*E.Mb,z.y*E.scale*a.scale*E.Mb,a.shadowBlur),Ed(y),y.shadowColor=a.shadowColor}a instanceof oa&&(y.font=a.font),y.yd=null;var ne=a.transform;z=a instanceof Yn;var re=a instanceof Yn?zd(a):!1;a.l&4096&&js(a);var oe=a.Ib;if(y.rb.ha=[1,0,0,1,0,0],y.o=!1,b&&(y.o=!0,z&&re?(cp(y,1,0,0,1,0,0),a.svg=y.ad):z?(cp(y,ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy),a.svg=y.ad):cp(y,1,0,0,1,0,0)),b=a.naturalBounds,a.areaBackground!==null){var he=ne.copy().Vj();y.rb.ha=[he.m11,he.m12,he.m21,he.m22,he.dx,he.dy],Cu(a,y,b,oe),y.rb.ha=[1,0,0,1,0,0],y.yd.gd=y.ad,y.yd.prepend(y.ad)}return z||(y.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy]),a.background!==null&&(z?(re&&(y.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy]),eu(a,y,b,oe),re&&(y.rb.ha=[1,0,0,1,0,0])):(y.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy],eu(a,y,b,oe)),y.yd.Ma=y.ad,y.yd.prepend(y.ad)),ne=y.yd,b=a.part,re=!1,b&&E.Gf("drawShadows")&&(re=b.isShadowed),y.clipInsteadOfFill&&(re=!1),a.Dd()&&re&&Ed(y),re&&a.shadowVisible===!0?Ed(y):re&&a.shadowVisible===!1&&ed(y),b=a.panel,re&&Hs(a,b)&&a.shadowVisible===null&&ed(y),y.Il&&(he=E.computePixelRatio(),he="drop-shadow("+y.shadowOffsetX/he+"px "+y.shadowOffsetY/he+"px "+y.shadowBlur/he/2+"px "+y.shadowColor+")",a.background!==null&&ne.Ma.setAttributeNS(null,"filter",he),a.areaBackground!==null&&ne.gd.setAttributeNS(null,"filter",he)),re&&(a.Ma!==null||a.areaBackground!==null||Hs(a,b))?(gc(a,!0),a.shadowVisible===null&&ed(y)):gc(a,!1),b=re,a.hh(y,E),z&&y.nh.pop(),y.o&&y.nh.pop(),ne=y.Gv.hs,re=z?a.svg:y.yd,he=a.svg,!z&&he!==null&&re!==he&&he.parentNode===a.panel.svg?(a.svg.replaceWith(re),a.svg=re,re!==null&&a.$o(y,x,oe,re),zl(y,he),!0):(a.svg=re,ne!==null&&re===null&&(pm(y),y.nh.pop()),re===null||(a.$o(y,x,oe,re),y.Il&&(E=E.computePixelRatio(),a.Dv(re,"drop-shadow("+y.shadowOffsetX/E+"px "+y.shadowOffsetY/E+"px "+y.shadowBlur/E/2+"px "+y.shadowColor+")")),b&&a.l&512&&Ed(y),a.Dd()&&ed(y),E=a.Dd()?a.opacity*y.globalAlpha:a.opacity,E!==1&&re.setAttributeNS(null,"opacity",E.toString()),a.filter!==""&&re.setAttributeNS(null,"filter",a.filter),a.Dd()?(y.ti?y.ti.after(re):y.Nj.prepend(re),y.ti=re):x!==null&&ul(a,x,re),ne!==null&&ne(a,re)),!0)}Ie.$o=function(a,y,E,x){var b=(this.l&256)!==0;if(a.clipInsteadOfFill&&(b=!1),b){var z=y.se()?y.naturalBounds:y.actualBounds;y=Math.max(E.x,z.x),b=Math.max(E.y,z.y);var ne=Math.min(E.right,z.right)-y;E=Math.min(E.bottom,z.bottom)-b,z=this.tb,z!==null&&(y=z.x,b=z.y,ne=z.width,E=z.height),z=x.getAttribute("clip-path");var re=null;z!==null&&(re=a.svg.getElementById(z.split("#")[1].slice(0,-1))),re===null?(z="CLIP"+Ft++,re=a.Ud("clipPath",{id:z}),y=a.Ud("rect",{x:y,y:b,width:ne,height:E}),this instanceof Yn&&(b=this.transform.copy().Vj(),y.setAttribute("transform","matrix("+b.m11+", "+b.m12+", "+b.m21+", "+b.m22+", "+b.dx+", "+b.dy+")")),re.appendChild(y),a.svg.appendChild(re),x.setAttributeNS(null,"clip-path","url(#"+z+")")):(a=re.firstElementChild,a.setAttribute("x",y.toString()),a.setAttribute("y",b.toString()),a.setAttribute("width",ne.toString()),a.setAttribute("height",E.toString()))}else x.removeAttributeNS(null,"clip-path"),zl(a,x)};function zl(a,y){y=y.getAttribute("clip-path"),y!==null&&(a=a.svg.getElementById(y.split("#")[1].slice(0,-1)),a!==null&&a.remove())}function cl(a){if(a.svg!==null){var y=a.svg.innerHTML.match(/url\(#((CLIP|GRAD).+?)\)/g),E=a.svg.ownerDocument;if(y!==null){y=Kn(y);for(var x=y.next();!x.done;x=y.next())x=E.getElementById(x.value.split("#")[1].slice(0,-1)),x!==null&&x.remove()}a.svg.remove()}}Ie.hh=function(){},Ie.lv=function(){this.Uc=!0},Ie.kk=function(a,y,E){if(this.Uc)return this.lv(),this.Uc=!1;if(y=this.svg,y===null)return!1;if(!this.visible)return y.remove(),!1;if(y.nodeName!=="g"&&E||y.nodeName==="g"&&!E)return!1;var x=this.transform,b=this instanceof Yn?zd(this):!1;if(!(this instanceof Yn&&b))if(this instanceof Wl){var z=this.bt;a.rb.ha=[x.m11,x.m12,x.m21,x.m22,x.dx,x.dy],z!==null&&qy(a,z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7]),E?y.lastElementChild.setAttributeNS(null,"transform",$y(a)):y.setAttributeNS(null,"transform",$y(a))}else if(!E||this instanceof Yn)y.setAttributeNS(null,"transform","matrix("+x.m11+", "+x.m12+", "+x.m21+", "+x.m22+", "+x.dx+", "+x.dy+")");else if(this instanceof kr){z=y.getElementsByTagName("path");for(var ne=0;ne<z.length;ne++)z[ne].setAttributeNS(null,"transform","matrix("+x.m11+", "+x.m12+", "+x.m21+", "+x.m22+", "+x.dx+", "+x.dy+")")}else y.lastElementChild.setAttributeNS(null,"transform","matrix("+x.m11+", "+x.m12+", "+x.m21+", "+x.m22+", "+x.dx+", "+x.dy+")");return z=this.Dd()?this.opacity*a.globalAlpha:this.opacity,z===1?y.removeAttribute("opacity"):y.setAttributeNS(null,"opacity",z.toString()),a.rb.ha=[1,0,0,1,0,0],(this.areaBackground!==null||y.gd!==void 0)&&(z=y.gd,this.areaBackground===null?(y.gd.remove(),y.gd=void 0):(ne=x.copy().Vj(),a.rb.ha=[ne.m11,ne.m12,ne.m21,ne.m22,ne.dx,ne.dy],Cu(this,a,this.naturalBounds,this.actualBounds),a.rb.ha=[1,0,0,1,0,0],y.gd?(ne=y.gd.getAttribute("filter"),ne!==null&&a.ad.setAttribute("filter",ne),y.gd.replaceWith(a.ad)):y.prepend(a.ad),y.gd=a.ad),z&&mm(a,z)),(this.background!==null||y.Ma!==void 0)&&(z=y.Ma,this.background===null?(mm(a,y.Ma),y.Ma.remove(),y.Ma=void 0):((b||E&&!(this instanceof Yn))&&(a.rb.ha=[x.m11,x.m12,x.m21,x.m22,x.dx,x.dy]),eu(this,a,this.naturalBounds,this.actualBounds),y.Ma?(mm(a,y.Ma),E=y.Ma.getAttribute("filter"),E!==null&&a.ad.setAttribute("filter",E),y.Ma.replaceWith(a.ad)):y.prepend(a.ad),y.Ma=a.ad),z&&mm(a,z)),this.$o(a,this.panel,this.actualBounds,y),!0},Ie.nk=function(a){if(this.background!==null||this.areaBackground!==null)return!0;var y=(this.l&256)!==0;return a.clipInsteadOfFill&&(y=!1),!!y};function Ja(a,y,E,x,b,z,ne){if(E!==null){var re=1,oe=1;if(typeof E=="string")x?y.fillStyle=E:y.strokeStyle=E;else if(E.type===Hd)x?y.fillStyle=E.color:y.strokeStyle=E.color;else{var he=a.kq();if(re=z.width,oe=z.height,b?(re=ne.width,oe=ne.height):x||(re+=he,oe+=he),(z=y instanceof Jh)&&E.xe&&(E.type===dg||E.yk===re&&E.ft===oe))var fe=E.xe;else{var Se=0,Te=0,Ne=0,Be=0,We=0,vt=0;if(vt=We=0,b?(We=ne.x,vt=ne.y):x||(We-=he/2,vt-=he/2),Se=E.start.x*re+E.start.offsetX,Te=E.start.y*oe+E.start.offsetY,Ne=E.end.x*re+E.end.offsetX,Be=E.end.y*oe+E.end.offsetY,Se+=We,Ne+=We,Te+=vt,Be+=vt,E.type===bd)fe=y.createLinearGradient(Se,Te,Ne,Be);else if(E.type===Hu)vt=isNaN(E.endRadius)?Math.max(re,oe)/2:E.endRadius,isNaN(E.startRadius)?(We=0,vt=Math.max(re,oe)/2):We=E.startRadius,fe=y.createRadialGradient(Se,Te,We,Ne,Be,vt);else if(E.type===dg)try{fe=y.createPattern(E.pattern,"repeat")}catch(wt){fe=null}if(E.type!==dg&&(b=E.colorStops,b!==null))for(b=b.iterator;b.next();)fe.addColorStop(b.key,b.value);if(z&&(E.xe=fe,fe!==null&&(E.yk=re,E.ft=oe),fe===null&&E.type===dg&&E.yk!==-1)){E.yk=-1;var ct=a.diagram;ct!==null&&E.yk===-1&&ir(function(){ct.redraw()},600)}}x?y.fillStyle=fe:y.strokeStyle=fe}}}Ie.rg=function(a){if(a instanceof Yn)e:{if(this!==a&&a!==null)for(var y=this.panel;y!==null;){if(y===a){a=!0;break e}y=y.panel}a=!1}else a=!1;return a},Ie.Ed=function(){if(!this.visible)return!1;var a=this.panel;return a!==null?a.Ed():!0},Ie.If=function(){for(var a=this instanceof Yn?this:this.panel;a!==null&&a.isEnabled;)a=a.panel;return a===null};function js(a){if(a.l&2048){var y=a.Ab;if(y.reset(),!a.Ib.w()||!a.uc.w()){$u(a,!1);return}if(y.translate(a.Ib.x-a.uc.x,a.Ib.y-a.uc.y),a.scale!==1||a.angle!==0){var E=a.naturalBounds;a.no(y,E.x,E.y,E.width,E.height)}$u(a,!1),_u(a,!0)}a.l&4096&&(y=a.panel,y===null?(a.wh.set(a.Ab),a.Kk=a.scale,_u(a,!1)):y.oe!==null&&(E=a.wh,E.reset(),y.se()?E.multiply(y.wh):y.panel!==null&&E.multiply(y.panel.wh),E.multiply(a.Ab),a.Kk=a.scale*y.Kk,_u(a,!1)))}Ie.no=function(a,y,E,x,b){if(this.Ca!==1&&a.scale(this.Ca),this.Kb!==0){var z=st.alloc();z.yi(y,E,x,b,Yr),a.rotate(this.Kb,z.x,z.y),st.free(z)}},Ie.v=function(a){if(!Tu(this)){a===void 0&&(a=!1),Es(this,!0),$c(this,!0);var y=this.panel;y===null||a||y.v()}},Ie.Uj=function(){Tu(this)||(Es(this,!0),$c(this,!0))};function Tl(a){if(!Al(a)){var y=a.panel;y!==null?y.v():a.Dd()&&(y=a.diagram,y!==null&&(y.De.add(a),a instanceof yi&&a.Bd(),y.$b())),$c(a,!0)}}Ie.Uk=function(){!(this.l&2048)&&($u(this,!0),_u(this,!0))},Ie.Wu=function(){_u(this,!0)},Ie.N=function(){var a=this.part;a!==null&&a.N()};function jl(a,y){var E=a.stretch,x=a.panel;return x!==null&&x.type===Yn.Table?Ac(a,x.Fb(a.row),x.Eb(a.column),y):x!==null&&x.type===Yn.Auto&&x.Pb()===a?zs(a,zn,y):E===Ar?x!==null?x.type===Yn.Spot&&x.Pb()===a?zs(a,zn,y):(E=x.defaultStretch,E===Ar?zs(a,Rn,y):zs(a,E,y)):zs(a,Rn,y):zs(a,E,y)}function Ac(a,y,E,x){var b=a.stretch;if(b!==Ar)return zs(a,b,x);var z=b=null;switch(y.stretch){case nr:z=!0;break;case zn:z=!0}switch(E.stretch){case Ui:b=!0;break;case zn:b=!0}return y=a.panel.defaultStretch,b===null&&(b=y===Ui||y===zn),z===null&&(z=y===nr||y===zn),b===!0&&z===!0?zs(a,zn,x):b===!0?zs(a,Ui,x):z===!0?zs(a,nr,x):zs(a,Rn,x)}function zs(a,y,E){if(E)return y;if(y===Rn||(E=a.desiredSize,E.w()))return Rn;if(a=a.angle,!isNaN(E.width))if(a!==90&&a!==270){if(y===Ui)return Rn;if(y===zn)return nr}else{if(y===nr)return Rn;if(y===zn)return Ui}if(!isNaN(E.height))if(a!==90&&a!==270){if(y===nr)return Rn;if(y===zn)return Ui}else{if(y===Ui)return Rn;if(y===zn)return nr}return y}function gc(a,y){a.l=y?a.l|512:a.l&-513}function Ys(a){return(a.l&1024)!==0}function Cf(a,y){a.l=y?a.l|1024:a.l&-1025}function $u(a,y){a.l=y?a.l|2048:a.l&-2049}function _u(a,y){a.l=y?a.l|4096:a.l&-4097}function Tu(a){return(a.l&8192)!==0}function Es(a,y){a.l=y?a.l|8192:a.l&-8193}function Al(a){return(a.l&16384)!==0}function $c(a,y){a.l=y?a.l|16384:a.l&-16385}Ie.Gj=function(){this.svg=null},Ie.wi=function(a){this.Me=a,this.svg!==null&&this.svg.remove()},Ie.Av=function(){},Ie.zv=function(a){return this.pa=a,Tl(this),!0},Ie.mm=function(a,y){(this.pa.x!==a||this.pa.y!==y)&&(this.pa.h(a,y),this.Uk())},Ie.kq=function(){return 0};function Xh(a){var y=a.part;if(y instanceof yi&&(a.portId!==null||a===y.port)){var E=y.diagram;E===null||E.undoManager.isUndoingRedoing||KS(y,a)}}function Qy(a){var y=a.diagram;y===null||y.undoManager.isUndoingRedoing||(a instanceof Yn?a instanceof yi?a.Bd():a.qm(a,function(E){Xh(E)}):Xh(a))}Ie.bind=function(a,y,E,x){var b=null;return typeof a=="string"?b=new cs(a,y,E,x):b=a,b.xd=this,a=this.ih(),a!==null&&pS(a)&&tn("Cannot add a Binding to a template that has already been copied: "+b),this.localBindings===null&&(this.localBindings=new Qn),this.localBindings.add(b),this},Ie.set=function(a){return Object.assign(this,a),this},Ie.Du=function(a){return ov(this,a),this},Ie.apply=function(a){return a(this),this},Ie.nm=function(a){return zh(this,a),this},Ie.pz=function(){return this.ih()},Ie.ih=function(){for(var a=this instanceof Yn?this:this.panel;a!==null;){if(a.allBindings!==null)return a;a=a.panel}return null},Ie.Jv=function(a){return a.xd=this,this.animationTriggers===null&&(this.animationTriggers=new Fn),this.animationTriggers.add(a.propertyName,a),this};function Uu(a,y){for(var E=1;E<arguments.length;++E);E=arguments;var x=null,b=null;if(typeof a=="function")b=a;else if(typeof a=="string"){var z=og.I(a);typeof z=="function"?(E=ao(arguments),x=z(E),jn(x)||tn('GraphObject.make invoked object builder "'+a+'", but it did not return an Object')):b=sn.go[a]}if(x===null&&(b!=null&&b.constructor||tn("GraphObject.make requires a class function or GoJS class name or name of an object builder, not: "+a),x=new b),b=1,x instanceof qt&&1<E.length){z=x;var ne=E[1];(typeof ne=="string"||ne instanceof HTMLDivElement)&&(Fh(z,ne),b++)}for(;b<E.length;b++)z=E[b],z===void 0?tn("Undefined value at argument "+b+" for object being constructed by GraphObject.make: "+x):ov(x,z);return x}function ov(a,y){if(typeof y=="string")if(a instanceof oa)a.text=y;else if(a instanceof kr)a.figure=y;else if(a instanceof Wl)a.source=y;else if(a instanceof Yn)y=pc.I(y),y!==null&&(a.type=y);else if(a instanceof Oo){var E=pr(Oo,y);E!==null?a.type=E:tn("Unknown Brush type as an argument to GraphObject.make: "+y)}else a instanceof Jn?(y=pr(Jn,y),y!==null&&(a.type=y)):a instanceof eo&&(y=pr(eo,y),y!==null&&(a.type=y));else if(y instanceof Ut)a instanceof Yn||tn("A GraphObject can only be added to a Panel, not to: "+a),a.add(y);else if(y instanceof xs){var x;y.isRow&&typeof a.getRowDefinition=="function"?x=a.getRowDefinition(y.index):y.isRow||typeof a.getColumnDefinition!="function"||(x=a.getColumnDefinition(y.index)),x instanceof xs?Mm(x,y):tn("A RowColumnDefinition can only be added to an object that implements getRowDefinition/getColumnDefinition, not to: "+a)}else if(y instanceof nn)typeof a.qb=="function"&&a.qb(y);else if(y instanceof Cs)a.type=y;else if(y instanceof cs)a instanceof Ut||a instanceof xs?a.bind(y):tn("A Binding can only be applied to a GraphObject or RowColumnDefinition, not to: "+a);else if(y instanceof su)a instanceof Ut?a.Jv(y):tn("An AnimationTrigger can only be applied to a GraphObject, not to: "+a);else if(y instanceof _a)a instanceof Jn&&a.type===Jn.o?a.figures.add(y):tn("A PathFigure can only be added to a Path Geometry, not to: "+a);else if(y instanceof eo)a instanceof _a?a.segments.add(y):tn("A PathSegment can only be added to a PathFigure, not to: "+a);else if(y instanceof Aa)a instanceof qt||a instanceof Cr?a.layout=y:tn("A Layout can only be assigned to a Diagram or a Group, not to: "+a);else if(Array.isArray(y))for(E=0;E<y.length;E++)ov(a,y[E]);else if(typeof y=="object"&&y!==null)if(a instanceof Oo){E=new vr;for(var b in y)x=parseFloat(b),isNaN(x)?E[b]=y[b]:a.addColorStop(x,y[b]);zh(a,E)}else if(a instanceof xs){y.row!==void 0?(b=y.row,(b==null||b===1/0||isNaN(b)||0>b)&&tn("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+b),a.isRow=!0,a.index=b):y.column!==void 0&&(b=y.column,(b==null||b===1/0||isNaN(b)||0>b)&&tn("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+b),a.isRow=!1,a.index=b),b=new vr;for(E in y)E!=="row"&&E!=="column"&&(b[E]=y[E]);zh(a,b)}else zh(a,y);else tn('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function Ud(a,y){og.add(a,y)}function gm(a,y,E){E===void 0&&(E=null);var x=a[1];if(typeof E=="function"?E(x):typeof x=="string")return a.splice(1,1),x;if(y===void 0)throw Error("no "+(typeof E=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}bn.Object.defineProperties(Ut.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new Tf),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 Tf),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 Tf),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(Mr(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&&(Mr(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Ll},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new gh),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Ll&&(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 gh),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:1<a&&(a=1);var y=this.segmentFraction;y!==a&&(this.Ua===null&&(this.Ua=new gh),this.Ua.o=a,this.v(),this.g("segmentFraction",y,a))}},segmentOffset:{get:function(){return this.Ua!==null?this.Ua.F:br},set:function(a){var y=this.segmentOffset;y.D(a)||(a=a.J(),this.Ua===null&&(this.Ua=new gh),this.Ua.F=a,this.v(),this.g("segmentOffset",y,a))}},stretch:{get:function(){return this.A!==null?this.A.hg:Ar},set:function(a){var y=this.stretch;y!==a&&(Mr(this),this.A.hg=a,this.v(),this.g("stretch",y,a))}},name:{get:function(){return this.A!==null?this.A.xa:""},set:function(a){var y=this.name;y!==a&&(Mr(this),this.A.xa=a,this.part!==null&&(this.part.Rh=null),this.g("name",y,a))}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1<a)&&lr(a,"0 <= value <= 1",Ut,"opacity"),this.pb=a,this.g("opacity",y,a),a=this.diagram,y=this.part,a!==null&&y!==null&&a.N(tf(y,y.actualBounds)))}},filter:{get:function(){return this.bn},set:function(a){var y=this.bn;y!==a&&(this.bn=a,this.Uc=!0,this.g("filter",y,a),a=this.diagram,y=this.part,a!==null&&y!==null&&a.N(tf(y,y.actualBounds)))}},visible:{get:function(){return(this.l&1)!==0},set:function(a){var y=(this.l&1)!==0;y!==a&&(this.l^=1,this.g("visible",y,a),y=this.panel,y!==null?y.v():this.Dd()&&this.Zb(a),this.N(),Qy(this))}},pickable:{get:function(){return(this.l&2)!==0},set:function(a){var y=(this.l&2)!==0;y!==a&&(this.l^=2,this.g("pickable",y,a))}},fromLinkableDuplicates:{get:function(){return(this.l&4)!==0},set:function(a){var y=(this.l&4)!==0;y!==a&&(this.l^=4,this.g("fromLinkableDuplicates",y,a))}},fromLinkableSelfNode:{get:function(){return(this.l&8)!==0},set:function(a){var y=(this.l&8)!==0;y!==a&&(this.l^=8,this.g("fromLinkableSelfNode",y,a))}},toLinkableDuplicates:{get:function(){return(this.l&16)!==0},set:function(a){var y=(this.l&16)!==0;y!==a&&(this.l^=16,this.g("toLinkableDuplicates",y,a))}},toLinkableSelfNode:{get:function(){return(this.l&32)!==0},set:function(a){var y=(this.l&32)!==0;y!==a&&(this.l^=32,this.g("toLinkableSelfNode",y,a))}},isPanelMain:{get:function(){return(this.l&64)!==0},set:function(a){var y=(this.l&64)!==0;y!==a&&(this.l^=64,this.v(),this.g("isPanelMain",y,a))}},isActionable:{get:function(){return(this.l&128)!==0},set:function(a){var y=(this.l&128)!==0;y!==a&&(this.l^=128,this.g("isActionable",y,a))}},areaBackground:{get:function(){return this.A!==null?this.A.gd:null},set:function(a){var y=this.areaBackground;y!==a&&(a!==null&&Pf(a,"GraphObject.areaBackground"),a instanceof Oo&&a.freeze(),Mr(this),this.A.gd=a,this.N(),this.g("areaBackground",y,a))}},background:{get:function(){return this.Ma},set:function(a){var y=this.Ma;y!==a&&(a!==null&&Pf(a,"GraphObject.background"),a instanceof Oo&&a.freeze(),this.Ma=a,this.N(),this.g("background",y,a))}},part:{get:function(){if(this.Dd())return this;if(this.Ng!==null)return this.Ng;var a;for(a=this.panel;a;){if(a instanceof Ki)return this.Ng=a;a=a.panel}return null}},svg:{get:function(){return this.V},set:function(a){this.V=a}},panel:{get:function(){return this.Me}},layer:{get:function(){var a=this.part;return a!==null?a.layer:null}},diagram:{get:function(){var a=this.part;return a!==null?a.diagram:null}},position:{get:function(){return this.pa},set:function(a){var y=a.x,E=a.y,x=this.pa,b=x.x;x=x.y,(b===y||isNaN(b)&&isNaN(y))&&(x===E||isNaN(x)&&isNaN(E))?this.Av():(a=a.copy(),this.zv(a,b,x)&&this.g("position",new st(b,x),a))}},actualBounds:{get:function(){return this.Ib}},scale:{get:function(){return this.Ca},set:function(a){var y=this.Ca;y!==a&&(0>=a&&tn("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,Qy(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,E=a.height,x=this.jd,b=x.width,z=x.height;(b===y||isNaN(b)&&isNaN(y))&&(z===E||isNaN(z)&&isNaN(E))||(this.jd=a=a.J(),this.v(),this instanceof kr&&this.qc(),this.g("desiredSize",x,a),Ys(this)&&(a=this.part,a!==null&&(ma(this,a,"width"),ma(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 fn(a,this.jd.height).freeze(),this.v(),this instanceof kr&&this.qc(),this.g("desiredSize",y,a),Ys(this)&&(a=this.part,a!==null&&ma(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 fn(this.jd.width,a).freeze(),this.v(),this instanceof kr&&this.qc(),this.g("desiredSize",y,a),Ys(this)&&(a=this.part,a!==null&&ma(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:$i},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(),Mr(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:yo},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(),Mr(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 Zi(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&&js(this),this.Ab}},oe:{get:function(){return this.l&4096&&js(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(Mr(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:Rn},set:function(a){this.reshapingBehavior!==a&&(Mr(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()&&tn("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),Tl(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&&lr(a,">= 0",Ut,"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&&lr(a,">= 1",Ut,"columnSpan"),Mr(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&&lr(a,">= 0",Ut,"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&&lr(a,">= 1",Ut,"rowSpan"),Mr(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&&(Mr(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 E=this.part;E===null||E instanceof yi||tn("Cannot set portID on a Link: "+a),y!==null&&E!==null&&Vv(E,this),this.Yn=a,a!==null&&E!==null&&(E.Te=!0,QS(E,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:pa},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),Xh(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&lr(a,">= 0",Ut,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),Xh(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),Xh(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&&lr(a,">= 0",Ut,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:pa},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),Xh(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&lr(a,">= 0",Ut,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),Xh(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),Xh(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&&lr(a,">= 0",Ut,"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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(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&&(Mr(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Ut.prototype.trigger=Ut.prototype.Jv,Ut.prototype.findBindingPanel=Ut.prototype.ih,Ut.prototype.findTemplateBinder=Ut.prototype.pz,Ut.prototype.setProperties=Ut.prototype.nm,Ut.prototype.apply=Ut.prototype.apply,Ut.prototype.attach=Ut.prototype.Du,Ut.prototype.set=Ut.prototype.set,Ut.prototype.isEnabledObject=Ut.prototype.If,Ut.prototype.isVisibleObject=Ut.prototype.Ed,Ut.prototype.isContainedBy=Ut.prototype.rg,Ut.prototype.getNearestIntersectionPoint=Ut.prototype.rs,Ut.prototype.getLocalPoint=Ut.prototype.qs,Ut.prototype.getDocumentScale=Ut.prototype.Df,Ut.prototype.getDocumentAngle=Ut.prototype.li,Ut.prototype.getDocumentBounds=Ut.prototype.mi,Ut.prototype.getDocumentPoint=Ut.prototype.ga,Ut.prototype.intersectsRect=Ut.prototype.Yc,Ut.prototype.containedInRect=Ut.prototype.fh,Ut.prototype.containsRect=Ut.prototype.Re,Ut.prototype.containsPoint=Ut.prototype.ca,Ut.prototype.raiseChanged=Ut.prototype.g,Ut.prototype.raiseChangedEvent=Ut.prototype.cb,Ut.prototype.addCopyProperty=Ut.prototype.Vw;var og=null;Ut.className="GraphObject",og=new Fn,Ud("Button",function(){function a(E,x){return E.diagram.ic(E.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b},function(b){return b===x})!==null}var y=Uu(Yn,Yn.Auto,{isActionable:!0,enabledChanged:function(E,x){if(E instanceof Yn){var b=E.fb("ButtonBorder");b!==null&&(b.fill=x?E._buttonFillNormal:E._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},Uu(kr,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new wi(0,0,2.76142374915397,2.761423749153969),spot2:new wi(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(E,x){if(x.If()&&x instanceof Yn&&(E=x.fb("ButtonBorder"),E instanceof kr)){var b=x._buttonFillOver;x._buttonFillNormal=E.fill,E.fill=b,b=x._buttonStrokeOver,x._buttonStrokeNormal=E.stroke,E.stroke=b}},y.mouseLeave=function(E,x){x.If()&&x instanceof Yn&&(E=x.fb("ButtonBorder"),E instanceof kr&&(E.fill=x._buttonFillNormal,E.stroke=x._buttonStrokeNormal))},y.actionDown=function(E,x){if(x.If()&&x instanceof Yn&&x._buttonFillPressed!==null&&E.button===0){var b=x.fb("ButtonBorder");if(b instanceof kr){E=E.diagram;var z=E.skipsUndoManager;E.skipsUndoManager=!0;var ne=x._buttonFillPressed;x._buttonFillOver=b.fill,b.fill=ne,ne=x._buttonStrokePressed,x._buttonStrokeOver=b.stroke,b.stroke=ne,E.skipsUndoManager=z}}},y.actionUp=function(E,x){if(x.If()&&x instanceof Yn&&x._buttonFillPressed!==null&&E.button===0){var b=x.fb("ButtonBorder");if(b instanceof kr){var z=E.diagram,ne=z.skipsUndoManager;z.skipsUndoManager=!0,a(E,x)?(b.fill=x._buttonFillOver,b.stroke=x._buttonStrokeOver):(b.fill=x._buttonFillNormal,b.stroke=x._buttonStrokeNormal),z.skipsUndoManager=ne}}},y.actionCancel=function(E,x){if(x.If()&&x instanceof Yn&&x._buttonFillPressed!==null){var b=x.fb("ButtonBorder");if(b instanceof kr){var z=E.diagram,ne=z.skipsUndoManager;z.skipsUndoManager=!0,a(E,x)?(b.fill=x._buttonFillOver,b.stroke=x._buttonStrokeOver):(b.fill=x._buttonFillNormal,b.stroke=x._buttonStrokeNormal),z.skipsUndoManager=ne}}},y.actionMove=function(E,x){if(x.If()&&x instanceof Yn&&x._buttonFillPressed!==null){var b=E.diagram;if(b.firstInput.button===0&&(b.currentTool.standardMouseOver(),a(E,x)&&(E=x.fb("ButtonBorder"),E instanceof kr))){var z=b.skipsUndoManager;b.skipsUndoManager=!0;var ne=x._buttonFillPressed;E.fill!==ne&&(E.fill=ne),ne=x._buttonStrokePressed,E.stroke!==ne&&(E.stroke=ne),b.skipsUndoManager=z}}},y}),Ud("TreeExpanderButton",function(){var a=Uu("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},Uu(kr,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:io},new cs("figure","isTreeExpanded",function(y,E){return E=E.panel,y?E._treeExpandedFigure:E._treeCollapsedFigure}).cp()),{visible:!1},new cs("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,E){if(E=E.part,E instanceof Eo&&(E=E.adornedPart),E instanceof yi){var x=E.diagram;if(x!==null){if(x=x.commandHandler,E.isTreeExpanded){if(!x.canCollapseTree(E))return}else if(!x.canExpandTree(E))return;y.handled=!0,E.isTreeExpanded?x.collapseTree(E):x.expandTree(E)}}},a}),Ud("SubGraphExpanderButton",function(){var a=Uu("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},Uu(kr,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:io},new cs("figure","isSubGraphExpanded",function(y,E){return E=E.panel,y?E._subGraphExpandedFigure:E._subGraphCollapsedFigure}).cp()));return a.click=function(y,E){if(E=E.part,E instanceof Eo&&(E=E.adornedPart),E instanceof Cr){var x=E.diagram;if(x!==null){if(x=x.commandHandler,E.isSubGraphExpanded){if(!x.canCollapseSubGraph(E))return}else if(!x.canExpandSubGraph(E))return;y.handled=!0,E.isSubGraphExpanded?x.collapseSubGraph(E):x.expandSubGraph(E)}}},a}),Ud("ToolTip",function(){return Uu(Eo,Yn.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new st(0,3),shadowBlur:5},Uu(kr,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new wi(0,0,4,6),spot2:new wi(1,1,-4,-4)}))}),Ud("ContextMenu",function(){return Uu(Eo,Yn.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new st(0,3),shadowBlur:5},new cs("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),Ud("ContextMenuButton",function(){var a=Uu("Button");a.stretch=Ui;var y=a.fb("ButtonBorder");return y instanceof kr&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new wi(0,0,2,3),y.spot2=new wi(1,1,-2,-2)),a}),Ud("PanelExpanderButton",function(a){var y=gm(a,"COLLAPSIBLE"),E=Uu("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},Uu(kr,{name:"ButtonIcon",strokeWidth:2},new cs("geometryString","visible",function(x){return x?E._buttonExpandedFigure:E._buttonCollapsedFigure}).cp(y)));return a=E.fb("ButtonBorder"),a instanceof kr&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),E.click=function(x,b){var z=b.diagram;if(z!==null&&!z.isReadOnly){var ne=b.ih();ne===null&&(ne=b.part),ne!==null&&(b=ne.fb(y),b!==null&&(x.handled=!0,z.Ea("Collapse/Expand Panel"),b.visible=!b.visible,z.eb("Collapse/Expand Panel")))}},E}),Ud("CheckBoxButton",function(a){var y=gm(a);return a=Uu("Button",{desiredSize:new fn(14,14)},Uu(kr,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:zn,geometryStretch:Bi,visible:!1},y!==""?new cs("visible",y).Kx():[])),a.click=function(E,x){if(x instanceof Yn){var b=E.diagram;if(!(b===null||b.isReadOnly||y!==""&&b.model.isReadOnly)){E.handled=!0;var z=x.fb("ButtonIcon");b.Ea("checkbox"),z.visible=!z.visible,typeof x._doClick=="function"&&x._doClick(E,x),b.eb("checkbox")}}},a}),Ud("CheckBox",function(a){a=gm(a),a=Uu("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new Zi(0,1,0,0)});var y=Uu(Yn,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new Zi(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}),Ut.None=Rn=new nn(Ut,"None",0),Ut.Default=Ar=new nn(Ut,"Default",0),Ut.Vertical=nr=new nn(Ut,"Vertical",4),Ut.Horizontal=Ui=new nn(Ut,"Horizontal",5),Ut.Fill=zn=new nn(Ut,"Fill",3),Ut.Uniform=Bi=new nn(Ut,"Uniform",1),Ut.UniformToFill=Qr=new nn(Ut,"UniformToFill",2),Ut.FlipVertical=Dr=new nn(Ut,"FlipVertical",1),Ut.FlipHorizontal=fo=new nn(Ut,"FlipHorizontal",2),Ut.FlipBoth=zo=new nn(Ut,"FlipBoth",3),Ut.make=Uu,Ut.getBuilders=function(){var a=new Fn,y;for(y in og)if(y!==y.toLowerCase()){var E=og.I(y);typeof E=="function"&&a.add(y,E)}return a.freeze(),a},Ut.defineBuilder=Ud,Ut.build=function(a,y,E){for(var x=[],b=2;b<arguments.length;++b)x[b-2]=arguments[b];if(b=og.I(a),typeof b=="function"&&(x=b([a].concat(x)),x instanceof Ut))return y&&x.set(y),x;tn('GraphObject.build invoked object builder "'+a+'", but it did not return an Object')},Ut.takeBuilderArgument=gm;function Tf(){this.nc=!1,this.xa="",this.zp=-1,this.nb=this.wm=this.te=null,this.j="",this.hb=this.Di=this.Hb=this.Ch=this.$h=this.F=this.Ha=this.ia=this.V=this.Lh=this.Xd=this.Of=this.Nh=this.Oh=this.Qh=this.Ph=this.Mh=this.Bh=this.Fh=this.zh=null,this.u=$i,this.o=yo,this.hg=Ar,this.ob=this.Bi=1,this.Pf=Rn,this.Pc=this.Ci=this.gd=null,this.Oc="category"}Tf.prototype.copy=function(){var a=new Tf;return a.xa=this.xa,a.zp=this.zp,a.te=this.te,a.nb=this.nb,a.j=this.j,a.zh=this.zh,a.Fh=this.Fh,a.Bh=this.Bh,a.Mh=this.Mh,a.Ph=this.Ph,a.Qh=this.Qh,a.Oh=this.Oh,a.Nh=this.Nh,a.Of=this.Of,a.Xd=this.Xd,a.Lh=this.Lh,a.V=this.V,a.ia=this.ia,a.Ha=this.Ha,a.F=this.F,a.$h=this.$h,a.Ch=this.Ch,a.Hb=this.Hb,a.Di=this.Di,a.hb=this.hb,a.u=this.u.J(),a.o=this.o.J(),a.hg=this.hg,a.Bi=this.Bi,a.ob=this.ob,a.Pf=this.Pf,a.gd=this.gd,a.Ci=this.Ci,a.Pc=this.Pc,a.Oc=this.Oc,a};function gh(){this.u=-1/0,this.o=0,this.F=br,this.rr=Ll,this.j=this.V="None"}gh.prototype.copy=function(){var a=new gh;return a.u=this.u,a.o=this.o,a.F=this.F.J(),a.rr=this.rr,a.V=this.V,a.j=this.j,a},gh.className="LinkElementSettings";function up(){this.yj=this.Xi=$a,this.xj=this.Wi=this.wj=this.Vi=NaN,this.Tr=this.hq=null,this.Ur=this.iq=1/0}up.prototype.copy=function(){var a=new up;return a.Xi=this.Xi.J(),a.yj=this.yj.J(),a.Vi=this.Vi,a.wj=this.wj,a.Wi=this.Wi,a.xj=this.xj,a.hq=this.hq,a.Tr=this.Tr,a.iq=this.iq,a.Ur=this.Ur,a},up.className="LinkSettings";function Qh(){this.ha=[1,0,0,1,0,0]}Qh.prototype.copy=function(){var a=new Qh;return a.ha[0]=this.ha[0],a.ha[1]=this.ha[1],a.ha[2]=this.ha[2],a.ha[3]=this.ha[3],a.ha[4]=this.ha[4],a.ha[5]=this.ha[5],a},Qh.prototype.translate=function(a,y){this.ha[4]+=this.ha[0]*a+this.ha[2]*y,this.ha[5]+=this.ha[1]*a+this.ha[3]*y},Qh.prototype.scale=function(a,y){this.ha[0]*=a,this.ha[1]*=a,this.ha[2]*=y,this.ha[3]*=y},Qh.prototype.rotate=function(a,y,E){if(360<=a?a-=360:0>a&&(a+=360),a!==0){if(this.translate(y,E),a===90){a=0;var x=1}else a===180?(a=-1,x=0):a===270?(a=0,x=-1):(x=a*Math.PI/180,a=Math.cos(x),x=Math.sin(x));var b=this.ha[1]*a+this.ha[3]*x,z=this.ha[0]*-x+this.ha[2]*a,ne=this.ha[1]*-x+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*x,this.ha[1]=b,this.ha[2]=z,this.ha[3]=ne,this.translate(-y,-E)}},Qh.className="STransform";function Af(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}Af.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},Af.className="SGradient";function Vc(a,y,E){this.ownerDocument=a=y===void 0?sn.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 uu(this,E)}Vc.prototype.resize=function(a,y,E,x){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=E+"px",this.style.height=x+"px",this.Oa.setAttributeNS(null,"width",E+"px"),this.Oa.setAttributeNS(null,"height",x+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+E+" "+x),this.context.ww.firstElementChild.setAttributeNS(null,"width",E+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",x+"px"),!0):!1},Vc.prototype.Ud=function(a,y,E){if(a=this.ownerDocument.createElementNS(this.cA,a),jn(y))for(var x in y)a.setAttributeNS(x==="href"?"http://www.w3.org/1999/xlink":"",x,y[x]);return E!==void 0&&(a.textContent=E),a},Vc.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},Vc.prototype.focus=function(){this.Oa.focus()},Vc.prototype.mx=function(){this.ownerDocument=null},bn.Object.defineProperties(Vc.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}}}),Vc.className="SVGSurface";function uu(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 Qh,this.j=pm(this),this.Nj=pm(this,"gojs-diagram"),this.Hl=this.ti=null;var E=Ft++,x=this.Ud("clipPath",{id:"mainClip"+E});x.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=x,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(x),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+E+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function Jy(a,y,E,x,b,z,ne){a.Nj===void 0?cp(a,y,E,x,b,z,ne):a.Nj.setAttribute("transform","matrix("+y+", "+E+", "+x+", "+b+", "+z+", "+ne+")")}Ie=uu.prototype,Ie.arc=function(a,y,E,x,b,z,ne,re){var oe=2*Math.PI,he=oe-1e-6,fe=E*Math.cos(x),Se=E*Math.sin(x),Te=a+fe,Ne=y+Se,Be=z?0:1;x=z?x-b:b-x,(1e-6<Math.abs(ne-Te)||1e-6<Math.abs(re-Ne))&&this.path.push(["L",Te,+Ne]),0>x&&(x=x%oe+oe),x>he?(this.path.push(["A",E,E,0,1,Be,a-fe,y-Se]),this.path.push(["A",E,E,0,1,Be,Te,Ne])):1e-6<x&&this.path.push(["A",E,E,0,+(x>=Math.PI),Be,a+E*Math.cos(b),y+E*Math.sin(b)])},Ie.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Ie.Se=function(a){this.addPath(this.path,this.rb,a||0)},Ie.bezierCurveTo=function(a,y,E,x,b,z){this.path.push(["C",a,y,E,x,b,z])},Ie.clearRect=function(){},Ie.clip=function(){this.Yl.clipPath=!0},Ie.closePath=function(){this.path.push(["z"])},Ie.createLinearGradient=function(a,y,E,x){var b=new Af("linear");return b.x1=a,b.y1=y,b.x2=E,b.y2=x,b},Ie.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var E=this.eA;if(E[y])return"url(#"+E[y]+")";var x="PATTERN"+Ft++,b={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:x,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Kh,b)),this.svg.appendChild(a),E[y]=x,"url(#"+x+")"},Ie.createRadialGradient=function(a,y,E,x,b,z){var ne=new Af("radial");return ne.x1=a,ne.y1=y,ne.r1=E,ne.x2=x,ne.y2=b,ne.r2=z,ne};function qy(a,y,E,x,b,z,ne,re,oe){x=re/x,b=oe/b,z===0&&ne===0||a.rb.translate(z,ne),x===1&&b===1||a.rb.scale(x,b),y===0&&E===0||a.rb.translate(-y,-E)}Ie.drawImage=function(a,y,E,x,b,z,ne,re,oe){var he="";a instanceof HTMLCanvasElement&&(he=a.toDataURL()),a instanceof HTMLImageElement&&(he=a.getAttribute("src"));var fe=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,x===void 0&&(z=y,ne=E,re=x=fe,oe=b=a),x=x||0,b=b||0,re=re||0,oe=oe||0,qy(this,y,E,x,b,z||0,ne||0,re,oe),z={x:0,y:0,width:fe||x,height:a||b,href:he},Ht.$(x,re)&&Ht.$(b,oe)?he.toLowerCase().indexOf(".svg")===-1&&he.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||E!==0||x!==fe||b!==a)&&(x+=y,b+=E,z["clip-path"]="path('M "+y+","+E+" L "+x+" "+E+" L "+x+" "+b+" L "+y+" "+b+" z')"),ag(this,Kh,z,this.rb),this.addElement(Kh,z)},Ie.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),av(this,this.Yl)},Ie.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Ie.fillRect=function(a,y,E,x){a=[a,y,E,x],a={x:a[0],y:a[1],width:a[2],height:a[3]},ag(this,"fill",a,this.rb),this.addElement("rect",a)},Ie.ox=function(a,y,E,x){a={x:a,y,width:E,height:x},ag(this,"fill",a,this.rb),av(this,a),this.svg.prepend(this.Ud("rect",a))},Ie.fillText=function(a,y,E){a=[a,y,E],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},ag(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Ie.lineTo=function(a,y){this.path.push(["L",a,y])},Ie.moveTo=function(a,y){this.path.push(["M",a,y])},Ie.quadraticCurveTo=function(a,y,E,x){this.path.push(["Q",a,y,E,x])},Ie.rect=function(a,y,E,x){this.path.push(["M",a,y],["L",a+E,y],["L",a+E,y+x],["L",a,y+x],["z"])},Ie.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},Ie.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;y<this.path.length;y++)a.push(this.path[y]);this.stack.push(a),this.stack.push(this.rb.copy())},Ie.setTransform=function(a,y,E,x,b,z){a===1&&y===0&&E===0&&x===1&&b===0&&z===0||cp(this,a,y,E,x,b,z)};function $y(a){return a=a.rb.ha,"matrix("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+")"}Ie.scale=function(a,y){this.rb.scale(a,y)},Ie.translate=function(a,y){this.rb.translate(a,y)},Ie.transform=function(){},Ie.yc=function(){},Ie.stroke=function(){tS(this,this.Yl)},Ie.jk=function(){this.clipInsteadOfFill||this.stroke()},Ie.Ud=function(a,y,E){return this.Gv.Ud(a,y,E)},Ie.addElement=function(a,y,E){return a=this.Ud(a,y,E),this.yd!==null?this.yd.appendChild(a):this.yd=a,this.ad=a};function ag(a,y,E,x){y==="fill"?av(a,E):y==="stroke"&&tS(a,E),x!==null&&(a=x.ha,E.transform="matrix("+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+")")}function av(a,y){a.fillStyle instanceof Af?y.fill=sv(a,a.fillStyle,!0):/^rgba\(/.test(a.fillStyle)?(a=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(a.fillStyle),y.fill="rgb("+a[1]+","+a[2]+","+a[3]+")",y["fill-opacity"]=a[4]):y.fill=a.fillStyle}function eS(a,y,E){E=E?"fill":"stroke",a.fillStyle instanceof Af?y.setAttributeNS(null,"fill",sv(a,a.fillStyle,!0)):/^rgba\(/.test(a.fillStyle)?(a=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(a.fillStyle),y.setAttributeNS(null,E,"rgb("+a[1]+","+a[2]+","+a[3]+")"),y.setAttributeNS(null,E+"-opacity",a[4])):y.setAttributeNS(null,E,a.fillStyle)}function tS(a,y){if(a.strokeStyle instanceof Af)y.stroke=sv(a,a.strokeStyle,!1);else if(/^rgba\(/.test(a.strokeStyle)){var E=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(a.strokeStyle);y.stroke="rgb("+E[1]+","+E[2]+","+E[3]+")",y["stroke-opacity"]=E[4]}else y.stroke=a.strokeStyle;y["stroke-width"]=a.lineWidth,y["stroke-linecap"]=a.lineCap,y["stroke-linejoin"]=a.lineJoin,y["stroke-miterlimit"]=a.miterLimit,a.Ct&&(y["stroke-dasharray"]=a.Yg.toString(),y["stroke-dashoffset"]=a.uj)}function sv(a,y,E){var x="";if(x=a.Hl!==null?a.Hl.getAttribute(E?"fill":"stroke"):null,x!==null&&x.indexOf("GRAD")!==-1?(x=x.split("#")[1].slice(0,-1),E=a.svg.getElementById(x),E!==null&&E.remove()):x="GRAD"+Ft++,y.type==="linear")E=a.Ud("linearGradient",{x1:y.x1,x2:y.x2,y1:y.y1,y2:y.y2,id:x,gradientUnits:"userSpaceOnUse"});else if(y.type==="radial")E=a.Ud("radialGradient",{x1:y.x1,x2:y.x2,y1:y.y1,y2:y.y2,r1:y.r1,r2:y.r2,id:x});else throw Error("invalid gradient");var b=y.gx;y=b.length;for(var z=[],ne=0;ne<y;ne++){var re=b[ne],oe=re.color;re={offset:re.offset,"stop-color":oe},/^rgba\(/.test(oe)&&(oe=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(oe),re["stop-color"]="rgb("+oe[1]+","+oe[2]+","+oe[3]+")",re["stop-opacity"]=oe[4]),z.push(re)}for(z.sort(function(he,fe){return he.offset>fe.offset?1:-1}),b=0;b<y;b++)E.appendChild(a.Ud("stop",z[b]));return a.svg.appendChild(E),"url(#"+x+")"}Ie.addPath=function(a,y,E){for(var x=[],b=0;b<a.length;b++){var z=ao(a[b]),ne=[z.shift()];if(ne[0]==="A")ne.push(z.shift()+","+z.shift(),z.shift(),z.shift()+","+z.shift(),z.shift()+","+z.shift());else for(;z.length;)ne.push(z.shift()+","+z.shift());x.push(ne.join(" "))}if(x=x.join(" "),a=this.Yl,a.clipPath)0<this.nh.length&&this.nh[this.nh.length-1].setAttributeNS(null,"clip-path",'path("'+x+'")');else if(a.d=x,ag(this,"",a,y),this.Hl!==null)if(y=this.Hl,y.nodeName!=="g")for(var re in a)re!=="transform"&&y.setAttributeNS(null,re,a[re]);else{re=y.getElementsByTagName("path");for(var oe in a)oe!=="transform"&&re[E].setAttributeNS(null,oe,a[oe])}else this.addElement("path",a)};function cp(a,y,E,x,b,z,ne){var re=new Qh;re.ha=[y,E,x,b,z,ne],y={},ag(a,"g",y,re),re=a.addElement("g",y),a.nh.push(re)}function pm(a,y){var E={};return y&&(E.class=y),y=a.addElement("g",E),a.nh.push(y),y}Ie.Ev=function(a,y,E){this.Ar=a,this.Br=y,this.Vg=E};function ed(a){a.Il=!1,a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowBlur=0}function Ed(a){a.Il=!0,a.shadowOffsetX=a.Ar,a.shadowOffsetY=a.Br,a.shadowBlur=a.Vg}Ie.js=function(a,y){this.Ct=!0,this.Yg=a,this.uj=y},Ie.fs=function(){this.Ct=!1},Ie.Vc=function(){},Ie.Wx=function(){},uu.prototype.rotate=function(a){this.rb.rotate(57.2958*a,0,0)},uu.prototype.getImageData=function(){return null},uu.prototype.measureText=function(){return null};function mm(a,y){y=y.getAttribute("fill"),y!==null&&(y=y.split("#"),y.length!==1&&(y=a.svg.getElementById(y[1].slice(0,-1)),y!==null&&a.svg.innerHTML.match(new RegExp(y.id,"g")).length===1&&y.remove()))}uu.prototype.Hs=function(a){a.svg!==null&&a.svg.parentNode===this.Nj&&a.svg.remove()},uu.className="SVGContext",qt.prototype.Cs=function(a){this.pj.contains("SVG")||this.bs("SVG",new Vc(this,sn.document));var y=new Vc(this,sn.document,!0);a===void 0&&(a=new vr);var E=this;return Sf(this,function(x,b){return x=cm(E,x,"SVG",y),x=x!==null?x.svg:null,typeof b=="function"?(b(x),null):x},a)},qt.prototype.makeSvg=qt.prototype.Cs,qt.prototype.av=function(a){return this.Cs(a)},qt.prototype.makeSVG=qt.prototype.av;function ec(a,y,E,x){this.ownerDocument=y=y===void 0?sn.document:y,this.hs=null,y=y.createElement("canvas"),y.tabIndex=0,this.Oa=y,this.context=new Jh(y,E,x),y.H=a}ec.prototype.resize=function(a,y,E,x){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=E+"px",this.style.height=x+"px",!0):!1},ec.prototype.toDataURL=function(a,y){return this.Oa.toDataURL(a,y)},ec.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},ec.prototype.focus=function(){this.Oa.focus()},ec.prototype.mx=function(){this.ownerDocument=this.Oa.H=null},bn.Object.defineProperties(ec.prototype,{width:{get:function(){return this.Oa.width},set:function(a){this.Oa.width=a}},height:{get:function(){return this.Oa.height},set:function(a){this.Oa.height=a}},style:{get:function(){return this.Oa.style}}}),ec.className="CanvasSurface";function Jh(a,y,E){this.Z=a.getContext?a.getContext("2d",y):null,this.Z===null&&tn("Browser does not support HTML Canvas Element"),this.ct=this.et=this.dt="",this.Hm=!1,this.Vg=this.Br=this.Ar=0,this.Il=!1,this.El=new cr,this.isTemporary=!!E}Ie=Jh.prototype,Ie.Wx=function(a){this.Z.imageSmoothingEnabled=a},Ie.arc=function(a,y,E,x,b,z){this.Z.arc(a,y,E,x,b,z)},Ie.beginPath=function(){this.Z.beginPath()},Ie.Se=function(){},Ie.bezierCurveTo=function(a,y,E,x,b,z){this.Z.bezierCurveTo(a,y,E,x,b,z)},Ie.clearRect=function(a,y,E,x){this.yc(),this.Z.clearRect(a,y,E,x)},Ie.clip=function(){this.Z.clip()},Ie.closePath=function(){this.Z.closePath()},Ie.createLinearGradient=function(a,y,E,x){return this.Z.createLinearGradient(a,y,E,x)},Ie.createPattern=function(a,y){return this.Z.createPattern(a,y)},Ie.createRadialGradient=function(a,y,E,x,b,z){return this.Z.createRadialGradient(a,y,E,x,b,z)},Ie.drawImage=function(a,y,E,x,b,z,ne,re,oe){x===void 0?this.Z.drawImage(a,y,E):this.Z.drawImage(a,y,E,x,b,z,ne,re,oe)},Ie.fill=function(a){this.Z.fill(a?"evenodd":"nonzero")},Ie.fillRect=function(a,y,E,x){this.Z.fillRect(a,y,E,x)},Ie.ox=function(a,y,E,x){this.Z.fillRect(a,y,E,x)},Ie.fillText=function(a,y,E){this.Z.fillText(a,y,E)},Ie.getImageData=function(a,y,E,x){return this.Z.getImageData(a,y,E,x)},Ie.lineTo=function(a,y){this.Z.lineTo(a,y)},Ie.measureText=function(a){return this.Z.measureText(a)},Ie.moveTo=function(a,y){this.Z.moveTo(a,y)},Ie.quadraticCurveTo=function(a,y,E,x){this.Z.quadraticCurveTo(a,y,E,x)},Ie.rect=function(a,y,E,x){this.Z.rect(a,y,E,x)},Ie.restore=function(){this.Z.restore()},Ie.save=function(){this.yc(),this.Z.save()},Jh.prototype.rotate=function(a){this.El.rotate(57.2958*a,0,0)},Ie=Jh.prototype,Ie.setTransform=function(a,y,E,x,b,z){this.El.setTransform(a,y,E,x,b,z)},Ie.scale=function(a,y){this.El.scale(a,y)},Ie.translate=function(a,y){this.El.translate(a,y)},Ie.stroke=function(){this.Z.stroke()},Ie.transform=function(a,y,E,x,b,z){if(a!==1||y!==0||E!==0||x!==1||b!==0||z!==0){var ne=this.El,re=ne.m11*a+ne.m21*y;a=ne.m12*a+ne.m22*y,y=ne.m11*E+ne.m21*x,E=ne.m12*E+ne.m22*x,ne.dx=ne.m11*b+ne.m21*z+ne.dx,ne.dy=ne.m12*b+ne.m22*z+ne.dy,ne.m11=re,ne.m12=a,ne.m21=y,ne.m22=E}},Ie.yc=function(){var a=this.El;this.Z.setTransform(a.m11,a.m12,a.m21,a.m22,a.dx,a.dy)},Ie.ng=function(a,y){if(a instanceof Oo&&a.type===Hu){var E=a.yk;a=a.ft,a>E?(this.scale(E/a,1),this.translate((a-E)/2,0)):E>a&&(this.scale(1,a/E),this.translate(0,(E-a)/2)),this.Hm?this.clip():this.fill(y),a>E?(this.translate(-(a-E)/2,0),this.scale(1/(E/a),1)):E>a&&(this.translate(0,-(E-a)/2),this.scale(1,1/(a/E)))}else this.Hm?this.clip():this.fill(y)},Ie.jk=function(){this.Hm||this.stroke()},Ie.Ev=function(a,y,E){this.Ar=a,this.Br=y,this.Vg=E},Ie.js=function(a,y){var E=this.Z;E.setLineDash!==void 0&&(E.setLineDash(a),E.lineDashOffset=y)},Ie.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(AE),a.lineDashOffset=0)},Ie.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Ie.Hs=function(){},bn.Object.defineProperties(Jh.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 AE=Object.freeze([]);Jh.className="CanvasSurfaceContext";function dp(){this.F=this.o=this.u=this.j=0}dp.className="ColorNumbers";function Oo(a,y){cg||(fv(),cg=!0),ut(this),this._isFrozen=!1,a===void 0?(this.na=Hd,this.xk="black"):typeof a=="string"?(this.na=Hd,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===bd?(this.Qd=fs,this.Lk=ns):this.Lk=a===Hu?this.Qd=Yr:this.Qd=pa,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}Oo.prototype.copy=function(){var a=new Oo;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},Ie=Oo.prototype,Ie.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Ie.ka=function(){return Object.isFrozen(this)&&tn("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Ie.qb=function(a){a.classType===Oo&&(this.type=a)},Ie.toString=function(){var a="Brush(";if(this.type===Hd)a+=this.color;else if(a=this.type===bd?a+"Linear ":this.type===Hu?a+"Radial ":this.type===dg?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+")"},Ie.addColorStop=function(a,y){return this._isFrozen&&Hi(this),(typeof a!="number"||!isFinite(a)||1<a||0>a)&&lr(a,"0 <= loc <= 1",Oo,"addColorStop:loc"),this.we===null&&(this.we=new Fn),this.we.add(a,y),this.na===Hd&&(this.type=bd),this.xe=null,this},Ie.Vz=function(a,y){if(this._isFrozen&&Hi(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?hg:y,this.type===Hd)xd(this.color),this.color=lg(a,y);else if((this.type===bd||this.type===Hu)&&this.colorStops!==null)for(var E=this.colorStops.iterator;E.next();)xd(E.value),this.addColorStop(E.key,lg(a,y));return this};function nS(a,y,E){return y=y===void 0||typeof y!="number"?.2:y,E=E===void 0?hg:E,xd(a),lg(y,E)}Ie.Wy=function(a,y){if(this._isFrozen&&Hi(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?hg:y,this.type===Hd)xd(this.color),this.color=lg(-a,y);else if((this.type===bd||this.type===Hu)&&this.colorStops!==null)for(var E=this.colorStops.iterator;E.next();)xd(E.value),this.addColorStop(E.key,lg(-a,y));return this};function iS(a,y,E){return y=y===void 0||typeof y!="number"?.2:y,E=E===void 0?hg:E,xd(a),lg(-y,E)}function lv(a,y,E){xd(a),a=la.j;var x=la.u,b=la.o,z=la.F;return xd(y),E===void 0&&(E=.5),"rgba("+Math.round((la.j-a)*E+a)+", "+Math.round((la.u-x)*E+x)+", "+Math.round((la.o-b)*E+b)+", "+Math.round((la.F-z)*E+z)+")"}Ie.Gx=function(){if(this.type===Hd)return sg(this.color);if((this.type===bd||this.type===Hu)&&this.colorStops!==null){var a=this.colorStops;if(this.type===Hu)return sg(a.first().value);if(a.get(.5)!==null)return sg(a.get(.5));if(a.count===2)return a=a.Fa(),sg(lv(a[0].value,a[1].value));for(var y=a.iterator,E=-1,x=-1,b=1,z=1;y.next();){var ne=y.key,re=Math.abs(.5-y.key);b>z&&re<b?(E=ne,b=re):z>=b&&re<z&&(x=ne,z=re)}return E>x&&(z=E,E=x,x=z,z=b),b=x-E,sg(lv(a.get(E),a.get(x),1-z/b))}return!1};function sg(a){return a?a instanceof Oo?a.Gx():(xd(a),128>(299*la.j+587*la.u+114*la.o)/1e3):!1}function lg(a,y){switch(y){case hg:y=100*cv(la.j);var E=100*cv(la.u),x=100*cv(la.o);return Pl.j=.4124564*y+.3575761*E+.1804375*x,Pl.u=.2126729*y+.7151522*E+.072175*x,Pl.o=.0193339*y+.119192*E+.9503041*x,Pl.F=la.F,y=hv(Pl.j/ug[0]),E=hv(Pl.u/ug[1]),x=hv(Pl.o/ug[2]),td.j=116*E-16,td.u=500*(y-E),td.o=200*(E-x),td.F=Pl.F,td.j=Math.min(100,Math.max(0,td.j+100*a)),a=(td.j+16)/116,y=a-td.o/200,Pl.j=ug[0]*rS(td.u/500+a),Pl.u=ug[1]*(td.j>vm*gv?Math.pow(a,3):td.j/vm),Pl.o=ug[2]*rS(y),Pl.F=td.F,a=-.969266*Pl.j+1.8760108*Pl.u+.041556*Pl.o,y=.0556434*Pl.j+-.2040259*Pl.u+1.0572252*Pl.o,la.j=255*dv((3.2404542*Pl.j+-1.5371385*Pl.u+-.4985314*Pl.o)/100),la.u=255*dv(a/100),la.o=255*dv(y/100),la.F=Pl.F,la.j=Math.round(la.j),255<la.j?la.j=255:0>la.j&&(la.j=0),la.u=Math.round(la.u),255<la.u?la.u=255:0>la.u&&(la.u=0),la.o=Math.round(la.o),255<la.o?la.o=255:0>la.o&&(la.o=0),"rgba("+la.j+", "+la.u+", "+la.o+", "+la.F+")";case oS:return uv(),Au.o=Math.min(100,Math.max(0,Au.o+100*a)),"hsla("+Au.j+", "+Au.u+"%, "+Au.o+"%, "+Au.F+")";default:tn("Unknown color space: "+y)}}function xd(a){cg||(fv(),cg=!0);var y=pv;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var E=y.fillStyle;y.fillStyle=a,y.fillStyle!==E?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,la.j=a[0],la.u=a[1],la.o=a[2],la.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,la.j=0,la.u=0,la.o=0,la.F=1)}}function uv(){var a=la.j/255,y=la.u/255,E=la.o/255,x=Math.max(a,y,E),b=Math.min(a,y,E),z=x-b;if(b=(x+b)/2,z===0)var ne=a=0;else{switch(x){case a:ne=(y-E)/z%6;break;case y:ne=(E-a)/z+2;break;case E:ne=(a-y)/z+4}ne*=60,0>ne&&(ne+=360),a=z/(1-Math.abs(2*b-1))}Au.j=Math.round(ne),Au.u=Math.round(100*a),Au.o=Math.round(100*b),Au.F=la.F}function cv(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function dv(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function hv(a){return a>gv?Math.pow(a,1/3):(vm*a+16)/116}function rS(a){var y=a*a*a;return y>gv?y:(116*a-16)/vm}function Pf(a,y){typeof a!="string"&&(a instanceof Oo||tn("Value for "+y+" must be a color string or a Brush, not "+a))}function fv(){pv=Za?new ec(null,void 0,{willReadFrequently:!0}).context:null}bn.Object.defineProperties(Oo.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&Hi(this,a),this.na=a,this.start.Mc()&&(a===bd?this.start=fs:a===Hu&&(this.start=Yr)),this.end.Mc()&&(a===bd?this.end=ns:a===Hu&&(this.end=Yr)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&Hi(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&Hi(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&Hi(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&Hi(this,a),0>a&&lr(a,">= zero",Oo,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&Hi(this,a),0>a&&lr(a,">= zero",Oo,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&Hi(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&Hi(this,a),this.cr=a,this.xe=null}}}),Oo.prototype.isDark=Oo.prototype.Gx,Oo.prototype.darkenBy=Oo.prototype.Wy,Oo.prototype.lightenBy=Oo.prototype.Vz,Oo.prototype.addColorStop=Oo.prototype.addColorStop;var gv=216/24389,vm=24389/27,ug=[95.047,100,108.883],pv=null,la=new dp,Au=new dp,Pl=new dp,td=new dp,cg=!1;Oo.className="Brush";var Hd;Oo.Solid=Hd=new nn(Oo,"Solid",0);var bd;Oo.Linear=bd=new nn(Oo,"Linear",1);var Hu;Oo.Radial=Hu=new nn(Oo,"Radial",2);var dg;Oo.Pattern=dg=new nn(Oo,"Pattern",4);var hg;Oo.Lab=hg=new nn(Oo,"Lab",5);var oS;Oo.HSL=oS=new nn(Oo,"HSL",6),Oo.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var E=Math.abs(y-a);y=Math.floor(a+Math.random()*E).toString(16);var x=Math.floor(a+Math.random()*E).toString(16);return a=Math.floor(a+Math.random()*E).toString(16),2>y.length&&(y="0"+y),2>x.length&&(x="0"+x),2>a.length&&(a="0"+a),"#"+y+x+a},Oo.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;cg||(fv(),cg=!0);var y=pv;if(y===null)return!0;y.fillStyle="#000000";var E=y.fillStyle;return y.fillStyle=a,y.fillStyle!==E?!0:(y.fillStyle="#FFFFFF",E=y.fillStyle,y.fillStyle=a,y.fillStyle!==E)},Oo.lighten=function(a){return nS(a)},Oo.lightenBy=nS,Oo.darken=function(a){return iS(a)},Oo.darkenBy=iS,Oo.mix=lv,Oo.isDark=sg;function Cs(){this.xa="Base"}Cs.prototype.measure=function(){},Cs.prototype.Yz=function(a,y,E,x,b){a.measure(y,E,x,b)},Cs.prototype.arrange=function(){},Cs.prototype.Ly=function(a,y,E,x,b,z){a.arrange(y,E,x,b,z)},Cs.prototype.iA=function(a){a.Uj()},Cs.prototype.gc=function(){},bn.Object.defineProperties(Cs.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return Yn}}}),Cs.prototype.remeasureObject=Cs.prototype.iA,Cs.prototype.arrangeElement=Cs.prototype.Ly,Cs.prototype.measureElement=Cs.prototype.Yz,Cs.className="PanelLayout";function ym(){this.xa="Base"}Kt(ym,Cs),ym.prototype.measure=function(a,y,E,x,b,z,ne){var re=x.length;a=wd(a);for(var oe=0;oe<re;oe++){var he=x[oe];if(he.visible||he===a){var fe=he.margin,Se=fe.right+fe.left;fe=fe.top+fe.bottom,he.measure(y,E,z,ne);var Te=he.measuredBounds;Se=Math.max(Te.width+Se,0),fe=Math.max(Te.height+fe,0),Te=he.position.x;var Ne=he.position.y;isFinite(Te)||(Te=0),isFinite(Ne)||(Ne=0),he instanceof kr&&he.isGeometryPositioned&&(he=he.strokeWidth/2,Te-=he,Ne-=he),Co(b,Te,Ne,Se,fe)}}},ym.prototype.arrange=function(a,y,E){var x=y.length,b=a.padding;for(a=E.x-b.left,E=E.y-b.top,b=0;b<x;b++){var z=y[b],ne=z.measuredBounds,re=z.margin,oe=z.position.x,he=z.position.y;if(oe=isNaN(oe)?-a:oe-a,he=isNaN(he)?-E:he-E,z instanceof kr&&z.isGeometryPositioned){var fe=z.strokeWidth/2;oe-=fe,he-=fe}z.visible&&z.arrange(oe+re.left,he+re.top,ne.width,ne.height)}};function Sm(){this.xa="Base"}Kt(Sm,Cs),Sm.prototype.measure=function(a,y,E,x,b,z,ne){var re=x.length;y=Vi(),z=wd(a);for(var oe=0;oe<re;oe++){var he=x[oe];if(he.visible||he===z){var fe=jl(he,!1);if(fe!==Rn&&fe!==Ui)y.push(he);else{he.measure(1/0,E,0,ne),fe=he.margin,he=he.measuredBounds;var Se=Math.max(he.height+fe.top+fe.bottom,0);b.width+=Math.max(he.width+fe.right+fe.left,0),b.height=Math.max(b.height,Se)}}}for(x=y.length,a.desiredSize.height?E=Math.min(a.desiredSize.height,a.maxSize.height):b.height!==0&&(E=Math.min(b.height,a.maxSize.height)),a=0;a<x;a++)oe=y[a],(oe.visible||oe===z)&&(fe=oe.margin,re=fe.right+fe.left,fe=fe.top+fe.bottom,oe.measure(1/0,E,0,ne),oe=oe.measuredBounds,fe=Math.max(oe.height+fe,0),b.width+=Math.max(oe.width+re,0),b.height=Math.max(b.height,fe));Qi(y)},Sm.prototype.arrange=function(a,y,E){for(var x=y.length,b=a.padding,z=b.top,ne=a.isOpposite,re=ne?E.width:b.left,oe=0;oe<x;oe++){var he=z,fe=y[oe];if(fe.visible){var Se=fe.measuredBounds,Te=fe.margin,Ne=Te.top+Te.bottom,Be=z+b.bottom,We=Se.height,vt=jl(fe,!1);(isNaN(fe.desiredSize.height)&&vt===zn||vt===nr)&&(We=Math.max(E.height-Ne-Be,0)),Ne=We+Ne+Be,Be=fe.alignment,Be.Xb()&&(Be=a.defaultAlignment),Be.sb()||(Be=Yr),ne&&(re-=Se.width+Te.left+Te.right),fe.arrange(re+Be.offsetX+Te.left,he+Be.offsetY+Te.top+(E.height*Be.y-Ne*Be.y),Se.width,We),ne||(re+=Se.width+Te.left+Te.right)}}};function Em(){this.xa="Base"}Kt(Em,Cs),Em.prototype.measure=function(a,y,E,x,b,z){var ne=x.length;E=Vi();for(var re=wd(a),oe=0;oe<ne;oe++){var he=x[oe];if(he.visible||he===re){var fe=jl(he,!1);if(fe!==Rn&&fe!==nr)E.push(he);else{var Se=he.margin;fe=Se.right+Se.left,Se=Se.top+Se.bottom,he.measure(y,1/0,z,0),he=he.measuredBounds,qo(b,Math.max(b.width,Math.max(he.width+fe,0)),b.height+Math.max(he.height+Se,0))}}}if(x=E.length,x!==0){for(a.desiredSize.width?y=Math.min(a.desiredSize.width,a.maxSize.width):b.width!==0&&(y=Math.min(b.width,a.maxSize.width)),a=0;a<x;a++)oe=E[a],(oe.visible||oe===re)&&(he=oe.margin,ne=he.right+he.left,he=he.top+he.bottom,oe.measure(y,1/0,z,0),oe=oe.measuredBounds,he=Math.max(oe.height+he,0),b.width=Math.max(b.width,Math.max(oe.width+ne,0)),b.height+=he);Qi(E)}},Em.prototype.arrange=function(a,y,E){for(var x=y.length,b=a.padding,z=b.left,ne=a.isOpposite,re=ne?E.height:b.top,oe=0;oe<x;oe++){var he=z,fe=y[oe];if(fe.visible){var Se=fe.measuredBounds,Te=fe.margin,Ne=Te.left+Te.right,Be=z+b.right,We=Se.width,vt=jl(fe,!1);(isNaN(fe.desiredSize.width)&&vt===zn||vt===Ui)&&(We=Math.max(E.width-Ne-Be,0)),Ne=We+Ne+Be,Be=fe.alignment,Be.Xb()&&(Be=a.defaultAlignment),Be.sb()||(Be=Yr),ne&&(re-=Se.height+Te.bottom+Te.top),fe.arrange(he+Be.offsetX+Te.left+(E.width*Be.x-Ne*Be.x),re+Be.offsetY+Te.top,We,Se.height),ne||(re+=Se.height+Te.bottom+Te.top)}}};function xm(){this.xa="Base"}Kt(xm,Cs),xm.prototype.measure=function(a,y,E,x,b,z,ne){var re=x.length,oe=a.Pb(),he=oe.margin,fe=he.right+he.left,Se=he.top+he.bottom;oe.measure(y,E,z,ne);var Te=oe.measuredBounds;z=Te.width,ne=Te.height;var Ne=Math.max(z+fe,0),Be=Math.max(ne+Se,0),We=a.isClipping,vt=an.allocAt(-he.left,-he.top,Ne,Be),ct=an.allocAt(0,0,z,ne);mv(oe,ct,!0),z=ct.width,ne=ct.height;for(var wt=!0,Tt=wd(a),kt=0;kt<re;kt++){var Bt=x[kt];Te=y;var en=E;if(Bt!==oe&&(Bt.visible||Bt===Tt)){he=Bt.margin;var pi=he.left,ki=he.top;switch(Ne=he.right+he.left,Be=he.top+he.bottom,he=jl(Bt,!1),he){case zn:Te=z,en=ne,ki=pi=Be=Ne=0;break;case Ui:Te=z,pi=Ne=0;break;case nr:en=ne,ki=Be=0}Bt.measure(Te,en,0,0),Te=Bt.measuredBounds,Ne=Math.max(Te.width+Ne,0),Be=Math.max(Te.height+Be,0),he=Bt.alignment,he.Xb()&&(he=a.defaultAlignment),he.sb()||(he=Yr);var Ti=Bt.alignmentFocus;if(Ti.Xb()&&(Ti=Yr),en=null,Bt instanceof Yn&&Bt.$e!==""&&(en=Bt.fb(Bt.$e),en===Bt&&(en=null)),pi=ct.x-pi,ki=ct.y-ki,en!==null){for(Bt.arrange(0,0,Te.width,Te.height),Te=en.actualBounds,Te=st.allocAt(Te.x+(Ti.x*Te.width-Ti.offsetX),Te.y+(Ti.y*Te.height-Ti.offsetY)),en=en.panel;en!==Bt;)en.transform.Ga(Te),en=en.panel;pi+=he.x*z+he.offsetX-Te.x,ki+=he.y*ne+he.offsetY-Te.y,st.free(Te)}else pi+=he.x*z+he.offsetX-(Ti.x*Te.width+Ti.offsetX),ki+=he.y*ne+he.offsetY-(Ti.y*Te.height+Ti.offsetY);wt?(wt=!1,b.h(pi,ki,Ne,Be)):Co(b,pi,ki,Ne,Be)}}switch(wt?b.assign(vt):We?b.Uu(ct.x,ct.y,ct.width,ct.height):Co(b,vt.x,vt.y,vt.width,vt.height),an.free(vt),an.free(ct),he=oe.stretch,he===Ar&&(he=jl(oe,!1)),he){case Rn:return;case zn:if(!isFinite(y)&&!isFinite(E))return;break;case Ui:if(!isFinite(y))return;break;case nr:if(!isFinite(E))return}for(Te=oe.measuredBounds,z=Te.width,ne=Te.height,Ne=Math.max(z+fe,0),Be=Math.max(ne+Se,0),he=oe.margin,ct=an.allocAt(-he.left,-he.top,Ne,Be),mv(oe,ct,!0),z=ct.width,ne=ct.height,y=0;y<re;y++)E=x[y],E===oe||!E.visible&&E!==Tt||(he=E.margin,Ne=he.right+he.left,Be=he.top+he.bottom,Te=E.measuredBounds,Ne=Math.max(Te.width+Ne,0),Be=Math.max(Te.height+Be,0),fe=E.alignment,fe.Xb()&&(fe=a.defaultAlignment),fe.sb()||(fe=Yr),E=E.alignmentFocus,E.Xb()&&(E=Yr),wt?(wt=!1,b.h(fe.x*z+fe.offsetX-(E.x*Te.width+E.offsetX)-he.left,fe.y*ne+fe.offsetY-(E.y*Te.height+E.offsetY)-he.top,Ne,Be)):Co(b,fe.x*z+fe.offsetX-(E.x*Te.width+E.offsetX)-he.left,fe.y*ne+fe.offsetY-(E.y*Te.height+E.offsetY)-he.top,Ne,Be));wt?b.assign(vt):We?b.Uu(ct.x,ct.y,ct.width,ct.height):Co(b,vt.x,vt.y,vt.width,vt.height),an.free(ct)},xm.prototype.arrange=function(a,y,E){var x=y.length,b=a.Pb(),z=b.measuredBounds,ne=z.width,re=z.height,oe=a.padding;z=oe.left,oe=oe.top;var he=z-E.x,fe=oe-E.y;for(b.arrange(he,fe,ne,re),ne=an.allocAt(0,0,ne,re),mv(b,ne,!1),re=0;re<x;re++){var Se=y[re];if(Se!==b){he=Se.measuredBounds;var Te=he.width,Ne=he.height;fe=Se.alignment,fe.Xb()&&(fe=a.defaultAlignment),fe.sb()||(fe=Yr);var Be=Se.alignmentFocus;if(Be.Xb()&&(Be=Yr),he=null,Se instanceof Yn&&Se.$e!==""&&(he=Se.fb(Se.$e),he===Se&&(he=null)),he!==null){var We=he.actualBounds;for(Be=st.allocAt(We.x+(Be.x*We.width-Be.offsetX),We.y+(Be.y*We.height-Be.offsetY)),he=he.panel;he!==Se;)he.transform.Ga(Be),he=he.panel;he=fe.x*ne.width+fe.offsetX-Be.x,fe=fe.y*ne.height+fe.offsetY-Be.y,st.free(Be)}else he=fe.x*ne.width+fe.offsetX-(Be.x*Te+Be.offsetX),fe=fe.y*ne.height+fe.offsetY-(Be.y*Ne+Be.offsetY);he+=ne.x-E.x,fe+=ne.y-E.y,Se.visible&&Se.arrange(z+he,oe+fe,Te,Ne)}}an.free(ne)};function mv(a,y,E){var x=null;if(a instanceof Yn&&a.$e!==""&&(x=a.fb(a.$e),x===a&&(x=null)),x!==null)for(E&&a.arrange(0,0,y.width,y.height),y.assign(x.actualBounds),x=x.panel;x!==a;)x.transform.pp(y),x=x.panel}function bm(){this.xa="Base"}Kt(bm,Cs),bm.prototype.measure=function(a,y,E,x,b,z,ne){var re=x.length,oe=a.Pb(),he=oe.margin,fe=y,Se=E,Te=he.right+he.left,Ne=he.top+he.bottom;oe.measure(y,E,z,ne),he=oe.measuredBounds;var Be=0,We=null;oe instanceof kr&&(We=oe,Be=We.strokeWidth*We.scale);var vt=Math.max(he.width+Te,0);he=Math.max(he.height+Ne,0);var ct=Ev(oe),wt=ct.x*vt+ct.offsetX;ct=ct.y*he+ct.offsetY;var Tt=xv(oe),kt=Tt.x*vt+Tt.offsetX;for(Tt=Tt.y*he+Tt.offsetY,isFinite(y)&&(fe=Math.max(Math.abs(wt-kt)-Be,0)),isFinite(E)&&(Se=Math.max(Math.abs(ct-Tt)-Be,0)),Be=fn.alloc(),Be.h(0,0),a=wd(a),Tt=0;Tt<re;Tt++)ct=x[Tt],ct===oe||!ct.visible&&ct!==a||(he=ct.margin,vt=he.right+he.left,wt=he.top+he.bottom,ct.measure(fe,Se,0,0),he=ct.measuredBounds,vt=Math.max(he.width+vt,0),he=Math.max(he.height+wt,0),Be.h(Math.max(vt,Be.width),Math.max(he,Be.height)));if(re===1)b.width=vt,b.height=he,fn.free(Be);else{switch(ct=Ev(oe),Tt=xv(oe),re=x=0,Tt.x!==ct.x&&Tt.y!==ct.y&&(x=Be.width/Math.abs(Tt.x-ct.x),re=Be.height/Math.abs(Tt.y-ct.y)),fn.free(Be),Be=0,We!==null&&(Be=We.strokeWidth*We.scale,Pv(We)===Bi&&(x=re=Math.max(x,re))),x+=Math.abs(ct.offsetX)+Math.abs(Tt.offsetX)+Be,re+=Math.abs(ct.offsetY)+Math.abs(Tt.offsetY)+Be,We=oe.stretch,We===Ar&&(We=jl(oe,!1)),We){case Rn:ne=z=0;break;case zn:isFinite(y)&&(x=y),isFinite(E)&&(re=E);break;case Ui:isFinite(y)&&(x=y),ne=0;break;case nr:z=0,isFinite(E)&&(re=E)}oe.Uj(),oe.measure(x,re,z,ne),b.width=oe.measuredBounds.width+Te,b.height=oe.measuredBounds.height+Ne}},bm.prototype.arrange=function(a,y){var E=y.length,x=a.Pb(),b=x.measuredBounds,z=an.alloc();z.h(0,0,1,1);var ne=x.margin,re=ne.left;ne=ne.top;var oe=a.padding,he=oe.left;oe=oe.top,x.arrange(he+re,oe+ne,b.width,b.height);var fe=Ev(x),Se=xv(x),Te=fe.y*b.height+fe.offsetY,Ne=Se.x*b.width+Se.offsetX;for(Se=Se.y*b.height+Se.offsetY,z.x=fe.x*b.width+fe.offsetX,z.y=Te,Co(z,Ne,Se,0,0),z.x+=re+he,z.y+=ne+oe,b=0;b<E;b++)re=y[b],re!==x&&(he=re.measuredBounds,ne=re.margin,oe=Math.max(he.width+ne.right+ne.left,0),fe=Math.max(he.height+ne.top+ne.bottom,0),Te=re.alignment,Te.Xb()&&(Te=a.defaultAlignment),Te.sb()||(Te=Yr),oe=z.width*Te.x+Te.offsetX-oe*Te.x+ne.left+z.x,ne=z.height*Te.y+Te.offsetY-fe*Te.y+ne.top+z.y,re.visible&&(Go(z.x,z.y,z.width,z.height,oe,ne,he.width,he.height)?re.arrange(oe,ne,he.width,he.height):re.arrange(oe,ne,he.width,he.height,new an(z.x,z.y,z.width,z.height))));an.free(z)};function wm(){this.xa="Base",this.name="Table"}Kt(wm,Cs),wm.prototype.measure=function(a,y,E,x,b){for(var z=x.length,ne=Vi(),re=Vi(),oe=0;oe<z;oe++){var he=x[oe],fe=he instanceof Yn?he:null;if(fe!==null&&zd(fe)&&he.visible){re.push(fe);for(var Se=fe.O.s,Te=Se.length,Ne=0;Ne<Te;Ne++){var Be=Se[Ne];fe.type===Yn.TableRow?Be.row=he.row:fe.type===Yn.TableColumn&&(Be.column=he.column),ne.push(Be)}}else ne.push(he)}z=ne.length,z===0&&(a.Fb(0),a.Eb(0));for(var We=[],vt=0;vt<z;vt++){var ct=ne[vt];ct.visible&&(Es(ct,!0),$c(ct,!0),We[ct.row]||(We[ct.row]=[]),We[ct.row][ct.column]||(We[ct.row][ct.column]=[]),We[ct.row][ct.column].push(ct))}Qi(ne);var wt=Vi(),Tt=Vi(),kt=Vi(),Bt={count:0},en={count:0},pi=y,ki=E,Ti=a.rowDefs,qn=a.colDefs,kn=null;z=Ti.length;for(var Er=0;Er<z;Er++)kn=Ti[Er],kn!==void 0&&(kn.actual=0);z=qn.length;for(var gr=0;gr<z;gr++)kn=qn[gr],kn!==void 0&&(kn.actual=0);for(var Ao=We.length,na=0,Ls=0;Ls<Ao;Ls++)We[Ls]&&(na=Math.max(na,We[Ls].length));var Fs=Math.min(a.topIndex,Ao-1),Sl=Math.min(a.leftIndex,na-1),ks=0;Ao=We.length;for(var Jd=wd(a),ds=0;ds<Ao;ds++)if(We[ds]){na=We[ds].length;var Ic=a.Fb(ds);Ic.actual=0;for(var El=Ic.oc=0;El<na;El++)if(We[ds][El]){var qd=a.Eb(El);wt[El]===void 0&&(qd.actual=0,qd.oc=0,wt[El]=!0);for(var Lu=We[ds][El],rc=Lu.length,hu=0;hu<rc;hu++){var nu=Lu[hu];if(nu.visible||nu===Jd){var Nh=1<nu.rowSpan||1<nu.columnSpan;Nh&&(ds<Fs||El<Sl||Tt.push(nu));var Mc=nu.margin,Dg=Mc.right+Mc.left,fu=Mc.top+Mc.bottom,xl=Ac(nu,Ic,qd,!1),qp=nu.desiredSize,Uf=!isNaN(qp.height),Zc=!isNaN(qp.width)&&Uf;if(Nh||xl===Rn||Zc||ds<Fs||El<Sl||(Bt[El]!==void 0||xl!==zn&&xl!==Ui||(Bt[El]=-1,Bt.count++),en[ds]!==void 0||xl!==zn&&xl!==nr||(en[ds]=-1,en.count++),kt.push(nu)),nu.measure(1/0,1/0,0,0),!(ds<Fs||El<Sl)){var iu=nu.measuredBounds,sf=Math.max(iu.width+Dg,0),gu=Math.max(iu.height+fu,0);if(nu.rowSpan===1&&(xl===Rn||xl===Ui)){kn=a.Fb(ds);var Lh=kn.Wc();ks=Math.max(gu-kn.actual,0),ks+Lh>ki&&(ks=Math.max(ki-Lh,0));var Y0=kn.oa===0;kn.oc=kn.oc+ks,kn.actual=kn.oa+ks,ki=Math.max(ki-(ks+(Y0?Lh:0)),0)}if(nu.columnSpan===1&&(xl===Rn||xl===nr)){kn=a.Eb(El);var $p=kn.Wc();ks=Math.max(sf-kn.actual,0),ks+$p>pi&&(ks=Math.max(pi-$p,0));var Gy=kn.oa===0;kn.oc=kn.oc+ks,kn.actual=kn.oa+ks,pi=Math.max(pi-(ks+(Gy?$p:0)),0)}Nh&&nu.Uj()}}}}}Qi(wt);var cd=0,Ad=0;z=a.columnCount;for(var Hf=0;Hf<z;Hf++){var kh=qn[Hf];kh!==void 0&&(cd+=isNaN(kh.Hc)?kh.oc:kh.Hc,kh.oc!==0&&(cd+=kh.Wc()))}z=a.rowCount;for(var Fg=0;Fg<z;Fg++){var Ih=Ti[Fg];Ih!==void 0&&(Ad+=isNaN(Ih.Hc)?Ih.oc:Ih.Hc,Ih.oc!==0&&(Ad+=Ih.Wc()))}pi=Math.max(y-cd,0);var dd=ki=Math.max(E-Ad,0),$d=pi;z=kt.length;for(var ru=0;ru<z;ru++){var Xc=kt[ru],K0=a.Fb(Xc.row),Pd=a.Eb(Xc.column),Bg=Xc.measuredBounds,Rc=Xc.margin,lf=Rc.right+Rc.left,Qc=Rc.top+Rc.bottom;Bt[Xc.column]=Pd.oc===0&&Bt[Xc.column]!==void 0?Math.max(Bg.width+lf,Bt[Xc.column]):null,en[Xc.row]=K0.oc===0&&en[Xc.row]!==void 0?Math.max(Bg.height+Qc,en[Xc.row]):null}var zf=0,_g=0,xc;for(xc in en)xc!=="count"&&(zf+=en[xc]);for(xc in Bt)xc!=="count"&&(_g+=Bt[xc]);for(var Ws=fn.alloc(),em=0;em<z;em++){var Ol=kt[em];if(Ol.visible||Ol===Jd){var hs=a.Fb(Ol.row),Dl=a.Eb(Ol.column),Nd=0;isFinite(Dl.width)?Nd=Dl.width:(isFinite(pi)&&Bt[Ol.column]!==null?_g===0?Nd=Dl.actual+pi:Nd=Bt[Ol.column]/_g*$d:Bt[Ol.column]!==null?Nd=pi:Nd=Dl.actual||pi,Nd=Math.max(0,Nd-Dl.Wc()));var eh=0;switch(isFinite(hs.height)?eh=hs.height:(isFinite(ki)&&en[Ol.row]!==null?zf===0?eh=hs.actual+ki:eh=en[Ol.row]/zf*dd:en[Ol.row]!==null?eh=ki:eh=hs.actual||ki,eh=Math.max(0,eh-hs.Wc())),Ws.h(Math.max(Dl.minimum,Math.min(Nd,Dl.maximum)),Math.max(hs.minimum,Math.min(eh,hs.maximum))),xl=Ac(Ol,hs,Dl,!1),xl){case Ui:Ws.height=Math.max(Ws.height,hs.actual+ki);break;case nr:Ws.width=Math.max(Ws.width,Dl.actual+pi)}var uf=Ol.margin,Wy=uf.right+uf.left,Z0=uf.top+uf.bottom;Ol.Uj(),Ol.measure(Ws.width,Ws.height,Dl.minimum,hs.minimum);var Ug=Ol.measuredBounds,cf=Math.max(Ug.width+Wy,0),jf=Math.max(Ug.height+Z0,0);isFinite(pi)&&(cf=Math.min(cf,Ws.width)),isFinite(ki)&&(jf=Math.min(jf,Ws.height));var ou=0;ou=hs.actual,hs.actual=Math.max(hs.actual,jf),hs.oc=Math.max(hs.oc,jf),ks=hs.actual-ou,ki=Math.max(ki-ks,0),en[Ol.row]===null&&(dd=Math.max(dd-ks,0)),ou=Dl.actual,Dl.actual=Math.max(Dl.actual,cf),Dl.oc=Math.max(Dl.oc,cf),ks=Dl.actual-ou,pi=Math.max(pi-ks,0),Bt[Ol.column]===null&&($d=Math.max($d-ks,0))}}Qi(kt);var Ld=fn.alloc(),Oc=Vi(),Vu=Vi();if(z=Tt.length,z!==0){for(var Mh=0;Mh<Ao;Mh++)if(We[Mh]){na=We[Mh].length;var Hg=a.Fb(Mh);Oc[Mh]=Hg.actual;for(var Rh=0;Rh<na;Rh++)if(We[Mh][Rh]){var X0=a.Eb(Rh);Vu[Rh]=X0.actual}}}for(var zg=0;zg<z;zg++){var es=Tt[zg];if(es.visible||es===Jd){var bc=a.Fb(es.row),oc=a.Eb(es.column);switch(Ws.h(Math.max(oc.minimum,Math.min(y,oc.maximum)),Math.max(bc.minimum,Math.min(E,bc.maximum))),xl=Ac(es,bc,oc,!1),xl){case zn:Vu[oc.index]!==0&&(Ws.width=Math.min(Ws.width,Vu[oc.index])),Oc[bc.index]!==0&&(Ws.height=Math.min(Ws.height,Oc[bc.index]));break;case Ui:Vu[oc.index]!==0&&(Ws.width=Math.min(Ws.width,Vu[oc.index]));break;case nr:Oc[bc.index]!==0&&(Ws.height=Math.min(Ws.height,Oc[bc.index]))}isFinite(oc.width)&&(Ws.width=oc.width),isFinite(bc.height)&&(Ws.height=bc.height),Ld.h(0,0);for(var Q0=oc.minimum,pu=bc.minimum,th=1;th<es.rowSpan&&!(es.row+th>=a.rowCount);th++)kn=a.Fb(es.row+th),ks=0,ks=xl===zn||xl===nr?Math.max(kn.minimum,Oc[es.row+th]===0?kn.maximum:Math.min(Oc[es.row+th],kn.maximum)):Math.max(kn.minimum,isNaN(kn.Hc)?kn.maximum:Math.min(kn.Hc,kn.maximum)),Ld.height+=ks,pu+=kn.minimum;for(var ac=1;ac<es.columnSpan&&!(es.column+ac>=a.columnCount);ac++)kn=a.Eb(es.column+ac),ks=0,ks=xl===zn||xl===Ui?Math.max(kn.minimum,Vu[es.column+ac]===0?kn.maximum:Math.min(Vu[es.column+ac],kn.maximum)):Math.max(kn.minimum,isNaN(kn.Hc)?kn.maximum:Math.min(kn.Hc,kn.maximum)),Ld.width+=ks,Q0+=kn.minimum;Ws.width+=Ld.width,Ws.height+=Ld.height;var jg=es.margin,Oh=jg.right+jg.left,tm=jg.top+jg.bottom;es.measure(Ws.width,Ws.height,Q0,pu);for(var Gg=es.measuredBounds,Jc=Math.max(Gg.width+Oh,0),df=Math.max(Gg.height+tm,0),Dh=0,Wg=0;Wg<es.rowSpan&&!(es.row+Wg>=a.rowCount);Wg++)kn=a.Fb(es.row+Wg),Dh+=kn.total||0;if(Dh<df){var nh=df-Dh,hd=df-Dh;if(es.spanAllocation!==null)for(var ih=es.spanAllocation,kd=0;kd<es.rowSpan&&!(0>=nh)&&!(es.row+kd>=a.rowCount);kd++){kn=a.Fb(es.row+kd);var rh=kn.oa||0,hf=ih(es,kn,hd);kn.actual=Math.min(kn.maximum,rh+hf),kn.oa!==rh&&(nh-=kn.oa-rh)}for(;0<nh;){var Dc=kn.oa||0;if(isNaN(kn.height)&&kn.maximum>Dc&&(kn.actual=Math.min(kn.maximum,Dc+nh),kn.oa!==Dc&&(nh-=kn.oa-Dc)),kn.index===0)break;kn=a.Fb(kn.index-1)}}for(var Gf=0,oh=0;oh<es.columnSpan&&!(es.column+oh>=a.columnCount);oh++)kn=a.Eb(es.column+oh),Gf+=kn.total||0;if(Gf<Jc){var Wf=Jc-Gf,Vy=Jc-Gf;if(es.spanAllocation!==null)for(var Id=es.spanAllocation,ff=0;ff<es.columnSpan&&!(0>=Wf)&&!(es.column+ff>=a.columnCount);ff++){kn=a.Eb(es.column+ff);var nm=kn.oa||0,Yy=Id(es,kn,Vy);kn.actual=Math.min(kn.maximum,nm+Yy),kn.oa!==nm&&(Wf-=kn.oa-nm)}for(;0<Wf;){var J0=kn.oa||0;if(isNaN(kn.width)&&kn.maximum>J0&&(kn.actual=Math.min(kn.maximum,J0+Wf),kn.oa!==J0&&(Wf-=kn.oa-J0)),kn.index===0)break;kn=a.Eb(kn.index-1)}}}}Qi(Tt),fn.free(Ld),fn.free(Ws),Oc!==void 0&&Qi(Oc),Vu!==void 0&&Qi(Vu);var Vf=0,Yf=0,q0=a.desiredSize,yE=a.maxSize;xl=jl(a,!0);var im=Ad=cd=0,rm=0;z=a.columnCount;for(var $0=0;$0<z;$0++)qn[$0]!==void 0&&(kn=a.Eb($0),isFinite(kn.width)?(im+=kn.width,im+=kn.Wc()):Rm(kn)===pp?(im+=kn.oa,im+=kn.Wc()):kn.oa!==0&&(cd+=kn.oa,cd+=kn.Wc()));isFinite(q0.width)?Vf=Math.min(q0.width,yE.width):Vf=xl!==Rn&&isFinite(y)?y:cd,Vf=Math.max(Vf,a.minSize.width),Vf=Math.max(Vf-im,0);for(var sx=cd===0?1:Math.max(Vf/cd,1),ev=0;ev<z;ev++)qn[ev]!==void 0&&(kn=a.Eb(ev),isFinite(kn.width)||Rm(kn)===pp||(kn.actual=kn.oa*sx),kn.position=b.width,kn.oa!==0&&(b.width+=kn.oa,b.width+=kn.Wc()));z=a.rowCount;for(var tv=0;tv<z;tv++)Ti[tv]!==void 0&&(kn=a.Fb(tv),isFinite(kn.height)?(rm+=kn.height,rm+=kn.Wc()):Rm(kn)===pp?(rm+=kn.oa,rm+=kn.Wc()):kn.oa!==0&&(Ad+=kn.oa,Ad+=kn.Wc()));isFinite(q0.height)?Yf=Math.min(q0.height,yE.height):Yf=xl!==Rn&&isFinite(E)?E:Ad,Yf=Math.max(Yf,a.minSize.height),Yf=Math.max(Yf-rm,0);for(var lx=Ad===0?1:Math.max(Yf/Ad,1),nv=0;nv<z;nv++)Ti[nv]!==void 0&&(kn=a.Fb(nv),isFinite(kn.height)||Rm(kn)===pp||(kn.actual=kn.oa*lx),kn.position=b.height,kn.oa!==0&&(b.height+=kn.oa,b.height+=kn.Wc()));z=re.length;for(var Ky=0;Ky<z;Ky++){var om=re[Ky],Zy=0,Xy=0;om.type===Yn.TableRow?(Zy=b.width,kn=a.Fb(om.row),Xy=kn.actual):(kn=a.Eb(om.column),Zy=kn.actual,Xy=b.height),om.measuredBounds.h(0,0,Zy,Xy),Es(om,!1)}Qi(re),a.inRowsCols=We},wm.prototype.arrange=function(a,y,E){var x=y.length,b=a.padding,z=b.left;b=b.top;var ne=a.inRowsCols;if(ne!==null){for(var re,oe,he=ne.length,fe=0,Se=0;Se<he;Se++)ne[Se]&&(fe=Math.max(fe,ne[Se].length));oe=a.rowDefs,re=a.colDefs;var Te=Se=0,Ne=Math.min(a.topIndex,he-1);if(0<oe.length){for(;Ne!==he&&(oe[Ne]===void 0||oe[Ne].oa===0);)Ne++;Ne=Math.max(Math.min(Ne,he-1),0),Se=-oe[Ne].position}var Be=Math.min(a.leftIndex,fe-1);if(0<re.length){for(;Be!==fe&&(re[Be]===void 0||re[Be].oa===0);)Be++;Be=Math.max(Math.min(Be,fe-1),0),Te=-re[Be].position}for(var We=0,vt=0;We!==he&&oe[We]===void 0;)We++;for(;vt!==he&&re[vt]===void 0;)vt++;fe=a.part,a.Fb(We),a.Eb(vt);for(var ct=0;ct<y.length;ct++){var wt=y[ct];if(wt instanceof Yn&&wt.visible&&zd(wt)){if(wt.type===Yn.TableRow){re=a.Fb(wt.row);var Tt=a.Eb(vt)}else re=a.Fb(We),Tt=a.Eb(wt.column);oe=re.position+Se+b,re.oa!==0&&(oe+=re.Io(Math.max(We,Ne))),re=Tt.position+Te+z,Tt.oa!==0&&(re+=Tt.Io(Math.max(vt,Be))),Tt=wt.measuredBounds,wt.Uk(),wt.actualBounds.ka();var kt=wt.actualBounds,Bt=an.allocAt(kt.x,kt.y,kt.width,kt.height);kt.x=wt.type===Yn.TableRow?z:re,kt.y=wt.type===Yn.TableColumn?b:oe,kt.width=Tt.width,kt.height=Tt.height,wt.actualBounds.freeze(),$c(wt,!1),po(Bt,kt)||fe===null||(fe.oh(),wt.Pn(fe)),an.free(Bt)}}for(ct=fn.alloc(),wt=0;wt<he;wt++)if(ne[wt]){for(fe=ne[wt].length,Tt=a.Fb(wt),oe=Tt.position+Se+b,Tt.oa!==0&&(oe+=Tt.Io(Math.max(We,Ne))),kt=0;kt<fe;kt++)if(ne[wt][kt]){Bt=a.Eb(kt),re=Bt.position+Te+z,Bt.oa!==0&&(re+=Bt.Io(Math.max(vt,Be)));for(var en=ne[wt][kt],pi=en.length,ki=0;ki<pi;ki++){var Ti=en[ki],qn=Ti.measuredBounds;ct.h(0,0);for(var kn=1;kn<Ti.rowSpan&&!(wt+kn>=a.rowCount);kn++){var Er=a.Fb(wt+kn);Er.oa!==0&&(ct.height+=Er.total)}for(kn=1;kn<Ti.columnSpan&&!(kt+kn>=a.columnCount);kn++)Er=a.Eb(kt+kn),Er.oa!==0&&(ct.width+=Er.total);var gr=Bt.oa+ct.width,Ao=Tt.oa+ct.height;kn=re,Er=oe;var na=gr,Ls=Ao,Fs=re,Sl=oe,ks=gr,Jd=Ao;re+gr>E.width&&(ks=Math.max(E.width-re,0)),oe+Ao>E.height&&(Jd=Math.max(E.height-oe,0));var ds=Ti.alignment;if(ds.Xb()){ds=a.defaultAlignment,ds.sb()||(ds=Yr);var Ic=ds.x,El=ds.y,qd=ds.offsetX;ds=ds.offsetY;var Lu=Bt.alignment,rc=Tt.alignment;Lu.sb()&&(Ic=Lu.x,qd=Lu.offsetX),rc.sb()&&(El=rc.y,ds=rc.offsetY)}else Ic=ds.x,El=ds.y,qd=ds.offsetX,ds=ds.offsetY;(isNaN(Ic)||isNaN(El))&&(El=Ic=.5,ds=qd=0),Lu=qn.width,rc=qn.height;var hu=Ti.margin,nu=hu.left+hu.right,Nh=hu.top+hu.bottom,Mc=Ac(Ti,Tt,Bt,!1);!isNaN(Ti.desiredSize.width)||Mc!==zn&&Mc!==Ui||(Lu=Math.max(gr-nu,0)),!isNaN(Ti.desiredSize.height)||Mc!==zn&&Mc!==nr||(rc=Math.max(Ao-Nh,0)),gr=Ti.maxSize,Ao=Ti.minSize,Lu=Math.min(gr.width,Lu),rc=Math.min(gr.height,rc),Lu=Math.max(Ao.width,Lu),rc=Math.max(Ao.height,rc),gr=rc+Nh,kn+=na*Ic-(Lu+nu)*Ic+qd+hu.left,Er+=Ls*El-gr*El+ds+hu.top,Ti.visible&&(Go(Fs,Sl,ks,Jd,kn,Er,qn.width,qn.height)?Ti.arrange(kn,Er,Lu,rc):Ti.arrange(kn,Er,Lu,rc,new an(Fs,Sl,ks,Jd)))}}}for(fn.free(ct),a=0;a<x;a++)E=y[a],z=E instanceof Yn?E:null,z!==null&&zd(z)&&(z=E.actualBounds,E.naturalBounds.ka(),E.naturalBounds.h(0,0,z.width,z.height),E.naturalBounds.freeze())}};function Cm(){this.xa="Base"}Kt(Cm,Cs),Cm.prototype.measure=function(){},Cm.prototype.arrange=function(){};function Tm(){this.xa="Base"}Kt(Tm,Cs),Tm.prototype.measure=function(){},Tm.prototype.arrange=function(){};function Am(){this.xa="Base"}Kt(Am,Cs),Am.prototype.measure=function(a,y,E,x,b,z,ne){1<x.length&&tn("Viewbox Panel cannot contain more than one GraphObject."),x=x[0],x.Ca=1,x.Uj(),x.measure(1/0,1/0,z,ne);var re=x.measuredBounds,oe=x.margin,he=oe.right+oe.left;if(oe=oe.top+oe.bottom,isFinite(y)||isFinite(E)){var fe=x.scale,Se=re.width;re=re.height;var Te=Math.max(y-he,0),Ne=Math.max(E-oe,0),Be=1;a.viewboxStretch===Bi?Se!==0&&re!==0&&(Be=Math.min(Te/Se,Ne/re)):Se!==0&&re!==0&&(Be=Math.max(Te/Se,Ne/re)),Be===0&&(Be=1e-4),x.Ca*=Be,fe!==x.scale&&(Es(x,!0),x.measure(1/0,1/0,z,ne))}re=x.measuredBounds,b.width=isFinite(y)?y:Math.max(re.width+he,0),b.height=isFinite(E)?E:Math.max(re.height+oe,0)},Am.prototype.arrange=function(a,y,E){y=y[0];var x=y.measuredBounds,b=y.margin,z=Math.max(x.width+(b.right+b.left),0);b=Math.max(x.height+(b.top+b.bottom),0);var ne=y.alignment;ne.Xb()&&(ne=a.defaultAlignment),ne.sb()||(ne=Yr),y.arrange(E.width*ne.x-z*ne.x+ne.offsetX,E.height*ne.y-b*ne.y+ne.offsetY,x.width,x.height)};function hp(){this.xa="Base"}Kt(hp,Cs),hp.prototype.measure=function(){},hp.prototype.arrange=function(){},hp.prototype.gc=function(a,y,E){E=a.Df()*E.scale,0>=E&&(E=1);var x=a.gridCellSize,b=x.width;x=x.height;var z=a.naturalBounds,ne=a.actualBounds,re=z.width,oe=z.height,he=Math.ceil(re/b),fe=Math.ceil(oe/x),Se=a.gridOrigin,Te=Se.x;Se=Se.y,y.save(),y.beginPath(),y.rect(0,0,re,oe),y.clip(),y.Se();for(var Ne=[],Be=a.O.s,We=Be.length,vt=0;vt<We;vt++){var ct=Be[vt],wt=[];if(Ne.push(wt),ct.visible){var Tt=ct.interval;if(!(0>Tt)){ct=yv(ct.figure);for(var kt=0;kt<We;kt++)if(kt!==vt){var Bt=Be[kt];Bt.visible&&yv(Bt.figure)===ct&&(Bt=Bt.interval,Bt>Tt&&wt.push(Bt))}}}}for(Be=a.O.s,We=Be.length,vt=0;vt<We;vt++){var en=Be[vt];if(en.visible&&(wt=en.interval||1,ct=Math.abs(wt),!(2>b*ct*E))){if(Tt=en.segmentIndex,(!isFinite(Tt)||isNaN(Tt))&&(Tt=0),0>Tt&&(Tt=ct-Math.min(-Tt,ct)),Tt=Math.round(Tt%ct),ct=en.opacity,kt=1,ct!==1){if(ct===0)continue;kt=y.globalAlpha,y.globalAlpha=kt*ct}Bt=Ne[vt];var pi=!1,ki=en.strokeDashArray;if(ki!==null&&(pi=!0,y.js(ki,en.strokeDashOffset)),en.figure==="LineV"&&en.stroke!==null&&0<en.strokeWidth){for(y.lineWidth=en.strokeWidth,Ja(a,y,en.stroke,!1,!1,z,ne),y.beginPath(),ki=en=Math.floor((Te-b)/b);ki<=en+he;ki++){var Ti=ki*b+Te;0<=Ti&&Ti<=re&&Pm(ki,wt,Tt,Bt)&&(y.moveTo(Ti,0),y.lineTo(Ti,oe))}y.stroke(),y.Se()}else if(en.figure==="LineH"&&en.stroke!==null&&0<en.strokeWidth){for(y.lineWidth=en.strokeWidth,Ja(a,y,en.stroke,!1,!1,z,ne),y.beginPath(),ki=en=Math.floor((Se-x)/x);ki<=en+fe;ki++)Ti=ki*x+Se,0<=Ti&&Ti<=oe&&Pm(ki,wt,Tt,Bt)&&(y.moveTo(0,Ti),y.lineTo(re,Ti));y.stroke(),y.Se()}else if(en.figure==="BarV"&&en.fill!==null)for(Ja(a,y,en.fill,!0,!1,z,ne),en=en.width,isNaN(en)&&(en=b),Ti=ki=Math.floor((Te-b)/b);Ti<=ki+he;Ti++){var qn=Ti*b+Te;0<=qn+en&&qn<=re&&Pm(Ti,wt,Tt,Bt)&&y.fillRect(qn,0,en,oe)}else if(en.figure==="BarH"&&en.fill!==null)for(Ja(a,y,en.fill,!0,!1,z,ne),en=en.height,isNaN(en)&&(en=x),Ti=ki=Math.floor((Se-x)/x);Ti<=ki+fe;Ti++)qn=Ti*x+Se,0<=qn+en&&qn<=oe&&Pm(Ti,wt,Tt,Bt)&&y.fillRect(0,qn,re,en);pi&&y.fs(),ct!==1&&(y.globalAlpha=kt)}}y.restore(),y.Vc(!1)};function Pm(a,y,E,x){if(0>y)return a%y===E;if(a%y!==E)return!1;y=x.length;for(var b=0;b<y;b++)if(a%x[b]===E)return!1;return!0}function Nm(){this.xa="Base"}Kt(Nm,Cs),Nm.prototype.measure=function(a,y,E,x,b){var z=x.length;if(a instanceof Eo||a instanceof $n){var ne=null,re=null;if(a instanceof $n&&(ne=a),a instanceof Eo&&(re=a,ne=re.adornedPart,a.j===null&&(a.j=[])),ne instanceof $n){var oe=ne;if(z===0)qo(a.naturalBounds,0,0),a.measuredBounds.h(0,0,0,0);else{var he=a instanceof Eo?null:ne.path;y=ne.routeBounds,E=a.jg,E.h(0,0,y.width,y.height);var fe=oe.points,Se=ne.pointsCount;re!==null?re.Ul(!1):ne!==null&&ne.Ul(!1),re=y.width;var Te=y.height,Ne=a.j;if(Ne.length=0,he!==null){aS(a,re,Te,he);var Be=he.measuredBounds;E.ed(Be),Ne.push(Be)}Be=cr.alloc();for(var We=st.alloc(),vt=st.alloc(),ct=0;ct<z;ct++){var wt=x[ct];if(wt!==he)if(wt.isPanelMain&&wt instanceof kr){aS(a,re,Te,wt);var Tt=wt.measuredBounds;E.ed(Tt),Ne.push(Tt)}else if(2>Se)wt.measure(1/0,1/0,0,0),Tt=wt.measuredBounds,E.ed(Tt),Ne.push(Tt);else{var kt=wt.segmentIndex,Bt=wt.segmentFraction,en=wt.alignmentFocus;en.Mc()&&(en=Yr);var pi=wt.segmentOrientation,ki=wt.segmentOffset;if(isNaN(kt)){var Ti=oe.ua;Tt=Vi(),Ti.Qu(Bt,Tt);var qn=st.allocAt(Tt[0],Tt[1]);if(qn.add(oe.i(0)),Ti.type===Jn.j?qn.offset(-Ti.startX,-Ti.startY):(Ti=Ti.figures.first(),Ti!==null&&qn.offset(-Ti.startX,-Ti.startY)),Ti=Tt[2],pi!==Ll){var kn=oe.computeAngle(wt,pi,Ti);wt.Kb=kn}kn=qn.x-y.x;var Er=qn.y-y.y;st.free(qn),Qi(Tt)}else if(kt<-Se||kt>=Se)Tt=st.alloc(),oe.vg(),oe.computeMidPoint(Tt),Ti=oe.midAngle,pi!==Ll&&(kn=oe.computeAngle(wt,pi,Ti),wt.Kb=kn),kn=Tt.x-y.x,Er=Tt.y-y.y,st.free(Tt);else{if(kn=0,0<=kt?(Er=fe.M(kt),Tt=kt<Se-1?fe.M(kt+1):Er):(kn=Se+kt,Er=fe.M(kn),Tt=0<kn?fe.M(kn-1):Er),Er.Xa(Tt)){0<=kt?(Ti=0<kt?fe.M(kt-1):Er,kn=kt<Se-2?fe.M(kt+2):Tt):(Ti=kn<Se-1?fe.M(kn+1):Er,kn=1<kn?fe.M(kn-2):Tt),qn=Ti.Bf(Er);var gr=Tt.Bf(kn);Ti=qn>gr+10?0<=kt?Ti.ab(Er):Er.ab(Ti):gr>qn+10?0<=kt?Tt.ab(kn):kn.ab(Tt):0<=kt?Ti.ab(kn):kn.ab(Ti)}else Ti=0<=kt?Er.ab(Tt):Tt.ab(Er);pi!==Ll&&(kn=oe.computeAngle(wt,pi,Ti),wt.Kb=kn),kn=Er.x+(Tt.x-Er.x)*Bt-y.x,Er=Er.y+(Tt.y-Er.y)*Bt-y.y}wt.measure(1/0,1/0,0,0),Tt=wt.measuredBounds,qn=wt.naturalBounds;var Ao=0;wt instanceof kr&&(Ao=wt.strokeWidth),gr=qn.width+Ao;var na=qn.height+Ao;Be.reset(),Be.translate(-Tt.x,-Tt.y),Be.scale(wt.scale,wt.scale),Be.rotate(pi===Ll?wt.angle:Ti,gr/2,na/2),pi!==Tp&&pi!==Pp||Be.rotate(90,gr/2,na/2),pi!==Ap&&pi!==Np||Be.rotate(-90,gr/2,na/2),pi===r0&&(45<Ti&&135>Ti||225<Ti&&315>Ti)&&Be.rotate(-Ti,gr/2,na/2),qn=new an(0,0,gr,na),We.xi(qn,en),Be.Ga(We),en=-We.x+Ao/2*wt.scale,wt=-We.y+Ao/2*wt.scale,vt.assign(ki),Ao=isNaN(ki.x);var Ls=isNaN(ki.y);if(Ao||Ls){gr=gr/2+3,na=na/2+3;var Fs=45<=Ti&&135>=Ti,Sl=225<=Ti&&315>=Ti;pi===Ll&&(Fs||Sl)?(vt.x=Ls?gr:ki.y,vt.y=Ao?na:ki.x,Fs?0<=kt||isNaN(kt)&&.5>Bt||!Ao||(vt.y=-na):Sl&&((0<=kt||isNaN(kt)&&.5>Bt)&&Ao&&(vt.y=-na),Ls&&(vt.x=-gr))):(Ao&&(vt.x=0<=kt||isNaN(kt)&&.5>Bt?gr:-gr),Ls&&(vt.y=-na),vt.rotate(Ti))}else vt.rotate(Ti);kn+=vt.x,Er+=vt.y,qn.set(Tt),qn.h(kn+en,Er+wt,Tt.width,Tt.height),Ne.push(qn),E.ed(qn)}}if(ne!==null)for(x=ne.labelNodes;x.next();)x.value.measure(1/0,1/0);a.jg=E,a.position.h(y.x+E.x,y.y+E.y),qo(b,E.width||0,E.height||0),cr.free(Be),st.free(We),st.free(vt)}}}},Nm.prototype.arrange=function(a,y){var E=y.length;if(a instanceof Eo||a instanceof $n){var x=a,b=null;a instanceof Eo&&(b=a,x=b.adornedPart);var z=a instanceof Eo?null:x.path,ne=a.j;if(ne.length!==0){var re=0;if(z!==null&&re<ne.length){var oe=ne[re];re++,z.arrange(oe.x-a.jg.x,oe.y-a.jg.y,oe.width,oe.height)}for(oe=0;oe<E;oe++){var he=y[oe];if(he!==z&&re<ne.length){var fe=ne[re];re++,he.arrange(fe.x-a.jg.x,fe.y-a.jg.y,fe.width,fe.height)}}}if(y=x.points,E=y.count,2<=E&&a instanceof $n)for(z=a.labelNodes;z.next();){var Se=a;ne=z.value,re=ne.segmentIndex,oe=ne.segmentFraction;var Te=ne.alignmentFocus;if(he=ne.segmentOrientation,fe=ne.segmentOffset,isNaN(re)){var Ne=Se.ua,Be=Vi();Ne.Qu(oe,Be);var We=st.allocAt(Be[0],Be[1]);We.add(Se.i(0)),Ne.type===Jn.j||(Ne=Ne.figures.first()),We.offset(-Ne.startX,-Ne.startY),Ne=Be[2],he!==Ll&&(Se=Se.computeAngle(ne,he,Ne),ne.angle=Se),Se=We.x;var vt=We.y;st.free(We),Qi(Be)}else if(re<-E||re>=E)Be=st.alloc(),Ne=Se,vt=Be,Ne.vg(),Ne.computeMidPoint(vt),Ne=Se.midAngle,he!==Ll&&(Se=Se.computeAngle(ne,he,Ne),ne.angle=Se),Se=Be.x,vt=Be.y,st.free(Be);else{if(We=0,0<=re?(Be=y.s[re],vt=re<E-1?y.s[re+1]:Be):(We=E+re,Be=y.s[We],vt=0<We?y.s[We-1]:Be),Be.Xa(vt)){0<=re?(Ne=0<re?y.s[re-1]:Be,We=re<E-2?y.s[re+2]:vt):(Ne=We<E-1?y.s[We+1]:Be,We=1<We?y.s[We-2]:vt);var ct=Ne.Bf(Be),wt=vt.Bf(We);Ne=ct>wt+10?0<=re?Ne.ab(Be):Be.ab(Ne):wt>ct+10?0<=re?vt.ab(We):We.ab(vt):0<=re?Ne.ab(We):We.ab(Ne)}else Ne=0<=re?Be.ab(vt):vt.ab(Be);he!==Ll&&(Se=Se.computeAngle(ne,he,Ne),ne.angle=Se),Se=Be.x+(vt.x-Be.x)*oe,vt=Be.y+(vt.y-Be.y)*oe}if(Te.ys())ne.location=new st(Se,vt);else{Te.Mc()&&(Te=Yr),Be=cr.alloc(),Be.reset(),Be.scale(ne.scale,ne.scale),Be.rotate(ne.angle,0,0);var Tt=ne.naturalBounds;We=an.allocAt(0,0,Tt.width,Tt.height),ct=st.alloc(),ct.xi(We,Te),Be.Ga(ct),Te=-ct.x,wt=-ct.y;var kt=Tt.width,Bt=Tt.height;Tt=st.alloc(),Tt.assign(fe);var en=isNaN(fe.x),pi=isNaN(fe.y);if(en||pi){kt=kt/2+3,Bt=Bt/2+3;var ki=45<=Ne&&135>=Ne,Ti=225<=Ne&&315>=Ne;he===Ll&&(ki||Ti)?(Tt.x=pi?kt:fe.y,Tt.y=en?Bt:fe.x,ki?0<=re||isNaN(re)&&.5>oe||!en||(Tt.y=-Bt):Ti&&((0<=re||isNaN(re)&&.5>oe)&&en&&(Tt.y=-Bt),pi&&(Tt.x=-kt))):(en&&(Tt.x=0<=re||isNaN(re)&&.5>oe?kt:-kt),pi&&(Tt.y=-Bt),Tt.rotate(Ne))}else Tt.rotate(Ne);Se+=Tt.x,vt+=Tt.y,Be.pp(We),Te+=We.x,wt+=We.y,re=st.allocAt(Se+Te,vt+wt),ne.move(re),st.free(re),st.free(Tt),st.free(ct),an.free(We),cr.free(Be)}}b!==null?b.Ul(!1):x.Ul(!1),x=FS(a),a.location.h(a.position.x+x.x,a.position.y+x.y),st.free(x)}};function aS(a,y,E,x){if(Tu(x)!==!1){var b=x.strokeWidth;b===0&&a instanceof Eo&&a.type===Yn.Link&&a.adornedObject instanceof kr&&(b=a.adornedObject.strokeWidth),b*=x.Ca,a instanceof $n&&a.ua!==null?(a=a.geometry.bounds,x.Ge(a.x-b/2,a.y-b/2,a.width+b,a.height+b)):a instanceof Eo&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,x.Ge(a.x-b/2,a.y-b/2,a.width+b,a.height+b)):x.Ge(-(b/2),-(b/2),y+b,E+b),b=x.desiredSize,b.w()||x.ua===null?x.dc.h(0,0,b.width,b.height):x.dc.assign(x.ua.bounds),Es(x,!1)}}function fp(){this.xa="Base"}Kt(fp,Cs),fp.prototype.measure=function(a,y,E,x,b,z,ne){var re=a.Pb();a.graduatedBounds=[];var oe=re.margin,he=oe.right+oe.left,fe=oe.top+oe.bottom;re.measure(y,E,z,ne);var Se=re.measuredBounds,Te=new an(-oe.left,-oe.top,Math.max(Se.width+he,0),Math.max(Se.height+fe,0));a.graduatedBounds.push(Te),b.assign(Te);for(var Ne=re.geometry,Be=re.strokeWidth,We=Ne.flattenedSegments,vt=Ne.flattenedLengths,ct=Ne.flattenedTotalLength,wt=We.length,Tt=0,kt=0,Bt=Vi(),en=0;en<wt;en++){var pi=We[en],ki=[];kt=Tt=0;for(var Ti=pi.length,qn=0;qn<Ti;qn+=2){var kn=pi[qn],Er=pi[qn+1];if(qn!==0){var gr=180*Math.atan2(Er-kt,kn-Tt)/Math.PI;0>gr&&(gr+=360),ki.push(gr)}Tt=kn,kt=Er}Bt.push(ki)}if(a.graduatedIntervals===null){for(var Ao=[],na=a.O.s,Ls=na.length,Fs=0;Fs<Ls;Fs++){var Sl=na[Fs],ks=[];if(Ao.push(ks),Sl.visible){var Jd=Sl.interval;if(!(0>Jd)){for(var ds=0;ds<Ls;ds++)if(ds!==Fs){var Ic=na[ds];if(Ic.visible&&Sl.constructor===Ic.constructor){var El=Ic.interval;El>Jd&&ks.push(El)}}}}}a.graduatedIntervals=Ao}var qd=a.graduatedIntervals,Lu=a.O.s,rc=Lu.length,hu=0,nu=0,Nh=ct;a.graduatedMarks=[];for(var Mc,Dg=0;Dg<rc;Dg++){var fu=Lu[Dg];if(Mc=[],fu.visible&&fu!==re){var xl=Math.abs(fu.interval),qp=a.graduatedTickUnit;if(!(2>qp*xl*ct/a.graduatedRange&&fu.graduatedSkip===null)){var Uf=vt[0][0],Zc=0,iu=0;nu=ct*fu.graduatedStart-1e-4,Nh=ct*fu.graduatedEnd+1e-4;var sf=qp*xl,gu=a.graduatedTickBase;if(gu<a.graduatedMin){var Lh=(a.graduatedMin-gu)/sf;Lh=Lh%1===0?Lh:Math.floor(Lh+1),gu+=Lh*sf}else gu>a.graduatedMin+sf&&(gu-=Math.floor((gu-a.graduatedMin)/sf)*sf);for(var Y0=qd[Dg],$p=gu,Gy=1e-6*a.graduatedMax,cd=1;gu<=a.graduatedMax+Gy;cd++){e:{for(var Ad=Y0.length,Hf=0;Hf<Ad;Hf++){var kh=(gu-a.graduatedTickBase)%(Y0[Hf]*a.graduatedTickUnit),Fg=1e-6*a.graduatedTickUnit;if(kh<Fg&&kh>-Fg){var Ih=!1;break e}}Ih=!0}if(Ih&&(gu>a.graduatedMax&&(gu=a.graduatedMax),fu.graduatedSkip===null||fu instanceof oa&&!fu.graduatedSkip(gu,fu)||fu instanceof kr&&!fu.graduatedSkip(gu,fu))&&(hu=(gu-a.graduatedMin)*ct/a.graduatedRange,hu>ct&&(hu=ct),nu<=hu&&hu<=Nh)){for(var dd=Bt[Zc][iu],$d=vt[Zc][iu];Zc<vt.length;){for(;hu>Uf&&iu<vt[Zc].length-1;)iu++,dd=Bt[Zc][iu],$d=vt[Zc][iu],Uf+=$d;if(hu<=Uf)break;Zc++,iu=0,dd=Bt[Zc][iu],$d=vt[Zc][iu],Uf+=$d}var ru=We[Zc],Xc=ru[2*iu],K0=ru[2*iu+1],Pd=(hu-(Uf-$d))/$d,Bg=new st(Xc+(ru[2*iu+2]-Xc)*Pd+Be/2-Ne.bounds.x,K0+(ru[2*iu+3]-K0)*Pd+Be/2-Ne.bounds.y);Bg.scale(re.scale,re.scale);e:{var Rc=dd,lf=Bt[Zc];if(!(.5005>Pd&&.4995<Pd)){var Qc=Rc;if(.5>Pd?0<iu?Qc=lf[iu-1]:Ht.$(ru[0],ru[ru.length-2])&&Ht.$(ru[1],ru[ru.length-1])&&(Qc=lf[lf.length-1]):.5<Pd&&(iu+1<lf.length?Qc=lf[iu+1]:Ht.$(ru[0],ru[ru.length-2])&&Ht.$(ru[1],ru[ru.length-1])&&(Qc=lf[0])),Rc!==Qc){var zf=Math.abs(Rc-Qc);if(180<zf&&(Rc<Qc?Rc+=360:Qc+=360,zf=Math.abs(Rc-Qc)),5e-4>Pd||.9995<Pd){dd=(Rc+Qc)/2%360;break e}if(10>zf){var _g=1-Math.abs(.5-Pd);dd=(Rc*_g+Qc*(1-_g))%360;break e}}}dd=Rc}if(fu instanceof oa){var xc="";fu.graduatedFunction!==null?(xc=fu.graduatedFunction(gu,fu),xc=xc!=null?xc.toString():""):xc=(+gu.toFixed(2)).toString(),xc!==""&&Mc.push({$l:Bg,angle:dd,text:xc})}else Mc.push({$l:Bg,angle:dd})}gu=$p+cd*sf}}}a.graduatedMarks.push(Mc)}Qi(Bt);var Ws=a.graduatedMarks;if(Ws!==null)for(var em=x.length,Ol=0;Ol<em;Ol++){var hs=x[Ol],Dl=Ws[Ol];if(hs.visible&&hs!==re&&Dl.length!==0){if(hs instanceof kr){var Nd=a,eh=b,uf=hs.alignmentFocus;uf.Mc()&&(uf=fs);var Wy=hs.angle;hs.Kb=0,hs.measure(1/0,1/0,0,0),hs.Kb=Wy;var Z0=hs.measuredBounds,Ug=Z0.width,cf=Z0.height,jf=an.allocAt(0,0,Ug,cf),ou=st.alloc();ou.xi(jf,uf),an.free(jf);for(var Ld=-ou.x,Oc=-ou.y,Vu=new an,Mh=Dl.length,Hg=0;Hg<Mh;Hg++)for(var Rh=Dl[Hg],X0=Rh.$l.x,zg=Rh.$l.y,es=Rh.angle,bc=0;4>bc;bc++){switch(bc){case 0:ou.h(Ld,Oc);break;case 1:ou.h(Ld+Ug,Oc);break;case 2:ou.h(Ld,Oc+cf);break;case 3:ou.h(Ld+Ug,Oc+cf)}ou.rotate(es+hs.angle),ou.offset(X0,zg),Hg===0&&bc===0?Vu.h(ou.x,ou.y,0,0):Vu.Ye(ou),ou.offset(-X0,-zg),ou.rotate(-es-hs.angle)}st.free(ou),Nd.graduatedBounds!==null&&Nd.graduatedBounds.push(Vu),Co(eh,Vu.x,Vu.y,Vu.width,Vu.height)}else if(hs instanceof oa){var oc=a,Q0=b;oc.temporaryTextBlock===null&&(oc.temporaryTextBlock=new oa);var pu=oc.temporaryTextBlock;xS(pu,hs);var th=hs.alignmentFocus;th.Mc()&&(th=fs);for(var ac=hs.segmentOrientation,jg=hs.segmentOffset,Oh=new an,tm=0,Gg=0,Jc=0,df=0,Dh=0,Wg=Dl.length,nh=0;nh<Wg;nh++){var hd=Dl[nh];tm=hd.$l.x,Gg=hd.$l.y,Jc=hd.angle,Dh=df=hs.angle,ac!==Ll&&(Dh=ac===Cp||ac===i0?Jc+hs.angle:Jc,df=$n.computeAngle(ac,Dh)),pu.Kb=df,pu.text=hd.text||"",pu.measure(1/0,1/0,0,0);var ih=pu.measuredBounds,kd=pu.naturalBounds,rh=kd.width,hf=kd.height,Dc=cr.alloc();Dc.reset(),Dc.translate(-ih.x,-ih.y),Dc.scale(pu.scale,pu.scale),Dc.rotate(Dh,rh/2,hf/2),ac!==Tp&&ac!==Pp||Dc.rotate(90,rh/2,hf/2),ac!==Ap&&ac!==Np||Dc.rotate(-90,rh/2,hf/2),ac===r0&&(45<Jc&&135>Jc||225<Jc&&315>Jc)&&Dc.rotate(-Jc,rh/2,hf/2);var Gf=an.allocAt(0,0,rh,hf),oh=st.alloc();oh.xi(Gf,th),Dc.Ga(oh);var Wf=-oh.x,Vy=-oh.y,Id=st.alloc();Id.assign(jg),isNaN(Id.x)&&(Id.x=rh/2+3),isNaN(Id.y)&&(Id.y=-(hf/2+3)),Id.rotate(Jc),tm+=Id.x+Wf,Gg+=Id.y+Vy;var ff=new an(tm,Gg,ih.width,ih.height),nm=new an(ih.x,ih.y,ih.width,ih.height),Yy=new an(kd.x,kd.y,kd.width,kd.height);hd.Sz=df,hd.lineCount=pu.lineCount,hd.lines=[pu.Cb,pu.Ih,pu.df,pu.Le,pu.Qc,pu.Qb,pu.ze],hd.actualBounds=ff,hd.measuredBounds=nm,hd.naturalBounds=Yy,nh===0?Oh.assign(ff):Oh.ed(ff),st.free(Id),st.free(oh),an.free(Gf),cr.free(Dc)}oc.graduatedBounds!==null&&oc.graduatedBounds.push(Oh),Co(Q0,Oh.x,Oh.y,Oh.width,Oh.height)}Es(hs,!1)}}},fp.prototype.arrange=function(a,y,E){if(a.graduatedBounds!==null){var x=a.Pb(),b=a.graduatedMarks;if(b!==null){var z=a.graduatedBounds,ne=0,re=z[ne];ne++,x!==null&&x.arrange(re.x-E.x,re.y-E.y,re.width,re.height);for(var oe=y.length,he=0;he<oe;he++){var fe=y[he];re=b[he],fe.visible&&fe!==x&&re.length!==0&&(re=z[ne],ne++,fe.arrange(re.x-E.x,re.y-E.y,re.width,re.height))}a.graduatedBounds=null}}},fp.prototype.gc=function(a,y,E){var x=E.$i;E.$i=!0;var b=a.naturalBounds,z=b.width,ne=b.height;b=y instanceof uu,y.save(),y.beginPath(),y.rect(-1,-1,z+1,ne+1),y.clip(),y.Se(),z=a.Pb(),z.gc(y,E),ne=a.Df()*E.scale,0>=ne&&(ne=1);for(var re=z.actualBounds,oe=a.O.s,he=a.graduatedMarks,fe=oe.length,Se=0;Se<fe;Se++){var Te=oe[Se],Ne=he[Se],Be=Ne.length;if(Te.visible&&Te!==z&&Ne.length!==0){if(Te instanceof kr){if(!(2>a.graduatedTickUnit*Te.interval*z.geometry.flattenedTotalLength/a.graduatedRange*ne&&Te.graduatedSkip===null)){var We=Te.measuredBounds,vt=Te.strokeWidth*Te.scale,ct=Te.alignmentFocus;ct.Mc()&&(ct=fs);for(var wt=0;wt<Be;wt++){var Tt=Ne[wt].$l,kt=Ne[wt].angle,Bt=ct,en=Te.Ab;en.reset(),en.translate(Tt.x+re.x,Tt.y+re.y),en.rotate(kt+Te.angle,0,0),en.translate(-We.width*Bt.x+Bt.offsetX+vt/2,-We.height*Bt.y+Bt.offsetY+vt/2),en.scale(Te.scale,Te.scale),$u(Te,!1),Te.wh.set(Te.Ab),Te.Kk=Te.scale,_u(Te,!1),Te.gc(y,E),b&&(a.svg.appendChild(Te.svg),Te.svg=null),Te.Ab.reset()}}}else if(Te instanceof oa)for(a.temporaryTextBlock===null&&(a.temporaryTextBlock=new oa),We=a.temporaryTextBlock,xS(We,Te),vt=0;vt<Be;vt++)ct=Ne[vt],ct.actualBounds&&ct.measuredBounds&&ct.naturalBounds&&(We.ec=ct.text||"",We.Kb=ct.Sz||0,We.Gc=ct.lineCount||0,wt=ct.lines,wt!==void 0&&(We.Cb=wt[0],We.Ih=wt[1],We.df=wt[2],We.Le=wt[3],We.Qc=wt[4],We.Qb=wt[5],We.ze=wt[6]),ct.naturalBounds&&(We.dc=ct.naturalBounds),ct.actualBounds&&(wt=ct.actualBounds,We.arrange(wt.x,wt.y,wt.width,wt.height)),wt=ct.actualBounds,We.arrange(wt.x,wt.y,wt.width,wt.height),Tt=ct.measuredBounds,ct=ct.naturalBounds,kt=We.Ab,kt.reset(),kt.translate(wt.x+re.x,wt.y+re.y),kt.translate(-Tt.x,-Tt.y),We.no(kt,ct.x,ct.y,ct.width,ct.height),$u(We,!1),We.wh.set(We.Ab),We.Kk=We.scale,_u(We,!1),We.Ng=Te.part,We.Me=Te.panel,We.gc(y,E),We.Me=null,We.Ng=null,b&&(a.svg.appendChild(We.svg),We.svg=null))}}E.$i=x,y.restore(),y.Vc(!0)};function Yn(a,y){if(Ut.call(this),this.na=null,a===void 0)this.na=Yn.Position;else if(typeof a=="string"){var E=pc.I(a);E!==null&&(this.na=E)}else a instanceof Cs?this.na=a:a&&(this.na=Yn.Position,y=a);this.na===null&&tn("Panel type not specified or PanelLayout not loaded: "+a),this.l=this.l|4194304|(this.na===Yn.Grid?1048576:0),this.O=new Qn,this.yb=ga,this.Tm=$a,this.Uf=Ar,this.$g=null,this.$e="",this.jg=new an(NaN,NaN,NaN,NaN),this.T=this.F=null,this.xo=Bi,this.jn=qr,this.kn=br,this.ub=this.ra=null,this.zn=NaN,this.ge=this.Hh=null,y&&Object.assign(this,y)}Kt(Yn,Ut),Yn.prototype.cloneProtected=function(a){Ut.prototype.cloneProtected.call(this,a),a.na=this.na,a.yb=this.yb.J(),a.Tm=this.Tm.J(),a.Uf=this.Uf,a.$e=this.$e,a.jg.assign(this.jg),this.T!==null&&(a.T=this.T.copy(a)),a.xo=this.xo,a.jn=this.jn.J(),a.kn=this.kn.J(),this.ra!==null&&(a.ra=this.ra.copy()),a.ub=this.ub,a.zn=this.zn,a.Hh=this.Hh},Yn.prototype.Af=function(a){Ut.prototype.Af.call(this,a),a.O=this.O;for(var y=a.O.s,E=y.length,x=0;x<E;x++)y[x].Me=a;a.$g=null},Yn.prototype.copy=function(){var a=Ut.prototype.copy.call(this);if(a!==null){for(var y=this.O.s,E=y.length,x=0;x<E;x++){var b=y[x].copy();b.wi(a),b.Ng=null;var z=a.O,ne=z.count;if(z.Gb(ne,b),z=a.part,z!==null){z.Rh=null,b.portId!==null&&z instanceof yi&&(z.Te=!0);var re=a.diagram;re!==null&&re.undoManager.isUndoingRedoing||z.cb(Oa,"elements",a,null,b,null,ne)}}return a}return null},Ie=Yn.prototype,Ie.toString=function(){return"Panel("+this.type.name+")#"+Lt(this)},Ie.Pn=function(a){Ut.prototype.Pn.call(this,a);for(var y=this.O.s,E=y.length,x=0;x<E;x++)y[x].Pn(a)},Ie.hh=function(a,y){if(this.na===Yn.Grid)a.yc(),this.na.gc(this,a,y);else if(this.na===Yn.Graduated)a.yc(),this.na.gc(this,a,y);else{if(this.na===Yn.Table)if(a.yc(),a instanceof uu){var E=a.yd;a.yd=pm(a,"gojs-ts"),vv(this,a),a.nh.pop(),a.yd=E}else vv(this,a);(E=this.isClipping&&this.na===Yn.Spot)&&a.save();for(var x=this.Pb(),b=this.O.s,z=b.length,ne=0;ne<z;ne++){var re=b[ne];E&&re===x&&(a.clipInsteadOfFill=!0),re.gc(a,y),E&&re===x&&(a.clipInsteadOfFill=!1)}E&&(a.restore(),a.Vc(!0))}};function vv(a,y){y.lineCap="butt";var E=0<a.rowCount?a.rowDefs:null,x=0<a.columnCount?a.colDefs:null;E!==null&&Lm(a,y,!0,E,!0),x!==null&&Lm(a,y,!1,x,!0),E!==null&&sS(a,y,!0,E),x!==null&&sS(a,y,!1,x),E!==null&&Lm(a,y,!0,E,!1),x!==null&&Lm(a,y,!1,x,!1)}function sS(a,y,E,x){for(var b=x.length,z=a.actualBounds,ne=a.naturalBounds,re=!0,oe=0;oe<b;oe++){var he=x[oe];if(he!==void 0&&he.actual!==0)if(re)re=!1;else{if(E){if(he.position>ne.height)continue}else if(he.position>ne.width)continue;var fe=he.separatorStrokeWidth;isNaN(fe)&&(fe=E?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Se=he.separatorStroke;if(Se===null&&(Se=E?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),fe!==0&&Se!==null){Ja(a,y,Se,!1,!1,ne,z),Se=!1;var Te=he.separatorDashArray;Te===null&&(Te=E?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),Te!==null&&(Se=!0,y.js(Te,0)),y.beginPath(),Te=he.position+fe,E?Te>ne.height&&(fe-=Te-ne.height):Te>ne.width&&(fe-=Te-ne.width),he=he.position+fe/2,y.lineWidth=fe,fe=a.yb,E?(he+=fe.top,Te=ne.width-fe.right,y.moveTo(fe.left,he),y.lineTo(Te,he)):(he+=fe.left,Te=ne.height-fe.bottom,y.moveTo(he,fe.top),y.lineTo(he,Te)),y.stroke(),y.Se(),Se&&y.fs()}}}}function Lm(a,y,E,x,b){for(var z=x.length,ne=a.actualBounds,re=a.naturalBounds,oe=lS(a,!0),he=lS(a,!1),fe=0;fe<z;fe++){var Se=x[fe];if(Se!==void 0&&Se.background!==null&&Se.coversSeparators!==b&&Se.actual!==0){var Te=E?ne.height:ne.width;if(!(Se.position>Te)){var Ne=Se.Wc(),Be=Se.separatorStrokeWidth;isNaN(Be)&&(Be=E?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var We=Se.separatorStroke;We===null&&(We=E?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(We===null||Se.index===(E?oe:he))&&(Be=0),Ne-=Be,Be=Se.position+Be,Ne+=Se.actual,Be+Ne>Te&&(Ne=Te-Be),0>=Ne||(Te=a.yb,Ja(a,y,Se.background,!0,!1,re,ne),E?y.fillRect(Te.left,Be+Te.top,ne.width-(Te.left+Te.right),Ne):y.fillRect(Be+Te.left,Te.top,Ne,ne.height-(Te.top+Te.bottom)))}}}}function lS(a,y){for(var E=y?a.rowCount:a.columnCount,x=0;x<E;x++){var b=y?a.rowDefs[x]:a.colDefs[x];if(b!==void 0)return b.index}return 0}function yv(a){return a==="LineV"||a==="BarV"}Ie.lv=function(){for(var a=this.O.s,y=a.length,E=0;E<y;E++)a[E].lv();this.Uc=!0},Ie.kk=function(a,y,E){if(!Ut.prototype.kk.call(this,a,y,E))return!1;if(this.type===Yn.Table)E=this.svg.getElementsByClassName("gojs-ts"),E=E.length!==0?E[0]:null,E!==null&&(E.innerHTML=""),a.yd=E,vv(this,a),a.yd=null;else if(this.na===Yn.Grid||this.na===Yn.Graduated)return this.svg.innerHTML="",this.svg.remove(),!1;E=this.O.s;for(var x=E.length,b=0;b<x;b++)E[b].gc(a,y);return!0},Ie.nk=function(){return!0},Ie.$o=function(a,y,E,x){if(!this.isClipping)if(this.Dd()&&a.bk!==null){a=a.bk,y=this.O.s;for(var b=0,z=0,ne=0;ne<y.length;ne++)if(y[ne].Ed()){var re=y[ne].actualBounds;b=ne===0?re.x:Math.min(re.x,b),z=ne===0?re.y:Math.min(re.y,z)}x.setAttributeNS(null,"clip-path","path('M "+(a.x-E.x-b)+","+(a.y-E.y-z)+" l "+a.width+" 0 l 0 "+a.height+" l -"+a.width+" 0 z')")}else Ut.prototype.$o.call(this,a,y,E,x)},Ie.Sj=function(a,y,E,x,b){var z=this.se(),ne=this.transform,re=1/(ne.m11*ne.m22-ne.m12*ne.m21),oe=ne.m22*re,he=-ne.m12*re,fe=-ne.m21*re,Se=ne.m11*re,Te=re*(ne.m21*ne.dy-ne.m22*ne.dx),Ne=re*(ne.m12*ne.dx-ne.m11*ne.dy);if(this.areaBackground!==null)return ne=this.actualBounds,Ht.Ff(ne.left,ne.top,ne.right,ne.bottom,a,y,E,x,b);if(this.background!==null)return z=a*oe+y*fe+Te,re=a*he+y*Se+Ne,a=E*oe+x*fe+Te,oe=E*he+x*Se+Ne,b.h(0,0),E=this.naturalBounds,z=Ht.Ff(0,0,E.width,E.height,z,re,a,oe,b),b.transform(ne),z;z||(oe=1,fe=he=0,Se=1,Ne=Te=0),re=a*oe+y*fe+Te,a=a*he+y*Se+Ne,oe=E*oe+x*fe+Te,E=E*he+x*Se+Ne,b.h(oe,E),x=(oe-re)*(oe-re)+(E-a)*(E-a),he=!1,Se=this.O.s,Ne=Se.length,fe=st.alloc(),Te=null,y=1/0;var Be=null,We=this.isClipping&&this.na===Yn.Spot;We&&(Be=st.alloc(),Te=this.Pb(),(he=Te.Sj(re,a,oe,E,Be))&&(y=(re-Be.x)*(re-Be.x)+(a-Be.y)*(a-Be.y)));for(var vt=0;vt<Ne;vt++){var ct=Se[vt];ct.visible&&ct!==Te&&ct.Sj(re,a,oe,E,fe)&&(he=!0,ct=(re-fe.x)*(re-fe.x)+(a-fe.y)*(a-fe.y),ct<x&&(x=ct,b.set(fe)))}return We&&(y>x&&b.set(Be),st.free(Be)),st.free(fe),z&&b.transform(ne),he},Ie.Gj=function(){for(var a=this.O.s,y=a.length,E=0;E<y;E++)a[E].Gj();Ut.prototype.Gj.call(this)},Ie.v=function(a){if(!Tu(this)){Ut.prototype.v.call(this,a),a=null,(this.na===Yn.Auto||this.na===Yn.Link)&&(a=this.Pb());for(var y=this.O.s,E=y.length,x=0;x<E;x++){var b=y[x];if((b===a||b.isPanelMain)&&b.v(!0),!b.desiredSize.w()){var z=jl(b,!1);(b instanceof Nl||b instanceof Yn||b instanceof oa||z!==Rn)&&b.v(!0)}}}},Ie.Uj=function(){if(!Tu(this)){Es(this,!0),$c(this,!0);for(var a=this.O.s,y=a.length,E=0;E<y;E++)a[E].Uj()}},Ie.Uk=function(){if(!(this.l&2048)){$u(this,!0),_u(this,!0);for(var a=this.O.s,y=a.length,E=0;E<y;E++)a[E].Wu()}},Ie.Wu=function(){_u(this,!0);for(var a=this.O.s,y=a.length,E=0;E<y;E++)a[E].Wu()},Ie.Wl=function(a,y,E,x){var b=this.jg;b.h(0,0,0,0);var z=this.desiredSize,ne=this.minSize;E===void 0&&(E=ne.width,x=ne.height),E=Math.max(E,ne.width),x=Math.max(x,ne.height);var re=this.maxSize;isNaN(z.width)||(a=Math.min(z.width,re.width)),isNaN(z.height)||(y=Math.min(z.height,re.height)),a=Math.max(E,a),y=Math.max(x,y);var oe=this.yb;a=Math.max(a-oe.left-oe.right,0),y=Math.max(y-oe.top-oe.bottom,0);var he=this.O.s;he.length!==0&&this.na.measure(this,a,y,he,b,E,x),a=b.width+oe.left+oe.right,oe=b.height+oe.top+oe.bottom,isFinite(z.width)&&(a=z.width),isFinite(z.height)&&(oe=z.height),a=Math.min(re.width,a),oe=Math.min(re.height,oe),a=Math.max(ne.width,a),oe=Math.max(ne.height,oe),a=Math.max(E,a),oe=Math.max(x,oe),qo(b,a,oe),qo(this.naturalBounds,a,oe),this.Ge(0,0,a,oe)},Ie.Pb=function(){if(this.$g===null){var a=this.O.s,y=a.length;if(y===0)return null;for(var E=0;E<y;E++){var x=a[E];if(x.isPanelMain===!0)return this.$g=x}this.$g=a[0]}return this.$g};function wd(a){return a.part!==null?a.part.locationObject:null}Ie.eh=function(a,y,E,x){var b=this.O.s;if(this.actualBounds.h(a,y,E,x),b.length!==0){if(!this.desiredSize.w()){a=jl(this,!0);var z=this.measuredBounds;y=z.width,z=z.height;var ne=this.Kg,re=ne.left+ne.right;switch(ne=ne.top+ne.bottom,y===E&&z===x&&(a=Rn),a){case Rn:(y>E||z>x)&&(this.v(),this.measure(y>E?E:y,z>x?x:z,0,0));break;case zn:this.v(!0),this.measure(E+re,x+ne,0,0);break;case Ui:this.v(!0),this.measure(E+re,z+ne,0,0);break;case nr:this.v(!0),this.measure(y+re,x+ne,0,0)}}this.na.arrange(this,b,this.jg)}},Ie.gh=function(a){var y=this.naturalBounds,E=wd(this);if(Go(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var x=y.length,b=st.allocAt(0,0);x--;){var z=y[x];if((z.visible||z===E)&&(Ir(b.set(a),z.transform),z.ca(b)))return st.free(b),!0}return st.free(b),!(this.Ma===null&&this.areaBackground===null)}return!1},Ie.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,E=y.length,x=0;x<E;x++){var b=y[x].ks(a);if(b!==null)return b}return null},Ie.qm=function(a,y){if(y(this,a),a instanceof Yn){a=a.O.s;for(var E=a.length,x=0;x<E;x++)this.qm(a[x],y)}};function qh(a,y){uS(a,a,y)}function uS(a,y,E){E(y),y=y.O.s;for(var x=y.length,b=0;b<x;b++){var z=y[b];z instanceof Yn&&uS(a,z,E)}}function PE(a,y){cS(a,a,y)}function cS(a,y,E){if(E(y),y instanceof Yn){y=y.O.s;for(var x=y.length,b=0;b<x;b++)cS(a,y[b],E)}}Ie.Nl=function(a){return dS(this,this,a)};function dS(a,y,E){if(E(y))return y;if(y instanceof Yn){y=y.O.s;for(var x=y.length,b=0;b<x;b++){var z=dS(a,y[b],E);if(z!==null)return z}}return null}Ie.fb=function(a){if(this.name===a)return this;var y=this.O.s,E=y.length;this.Hh===null&&this.itemTemplateMap===null||(E=gp(this));for(var x=0;x<E;x++){var b=y[x];if(b instanceof Yn){var z=b.fb(a);if(z!==null)return z}if(b.name===a)return b}return null};function hS(a){a=a.O.s;for(var y=a.length,E=0,x=0;x<y;x++){var b=a[x];b instanceof Yn?E=Math.max(E,hS(b)):b instanceof kr&&(E=Math.max(E,b.ig/2*b.strokeMiterLimit*b.Df()))}return E}Ie.se=function(){return!(this.type===Yn.TableRow||this.type===Yn.TableColumn)};function zd(a){return a.type===Yn.TableRow||a.type===Yn.TableColumn}Ie.ic=function(a,y,E){if(this.pickable===!1||(y===void 0&&(y=null),E===void 0&&(E=null),Al(this)))return null;var x=this.naturalBounds,b=1/this.Df(),z=this.se(),ne=z?a:Ir(st.allocAt(a.x,a.y),this.transform),re=this.diagram,oe=10,he=5;if(re!==null&&(oe=re.Ql("extraTouchArea"),he=oe/2),Go(-(he*b),-(he*b),x.width+oe*b,x.height+oe*b,ne.x,ne.y)){if(!this.isAtomic){b=this.O.s;var fe=b.length;if(re=st.alloc(),he=(oe=this.isClipping&&this.na===Yn.Spot)?this.Pb():null,oe&&(he.se()?Ir(re.set(a),he.transform):re.set(a),!he.ca(re)))return st.free(re),z||st.free(ne),null;for(var Se=wd(this);fe--;){var Te=b[fe];if((Te.visible||Te===Se)&&(Te.se()?Ir(re.set(a),Te.transform):re.set(a),!oe||Te!==he)){var Ne=null;if(Te instanceof Yn?Ne=Te.ic(re,y,E):Te.pickable===!0&&Te.ca(re)&&(Ne=Te),Ne!==null&&(y!==null&&(Ne=y(Ne)),Ne!==null&&(E===null||E(Ne))))return st.free(re),z||st.free(ne),Ne}}st.free(re)}return this.background===null&&this.areaBackground===null?(z||st.free(ne),null):(a=Go(0,0,x.width,x.height,ne.x,ne.y)?this:null,z||st.free(ne),a)}return z||st.free(ne),null},Ie.ji=function(a,y,E,x){if(this.pickable===!1)return!1;y===void 0&&(y=null),E===void 0&&(E=null);var b=this.naturalBounds,z=this.se(),ne=z?a:Ir(st.allocAt(a.x,a.y),this.transform);if(b=Go(0,0,b.width,b.height,ne.x,ne.y),zd(this)||b){if(!this.isAtomic){for(var re=this.O.s,oe=re.length,he=st.alloc(),fe=wd(this);oe--;){var Se=re[oe];if(Se.visible||Se===fe){Se.se()?Ir(he.set(a),Se.transform):he.set(a);var Te=Se;Se=Se instanceof Yn?Se:null,(Se!==null?Se.ji(he,y,E,x):Te.ca(he))&&Te.pickable!==!1&&(y!==null&&(Te=y(Te)),Te===null||E!==null&&!E(Te)||x.add(Te))}}st.free(he)}return z||st.free(ne),b&&(this.background!==null||this.areaBackground!==null)}return z||st.free(ne),!1},Ie.Cf=function(a,y,E,x,b,z){if(this.pickable===!1)return!1;y===void 0&&(y=null),E===void 0&&(E=null);var ne=z;if(z===void 0&&(ne=cr.alloc(),ne.reset()),ne.multiply(this.transform),this.fh(a,ne))return Sv(this,y,E,b),z===void 0&&cr.free(ne),!0;if(this.Yc(a,ne)){if(!this.isAtomic)for(var re=wd(this),oe=this.O.s,he=oe.length;he--;){var fe=oe[he];if(fe.visible||fe===re){var Se=fe.actualBounds,Te=this.naturalBounds;Se.x>Te.width||Se.y>Te.height||0>Se.x+Se.width||0>Se.y+Se.height||(Se=fe,fe=fe instanceof Yn?fe:null,Te=cr.alloc(),Te.set(ne),(fe!==null?fe.Cf(a,y,E,x,b,Te):Ns(Se,a,x,Te))&&(y!==null&&(Se=y(Se)),Se===null||E!==null&&!E(Se)||b.add(Se)),cr.free(Te))}}return z===void 0&&cr.free(ne),x}return z===void 0&&cr.free(ne),!1};function Sv(a,y,E,x){for(var b=a.O.s,z=b.length;z--;){var ne=b[z];if(ne.visible){var re=ne.actualBounds,oe=a.naturalBounds;re.x>oe.width||re.y>oe.height||0>re.x+re.width||0>re.y+re.height||(ne instanceof Yn&&Sv(ne,y,E,x),y!==null&&(ne=y(ne)),ne===null||E!==null&&!E(ne)||x.add(ne))}}}Ie.og=function(a,y,E,x,b,z){if(this.pickable===!1)return!1;E===void 0&&(E=null),x===void 0&&(x=null);var ne=this.naturalBounds,re=this.se(),oe=re?a:Ir(st.allocAt(a.x,a.y),this.transform),he=re?y:Ir(st.allocAt(y.x,y.y),this.transform),fe=oe.Bf(he),Se=0<oe.x&&oe.x<ne.width&&0<oe.y&&oe.y<ne.height||or(oe.x,oe.y,0,0,0,ne.height)<=fe||or(oe.x,oe.y,0,ne.height,ne.width,ne.height)<=fe||or(oe.x,oe.y,ne.width,ne.height,ne.width,0)<=fe||or(oe.x,oe.y,ne.width,0,0,0)<=fe;if(ne=oe.zd(0,0)<=fe&&oe.zd(0,ne.height)<=fe&&oe.zd(ne.width,0)<=fe&&oe.zd(ne.width,ne.height)<=fe,re||(st.free(oe),st.free(he)),Se){if(!this.isAtomic){oe=st.alloc(),he=st.alloc(),fe=wd(this);for(var Te=this.O.s,Ne=Te.length;Ne--;){var Be=Te[Ne];if(Be.visible||Be===fe){var We=Be.actualBounds,vt=this.naturalBounds;(!re||!(We.x>vt.width||We.y>vt.height||0>We.x+We.width||0>We.y+We.height))&&(Be.se()?(We=Be.transform,Ir(oe.set(a),We),Ir(he.set(y),We)):(oe.set(a),he.set(y)),We=Be,Be=Be instanceof Yn?Be:null,(Be!==null?Be.og(oe,he,E,x,b,z):We.tx(oe,he,b))&&(E!==null&&(We=E(We)),We===null||x!==null&&!x(We)||z.add(We)))}}st.free(oe),st.free(he)}return b?Se:ne}return!1};function Ev(a){var y=null;return a instanceof kr&&(y=a.spot1,y===$a&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=ka),y}function xv(a){var y=null;return a instanceof kr&&(y=a.spot2,y===$a&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=ws),y}Ie.add=function(a){for(var y=[],E=0;E<arguments.length;++E)y[E]=arguments[E];for(E=0;E<y.length;E++)this.Gb(this.O.count,y[E]);return this},Ie.M=function(a){return this.O.M(a)},Ie.Gb=function(a,y){y instanceof Ki&&tn("Cannot add a Part to a Panel: "+y+"; use a Panel instead"),(this===y||this.rg(y))&&(this===y&&tn("Cannot make a Panel contain itself: "+this.toString()),tn("Cannot make a Panel indirectly contain itself: "+this.toString()+" already contains "+y.toString()));var E=y.panel;if(E!==null&&E!==this&&tn("Cannot add a GraphObject that already belongs to another Panel to this Panel: "+y.toString()+", already contained by "+E.toString()+", cannot be shared by this Panel: "+this.toString()),this.na!==Yn.Grid||y instanceof kr||tn("Can only add Shapes to a Grid Panel, not: "+y),this.na!==Yn.Graduated||y instanceof kr||y instanceof oa||tn("Can only add Shapes or TextBlocks to a Graduated Panel, not: "+y),y.wi(this),y.Ng=null,this.itemArray!==null){var x=y.data;x!==null&&typeof x=="object"&&(this.ge===null&&(this.ge=new Fn),this.ge.add(x,y))}var b=this.O;if(x=-1,E===this){for(var z=-1,ne=this.O.s,re=ne.length,oe=0;oe<re;oe++)if(ne[oe]===y){z=oe;break}if(z!==-1){if(z===a||z+1>=b.count&&a>=b.count)return;b.mb(z),x=z}else tn("element "+y.toString()+" has panel "+E.toString()+" but is not contained by it.")}(0>a||a>b.count)&&(a=b.count),b.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),Tu(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof Yn&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Im(this,y,!1),E=this.part,E!==null&&(E.Rh=null,E.ag=NaN,this.Te&&E instanceof yi&&(E.Te=!0),E.Te&&E instanceof yi&&(E.wc=null),b=this.diagram,b!==null&&b.undoManager.isUndoingRedoing||(x!==-1&&E.cb(Va,"elements",this,y,null,x,null),E.cb(Oa,"elements",this,null,y,null,a)))};function bv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Ie.remove=function(a){for(var y=this.O.s,E=y.length,x=-1,b=0;b<E;b++)if(y[b]===a){x=b;break}x!==-1&&this.pc(x,!0)},Ie.mb=function(a){0<=a&&this.pc(a,!0)},Ie.pc=function(a,y){var E=this.O,x=E.M(a);if(x.Ng=null,x.wi(null),this.ge!==null){var b=x.data;typeof b=="object"&&this.ge.remove(b)}E.mb(a),Es(this,!1),this.v(),this.$g===x&&(this.$g=null),this.graduatedIntervals=null;var z=this.part;z!==null&&(z.Rh=null,z.ag=NaN,z.Wb(),z instanceof yi&&(x instanceof Yn?x.qm(x,function(ne,re){Vv(z,re,y)}):Vv(z,x,y)),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||z.cb(Va,"elements",this,x,null,a,null))},Ie.Fb=function(a){0>a&&lr(a,">= 0",Yn,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var E=new xs;E.wi(this),E.isRow=!0,E.index=a,y[a]=E,this.cb(Oa,"rowdefs",this,null,E,null,a)}return y[a]},Ie.oA=function(a){if(0>a&&lr(a,">= 0",Yn,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,E=y[a];if(E){y[a]=void 0;for(var x=y.length-1;0<=x&&y[x--]===void 0;)y.length--;this.cb(Va,"rowdefs",this,E,null,a,null),this.v()}}};function fS(a,y,E){var x=a.rowDefs;if(!(0>y)){if(x[y]=E instanceof xs?E:void 0,!E)for(y=x.length-1;0<=y&&x[y--]===void 0;)x.length--;a.v()}}Ie.Eb=function(a){0>a&&lr(a,">= 0",Yn,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var E=new xs;E.wi(this),E.isRow=!1,E.index=a,y[a]=E,this.cb(Oa,"coldefs",this,null,E,null,a)}return y[a]},Ie.jA=function(a){if(0>a&&lr(a,">= 0",Yn,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,E=y[a];if(E){y[a]=void 0;for(var x=y.length-1;0<=x&&y[x--]===void 0;)y.length--;this.cb(Va,"coldefs",this,E,null,a,null),this.v()}}};function gS(a,y,E){var x=a.colDefs;if(!(0>y)){if(x[y]=E instanceof xs?E:void 0,!E)for(y=x.length-1;0<=y&&x[y--]===void 0;)x.length--;a.v()}}Ie.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&Mm(y,a),this},Ie.Hy=function(a,y){return(a=this.Fb(a))&&Mm(a,new xs(y)),this},Ie.By=function(a,y){return(a=this.Eb(a))&&Mm(a,new xs(y)),this},Ie.nz=function(a){if(0>a||this.type!==Yn.Table||this.rowCount===0)return-1;for(var y=0,E=this.rowDefs,x=E.length,b=this.topIndex;b<x;b++){var z=E[b];if(z!==void 0&&(y+=z.total,a<y))break}return b},Ie.fz=function(a){if(0>a||this.type!==Yn.Table||this.columnCount===0)return-1;for(var y=0,E=this.colDefs,x=E.length,b=this.leftIndex;b<x;b++){var z=E[b];if(z!==void 0&&(y+=z.total,a<y))break}return b},Ie.Fz=function(a,y){if(y===void 0&&(y=new st(NaN,NaN)),this.type!==Yn.Graduated)return y.h(NaN,NaN),y;a=Math.min(Math.max(a,this.graduatedMin),this.graduatedMax);var E=this.Pb();return E.geometry.Pu((a-this.graduatedMin)/this.graduatedRange,y),E.transform.Ga(y)},Ie.Gz=function(a){if(this.type!==Yn.Graduated)return NaN;var y=this.Pb();return y.transform.Cd(a),y.geometry.xx(a)*this.graduatedRange+this.graduatedMin};function pS(a){return a=a.allBindings,a!==null&&a._isFrozen}function tc(a){var y=a.allBindings;if(y===null)a.data!==null&&tn("Template cannot have .data be non-null: "+a),a.allBindings=y=new Qn;else if(y._isFrozen)return;var E=new Qn;bv(a,!1),a.qm(a,function(he,fe){fe.th();var Se=fe.localBindings;if(Se!==null)for(Cf(fe,!1),Se=Se.iterator;Se.next();){var Te=Se.value;Te.mode===Fp&&Cf(fe,!0);var Ne=Te.sourceName;Ne!==null&&(Ne==="/"&&bv(he,!0),Ne=k1(Te,he,fe),Ne!==null&&(E.add(Ne),Ne.srcBindings===null&&(Ne.srcBindings=new Qn),Ne.srcBindings.add(Te))),y.add(Te)}if(fe instanceof Yn&&fe.type===Yn.Table){if(0<fe.rowCount){for(he=fe.rowDefs,Se=he.length,Te=0;Te<Se;Te++)if(Ne=he[Te],Ne!==void 0&&Ne.be!==null)for(var Be=Ne.be.iterator;Be.next();){var We=Be.value;We.xd=Ne,We.to=2,We.wl=Ne.index,y.add(We)}}if(0<fe.columnCount){for(fe=fe.colDefs,he=fe.length,Se=0;Se<he;Se++)if(Te=fe[Se],Te!==void 0&&Te.be!==null)for(Ne=Te.be.iterator;Ne.next();)Be=Ne.value,Be.xd=Te,Be.to=1,Be.wl=Te.index,y.add(Be)}}});for(var x=E.iterator;x.next();){var b=x.value;if(b.srcBindings!==null){Cf(b,!0);for(var z=b.srcBindings.iterator;z.next();){var ne=z.value;b.localBindings===null&&(b.localBindings=new Qn),b.localBindings.add(ne)}}b.srcBindings=null}for(x=y.iterator;x.next();)if(b=x.value,z=b.xd,z!==null){b.xd=null;var re=b.targetProperty,oe=re.indexOf(".");0<oe&&z instanceof Yn&&(ne=re.substring(0,oe),re=re.substr(oe+1),oe=z.fb(ne),oe!==null?(z=oe,b.targetProperty=re):Hr('Warning: unable to find GraphObject named "'+ne+'" for Binding: '+b.toString())),z instanceof xs?(ne=Lt(z.panel),b.Ai=ne===void 0?-1:ne,z.panel.bindingId=b.Ai):z instanceof Ut?(ne=Lt(z),b.Ai=ne===void 0?-1:ne,z.bindingId=b.Ai):tn("Unknown type of binding target: "+z)}y.freeze(),a instanceof Ki&&a.Zc()&&a.Va()}Ie.Uy=function(a){a===void 0&&(a=!1);var y=this.copy();return PE(y,function(E){E instanceof Yn&&(E.allBindings=null,E.ub=null);var x=E.localBindings;x!==null&&(E.localBindings=null,x.each(function(b){E.bind(b.copy())})),x=E.animationTriggers,x!==null&&(E.animationTriggers=null,x.each(function(b){E.Jv(b.value.copy())}))}),a&&tc(y),y},Ie.La=function(a){var y=this.allBindings;if(y!==null)for(a===void 0&&(a=""),y=y.iterator;y.next();){var E=y.value,x=E.sourceProperty;if((a===""||x===""||x===a)&&(x=E.targetProperty,E.converter!==null||x!=="")){x=this.data;var b=E.sourceName;if(b!==null){if(b==="")x=this;else if(b==="/")x=this;else if(b===".")x=this;else if(b==="..")x=this;else if(x=this.fb(b),x===null)continue}else if(E.isToModel)if(x=this.diagram,x!==null)x=x.model.modelData;else continue;var z=this,ne=E.Ai;if(ne!==-1){if(z=this.ks(ne),z===null)continue}else E.xd!==null&&(z=E.xd);if(b==="/"?x=z.part:b==="."?x=z:b===".."&&(x=z.panel),b=E.to,b!==0){if(!(z instanceof Yn))continue;b===1?z=z.Eb(E.wl):b===2&&(z=z.Fb(E.wl))}z!==void 0&&E.Mv(z,x)}}},Ie.sx=function(a){return a==null||this.ge===null?null:this.ge.I(a)};function NE(a,y){a=a.O.s;for(var E=a.length,x=y.length,b=0,z=null;b<E&&(z=a[b],!(z instanceof Yn&&z.data!==null));)b++,z=a[b];if(E-b!==x)return!0;if(z===null)return 0<x;for(var ne=0;b<E&&ne<x;){if(z=a[b],!(z instanceof Yn)||z.data!==y[ne])return!0;b++,ne++}return!1}function gp(a){if(a.type===Yn.Spot||a.type===Yn.Auto)return Math.min(a.O.length,1);if(a.type===Yn.Link){a=a.O;for(var y=a.length,E=0;E<y;E++){var x=a.M(E);if(!(x instanceof kr&&x.isPanelMain))break}return E}return a.type===Yn.Table&&0<a.O.length&&(a=a.O.M(0),a.isPanelMain&&a instanceof Yn&&zd(a))?1:0}Ie.mv=function(){for(var a=gp(this);this.O.length>a;)this.pc(this.O.length-1,!1);mS(this,this.itemArray)};function mS(a,y){var E=gp(a);if(y===null||y.length===0)for(;a.O.length>E;)a.pc(a.O.length-1,!1);else if(a.O.length<=E){E=y.length;for(var x=0;x<E;x++)km(a,y[x],x,!0)}else{x=E;for(var b=0;b<y.length;b++,x++){var z=y[b],ne=x<a.O.length?a.O.M(x):null;if(ne instanceof Yn){if(ne.data!==z){var re=Cv(a,ne.data),oe=Cv(a,z),he=oe!==re;he||(re=Tv(a,re),he=Tv(a,oe)!==re),he?(a.pc(x,!1),km(a,z,b,!1)):ne.data=z}}else km(a,z,b,!1)}for(;x<a.O.length;)a.pc(x,!1);a.$g=null,wv(a,E,0),Tu(a)||a.v(),a.graduatedIntervals=null,a.If()||Im(a,a,!1),y=a.part,y!==null&&(y.Rh=null,y.ag=NaN,a.Te&&y instanceof yi&&(y.Te=!0),y.Te&&y instanceof yi&&(y.wc=null))}}function km(a,y,E,x){if(!(y==null||0>E)){var b=Cv(a,y);if(b=Tv(a,b),b!==null){if(tc(b),b=b.copy(),b.l&16777216){var z=a.ih();z!==null&&bv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new Fn),a.ge.add(y,b)),z=E+gp(a),a.Gb(z,b),x&&(b.ub=y,wv(a,z,E),b.ub=null),b.data=y}}}function wv(a,y,E){for(a=a.O;y<a.length;){var x=a.M(y);if(x instanceof Yn){var b=y,z=E;x.type===Yn.TableRow?x.row=b:x.type===Yn.TableColumn&&(x.column=b),x.itemIndex=z}y++,E++}}function Cv(a,y){if(y===null)return"";if(a=a.itemCategoryProperty,typeof a=="function")a=a(y);else if(typeof a=="string"&&typeof y=="object"){if(a==="")return"";a=ls(y,a)}else return"";if(a===void 0)return"";if(typeof a=="string")return a;tn("Panel.getCategoryForItemData found a non-string category for "+y+": "+a)}function Tv(a,y){var E=a.itemTemplateMap,x=null;return E!==null&&(x=E.I(y)),x===null&&(E!==null&&(x=E.I("")),x===null&&(vS||(vS=!0,Hr('No item template Panel found for category "'+y+'" on '+a),Hr(" Using default item template."),a=new Yn,y=new oa,y.bind(new cs("text","",Zr)),a.add(y),yS=a),x=yS)),x}function Im(a,y,E){var x=y.enabledChanged;if(x!==null&&x(y,E),y instanceof Yn){y=y.O.s,x=y.length;for(var b=0;b<x;b++){var z=y[b];E&&z instanceof Yn&&!z.isEnabled||Im(a,z,E)}}}function Yc(a,y){y.name=a,pc.add(a,y)}bn.Object.defineProperties(Yn.prototype,{type:{get:function(){return this.na},set:function(a){var y=this.na;y!==a&&(this.na=a,this.isAtomic=this.na===Yn.Grid,this.v(),this.g("type",y,a))}},elements:{get:function(){return this.O.iterator}},naturalBounds:{get:function(){return this.dc}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"?(0>a&&lr(a,">= 0",Yn,"padding"),a=new Zi(a)):(0>a.left&&lr(a.left,">= 0",Yn,"padding:value.left"),0>a.right&&lr(a.right,">= 0",Yn,"padding:value.right"),0>a.top&&lr(a.top,">= 0",Yn,"padding:value.top"),0>a.bottom&&lr(a.bottom,">= 0",Yn,"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:ga},set:function(a){typeof a=="number"&&(a=new Zi(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new zu),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 Oo)&&(a instanceof Oo&&a.freeze(),this.T===null&&(this.T=new zu),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 zu),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 E=a.length,x=0,b=0;b<E;b++){var z=a[b];typeof z=="number"&&0<=z&&isFinite(z)||tn("defaultRowSeparatorDashArray value "+z+" at index "+b+" must be a positive number or zero."),x+=z}if(x===0){if(y===null)return;a=null}}this.T===null&&(this.T=new zu),this.T.V=a,this.N(),this.g("defaultRowSeparatorDashArray",y,a)}}},defaultColumnSeparatorStroke:{get:function(){return this.T!==null?this.T.u:null},set:function(a){var y=this.defaultColumnSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof Oo)&&(a instanceof Oo&&a.freeze(),this.T===null&&(this.T=new zu),this.T.u=a,this.N(),this.g("defaultColumnSeparatorStroke",y,a))}},defaultColumnSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.F:1},set:function(a){var y=this.defaultColumnSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new zu),this.T.F=a,this.v(),this.g("defaultColumnSeparatorStrokeWidth",y,a))}},defaultColumnSeparatorDashArray:{get:function(){return this.T!==null?this.T.o:null},set:function(a){var y=this.defaultColumnSeparatorDashArray;if(y!==a){if(a!==null){for(var E=a.length,x=0,b=0;b<E;b++){var z=a[b];typeof z=="number"&&0<=z&&isFinite(z)||tn("defaultColumnSeparatorDashArray value "+z+" at index "+b+" must be a positive number or zero."),x+=z}if(x===0){if(y===null)return;a=null}}this.T===null&&(this.T=new zu),this.T.o=a,this.N(),this.g("defaultColumnSeparatorDashArray",y,a)}}},inRowsCols:{get:function(){return this.T!==null?this.T.nb:null},set:function(a){this.T===null&&(this.T=new zu),this.T.nb=a}},viewboxStretch:{get:function(){return this.xo},set:function(a){var y=this.xo;y!==a&&(this.xo=a,this.v(),this.g("viewboxStretch",y,a))}},gridCellSize:{get:function(){return this.jn},set:function(a){var y=this.jn;if(!y.D(a)){a.w()&&a.width!==0&&a.height!==0||tn("Invalid Panel.gridCellSize: "+a),this.jn=a.J();var E=this.diagram;E!==null&&this===E.grid&&Gc(E),this.N(),this.g("gridCellSize",y,a)}}},gridOrigin:{get:function(){return this.kn},set:function(a){var y=this.kn;if(!y.D(a)){a.w()||tn("Invalid Panel.gridOrigin: "+a),this.kn=a.J();var E=this.diagram;E!==null&&this===E.grid&&Gc(E),this.N(),this.g("gridOrigin",y,a)}}},graduatedMin:{get:function(){return this.ra!==null?this.ra.lq:0},set:function(a){var y=this.graduatedMin;y!==a&&(this.ra===null&&(this.ra=new Cd),this.ra.lq=a,this.v(),this.g("graduatedMin",y,a),Ys(this)&&(a=this.part,a!==null&&ma(this,a,"graduatedRange")))}},graduatedMax:{get:function(){return this.ra!==null?this.ra.F:100},set:function(a){var y=this.graduatedMax;y!==a&&(this.ra===null&&(this.ra=new Cd),this.ra.F=a,this.v(),this.g("graduatedMax",y,a),Ys(this)&&(a=this.part,a!==null&&ma(this,a,"graduatedRange")))}},graduatedRange:{get:function(){return this.graduatedMax-this.graduatedMin}},graduatedTickUnit:{get:function(){return this.ra!==null?this.ra.ia:10},set:function(a){var y=this.graduatedTickUnit;y!==a&&0<a&&(this.ra===null&&(this.ra=new Cd),this.ra.ia=a,this.v(),this.g("graduatedTickUnit",y,a))}},graduatedTickBase:{get:function(){return this.ra!==null?this.ra.V:0},set:function(a){var y=this.graduatedTickBase;y!==a&&(this.ra===null&&(this.ra=new Cd),this.ra.V=a,this.v(),this.g("graduatedTickBase",y,a))}},graduatedMarks:{get:function(){return this.ra!==null?this.ra.u:null},set:function(a){this.ra!==null?this.ra.u=a:a!==null&&(this.ra=new Cd,this.ra.u=a)}},graduatedBounds:{get:function(){return this.ra!==null?this.ra.j:null},set:function(a){this.ra!==null?this.ra.j=a:a!==null&&(this.ra=new Cd,this.ra.j=a)}},graduatedIntervals:{get:function(){return this.ra!==null?this.ra.o:null},set:function(a){this.ra!==null?this.ra.o=a:a!==null&&(this.ra=new Cd,this.ra.o=a)}},temporaryTextBlock:{get:function(){return this.ra!==null?this.ra.Zh:null},set:function(a){this.ra!==null?this.ra.Zh=a:a!==null&&(this.ra=new Cd,this.ra.Zh=a)}},panelLayoutState:{get:function(){return this.F},set:function(a){this.F=a}},Te:{get:function(){return(this.l&8388608)!==0},set:function(a){(this.l&8388608)!==0!==a&&(this.l^=8388608)}},rowDefs:{get:function(){return this.T===null&&(this.T=new zu),this.T.Pc}},rowCount:{get:function(){return this.T===null?0:this.rowDefs.length}},colDefs:{get:function(){return this.T===null&&(this.T=new zu),this.T.Oc}},columnCount:{get:function(){return this.T===null?0:this.colDefs.length}},rowSizing:{get:function(){return this.T!==null?this.T.ob:Om},set:function(a){var y=this.rowSizing;y!==a&&(this.T===null&&(this.T=new zu),this.T.ob=a,this.v(),this.g("rowSizing",y,a))}},columnSizing:{get:function(){return this.T!==null?this.T.j:Om},set:function(a){var y=this.columnSizing;y!==a&&(this.T===null&&(this.T=new zu),this.T.j=a,this.v(),this.g("columnSizing",y,a))}},topIndex:{get:function(){return this.T!==null?this.T.Hb:0},set:function(a){var y=this.topIndex;y!==a&&((!isFinite(a)||0>a)&&tn("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new zu),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)&&tn("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new zu),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 E=this instanceof Ki&&!(this instanceof Eo);tc(this),this.ub=a;var x=this.diagram;x!==null&&(E?(E=x.partManager,this instanceof $n?(y!==null&&E.bf.remove(y),a!==null&&E.bf.add(a,this)):this instanceof Ki&&(y!==null&&E.cf.remove(y),a!==null&&E.cf.add(a,this))):(E=this.panel,E!==null&&E.ge!==null&&(y!==null&&E.ge.remove(y),a!==null&&E.ge.add(a,this)))),this.g("data",y,a),x!==null&&x.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 Tf),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&NE(this,a)){var E=this.diagram;y!==a&&(E!==null&&y!==null&&dy(E.partManager,this,E),this.Hh=a,E!==null&&a!==null&&cy(E.partManager,this)),this.g("itemArray",y,a),E!==null&&E.undoManager.isUndoingRedoing||mS(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 Fn}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof Ki||a.isPanelMain)&&tn("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 E=a.iterator;E.next(););Mr(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&&(Mr(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 Cr&&(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 E=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||E&&Im(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))}}}),bn.Object.defineProperties(Yn,{Position:{get:function(){return pc.I("Position")}},Horizontal:{get:function(){return pc.I("Horizontal")}},Vertical:{get:function(){return pc.I("Vertical")}},Spot:{get:function(){return pc.I("Spot")}},Auto:{get:function(){return pc.I("Auto")}},Table:{get:function(){return pc.I("Table")}},Viewbox:{get:function(){return pc.I("Viewbox")}},TableRow:{get:function(){return pc.I("TableRow")}},TableColumn:{get:function(){return pc.I("TableColumn")}},Link:{get:function(){return pc.I("Link")}},Grid:{get:function(){return pc.I("Grid")}},Graduated:{get:function(){return pc.I("Graduated")}}}),Yn.prototype.rebuildItemElements=Yn.prototype.mv,Yn.prototype.findItemPanelForData=Yn.prototype.sx,Yn.prototype.updateTargetBindings=Yn.prototype.La,Yn.prototype.copyTemplate=Yn.prototype.Uy,Yn.prototype.graduatedValueForPoint=Yn.prototype.Gz,Yn.prototype.graduatedPointForValue=Yn.prototype.Fz,Yn.prototype.findColumnForLocalX=Yn.prototype.fz,Yn.prototype.findRowForLocalY=Yn.prototype.nz,Yn.prototype.addColumnDefinition=Yn.prototype.By,Yn.prototype.addRowDefinition=Yn.prototype.Hy,Yn.prototype.addRowColumnDefinition=Yn.prototype.Gy,Yn.prototype.removeColumnDefinition=Yn.prototype.jA,Yn.prototype.getColumnDefinition=Yn.prototype.Eb,Yn.prototype.removeRowDefinition=Yn.prototype.oA,Yn.prototype.getRowDefinition=Yn.prototype.Fb,Yn.prototype.removeAt=Yn.prototype.mb,Yn.prototype.remove=Yn.prototype.remove,Yn.prototype.insertAt=Yn.prototype.Gb,Yn.prototype.elt=Yn.prototype.M,Yn.prototype.add=Yn.prototype.add,Yn.prototype.findObject=Yn.prototype.fb,Yn.prototype.findInVisualTree=Yn.prototype.Nl,Yn.prototype.walkVisualTreeFrom=Yn.prototype.qm,Yn.prototype.findMainElement=Yn.prototype.Pb;var vS=!1,yS=null,pc=new Fn;Yn.className="Panel",Yn.definePanelLayout=Yc,Yc("Position",new ym),Yc("Vertical",new Em),Yc("Auto",new bm),Yc("Link",new Nm);function Cd(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}Cd.prototype.copy=function(){var a=new Cd;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},Cd.className="GradPanelSettings";function zu(){this.Pc=[],this.Oc=[],this.j=this.ob=Om,this.hb=this.Hb=0,this.Qp=ga,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}zu.prototype.copy=function(a){for(var y=new zu,E=this.Pc,x=E.length,b=y.Pc,z=0;z<x;z++)if(E[z]!==void 0){var ne=E[z].copy();ne.wi(a),b[z]=ne}for(E=this.Oc,x=E.length,b=y.Oc,z=0;z<x;z++)E[z]!==void 0&&(ne=E[z].copy(),ne.wi(a),b[z]=ne);return y.ob=this.ob,y.j=this.j,y.Hb=this.Hb,y.hb=this.hb,y.Qp=this.Qp.J(),y.Ha=this.Ha,y.ia=this.ia,y.V=this.V,y.F=this.F,y.u=this.u,y.o=this.o,y.nb=this.nb,y},zu.className="TablePanelSettings";function xs(a){ut(this),this.Me=null,this.uq=!0,this.Za=0,this.Hc=NaN,this.jj=0,this.hj=1/0,this.Jb=$a,this.pa=this.oc=this.oa=0,this.be=null,this.oo=Av,this.hg=Ar,this.lo=this.dg=null,this.mo=NaN,this.Ma=this.tj=null,this.Pm=!1,a&&(Object.assign(this,a),a.column!==void 0?(this.isRow=!1,this.index=a.column):a.row!==void 0&&(this.isRow=!0,this.index=a.row))}xs.prototype.copy=function(){var a=new xs;return a.uq=this.uq,a.Za=this.Za,a.Hc=this.Hc,a.jj=this.jj,a.hj=this.hj,a.Jb=this.Jb,a.oa=this.oa,a.oc=this.oc,a.pa=this.pa,a.hg=this.hg,a.oo=this.oo,this.dg===null?a.dg=null:a.dg=this.dg.J(),a.lo=this.lo,a.mo=this.mo,a.tj=null,this.tj!==null&&(a.separatorDashArray=ao(this.separatorDashArray)),a.Ma=this.Ma,a.Pm=this.Pm,a.be=this.be,a};function Mm(a,y){y.isRow?a.height=y.height:a.width=y.width,a.minimum=y.minimum,a.maximum=y.maximum,a.alignment=y.alignment,a.stretch=y.stretch,a.sizing=y.sizing,a.dg=y.separatorPadding===null?null:y.separatorPadding.J(),a.separatorStroke=y.separatorStroke,a.separatorStrokeWidth=y.separatorStrokeWidth,a.tj=null,y.separatorDashArray&&(a.tj=ao(y.separatorDashArray)),a.background=y.background,a.coversSeparators=y.coversSeparators,a.be=y.be}Ie=xs.prototype,Ie.qb=function(a){a.classType===xs&&(this.sizing=a)},Ie.toString=function(){return"RowColumnDefinition "+(this.isRow?"(Row ":"(Column ")+this.index+") #"+Lt(this)},Ie.wi=function(a){this.Me=a},Ie.Io=function(a){var y=0,E=this.Me;if(this.index!==a&&(a=this.separatorStroke,a===null&&E!==null&&(a=this.isRow?E.defaultRowSeparatorStroke:E.defaultColumnSeparatorStroke),a!==null&&(y=this.separatorStrokeWidth,isNaN(y)&&(E!==null?y=this.isRow?E.defaultRowSeparatorStrokeWidth:E.defaultColumnSeparatorStrokeWidth:y=0))),a=this.dg,a===null)if(E!==null)a=E.defaultSeparatorPadding;else return y;return y+(this.isRow?a.top:a.left)},Ie.Wc=function(){var a=0,y=this.Me,E=0,x=this.isRow;if(y!==null&&y.type===Yn.Table)for(var b=x?y.rowDefs.length:y.colDefs.length,z=0;z<b;z++){var ne=x?y.rowDefs[z]:y.colDefs[z];if(ne!==void 0&&ne.oa!==0){E=ne.index;break}}if(this.index!==E&&(E=this.separatorStroke,E===null&&y!==null&&(E=x?y.defaultRowSeparatorStroke:y.defaultColumnSeparatorStroke),E!==null&&(a=this.separatorStrokeWidth,isNaN(a)&&(y!==null?a=x?y.defaultRowSeparatorStrokeWidth:y.defaultColumnSeparatorStrokeWidth:a=0))),x=this.dg,x===null)if(y!==null)x=y.defaultSeparatorPadding;else return a;return a+(this.isRow?x.top+x.bottom:x.left+x.right)},Ie.Ob=function(a,y,E){var x=this.Me;if(x!==null&&(x.cb(Qo,a,this,y,E,void 0,void 0),this.be!==null&&(y=x.diagram,y!==null&&!y.skipsModelSourceBindings&&(x=x.ih(),x!==null&&(y=x.data,y!==null)))))for(E=this.be.iterator;E.next();)E.value.sp(this,y,a,x)};function Rm(a){if(a.sizing===Av){var y=a.Me;return a.isRow?y.rowSizing:y.columnSizing}return a.sizing}Ie.bind=function(a,y,E,x){var b=null;return typeof a=="string"?b=new cs(a,y,E,x):b=a,b.xd=this,a=this.panel,a!==null&&(y=a.ih(),y!==null&&pS(y)&&tn("Cannot add a Binding to a RowColumnDefinition that is already frozen: "+b+" on "+a)),this.be===null&&(this.be=new Qn),this.be.add(b),this},bn.Object.defineProperties(xs.prototype,{panel:{get:function(){return this.Me}},isRow:{get:function(){return this.uq},set:function(a){this.uq=a}},index:{get:function(){return this.Za},set:function(a){this.Za=a}},height:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&lr(a,">= 0",xs,"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&&lr(a,">= 0",xs,"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))&&lr(a,">= 0",xs,"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&&lr(a,">= 0",xs,"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 Zi(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&&Pf(a,"RowColumnDefinition.separatorStroke"),a instanceof Oo&&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 E=a.length,x=0,b=0;b<E;b++){var z=a[b];typeof z=="number"&&0<=z&&isFinite(z)||tn("separatorDashArray value "+z+" at index "+b+" must be a positive number or zero."),x+=z}if(x===0){if(y===null)return;a=null}}this.tj=a,this.panel!==null&&this.panel.N(),this.Ob("separatorDashArray",y,a)}}},background:{get:function(){return this.Ma},set:function(a){var y=this.Ma;y!==a&&(a!==null&&Pf(a,"RowColumnDefinition.background"),a instanceof Oo&&a.freeze(),this.Ma=a,this.panel!==null&&this.panel.N(),this.Ob("background",y,a))}},coversSeparators:{get:function(){return this.Pm},set:function(a){var y=this.Pm;y!==a&&(this.Pm=a,this.panel!==null&&this.panel.N(),this.Ob("coversSeparators",y,a))}},sizing:{get:function(){return this.oo},set:function(a){var y=this.oo;y!==a&&(this.oo=a,this.panel!==null&&this.panel.v(),this.Ob("sizing",y,a))}},actual:{get:function(){return this.oa},set:function(a){this.oa=isNaN(this.Hc)?Math.max(Math.min(this.hj,a),this.jj):Math.max(Math.min(this.hj,this.Hc),this.jj)}},measured:{get:function(){return this.oc},set:function(a){this.oc=a}},total:{get:function(){return this.oa+this.Wc()}},position:{get:function(){return this.pa},set:function(a){this.pa=a}}}),xs.prototype.computeEffectiveSpacing=xs.prototype.Wc,xs.prototype.computeEffectiveSpacingTop=xs.prototype.Io;var Av=new nn(xs,"Default",0),pp=new nn(xs,"None",1),Om=new nn(xs,"ProportionalExtra",2);xs.className="RowColumnDefinition",xs.Default=Av,xs.None=pp,xs.ProportionalExtra=Om;function kr(a,y){Ut.call(this),this.Rd=this.ua=null,this.an="None",this.xc=this.Ui="black",this.ig=1,this.Na=this.Yg=null,this.Vn=this.Un=NaN,this.fa=null,typeof a=="string"?this.figure=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}Kt(kr,Ut),kr.prototype.cloneProtected=function(a){Ut.prototype.cloneProtected.call(this,a),a.ua=this.ua,a.Rd=this.Rd,a.an=this.an,a.Ui=this.Ui,a.xc=this.xc,a.ig=this.ig,this.Yg!==null&&(a.Yg=ao(this.Yg)),this.Na!==null&&(a.Na=this.Na.nc?this.Na:this.Na.copy()),a.Un=this.Un,a.Vn=this.Vn,this.fa!==null&&(a.fa=this.fa.copy())};function $h(a){a.Na===null?a.Na=new Lv:a.Na.nc&&(a.Na=a.Na.copy())}Ie=kr.prototype,Ie.th=function(){Ut.prototype.th.call(this),this.Na!==null&&(this.Na.nc=!0)},Ie.qb=function(a){a===Rn||a===Bi||a===Qr||a===Ar?this.geometryStretch=a:Ut.prototype.qb.call(this,a)},Ie.toString=function(){return"Shape("+(this.figure!=="None"?this.figure:this.toArrow!=="None"?this.toArrow:this.fromArrow)+")#"+Lt(this)};function fg(a,y,E,x){var b=E.length;if(!(4>b)){var z=x.measuredBounds,ne=Math.max(1,z.width);z=z.height;for(var re=E[0],oe=E[1],he,fe,Se,Te,Ne,Be,We=0,vt=Vi(),ct=2;ct<b;ct+=2)he=E[ct],fe=E[ct+1],Se=he-re,re=fe-oe,Se===0&&(Se=.001),Te=re/Se,Ne=Math.atan2(re,Se),Be=Math.sqrt(Se*Se+re*re),vt.push([Se,Ne,Te,Be]),We+=Be,re=he,oe=fe;re=E[0],oe=E[1],Se=x.measuredBounds.width,x instanceof kr&&(Se-=x.strokeWidth),1>Se&&(Se=1),b=E=Se,he=ne/2,fe=he!==0,ct=0,Be=vt[ct],Se=Be[0],Ne=Be[1],Te=Be[2],Be=Be[3];for(var wt=0;.1<=We;){if(wt===0&&(fe?(b=E,b-=he,We-=he,fe=!1):b=E,b===0&&(b=1)),b>We){Qi(vt);return}b>Be?(wt=b-Be,b=Be):wt=0;var Tt=Math.sqrt(b*b/(1+Te*Te));if(0>Se&&(Tt=-Tt),re+=Tt,oe+=Te*Tt,a.translate(re,oe),a.rotate(Ne),a.translate(-(ne/2),-(z/2)),wt===0&&x.hh(a,y),a.translate(ne/2,z/2),a.rotate(-Ne),a.translate(-re,-oe),We-=b,Be-=b,wt!==0){if(ct++,ct===vt.length){Qi(vt);return}Be=vt[ct],Se=Be[0],Ne=Be[1],Te=Be[2],Be=Be[3],b=wt}}Qi(vt)}}Ie.hh=function(a,y){var E=this.xc,x=this.Ui;if(E!==null||x!==null){var b=this.ua;if(b!==null){a.yc();var z=this.actualBounds,ne=this.naturalBounds;x!==null&&Ja(this,a,x,!0,!1,ne,z);var re=this.part,oe=this.ig;if(E===null||oe!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(oe=re.type===Yn.Link&&re instanceof Eo&&re.category==="Selection"&&re.adornedObject instanceof kr&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),oe===0&&(E=null),E!==null&&oe!==0&&(Ja(this,a,E,!1,!1,ne,z),a.lineWidth=oe,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,E===null||x!==null&&x!=="transparent"||(re=!1),ne=!1,oe=this.strokeDashArray,oe!==null&&(ne=!0,a.js(oe,this.strokeDashOffset)),b.type===Jn.j)a.beginPath(),a.moveTo(b.startX,b.startY),a.lineTo(b.endX,b.endY),E!==null&&a.jk(),a.Se();else if(b.type===Jn.u){var he=b.startX;oe=b.startY;var fe=b.endX,Se=b.endY;b=Math.min(he,fe);var Te=Math.min(oe,Se);he=Math.abs(fe-he),oe=Math.abs(Se-oe),a.beginPath(),a.rect(b,Te,he,oe),x!==null&&a.ng(x),E!==null&&(re&&z&&ed(a),a.jk(),re&&z&&Ed(a)),a.Se()}else if(b.type===Jn.F)he=b.startX,oe=b.startY,fe=b.endX,Se=b.endY,b=Math.abs(fe-he)/2,Te=Math.abs(Se-oe)/2,he=Math.min(he,fe)+b,oe=Math.min(oe,Se)+Te,a.beginPath(),a.moveTo(he,oe-Te),a.bezierCurveTo(he+Ht.wg*b,oe-Te,he+b,oe-Ht.wg*Te,he+b,oe),a.bezierCurveTo(he+b,oe+Ht.wg*Te,he+Ht.wg*b,oe+Te,he,oe+Te),a.bezierCurveTo(he-Ht.wg*b,oe+Te,he-b,oe+Ht.wg*Te,he-b,oe),a.bezierCurveTo(he-b,oe-Ht.wg*Te,he-Ht.wg*b,oe-Te,he,oe-Te),a.closePath(),x!==null&&a.ng(x),E!==null&&(re&&z&&ed(a),a.jk(),re&&z&&Ed(a)),a.Se();else if(b.type===Jn.o)for(b=b.figures,oe=b.length,Te=0;Te<oe;Te++){he=b.s[Te],a.beginPath(),a.moveTo(he.startX,he.startY),fe=he.segments.s,Se=fe.length;for(var Ne=null,Be=0;Be<Se;Be++){var We=fe[Be];switch(We.type){case Ga:a.moveTo(We.endX,We.endY);break;case Ho:a.lineTo(We.endX,We.endY);break;case ys:a.bezierCurveTo(We.point1X,We.point1Y,We.point2X,We.point2Y,We.endX,We.endY);break;case rl:a.quadraticCurveTo(We.point1X,We.point1Y,We.endX,We.endY);break;case Wa:if(We.radiusX===We.radiusY){var vt=Math.PI/180;a.arc(We.point1X,We.point1Y,We.radiusX,We.startAngle*vt,(We.startAngle+We.sweepAngle)*vt,0>We.sweepAngle,Ne!==null?Ne.endX:he.startX,Ne!==null?Ne.endY:he.startY)}else if(Ne=Zs(We,he),vt=Ne.length,vt===0)a.lineTo(We.centerX,We.centerY);else for(var ct=0;ct<vt;ct++){var wt=Ne[ct];ct===0&&a.lineTo(wt[0],wt[1]),a.bezierCurveTo(wt[2],wt[3],wt[4],wt[5],wt[6],wt[7])}break;case fl:if(ct=vt=0,Ne!==null&&Ne.type===Wa){if(Ne=Zs(Ne,he),wt=Ne.length,wt===0){a.lineTo(We.endX,We.endY);break}Ne=Ne[wt-1]||null,Ne!==null&&(vt=Ne[6],ct=Ne[7])}else vt=Ne!==null?Ne.endX:he.startX,ct=Ne!==null?Ne.endY:he.startY;if(Ne=bl(We,he,vt,ct),vt=Ne.length,vt===0){a.lineTo(We.endX,We.endY);break}for(ct=0;ct<vt;ct++)wt=Ne[ct],a.bezierCurveTo(wt[2],wt[3],wt[4],wt[5],wt[6],wt[7]);break;default:tn("Segment not of valid type: "+We.type)}We.isClosed&&a.closePath(),Ne=We}fe=he.isFilled,z?he.isShadowed?(fe===!0&&x!=="transparent"&&x!==null&&a.ng(x,he.isEvenOdd),E!==null&&(fe&&re&&ed(a),a.jk(),fe&&re&&Ed(a))):(ed(a),fe&&x!=="transparent"&&x!==null&&a.ng(x,he.isEvenOdd),E!==null&&a.jk(),Ed(a)):(fe&&x!==null&&a.ng(x,he.isEvenOdd),E!==null&&a.jk()),a.Se(Te)}if(ne&&a.fs(),this.pathPattern!==null){if(E=this.pathPattern,E.measure(1/0,1/0),x=E.measuredBounds,E.arrange(0,0,x.width,x.height),z=this.geometry,a.save(),a.beginPath(),x=Vi(),z.type===Jn.j)x.push(z.startX),x.push(z.startY),x.push(z.endX),x.push(z.endY),fg(a,y,x,E);else if(z.type===Jn.o)for(z=z.figures.iterator;z.next();){for(re=z.value,x.length=0,x.push(re.startX),x.push(re.startY),ne=re.startX,b=re.startY,oe=ne,Te=b,he=re.segments.s,fe=he.length,Se=0;Se<fe;Se++){switch(Be=he[Se],Be.type){case Ga:fg(a,y,x,E),x.length=0,x.push(Be.endX),x.push(Be.endY),ne=Be.endX,b=Be.endY,oe=ne,Te=b;break;case Ho:x.push(Be.endX),x.push(Be.endY),ne=Be.endX,b=Be.endY;break;case ys:Ht.Qe(ne,b,Be.point1X,Be.point1Y,Be.point2X,Be.point2Y,Be.endX,Be.endY,.5,x),ne=Be.endX,b=Be.endY;break;case rl:Ht.ep(ne,b,Be.point1X,Be.point1Y,Be.endX,Be.endY,.5,x),ne=Be.endX,b=Be.endY;break;case Wa:if(We=Zs(Be,re),Ne=We.length,Ne===0){x.push(Be.centerX),x.push(Be.centerY),ne=Be.centerX,b=Be.centerY;break}for(vt=0;vt<Ne;vt++)ct=We[vt],Ht.Qe(ne,b,ct[2],ct[3],ct[4],ct[5],ct[6],ct[7],.5,x),ne=ct[6],b=ct[7];break;case fl:if(We=bl(Be,re,ne,b),Ne=We.length,Ne===0){x.push(Be.endX),x.push(Be.endY),ne=Be.endX,b=Be.endY;break}for(vt=0;vt<Ne;vt++)ct=We[vt],Ht.Qe(ne,b,ct[2],ct[3],ct[4],ct[5],ct[6],ct[7],.5,x),ne=ct[6],b=ct[7];break;default:tn("Segment not of valid type: "+Be.type)}Be.isClosed&&(x.push(oe),x.push(Te),fg(a,y,x,E))}fg(a,y,x,E)}else if(z.type===Jn.u)x.push(z.startX),x.push(z.startY),x.push(z.endX),x.push(z.startY),x.push(z.endX),x.push(z.endY),x.push(z.startX),x.push(z.endY),x.push(z.startX),x.push(z.startY),fg(a,y,x,E);else if(z.type===Jn.F){if(b=new _a,b.startX=z.endX,b.startY=(z.startY+z.endY)/2,ne=new eo(Wa),ne.startAngle=0,ne.sweepAngle=360,ne.centerX=(z.startX+z.endX)/2,ne.centerY=(z.startY+z.endY)/2,ne.radiusX=Math.abs(z.startX-z.endX)/2,ne.radiusY=Math.abs(z.startY-z.endY)/2,b.add(ne),z=Zs(ne,b),re=z.length,re===0)x.push(ne.centerX),x.push(ne.centerY);else for(ne=b.startX,b=b.startY,oe=0;oe<re;oe++)Te=z[oe],Ht.Qe(ne,b,Te[2],Te[3],Te[4],Te[5],Te[6],Te[7],.5,x),ne=Te[6],b=Te[7];fg(a,y,x,E)}Qi(x),a.restore(),a.Vc(!1)}}}},Ie.kk=function(a,y,E){return!Ut.prototype.kk.call(this,a,y,E)||this.xc===null&&this.Ui===null||this.ua===null||this.pathPattern!==null||this.geometry.figures.length!==this.svg.getElementsByTagName("path").length?!1:(a.Hl=this.svg,this.hh(a,y),a.Hl=null,!0)},Ie.nk=function(a){return this.geometry!==null&&1<this.geometry.figures.length||this.pathPattern!==null?!0:Ut.prototype.nk.call(this,a)},Ie.Dv=function(a,y){if(a.nodeName!=="g")a.setAttributeNS(null,"filter",y);else{a=a.getElementsByTagName("path");for(var E=0;E<a.length;E++)a[E].setAttributeNS(null,"filter",y)}},Ie.ga=function(a,y){if(y===void 0&&(y=new st),a instanceof wi){a.Mc()&&tn("getDocumentPoint Spot must be a real, specific Spot, not: "+a.toString());var E=this.naturalBounds,x=this.strokeWidth;y.h(a.x*(E.width+x)-x/2+E.x+a.offsetX,a.y*(E.height+x)-x/2+E.y+a.offsetY)}else y.set(a);return this.oe.Ga(y),y},Ie.mi=function(a){a===void 0&&(a=new an);var y=this.naturalBounds,E=this.oe;y=an.allocAt(y.x,y.y,y.width,y.height);var x=this.strokeWidth;return y.Bc(x/2,x/2),x=st.allocAt(y.x,y.y).transform(E),a.h(x.x,x.y,0,0),x.h(y.right,y.y).transform(E),Co(a,x.x,x.y,0,0),x.h(y.right,y.bottom).transform(E),Co(a,x.x,x.y,0,0),x.h(y.x,y.bottom).transform(E),Co(a,x.x,x.y,0,0),an.free(y),st.free(x),a},Ie.gh=function(a,y){var E=this.geometry;if(E===null||this.fill===null&&this.stroke===null)return!1;var x=E.bounds,b=this.strokeWidth/2;E.type!==Jn.j||y||(b+=2);var z=an.alloc();if(z.assign(x),z.Bc(b+2,b+2),!z.ca(a))return an.free(z),!1;if(x=b+1e-4,E.type===Jn.j)return this.stroke===null||(x=(E.endX-E.startX)*(a.x-E.startX)+(E.endY-E.startY)*(a.y-E.startY),0>(E.startX-E.endX)*(a.x-E.endX)+(E.startY-E.endY)*(a.y-E.endY)||0>x)?!1:(an.free(z),Ht.Yb(E.startX,E.startY,E.endX,E.endY,b,a.x,a.y));if(E.type===Jn.u){y=E.startX;var ne=E.startY,re=E.endX;if(E=E.endY,z.x=Math.min(y,re),z.y=Math.min(ne,E),z.width=Math.abs(re-y),z.height=Math.abs(E-ne),this.fill===null){if(z.Bc(-x,-x),z.ca(a))return an.free(z),!1;z.Bc(x,x)}return this.stroke!==null&&z.Bc(b,b),a=z.ca(a),an.free(z),a}if(E.type===Jn.F){ne=E.startX,b=E.startY,re=E.endX;var oe=E.endY;if(E=Math.min(ne,re),y=Math.min(b,oe),ne=Math.abs(re-ne)/2,b=Math.abs(oe-b)/2,E=a.x-(E+ne),y=a.y-(y+b),this.fill===null){if(ne-=x,b-=x,0>=ne||0>=b||1>=E*E/(ne*ne)+y*y/(b*b))return an.free(z),!1;ne+=x,b+=x}return this.stroke!==null&&(ne+=x,b+=x),an.free(z),0>=ne||0>=b?!1:1>=E*E/(ne*ne)+y*y/(b*b)}if(E.type===Jn.o)return an.free(z),this.fill===null?Js(E,a.x,a.y,b):Ul(E,a,b,1<this.strokeWidth,y);tn("Unknown Geometry type: "+E.type)},Ie.Wl=function(a,y,E,x){var b=this.desiredSize,z=this.ig;if(a=Math.max(a,0),y=Math.max(y,0),this.Rd!==null)var ne=this.geometry.bounds;else{var re=this.figure,oe=Nv[re];if(oe===void 0){var he=Ht.Ze[re];typeof he=="string"&&(he=Ht.Ze[he]),typeof he=="function"?(oe=he(null,100,100),Nv[re]=oe):tn("Unsupported Figure: "+re)}ne=oe.bounds}re=ne.width,oe=ne.height,he=ne.width;var fe=ne.height;switch(jl(this,!0)){case Rn:x=E=0;break;case zn:he=Math.max(a-z,0),fe=Math.max(y-z,0);break;case Ui:he=Math.max(a-z,0),x=0;break;case nr:E=0,fe=Math.max(y-z,0)}isFinite(b.width)&&(he=b.width),isFinite(b.height)&&(fe=b.height);var Se=this.maxSize,Te=this.minSize;switch(E=Math.max(E-z,Te.width),x=Math.max(x-z,Te.height),he=Math.min(Se.width,he),fe=Math.min(Se.height,fe),he=isFinite(he)?Math.max(E,he):Math.max(re,E),fe=isFinite(fe)?Math.max(x,fe):Math.max(oe,x),E=Pv(this),E){case Rn:break;case zn:re=he,oe=fe;break;case Bi:E=Math.min(he/re,fe/oe),isFinite(E)||(E=1),re*=E,oe*=E;break;default:tn(E+" is not a valid geometryStretch.")}this.Rd!==null?(re===0&&(re=.001),oe===0&&(oe=.001),E=this.Rd!==null?this.Rd:this.ua,ne=E.bounds,x=re/ne.width,ne=oe/ne.height,isFinite(x)||(x=1),isFinite(ne)||(ne=1),this.ua=x===1&&ne===1?E:E.copy().scale(x,ne)):this.ua!==null&&Ht.$(this.ua.Sk,a-z)&&Ht.$(this.ua.Rk,y-z)||(this.ua=kr.makeGeometry(this,re,oe)),ne=this.ua.bounds,a===1/0||y===1/0?this.Ge(ne.x-z/2,ne.y-z/2,a===0&&re===0?0:ne.width+z,y===0&&oe===0?0:ne.height+z):this.Ge(-(z/2),-(z/2),he+z,fe+z),b.w()?(he=b.width,fe=b.height,he=Math.min(Se.width,he),fe=Math.min(Se.height,fe),he=Math.max(Te.width,he),fe=Math.max(Te.height,fe),this.dc.h(0,0,he,fe)):this.dc.assign(ne)};function Pv(a){var y=a.geometryStretch;return a.Rd!==null?y===Ar?zn:y:y===Ar?Nv[a.figure].defaultStretch:y}Ie.eh=function(a,y,E,x){yl(this,a,y,E,x)},Ie.rs=function(a,y,E){return this.Sj(a.x,a.y,y.x,y.y,E)},Ie.Sj=function(a,y,E,x,b){var z=this.transform,ne=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*ne,oe=-z.m12*ne,he=-z.m21*ne,fe=z.m11*ne,Se=ne*(z.m21*z.dy-z.m22*z.dx),Te=ne*(z.m12*z.dx-z.m11*z.dy);z=a*re+y*he+Se,ne=a*oe+y*fe+Te,re=E*re+x*he+Se,oe=E*oe+x*fe+Te,Se=this.ig/2,he=this.ua,he===null&&(this.measure(1/0,1/0),he=this.ua);var Ne=he.bounds;if(fe=!1,he.type===Jn.j)if(1.5>=this.strokeWidth)fe=Ht.Ve(he.startX,he.startY,he.endX,he.endY,z,ne,re,oe,b);else{if(he.startX===he.endX?(x=Se,fe=0):(y=(he.endY-he.startY)/(he.endX-he.startX),fe=Se/Math.sqrt(1+y*y),x=fe*y),y=Vi(),a=new st,Ht.Ve(he.startX+x,he.startY+fe,he.endX+x,he.endY+fe,z,ne,re,oe,a)&&y.push(a),a=new st,Ht.Ve(he.startX-x,he.startY-fe,he.endX-x,he.endY-fe,z,ne,re,oe,a)&&y.push(a),a=new st,Ht.Ve(he.startX+x,he.startY+fe,he.startX-x,he.startY-fe,z,ne,re,oe,a)&&y.push(a),a=new st,Ht.Ve(he.endX+x,he.endY+fe,he.endX-x,he.endY-fe,z,ne,re,oe,a)&&y.push(a),re=y.length,re===0)return Qi(y),!1;for(fe=!0,oe=1/0,x=0;x<re;x++)a=y[x],E=(a.x-z)*(a.x-z)+(a.y-ne)*(a.y-ne),E<oe&&(oe=E,b.x=a.x,b.y=a.y);Qi(y)}else if(he.type===Jn.u)fe=Ht.Ff(Ne.x-Se,Ne.y-Se,Ne.x+Ne.width+Se,Ne.y+Ne.height+Se,z,ne,re,oe,b);else if(he.type===Jn.F){y=an.allocAt(Ne.x,Ne.y,Ne.width,Ne.height).Bc(Se,Se);e:if(y.width===0)fe=Ht.Ve(y.x,y.y,y.x,y.y+y.height,z,ne,re,oe,b);else if(y.height===0)fe=Ht.Ve(y.x,y.y,y.x+y.width,y.y,z,ne,re,oe,b);else{if(a=y.width/2,he=y.height/2,x=y.x+a,fe=y.y+he,E=9999,z!==re&&(E=(ne-oe)/(z-re)),9999>Math.abs(E)){if(oe=ne-fe-E*(z-x),0>a*a*E*E+he*he-oe*oe){b.x=NaN,b.y=NaN,fe=!1;break e}Se=Math.sqrt(a*a*E*E+he*he-oe*oe),re=(-(a*a*E*oe)+a*he*Se)/(he*he+a*a*E*E)+x,a=(-(a*a*E*oe)-a*he*Se)/(he*he+a*a*E*E)+x,he=E*(re-x)+oe+fe,oe=E*(a-x)+oe+fe,Math.abs((z-re)*(z-re))+Math.abs((ne-he)*(ne-he))<Math.abs((z-a)*(z-a))+Math.abs((ne-oe)*(ne-oe))?(b.x=re,b.y=he):(b.x=a,b.y=oe)}else{if(re=he*he,oe=z-x,re-=re/(a*a)*oe*oe,0>re){b.x=NaN,b.y=NaN,fe=!1;break e}oe=Math.sqrt(re),re=fe+oe,oe=fe-oe,Math.abs(re-ne)<Math.abs(oe-ne)?(b.x=z,b.y=re):(b.x=z,b.y=oe)}fe=!0}an.free(y)}else if(he.type===Jn.o){Te=st.alloc();var Be=re-z,We=oe-ne,vt=Be*Be+We*We,ct=z,wt=ne;if(0<vt&&Ne.contains(ct,wt)&&(Te.x=ct,Te.y=wt,this.ca(Te)))for(Be!==0&&.5>Math.abs(Be)?(We*=.5/Be,Be=.5):We!==0&&.5>Math.abs(We)&&(Be*=.5/We,We=.5),ct-=Be,wt-=We;Ne.contains(ct,wt);)ct-=Be,wt-=We;for(b.x=re,b.y=oe,We=0;We<he.figures.count;We++){var Tt=he.figures.s[We],kt=Tt.isFilled?ct:z,Bt=Tt.isFilled?wt:ne,en=Tt.segments;Ne=Tt.startX,Be=Tt.startY;for(var pi=Ne,ki=Be,Ti=0;Ti<en.count;Ti++){var qn=en.s[Ti],kn=qn.type,Er=qn.endX,gr=qn.endY,Ao=!1;switch(kn){case Ga:pi=Er,ki=gr;break;case Ho:Ao=Fm(Ne,Be,Er,gr,kt,Bt,re,oe,Te);break;case ys:Ao=Ht.Eo(Ne,Be,qn.point1X,qn.point1Y,qn.point2X,qn.point2Y,Er,gr,kt,Bt,re,oe,.6,Te);break;case rl:Ao=Ht.Eo(Ne,Be,Ne+2/3*(qn.point1X-Ne),Be+2/3*(qn.point1Y-Be),Er+2/3*(qn.point1X-Er),gr+2/3*(qn.point1Y-gr),Er,gr,kt,Bt,re,oe,.6,Te);break;case Wa:case fl:kn=qn.type===Wa?Zs(qn,Tt):bl(qn,Tt,Ne,Be);var na=kn.length;if(na===0){Ao=Fm(Ne,Be,qn.type===Wa?qn.centerX:qn.endX,qn.type===Wa?qn.centerY:qn.endY,kt,Bt,re,oe,Te);break}for(gr=null,Er=0;Er<na;Er++){if(gr=kn[Er],Er===0&&Fm(Ne,Be,gr[0],gr[1],kt,Bt,re,oe,Te)){var Ls=Dm(kt,Bt,Te,vt,b);Ls<vt&&(vt=Ls,fe=!0)}Ht.Eo(gr[0],gr[1],gr[2],gr[3],gr[4],gr[5],gr[6],gr[7],kt,Bt,re,oe,.6,Te)&&(Ls=Dm(kt,Bt,Te,vt,b),Ls<vt&&(vt=Ls,fe=!0))}Er=gr[6],gr=gr[7];break;default:tn("Unknown Segment type: "+kn)}Ne=Er,Be=gr,Ao&&(Ao=Dm(kt,Bt,Te,vt,b),Ao<vt&&(vt=Ao,fe=!0)),qn.isClosed&&(Er=pi,gr=ki,Fm(Ne,Be,Er,gr,kt,Bt,re,oe,Te)&&(qn=Dm(kt,Bt,Te,vt,b),qn<vt&&(vt=qn,fe=!0)))}}z=E-a,ne=x-y,re=Math.sqrt(z*z+ne*ne),re!==0&&(z/=re,ne/=re),b.x-=z*Se,b.y-=ne*Se,st.free(Te)}else tn("Unknown Geometry type: "+he.type);return fe?(this.transform.Ga(b),!0):!1};function Dm(a,y,E,x,b){return a=E.x-a,y=E.y-y,y=a*a+y*y,y<x?(b.x=E.x,b.y=E.y,y):x}function Fm(a,y,E,x,b,z,ne,re,oe){if(Ht.$(a,E)&&Ht.$(y,x)||Ht.$(b,ne)&&Ht.$(z,re))return!1;var he=!1,fe=(b-ne)*(y-x)-(z-re)*(a-E);return fe===0?!1:(oe.x=((b*re-z*ne)*(a-E)-(b-ne)*(a*x-y*E))/fe,oe.y=((b*re-z*ne)*(y-x)-(z-re)*(a*x-y*E))/fe,(a>E?a-E:E-a)<(y>x?y-x:x-y)?(a=y<x?y:x,y=y<x?x:y,(oe.y>a||Ht.$(oe.y,a))&&(oe.y<y||Ht.$(oe.y,y))&&(he=!0)):(y=a<E?a:E,a=a<E?E:a,(oe.x>y||Ht.$(oe.x,y))&&(oe.x<a||Ht.$(oe.x,a))&&(he=!0)),he)}Ie.fh=function(a,y){if(y===void 0)return a.Re(this.actualBounds);var E=this.ua;E===null&&(this.measure(1/0,1/0),E=this.ua),E=E.bounds;var x=this.strokeWidth/2,b=!1,z=st.alloc();return z.h(E.x-x,E.y-x),a.ca(y.Ga(z))&&(z.h(E.x-x,E.bottom+x),a.ca(y.Ga(z))&&(z.h(E.right+x,E.bottom+x),a.ca(y.Ga(z))&&(z.h(E.right+x,E.y-x),a.ca(y.Ga(z))&&(b=!0)))),st.free(z),b},Ie.Yc=function(a,y){if(this.fh(a,y)||y===void 0&&(y=this.transform,a.Re(this.actualBounds)))return!0;var E=cr.alloc();E.set(y),E.Vj();var x=a.left,b=a.right,z=a.top;a=a.bottom;var ne=st.alloc();if(ne.h(x,z),E.Ga(ne),this.gh(ne,!0)||(ne.h(b,z),E.Ga(ne),this.gh(ne,!0))||(ne.h(x,a),E.Ga(ne),this.gh(ne,!0))||(ne.h(b,a),E.Ga(ne),this.gh(ne,!0)))return st.free(ne),!0;var re=st.alloc(),oe=st.alloc();return E.set(y),E.bv(this.transform),E.Vj(),re.x=b,re.y=z,re.transform(E),ne.x=x,ne.y=z,ne.transform(E),y=!1,ef(this,ne,re,oe)?y=!0:(ne.x=b,ne.y=a,ne.transform(E),ef(this,ne,re,oe)?y=!0:(re.x=x,re.y=a,re.transform(E),ef(this,ne,re,oe)?y=!0:(ne.x=x,ne.y=z,ne.transform(E),ef(this,ne,re,oe)&&(y=!0)))),st.free(ne),cr.free(E),st.free(re),st.free(oe),y};function ef(a,y,E,x){if(!a.rs(y,E,x))return!1;a=y.x,y=y.y;var b=E.x,z=E.y;return E=x.x,x=x.y,a===b?(y<z?(a=y,y=z):a=z,x>=a&&x<=y):(a<b?(x=a,a=b):x=b,E>=x&&E<=a)}Ie.tx=function(a,y,E){function x(vt,ct){for(var wt=vt.length,Tt=0;Tt<wt;Tt+=2)if(ct.zd(vt[Tt],vt[Tt+1])>b)return!0;return!1}if(E&&this.fill!==null&&this.gh(a,!0))return!0;var b=a.Bf(y),z=b;if(1.5<this.strokeWidth&&(b=this.strokeWidth/2+Math.sqrt(b),b*=b),y=this.ua,y===null&&(this.measure(1/0,1/0),y=this.ua,y===null))return!1;if(!E){var ne=y.bounds,re=ne.x,oe=ne.y,he=ne.x+ne.width;if(ne=ne.y+ne.height,Di(a.x,a.y,re,oe)<=b&&Di(a.x,a.y,he,oe)<=b&&Di(a.x,a.y,re,ne)<=b&&Di(a.x,a.y,he,ne)<=b)return!0}if(re=y.startX,oe=y.startY,he=y.endX,ne=y.endY,y.type===Jn.j){if(E=(re-he)*(a.x-he)+(oe-ne)*(a.y-ne),or(a.x,a.y,re,oe,he,ne)<=(0<=(he-re)*(a.x-re)+(ne-oe)*(a.y-oe)&&0<=E?b:z))return!0}else{if(y.type===Jn.u)return y=!1,E&&(y=or(a.x,a.y,re,oe,re,ne)<=b||or(a.x,a.y,re,oe,he,oe)<=b||or(a.x,a.y,he,oe,he,ne)<=b||or(a.x,a.y,re,ne,he,ne)<=b),y;if(y.type===Jn.F){y=a.x-(re+he)/2,z=a.y-(oe+ne)/2;var fe=Math.abs(he-re)/2,Se=Math.abs(ne-oe)/2;if(fe===0||Se===0)return or(a.x,a.y,re,oe,he,ne)<=b;if(E){if(a=Ht.$y(fe,Se,y,z),a*a<=b)return!0}else return!(Di(y,z,-fe,0)>=b||Di(y,z,0,-Se)>=b||Di(y,z,0,Se)>=b||Di(y,z,fe,0)>=b)}else if(y.type===Jn.o){if(he=y.bounds,z=he.x,re=he.y,oe=he.x+he.width,he=he.y+he.height,a.x>oe&&a.x<z&&a.y>he&&a.y<re&&or(a.x,a.y,z,re,z,he)>b&&or(a.x,a.y,z,re,oe,re)>b&&or(a.x,a.y,oe,he,z,he)>b&&or(a.x,a.y,oe,he,oe,re)>b)return!1;if(z=Math.sqrt(b),E){if(this.fill===null?Js(y,a.x,a.y,z):Ul(y,a,z,!0,!1))return!0}else{for(E=y.figures,y=0;y<E.count;y++){if(z=E.s[y],ne=z.startX,fe=z.startY,a.zd(ne,fe)>b)return!1;for(re=z.segments.s,oe=re.length,he=0;he<oe;he++)switch(Se=re[he],Se.type){case Ga:case Ho:if(ne=Se.endX,fe=Se.endY,a.zd(ne,fe)>b)return!1;break;case ys:var Te=Vi();if(Ht.Qe(ne,fe,Se.point1X,Se.point1Y,Se.point2X,Se.point2Y,Se.endX,Se.endY,.8,Te),ne=x(Te,a),Qi(Te),ne||(ne=Se.endX,fe=Se.endY,a.zd(ne,fe)>b))return!1;break;case rl:if(Te=Vi(),Ht.ep(ne,fe,Se.point1X,Se.point1Y,Se.endX,Se.endY,.8,Te),ne=x(Te,a),Qi(Te),ne||(ne=Se.endX,fe=Se.endY,a.zd(ne,fe)>b))return!1;break;case Wa:case fl:Te=Se.type===Wa?Zs(Se,z):bl(Se,z,ne,fe);var Ne=Te.length;if(Ne===0){if(ne=Se.type===Wa?Se.centerX:Se.endX,fe=Se.type===Wa?Se.centerY:Se.endY,a.zd(ne,fe)>b)return!1;break}Se=null;for(var Be=Vi(),We=0;We<Ne;We++)if(Se=Te[We],Be.length=0,Ht.Qe(Se[0],Se[1],Se[2],Se[3],Se[4],Se[5],Se[6],Se[7],.8,Be),x(Be,a))return Qi(Be),!1;Qi(Be),Se!==null&&(ne=Se[6],fe=Se[7]);break;default:tn("Unknown Segment type: "+Se.type)}}return!0}}}return!1},Ie.qc=function(){this.ua=null},Ie.kq=function(){return this.ig};function SS(a){var y=a.diagram;y!==null&&y.undoManager.isUndoingRedoing||(a.segmentOrientation=Cp,a.toArrow!=="None"?(a.segmentIndex=-1,a.alignmentFocus=no):a.fromArrow!=="None"&&(a.segmentIndex=0,a.alignmentFocus=new wi(1-no.x,no.y)))}kr.makeGeometry=function(a,y,E){if(a.toArrow!=="None")var x=nd[a.toArrow];else a.fromArrow!=="None"?x=nd[a.fromArrow]:(x=Ht.Ze[a.figure],typeof x=="string"&&(x=Ht.Ze[x]),x===void 0&&tn("Unknown Shape.figure: "+a.figure),x=x(a,y,E),x.Sk=y,x.Rk=E);if(x===null){var b=Ht.Ze.Rectangle;typeof b=="function"&&(x=b(a,y,E))}return x};function ES(a){var y=nd[a];if(y===void 0){var E=a.toLowerCase();if(E==="none")return"None";if(y=nd[E],y===void 0){var x=null,b;for(b in Ht.um)if(b.toLowerCase()===E){x=b;break}if(x!==null)return a=Jn.parse(Ht.um[x],!1),nd[x]=a,E!==x&&(nd[E]=x),x}}return typeof y=="string"?y:y instanceof Jn?a:null}bn.Object.defineProperties(kr.prototype,{geometry:{get:function(){return this.ua!==null?this.ua:this.Rd},set:function(a){var y=this.ua,E=this.Rd;if(y!==a){a!==null?this.Rd=this.ua=a.freeze():this.Rd=this.ua=null;var x=this.part;x!==null&&(x.ag=NaN),this.v(),this.g("geometry",y||E,a),Ys(this)&&(a=this.part,a!==null&&ma(this,a,"geometryString"))}}},geometryString:{get:function(){return this.geometry===null?"":this.geometry.toString()},set:function(a){a=Jn.parse(a);var y=a.normalize();this.geometry=a,this.position=a=st.allocAt(-y.x,-y.y),st.free(a)}},isGeometryPositioned:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.v(),this.g("isGeometryPositioned",y,a))}},fill:{get:function(){return this.Ui},set:function(a){var y=this.Ui;y!==a&&(a!==null&&Pf(a,"Shape.fill"),a instanceof Oo&&a.freeze(),this.Ui=a,this.N(),this.g("fill",y,a))}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&Pf(a,"Shape.stroke"),a instanceof Oo&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},strokeWidth:{get:function(){return this.ig},set:function(a){var y=this.ig;if(y!==a)if(0<=a){this.ig=a,this.v();var E=this.part;E!==null&&(E.ag=NaN),this.g("strokeWidth",y,a)}else lr(a,"value >= 0",kr,"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"?lr(a,'"butt", "round", or "square"',kr,"strokeCap"):($h(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"?lr(a,'"miter", "bevel", or "round"',kr,"strokeJoin"):($h(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){$h(this),this.Na.Jr=a,this.N();var E=this.part;E!==null&&(E.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 E=a.length,x=0,b=0;b<E;b++){var z=a[b];0<=z&&isFinite(z)||tn("strokeDashArray:value "+z+" at index "+b+" must be a positive number or zero."),x+=z}if(x===0){if(y===null)return;a=null}}this.Yg=a,this.N(),this.g("strokeDashArray",y,a)}}},strokeDashOffset:{get:function(){return this.Na!==null?this.Na.uj:0},set:function(a){var y=this.strokeDashOffset;y!==a&&0<=a&&($h(this),this.Na.uj=a,this.N(),this.g("strokeDashOffset",y,a))}},figure:{get:function(){return this.an},set:function(a){var y=this.an;if(y!==a){var E=Ht.Ze[a];typeof E=="function"?E=a:(E=Ht.Ze[a.toLowerCase()])||tn("Unknown Shape.figure: "+a),y!==E&&(a=this.part,a!==null&&(a.ag=NaN),this.an=E,this.Rd=null,this.qc(),this.v(),this.g("figure",y,E))}}},toArrow:{get:function(){return this.Ua!==null?this.Ua.V:"None"},set:function(a){var y=this.toArrow;if(a===!0?a="Standard":a===!1&&(a=""),y!==a){var E=ES(a);E===null?tn("Unknown Shape.toArrow: "+a):y!==E&&(this.Ua===null&&(this.Ua=new gh),this.Ua.V=E,this.Rd=null,this.qc(),this.v(),SS(this),this.g("toArrow",y,E))}}},fromArrow:{get:function(){return this.Ua!==null?this.Ua.j:"None"},set:function(a){var y=this.fromArrow;if(a===!0?a="Standard":a===!1&&(a=""),y!==a){var E=ES(a);E===null?tn("Unknown Shape.fromArrow: "+a):y!==E&&(this.Ua===null&&(this.Ua=new gh),this.Ua.j=E,this.Rd=null,this.qc(),this.v(),SS(this),this.g("fromArrow",y,E))}}},spot1:{get:function(){return this.Na!==null?this.Na.fg:$a},set:function(a){var y=this.spot1;y.D(a)||(a=a.J(),$h(this),this.Na.fg=a,this.v(),this.g("spot1",y,a))}},spot2:{get:function(){return this.Na!==null?this.Na.gg:$a},set:function(a){var y=this.spot2;y.D(a)||(a=a.J(),$h(this),this.Na.gg=a,this.v(),this.g("spot2",y,a))}},parameter1:{get:function(){return this.Un},set:function(a){var y=this.Un;y!==a&&(this.Un=a,this.qc(),this.v(),this.g("parameter1",y,a))}},parameter2:{get:function(){return this.Vn},set:function(a){var y=this.Vn;y!==a&&(this.Vn=a,this.qc(),this.v(),this.g("parameter2",y,a))}},naturalBounds:{get:function(){return this.dc}},pathPattern:{get:function(){return this.Na!==null?this.Na.br:null},set:function(a){var y=this.pathPattern;y!==a&&($h(this),this.Na.br=a,this.N(),this.g("pathPattern",y,a))}},geometryStretch:{get:function(){return this.Na!==null?this.Na.jq:Ar},set:function(a){var y=this.geometryStretch;y!==a&&($h(this),this.Na.jq=a,this.v(),this.g("geometryStretch",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 id),this.fa.Tk=a;var E=this.diagram;E!==null&&this.panel===E.grid&&Gc(E),this.v(),E=this.panel,E!==null&&(E.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:1<a&&(a=1),this.fa===null&&(this.fa=new id),this.fa.u=a,this.v(),this.g("graduatedStart",y,a))}},graduatedEnd:{get:function(){return this.fa!==null?this.fa.j:1},set:function(a){var y=this.graduatedEnd;y!==a&&(0>a?a=0:1<a&&(a=1),this.fa===null&&(this.fa=new id),this.fa.j=a,this.v(),this.g("graduatedEnd",y,a))}},graduatedSkip:{get:function(){return this.fa!==null?this.fa.o:null},set:function(a){var y=this.graduatedSkip;y!==a&&(this.fa===null&&(this.fa=new id),this.fa.o=a,this.v(),this.g("graduatedSkip",y,a))}}}),kr.prototype.intersectsRect=kr.prototype.Yc,kr.prototype.containedInRect=kr.prototype.fh,kr.prototype.getNearestIntersectionPoint=kr.prototype.rs,kr.prototype.getDocumentBounds=kr.prototype.mi,kr.prototype.getDocumentPoint=kr.prototype.ga;var nd=new vr,Nv=new vr;kr.className="Shape",kr.getFigureGenerators=function(){var a=new Fn,y;for(y in Ht.Ze)y!==y.toLowerCase()&&a.add(y,Ht.Ze[y]);return a.freeze(),a},kr.defineFigureGenerator=function(a,y){var E=a.toLowerCase(),x=Ht.Ze;x[a]=y,x[E]=a},kr.getArrowheadGeometries=function(){var a=new Fn;for(x in Ht.um)if(nd[x]===void 0){var y=Jn.parse(Ht.um[x],!1);nd[x]=y,y=x.toLowerCase(),y!==x&&(nd[y]=x)}for(var E in nd)if(E!==E.toLowerCase()){var x=nd[E];x instanceof Jn&&a.add(E,x)}return a.freeze(),a},kr.defineArrowheadGeometry=function(a,y){var E=null;typeof y=="string"?E=Jn.parse(y,!1):E=y,y=a.toLowerCase(),y!=="none"&&a!==y||tn("Shape.defineArrowheadGeometry name must not be empty or None or all-lower-case: "+a);var x=nd;x[a]=E,x[y]=a};function Lv(){this.nc=!1,this.Hr="butt",this.Ir="miter",this.Jr=10,this.uj=0,this.br=null,this.jq=Ar,this.gg=this.fg=$a}Lv.prototype.copy=function(){var a=new Lv;return a.Hr=this.Hr,a.Ir=this.Ir,a.Jr=this.Jr,a.uj=this.uj,a.br=this.br,a.jq=this.jq,a.fg=this.fg.J(),a.gg=this.gg.J(),a};function oa(a,y){return Ut.call(this),zm||(Gl=Za?new ec(null).context:null,zm=!0),this.l|=2097152,this.ec="",this.xc="black",this.Ae="13px sans-serif",this.Lq=this.Cb=this.Gc=0,this.da=this.fa=this.Gm=null,this.Ih=0,this.df=null,this.Le=0,this.ze=this.Qb=this.Qc=null,typeof a=="string"?this.text=a:a&&Object.assign(this,a),y&&Object.assign(this,y),this}Kt(oa,Ut),oa.prototype.cloneProtected=function(a){Ut.prototype.cloneProtected.call(this,a),a.ec=this.ec,a.xc=this.xc,a.Ae=this.Ae,a.Gc=this.Gc,a.Cb=this.Cb,a.Lq=this.Lq,a.Gm=this.Gm,this.fa!==null&&(a.fa=this.fa.copy()),this.da!==null&&(a.da=this.da.nc?this.da:this.da.copy()),a.Ih=this.Ih,a.df=this.df,a.Le=this.Le,a.Qc=this.Qc,a.Qb=this.Qb,a.ze=this.ze};function Kc(a){a.da===null?a.da=new Fv:a.da.nc&&(a.da=a.da.copy())}Ie=oa.prototype,Ie.th=function(){Ut.prototype.th.call(this),this.da!==null&&(this.da.nc=!0)};function xS(a,y){a.l=y.l|6144,a.pb=y.opacity,a.Ma=y.background,a.areaBackground=y.areaBackground,a.jd=y.desiredSize.J(),a.minSize=y.minSize.J(),a.maxSize=y.maxSize.J(),y.Lb!==null?a.Lb=y.Lb.copy():a.Lb=null,a.Ca=y.scale,a.Kb=y.angle,a.stretch=y.stretch,a.Kg=y.margin.J(),a.Jb=y.alignment.J(),a.sk=y.alignmentFocus.J(),a.segmentFraction=y.segmentFraction,a.segmentOffset=y.segmentOffset.J(),a.segmentOrientation=y.segmentOrientation,y.tb!==null&&(a.tb=y.tb.copy()),a.shadowVisible=y.shadowVisible,a.ec=y.ec,a.xc=y.xc,a.Ae=y.Ae,a.fa!==null&&(a.fa=y.fa.copy()),y.da!==null&&(a.da=y.da.nc?y.da:y.da.copy()),a.Ih=y.Ih}Ie.qb=function(a){a.classType===oa?this.wrap=a:Ut.prototype.qb.call(this,a)},Ie.toString=function(){return 22<this.ec.length?'TextBlock("'+this.ec.substring(0,20)+'"...)':'TextBlock("'+this.ec+'")'},Ie.v=function(){Ut.prototype.v.call(this)},Ie.hh=function(a,y){if(this.xc!==null&&this.ec.length!==0&&this.Ae!==null){var E=this.naturalBounds,x=this.actualBounds,b=E.width,z=E.height,ne=vp(this),re=a.textAlign=this.textAlign,oe=y.tn;re==="start"?re=oe?"right":"left":re==="end"&&(re=oe?"left":"right"),oe=this.isUnderline;var he=this.isStrikethrough;Ja(this,a,this.xc,!0,!1,E,x),(oe||he)&&Ja(this,a,this.xc,!1,!1,E,x),x=0,E=!1;var fe=this.oe,Se=fe.dx-(ne*fe.m21+fe.dx);fe=fe.dy-(ne*fe.m22+fe.dy);var Te=y.scale;switch(8>(Se*Se+fe*fe)*Te*Te&&(E=!0),y.ib!==a&&(E=!1),y.ib instanceof uu&&(E=!1),y.Gf("textGreeking")===!1&&(E=!1),y=this.spacingAbove,Se=this.spacingBelow,this.flip){case fo:a.translate(b,0),a.scale(-1,1);break;case Dr:a.translate(0,z),a.scale(1,-1);break;case zo:a.translate(b,z),a.scale(-1,-1)}if(a.yc(),fe=this.Gc,Te=(y+ne+Se)*fe,z>Te&&(x=this.verticalAlignment,x=x.y*z-x.y*Te+x.offsetY),fe===1&&this.ze!==null)Se=this.Cb,Se>b&&(Se=b),this.Oj(this.ze,a,0,x+y,b,ne,Se,E,re,oe,he);else if(this.Qc!==null&&this.Qb!==null)for(Te=0;Te<fe;Te++){var Ne=this.Qc[Te];Ne>b&&(Ne=b),x+=y,this.Oj(this.Qb[Te],a,0,x,b,ne,Ne,E,re,oe,he),x+=ne+Se}switch(this.flip){case fo:a.scale(-1,1),a.translate(-b,0);break;case Dr:a.scale(1,-1),a.translate(0,-z);break;case zo:a.scale(-1,-1),a.translate(-b,-z)}}},Ie.Oj=function(a,y,E,x,b,z,ne,re,oe,he,fe){var Se=0;if(re)oe==="left"?Se=0:oe==="right"?Se=b-ne:oe==="center"&&(Se=(b-ne)/2),y.fillRect(E+Se,x+.25*z,ne,1);else{if(oe==="left"?Se=0:oe==="right"?Se=b:oe==="center"&&(Se=b/2),b=Bm!==null?Bm(this,z):.75*z,y.fillText(a,E+Se,x+b),a=z/20|0,a===0&&(a=1),oe==="right"?Se-=ne:oe==="center"&&(Se-=ne/2),he){re=_m!==null?_m(this,z):.8*z,oe=E+Se,he=x+re,b=E+Se+ne,re=x+re;var Te=a;y.beginPath(),y.lineWidth=Te,y.moveTo(oe,he),y.lineTo(b,re),y.stroke(),y.Se(),y instanceof uu&&y.ad.classList.add("gojs-td")}fe&&(fe=x+z-z/2.2|0,a%2!==0&&(fe+=.5),x=E+Se,z=fe,E=E+Se+ne,ne=fe,Se=a,y.beginPath(),y.lineWidth=Se,y.moveTo(x,z),y.lineTo(E,ne),y.stroke(),y.Se(),y instanceof uu&&y.ad.classList.add("gojs-td"))}},Ie.kk=function(a,y,E){if(!Ut.prototype.kk.call(this,a,y,E))return!1;if(Ja(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),E){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),E=0;E<y.length;E++)eS(a,y[E],!1)}else y=this.svg,y.innerHTML=this.text,eS(a,y,!0);return!0},Ie.nk=function(a){return 1<this.lineCount||this.isUnderline||this.isStrikethrough?!0:Ut.prototype.nk.call(this,a)},Ie.Dv=function(a,y){if(a.nodeName!=="g")a.setAttributeNS(null,"filter",y);else{a=a.getElementsByTagName("text");for(var E=0;E<a.length;E++)a[E].setAttributeNS(null,"filter",y)}},Ie.Wl=function(a,y,E,x){var b=this.Gc;this.Ih=a,this.l&=-16777217;var z=this.Ae;Gl!==null&&LS!==z&&(LS=Gl.font=z),this.Cb=this.Le=0,this.ze=this.Qb=this.Qc=this.df=null;var ne;if(isNaN(this.desiredSize.width)){if(z=this.ec.replace(/\r\n/g,`
|
|
|
`).replace(/\r/g,`
|
|
|
`),z.length===0)z=8;else if(this.isMultiline){for(var re=ne=0,oe=!1;!oe;){var he=z.indexOf(`
|
|
|
`,re);he===-1&&(he=z.length,oe=!0),re=z.substr(re,he-re),this.formatting===yp&&(re=re.trim()),ne=Math.max(ne,mc(re)),re=he+1}z=ne}else ne=z.indexOf(`
|
|
|
`,0),0<=ne&&(z=z.substr(0,ne)),z=mc(z);z=Math.min(z,a/this.scale)}else z=this.desiredSize.width;if(this.panel!==null&&(z=Math.min(z,this.panel.maxSize.width)),ne=wS(this,z),isNaN(this.desiredSize.height)?ne=Math.min(ne,y/this.scale):ne=this.desiredSize.height,oe=ne,this.Cb!==0&&this.Qc!==null&&this.Qb!==null&&this.overflow===Um&&(y=this.Ae,y=this.overflow===Um?bS(y):0,he=this.spacingAbove+this.spacingBelow,he=Math.max(0,vp(this)+he),oe=Math.min(this.maxLines-1,Math.max(Math.floor(oe/he+.01)-1,0)),!(oe+1>=this.Qb.length))){for(this.l|=16777216,he=this.Qb[oe],y=Math.max(1,a-y);mc(he)>y&&1<he.length;)he=he.substr(0,he.length-1);he+=Sp,y=mc(he),this.Qb[oe]=he,this.Qb=this.Qb.slice(0,oe+1),this.Qc[oe]=y,this.Qc=this.Qc.slice(0,oe+1),this.Le=this.Qb.length,this.Cb=Math.max(this.Cb,y),this.Gc=this.Le,this.Gc===1&&(this.ze=this.Qb[0])}(this.wrap===CS||isNaN(this.desiredSize.width))&&(z=isNaN(a)?this.Cb:Math.min(a,this.Cb)),z=Math.max(E,z),ne=Math.max(x,ne),qo(this.dc,z,ne),this.Ge(0,0,z,ne),this.svg!==null&&b!==this.Gc&&(this.Uc=!0)},Ie.eh=function(a,y,E,x){yl(this,a,y,E,x)};function mp(a,y,E){a.ze===null?(a.ze=y,a.Cb=E):((a.Qb===null||a.Qc===null)&&(a.Qb=[],a.Qc=[],a.Qb.push(a.ze),a.Qc.push(a.Cb)),a.Qb.push(y),a.Qc.push(E),a.Qb.length>a.maxLines&&(a.l|=16777216))}function kv(a,y,E,x){var b=a.formatting===yp;b&&(y=y.trim());var z=0,ne=a.Ae,re=a.spacingAbove+a.spacingBelow;re=Math.max(0,vp(a)+re);var oe=a.overflow===Um?bS(ne):0;if(a.Gc>=a.maxLines)x!==null&&x.h(0,re);else if(ne=y,a.wrap===Iv){a.Le=1;var he=mc(y);if(oe===0||he<=E)a.Cb=Math.max(a.Cb,he),mp(a,y,a.Cb),x!==null&&x.h(he,re);else{for(z=gg(a,ne),ne=ne.substr(z.length),y=gg(a,ne),he=mc(z+y);0<y.length&&he<=E;)z+=y,ne=ne.substr(y.length),y=gg(a,ne),he=z+y,b&&(he=he.trim()),he=mc(he);for(b&&(y=y.trim()),z+=y,E=Math.max(1,E-oe);mc(z)>E&&1<z.length;)z=z.substr(0,z.length-1);a.l|=16777216,z+=Sp;var fe=mc(z);a.Cb=fe,mp(a,z,fe),x!==null&&x.h(fe,re)}}else{for(oe=0,ne.length===0&&(oe=1,mp(a,ne,0));0<ne.length;){for(y=gg(a,ne),ne=ne.substr(y.length);mc(y)>E;){var Se=1;for(he=mc(y.substr(0,Se)),fe=0;he<=E;)Se++,fe=he,he=mc(y.substr(0,Se));if(Se===1){var Te=he;z=Math.max(z,he)}else Te=fe,z=Math.max(z,fe);if(Se--,1>Se&&(Se=1),mp(a,y.substr(0,Se),Te),oe++,y=y.substr(Se),a.Gc+oe>a.maxLines)break}for(fe=gg(a,ne),he=mc(y+fe);0<fe.length&&he<=E;)y+=fe,ne=ne.substr(fe.length),fe=gg(a,ne),he=y+fe,b&&(he=he.trim()),he=mc(he);if(b&&(y=y.trim()),y!==""&&(y[y.length-1]==="\xAD"&&(y=y.substring(0,y.length-1)+"\u2010"),fe.length===0?(Se=he,z=Math.max(z,he)):(Se=fe=mc(y),z=Math.max(z,fe)),mp(a,y,Se),oe++,a.Gc+oe>a.maxLines))break}a.Le=Math.min(a.maxLines,oe),a.Cb=Math.max(a.Cb,z),x!==null&&x.h(a.Cb,re*a.Le)}}function gg(a,y){if(a.wrap===TS)return y.substr(0,1);for(var E=y.length,x=0,b=LE;x<E&&!b.test(y.charAt(x));)x++;for(a.formatting===AS&&(E=Math.min(E,x+1));x<E&&b.test(y.charAt(x));)x++;return x>=y.length?y:y.substr(0,x)}function mc(a){return Gl===null?8*a.length:Gl.measureText(a).width}function vp(a){if(a.df!==null)return a.df;var y=a.Ae;if(Gl===null){var E=16;return a.df=E}return Ov[y]!==void 0&&5e3>PS?E=Ov[y]:(E=1.3*Gl.measureText("M").width,Ov[y]=E,PS++),a.df=E}function bS(a){if(Gl===null)return 6;if(Hm[a]!==void 0&&5e3>Dv)var y=Hm[a];else y=Gl.measureText(Sp).width,Hm[a]=y,Dv++;return y}function wS(a,y){var E=a.ec.replace(/\r\n/g,`
|
|
|
`).replace(/\r/g,`
|
|
|
`),x=a.spacingAbove+a.spacingBelow;if(x=Math.max(0,vp(a)+x),E.length===0)return a.Cb=0,a.Gc=1,x;if(!a.isMultiline){var b=E.indexOf(`
|
|
|
`,0);0<=b&&(E=E.substr(0,b))}b=0;for(var z=a.Gc=0,ne,re=!1;!re;){if(ne=E.indexOf(`
|
|
|
`,z),ne===-1&&(ne=E.length,re=!0),z<=ne){if(z=E.substr(z,ne-z),a.wrap!==Iv){a.Le=0;var oe=fn.alloc();kv(a,z,y,oe),b+=oe.height,fn.free(oe),a.Gc+=a.Le}else kv(a,z,y,null),b+=x,a.Gc++;a.Gc===a.maxLines&&(re=!0)}z=ne+1}return a.Lq=b}bn.Object.defineProperties(oa.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"||(Kc(this),this.da.Or=a,this.N(),this.g("textAlign",y,a))}},flip:{get:function(){return this.da!==null?this.da.Xf:Rn},set:function(a){var y=this.flip;y!==a&&(Kc(this),this.da.Xf=a,this.N(),this.g("flip",y,a))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:Iu},set:function(a){var y=this.verticalAlignment;y.D(a)||(a=a.J(),Kc(this),this.da.Yr=a,Tl(this),this.g("verticalAlignment",y,a))}},naturalBounds:{get:function(){if(!this.dc.w()){var a=fn.alloc();kv(this,this.ec,999999,a);var y=a.width;fn.free(a),a=wS(this,y);var E=this.desiredSize;isNaN(E.width)||(y=E.width),isNaN(E.height)||(a=E.height),qo(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:Mv},set:function(a){var y=this.wrap;y!==a&&(Kc(this),this.da.$r=a,this.v(),this.g("wrap",y,a))}},overflow:{get:function(){return this.da!==null?this.da.$q:Rv},set:function(a){var y=this.overflow;y!==a&&(Kc(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&&Pf(a,"TextBlock.stroke"),a instanceof Oo&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return vp(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&&(Kc(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&&(Kc(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 id),this.fa.Tk=a,this.v();var E=this.panel;E!==null&&(E.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:1<a&&(a=1),this.fa===null&&(this.fa=new id),this.fa.u=a,this.v(),this.g("graduatedStart",y,a))}},graduatedEnd:{get:function(){return this.fa!==null?this.fa.j:1},set:function(a){var y=this.graduatedEnd;y!==a&&(0>a?a=0:1<a&&(a=1),this.fa===null&&(this.fa=new id),this.fa.j=a,this.v(),this.g("graduatedEnd",y,a))}},graduatedFunction:{get:function(){return this.fa!==null?this.fa.F:null},set:function(a){var y=this.graduatedFunction;y!==a&&(this.fa===null&&(this.fa=new id),this.fa.F=a,this.v(),this.g("graduatedFunction",y,a))}},graduatedSkip:{get:function(){return this.fa!==null?this.fa.o:null},set:function(a){var y=this.graduatedSkip;y!==a&&(this.fa===null&&(this.fa=new id),this.fa.o=a,this.v(),this.g("graduatedSkip",y,a))}},textValidation:{get:function(){return this.da!==null?this.da.vj:null},set:function(a){var y=this.textValidation;y!==a&&(Kc(this),this.da.vj=a,this.g("textValidation",y,a))}},textEdited:{get:function(){return this.da!==null?this.da.Pr:null},set:function(a){var y=this.textEdited;y!==a&&(Kc(this),this.da.Pr=a,this.g("textEdited",y,a))}},spacingAbove:{get:function(){return this.da!==null?this.da.Dr:0},set:function(a){var y=this.spacingAbove;y!==a&&(Kc(this),this.da.Dr=a,this.v(),this.g("spacingAbove",y,a))}},spacingBelow:{get:function(){return this.da!==null?this.da.Er:0},set:function(a){var y=this.spacingBelow;y!==a&&(Kc(this),this.da.Er=a,this.v(),this.g("spacingBelow",y,a))}},formatting:{get:function(){return this.da!==null?this.da.gq:yp},set:function(a){var y=this.formatting;y!==a&&(Kc(this),this.da.gq=a,this.v(),this.g("formatting",y,a))}},maxLines:{get:function(){return this.da!==null?this.da.Jq:1/0},set:function(a){var y=this.maxLines;y!==a&&(a=Math.floor(a),0>=a&&lr(a,"> 0",oa,"maxLines"),Kc(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 Bm=null,_m=null,Iv=new nn(oa,"None",0),CS=new nn(oa,"WrapFit",1),Mv=new nn(oa,"WrapDesiredSize",2),TS=new nn(oa,"WrapBreakAll",3),Rv=new nn(oa,"OverflowClip",0),Um=new nn(oa,"OverflowEllipsis",1),yp=new nn(oa,"FormatTrim",0),AS=new nn(oa,"FormatNone",0),LE=/[ \u200b\u00ad]/,Ov=new vr,PS=0,Hm=new vr,Dv=0,Sp="...",LS="",Gl=null,zm=!1;oa.className="TextBlock";function Fv(){this.nc=!1,this.Hd=null,this.Xf=Rn,this.gq=yp,this.Jq=1/0,this.$q=Rv,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=Iu,this.$r=Mv}Fv.prototype.copy=function(){var a=new Fv;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},oa.getEllipsis=function(){return Sp},oa.setEllipsis=function(a){Sp=a,Hm=new vr,Dv=0},oa.getBaseline=function(){return Bm},oa.setBaseline=function(a){Bm=a},oa.getUnderline=function(){return _m},oa.setUnderline=function(a){_m=a},oa.isValidFont=function(a){if(zm||(Gl=Za?new ec(null).context:null,zm=!0),Gl===null)return!0;var y=Gl.font;if(a===y||a==="10px sans-serif")return!0;Gl.font="10px sans-serif",Gl.font=a;var E=Gl.font;if(E!=="10px sans-serif")return Gl.font=y,!0;Gl.font="19px serif";var x=Gl.font;return Gl.font=a,E=Gl.font,Gl.font=y,E!==x},oa.FormatNone=AS,oa.FormatTrim=yp,oa.None=Iv,oa.OverflowClip=Rv,oa.OverflowEllipsis=Um,oa.WrapBreakAll=TS,oa.WrapDesiredSize=Mv,oa.WrapFit=CS;function id(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}id.prototype.copy=function(){var a=new id;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},id.className="GradElementSettings";function Wl(a,y){Ut.call(this),this.Eg=null,this.qo="",this.Xg=ho,this.Nk=zn,this.Zg=this.Hd=null,this.Mk=Yr,this.Xf=Rn,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 pg;Kt(Wl,Ut),Wl.prototype.cloneProtected=function(a){Ut.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},Wl.prototype.qb=function(a){a===Rn||a===Bi||a===Qr?this.imageStretch=a:Ut.prototype.qb.call(this,a)},Wl.prototype.toString=function(){return"Picture("+this.source+")#"+Lt(this)};function mg(a){a===void 0&&(a=""),a!==""?pg[a]&&(delete pg[a],jm--):(pg=new vr,jm=0)}function kS(a,y){y.qy||(y.Fq=function(E){y.sq=!0,y.ln=!1;var x=y.Bg.copy();if(x!=null){for(x=x.iterator;x.next();){var b=x.value;b.N();var z=y.getAttribute("src")||"",ne=b.Og.I(z);if(ne!==null)for(var re=ne.length,oe=0;oe<re;oe++)z=ne[oe],b.Xn.add(z),z.Uc=!0,b.$b(),y.hn&&(y.eu===void 0&&(y.eu=E),z.Zg!==null&&z.Zg(z,E))}y.Bg.clear()}a.desiredSize.w()||(Es(a,!1),a.v())},y.Yp=function(E){y.ln=E;var x=y.Bg.copy();if(x!=null){for(x=x.iterator;x.next();){var b=x.value,z=y.getAttribute("src")||"",ne=b.Og.I(z);if(ne!==null){b=ne.length,z=Vi();for(var re=0;re<b;re++)z.push(ne[re]);if(y.hn)for(re=0;re<b;re++)ne=z[re],ne.Hd!==null&&ne.Hd(ne,E);Qi(z)}}y.Bg.clear()}},y.addEventListener("load",y.Fq),y.addEventListener("error",y.Yp),y.qy=!0)}Wl.prototype.hA=function(){if(this.source!==""){mg(this.source);var a=this.source;this.source="",this.source=a}},Wl.prototype.redraw=function(){this.N(),this.Uc=!0},Wl.prototype.hh=function(a,y){var E=this.Eg;if(E!==null){var x=E.getAttribute("src");if(!(E instanceof HTMLImageElement&&(x===null||x==="")||E.ln instanceof Event&&a instanceof Jh)){var b=a instanceof uu;x=this.naturalBounds;var z=0,ne=0,re=this.qn,oe=re?+E.width:E.naturalWidth;if(re=re?+E.height:E.naturalHeight,oe===void 0&&E.videoWidth&&(oe=E.videoWidth),re===void 0&&E.videoHeight&&(re=E.videoHeight),oe=oe||x.width,re=re||x.height,oe!==0&&re!==0){var he=oe,fe=re;this.sourceRect.w()&&(z=this.Xg.x,ne=this.Xg.y,oe=this.Xg.width,re=this.Xg.height);var Se=oe,Te=re,Ne=this.Nk,Be=this.Mk;switch(Ne){case Rn:if(this.sourceRect.w())break;Se>=x.width&&(z=z+Be.offsetX+(Se*Be.x-x.width*Be.x)),Te>=x.height&&(ne=ne+Be.offsetY+(Te*Be.y-x.height*Be.y)),oe=Math.min(x.width,Se),re=Math.min(x.height,Te);break;case zn:Se=x.width,Te=x.height;break;case Bi:case Qr:Ne===Bi?(Ne=Math.min(x.height/Te,x.width/Se),Se*=Ne,Te*=Ne):Ne===Qr&&(Ne=Math.max(x.height/Te,x.width/Se),Se*=Ne,Te*=Ne,Se>=x.width&&(z=(z+Be.offsetX+(Se*Be.x-x.width*Be.x)/Se)*oe),Te>=x.height&&(ne=(ne+Be.offsetY+(Te*Be.y-x.height*Be.y)/Te)*re),oe*=1/(Se/x.width),re*=1/(Te/x.height),Se=x.width,Te=x.height)}Ne=this.Df()*y.scale;var We=Se*Ne*Te*Ne,vt=oe*re/We,ct=E.__goCache;Ne=null;var wt=kE;if(!b){if(E.sq&&ct!==void 0&&4<We&&vt>wt*wt)for(ct.gi===null&&(MS(ct,4,he,fe,E),MS(ct,16,he,fe,E)),b=ct.gi,he=b.length,fe=0;fe<he&&b[fe].ratio*b[fe].ratio<vt;fe++)Ne=b[fe];if(!y.Xm){if(this.vl===null)if(this.Eg===null)this.vl=!1;else{b=new ec(null).context;try{b.drawImage(this.Eg,0,0)}catch(Tt){this.en=!1}try{b.getImageData(0,0,1,1).data[3]&&(this.vl=!1),this.vl=!1}catch(Tt){this.vl=!0}}if(this.vl)return}}switch(b=Se<x.width?Be.offsetX+(x.width*Be.x-Se*Be.x):0,Be=Te<x.height?Be.offsetY+(x.height*Be.y-Te*Be.y):0,this.flip){case fo:a.translate(Math.min(x.width,Se),0),a.scale(-1,1);break;case Dr:a.translate(0,Math.min(x.height,Te)),a.scale(1,-1);break;case zo:a.translate(Math.min(x.width,Se),Math.min(x.height,Te)),a.scale(-1,-1)}if(a.yc(),y.Gf("pictureRatioOptimization")&&!y.$i&&ct!==void 0&&Ne!==null&&Ne.ratio!==1){a.save(),y=Ne.ratio;try{a.drawImage(Ne.source,z/y,ne/y,Math.min(Ne.source.width,oe/y),Math.min(Ne.source.height,re/y),b,Be,Math.min(x.width,Se),Math.min(x.height,Te)),a instanceof uu&&(this.bt=[z/y,ne/y,Math.min(Ne.source.width,oe/y),Math.min(Ne.source.height,re/y),b,Be,Math.min(x.width,Se),Math.min(x.height,Te)])}catch(Tt){this.en=!1}a.restore()}else try{a.drawImage(E,z,ne,oe,re,b,Be,Math.min(x.width,Se),Math.min(x.height,Te)),a instanceof uu&&(this.bt=[z,ne,oe,re,b,Be,Math.min(x.width,Se),Math.min(x.height,Te)])}catch(Tt){this.en=!1}switch(this.flip){case fo:a.scale(-1,1),a.translate(-Math.min(x.width,Se),0);break;case Dr:a.scale(1,-1),a.translate(0,-Math.min(x.height,Te));break;case zo:a.scale(-1,-1),a.translate(-Math.min(x.width,Se),-Math.min(x.height,Te))}}}}},Wl.prototype.Wl=function(a,y,E,x){var b=this.desiredSize,z=jl(this,!0),ne=this.Eg,re=this.qn,oe=0,he=0;(re||!this.al&&ne&&ne.complete)&&(this.al=!0),ne===null?(isFinite(b.width)||(a=0),isFinite(b.height)||(y=0)):(oe=re?+ne.width:ne.naturalWidth,he=re?+ne.height:ne.naturalHeight),isFinite(b.width)||z===zn||z===Ui?(isFinite(a)||(this.sourceRect.w()?a=this.sourceRect.width:ne!==null&&(a=oe)),E=0):ne!==null&&this.al!==!1&&(a=this.sourceRect.w()?this.sourceRect.width:oe),isFinite(b.height)||z===zn||z===nr?(isFinite(y)||(this.sourceRect.w()?y=this.sourceRect.height:ne!==null&&(y=he)),x=0):ne!==null&&this.al!==!1&&(y=this.sourceRect.w()?this.sourceRect.height:he),isFinite(b.width)&&(a=b.width),isFinite(b.height)&&(y=b.height),b=this.maxSize,z=this.minSize,E=Math.max(E||0,z.width),x=Math.max(x||0,z.height),a=Math.min(b.width,a),y=Math.min(b.height,y),a=Math.max(E,a),y=Math.max(x,y),ne===null||ne.complete||(isFinite(a)||(a=0),isFinite(y)||(y=0)),qo(this.dc,a,y),this.Ge(0,0,a,y)},Wl.prototype.eh=function(a,y,E,x){yl(this,a,y,E,x)},bn.Object.defineProperties(Wl.prototype,{element:{get:function(){return this.Eg},set:function(a){var y=this.Eg;if(this.Uc=!0,y!==a){this.qn=a instanceof HTMLCanvasElement;var E=a instanceof HTMLImageElement;a===null||E||a instanceof HTMLVideoElement||this.qn||tn("Picture.element must be an instance of Image, Canvas, or Video, not: "+a);var x=this.diagram;x!==null&&qg(x,this),this.Eg=a,a!==null&&E&&a.Bg===void 0&&(a.Bg=new Rt),x!==null&&E&&dh(x,this),a!==null&&(this.qn||a.complete===!0?(a.hn&&(a.ln instanceof Event&&this.Hd!==null?this.Hd(this,a.ln):a.sq===!0&&!a.ln&&this.Zg!==null&&a.eu&&this.Zg(this,a.eu)),a.sq=!0,this.desiredSize.w()||(Es(this,!1),this.v())):E&&kS(this,a)),this.g("element",y,a),this.N()}}},source:{get:function(){return this.qo},set:function(a){var y=this.qo;if(y!==a){this.Uc=!0,this.qo=a;var E=pg;if(Za){var x=null;if(E[a]!==void 0)x=E[a];else if(a!==""){30<jm&&(mg(),E=pg),x=si("img"),x.hn=!0,kS(this,x);var b=this.rl;b!==null&&(x.crossOrigin=b(this)),x.src=a,E[a]=x,jm++}this.element=x,x!==null&&x.__goCache===void 0&&(x.__goCache=new IS),this.v(),this.N()}this.g("source",y,a)}}},sourceCrossOrigin:{get:function(){return this.rl},set:function(a){if(this.rl!==a&&(this.rl=a,this.element!==null)){var y=this.element.getAttribute("src");a===null&&typeof y=="string"?this.element.crossOrigin=null:a!==null&&(this.element.crossOrigin=a(this)),this.element.src=y}}},sourceRect:{get:function(){return this.Xg},set:function(a){var y=this.Xg;y.D(a)||(this.Xg=a=a.J(),this.N(),this.g("sourceRect",y,a))}},imageStretch:{get:function(){return this.Nk},set:function(a){var y=this.Nk;y!==a&&(this.Nk=a,this.N(),this.g("imageStretch",y,a))}},flip:{get:function(){return this.Xf},set:function(a){var y=this.Xf;y!==a&&(this.Xf=a,this.N(),this.g("flip",y,a))}},imageAlignment:{get:function(){return this.Mk},set:function(a){var y=this.Mk;y.D(a)||(this.Mk=a=a.J(),this.N(),this.g("imageAlignment",y,a))}},errorFunction:{get:function(){return this.Hd},set:function(a){var y=this.Hd;y!==a&&(this.Hd=a,this.g("errorFunction",y,a))}},successFunction:{get:function(){return this.Zg},set:function(a){var y=this.Zg;y!==a&&(this.Zg=a,this.g("successFunction",y,a))}},naturalBounds:{get:function(){return this.dc}}}),Wl.prototype.redraw=Wl.prototype.redraw,Wl.prototype.reloadSource=Wl.prototype.hA;var jm=0,kE=4;Wl.className="Picture",pg=new vr,Wl.clearCache=mg;function IS(){this.gi=null}function MS(a,y,E,x,b){a.gi===null&&(a.gi=[]);var z=new ec(null),ne=z.context,re=1/y;z.width=E/y,z.height=x/y,z.width!==0&&z.height!==0&&(y=new RS(z.Oa,y),E=1,0<a.gi.length&&(E=a.gi[a.gi.length-1],b=E.source,E=E.ratio),ne.setTransform(re*E,0,0,re*E,0,0),ne.yc(),ne.drawImage(b,0,0),a.gi.push(y))}IS.className="PictureCacheArray";function RS(a,y){this.source=a,this.ratio=y}RS.className="PictureCacheInstance";function vg(){this.os=new Jn,this.mc=null}vg.prototype.reset=function(a){a!==null?(a.ka(),this.os=a,a.figures.clear()):this.os=new Jn,this.mc=null};function yg(a,y,E,x,b,z){a.mc=new _a,a.mc.startX=y,a.mc.startY=E,a.mc.isFilled=x,a.mc.isEvenOdd=z||!1,a.os.figures.add(a.mc),b!==void 0&&(a.mc.isShadowed=b)}function IE(a){var y=a.mc.segments.length;0<y&&a.mc.segments.M(y-1).close()}vg.prototype.moveTo=function(a,y,E){E===void 0&&(E=!1);var x=new eo(Ga);x.endX=a,x.endY=y,E&&x.close(),this.mc.segments.add(x)},vg.prototype.lineTo=function(a,y,E){E===void 0&&(E=!1);var x=new eo(Ho);x.endX=a,x.endY=y,E&&x.close(),this.mc.segments.add(x)};function jd(a,y,E,x,b,z,ne){var re;re===void 0&&(re=!1);var oe=new eo(ys);oe.point1X=y,oe.point1Y=E,oe.point2X=x,oe.point2Y=b,oe.endX=z,oe.endY=ne,re&&oe.close(),a.mc.segments.add(oe)}function Gm(a,y,E,x,b){var z;z===void 0&&(z=!1);var ne=new eo(rl);ne.point1X=y,ne.point1Y=E,ne.endX=x,ne.endY=b,z&&ne.close(),a.mc.segments.add(ne)}vg.prototype.arcTo=function(a,y,E,x,b,z,ne){z===void 0&&(z=0),ne===void 0&&(ne=!1);var re=new eo(Wa);re.startAngle=a,re.sweepAngle=y,re.centerX=E,re.centerY=x,re.radiusX=b,re.radiusY=z!==0?z:b,ne&&re.close(),this.mc.segments.add(re)};function ME(a,y,E,x,b,z,ne,re){var oe;oe===void 0&&(oe=!1),y=new eo(fl,ne,re,y,E,x,b,z),oe&&y.close(),a.mc.segments.add(y)}function OS(a){var y=Wm;return y!==null?(Wm=null,y.reset(a),y):(y=new vg,y.reset(a),y)}var Wm=null;vg.className="StreamGeometryContext";function dl(a,y){var E=a.toLowerCase(),x=Ht.Ze;x[a]=y,x[E]=a}dl("Rectangle",function(a,y,E){a="r"+y+","+E;var x=Ht.Mf[a];return x!==void 0||(x=new Jn(Jn.u),x.endX=y,x.endY=E,Ht.Nf<Ht.vm&&(Ht.Mf[a]=x,Ht.Nf++)),x}),dl("Square",function(a,y,E){a="s"+y+","+E;var x=Ht.Mf[a];return x!==void 0||(x=new Jn(Jn.u),x.endX=y,x.endY=E,x.defaultStretch=Bi,Ht.Nf<Ht.vm&&(Ht.Mf[a]=x,Ht.Nf++)),x}),dl("RoundedRectangle",function(a,y,E){a=a?a.parameter1:NaN,(isNaN(a)||0>a)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,E/3);var x="rr"+y+","+E+","+a,b=Ht.Mf[x];if(b!==void 0)return b;var z=a*Ht.wg;return b=new Jn().add(new _a(a,0,!0).add(new eo(Ho,y-a,0)).add(new eo(ys,y,a,y-z,0,y,z)).add(new eo(Ho,y,E-a)).add(new eo(ys,y-a,E,y,E-z,y-z,E)).add(new eo(Ho,a,E)).add(new eo(ys,0,E-a,z,E,0,E-z)).add(new eo(Ho,0,a)).add(new eo(ys,a,0,0,z,z,0).close())),1<z&&(b.spot1=new wi(0,0,z,z),b.spot2=new wi(1,1,-z,-z)),Ht.Nf<Ht.vm&&(Ht.Mf[x]=b,Ht.Nf++),b}),dl("Border","RoundedRectangle"),dl("Ellipse",function(a,y,E){a="e"+y+","+E;var x=Ht.Mf[a];return x!==void 0||(x=new Jn(Jn.F),x.endX=y,x.endY=E,x.spot1=Xo,x.spot2=La,Ht.Nf<Ht.vm&&(Ht.Mf[a]=x,Ht.Nf++)),x}),dl("Circle",function(a,y,E){a="c"+y+","+E;var x=Ht.Mf[a];return x!==void 0||(x=new Jn(Jn.F),x.endX=y,x.endY=E,x.spot1=Xo,x.spot2=La,x.defaultStretch=Bi,Ht.Nf<Ht.vm&&(Ht.Mf[a]=x,Ht.Nf++)),x}),dl("TriangleRight",function(a,y,E){return new Jn().add(new _a(0,0).add(new eo(Ho,y,.5*E)).add(new eo(Ho,0,E).close())).pm(0,.25,.5,.75)}),dl("TriangleDown",function(a,y,E){return new Jn().add(new _a(0,0).add(new eo(Ho,y,0)).add(new eo(Ho,.5*y,E).close())).pm(.25,0,.75,.5)}),dl("TriangleLeft",function(a,y,E){return new Jn().add(new _a(y,E).add(new eo(Ho,0,.5*E)).add(new eo(Ho,y,0).close())).pm(.5,.25,1,.75)}),dl("TriangleUp",function(a,y,E){return new Jn().add(new _a(y,E).add(new eo(Ho,0,E)).add(new eo(Ho,.5*y,0).close())).pm(.25,.5,.75,1)}),dl("Triangle","TriangleUp"),dl("Diamond",function(a,y,E){return new Jn().add(new _a(.5*y,0).add(new eo(Ho,0,.5*E)).add(new eo(Ho,.5*y,E)).add(new eo(Ho,y,.5*E).close())).pm(.25,.25,.75,.75)}),dl("LineH",function(a,y,E){return a=new Jn(Jn.j),a.startX=0,a.startY=E/2,a.endX=y,a.endY=E/2,a}),dl("LineV",function(a,y,E){return a=new Jn(Jn.j),a.startX=y/2,a.startY=0,a.endX=y/2,a.endY=E,a}),dl("None","Rectangle"),dl("BarH","Rectangle"),dl("BarV","Rectangle"),dl("MinusLine","LineH"),dl("PlusLine",function(a,y,E){return new Jn().add(new _a(0,E/2,!1).add(new eo(Ho,y,E/2)).add(new eo(Ga,y/2,0)).add(new eo(Ho,y/2,E)))}),dl("XLine",function(a,y,E){return new Jn().add(new _a(0,E,!1).add(new eo(Ho,y,0)).add(new eo(Ga,0,0)).add(new eo(Ho,y,E)))}),dl("LineRight",function(a,y,E){return new Jn().add(new _a(.25*y,0,!1).add(new eo(Ho,.75*y,.5*E)).add(new eo(Ho,.25*y,E)))}),dl("LineDown",function(a,y,E){return new Jn().add(new _a(0,.25*E,!1).add(new eo(Ho,.5*y,.75*E)).add(new eo(Ho,y,.25*E)))}),dl("LineLeft",function(a,y,E){return new Jn().add(new _a(.75*y,0,!1).add(new eo(Ho,.25*y,.5*E)).add(new eo(Ho,.75*y,E)))}),dl("LineUp",function(a,y,E){return new Jn().add(new _a(0,.75*E,!1).add(new eo(Ho,.5*y,.25*E)).add(new eo(Ho,y,.75*E)))}),Ht.um={"":"",Standard:"F1 m 0,0 l 8,4 -8,4 2,-4 z",Backward:"F1 m 8,0 l -2,4 2,4 -8,-4 z",Triangle:"F1 m 0,0 l 8,4.62 -8,4.62 z",BackwardTriangle:"F1 m 8,4 l 0,4 -8,-4 8,-4 0,4 z",Boomerang:"F1 m 0,0 l 8,4 -8,4 4,-4 -4,-4 z",BackwardBoomerang:"F1 m 8,0 l -8,4 8,4 -4,-4 4,-4 z",SidewaysV:"m 0,0 l 8,4 -8,4 0,-1 6,-3 -6,-3 0,-1 z",BackwardV:"m 8,0 l -8,4 8,4 0,-1 -6,-3 6,-3 0,-1 z",OpenTriangle:"m 0,0 l 8,4 -8,4",BackwardOpenTriangle:"m 8,0 l -8,4 8,4",OpenTriangleLine:"m 0,0 l 8,4 -8,4 m 8.5,0 l 0,-8",BackwardOpenTriangleLine:"m 8,0 l -8,4 8,4 m -8.5,0 l 0,-8",OpenTriangleTop:"m 0,0 l 8,4 m 0,4",BackwardOpenTriangleTop:"m 8,0 l -8,4 m 0,4",OpenTriangleBottom:"m 0,8 l 8,-4",BackwardOpenTriangleBottom:"m 0,4 l 8,4",HalfTriangleTop:"F1 m 0,0 l 0,4 8,0 z m 0,8",BackwardHalfTriangleTop:"F1 m 8,0 l 0,4 -8,0 z m 0,8",HalfTriangleBottom:"F1 m 0,4 l 0,4 8,-4 z",BackwardHalfTriangleBottom:"F1 m 8,4 l 0,4 -8,-4 z",ForwardSemiCircle:"m 4,0 b 270 180 0 4 4",BackwardSemiCircle:"m 4,8 b 90 180 0 -4 4",Feather:"m 0,0 l 3,4 -3,4",BackwardFeather:"m 3,0 l -3,4 3,4",DoubleFeathers:"m 0,0 l 3,4 -3,4 m 3,-8 l 3,4 -3,4",BackwardDoubleFeathers:"m 3,0 l -3,4 3,4 m 3,-8 l -3,4 3,4",TripleFeathers:"m 0,0 l 3,4 -3,4 m 3,-8 l 3,4 -3,4 m 3,-8 l 3,4 -3,4",BackwardTripleFeathers:"m 3,0 l -3,4 3,4 m 3,-8 l -3,4 3,4 m 3,-8 l -3,4 3,4",ForwardSlash:"m 0,8 l 5,-8",BackSlash:"m 0,0 l 5,8",DoubleForwardSlash:"m 0,8 l 4,-8 m -2,8 l 4,-8",DoubleBackSlash:"m 0,0 l 4,8 m -2,-8 l 4,8",TripleForwardSlash:"m 0,8 l 4,-8 m -2,8 l 4,-8 m -2,8 l 4,-8",TripleBackSlash:"m 0,0 l 4,8 m -2,-8 l 4,8 m -2,-8 l 4,8",Fork:"m 0,4 l 8,0 m -8,0 l 8,-4 m -8,4 l 8,4",BackwardFork:"m 8,4 l -8,0 m 8,0 l -8,-4 m 8,4 l -8,4",LineFork:"m 0,0 l 0,8 m 0,-4 l 8,0 m -8,0 l 8,-4 m -8,4 l 8,4",BackwardLineFork:"m 8,4 l -8,0 m 8,0 l -8,-4 m 8,4 l -8,4 m 8,-8 l 0,8",CircleFork:"F1 m 6,4 b 0 360 -3 0 3 z m 0,0 l 6,0 m -6,0 l 6,-4 m -6,4 l 6,4",BackwardCircleFork:"F1 m 0,4 l 6,0 m -6,-4 l 6,4 m -6,4 l 6,-4 m 6,0 b 0 360 -3 0 3",CircleLineFork:"F1 m 6,4 b 0 360 -3 0 3 z m 1,-4 l 0,8 m 0,-4 l 6,0 m -6,0 l 6,-4 m -6,4 l 6,4",BackwardCircleLineFork:"F1 m 0,4 l 6,0 m -6,-4 l 6,4 m -6,4 l 6,-4 m 0,-4 l 0,8 m 7,-4 b 0 360 -3 0 3",Circle:"F1 m 8,4 b 0 360 -4 0 4 z",Block:"F1 m 0,0 l 0,8 8,0 0,-8 z",StretchedDiamond:"F1 m 0,3 l 5,-3 5,3 -5,3 -5,-3 z",Diamond:"F1 m 0,4 l 4,-4 4,4 -4,4 -4,-4 z",Chevron:"F1 m 0,0 l 5,0 3,4 -3,4 -5,0 3,-4 -3,-4 z",StretchedChevron:"F1 m 0,0 l 8,0 3,4 -3,4 -8,0 3,-4 -3,-4 z",NormalArrow:"F1 m 0,2 l 4,0 0,-2 4,4 -4,4 0,-2 -4,0 z",X:"m 0,0 l 8,8 m 0,-8 l -8,8",TailedNormalArrow:"F1 m 0,0 l 2,0 1,2 3,0 0,-2 2,4 -2,4 0,-2 -3,0 -1,2 -2,0 1,-4 -1,-4 z",DoubleTriangle:"F1 m 0,0 l 4,4 -4,4 0,-8 z m 4,0 l 4,4 -4,4 0,-8 z",BigEndArrow:"F1 m 0,0 l 5,2 0,-2 3,4 -3,4 0,-2 -5,2 0,-8 z",ConcaveTailArrow:"F1 m 0,2 h 4 v -2 l 4,4 -4,4 v -2 h -4 l 2,-2 -2,-2 z",RoundedTriangle:"F1 m 0,1 a 1,1 0 0 1 1,-1 l 7,3 a 0.5,1 0 0 1 0,2 l -7,3 a 1,1 0 0 1 -1,-1 l 0,-6 z",SimpleArrow:"F1 m 1,2 l -1,-2 2,0 1,2 -1,2 -2,0 1,-2 5,0 0,-2 2,2 -2,2 0,-2 z",AccelerationArrow:"F1 m 0,0 l 0,8 0.2,0 0,-8 -0.2,0 z m 2,0 l 0,8 1,0 0,-8 -1,0 z m 3,0 l 2,0 2,4 -2,4 -2,0 0,-8 z",BoxArrow:"F1 m 0,0 l 4,0 0,2 2,0 0,-2 2,4 -2,4 0,-2 -2,0 0,2 -4,0 0,-8 z",TriangleLine:"F1 m 8,4 l -8,-4 0,8 8,-4 z m 0.5,4 l 0,-8",CircleEndedArrow:"F1 m 10,4 l -2,-3 0,2 -2,0 0,2 2,0 0,2 2,-3 z m -4,0 b 0 360 -3 0 3 z",DynamicWidthArrow:"F1 m 0,3 l 2,0 2,-1 2,-2 2,4 -2,4 -2,-2 -2,-1 -2,0 0,-2 z",EquilibriumArrow:"m 0,3 l 8,0 -3,-3 m 3,5 l -8,0 3,3",FastForward:"F1 m 0,0 l 3.5,4 0,-4 3.5,4 0,-4 1,0 0,8 -1,0 0,-4 -3.5,4 0,-4 -3.5,4 0,-8 z",Kite:"F1 m 0,4 l 2,-4 6,4 -6,4 -2,-4 z",HalfArrowTop:"F1 m 0,0 l 4,4 4,0 -8,-4 z m 0,8",HalfArrowBottom:"F1 m 0,8 l 4,-4 4,0 -8,4 z",OpposingDirectionDoubleArrow:"F1 m 0,4 l 2,-4 0,2 4,0 0,-2 2,4 -2,4 0,-2 -4,0 0,2 -2,-4 z",PartialDoubleTriangle:"F1 m 0,0 4,3 0,-3 4,4 -4,4 0,-3 -4,3 0,-8 z",LineCircle:"F1 m 0,0 l 0,8 m 7 -4 b 0 360 -3 0 3 z",DoubleLineCircle:"F1 m 0,0 l 0,8 m 2,-8 l 0,8 m 7 -4 b 0 360 -3 0 3 z",TripleLineCircle:"F1 m 0,0 l 0,8 m 2,-8 l 0,8 m 2,-8 l 0,8 m 7 -4 b 0 360 -3 0 3 z",CircleLine:"F1 m 6 4 b 0 360 -3 0 3 z m 1,-4 l 0,8",DiamondCircle:"F1 m 8,4 l -4,4 -4,-4 4,-4 4,4 m 8,0 b 0 360 -4 0 4 z",PlusCircle:"F1 m 8,4 b 0 360 -4 0 4 l -8 0 z m -4 -4 l 0 8",OpenRightTriangleTop:"m 8,0 l 0,4 -8,0 m 0,4",OpenRightTriangleBottom:"m 8,8 l 0,-4 -8,0",Line:"m 0,0 l 0,8",DoubleLine:"m 0,0 l 0,8 m 2,0 l 0,-8",TripleLine:"m 0,0 l 0,8 m 2,0 l 0,-8 m 2,0 l 0,8",PentagonArrow:"F1 m 8,4 l -4,-4 -4,0 0,8 4,0 4,-4 z"};function Bv(){this.nc=!1,this.tr=this.Kp=this.zq=null,this.vr="",this.fr=this.oq=this.ur=null,this.hr="",this.gr=ea,this.ir=null,this.jr="",this.lr=$a,this.Gq="",this.Hq=ka,this.Pq=_r,this.Kq=to,this.Up=null,this.Cq=127,this.zr=lo,this.yr="gray",this.Vg=4}Bv.prototype.copy=function(){var a=new Bv;return a.zq=this.zq,a.Kp=this.Kp,a.tr=this.tr,a.vr=this.vr,a.ur=this.ur,a.oq=this.oq,a.fr=this.fr,a.hr=this.hr,a.gr=this.gr.J(),a.ir=this.ir,a.jr=this.jr,a.lr=this.lr.J(),a.Gq=this.Gq,a.Hq=this.Hq.J(),a.Pq=this.Pq.J(),a.Kq=this.Kq.J(),a.Up=this.Up,a.Cq=this.Cq,a.zr=this.zr.J(),a.yr=this.yr,a.Vg=this.Vg,a};function Ki(a,y){a===void 0||a instanceof Cs||typeof a=="string"?Yn.call(this,a):(Yn.call(this),a&&(y=a)),this.G=2408959,this.Tf="",this.P=null,this.Jg="",this.Qf=this.Ug=null,this.ec="",this.Ah=this.Ig=null,this.ke=new st(NaN,NaN).freeze(),this.nf=null,this.Ao=NaN,this.vw=-1,this.py=new an,this.Rh=null,this.ag=NaN,y&&Object.assign(this,y)}Kt(Ki,Yn),Ki.prototype.cloneProtected=function(a){Yn.prototype.cloneProtected.call(this,a),a.G=this.G&-4097|49152,a.Tf=this.Tf,this.P!==null&&(a.P=this.P.nc?this.P:this.P.copy()),a.Jg=this.Jg,a.Qf=null,a.ec=this.ec,a.ke.assign(this.ke),a.Ao=this.Ao},Ie=Ki.prototype,Ie.Af=function(a){Yn.prototype.Af.call(this,a),a.oh(),a.Ug=null,a.nf=null,a.Rh=null},Ie.toString=function(){var a=sr(this.constructor)+"#"+Lt(this);return this.data!==null&&(a+="("+Zr(this.data)+")"),a};function Vl(a){a.P===null?a.P=new Bv:a.P.nc&&(a.P=a.P.copy())}Ie.th=function(){Yn.prototype.th.call(this),this.P!==null&&(this.P.nc=!0)},Ie.gk=function(a,y,E,x,b,z,ne){var re=this.diagram;re!==null&&(a===Oa&&y==="elements"?b instanceof Yn?qh(b,function(oe){cy(re.partManager,oe),Wh(re,oe)}):dh(re,b):a===Va&&y==="elements"&&(b instanceof Yn?qh(b,function(oe){dy(re.partManager,oe,re)}):qg(re,b)),re.cb(a,y,E,x,b,z,ne))},Ie.La=function(a){if(Yn.prototype.La.call(this,a),this.data!==null){for(var y=this.O.s,E=y.length,x=0;x<E;x++){var b=y[x];b instanceof Yn&&qh(b,function(z){z.data!==null&&z.La()})}for(y=this.adornments;y.next();)y.value.La(a)}},Ki.prototype.updateRelationshipsFromData=function(){var a;this.data!==null&&((a=this.diagram)===null||a===void 0||a.partManager.updateRelationshipsFromData(this))},Ki.prototype.Pj=function(a){var y=this.Qf;return y===null?null:y.I(a)},Ki.prototype.bh=function(a,y){if(y!==null){var E=null,x=this.Qf;if(x!==null&&(E=x.I(a)),E!==y){if(E!==null){var b=E.diagram;b!==null&&b.remove(E)}x===null&&(this.Qf=x=new Fn),y.Tf!==a&&(y.category=a),x.add(a,y),a=this.diagram,a!==null&&(a.add(y),a=y.adornedObject,a!==null&&(a=a.ih(),a!==null&&(y.data=a.data)))}}},Ki.prototype.Jf=function(a){var y=this.Qf;if(y!==null){var E=y.I(a);if(E!==null){var x=E.diagram;x!==null&&x.remove(E)}y.remove(a),y.count===0&&(this.Qf=null)}},Ki.prototype.Ej=function(){var a=this.Qf;if(a!==null){var y=Vi();for(a=a.iterator;a.next();)y.push(a.key);a=y.length;for(var E=0;E<a;E++)this.Jf(y[E]);Qi(y)}},Ki.prototype.updateAdornments=function(){var a=this.diagram;if(a!==null){for(var y=this.adornments;y.next();){var E=y.value;E.v(),E.placeholder&&E.placeholder.v()}e:{if(this.isSelected&&this.selectionAdorned&&(y=this.selectionObject,y!==null&&this.actualBounds.w()&&this.isVisible()&&y.Ed()&&y.actualBounds.w())){if(E=this.Pj("Selection"),E===null){if(E=this.selectionAdornmentTemplate,E===null&&(E=this.ph()?a.linkSelectionAdornmentTemplate:this instanceof Cr?a.groupSelectionAdornmentTemplate:a.nodeSelectionAdornmentTemplate),!(E instanceof Eo))break e;tc(E),E=E.copy(),E!==null&&(this.ph()&&this.selectionObject===this.path&&(E.type=Yn.Link),E.adornedObject=y)}if(E!==null){E.type===Yn.Link&&E.v(),this.bh("Selection",E);break e}}this.Jf("Selection")}for(RE(this,a),y=this.adornments;y.next();)y.value.La()}},Ki.prototype.Wb=function(){var a=this.diagram;a!==null&&(a.vd=!0,!(this.G&16384)&&(this.G|=16384))};function _v(a){a.G&16384&&(a.updateAdornments(),a.G&=-16385)}function RE(a,y){y.toolManager.mouseDownTools.each(function(E){E.isEnabled&&E.updateAdornments(a)}),y.toolManager.updateAdornments(a)}function Vm(a){if(ph(a)===!1){Hv(a,!0),a.Uk();var y=a.diagram;y!==null&&(y.De.add(a),y.$b())}}function DS(a){if(a.G|=2097152,ph(a)!==!1){var y=a.position,E=a.location;E.w()&&y.w()||_S(a,y,E),E=a.Ib;var x=an.alloc().assign(E);E.ka(),E.x=y.x,E.y=y.y,E.freeze(),a.Xl(x,E),an.free(x),Hv(a,!1)}}Ki.prototype.Ge=function(a,y,E,x){var b=this.uc;b.h(a,y,E,x),this.Lb===null&&(this.Lb=new cr);var z=this.Lb;z.reset(),this.no(z,a,y,E,x),this.Lb=z,z.ws()||z.pp(b)},Ki.prototype.no=function(a,y,E,x,b){if(this.Ca!==1&&a.scale(this.Ca),this.Kb!==0){var z=Yr;this.locationSpot.sb()&&(z=this.locationSpot);var ne=st.alloc();if(this.locationObject!==this)for(y=this.locationObject,E=y.naturalBounds,ne.yi(E.x,E.y,E.width,E.height,z),y.Lb!==null&&y.Lb.Ga(ne),ne.offset(-y.measuredBounds.x,-y.measuredBounds.y),z=y.panel;z!==null&&z!==this;)z.Lb!==null&&z.Lb.Ga(ne),ne.offset(-z.measuredBounds.x,-z.measuredBounds.y),z=z.panel;else ne.yi(y,E,x,b,z);a.rotate(this.Kb,ne.x,ne.y),st.free(ne)}},Ki.prototype.move=function(a,y){y===!0?this.location=a:this.position=a},Ki.prototype.moveTo=function(a,y,E){a=st.allocAt(a,y),this.move(a,E),st.free(a)},Ki.prototype.isVisible=function(){if(!this.visible)return!1;var a=this.layer;if(a!==null){if(!a.visible)return!1;if(a=a.diagram,a!==null&&a.animationManager.fv(this))return!0}return a=this.containingGroup,!!(a===null||a.isSubGraphExpanded&&a.isVisible())},Ki.prototype.Zb=function(a){var y=this.diagram;a?(this.C(4),this.Wb(),y!==null&&y.De.add(this)):(this.C(8),this.Ej()),this.oh(),y!==null&&(y.Ya(),y.N())},Ki.prototype.fb=function(a){if(this.name===a)return this;var y=this.Rh;if(y===null&&(this.Rh=y=new Fn),y.I(a)!==null)return y.I(a);var E=Yn.prototype.fb.call(this,a);return E!==null?(y.set(a,E),E):(y.set(a,null),null)};function Gd(a,y,E,x){x===void 0&&(x=new st),E=E.Mc()?Yr:E;var b=y.naturalBounds;if(x.h(b.width*E.x+E.offsetX,b.height*E.y+E.offsetY),y===null||y===a)return x;for(y.transform.Ga(x),y=y.panel;y!==null&&y!==a;)y.transform.Ga(x),y=y.panel;return a.Lb!==null&&a.Lb.Ga(x),x.offset(-a.uc.x,-a.uc.y),x}Ki.prototype.mi=function(a){return a===void 0&&(a=new an),a.assign(this.actualBounds)},Ki.prototype.Va=function(){this.measure(1/0,1/0),this.arrange()};function FS(a){var y=st.alloc(),E=a.locationObject,x=E.naturalBounds,b=E instanceof kr?E.strokeWidth:0;if(y.yi(0,0,x.width+b,x.height+b,a.locationSpot),E!==a)for(y.offset(-b/2,-b/2),E.transform.Ga(y),E=E.panel;E!==null&&E!==a;)E.transform.Ga(y),E=E.panel;return a.Lb!==null&&a.Lb.Ga(y),y.offset(-a.uc.x,-a.uc.y),y}function tf(a,y){var E=a.py;isNaN(a.ag)&&(a.ag=hS(a));var x=a.ag,b=2*x;if(!a.isShadowed)return E.h(y.x-1-x,y.y-1-x,y.width+2+b,y.height+2+b),E;x=y.x,b=y.y;var z=y.width;y=y.height;var ne=a.shadowBlur;return a=a.shadowOffset,z+=ne,y+=ne,x-=ne/2,b-=ne/2,0<a.x?z+=a.x:(x+=a.x,z-=a.x),0<a.y?y+=a.y:(b+=a.y,y-=a.y),E.h(x-1,b-1,z+2,y+2),E}Ki.prototype.arrange=function(){if(Al(this)===!1)DS(this);else{$c(this,!1);var a=this.Ib,y=an.alloc();y.assign(a);var E=mh(this);this.eh(0,0,this.uc.width,this.uc.height);var x=this.position;_S(this,x,this.location),a.ka(),a.x=x.x,a.y=x.y,a.freeze(),this.Xl(y,a),y.D(a)?this.Fd(E):!this.Zc()||Ht.B(y.width,a.width)&&Ht.B(y.height,a.height)||0<=this.vw&&this.C(16),an.free(y),Hv(this,!1)}},Ie=Ki.prototype,Ie.Xl=function(a,y){var E=this.diagram;if(E!==null){var x=!1;if(E.Zi===!1&&a.w()){var b=an.alloc();b.assign(E.documentBounds),b.Fv(E.padding),a.x>b.x&&a.y>b.y&&a.right<b.right&&a.bottom<b.bottom&&y.x>b.x&&y.y>b.y&&y.right<b.right&&y.bottom<b.bottom&&(x=!0),an.free(b)}!(this.G&65536)&&a.D(y)||zS(this,x,E),E.N(),!a.w()&&!y.w()||po(a,y)||(this instanceof yi&&!E.undoManager.isUndoingRedoing&&this.Bd(),this.oh())}},Ie.zv=function(a,y,E){if(this.ph()||!a.w())return!1;var x=this.diagram;return x!==null&&BS(this,x,a,y,E),this.pa=a,this.G&=-2097153,!this.ke.w()||x!==null&&!x.animationManager.isTicking&&x.undoManager.isUndoingRedoing||(x=this.ke,this.ke=new st(x.x+(a.x-y),x.y+(a.y-E)),this.g("location",x,this.ke.copy())),ph(this)===!1&&Al(this)===!1&&(Vm(this),DS(this)),!0};function BS(a,y,E,x,b){y===null||a instanceof Eo||(y=y.animationManager,y.zb&&Cc(y,a,new st(x,b),E))}Ie.mm=function(a,y,E){var x=this.ke,b=this.pa;if(E){if(x.x===a&&x.y===y)return;ph(this)||Al(this)?b.h(NaN,NaN):b.h(b.x+a-x.x,b.y+y-x.y),x.h(a,y)}else{if(b.x===a&&b.y===y)return;x.h(x.x+a-b.x,x.y+y-b.y),b.h(a,y)}Vm(this)},Ie.Av=function(){this.G&=-2097153,Vm(this)};function _S(a,y,E){var x=FS(a),b=a.diagram,z=E.w(),ne=y.w();z&&ne?a.G&2097152?US(a,y,E,b,x):HS(a,y,E,b,x):z?US(a,y,E,b,x):ne&&HS(a,y,E,b,x),a.G|=2097152,st.free(x),a.Uk()}function US(a,y,E,x,b){var z=y.x,ne=y.y;y.h(E.x-b.x,E.y-b.y),x!==null&&(E=x.animationManager,(x=E.defaultAnimation.isAnimating)||!E.zb||a instanceof Eo||Cc(E,a,new st(z,ne),y),x||y.x===z&&y.y===ne||a.g("position",new st(z,ne),y.copy()))}function HS(a,y,E,x,b){var z=E.copy();E.h(y.x+b.x,y.y+b.y),E.D(z)||x===null||a.g("location",z,E.copy())}function zS(a,y,E){zv(a,!1),a instanceof yi&&Fd(E,a),a.layer.isTemporary||y||E.Ya(),y=a.Ib;var x=E.viewportBounds;x.w()?mh(a)?(qa(y,x)||a.Fd(!1),a.updateAdornments()):a.isVisible()&&y.Yc(x)?(a.Fd(!0),a.updateAdornments()):a.Wb():E.vd=!0}Ie.si=function(){return!0},Ie.Zc=function(){return!0},Ie.ph=function(){return!1},Ie.Dd=function(){return!0};function Uv(a,y,E,x){y.constructor===a.constructor||WS||(WS=!0,Hr('Should not change the class of the Part when changing category from "'+E+'" to "'+x+'"'),Hr(" Old class: "+sr(a.constructor)+", new class: "+sr(y.constructor)+", part: "+a.toString())),a.Ej();var b=a.data;E=a.layerName;var z=a.isSelected,ne=a.isHighlighted,re=!0,oe=!0,he=!1;a instanceof yi&&(re=a.isTreeLeaf,oe=a.isTreeExpanded,he=a.wasTreeExpanded),y.Af(a),y.cloneProtected(a),a.Tf=x,a.svg!==null&&(a.svg.remove(),a.svg=null,a.Uc=!0),a.v(),a.N(),y=a.diagram,x=!0,y!==null&&(x=y.skipsUndoManager,y.skipsUndoManager=!0),a.ub=b,a.G=z?a.G|4096:a.G&-4097,a.G=ne?a.G|524288:a.G&-524289,a instanceof yi&&(a.U=re?a.U|4:a.U&-5,a.U=oe?a.U|1:a.U&-2,a.U=he?a.U|2:a.U&-3),b!==null&&a.La(),b=a.layerName,b!==E&&(a.Jg=E,a.layerName=b),y!==null&&(y.skipsUndoManager=x),a.Zc()&&a.C(64)}Ki.prototype.canCopy=function(){if(!this.copyable)return!1;var a=this.layer;return a===null?!0:a.allowCopy?(a=a.diagram,a===null?!0:!!a.allowCopy):!1},Ki.prototype.canDelete=function(){if(!this.deletable)return!1;var a=this.layer;return a===null?!0:a.allowDelete?(a=a.diagram,a===null?!0:!!a.allowDelete):!1},Ki.prototype.canEdit=function(){if(!this.textEditable)return!1;var a=this.layer;return a===null?!0:a.allowTextEdit?(a=a.diagram,a===null?!0:!!a.allowTextEdit):!1},Ki.prototype.canGroup=function(){if(!this.groupable)return!1;var a=this.layer;return a===null?!0:a.allowGroup?(a=a.diagram,a===null?!0:!!a.allowGroup):!1},Ki.prototype.canMove=function(){if(!this.movable)return!1;var a=this.layer;return a===null?!0:a.allowMove?(a=a.diagram,a===null?!0:!!a.allowMove):!1},Ki.prototype.canReshape=function(){if(!this.reshapable)return!1;var a=this.layer;return a===null?!0:a.allowReshape?(a=a.diagram,a===null?!0:!!a.allowReshape):!1},Ki.prototype.canResize=function(){if(!this.resizable)return!1;var a=this.layer;return a===null?!0:a.allowResize?(a=a.diagram,a===null?!0:!!a.allowResize):!1},Ki.prototype.canRotate=function(){if(!this.rotatable)return!1;var a=this.layer;return a===null?!0:a.allowRotate?(a=a.diagram,a===null?!0:!!a.allowRotate):!1},Ki.prototype.canSelect=function(){if(!this.selectable)return!1;var a=this.layer;return a===null?!0:a.allowSelect?(a=a.diagram,a===null?!0:!!a.allowSelect):!1};function ph(a){return(a.G&32768)!==0}function Hv(a,y){a.G=y?a.G|32768:a.G&-32769}function zv(a,y){a.G=y?a.G|65536:a.G&-65537}function mh(a){return(a.G&131072)!==0}Ie=Ki.prototype,Ie.Fd=function(a){this.G=a?this.G|131072:this.G&-131073};function Ym(a,y){a.G=y?a.G|1048576:a.G&-1048577}Ie.oh=function(){var a=this.containingGroup;a!==null&&(a.v(),a.placeholder!==null&&a.placeholder.v(),a.Bd())},Ie.N=function(){var a=this.diagram;a!==null&&!Al(this)&&!ph(this)&&this.isVisible()&&this.Ib.w()&&a.N(tf(this,this.Ib))},Ie.v=function(){Yn.prototype.v.call(this);var a=this.diagram;a!==null&&(a.De.add(this),this instanceof yi&&this.labeledLink!==null&&Tl(this.labeledLink),a.$b(!0))},Ie.Vo=function(a){a||(a=this.Ah,a!==null&&Kv(a,this))},Ie.Wo=function(a){a||(a=this.Ah,a!==null&&Zv(a,this))},Ie.Lj=function(){var a=this.data;if(a!==null){var y=this.diagram;y!==null&&(y=y.model,y!==null&&y.cm(a))}},Ie.oz=function(){return jv(this,this)};function jv(a,y){var E=y.containingGroup;return E!==null?1+jv(a,E):y instanceof yi&&(y=y.labeledLink,y!==null)?jv(a,y):0}Ie.sz=function(){return jS(this,this)};function jS(a,y){var E=y.containingGroup;return E!==null||y instanceof yi&&(E=y.labeledLink,E!==null)?jS(a,E):y}Ie.Td=function(a){return a instanceof Cr?Gv(this,this,a):!1};function Gv(a,y,E){if(y===E||E===null)return!1;var x=y.containingGroup;return x===null||x!==E&&!Gv(a,x,E)?y instanceof yi&&(y=y.labeledLink,y!==null)?Gv(a,y,E):!1:!0}Ie.px=function(a){if(a===null)return null;if(this===a)return this.containingGroup;for(var y=this;y!==null;){if(y instanceof Cr&&Ym(y,!0),y instanceof yi){var E=y.labeledLink;E!==null&&(y=E)}y=y.containingGroup}for(E=null,y=a;y!==null;){if(y.G&1048576){E=y;break}y instanceof yi&&(a=y.labeledLink,a!==null&&(y=a)),y=y.containingGroup}for(y=this;y!==null;)y instanceof Cr&&Ym(y,!1),y instanceof yi&&(a=y.labeledLink,a!==null&&(y=a)),y=y.containingGroup;return E},Ki.prototype.canLayout=function(){if(!this.isLayoutPositioned||!this.isVisible())return!1;var a=this.layer;return!(a!==null&&a.isTemporary||this instanceof yi&&this.isLinkLabel)},Ki.prototype.C=function(a){if(a===void 0&&(a=16777215),this.isLayoutPositioned&&a&this.layoutConditions){var y=this.layer;y!==null&&y.isTemporary||this instanceof yi&&this.isLinkLabel?y=!1:(y=this.diagram,y=!(y!==null&&y.undoManager.isUndoingRedoing))}else y=!1;if(y)if(y=this.Ah,y!==null){var E=y.layout;E!==null?E.C():y.C(a)}else a=this.diagram,a!==null&&(a=a.layout,a!==null&&a.C())};function GS(a){return a.isVisible()?(a=a.layer,!(a!==null&&a.isTemporary)):!1}function vh(a,y,E,x,b,z){if(z===void 0&&(z=null),!(a.contains(y)||z!==null&&!z(y)||y instanceof Eo)){if(a.add(y),y instanceof yi){if(E&&y instanceof Cr)for(var ne=y.memberParts;ne.next();)vh(a,ne.value,E,x,b,z);if(b!==!1)for(ne=y.linksConnected;ne.next();){var re=ne.value;if(!a.contains(re)){var oe=re.fromNode,he=re.toNode;oe=oe===null||a.contains(oe),he=he===null||a.contains(he),(b?oe&&he:oe||he)&&vh(a,re,E,x,b,z)}}if(1<x)for(y=y.Ou();y.next();)vh(a,y.value,E,x-1,b,z)}else if(y instanceof $n)for(y=y.labelNodes;y.next();)vh(a,y.value,E,x,b,z)}}bn.Object.defineProperties(Ki.prototype,{key:{get:function(){var a=this.diagram;if(a!==null)return a.model.wa(this.data)}},adornments:{get:function(){return this.Qf===null?Po:this.Qf.iteratorValues}},layer:{get:function(){return this.Ig}},diagram:{get:function(){var a=this.Ig;return a==null?null:a.diagram}},layerName:{get:function(){return this.Jg},set:function(a){var y=this.Jg;if(y!==a){var E=this.diagram;if((E===null||E.Qj(a)!==null&&!E.partManager.addsToTemporaryLayer)&&(this.Jg=a,E!==null&&E.Ya(),this.g("layerName",y,a),y=this.layer,y!==null&&y.name!==a&&(E=y.diagram,E!==null&&(a=E.Qj(a),a!==null&&a!==y)))){var x=y.pc(-1,this,!0);if(0<=x&&E.cb(Va,"parts",y,this,null,x,!0),x=a.oi(99999999,this,!0),y.visible!==a.visible&&this.Zb(a.visible),0<=x&&E.cb(Oa,"parts",a,null,this,!0,x),x=this.layerChanged,x!==null){var b=E.aa;E.aa=!0,x(this,y,a),E.aa=b}}}}},layerChanged:{get:function(){return this.P!==null?this.P.zq:null},set:function(a){var y=this.layerChanged;y!==a&&(Vl(this),this.P.zq=a,this.g("layerChanged",y,a))}},zOrder:{get:function(){return this.Ao},set:function(a){var y=this.Ao;if(y!==a){this.Ao=a;var E=this.layer;E!==null&&zc(E,-1,this),this.g("zOrder",y,a),a=this.diagram,a!==null&&a.N()}}},locationObject:{get:function(){if(this.nf===null){var a=this.locationObjectName;a!==""?(a=this.fb(a),a!==null?this.nf=a:this.nf=this):this instanceof Eo?this.type!==Yn.Link&&this.placeholder!==null?this.nf=this.placeholder:this.nf=this:this.nf=this}return this.nf.visible?this.nf:this}},minLocation:{get:function(){return this.P!==null?this.P.Pq:_r},set:function(a){var y=this.minLocation;y.D(a)||(a=a.J(),Vl(this),this.P.Pq=a,this.g("minLocation",y,a))}},maxLocation:{get:function(){return this.P!==null?this.P.Kq:to},set:function(a){var y=this.maxLocation;y.D(a)||(a=a.J(),Vl(this),this.P.Kq=a,this.g("maxLocation",y,a))}},locationObjectName:{get:function(){return this.P!==null?this.P.Gq:""},set:function(a){var y=this.locationObjectName;y!==a&&(Vl(this),this.P.Gq=a,this.nf=null,this.v(),this.g("locationObjectName",y,a))}},locationSpot:{get:function(){return this.P!==null?this.P.Hq:ka},set:function(a){var y=this.locationSpot;y.D(a)||(a=a.J(),Vl(this),this.P.Hq=a,this.v(),this.g("locationSpot",y,a))}},location:{get:function(){return this.ke},set:function(a){var y=a.x,E=a.y,x=this.ke;if(!(x.x===y||isNaN(x.x)&&isNaN(y))||!(x.y===E||isNaN(x.y)&&isNaN(E))){if(a=a.copy(),y=a,this.ph())y=!1;else{if(this.ke=y,this.G|=2097152,Al(this)===!1&&(Vm(this),E=this.pa,E.w())){var b=this.diagram;if(b===null||b.animationManager.isTicking||!b.undoManager.isUndoingRedoing){var z=E.copy();E.h(E.x+(y.x-x.x),E.y+(y.y-x.y)),BS(this,b,E,z.x,z.y),this.g("position",z,E.copy())}}y=!0}y&&this.g("location",x,a.copy())}}},category:{get:function(){return this.Tf},set:function(a){var y=this.Tf;if(y!==a){this.svg!==null&&(this.svg.remove(),this.Uc=!0);var E=this.diagram,x=this.data,b=null;if(E!==null&&x!==null&&!(this instanceof Eo)){var z=E.model.undoManager;z.isEnabled&&!z.isUndoingRedoing&&(b=this.clone(),b.O.addAll(this.O))}this.Tf=a,this.g("category",y,a),E===null||x===null||this instanceof Eo?this instanceof Eo&&(b=this.adornedPart,b!==null&&(a=b.Qf,a!==null&&a.remove(y),b.bh(this.category,this))):(z=E.model,z.undoManager.isUndoingRedoing||(this.ph()?(E.partManager.setLinkCategoryForData(x,a),E=E.partManager.findLinkTemplateForCategory(a),E!==null&&(tc(E),E=E.copy(),E!==null&&Uv(this,E,y,a))):(z!==null&&z.jm(x,a),E=p1(E.partManager,x,a),E!==null&&(tc(E),E=E.copy(),E===null||E instanceof $n||(x=this.location.copy(),Uv(this,E,y,a),this.location.w()||(this.location=x)))),b!==null&&(y=this.clone(),y.O.addAll(this.O),this.g("self",b,y))))}}},self:{get:function(){return this},set:function(a){Uv(this,a,this.category,a.category)}},copyable:{get:function(){return(this.G&1)!==0},set:function(a){var y=(this.G&1)!==0;y!==a&&(this.G^=1,this.g("copyable",y,a))}},deletable:{get:function(){return(this.G&2)!==0},set:function(a){var y=(this.G&2)!==0;y!==a&&(this.G^=2,this.g("deletable",y,a))}},textEditable:{get:function(){return(this.G&4)!==0},set:function(a){var y=(this.G&4)!==0;y!==a&&(this.G^=4,this.g("textEditable",y,a),this.Wb())}},groupable:{get:function(){return(this.G&8)!==0},set:function(a){var y=(this.G&8)!==0;y!==a&&(this.G^=8,this.g("groupable",y,a))}},movable:{get:function(){return(this.G&16)!==0},set:function(a){var y=(this.G&16)!==0;y!==a&&(this.G^=16,this.g("movable",y,a))}},selectionAdorned:{get:function(){return(this.G&32)!==0},set:function(a){var y=(this.G&32)!==0;y!==a&&(this.G^=32,this.g("selectionAdorned",y,a),this.Wb())}},isInDocumentBounds:{get:function(){return(this.G&64)!==0},set:function(a){var y=(this.G&64)!==0;if(y!==a){this.G^=64;var E=this.diagram;E!==null&&E.Ya(),this.g("isInDocumentBounds",y,a)}}},isLayoutPositioned:{get:function(){return(this.G&128)!==0},set:function(a){var y=(this.G&128)!==0;y!==a&&(this.G^=128,this.g("isLayoutPositioned",y,a),this.C(a?4:8))}},selectable:{get:function(){return(this.G&256)!==0},set:function(a){var y=(this.G&256)!==0;y!==a&&(this.G^=256,this.g("selectable",y,a),this.Wb())}},reshapable:{get:function(){return(this.G&512)!==0},set:function(a){var y=(this.G&512)!==0;y!==a&&(this.G^=512,this.g("reshapable",y,a),this.Wb())}},resizable:{get:function(){return(this.G&1024)!==0},set:function(a){var y=(this.G&1024)!==0;y!==a&&(this.G^=1024,this.g("resizable",y,a),this.Wb())}},rotatable:{get:function(){return(this.G&2048)!==0},set:function(a){var y=(this.G&2048)!==0;y!==a&&(this.G^=2048,this.g("rotatable",y,a),this.Wb())}},isSelected:{get:function(){return(this.G&4096)!==0},set:function(a){var y=(this.G&4096)!==0;if(y!==a){var E=this.diagram;if(!a||this.canSelect()&&!(E!==null&&E.selection.count>=E.maxSelectionCount)){this.G^=4096;var x=!1;if(E!==null){x=E.skipsUndoManager,E.skipsUndoManager=!0;var b=E.selection;b.ka(),a?b.add(this):b.remove(this),b.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),E!==null&&(E.$b(),E.skipsUndoManager=x)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var E=this.diagram;E!==null&&(E=E.highlighteds,E.ka(),a?E.add(this):E.remove(this),E.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&&(Vl(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&&(Vl(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&&(Vl(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 $n?(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&&(Vl(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&&(Vl(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&&(Vl(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:ea},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),Vl(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&&(Vl(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&&(Vl(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:$a},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),Vl(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&&tn("Cannot make a Group a member of itself: "+this.toString()),tn("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var E=this.diagram;if(y!==null?Zv(y,this):this instanceof Cr&&E!==null&&E.ai.remove(this),this.Ah=a,a!==null?Kv(a,this):this instanceof Cr&&E!==null&&E.ai.add(this),this.C(1),E!==null&&E.aa){var x=this.data,b=E.model;if(x!==null&&b.Xj()){var z=b.wa(a!==null?a.data:null);b.mp(x,z)}}if(x=this.containingGroupChanged,x!==null&&(b=!0,E!==null&&(b=E.aa,E.aa=!0),x(this,y,a),E!==null&&(E.aa=b)),this instanceof Cr){for(E=new Rt,vh(E,this,!0,0,!0),E=E.iterator;E.next();)if(x=E.value,x instanceof yi)for(x=x.linksConnected;x.next();)Sg(x.value)}if(this instanceof yi){for(E=this.linksConnected;E.next();)Sg(E.value);E=this.labeledLink,E!==null&&Sg(E)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&zc(y,-1,a))}}else tn("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&&(Vl(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof yi&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(Vl(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&&(Vl(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:lo},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),Vl(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&&(Vl(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&&(Vl(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),Ki.prototype.invalidateLayout=Ki.prototype.C,Ki.prototype.findCommonContainingGroup=Ki.prototype.px,Ki.prototype.isMemberOf=Ki.prototype.Td,Ki.prototype.findTopLevelPart=Ki.prototype.sz,Ki.prototype.findSubGraphLevel=Ki.prototype.oz,Ki.prototype.ensureBounds=Ki.prototype.Va,Ki.prototype.getDocumentBounds=Ki.prototype.mi,Ki.prototype.findObject=Ki.prototype.fb,Ki.prototype.moveTo=Ki.prototype.moveTo,Ki.prototype.invalidateAdornments=Ki.prototype.Wb,Ki.prototype.clearAdornments=Ki.prototype.Ej,Ki.prototype.removeAdornment=Ki.prototype.Jf,Ki.prototype.addAdornment=Ki.prototype.bh,Ki.prototype.findAdornment=Ki.prototype.Pj,Ki.prototype.updateTargetBindings=Ki.prototype.La;var WS=!1;Ki.className="Part",Ki.LayoutNone=0,Ki.LayoutAdded=1,Ki.LayoutRemoved=2,Ki.LayoutShown=4,Ki.LayoutHidden=8,Ki.LayoutNodeSized=16,Ki.LayoutGroupLayout=32,Ki.LayoutNodeReplaced=64,Ki.LayoutStandard=127,Ki.LayoutAll=16777215;function Eo(a,y){a===void 0||a instanceof Cs||typeof a=="string"?Ki.call(this,a):(Ki.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)}Kt(Eo,Ki),Eo.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},Eo.prototype.updateRelationshipsFromData=function(){},Eo.prototype.Ul=function(a){var y=this.adornedObject,E=y==null?void 0:y.part;if(E instanceof $n&&y instanceof kr){y=E.path,E.Ul(a),a=y.geometry,E=this.O.s,y=E.length;for(var x=0;x<y;x++){var b=E[x];b.isPanelMain&&b instanceof kr&&(b.ua=a)}}},Eo.prototype.si=function(){var a=this.ue;return a===null?!0:(a=a.part,a===null||!Al(a))},Eo.prototype.Zc=function(){return!1},Eo.prototype.gk=function(a,y,E,x,b,z,ne){if(a===Oa&&y==="elements"){if(b instanceof Nl)this.$a===null&&(this.$a=b);else if(b instanceof Yn){var re=b.Nl(function(oe){return oe instanceof Nl});re instanceof Nl&&this.$a===null&&(this.$a=re)}}else a===Va&&y==="elements"&&this.$a!==null&&(x===this.$a?this.$a=null:x instanceof Yn&&this.$a.rg(x)&&(this.$a=null));Ki.prototype.gk.call(this,a,y,E,x,b,z,ne)},Eo.prototype.updateAdornments=function(){},Eo.prototype.Lj=function(){},bn.Object.defineProperties(Eo.prototype,{placeholder:{get:function(){return this.$a}},adornedObject:{get:function(){return this.ue},set:function(a){var y=this.adornedPart,E=null;a!==null&&(E=a.part),y===null||a!==null&&y===E||y.Jf(this.category),this.ue=a,E!==null&&E.bh(this.category,this)}},adornedPart:{get:function(){var a=this.ue;return a!==null?a.part:null}},containingGroup:{get:function(){return null}}}),Eo.className="Adornment";function Wv(){this.nc=!1,this.Vr=this.gj=this.Eq=this.Dq=null,this.yp=rs,this.er=Xm,this.Kr=this.ij=this.Nq=this.Mq=null}Wv.prototype.copy=function(){var a=new Wv;return a.Dq=this.Dq,a.Eq=this.Eq,a.gj=this.gj,a.Vr=this.Vr,a.yp=this.yp.J(),a.er=this.er,a.Mq=this.Mq,a.Nq=this.Nq,a.ij=this.ij,a.Kr=this.Kr,a};function yi(a,y){a===void 0||a instanceof Cs||typeof a=="string"?Ki.call(this,a):(Ki.call(this),a&&(y=a)),this.U=13,this.Ba=null,this.jb=new Qn,this.wc=this.af=this.Yk=null,this.ci=!1,y&&Object.assign(this,y)}Kt(yi,Ki),yi.prototype.cloneProtected=function(a){Ki.prototype.cloneProtected.call(this,a),a.U=this.U,this.Ba!==null&&(a.Ba=this.Ba.nc?this.Ba:this.Ba.copy())},Ie=yi.prototype,Ie.Af=function(a){Ki.prototype.Af.call(this,a),a.Bd(),a.af=this.af,a.wc=null};function Wd(a){a.Ba===null?a.Ba=new Wv:a.Ba.nc&&(a.Ba=a.Ba.copy())}Ie.th=function(){Ki.prototype.th.call(this),this.Ba!==null&&(this.Ba.nc=!0)};function VS(a,y){y!==null&&(a.af===null&&(a.af=new Rt),a.af.add(y))}function YS(a,y,E,x){if(y===null||a.af===null)return null;for(var b=a.af.iterator;b.next();){var z=b.value;if(z.Ds===a&&z.cv===y&&z.Ox===E&&z.Px===x||z.Ds===y&&z.cv===a&&z.Ox===x&&z.Px===E)return z}return null}Ie.Lz=function(a,y,E){y==null&&(y=""),E==null&&(E=""),a=YS(this,a,y,E),a!==null&&a.Sl()},Ie.gk=function(a,y,E,x,b,z,ne){a===Oa&&y==="elements"?this.wc=null:a===Va&&y==="elements"&&(this.wc=null),Ki.prototype.gk.call(this,a,y,E,x,b,z,ne)},Ie.Bd=function(a){for(var y=this.linksConnected;y.next();){var E=y.value;a!==void 0&&a.contains(E)||(cu(E.fromPort),cu(E.toPort),E.bb())}};function KS(a,y){for(a=a.linksConnected;a.next();){var E=a.value;(E.fromPort===y||E.toPort===y)&&(cu(E.fromPort),cu(E.toPort),E.bb())}}function cu(a){if(a!==null){var y=a.Zn;y!==null&&y.Sl(),a=a.part,y=a.containingGroup,y===null||a.isVisible()||cu(y.port)}}Ie.si=function(){return!0},yi.prototype.getAvoidableRect=function(a){return a.set(this.actualBounds),a.Co(this.avoidableMargin),a},yi.prototype.findVisibleNode=function(){for(var a=this;a!==null&&!a.isVisible();)a=a.containingGroup;return a},yi.prototype.isVisible=function(){if(!Ki.prototype.isVisible.call(this))return!1;var a=!0,y=_d,E=this.diagram;if(E!==null&&(a=E.isTreePathToChildren,y=E.treeCollapsePolicy),y===_d){if(a=this.pg(),a!==null&&!a.isTreeExpanded)return!1}else if(y===Ss){if(a=a?this.Oo():this.Po(),0<a.count&&a.all(function(x){return!x.isTreeExpanded}))return!1}else if(y===rg&&(a=a?this.Oo():this.Po(),0<a.count&&a.any(function(x){return!x.isTreeExpanded})))return!1;return a=this.labeledLink,a!==null?a.isVisible():!0},yi.prototype.Zb=function(a){Ki.prototype.Zb.call(this,a);for(var y=this.linksConnected;y.next();){var E=y.value;if(a&&this.containingGroup!==null){var x=E.To(this);x===null||x.Td(this.containingGroup)||E.bb()}E.Zb(a)}},yi.prototype.qx=function(){var a=new Rt,y=new Rt;return ZS(this,this,a,y),y.iterator};function ZS(a,y,E,x){if(y!==null&&!E.has(y)){E.add(y);var b=!0,z=a.diagram;z!==null&&(b=z.isTreePathToChildren),y.linksConnected.each(function(ne){ne.isTreeLink?(b?ne.fromNode===y:ne.toNode===y)&&ZS(a,b?ne.toNode:ne.fromNode,E,x):x.add(ne)})}}yi.prototype.findLinksConnected=function(a){if(a===void 0&&(a=null),a===null)return this.jb.iterator;var y=new so(this.jb),E=this;return y.predicate=function(x){return x.fromNode===E&&x.fromPortId===a||x.toNode===E&&x.toPortId===a},y},Ie=yi.prototype,Ie.Mo=function(a){a===void 0&&(a=null);var y=new so(this.jb),E=this;return y.predicate=function(x){return x.fromNode!==E?!1:a===null?!0:x.fromPortId===a},y},Ie.Sd=function(a){a===void 0&&(a=null);var y=new so(this.jb),E=this;return y.predicate=function(x){return x.toNode!==E?!1:a===null?!0:x.toPortId===a},y},Ie.Mu=function(a){a===void 0&&(a=null);for(var y=null,E=null,x=this.jb.iterator;x.next();){var b=x.value;b.fromNode===this?(a===null||b.fromPortId===a)&&(b=b.toNode,y!==null?y.add(b):E!==null&&E!==b?(y=new Rt,y.add(E),y.add(b)):E=b):b.toNode!==this||a!==null&&b.toPortId!==a||(b=b.fromNode,y!==null?y.add(b):E!==null&&E!==b?(y=new Rt,y.add(E),y.add(b)):E=b)}return y!==null?y.iterator:E!==null?new bo(E):Po},Ie.Po=function(a){a===void 0&&(a=null);for(var y=null,E=null,x=this.jb.iterator;x.next();){var b=x.value;b.fromNode!==this||a!==null&&b.fromPortId!==a||(b=b.toNode,y!==null?y.add(b):E!==null&&E!==b?(y=new Rt,y.add(E),y.add(b)):E=b)}return y!==null?y.iterator:E!==null?new bo(E):Po},Ie.Oo=function(a){a===void 0&&(a=null);for(var y=null,E=null,x=this.jb.iterator;x.next();){var b=x.value;b.toNode!==this||a!==null&&b.toPortId!==a||(b=b.fromNode,y!==null?y.add(b):E!==null&&E!==b?(y=new Rt,y.add(E),y.add(b)):E=b)}return y!==null?y.iterator:E!==null?new bo(E):Po},Ie.jz=function(a,y,E){y===void 0&&(y=null),E===void 0&&(E=null);var x=new so(this.jb),b=this;return x.predicate=function(z){return!((z.fromNode!==b||z.toNode!==a||y!==null&&z.fromPortId!==y||E!==null&&z.toPortId!==E)&&(z.fromNode!==a||z.toNode!==b||E!==null&&z.fromPortId!==E||y!==null&&z.toPortId!==y))},x},Ie.kz=function(a,y,E){y===void 0&&(y=null),E===void 0&&(E=null);var x=new so(this.jb),b=this;return x.predicate=function(z){return!(z.fromNode!==b||z.toNode!==a||y!==null&&z.fromPortId!==y||E!==null&&z.toPortId!==E)},x};function Km(a,y,E){cu(E);var x=a.jb.contains(y);if(x||a.jb.add(y),!x||y.fromNode===y.toNode){var b=a.linkConnected;if(b!==null){var z=!0,ne=a.diagram;ne!==null&&(z=ne.aa,ne.aa=!0),b(a,y,E),ne!==null&&(ne.aa=z)}}!x&&y.isTreeLink&&(E=y.fromNode,y=y.toNode,E!==null&&y!==null&&E!==y&&(x=!0,a=a.diagram,a!==null&&(x=a.isTreePathToChildren),b=x?y:E,z=x?E:y,b.ci||(b.ci=z),!z.isTreeLeaf||a!==null&&a.undoManager.isUndoingRedoing||(x?E===z&&(z.isTreeLeaf=!1):y===z&&(z.isTreeLeaf=!1))))}function Zm(a,y,E){cu(E);var x=a.jb.remove(y),b=null;if(x||y.toNode===y.fromNode){var z=a.linkDisconnected;if(b=a.diagram,z!==null){var ne=!0;b!==null&&(ne=b.aa,b.aa=!0),z(a,y,E),b!==null&&(b.aa=ne)}}x&&y.isTreeLink&&(E=!0,b!==null&&(E=b.isTreePathToChildren),a=E?y.toNode:y.fromNode,y=E?y.fromNode:y.toNode,a!==null&&(a.ci=!1),y===null||y.isTreeLeaf||(y.jb.count===0?(y.ci=null,b!==null&&b.undoManager.isUndoingRedoing||(y.isTreeLeaf=!0)):Ep(y)))}function Ep(a){if(a.ci=!1,a.jb.count!==0){var y=!0,E=a.diagram;if(E===null||!E.undoManager.isUndoingRedoing){for(E!==null&&(y=E.isTreePathToChildren),E=a.jb.iterator;E.next();){var x=E.value;if(x.isTreeLink){if(y){if(x.fromNode===a){a.isTreeLeaf=!1;return}}else if(x.toNode===a){a.isTreeLeaf=!1;return}}}a.isTreeLeaf=!0}}}yi.prototype.updateRelationshipsFromData=function(){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)},Ie=yi.prototype,Ie.Vo=function(a){Ki.prototype.Vo.call(this,a),a||(Ep(this),a=this.Yk,a!==null&&i1(a,this))},Ie.Wo=function(a){Ki.prototype.Wo.call(this,a),a||(a=this.Yk,a!==null&&a.wd!==null&&(a.wd.remove(this),a.v()))},Ie.Lj=function(){if(0<this.jb.count){var a=this.diagram;if(a!==null)for(var y=a.commandHandler!==null?a.commandHandler.deletesConnectedLinks:!0,E=this.jb.copy().iterator;E.next();){var x=E.value;y?a.remove(x):(x.fromNode===this&&(x.fromNode=null),x.toNode===this&&(x.toNode=null))}}this.labeledLink=null,Ki.prototype.Lj.call(this)},Ie.ns=function(a){if(this.wc===null){if(a===""&&this.Te===!1)return this;XS(this)}var y=this.wc.I(a);return y!==null||a!==""&&(y=this.wc.I(""),y!==null)?y:this};function XS(a){a.wc===null?a.wc=new Fn:a.wc.clear(),a.qm(a,function(y,E){QS(y,E)}),a.wc.count===0&&a.wc.add("",a)}function QS(a,y){var E=y.portId;E!==null&&a.wc!==null&&a.wc.add(E,y)}function Vv(a,y,E){var x=y.portId;if(x!==null&&(a.wc!==null&&a.wc.remove(x),y=a.diagram,y!==null&&E)){for(E=null,a=a.findLinksConnected(x);a.next();)x=a.value,E===null&&(E=Vi()),E.push(x);if(E!==null){for(a=0;a<E.length;a++)y.remove(E[a]);Qi(E)}}}Ie.Nz=function(a){if(a===null||a===this)return!1;var y=!0,E=this.diagram;if(E!==null&&(y=E.isTreePathToChildren),E=this,y)for(;E!==a;){y=null;for(var x=E.jb.iterator;x.next();){var b=x.value;if(b.isTreeLink&&(y=b.fromNode,y!==E&&y!==this))break}if(y===this||y===null||y===E)return!1;E=y}else for(;E!==a;){for(y=null,x=E.jb.iterator;x.next()&&(b=x.value,!b.isTreeLink||(y=b.toNode,y===E||y===this)););if(y===this||y===null||y===E)return!1;E=y}return!0},Ie.xz=function(){var a=!0,y=this.diagram;if(y!==null&&(a=y.isTreePathToChildren),y=this,a)for(;;){a=null;for(var E=y.jb.iterator;E.next();){var x=E.value;if(x.isTreeLink&&(a=x.fromNode,a!==y&&a!==this))break}if(a===this)return this;if(a===null||a===y)return y;y=a}else for(;;){for(a=null,E=y.jb.iterator;E.next()&&(x=E.value,!x.isTreeLink||(a=x.toNode,a===y||a===this)););if(a===this)return this;if(a===null||a===y)return y;y=a}},Ie.gz=function(a){if(a===null)return null;if(this===a)return this;for(var y=this;y!==null;)Ym(y,!0),y=y.pg();var E=null;for(y=a;y!==null;){if(y.G&1048576){E=y;break}y=y.pg()}for(y=this;y!==null;)Ym(y,!1),y=y.pg();return E},Ie.kh=function(){var a=!0,y=this.diagram;if(y!==null&&(a=y.isTreePathToChildren),y=this.jb.iterator,a){for(;y.next();)if(a=y.value,a.isTreeLink&&a.fromNode!==this)return a}else for(;y.next();)if(a=y.value,a.isTreeLink&&a.toNode!==this)return a;return null},Ie.pg=function(){var a=this.ci;if(a===null)return null;if(a instanceof yi)return a;a=this.diagram,a=a!==null?a.isTreePathToChildren:!0;for(var y=this.jb.iterator;y.next();){var E=y.value;if(E.isTreeLink&&(E=a?E.fromNode:E.toNode,E!==this))return this.ci=E}return this.ci=null},Ie.vz=function(){function a(E,x){x.add(E);var b=E.kh();b!==null&&(x.add(b),E=E.pg(),E!==null&&a(E,x))}var y=new Rt;return a(this,y),y},Ie.uz=function(){return JS(this,this)};function JS(a,y){return y=y.pg(),y===null?0:1+JS(a,y)}Ie.Qo=function(){var a=!0,y=this.diagram;y!==null&&(a=y.isTreePathToChildren),y=new so(this.jb);var E=this;return y.predicate=a?function(x){return!!(x.isTreeLink&&x.fromNode===E)}:function(x){return!!(x.isTreeLink&&x.toNode===E)},y},Ie.Ou=function(){var a=!0,y=this.diagram;y!==null&&(a=y.isTreePathToChildren);var E=y=null,x=this.jb.iterator;if(a)for(;x.next();)a=x.value,a.isTreeLink&&a.fromNode===this&&(a=a.toNode,y!==null?y.add(a):E!==null&&E!==a?(y=new Qn,y.add(E),y.add(a)):E=a);else for(;x.next();)a=x.value,a.isTreeLink&&a.toNode===this&&(a=a.fromNode,y!==null?y.add(a):E!==null&&E!==a?(y=new Qn,y.add(E),y.add(a)):E=a);return y!==null?y.iterator:E!==null?new bo(E):Po},Ie.wz=function(a){a===void 0&&(a=1/0);var y=new Rt;return vh(y,this,!1,a,!0),y},yi.prototype.collapseTree=function(a){a===void 0&&(a=1),1>a&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var E=new Rt;E.add(this),qS(this,E,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===_d),y.Ue=!1}};function qS(a,y,E,x,b,z,ne){if(1<x)for(var re=E?a.Mo():a.Sd();re.next();){var oe=re.value;oe.isTreeLink&&(oe=oe.To(a),oe===null||oe===a||y.contains(oe)||(y.add(oe),qS(oe,y,E,x-1,b,z,ne)))}else $S(a,y,E,b,z,ne)}function $S(a,y,E,x,b,z){for(var ne=b===a?!0:a.isTreeExpanded,re=E?a.Mo():a.Sd(),oe={};re.next();){var he=re.value;if(he.isTreeLink&&(he=he.To(a),he!==null&&he!==a)){var fe=y.contains(he);if(fe||y.add(he),ne){var Se=E?he.Oo():he.Po();oe.uv=a,Se.all(function(Te){return function(Ne){return Ne===Te.uv||!Ne.isTreeExpanded}}(oe))&&x.Aj(he,b),he.oh(),he.Zb(!1)}he.isTreeExpanded&&(he.wasTreeExpanded=he.isTreeExpanded,fe||$S(he,y,E,x,b,z))}oe={uv:oe.uv}}a.isTreeExpanded=!1}yi.prototype.expandTree=function(a){a===void 0&&(a=2),2>a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var E=new Rt;E.add(this),e1(this,E,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===_d),y.Ue=!1}};function e1(a,y,E,x,b,z,ne){for(var re=z===a?!1:a.isTreeExpanded,oe=E?a.Mo():a.Sd(),he={};oe.next();){var fe=oe.value;if(fe.isTreeLink&&(re||fe.fd||fe.bb(),fe=fe.To(a),fe!==null&&fe!==a&&!y.contains(fe))){if(y.add(fe),!re){fe.Zb(!0),fe.oh();var Se=E?fe.Oo():fe.Po();he.vv=a,Se.all(function(Te){return function(Ne){return Ne===Te.vv||!Ne.isTreeExpanded}}(he))&&b.Cj(fe,z)}(2<x||fe.wasTreeExpanded)&&(fe.wasTreeExpanded=!1,e1(fe,y,E,x-1,b,z,ne))}he={vv:he.vv}}a.isTreeExpanded=!0}bn.Object.defineProperties(yi.prototype,{portSpreading:{get:function(){return this.Ba!==null?this.Ba.er:Xm},set:function(a){var y=this.portSpreading;y!==a&&(Wd(this),this.Ba.er=a,this.g("portSpreading",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.Bd())}},avoidable:{get:function(){return(this.U&8)!==0},set:function(a){var y=(this.U&8)!==0;if(y!==a){this.U^=8;var E=this.diagram;E!==null&&Fd(E,this),this.g("avoidable",y,a)}}},avoidableMargin:{get:function(){return this.Ba!==null?this.Ba.yp:rs},set:function(a){typeof a=="number"&&(a=new Zi(a));var y=this.avoidableMargin;if(!y.D(a)){a=a.J(),Wd(this),this.Ba.yp=a;var E=this.diagram;E!==null&&Fd(E,this),this.g("avoidableMargin",y,a)}}},linksConnected:{get:function(){return this.jb.iterator}},linkConnected:{get:function(){return this.Ba!==null?this.Ba.Dq:null},set:function(a){var y=this.linkConnected;y!==a&&(Wd(this),this.Ba.Dq=a,this.g("linkConnected",y,a))}},linkDisconnected:{get:function(){return this.Ba!==null?this.Ba.Eq:null},set:function(a){var y=this.linkDisconnected;y!==a&&(Wd(this),this.Ba.Eq=a,this.g("linkDisconnected",y,a))}},linkValidation:{get:function(){return this.Ba!==null?this.Ba.gj:null},set:function(a){var y=this.linkValidation;y!==a&&(Wd(this),this.Ba.gj=a,this.g("linkValidation",y,a))}},isLinkLabel:{get:function(){return this.Yk!==null}},labeledLink:{get:function(){return this.Yk},set:function(a){var y=this.Yk;if(y!==a){var E=this.diagram,x=this.data;if(y!==null){if(y.wd!==null&&(y.wd.remove(this),y.v()),E!==null&&x!==null&&!E.undoManager.isUndoingRedoing){var b=y.data,z=E.model;if(b!==null&&z.ri()){var ne=z.wa(x);ne!==void 0&&z.Qx(b,ne)}}this.containingGroup=null}this.Yk=a,a!==null&&(i1(a,this),E===null||x===null||E.undoManager.isUndoingRedoing||(b=a.data,E=E.model,b!==null&&E.ri()&&(x=E.wa(x),x!==void 0&&E.Bu(b,x))),this.containingGroup=a.containingGroup),Tl(this),this.g("labeledLink",y,a)}}},port:{get:function(){return this.ns("")}},ports:{get:function(){return this.wc===null&&XS(this),this.wc.iteratorValues}},isTreeExpanded:{get:function(){return(this.U&1)!==0},set:function(a){var y=(this.U&1)!==0;if(y!==a){this.U^=1;var E=this.diagram;if(this.g("isTreeExpanded",y,a),y=this.treeExpandedChanged,y!==null){var x=!0;E!==null&&(x=E.aa,E.aa=!0),y(this),E!==null&&(E.aa=x)}E!==null&&E.undoManager.isUndoingRedoing?this.Zb(a):a?this.expandTree():this.collapseTree()}}},wasTreeExpanded:{get:function(){return(this.U&2)!==0},set:function(a){var y=(this.U&2)!==0;y!==a&&(this.U^=2,this.g("wasTreeExpanded",y,a))}},treeExpandedChanged:{get:function(){return this.Ba!==null?this.Ba.Vr:null},set:function(a){var y=this.treeExpandedChanged;y!==a&&(Wd(this),this.Ba.Vr=a,this.g("treeExpandedChanged",y,a))}},isTreeLeaf:{get:function(){return(this.U&4)!==0},set:function(a){var y=(this.U&4)!==0;y!==a&&(this.U^=4,this.g("isTreeLeaf",y,a))}}}),yi.prototype.expandTree=yi.prototype.expandTree,yi.prototype.collapseTree=yi.prototype.collapseTree,yi.prototype.findTreeParts=yi.prototype.wz,yi.prototype.findTreeChildrenNodes=yi.prototype.Ou,yi.prototype.findTreeChildrenLinks=yi.prototype.Qo,yi.prototype.findTreeLevel=yi.prototype.uz,yi.prototype.findTreeParentChain=yi.prototype.vz,yi.prototype.findTreeParentNode=yi.prototype.pg,yi.prototype.findTreeParentLink=yi.prototype.kh,yi.prototype.findCommonTreeParent=yi.prototype.gz,yi.prototype.findTreeRoot=yi.prototype.xz,yi.prototype.isInTreeOf=yi.prototype.Nz,yi.prototype.findPort=yi.prototype.ns,yi.prototype.findLinksTo=yi.prototype.kz,yi.prototype.findLinksBetween=yi.prototype.jz,yi.prototype.findNodesInto=yi.prototype.Oo,yi.prototype.findNodesOutOf=yi.prototype.Po,yi.prototype.findNodesConnected=yi.prototype.Mu,yi.prototype.findLinksInto=yi.prototype.Sd,yi.prototype.findLinksOutOf=yi.prototype.Mo,yi.prototype.findExternalTreeLinksConnected=yi.prototype.qx,yi.prototype.invalidateConnectedLinks=yi.prototype.Bd,yi.prototype.invalidateLinkBundle=yi.prototype.Lz;var OE=new nn(yi,"SpreadingNone",10),Xm=new nn(yi,"SpreadingEvenly",11),Yv=new nn(yi,"SpreadingPacked",12);yi.className="Node",yi.SpreadingNone=OE,yi.SpreadingEvenly=Xm,yi.SpreadingPacked=Yv;function Cr(a,y){a===void 0||a instanceof Cs||typeof a=="string"?yi.call(this,a):(yi.call(this),a&&(y=a)),this.U|=4608,this.Gn=new Rt,this.$a=null,this.Sc=new Aa,this.Sc.group=this,this.gl=new Rt,this.tb=this.$p=null,y&&Object.assign(this,y)}Kt(Cr,yi),Cr.prototype.cloneProtected=function(a){yi.prototype.cloneProtected.call(this,a),this.U=this.U&-32769;var y=a.Nl(function(E){return E instanceof Nl});y instanceof Nl?a.$a=y:a.$a=null,this.Sc!==null?(a.Sc=this.Sc.copy(),a.Sc.group=a):(a.Sc!==null&&(a.Sc.group=null),a.Sc=null),this.tb!==null&&(a.tb=this.tb.copy())},Ie=Cr.prototype,Ie.Af=function(a){yi.prototype.Af.call(this,a);var y=a.Rj();for(a=a.memberParts;a.next();){var E=a.value;if(E.v(),E.C(8),E.Ej(),E instanceof yi)E.Bd(y);else if(E instanceof $n)for(E=E.labelNodes;E.next();)E.value.Bd(y)}},Ie.gk=function(a,y,E,x,b,z,ne){if(a===Oa&&y==="elements"){if(b instanceof Nl)this.$a===null?this.$a=b:this.$a!==b&&tn("Cannot insert a second Placeholder into the visual tree of a Group.");else if(b instanceof Yn){var re=b.Nl(function(oe){return oe instanceof Nl});re instanceof Nl&&(this.$a===null?this.$a=re:this.$a!==re&&tn("Cannot insert a second Placeholder into the visual tree of a Group."))}}else a===Va&&y==="elements"&&this.$a!==null&&(x===this.$a?this.$a=null:x instanceof Yn&&this.$a.rg(x)&&(this.$a=null));yi.prototype.gk.call(this,a,y,E,x,b,z,ne)},Ie.Xl=function(a,y){yi.prototype.Xl.call(this,a,y),this.isClipping&&this.type!==Yn.Spot&&this.isSubGraphExpanded&&(a=this.resizeObject,a instanceof Yn&&(a=a.Pb()),this.tb===null&&(this.tb=new an),a.mi(this.tb),a instanceof kr&&this.tb.Bc(-a.strokeWidth,-a.strokeWidth))},Ie.eh=function(a,y,E,x){this.nf=this.$a,yi.prototype.eh.call(this,a,y,E,x)},Ie.Va=function(){var a=this;a.isSubGraphExpanded&&this.memberParts.each(function(y){!a.computesBoundsIncludingLinks&&y instanceof $n||y.Va()}),yi.prototype.Va.call(this)},Ie.si=function(){if(!yi.prototype.si.call(this))return!1;for(var a=this.memberParts;a.next();){var y=a.value;if(y instanceof yi){if(y.isVisible()&&Al(y))return!1}else if(y instanceof $n&&y.isVisible()&&Al(y)&&y.fromNode!==this&&y.toNode!==this)return!1}return!0};function Kv(a,y){if(a.Gn.add(y)){y instanceof Cr&&a.gl.add(y);var E=a.memberAdded;if(E!==null){var x=!0,b=a.diagram;b!==null&&(x=b.aa,b.aa=!0),E(a,y),b!==null&&(b.aa=x)}a.isVisible()&&a.isSubGraphExpanded||y.Zb(!1)}y instanceof $n&&!a.computesBoundsIncludingLinks||(y=a.$a,y===null&&(y=a),y.v())}function Zv(a,y){if(a.Gn.remove(y)){y instanceof Cr&&a.gl.remove(y);var E=a.memberRemoved;if(E!==null){var x=!0,b=a.diagram;b!==null&&(x=b.aa,b.aa=!0),E(a,y),b!==null&&(b.aa=x)}a.isVisible()&&a.isSubGraphExpanded||y.Zb(!0)}y instanceof $n&&!a.computesBoundsIncludingLinks||(y=a.$a,y===null&&(y=a),y.v())}Ie.Lj=function(){if(0<this.Gn.count){var a=this.diagram;if(a!==null)for(var y=this.Gn.copy().iterator;y.next();)a.remove(y.value)}yi.prototype.Lj.call(this)},Cr.prototype.canAddMembers=function(a){var y=this.diagram;if(y===null)return!1;for(y=y.commandHandler,a=mn(a).iterator;a.next();)if(!y.isValidMember(this,a.value))return!1;return!0},Cr.prototype.addMembers=function(a,y){var E=this.diagram;if(E===null)return!1;E=E.commandHandler;var x=!0;for(a=mn(a).iterator;a.next();){var b=a.value;!y||E.isValidMember(this,b)?b.containingGroup=this:x=!1}return x},Cr.prototype.canUngroup=function(){if(!this.ungroupable)return!1;var a=this.layer;return a===null||!a.allowUngroup?!1:(a=a.diagram,!!(a===null||a.allowUngroup))},Ie=Cr.prototype,Ie.Bd=function(a){var y=(this.U&65536)!==0;if(yi.prototype.Bd.call(this,a),!y)for(!(this.U&65536)&&(this.U=this.U^65536),y=this.Lu();y.next();){var E=y.value;if(a===void 0||!a.contains(E)){var x=E.fromNode;x!==null&&x!==this&&x.Td(this)&&!x.isVisible()?(cu(E.fromPort),cu(E.toPort),E.bb()):(x=E.toNode,x!==null&&x!==this&&x.Td(this)&&!x.isVisible()&&(cu(E.fromPort),cu(E.toPort),E.bb()))}}},Ie.Lu=function(){var a=this.diagram!==null&&this.diagram.Pw;if(a&&this.$p!==null)return this.$p.iterator;var y=this.Rj();y.add(this);for(var E=new Rt,x=y.iterator;x.next();){var b=x.value;if(b instanceof yi)for(b=b.linksConnected;b.next();){var z=b.value;y.contains(z)||E.add(z)}}return a&&(this.$p=E),E.iterator},Ie.iz=function(){var a=this.Rj();a.add(this);for(var y=new Rt,E=a.iterator;E.next();){var x=E.value;if(x instanceof yi)for(x=x.linksConnected;x.next();){var b=x.value,z=b.fromNode;z===null||a.contains(z)&&z!==this||y.add(z),b=b.toNode,b===null||a.contains(b)&&b!==this||y.add(b)}}return y.iterator},Ie.hz=function(){function a(E,x){E!==null&&(x.add(E),a(E.containingGroup,x))}var y=new Rt;return a(this,y),y},Ie.Rj=function(){var a=new Rt;return vh(a,this,!0,0,!0),a.remove(this),a},Ie.Zb=function(a){yi.prototype.Zb.call(this,a);for(var y=this.memberParts;y.next();)y.value.Zb(a)},Cr.prototype.collapseSubGraph=function(){var a=this.diagram;if(a!==null&&!a.Ue){a.Ue=!0;var y=this.Rj();t1(this,y,a,this),a.Ue=!1}};function t1(a,y,E,x){for(var b=a.memberParts;b.next();){var z=b.value;if(z.Zb(!1),z instanceof Cr&&z.isSubGraphExpanded&&(z.wasSubGraphExpanded=z.isSubGraphExpanded,t1(z,y,E,x)),z instanceof yi)z.Bd(y),E.Aj(z,x);else if(z instanceof $n)for(z=z.labelNodes;z.next();)z.value.Bd(y)}a.isSubGraphExpanded=!1}Cr.prototype.expandSubGraph=function(){var a=this.diagram;if(a!==null&&!a.Ue){a.Ue=!0;var y=this.Rj();n1(this,y,a,this),a.Ue=!1}};function n1(a,y,E,x){for(var b=a.memberParts;b.next();){var z=b.value;if(z.Zb(!0),z instanceof Cr&&z.wasSubGraphExpanded&&(z.wasSubGraphExpanded=!1,n1(z,y,E,x)),z instanceof yi)z.Bd(y),E.Cj(z,x);else if(z instanceof $n)for(z=z.labelNodes;z.next();)z.value.Bd(y)}a.isSubGraphExpanded=!0}Cr.prototype.move=function(a,y){y===void 0&&(y=!1);var E=y?this.location:this.position,x=E.x;E=E.y;var b=a.x,z=a.y;if(!(x===b||isNaN(x)&&isNaN(b))||!(E===z||isNaN(E)&&isNaN(z))){for(x=b-(isNaN(x)?0:x),E=z-(isNaN(E)?0:E),z=st.alloc(),yi.prototype.move.call(this,a,y),a=new Rt,y=this.Rj().iterator;y.next();)b=y.value,b instanceof $n&&(b.suspendsRouting&&a.add(b),b.fd||b.fromNode!==this&&b.toNode!==this)&&(b.suspendsRouting=!0);for(y.reset();y.next();)if(b=y.value,!(b.ph()||b instanceof yi&&b.isLinkLabel)){var ne=b.position,re=b.location;ne.w()?(z.x=ne.x+x,z.y=ne.y+E,b.position=z):re.w()&&(z.x=re.x+x,z.y=re.y+E,b.location=z)}for(y.reset();y.next();)b=y.value,b instanceof $n&&(b.suspendsRouting=a.contains(b),b.fd||b.fromNode!==this&&b.toNode!==this)&&(ne=b.position,z.x=ne.x+x,z.y=ne.y+E,z.w()?b.move(z):b.bb(),Qv(b)&&b.bb());st.free(z)}},bn.Object.defineProperties(Cr.prototype,{placeholder:{get:function(){return this.$a}},computesBoundsAfterDrag:{get:function(){return(this.U&2048)!==0},set:function(a){var y=(this.U&2048)!==0;y!==a&&(this.U^=2048,this.g("computesBoundsAfterDrag",y,a))}},computesBoundsIncludingLinks:{get:function(){return(this.U&4096)!==0},set:function(a){var y=(this.U&4096)!==0;y!==a&&(this.U^=4096,this.g("computesBoundsIncludingLinks",y,a))}},computesBoundsIncludingLocation:{get:function(){return(this.U&8192)!==0},set:function(a){var y=(this.U&8192)!==0;y!==a&&(this.U^=8192,this.g("computesBoundsIncludingLocation",y,a))}},handlesDragDropForMembers:{get:function(){return(this.U&16384)!==0},set:function(a){var y=(this.U&16384)!==0;y!==a&&(this.U^=16384,this.g("handlesDragDropForMembers",y,a))}},memberParts:{get:function(){return this.Gn.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;if(y!==a){a!==null&&a.diagram!==null&&a.diagram.layout===a&&tn("A layout cannot be both the Diagram.layout and a Group.layout: "+a),y!==null&&(y.diagram=null,y.group=null),this.Sc=a;var E=this.diagram;a!==null&&(a.diagram=E,a.group=this),E!==null&&(E.xh=!0),this.g("layout",y,a),E!==null&&E.$b()}}},memberAdded:{get:function(){return this.Ba!==null?this.Ba.Mq:null},set:function(a){var y=this.memberAdded;y!==a&&(Wd(this),this.Ba.Mq=a,this.g("memberAdded",y,a))}},memberRemoved:{get:function(){return this.Ba!==null?this.Ba.Nq:null},set:function(a){var y=this.memberRemoved;y!==a&&(Wd(this),this.Ba.Nq=a,this.g("memberRemoved",y,a))}},memberValidation:{get:function(){return this.Ba!==null?this.Ba.ij:null},set:function(a){var y=this.memberValidation;y!==a&&(Wd(this),this.Ba.ij=a,this.g("memberValidation",y,a))}},ungroupable:{get:function(){return(this.U&256)!==0},set:function(a){var y=(this.U&256)!==0;y!==a&&(this.U^=256,this.g("ungroupable",y,a))}},isSubGraphExpanded:{get:function(){return(this.U&512)!==0},set:function(a){var y=(this.U&512)!==0;if(y!==a){this.U^=512;var E=this.diagram;if(this.g("isSubGraphExpanded",y,a),y=this.subGraphExpandedChanged,y!==null){var x=!0;E!==null&&(x=E.aa,E.aa=!0),y(this),E!==null&&(E.aa=x)}E!==null&&E.undoManager.isUndoingRedoing?(this.$a!==null&&this.$a.v(),this.memberParts.each(function(b){b.updateAdornments()})):a?this.expandSubGraph():this.collapseSubGraph()}}},wasSubGraphExpanded:{get:function(){return(this.U&1024)!==0},set:function(a){var y=(this.U&1024)!==0;y!==a&&(this.U^=1024,this.g("wasSubGraphExpanded",y,a))}},subGraphExpandedChanged:{get:function(){return this.Ba!==null?this.Ba.Kr:null},set:function(a){var y=this.subGraphExpandedChanged;y!==a&&(Wd(this),this.Ba.Kr=a,this.g("subGraphExpandedChanged",y,a))}},rh:{get:function(){return(this.U&32768)!==0},set:function(a){(this.U&32768)!==0!==a&&(this.U^=32768)}}}),Cr.prototype.expandSubGraph=Cr.prototype.expandSubGraph,Cr.prototype.collapseSubGraph=Cr.prototype.collapseSubGraph,Cr.prototype.findSubGraphParts=Cr.prototype.Rj,Cr.prototype.findContainingGroupChain=Cr.prototype.hz,Cr.prototype.findExternalNodesConnected=Cr.prototype.iz,Cr.prototype.findExternalLinksConnected=Cr.prototype.Lu,Cr.prototype.ensureBounds=Cr.prototype.Va,Cr.className="Group";function Nl(a){Ut.call(this),this.yb=ga,this.ko=new an(NaN,NaN,NaN,NaN),a&&Object.assign(this,a)}Kt(Nl,Ut),Nl.prototype.cloneProtected=function(a){Ut.prototype.cloneProtected.call(this,a),a.yb=this.yb.J(),a.ko=this.ko.copy()},Nl.prototype.gh=function(a){if(this.background===null&&this.areaBackground===null)return!1;var y=this.naturalBounds;return Go(0,0,y.width,y.height,a.x,a.y)},Nl.prototype.Wl=function(){var a=this.part;if(a!==null&&(a instanceof Cr||a instanceof Eo)||tn("Placeholder is not inside a Group or Adornment."),a instanceof Cr){var y=this.computeBorder(this.ko),E=this.minSize,x=this.dc;for(qo(x,(isFinite(E.width)?Math.max(E.width,y.width):y.width)||0,(isFinite(E.height)?Math.max(E.height,y.height):y.height)||0),this.Ge(0,0,x.width,x.height),x=a.memberParts,E=!1;x.next();)if(x.value.isVisible()){E=!0;break}x=a.diagram,!E||x===null||x.animationManager.Xu(a)||isNaN(y.x)||isNaN(y.y)||(E=st.alloc(),E.xi(y,a.locationSpot),E.D(a.location)||(a.location=E),st.free(E))}else{y=this.dc,E=this.yb,x=E.left+E.right;var b=E.top+E.bottom,z=a.adornedObject;a.angle=z.li();var ne=0;z instanceof kr&&(ne=z.strokeWidth);var re=z.Df(),oe=z.naturalBounds,he=(oe.width+ne)*re;ne=(oe.height+ne)*re,a.type!==Yn.Link&&(re=z.ga(a.category==="Selection"?ka:a.locationSpot,st.alloc()),a.location=re,st.free(re)),isNaN(he)||isNaN(ne)?(a=z.ga(ka,st.alloc()),he=an.allocAt(a.x,a.y,0,0),he.Ye(z.ga(ws,a)),he.Ye(z.ga(wa,a)),he.Ye(z.ga(Ba,a)),qo(y,he.width+x||0,he.height+b||0),this.Ge(-E.left,-E.top,y.width,y.height),st.free(a),an.free(he)):(qo(y,he+x||0,ne+b||0),this.Ge(-E.left,-E.top,y.width,y.height))}},Nl.prototype.eh=function(a,y,E,x){this.actualBounds.h(a,y,E,x)},Nl.prototype.computeBorder=function(a){var y=this.part,E=y.diagram,x=E===null||!E.animationManager.isAnimating;if(E!==null&&y instanceof Cr&&!y.layer.isTemporary&&y.computesBoundsAfterDrag&&this.ko.w()){var b=E.toolManager.findTool("Dragging");if(b===E.currentTool&&(E=b.computeBorder(y,this.ko,a),E!==null))return E}E=an.alloc(),b=this.computeMemberBounds(E);var z=this.yb;return y instanceof Cr&&!y.isSubGraphExpanded?a.h(b.x-z.left,b.y-z.top,0,0):a.h(b.x-z.left,b.y-z.top,Math.max(b.width+z.left+z.right,0),Math.max(b.height+z.top+z.bottom,0)),an.free(E),x&&y instanceof Cr&&y.computesBoundsIncludingLocation&&y.location.w()&&a.Ye(y.location),a},Nl.prototype.computeMemberBounds=function(a){if(!(this.part instanceof Cr))return a.h(0,0,0,0),a;for(var y=this.part,E=1/0,x=1/0,b=-1/0,z=-1/0,ne=y.memberParts;ne.next();){var re=ne.value;if(re.isVisible()){if(re instanceof $n&&(!y.computesBoundsIncludingLinks||Tu(re)||re.fromNode===y||re.toNode===y))continue;re=re.actualBounds,re.left<E&&(E=re.left),re.top<x&&(x=re.top),re.right>b&&(b=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(E)&&isFinite(x)?a.h(E,x,b-E,z-x):(y=y.location,a.h(y.x,y.y,0,0)),a},bn.Object.defineProperties(Nl.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Zi(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),Nl.className="Placeholder";function $n(a){Ki.call(this,Yn.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Ll,this.Om=0,this.Qm=Ll,this.Rm=NaN,this.qj=$v,this.po=.5,this.wd=null,this.Nb=new Qn().freeze(),this.Tg=this.Mg=null,this.ml=new an,this.ua=new Jn,this.u=this.o=this.Sf=this.Wf=null,this.su=new st,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}Kt($n,Ki),$n.prototype.cloneProtected=function(a){Ki.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())},Ie=$n.prototype,Ie.Af=function(a){Ki.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&&cu(y),a=a.toPort,a!==null&&cu(a)},Ie.qb=function(a){a.classType===$n?(a.value&2)===2?this.routing=a:a===Pu||a===Yd||a===xg?this.curve=a:a===wp||a===t0||a===n0?this.adjusting=a:a!==$v&&a!==Ll&&tn("Unknown Link enum value for a Link property: "+a):Ki.prototype.qb.call(this,a)},Ie.Xc=function(){this.ba===null&&(this.ba=new up)},Ie.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),Al(a)||ph(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),Al(a)||ph(a)))},Ie.zv=function(){return!1},Ie.Av=function(){},Ie.Zc=function(){return!1},$n.prototype.computeAngle=function(a,y,E){return $n.computeAngle(y,E)},$n.computeAngle=function(a,y){switch(a){default:case Ll:a=0;break;case Cp:a=y;break;case Tp:a=y+90;break;case Ap:a=y-90;break;case ey:a=y+180;break;case i0:a=Ht.bp(y),90<a&&270>a&&(a-=180);break;case Pp:a=Ht.bp(y+90),90<a&&270>a&&(a-=180);break;case Np:a=Ht.bp(y-90),90<a&&270>a&&(a-=180);break;case r0:if(a=Ht.bp(y),45<a&&135>a||225<a&&315>a)return 0;90<a&&270>a&&(a-=180)}return Ht.bp(a)};function Sg(a){var y=a.fromNode,E=a.toNode,x=null;if(y!==null?x=E!==null?y.px(E):y.containingGroup:E!==null?x=E.containingGroup:x=null,y=x,E=a.Ah,E!==y){E!==null&&Zv(E,a),a.Ah=y,y!==null&&Kv(y,a);var b=a.containingGroupChanged;if(b!==null){var z=!0,ne=a.diagram;ne!==null&&(z=ne.aa,ne.aa=!0),b(a,E,y),ne!==null&&(ne.aa=z)}!a.fd||a.Lw!==E&&a.Mw!==E||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=x}Ie=$n.prototype,Ie.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&Ki.prototype.oh.call(this)},Ie.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Ie.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function i1(a,y){a.wd===null&&(a.wd=new Rt),a.wd.add(y),a.v()}Ie.Vo=function(a){if(Ki.prototype.Vo.call(this,a),nf(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Km(a,this,y));var E=this.uf;if(E!==null){var x=this.toPort;E===a&&x===y||Km(E,this,x)}xp(this)}},Ie.Wo=function(a){if(Ki.prototype.Wo.call(this,a),nf(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Zm(a,this,y));var E=this.uf;if(E!==null){var x=this.toPort;E===a&&x===y||Zm(E,this,x)}bp(this)}},Ie.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))},$n.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},$n.prototype.move=function(a,y){var E=y?this.location:this.position,x=E.x;isNaN(x)&&(x=0);var b=E.y;for(isNaN(b)&&(b=0),x=a.x-x,b=a.y-b,y===!0?Ki.prototype.move.call(this,a,!1):(a=st.allocAt(E.x+x,E.y+b),Ki.prototype.move.call(this,a,!1),st.free(a)),Vd(this,x,b),a=this.labelNodes;a.next();)y=a.value,E=y.position,y.moveTo(E.x+x,E.y+b)},$n.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},$n.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},$n.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(uo),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var E=this.i(0),x=this.i(1);return a.h((E.x+x.x)/2,(E.y+x.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===Pu))return this.ua.Pu(.5,a),a.add(this.i(0)),E=this.ua.figures.first(),a.offset(-E.startX,-E.startY),a;if(this.computeCurve()===Pu){if(y===3){E=this.i(0),x=this.i(1);var b=this.i(2);return Ht.ax(E.x,E.y,x.x,x.y,x.x,x.y,b.x,b.y,a),a}if(x=(y-1)/3|0,E=3*(x/2|0),x%2===1){x=this.i(E),b=this.i(E+1);var z=this.i(E+2);E=this.i(E+3),Ht.ax(x.x,x.y,b.x,b.y,z.x,z.y,E.x,E.y,a)}else a.assign(this.i(E));return a}var ne=this.flattenedLengths;for(E=this.flattenedTotalLength,b=z=x=0;x<E/2&&z<y&&(b=ne[z],!(x+b>E/2));)x+=b,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-(E/2-x)):a.h(y.x,y.y+(E/2-x)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(E/2-x),y.y):a.h(y.x+(E/2-x),y.y):(E=(E/2-x)/b,a.h(y.x+E*(z.x-y.x),y.y+E*(z.y-y.y))),a},$n.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()===Pu))return this.ua.wx(.5);if(this.computeCurve()===Pu&&4<=a){var y=(a-1)/3|0,E=3*(y/2|0);if(y%2===1){E=Math.floor(E),a=this.i(E),y=this.i(E+1);var x=this.i(E+2);return E=this.i(E+3),Ht.My(a.x,a.y,y.x,y.y,x.x,x.y,E.x,E.y)}if(0<E&&E+1<a)return this.i(E-1).ab(this.i(E+1))}y=this.flattenedLengths,x=this.flattenedTotalLength;var b=0;E=0;for(var z;b<x/2&&E<a&&(z=y[E],!(b+z>x/2));)b+=z,E++;if(y=this.i(E),x=this.i(E+1),1>Math.abs(y.x-x.x)&&1>Math.abs(y.y-x.y)){if(0<E&&E+2<a)return this.i(E-1).ab(this.i(E+2))}else{if(1>Math.abs(y.x-x.x))return y.y>x.y?270:90;if(1>Math.abs(y.y-x.y))return y.x>x.x?180:0}return y.ab(x)},Ie=$n.prototype,Ie.i=function(a){return this.Nb.s[a]},Ie.dd=function(a,y){this.Nb.cd(a,y)},Ie.L=function(a,y,E){this.Nb.cd(a,new st(y,E))},Ie.Kz=function(a,y){this.Nb.Gb(a,y)},Ie.m=function(a,y,E){this.Nb.Gb(a,new st(y,E))},Ie.ne=function(a){this.Nb.add(a)},Ie.yf=function(a,y){this.Nb.add(new st(a,y))},Ie.pv=function(a){this.Nb.mb(a)},Ie.Fj=function(){this.Nb.clear()};function Vd(a,y,E){if(y!==0||E!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,E),a.defaultToPoint&&a.defaultToPoint.offset(y,E);else{for(var x=a.fd,b=new Qn,z=a.Nb.iterator;z.next();){var ne=z.value;b.add(new st(ne.x+y,ne.y+E).freeze())}b.freeze(),z=a.Nb,a.Nb=b,ne=a.diagram,isNaN(y)||isNaN(E)||ne!==null&&ne.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+E),a.pa.h(a.pa.x+y,a.pa.y+E),Tl(a)),x?Qm(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),ne!==null&&ne.animationManager.zb&&Ju(ne.animationManager,a,b),a.g("points",z,b)}}Ie.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Ie.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,E=1/0,x=1/0,b=a.s,z=b.length,ne=0;ne<z;ne++){var re=b[ne];E=Math.min(re.x,E),x=Math.min(re.y,x)}re=ne=1/0;for(var oe=y.s,he=oe.length,fe=0;fe<he;fe++){var Se=oe[fe];ne=Math.min(Se.x,ne),re=Math.min(Se.y,re),Se.freeze()}if(y.freeze(),he===z){for(z=0;z<he;z++)if(fe=b[z],Se=oe[z],fe.x-E!==Se.x-ne||fe.y-x!==Se.y-re){this.qc();break}}else this.qc();this.Mg=null,E=this.diagram,E!==null&&E.animationManager.zb&&Ju(E.animationManager,this,y),Qm(this),this.g("points",a,y)}},Ie.rv=function(){this.Mg!==null&&(this.Nb=this.Mg,this.Mg=null)};function Qm(a){a.Nb.count===0?a.fd=!1:(a.fd=!0,a.cq=null,a.vt=NaN,a.defaultFromPoint=a.i(0),a.defaultToPoint=a.i(a.pointsCount-1),e0(a,!1))}Ie.bb=function(){if(!this.suspendsRouting){var a=this.diagram;if(a){if(a.As.contains(this)||a.undoManager.isUndoingRedoing||(a=a.animationManager,a.isTicking&&!a.isAnimating))return;this.Tg===null||a.isTicking||(this.Tg=null)}a=this.path,a!==null&&(this.fd=!1,this.v(),a.v())}},Ie.vg=function(){if(!this.fd&&!this.computingPoints){var a=!0;try{this.computingPoints=!0,this.uh(),a=this.computePoints()}catch(y){this.computingPoints=!1,this.rv()}finally{this.computingPoints=!1,a?this.zf():this.rv()}}},$n.prototype.computePoints=function(){if(this.diagram===null)return!1;var a=this.fromNode,y=null;if(a===null?(kf||(kf=new yi,kf.desiredSize=$i,kf.Va()),this.defaultFromPoint&&(kf.location=this.defaultFromPoint,kf.Va(),y=a=kf)):y=this.fromPort,y!==null&&!a.isVisible()){var E=a.findVisibleNode();E!==null&&E!==a?(a=E,y=E.port):a=E}if(this.Lw=a,a===null||!a.location.w())return!1;for(;!(y===null||y.actualBounds.w()&&y.Ed());)y=y.panel;if(y===null)return!1;var x=this.toNode,b=null;if(x===null?(If||(If=new yi,If.desiredSize=$i,If.Va()),this.defaultToPoint&&(If.location=this.defaultToPoint,If.Va(),b=x=If)):b=this.toPort,b===null||x.isVisible()||(E=x.findVisibleNode(),E!==null&&E!==x?(x=E,b=E.port):x=E),this.Mw=x,x===null||!x.location.w())return!1;for(;!(b===null||b.actualBounds.w()&&b.Ed());)b=b.panel;if(b===null)return!1;var z=this.pointsCount,ne=this.computeSpot(!0,y);E=this.computeSpot(!1,b);var re=Eg(ne),oe=Eg(E),he=y===b&&y!==null,fe=this.isOrthogonal,Se=this.curve===Pu;this.Wf=he&&!fe?Se=!0:!1;var Te=this.computeAdjusting()===Ll||he;if(!fe&&!he&&re&&oe){if(re=!1,!Te&&3<=z&&(Te=this.getLinkPoint(a,y,ne,!0,!1,x,b),oe=this.getLinkPoint(x,b,E,!1,!1,a,y),re=this.adjustPoints(0,Te,z-1,oe))&&(Te=this.getLinkPoint(a,y,ne,!0,!1,x,b),oe=this.getLinkPoint(x,b,E,!1,!1,a,y),this.adjustPoints(0,Te,z-1,oe)),!re)if(this.Fj(),Se){z=this.getLinkPoint(a,y,ne,!0,!1,x,b),Te=this.getLinkPoint(x,b,E,!1,!1,a,y),re=Te.x-z.x,oe=Te.y-z.y,he=this.computeCurviness(),Se=fe=0;var Ne=z.x+re/3,Be=z.y+oe/3,We=Ne,vt=Be;Ht.B(oe,0)?vt=0<re?vt-he:vt+he:(fe=-re/oe,Se=Math.sqrt(he*he/(fe*fe+1)),0>he&&(Se=-Se),We=(0>oe?-1:1)*Se+Ne,vt=fe*(We-Ne)+Be),Ne=z.x+2*re/3,Be=z.y+2*oe/3;var ct=Ne,wt=Be;Ht.B(oe,0)?wt=0<re?wt-he:wt+he:(ct=(0>oe?-1:1)*Se+Ne,wt=fe*(ct-Ne)+Be),this.Fj(),this.ne(z),this.yf(We,vt),this.yf(ct,wt),this.ne(Te),this.dd(0,this.getLinkPoint(a,y,ne,!0,!1,x,b)),this.dd(3,this.getLinkPoint(x,b,E,!1,!1,a,y))}else z=x,Te=b,x=this.getLinkPoint(a,y,ne,!0,!1,z,Te),b=this.getLinkPoint(z,Te,E,!1,!1,a,y),this.hasCurviness()?(Te=b.x-x.x,E=b.y-x.y,ne=this.computeCurviness(),a=x.x+Te/2,y=x.y+E/2,z=a,re=y,Ht.B(E,0)?re=0<Te?re-ne:re+ne:(Te=-Te/E,z=Math.sqrt(ne*ne/(Te*Te+1)),0>ne&&(z=-z),z=(0>E?-1:1)*z+a,re=Te*(z-a)+y),this.ne(x),this.yf(z,re),this.ne(b)):(this.ne(x),this.ne(b),re=an.alloc(),y.mi(re),oe=re.ca(b),Te.mi(re),he=re.ca(x),(oe||he)&&(ne=y.ga(qm(ne),new st),this.dd(0,this.getLinkPointFromPoint(a,y,ne,b,!0,ne)),E=Te.ga(qm(E),new st),this.dd(1,this.getLinkPointFromPoint(z,Te,E,x,!1,E))),an.free(re))}else{Se=this.isAvoiding,Te&&(fe&&Se||he)&&this.Fj();var Tt=he?this.computeCurviness():0;Se=this.getLinkPoint(a,y,ne,!0,fe,x,b),Ne=We=Be=0,(fe||!re||he)&&(vt=this.computeEndSegmentLength(a,y,ne,!0),Ne=this.getLinkDirection(a,y,Se,ne,!0,fe,x,b),he&&(re||ne.D(E)||!fe&&ne.x+E.x===1&&ne.y+E.y===1)&&(Ne-=fe?90:30,0>Tt&&(Ne-=180)),0>Ne?Ne+=360:360<=Ne&&(Ne-=360),he&&(vt+=Math.abs(Tt)*(fe?1:2)),Ne===0?Be=vt:Ne===90?We=vt:Ne===180?Be=-vt:Ne===270?We=-vt:(Be=vt*Math.cos(Ne*Math.PI/180),We=vt*Math.sin(Ne*Math.PI/180)),ne.Mc()&&he&&(vt=y.ga(Yr,st.alloc()),ct=st.allocAt(vt.x+1e3*Be,vt.y+1e3*We),this.getLinkPointFromPoint(a,y,vt,ct,!0,Se),st.free(vt),st.free(ct))),vt=this.getLinkPoint(x,b,E,!1,fe,a,y);var kt=wt=ct=0;if(fe||!oe||he){var Bt=this.computeEndSegmentLength(x,b,E,!1);kt=this.getLinkDirection(x,b,vt,E,!1,fe,a,y),he&&(oe||ne.D(E)||!fe&&ne.x+E.x===1&&ne.y+E.y===1)&&(kt+=fe?0:30,0>Tt&&(kt+=180)),0>kt?kt+=360:360<=kt&&(kt-=360),he&&(Bt+=Math.abs(Tt)*(fe?1:2)),kt===0?ct=Bt:kt===90?wt=Bt:kt===180?ct=-Bt:kt===270?wt=-Bt:(ct=Bt*Math.cos(kt*Math.PI/180),wt=Bt*Math.sin(kt*Math.PI/180)),E.Mc()&&he&&(E=b.ga(Yr,st.alloc()),ne=st.allocAt(E.x+1e3*ct,E.y+1e3*wt),this.getLinkPointFromPoint(x,b,E,ne,!1,vt),st.free(E),st.free(ne))}E=Se,(fe||!re||he)&&(E=new st(Se.x+Be,Se.y+We)),ne=vt,(fe||!oe||he)&&(ne=new st(vt.x+ct,vt.y+wt)),!Te&&!fe&&re&&3<z&&this.adjustPoints(0,Se,z-2,ne)?this.dd(z-1,vt):!Te&&!fe&&oe&&3<z&&this.adjustPoints(1,E,z-1,vt)?this.dd(0,Se):!Te&&(fe?6<=z:4<z)&&this.adjustPoints(1,E,z-2,ne)?(this.dd(0,Se),this.dd(z-1,vt)):(this.Fj(),this.ne(Se),(fe||!re||he)&&this.ne(E),fe&&this.addOrthoPoints(E,Ne,ne,kt,a,x),(fe||!oe||he)&&this.ne(ne),this.ne(vt))}return!0};function Xv(a,y){return Math.abs(y.x-a.x)>Math.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}$n.prototype.getLinkPointFromPoint=function(a,y,E,x,b,z){if(z===void 0&&(z=new st),a===null||y===null)return z.assign(E),z;if(a.isVisible()||(b=a.findVisibleNode(),b!==null&&b!==a&&(y=b.port)),a=null,b=y.panel,b===null||b.se()||(b=b.panel),b===null){b=x.x,x=x.y;var ne=E.x;E=E.y}else{a=b.oe,b=1/(a.m11*a.m22-a.m12*a.m21),ne=a.m22*b;var re=-a.m12*b,oe=-a.m21*b,he=a.m11*b,fe=b*(a.m21*a.dy-a.m22*a.dx),Se=b*(a.m12*a.dx-a.m11*a.dy);b=x.x*ne+x.y*oe+fe,x=x.x*re+x.y*he+Se,ne=E.x*ne+E.y*oe+fe,E=E.x*re+E.y*he+Se}return y.Sj(b,x,ne,E,z),a!==null&&z.transform(a),z};function Jm(a,y){var E=y.Zn;return E===null&&(E=new Mf,E.port=y,E.node=y.part,y.Zn=E),d1(E,a)}$n.prototype.getLinkPoint=function(a,y,E,x,b,z,ne,re){if(re===void 0&&(re=new st),E.sb()&&!Eg(E))return y.ga(E,re),re;if(E.$c()){var oe=Jm(this,y);if(oe!==null){if(re.assign(oe.Zo),b&&this.routing===o1){var he=Jm(this,ne);if(he!==null&&oe.Gl<he.Gl){oe=st.alloc(),he=st.alloc();var fe=new an(y.ga(ka,oe),y.ga(ws,he)),Se=this.computeSpot(!x,ne);a=this.getLinkPoint(z,ne,Se,!x,b,a,y,he),(E.Hf(Fl)||E.Hf(os))&&a.y>=fe.y&&a.y<=fe.y+fe.height?re.y=a.y:(E.Hf(tl)||E.Hf(za))&&a.x>=fe.x&&a.x<=fe.x+fe.width&&(re.x=a.x),st.free(oe),st.free(he)}}return re}}return E=y.ga(qm(E),st.alloc()),this.pointsCount>(b?6:2)?(ne=x?this.i(1):this.i(this.pointsCount-2),b&&(ne=Xv(E,ne.copy()))):(oe=this.computeSpot(!x,ne),z=st.alloc(),ne=ne.ga(qm(oe),z),b&&(ne=Xv(E,ne)),st.free(z)),this.getLinkPointFromPoint(a,y,E,ne,x,re),st.free(E),re},$n.prototype.getLinkDirection=function(a,y,E,x,b,z,ne,re){e:if(x.sb())var oe=x.x>x.y?x.x>1-x.y?0:x.x<1-x.y?270:315:x.x<x.y?x.x>1-x.y?90:x.x<1-x.y?180:135:.5>x.x?225:.5<x.x?45:0;else{if(x.$c()&&(oe=Jm(this,y),oe!==null))switch(oe.Nc){case 1:oe=270;break e;case 2:oe=180;break e;default:case 4:oe=0;break e;case 8:oe=90;break e}oe=y.ga(Yr,st.alloc()),this.pointsCount>(z?6:2)?(re=b?this.i(1):this.i(this.pointsCount-2),re=z?Xv(oe,re.copy()):E):(E=st.alloc(),re=re.ga(Yr,E),st.free(E)),E=Math.abs(re.x-oe.x)>Math.abs(re.y-oe.y)?re.x>=oe.x?0:180:re.y>=oe.y?90:270,st.free(oe),oe=E}return x.Mc()&&ne.Td(a)&&(oe+=180,360<=oe&&(oe-=360)),Eg(x)||(a=y.li(),a===0)||(45<=a&&135>a?oe+=90:135<=a&&225>a?oe+=180:225<=a&&315>a&&(oe+=270),360<=oe&&(oe-=360)),oe},$n.prototype.computeEndSegmentLength=function(a,y,E,x){return y!==null&&E.$c()&&(a=Jm(this,y),a!==null)?a.Ju:(a=x?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=x?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},$n.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=Yr:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===$a?pa:y)):(a=y||this.toPort,a===null?a=Yr:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===$a?pa:y)),a};function Eg(a){return a===pa||a.x===.5&&a.y===.5}function qm(a){return a.x===.5&&a.y===.5?a:Yr}$n.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Ll&&4<this.pointsCount?this.computeMidPoint(new st):(a=y.Zn,a=a!==null?d1(a,this):null,a!==null?a.Zo:y.ga(Yr))},$n.prototype.computeShortLength=function(a){if(a){if(a=this.fromShortLength,isNaN(a)){var y=this.fromPort;y!==null&&(a=y.fromShortLength)}return isNaN(a)?0:a}return a=this.toShortLength,isNaN(a)&&(y=this.toPort,y!==null&&(a=y.toShortLength)),isNaN(a)?0:a},$n.prototype.Cf=function(a,y,E,x,b,z){if(this.pickable===!1)return!1;y===void 0&&(y=null),E===void 0&&(E=null);var ne=z;if(z===void 0&&(ne=cr.alloc(),ne.reset()),ne.multiply(this.transform),this.fh(a,ne))return Sv(this,y,E,b),z===void 0&&cr.free(ne),!0;if(this.Yc(a,ne)){var re=!1;if(!this.isAtomic)for(var oe=this.O.s,he=oe.length;he--;){var fe=oe[he];if(fe.visible||fe===this.locationObject){var Se=fe.actualBounds,Te=this.naturalBounds;if(!(Se.x>Te.width||Se.y>Te.height||0>Se.x+Se.width||0>Se.y+Se.height)){if(Se=cr.alloc(),Se.set(ne),fe instanceof Yn)re=fe.Cf(a,y,E,x,b,Se);else if(this.path===fe){if(fe instanceof kr)if(re=a,Te=x,fe.pickable===!1)re=!1;else if(Se.multiply(fe.transform),Te)e:{var Ne=re,Be=Se;if(fe.fh(Ne,Be))re=!0;else{if(Be===void 0&&(Be=fe.transform,Ne.Re(fe.actualBounds))){re=!0;break e}re=Ne.left,Te=Ne.right;var We=Ne.top;Ne=Ne.bottom;var vt=st.alloc(),ct=st.alloc(),wt=st.alloc(),Tt=cr.alloc();Tt.set(Be),Tt.bv(fe.transform),Tt.Vj(),ct.x=Te,ct.y=We,ct.transform(Tt),vt.x=re,vt.y=We,vt.transform(Tt),Be=!1,ef(fe,vt,ct,wt)?Be=!0:(vt.x=Te,vt.y=Ne,vt.transform(Tt),ef(fe,vt,ct,wt)?Be=!0:(ct.x=re,ct.y=Ne,ct.transform(Tt),ef(fe,vt,ct,wt)?Be=!0:(vt.x=re,vt.y=We,vt.transform(Tt),ef(fe,vt,ct,wt)&&(Be=!0)))),cr.free(Tt),st.free(vt),st.free(ct),st.free(wt),re=Be}}else re=fe.fh(re,Se)}else re=Ns(fe,a,x,Se);re&&(Te=fe,y!==null&&(Te=y(fe)),Te&&(E===null||E(Te))&&b.add(Te)),cr.free(Se)}}}return z===void 0&&cr.free(ne),re||this.background!==null||this.areaBackground!==null}return z===void 0&&cr.free(ne),!1},$n.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?Pu:this.curve},$n.prototype.computeCorner=function(){if(this.curve===Pu)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},$n.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,E=y.length,x=0;x<E;x++){var b=y[x];if(b!==a&&!b.isPanelMain&&(b.segmentIndex===-1/0||isNaN(b.segmentIndex)))return b}for(a=this.labelNodes;a.next();)if(y=a.value,y.segmentIndex===-1/0||isNaN(y.segmentIndex))return y;return null},$n.prototype.computeSpacing=function(){if(!this.isVisible())return 0;var a=s1;a=Math.max(a,this.computeThickness());var y=this.fromPort,E=this.toPort;if(y!==null&&E!==null){var x=this.findMidLabel();if(x!==null){var b=x.naturalBounds,z=x.margin,ne=isNaN(b.width)?30:b.width*x.scale+z.left+z.right;b=isNaN(b.height)?14:b.height*x.scale+z.top+z.bottom,x=x.segmentOrientation,x===Cp||x===i0||x===ey?a=Math.max(a,b):x===Ap||x===Np||x===Tp||x===Pp?a=Math.max(a,ne):(y=y.ga(Yr).ab(E.ga(Yr))/180*Math.PI,a=Math.max(a,Math.abs(Math.sin(y)*ne)+Math.abs(Math.cos(y)*b)+1)),this.curve===Pu&&(a*=1.333)}}return a},$n.prototype.arrangeBundledLinks=function(a,y){if(y)for(y=0;y<a.length;y++){var E=a[y];E.computeAdjusting()===Ll&&E.bb()}},$n.prototype.computeCurviness=function(){var a=this.curviness;if(isNaN(a)){a=a1;var y=this.Sf;if(y!==null){for(var E=Vi(),x=0,b=y.links,z=0;z<b.length;z++){var ne=b[z].computeSpacing();E.push(ne),x+=ne}for(x=-x/2,z=0;z<b.length;z++){if(b[z]===this){a=x+E[z]/2;break}x+=E[z]}y.Ds===this.fromNode&&(a=-a),Qi(E)}}return a},$n.prototype.computeThickness=function(){if(!this.isVisible())return 0;var a=this.path;return a!==null?Math.max(a.strokeWidth,1):1},$n.prototype.hasCurviness=function(){return!isNaN(this.curviness)||this.Sf!==null},$n.prototype.adjustPoints=function(a,y,E,x){var b=this.computeAdjusting();if(this.isOrthogonal){if(b===t0)return!1;b===n0&&(b=wp)}switch(b){case t0:var z=this.i(a),ne=this.i(E);if(!z.Xa(y)||!ne.Xa(x)){b=z.x,z=z.y;var re=ne.x-b,oe=ne.y-z,he=Math.sqrt(re*re+oe*oe);if(!Ht.$(he,0)){if(Ht.$(re,0))var fe=0>oe?-Math.PI/2:Math.PI/2;else fe=Math.atan(oe/Math.abs(re)),0>re&&(fe=Math.PI-fe);ne=y.x;var Se=y.y;re=x.x-ne;var Te=x.y-Se;for(oe=Math.sqrt(re*re+Te*Te),Ht.$(re,0)?Te=0>Te?-Math.PI/2:Math.PI/2:(Te=Math.atan(Te/Math.abs(re)),0>re&&(Te=Math.PI-Te)),he=oe/he,fe=Te-fe,this.dd(a,y),a+=1;a<E;a++)y=this.i(a),re=y.x-b,oe=y.y-z,y=Math.sqrt(re*re+oe*oe),Ht.$(y,0)||(Ht.$(re,0)?oe=0>oe?-Math.PI/2:Math.PI/2:(oe=Math.atan(oe/Math.abs(re)),0>re&&(oe=Math.PI-oe)),re=oe+fe,y*=he,this.L(a,ne+y*Math.cos(re),Se+y*Math.sin(re)));this.dd(E,x)}}return!0;case n0:if(z=this.i(a),Se=this.i(E),!z.Xa(y)||!Se.Xa(x)){b=z.x,z=z.y,ne=Se.x,Se=Se.y,he=(ne-b)*(ne-b)+(Se-z)*(Se-z),re=y.x,fe=y.y,oe=x.x,Te=x.y;var Ne=1;if(oe-re!==0){var Be=(Te-fe)/(oe-re);Ne=Math.sqrt(1+1/(Be*Be))}else Be=9e9;for(this.dd(a,y),a+=1;a<E;a++){y=this.i(a);var We=y.x,vt=y.y,ct=.5;he!==0&&(ct=((b-We)*(b-ne)+(z-vt)*(z-Se))/he);var wt=b+ct*(ne-b),Tt=z+ct*(Se-z);y=Math.sqrt((We-wt)*(We-wt)+(vt-Tt)*(vt-Tt)),vt<Be*(We-wt)+Tt&&(y=-y),0<Be&&(y=-y),We=re+ct*(oe-re),ct=fe+ct*(Te-fe),Be!==0?(y=We+y/Ne,this.L(a,y,ct-(y-We)/Be)):this.L(a,We,ct+y)}this.dd(E,x)}return!0;case wp:e:{if(this.isOrthogonal&&(b=this.i(a),z=this.i(a+1),ne=this.i(a+2),re=z.x,fe=z.y,Se=re,he=fe,Ht.B(b.y,z.y)?Ht.B(z.x,ne.x)?fe=y.y:Ht.B(z.y,ne.y)&&(re=y.x):Ht.B(b.x,z.x)&&(Ht.B(z.y,ne.y)?re=y.x:Ht.B(z.x,ne.x)&&(fe=y.y)),this.L(a+1,re,fe),b=this.i(E),z=this.i(E-1),ne=this.i(E-2),re=z.x,fe=z.y,oe=re,Te=fe,Ht.B(b.y,z.y)?Ht.B(z.x,ne.x)?fe=x.y:Ht.B(z.y,ne.y)&&(re=x.x):Ht.B(b.x,z.x)&&(Ht.B(z.y,ne.y)?re=x.x:Ht.B(z.x,ne.x)&&(fe=x.y)),this.L(E-1,re,fe),Qv(this))){this.L(a+1,Se,he),this.L(E-1,oe,Te),E=!1;break e}this.dd(a,y),this.dd(E,x),E=!0}return E;default:return!1}},$n.prototype.addOrthoPoints=function(a,y,E,x,b,z){0>y?y+=360:360<=y&&(y-=360),0>x?x+=360:360<=x&&(x-=360);var ne=x;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,x=315<=x||45>x?0:45<=x&&135>x?90:135<=x&&225>x?180:270;var re=b.actualBounds.copy(),oe=z.actualBounds.copy();if(re.w()&&oe.w()){re.Bc(Lp,Lp),oe.Bc(Lp,Lp),re.Ye(a),oe.Ye(E);var he=st.alloc(),fe=st.alloc();y===0?E.x>a.x||x===270&&E.y<a.y&&oe.right>a.x||x===90&&E.y>a.y&&oe.right>a.x?(he.h(E.x,a.y),fe.h(E.x,(a.y+E.y)/2),x===180?(he.x=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!1),fe.x=he.x,fe.y=E.y):x===270&&E.y<a.y||x===90&&E.y>a.y?(he.x=a.x<oe.left?this.computeMidOrthoPosition(a.x,a.y,oe.left,E.y,!1):a.x<oe.right&&(x===270&&a.y<oe.top||x===90&&a.y>oe.bottom)?this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!1):oe.right,fe.x=he.x,fe.y=E.y):x===0&&a.x<oe.left&&a.y>oe.top&&a.y<oe.bottom&&(he.x=a.x,he.y=a.y<E.y?Math.min(E.y,oe.top):Math.max(E.y,oe.bottom),fe.y=he.y)):(he.h(a.x,E.y),fe.h((a.x+E.x)/2,E.y),(x===180||x===90&&E.y<re.top||x===270&&E.y>re.bottom)&&(x===180&&(oe.ca(a)||re.ca(E))?he.y=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!0):E.y<a.y&&(x===180||x===90)?he.y=this.computeMidOrthoPosition(a.x,re.top,E.x,Math.max(E.y,oe.bottom),!0):E.y>a.y&&(x===180||x===270)&&(he.y=this.computeMidOrthoPosition(a.x,re.bottom,E.x,Math.min(E.y,oe.top),!0)),fe.x=E.x,fe.y=he.y),he.y>re.top&&he.y<re.bottom&&(E.x>=re.left&&E.x<=a.x||a.x<=oe.right&&a.x>=E.x?(x===90||x===270)&&(he.h(Math.max((a.x+E.x)/2,a.x),a.y),fe.h(he.x,E.y)):(he.y=x===270||(x===0||x===180)&&E.y<a.y?Math.min(E.y,x===0?re.top:Math.min(re.top,oe.top)):Math.max(E.y,x===0?re.bottom:Math.max(re.bottom,oe.bottom)),fe.x=E.x,fe.y=he.y))):y===180?E.x<a.x||x===270&&E.y<a.y&&oe.left<a.x||x===90&&E.y>a.y&&oe.left<a.x?(he.h(E.x,a.y),fe.h(E.x,(a.y+E.y)/2),x===0?(he.x=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!1),fe.x=he.x,fe.y=E.y):x===270&&E.y<a.y||x===90&&E.y>a.y?(he.x=a.x>oe.right?this.computeMidOrthoPosition(a.x,a.y,oe.right,E.y,!1):a.x>oe.left&&(x===270&&a.y<oe.top||x===90&&a.y>oe.bottom)?this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!1):oe.left,fe.x=he.x,fe.y=E.y):x===180&&a.x>oe.right&&a.y>oe.top&&a.y<oe.bottom&&(he.x=a.x,he.y=a.y<E.y?Math.min(E.y,oe.top):Math.max(E.y,oe.bottom),fe.y=he.y)):(he.h(a.x,E.y),fe.h((a.x+E.x)/2,E.y),(x===0||x===90&&E.y<re.top||x===270&&E.y>re.bottom)&&(x===0&&(oe.ca(a)||re.ca(E))?he.y=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!0):E.y<a.y&&(x===0||x===90)?he.y=this.computeMidOrthoPosition(a.x,re.top,E.x,Math.max(E.y,oe.bottom),!0):E.y>a.y&&(x===0||x===270)&&(he.y=this.computeMidOrthoPosition(a.x,re.bottom,E.x,Math.min(E.y,oe.top),!0)),fe.x=E.x,fe.y=he.y),he.y>re.top&&he.y<re.bottom&&(E.x<=re.right&&E.x>=a.x||a.x>=oe.left&&a.x<=E.x?(x===90||x===270)&&(he.h(Math.min((a.x+E.x)/2,a.x),a.y),fe.h(he.x,E.y)):(he.y=x===270||(x===0||x===180)&&E.y<a.y?Math.min(E.y,x===180?re.top:Math.min(re.top,oe.top)):Math.max(E.y,x===180?re.bottom:Math.max(re.bottom,oe.bottom)),fe.x=E.x,fe.y=he.y))):y===90?E.y>a.y||x===180&&E.x<a.x&&oe.bottom>a.y||x===0&&E.x>a.x&&oe.bottom>a.y?(he.h(a.x,E.y),fe.h((a.x+E.x)/2,E.y),x===270?(he.y=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!0),fe.x=E.x,fe.y=he.y):x===180&&E.x<a.x||x===0&&E.x>a.x?(he.y=a.y<oe.top?this.computeMidOrthoPosition(a.x,a.y,E.x,oe.top,!0):a.y<oe.bottom&&(x===180&&a.x<oe.left||x===0&&a.x>oe.right)?this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!0):oe.bottom,fe.x=E.x,fe.y=he.y):x===90&&a.y<oe.top&&a.x>oe.left&&a.x<oe.right&&(he.x=a.x<E.x?Math.min(E.x,oe.left):Math.max(E.x,oe.right),he.y=a.y,fe.x=he.x)):(he.h(E.x,a.y),fe.h(E.x,(a.y+E.y)/2),(x===270||x===0&&E.x<re.left||x===180&&E.x>re.right)&&(x===270&&(oe.ca(a)||re.ca(E))?he.x=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!1):E.x<a.x&&(x===270||x===0)?he.x=this.computeMidOrthoPosition(re.left,a.y,Math.max(E.x,oe.right),E.y,!1):E.x>a.x&&(x===270||x===180)&&(he.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(E.x,oe.left),E.y,!1)),fe.x=he.x,fe.y=E.y),he.x>re.left&&he.x<re.right&&(E.y>=re.top&&E.y<=a.y||a.y<=oe.bottom&&a.y>=E.y?(x===0||x===180)&&(he.h(a.x,Math.max((a.y+E.y)/2,a.y)),fe.h(E.x,he.y)):(he.x=x===180||(x===90||x===270)&&E.x<a.x?Math.min(E.x,x===90?re.left:Math.min(re.left,oe.left)):Math.max(E.x,x===90?re.right:Math.max(re.right,oe.right)),fe.x=he.x,fe.y=E.y))):E.y<a.y||x===180&&E.x<a.x&&oe.top<a.y||x===0&&E.x>a.x&&oe.top<a.y?(he.h(a.x,E.y),fe.h((a.x+E.x)/2,E.y),x===90?(he.y=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!0),fe.x=E.x,fe.y=he.y):x===180&&E.x<a.x||x===0&&E.x>=a.x?(he.y=a.y>oe.bottom?this.computeMidOrthoPosition(a.x,a.y,E.x,oe.bottom,!0):a.y>oe.top&&(x===180&&a.x<oe.left||x===0&&a.x>oe.right)?this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!0):oe.top,fe.x=E.x,fe.y=he.y):x===270&&a.y>oe.bottom&&a.x>oe.left&&a.x<oe.right&&(he.x=a.x<E.x?Math.min(E.x,oe.left):Math.max(E.x,oe.right),he.y=a.y,fe.x=he.x)):(he.h(E.x,a.y),fe.h(E.x,(a.y+E.y)/2),(x===90||x===0&&E.x<re.left||x===180&&E.x>re.right)&&(x===90&&(oe.ca(a)||re.ca(E))?he.x=this.computeMidOrthoPosition(a.x,a.y,E.x,E.y,!1):E.x<a.x&&(x===90||x===0)?he.x=this.computeMidOrthoPosition(re.left,a.y,Math.max(E.x,oe.right),E.y,!1):E.x>a.x&&(x===90||x===180)&&(he.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(E.x,oe.left),E.y,!1)),fe.x=he.x,fe.y=E.y),he.x>re.left&&he.x<re.right&&(E.y<=re.bottom&&E.y>=a.y||a.y>=oe.top&&a.y<=E.y?(x===0||x===180)&&(he.h(a.x,Math.min((a.y+E.y)/2,a.y)),fe.h(E.x,he.y)):(he.x=x===180||(x===90||x===270)&&E.x<a.x?Math.min(E.x,x===270?re.left:Math.min(re.left,oe.left)):Math.max(E.x,x===270?re.right:Math.max(re.right,oe.right)),fe.x=he.x,fe.y=E.y)));var Se=E;if(this.isAvoiding){var Te=this.diagram;if(Te===null||b===z||this.layer.isTemporary||!eg(Te)||re.ca(Se)&&!z.Td(b)||oe.ca(a)&&!b.Td(z))y=!1;else{var Ne=tg(Te,!0,this.containingGroup,null);if(this.segmentIndex!==17&&Ne.Yj(Math.min(a.x,he.x),Math.min(a.y,he.y),Math.abs(a.x-he.x),Math.abs(a.y-he.y))&&Ne.Yj(Math.min(he.x,fe.x),Math.min(he.y,fe.y),Math.abs(he.x-fe.x),Math.abs(he.y-fe.y))&&Ne.Yj(Math.min(fe.x,Se.x),Math.min(fe.y,Se.y),Math.abs(fe.x-Se.x),Math.abs(fe.y-Se.y)))y=!1;else{b=a,z=Se;var Be=E=null;if(Te.isVirtualized){Te=Ne.bounds.copy(),Te.Bc(-Ne.Ho,-Ne.Go);var We=st.alloc();bg(Ne,a.x,a.y)||(Ht.Ff(Te.x,Te.y,Te.x+Te.width,Te.y+Te.height,a.x,a.y,he.x,he.y,We)?(E=a=We.copy(),y=We.ab(he)):Ht.Ff(Te.x,Te.y,Te.x+Te.width,Te.y+Te.height,he.x,he.y,fe.x,fe.y,We)?(E=a=We.copy(),y=We.ab(fe)):Ht.Ff(Te.x,Te.y,Te.x+Te.width,Te.y+Te.height,fe.x,fe.y,Se.x,Se.y,We)&&(E=a=We.copy(),y=We.ab(Se))),bg(Ne,Se.x,Se.y)||(Ht.Ff(Te.x,Te.y,Te.x+Te.width,Te.y+Te.height,Se.x,Se.y,fe.x,fe.y,We)?(Be=Se=We.copy(),x=fe.ab(We)):Ht.Ff(Te.x,Te.y,Te.x+Te.width,Te.y+Te.height,fe.x,fe.y,he.x,he.y,We)?(Be=Se=We.copy(),x=he.ab(We)):Ht.Ff(Te.x,Te.y,Te.x+Te.width,Te.y+Te.height,he.x,he.y,a.x,a.y,We)&&(Be=Se=We.copy(),x=a.ab(We))),st.free(We)}re=re.copy().ed(oe),re.Bc(Ne.Ho*Ne.Os,Ne.Go*Ne.Os),u1(Ne,a,y,Se,x,re,!0),oe=rd(Ne,Se.x,Se.y),!Ne.abort&&oe>=wg&&(l1(Ne),re.Bc(Ne.Ho*Ne.Hx,Ne.Go*Ne.Ix),u1(Ne,a,y,Se,x,re,!1),oe=rd(Ne,Se.x,Se.y)),!Ne.abort&&oe<wg&&rd(Ne,Se.x,Se.y)!==Kd?(Jv(this,Ne,Se.x,Se.y,x,!0,ne),re=this.i(2),4>this.pointsCount?(y===0||y===180?(re.x=a.x,re.y=Se.y):(re.x=Se.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(ne=this.i(3),y===0||y===180?Ht.B(re.x,ne.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,ne.y)):Ht.B(re.y,ne.y)?(Math.abs(a.y-re.y)<=Ne.Go/2&&(this.L(2,re.x,a.y),this.L(3,ne.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Ht.B(re.y,ne.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,ne.x,re)):Ht.B(re.x,ne.x)?(Math.abs(a.x-re.x)<=Ne.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,ne.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),E!==null&&(a=this.i(1),ne=this.i(2),a.x!==ne.x&&a.y!==ne.y?y===0||y===180?this.m(2,a.x,ne.y):this.m(2,ne.x,a.y):y===0||y===180?this.m(2,b.x,E.y):this.m(2,E.x,b.y)),Be!==null&&(x===0||x===180?this.yf(z.x,Be.y):this.yf(Be.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(he.copy()),this.ne(fe.copy())),st.free(he),st.free(fe)}},$n.prototype.computeMidOrthoPosition=function(a,y,E,x,b){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),b?(y+x)/2+z:(a+E)/2+z};function Qv(a){if(a.diagram===null||!a.isAvoiding||!eg(a.diagram))return!1;var y=a.points.s,E=y.length;if(4>E)return!1;a=tg(a.diagram,!0,a.containingGroup,null);for(var x=1;x<E-2;x++){var b=y[x],z=y[x+1];if(!a.Yj(Math.min(b.x,z.x),Math.min(b.y,z.y),Math.abs(b.x-z.x),Math.abs(b.y-z.y)))return!0}return!1}function Jv(a,y,E,x,b,z,ne){var re=y.Ho,oe=y.Go,he=rd(y,E,x),fe=E,Se=x;for(b===0?fe+=re:b===90?Se+=oe:b===180?fe-=re:Se-=oe,b!==ne&&he>rf&&rd(y,fe,Se)!==he-1&&(rd(y,E-re,x)===he-1?(b=180,fe=E-re,Se=x):rd(y,E+re,x)===he-1?(b=0,fe=E+re,Se=x):rd(y,E,x-oe)===he-1?(b=270,fe=E,Se=x-oe):rd(y,E,x+oe)===he-1&&(b=90,fe=E,Se=x+oe));he>rf&&rd(y,fe,Se)===he-1;)E=fe,x=Se,b===0?fe+=re:b===90?Se+=oe:b===180?fe-=re:Se-=oe,--he;z?he>rf&&(b===180||b===0?E=Math.floor(E/re)*re+re/2:(b===90||b===270)&&(x=Math.floor(x/oe)*oe+oe/2)):(E=Math.floor(E/re)*re+re/2,x=Math.floor(x/oe)*oe+oe/2),he>rf&&(z=b,ne=E,fe=x,b===0?(z=90,fe+=oe):b===90?(z=180,ne-=re):b===180?(z=270,fe-=oe):b===270&&(z=0,ne+=re),rd(y,ne,fe)===he-1?Jv(a,y,ne,fe,z,!1,z):(ne=E,fe=x,b===0?(z=270,fe-=oe):b===90?(z=0,ne+=re):b===180?(z=90,fe+=oe):b===270&&(z=180,ne-=re),rd(y,ne,fe)===he-1&&Jv(a,y,ne,fe,z,!1,z))),a.yf(E,x)}$n.prototype.ez=function(a){var y=a.x;a=a.y;for(var E=this.i(0),x=this.i(1),b=or(y,a,E.x,E.y,x.x,x.y),z=0,ne=1;ne<this.pointsCount-1;ne++){E=this.i(ne+1);var re=or(y,a,x.x,x.y,E.x,E.y);x=E,re<b&&(z=ne,b=re)}return z},$n.prototype.qc=function(){this.lk=!1,this.v()},$n.prototype.Ul=function(a){if(!(!a&&(this.fd===!1||(a=this.Pb(),this.lk&&(a===null||a.geometry!==null))))&&(2>this.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,E=y.length,x=0;x<E;x++){var b=y[x];b!==a&&b.isPanelMain&&b instanceof kr&&(b.ua=this.ua)}}},$n.prototype.makeGeometry=function(){var a=this.ua,y=this.pointsCount,E=!1,x=this.diagram;x!==null&&nf(this)&&x.Eh.contains(this)&&(this.ml.width!==0||this.ml.height!==0)&&(x.animationManager.isAnimating||x.currentTool!==x.toolManager)&&(E=!0);var b=this.i(0).copy(),z=b.copy();x=this.Nb.s;var ne=this.computeCurve();if(ne===Pu&&3<=y&&!Ht.$(this.smoothness,0))if(y===3){var re=this.i(1);x=Math.min(b.x,re.x);var oe=Math.min(b.y,re.y);re=this.i(2),x=Math.min(x,re.x),oe=Math.min(oe,re.y)}else{if(this.isOrthogonal)for(oe=0;oe<y;oe++)re=x[oe],z.x=Math.min(re.x,z.x),z.y=Math.min(re.y,z.y);else for(x=3;x<y;x+=3)x+3>=y&&(x=y-1),oe=this.i(x),z.x=Math.min(oe.x,z.x),z.y=Math.min(oe.y,z.y);x=z.x,oe=z.y}else{for(oe=0;oe<y;oe++)re=x[oe],z.x=Math.min(re.x,z.x),z.y=Math.min(re.y,z.y);x=z.x,oe=z.y}if(x-=this.su.x,oe-=this.su.y,b.x-=x,b.y-=oe,y!==2||nf(this)){if(a.type=Jn.o,re=OS(a),this.computeShortLength(!0)!==0&&(b=Nf(this,b,!0,z)),yg(re,b.x,b.y,!1),ne===Pu&&3<=y&&!Ht.$(this.smoothness,0))if(y===3)E=this.i(1),y=E.x-x,E=E.y-oe,b=this.i(2).copy(),b.x-=x,b.y-=oe,this.computeShortLength(!1)!==0&&(b=Nf(this,b,!1,z)),jd(re,y,E,y,E,b.x,b.y);else if(this.isOrthogonal){y=st.allocAt(x,oe),E=st.alloc(),E.assign(this.i(1)),z=st.allocAt(x,oe),b=st.allocAt(x,oe),ne=this.i(0);for(var he,fe=this.smoothness/3,Se=1;Se<this.pointsCount-1;Se++){he=this.i(Se);var Te=ne,Ne=he,Be=this.i(qv(this,he,Se,!1));if((!Ht.$(Te.x,Ne.x)||!Ht.$(Ne.x,Be.x))&&(!Ht.$(Te.y,Ne.y)||!Ht.$(Ne.y,Be.y))){var We=fe;isNaN(We)&&(We=this.smoothness/3);var vt=Te.x;Te=Te.y;var ct=Ne.x;Ne=Ne.y;var wt=Be.x;Be=Be.y;var Tt=We*$m(vt,Te,ct,Ne);We*=$m(ct,Ne,wt,Be),Ht.$(Te,Ne)&&Ht.$(ct,wt)&&(ct>vt?Be>Ne?(z.x=ct-Tt,z.y=Ne-Tt,b.x=ct+We,b.y=Ne+We):(z.x=ct-Tt,z.y=Ne+Tt,b.x=ct+We,b.y=Ne-We):Be>Ne?(z.x=ct+Tt,z.y=Ne-Tt,b.x=ct-We,b.y=Ne+We):(z.x=ct+Tt,z.y=Ne+Tt,b.x=ct-We,b.y=Ne-We)),Ht.$(vt,ct)&&Ht.$(Ne,Be)&&(Ne>Te?(wt>ct?(z.x=ct-Tt,z.y=Ne-Tt,b.x=ct+We):(z.x=ct+Tt,z.y=Ne-Tt,b.x=ct-We),b.y=Ne+We):(wt>ct?(z.x=ct-Tt,z.y=Ne+Tt,b.x=ct+We):(z.x=ct+Tt,z.y=Ne+Tt,b.x=ct-We),b.y=Ne-We)),(Ht.$(vt,ct)&&Ht.$(ct,wt)||Ht.$(Te,Ne)&&Ht.$(Ne,Be))&&(vt=.5*(vt+wt),Te=.5*(Te+Be),z.x=vt,z.y=Te,b.x=vt,b.y=Te),(Se===1||Se===2&&Ht.$(ne.x,this.i(0).x)&&Ht.$(ne.y,this.i(0).y))&&(E.x=.5*(ne.x+he.x),E.y=.5*(ne.y+he.y)),jd(re,E.x-x,E.y-oe,z.x-x,z.y-oe,he.x-x,he.y-oe),y.set(z),E.set(b),ne=he}}he=ne.x,ne=ne.y,fe=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(fe=Nf(this,fe.copy(),!1,br)),he=.5*(he+fe.x),ne=.5*(ne+fe.y),jd(re,b.x-x,b.y-oe,he-x,ne-oe,fe.x-x,fe.y-oe),st.free(y),st.free(E),st.free(z),st.free(b)}else for(E=3;E<y;E+=3)z=this.i(E-2),E+3>=y&&(E=y-1),b=this.i(E-1),ne=this.i(E),E===y-1&&this.computeShortLength(!1)!==0&&(ne=Nf(this,ne.copy(),!1,br)),jd(re,z.x-x,z.y-oe,b.x-x,b.y-oe,ne.x-x,ne.y-oe);else{for(z=st.alloc(),z.assign(this.i(0)),b=st.alloc(),b.assign(z),ne=this.computeCorner(),Se=1,he=0;Se<y;){if(Se=qv(this,z,Se,1<Se),fe=this.i(Se),Se>=y-1){if(!z.D(fe))this.computeShortLength(!1)!==0&&(fe=Nf(this,fe.copy(),!1,br)),Lf(this,re,-x,-oe,z,fe,E);else if(he===0)for(Se=1;Se<y;)b.assign(z),fe=this.i(Se++),Lf(this,re,-x,-oe,z,fe,E),z.assign(fe);break}if(he=qv(this,fe,Se+1,Se<y-3),Se=-x,vt=-oe,Te=fe,ct=this.i(he),We=E,Ht.B(z.y,Te.y)&&Ht.B(Te.x,ct.x))if(Be=Math.min(ne,Math.abs(Te.x-b.x)/2),Be=Tt=Math.min(Be,Math.abs(ct.y-Te.y)/2),Ht.B(Be,0))Lf(this,re,Se,vt,z,Te,We),z.assign(Te);else{var kt=Te.x,Bt=Te.y;Ne=kt,wt=Bt,Te.x>z.x?kt=Te.x-Be:kt=Te.x+Be,ct.y>Te.y?wt=Te.y+Tt:wt=Te.y-Tt,ct=st.allocAt(kt,Bt),Lf(this,re,Se,vt,z,ct,We),st.free(ct),Gm(re,Te.x+Se,Te.y+vt,Ne+Se,wt+vt),z.h(Ne,wt)}else Ht.B(z.x,Te.x)&&Ht.B(Te.y,ct.y)?(Be=Math.min(ne,Math.abs(Te.y-b.y)/2),Be=Tt=Math.min(Be,Math.abs(ct.x-Te.x)/2),Ht.B(Tt,0)?(Lf(this,re,Se,vt,z,Te,We),z.assign(Te)):(kt=Te.x,Bt=Te.y,Ne=kt,wt=Bt,Te.y>z.y?Bt=Te.y-Be:Bt=Te.y+Be,ct.x>Te.x?Ne=Te.x+Tt:Ne=Te.x-Tt,ct=st.allocAt(kt,Bt),Lf(this,re,Se,vt,z,ct,We),st.free(ct),Gm(re,Te.x+Se,Te.y+vt,Ne+Se,wt+vt),z.h(Ne,wt))):(Lf(this,re,Se,vt,z,Te,We),z.assign(Te));b.assign(fe),Se=he}st.free(z)}Wm=re}else re=this.i(1).copy(),re.x-=x,re.y-=oe,this.computeShortLength(!0)!==0&&(b=Nf(this,b,!0,z)),this.computeShortLength(!1)!==0&&(re=Nf(this,re,!1,z)),a.type=Jn.j,a.startX=b.x,a.startY=b.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function $m(a,y,E,x){return a=E-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=x-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Ht.$(a,0)?y:Ht.$(y,0)?a:Math.sqrt(a*a+y*y)))}function Nf(a,y,E,x){var b=a.pointsCount;if(2>b)return y;if(E){var z=a.i(1);if(E=z.x-x.x,z=z.y-x.y,x=$m(y.x,y.y,E,z),x===0)return y;b=b===2?.5*x:x,a=a.computeShortLength(!0),a>b&&(a=b),b=a*(z-y.y)/x,y.x+=a*(E-y.x)/x,y.y+=b}else{if(z=a.i(b-2),E=z.x-x.x,z=z.y-x.y,x=$m(y.x,y.y,E,z),x===0)return y;b=b===2?.5*x:x,a=a.computeShortLength(!1),a>b&&(a=b),b=a*(y.y-z)/x,y.x-=a*(y.x-E)/x,y.y-=b}return y}function qv(a,y,E,x){for(var b=a.pointsCount,z=y;Ht.$(y.x,z.x)&&Ht.$(y.y,z.y);){if(E>=b)return b-1;z=a.i(E++)}if(!Ht.$(y.x,z.x)&&!Ht.$(y.y,z.y))return E-1;for(var ne=z;Ht.$(y.x,z.x)&&Ht.$(z.x,ne.x)&&(!x||(y.y>=z.y?z.y>=ne.y:z.y<=ne.y))||Ht.$(y.y,z.y)&&Ht.$(z.y,ne.y)&&(!x||(y.x>=z.x?z.x>=ne.x:z.x<=ne.x));){if(E>=b)return b-1;ne=a.i(E++)}return E-2}$n.prototype.computeJumpLength=function(){return 10};function Lf(a,y,E,x,b,z,ne){if(!ne&&nf(a)){ne=a.computeJumpLength();var re=ne/2,oe=[],he=0;if(a.isVisible()&&(he=DE(a,b,z,oe)),0<he){if(Ht.B(b.y,z.y))if(b.x<z.x)for(var fe=0;fe<he;){var Se=Math.max(b.x,Math.min(oe[fe++]-re,z.x-ne));y.lineTo(Se+E,z.y+x);for(var Te=Se+E,Ne=Math.min(Se+ne,z.x);fe<he&&(Se=oe[fe],Se<Ne+ne);)fe++,Ne=Math.min(Se+re,z.x);Se=z.y-ne+x,Ne+=E;var Be=z.y+x;a.curve===Yd?yg(y,Ne,Be,!1):jd(y,Te,Se,Ne,Se,Ne,Be)}else for(--he;0<=he;){for(fe=Math.min(b.x,Math.max(oe[he--]+re,z.x+ne)),y.lineTo(fe+E,z.y+x),Te=fe+E,Se=Math.max(fe-ne,z.x);0<=he&&(fe=oe[he],fe>Se-ne);)he--,Se=Math.max(fe-re,z.x);fe=z.y-ne+x,Se+=E,Ne=z.y+x,a.curve===Yd?yg(y,Se,Ne,!1):jd(y,Te,fe,Se,fe,Se,Ne)}else if(Ht.B(b.x,z.x))if(b.y<z.y)for(fe=0;fe<he;){for(Se=Math.max(b.y,Math.min(oe[fe++]-re,z.y-ne)),y.lineTo(z.x+E,Se+x),Te=Se+x,Se=Math.min(Se+ne,z.y);fe<he&&(Ne=oe[fe],Ne<Se+ne);)fe++,Se=Math.min(Ne+re,z.y);Ne=z.x-ne+E,Be=z.x+E,Se+=x,a.curve===Yd?yg(y,Be,Se,!1):jd(y,Ne,Te,Ne,Se,Be,Se)}else for(--he;0<=he;){for(fe=Math.min(b.y,Math.max(oe[he--]+re,z.y+ne)),y.lineTo(z.x+E,fe+x),Te=fe+x,fe=Math.max(fe-ne,z.y);0<=he&&(Se=oe[he],Se>fe-ne);)he--,fe=Math.max(Se-re,z.y);Se=z.x-ne+E,Ne=z.x+E,fe+=x,a.curve===Yd?yg(y,Ne,fe,!1):jd(y,Se,Te,Se,fe,Ne,fe)}}}y.lineTo(z.x+E,z.y+x)}function DE(a,y,E,x){var b=a.diagram;if(b===null||y.D(E))return 0;for(b=b.layers;b.next();){var z=b.value;if(z!==null&&z.visible){z=z.Pa.s;for(var ne=z.length,re=0;re<ne;re++){var oe=z[re];if(oe instanceof $n){if(oe===a)return 0<x.length&&x.sort(function(fe,Se){return fe-Se}),x.length;if(oe.isVisible()&&nf(oe)){var he=oe.routeBounds;he.w()&&a.routeBounds.Yc(he)&&!a.usesSamePort(oe)&&(he=oe.path,he!==null&&he.Ed()&&FE(y,E,x,oe))}}}}}return 0<x.length&&x.sort(function(fe,Se){return fe-Se}),x.length}function FE(a,y,E,x){for(var b=Ht.B(a.y,y.y),z=x.pointsCount,ne=x.i(0),re=st.alloc(),oe=1;oe<z;oe++){var he=x.i(oe);if(oe<z-1){var fe=x.i(oe+1);if(ne.y===he.y&&he.y===fe.y){if(he.x>ne.x&&fe.x>=he.x||he.x<ne.x&&fe.x<=he.x)continue}else if(ne.x===he.x&&he.x===fe.x&&(he.y>ne.y&&fe.y>=he.y||he.y<ne.y&&fe.y<=he.y))continue}e:{fe=a.x;var Se=a.y,Te=y.x,Ne=y.y,Be=ne.x;ne=ne.y;var We=he.x,vt=he.y;if(Ht.B(fe,Te)){if(!Ht.B(Se,Ne)&&Ht.B(ne,vt)&&Math.min(Se,Ne)<ne&&Math.max(Se,Ne)>ne&&Math.min(Be,We)<fe&&Math.max(Be,We)>fe&&!Ht.B(Be,We)){re.x=fe,re.y=ne,fe=!0;break e}}else if(Ht.B(Se,Ne)&&Ht.B(Be,We)&&Math.min(fe,Te)<Be&&Math.max(fe,Te)>Be&&Math.min(ne,vt)<Se&&Math.max(ne,vt)>Se&&!Ht.B(ne,vt)){re.x=Be,re.y=Se,fe=!0;break e}re.x=0,re.y=0,fe=!1}fe&&(b?E.push(re.x):E.push(re.y)),ne=he}st.free(re)}function nf(a){return a=a.curve,a===xg||a===Yd}function e0(a,y){(y||nf(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()))}$n.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var E=y.diagram;if(E!==null&&!E.animationManager.isTicking){var x=!1;for(E=E.layers;E.next();){var b=E.value;if(b.visible){if(b===y){x=!0;var z=!1;b=b.Pa.s;for(var ne=b.length,re=0;re<ne;re++){var oe=b[re];oe instanceof $n&&(oe===this?z=!0:z&&r1(this,oe,a))}}else if(x)for(z=b.Pa.s,b=z.length,ne=0;ne<b;ne++)re=z[ne],re instanceof $n&&r1(this,re,a)}}}}};function r1(a,y,E){if(y!==null&&y.lk&&y.fd&&nf(y)){var x=y.routeBounds;x.w()&&(a.routeBounds.Yc(x)||E.Yc(x))&&(a.usesSamePort(y)||y.qc())}}$n.prototype.usesSamePort=function(a){var y=this.pointsCount,E=a.pointsCount;if(0<y&&0<E){var x=this.i(0),b=a.i(0);if(x.Xa(b)||(y=this.i(y-1),a=a.i(E-1),y.Xa(a)||x.Xa(a)||y.Xa(b)))return!0}else if(this.fromNode===a.fromNode||this.toNode===a.toNode||this.fromNode===a.toNode||this.toNode===a.fromNode)return!0;return!1},$n.prototype.isVisible=function(){if(!Ki.prototype.isVisible.call(this))return!1;var a=this.containingGroup,y=!0,E=this.diagram;if(E!==null&&(y=E.isTreePathToChildren),E=this.fromNode,E!==null){if(this.isTreeLink&&y&&!E.isTreeExpanded)return!1;if(E===a)return!0;for(var x=E;x!==null;){if(x.labeledLink===this)return!0;x=x.containingGroup}if(E=E.findVisibleNode(),E===null||E===a)return!1}if(E=this.toNode,E!==null){if(this.isTreeLink&&!y&&!E.isTreeExpanded)return!1;if(E===a)return!0;for(y=E;y!==null;){if(y.labeledLink===this)return!0;y=y.containingGroup}if(y=E.findVisibleNode(),y===null||y===a)return!1}return!0},$n.prototype.Zb=function(a){if(Ki.prototype.Zb.call(this,a),a&&e0(this,!1),this.Sf!==null&&this.Sf.Sl(),this.wd!==null)for(var y=this.wd.iterator;y.next();)y.value.Zb(a)},$n.prototype.computeAdjusting=function(){return this.isAvoiding&&this.diagram!==null&&this.diagram.animationManager.defaultAnimation.isAnimating?wp:this.qk};function xp(a){var y=a.ef;if(y!==null){var E=a.uf;if(E!==null&&isNaN(a.curviness)){for(var x=a.ff,b=a.vf,z=a=null,ne=y.jb.s,re=ne.length,oe=0;oe<re;oe++){var he=ne[oe];(he.ef===y&&he.ff===x&&he.uf===E&&he.vf===b||he.ef===E&&he.ff===b&&he.uf===y&&he.vf===x)&&(z===null?z=he:(a===null&&(a=[],a.push(z)),a.push(he)))}if(a!==null){for(z=YS(y,E,x,b),z===null&&(z=new o0(y,x,E,b),VS(y,z),VS(E,z)),z.links=a,y=0;y<a.length;y++)a[y].Sf=z;z.Sl()}}}}function bp(a){var y=a.Sf;y!==null&&isNaN(a.curviness)&&(a.Sf=null,a=y.links.indexOf(a),0<=a&&(ko(y.links,a),y.Sl()))}$n.prototype.ph=function(){return!0},bn.Object.defineProperties($n.prototype,{fromNode:{get:function(){return this.ef},set:function(a){var y=this.ef;if(y!==a){var E=this.fromPort;y!==null&&(this.uf!==y&&Zm(y,this,E),bp(this),this.C(2)),this.ef=a,a!==null&&this.Zb(a.isVisible()),this.Wf=null,this.bb();var x=this.diagram;x!==null&&x.aa&&x.partManager.setFromNodeForLink(this,a,y);var b=this.fromPort,z=this.fromPortChanged;if(z!==null){var ne=!0;x!==null&&(ne=x.aa,x.aa=!0),z(this,E,b),x!==null&&(x.aa=ne)}a!==null&&(this.uf!==a&&Km(a,this,b),xp(this),this.C(1)),this.g("fromNode",y,a),Sg(this)}}},fromPortId:{get:function(){return this.ff},set:function(a){var y=this.ff;if(y!==a){var E=this.fromPort;E!==null&&cu(E),bp(this),this.ff=a;var x=this.fromPort;x!==null&&cu(x);var b=this.diagram;if(b!==null){var z=this.data,ne=b.model;z!==null&&ne.ri()&&ne.xv(z,a)}E!==x&&(this.Wf=null,this.bb(),z=this.fromPortChanged,z!==null&&(ne=!0,b!==null&&(ne=b.aa,b.aa=!0),z(this,E,x),b!==null&&(b.aa=ne))),xp(this),this.g("fromPortId",y,a)}}},fromPort:{get:function(){var a=this.ef;return a===null?null:a.ns(this.ff)}},fromPortChanged:{get:function(){return this.gn},set:function(a){var y=this.gn;y!==a&&(this.gn=a,this.g("fromPortChanged",y,a))}},toNode:{get:function(){return this.uf},set:function(a){var y=this.uf;if(y!==a){var E=this.toPort;y!==null&&(this.ef!==y&&Zm(y,this,E),bp(this),this.C(2)),this.uf=a,a!==null&&this.Zb(a.isVisible()),this.Wf=null,this.bb();var x=this.diagram;x!==null&&x.aa&&x.partManager.setToNodeForLink(this,a,y);var b=this.toPort,z=this.toPortChanged;if(z!==null){var ne=!0;x!==null&&(ne=x.aa,x.aa=!0),z(this,E,b),x!==null&&(x.aa=ne)}a!==null&&(this.ef!==a&&Km(a,this,b),xp(this),this.C(1)),this.g("toNode",y,a),Sg(this)}}},toPortId:{get:function(){return this.vf},set:function(a){var y=this.vf;if(y!==a){var E=this.toPort;E!==null&&cu(E),bp(this),this.vf=a;var x=this.toPort;x!==null&&cu(x);var b=this.diagram;if(b!==null){var z=this.data,ne=b.model;z!==null&&ne.ri()&&ne.Cv(z,a)}E!==x&&(this.Wf=null,this.bb(),z=this.toPortChanged,z!==null&&(ne=!0,b!==null&&(ne=b.aa,b.aa=!0),z(this,E,x),b!==null&&(b.aa=ne))),xp(this),this.g("toPortId",y,a)}}},toPort:{get:function(){var a=this.uf;return a===null?null:a.ns(this.vf)}},toPortChanged:{get:function(){return this.uo},set:function(a){var y=this.uo;y!==a&&(this.uo=a,this.g("toPortChanged",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:$a},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),(y.$c()||a.$c())&&this.fromNode!==null&&cu(this.fromPort),this.bb())}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:NaN},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&lr(a,">= 0",$n,"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:$a},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&&cu(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&&lr(a,">= 0",$n,"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<this.wd.count}},labelNodes:{get:function(){return this.wd===null?Po:this.wd.iterator}},relinkableFrom:{get:function(){return(this.Qa&1)!==0},set:function(a){var y=(this.Qa&1)!==0;y!==a&&(this.Qa^=1,this.g("relinkableFrom",y,a),this.Wb())}},relinkableTo:{get:function(){return(this.Qa&2)!==0},set:function(a){var y=(this.Qa&2)!==0;y!==a&&(this.Qa^=2,this.g("relinkableTo",y,a),this.Wb())}},resegmentable:{get:function(){return(this.Qa&4)!==0},set:function(a){var y=(this.Qa&4)!==0;y!==a&&(this.Qa^=4,this.g("resegmentable",y,a),this.Wb())}},isTreeLink:{get:function(){return(this.Qa&8)!==0},set:function(a){var y=(this.Qa&8)!==0;y!==a&&(this.Qa^=8,this.g("isTreeLink",y,a),this.fromNode!==null&&Ep(this.fromNode),this.toNode!==null&&Ep(this.toNode))}},path:{get:function(){var a=this.Pb();return a instanceof kr?a:null}},routeBounds:{get:function(){this.vg();var a=this.ml,y=1/0,E=1/0,x=this.pointsCount;if(x===0)a.h(NaN,NaN,0,0);else{if(x===1)x=this.i(0),y=Math.min(x.x,y),E=Math.min(x.y,E),a.h(x.x,x.y,0,0);else if(x===2){x=this.i(0);var b=this.i(1);y=Math.min(x.x,b.x),E=Math.min(x.y,b.y),a.h(x.x,x.y,0,0),a.Ye(b)}else if(this.computeCurve()===Pu&&3<=x&&!this.isOrthogonal)if(b=this.i(0),y=b.x,E=b.y,a.h(y,E,0,0),x===3){x=this.i(1),y=Math.min(x.x,y),E=Math.min(x.y,E);var z=this.i(2);y=Math.min(z.x,y),E=Math.min(z.y,E),Ht.Dl(b.x,b.y,x.x,x.y,x.x,x.y,z.x,z.y,.5,a)}else for(z=3;z<x;z+=3){var ne=this.i(z-2);z+3>=x&&(z=x-1);var re=this.i(z-1),oe=this.i(z);Ht.Dl(b.x,b.y,ne.x,ne.y,re.x,re.y,oe.x,oe.y,.5,a),y=Math.min(oe.x,y),E=Math.min(oe.y,E),b=oe}else for(b=this.i(0),z=this.i(1),y=Math.min(b.x,z.x),E=Math.min(b.y,z.y),a.h(b.x,b.y,0,0),a.Ye(z),b=2;b<x;b++)z=this.i(b),y=Math.min(z.x,y),E=Math.min(z.y,E),a.Ye(z);this.su.h(y-a.x,E-a.y)}return a}},midPoint:{get:function(){return this.vg(),this.computeMidPoint(new st)}},midAngle:{get:function(){return this.vg(),this.computeMidAngle()}},flattenedLengths:{get:function(){if(this.cq===null){this.fd||Qm(this);for(var a=this.cq=[],y=this.pointsCount,E=0;E<y-1;E++){var x=this.i(E),b=this.i(E+1);Ht.$(x.x,b.x)?(x=b.y-x.y,0>x&&(x=-x)):Ht.$(x.y,b.y)?(x=b.x-x.x,0>x&&(x=-x)):x=Math.sqrt(x.Bf(b)),a.push(x)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,E=y.length,x=a=0;x<E;x++)a+=y[x];this.vt=a}return a}},points:{get:function(){return this.Nb},set:function(a){var y=this.Nb;if(y!==a){var E=null;if(Array.isArray(a)){var x=a.length%2===0;if(x){for(var b=0;b<a.length;b++)if(typeof a[b]!="number"||isNaN(a[b])){x=!1;break}}if(x)for(E=new Qn,x=0;x<a.length/2;x++)b=new st(a[2*x],a[2*x+1]).freeze(),E.add(b);else{for(x=!0,b=0;b<a.length;b++){var z=a[b];if(!jn(z)||typeof z.x!="number"||isNaN(z.x)||typeof z.y!="number"||isNaN(z.y)){x=!1;break}}if(x)for(E=new Qn,x=0;x<a.length;x++)b=a[x],E.add(new st(b.x,b.y).freeze())}}else if(a instanceof Qn)for(E=a.copy(),a=E.iterator;a.next();)a.value.freeze();else tn("Link.points value is not an instance of List or Array: "+a);E.freeze(),this.Nb=E,this.qc(),Qm(this),a=this.diagram,a!==null&&(a.pi||a.undoManager.isUndoingRedoing||a.As.add(this),a.animationManager.zb&&Ju(a.animationManager,this,E)),this.g("points",y,E)}}},pointsCount:{get:function(){return this.Nb.count}},fd:{get:function(){return(this.Qa&16)!==0},set:function(a){(this.Qa&16)!==0!==a&&(this.Qa^=16)}},suspendsRouting:{get:function(){return(this.Qa&32)!==0},set:function(a){(this.Qa&32)!==0!==a&&(this.Qa^=32)}},computingPoints:{get:function(){return(this.Qa&64)!==0},set:function(a){(this.Qa&64)!==0!==a&&(this.Qa^=64)}},defaultFromPoint:{get:function(){return this.o},set:function(a){this.o=a.copy()}},defaultToPoint:{get:function(){return this.u},set:function(a){this.u=a.copy()}},isOrthogonal:{get:function(){return(this.qj.value&2)===2}},isAvoiding:{get:function(){return(this.qj.value&4)===4}},lk:{get:function(){return(this.Qa&128)!==0},set:function(a){(this.Qa&128)!==0!==a&&(this.Qa^=128)}},geometry:{get:function(){if(!this.lk){if(this.vg(),2>this.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!Eg(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!Eg(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(),e0(this,y===Yd||y===xg||a===Yd||a===xg),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(),e0(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)}}}),$n.prototype.invalidateOtherJumpOvers=$n.prototype.Xo,$n.prototype.findClosestSegment=$n.prototype.ez,$n.prototype.updateRoute=$n.prototype.vg,$n.prototype.invalidateRoute=$n.prototype.bb,$n.prototype.rollbackRoute=$n.prototype.rv,$n.prototype.commitRoute=$n.prototype.zf,$n.prototype.startRoute=$n.prototype.uh,$n.prototype.clearPoints=$n.prototype.Fj,$n.prototype.removePoint=$n.prototype.pv,$n.prototype.addPointAt=$n.prototype.yf,$n.prototype.addPoint=$n.prototype.ne,$n.prototype.insertPointAt=$n.prototype.m,$n.prototype.insertPoint=$n.prototype.Kz,$n.prototype.setPointAt=$n.prototype.L,$n.prototype.setPoint=$n.prototype.dd,$n.prototype.getPoint=$n.prototype.i,$n.prototype.getOtherPort=$n.prototype.Cz,$n.prototype.getOtherNode=$n.prototype.To;var kf=null,If=null,$v=new nn($n,"Normal",1),BE=new nn($n,"Orthogonal",2),_E=new nn($n,"AvoidsNodes",6),o1=new nn($n,"AvoidsNodesStraight",7),Ll=new nn($n,"None",0),Pu=new nn($n,"Bezier",9),Yd=new nn($n,"JumpGap",10),xg=new nn($n,"JumpOver",11),wp=new nn($n,"End",17),t0=new nn($n,"Scale",18),n0=new nn($n,"Stretch",19),Cp=new nn($n,"OrientAlong",21),Tp=new nn($n,"OrientPlus90",22),Ap=new nn($n,"OrientMinus90",23),ey=new nn($n,"OrientOpposite",24),i0=new nn($n,"OrientUpright",25),Pp=new nn($n,"OrientPlus90Upright",26),Np=new nn($n,"OrientMinus90Upright",27),r0=new nn($n,"OrientUpright45",28),a1=16,s1=14,Lp=8;$n.className="Link",$n.Normal=$v,$n.Orthogonal=BE,$n.AvoidsNodes=_E,$n.AvoidsNodesStraight=o1,$n.None=Ll,$n.Bezier=Pu,$n.JumpGap=Yd,$n.JumpOver=xg,$n.End=wp,$n.Scale=t0,$n.Stretch=n0,$n.OrientAlong=Cp,$n.OrientPlus90=Tp,$n.OrientMinus90=Ap,$n.OrientOpposite=ey,$n.OrientUpright=i0,$n.OrientPlus90Upright=Pp,$n.OrientMinus90Upright=Np,$n.OrientUpright45=r0,$n.EndSegmentStep=8,$n.CurvinessStart=a1,$n.SpacingMin=s1,$n.OrthoShortCut=Lp;function o0(a,y,E,x){ut(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=E,this.Px=x,this.links=[]}o0.prototype.Sl=function(){if(!this.qq){var a=this.links;0<a.length&&(a=a[0].diagram,a!==null&&(a.ow.add(this),this.Fe=a.undoManager.isUndoingRedoing))}this.qq=!0},o0.prototype.Nv=function(){if(this.qq){this.qq=!1;var a=this.links;if(0<a.length){var y=a[0],E=y.diagram;E=E===null||E.pi&&!this.Fe,this.Fe=!1,y.arrangeBundledLinks(a,E),a.length===1&&(y.Sf=null,a.length=0)}a.length===0&&(a=this.Ds,this!==null&&a.af!==null&&a.af.remove(this),a=this.cv,this!==null&&a.af!==null&&a.af.remove(this))}},o0.className="LinkBundle";function kp(a){ut(this),this.Yx=this.group=null,this.vs=!0,this.abort=!1,this.Od=this.Nd=1,this.Fn=this.En=-1,this.rc=a.width,this.sc=a.height,this.ac=null,this.ei=this.di=0,this.Os=11,this.Ix=this.Hx=22}kp.prototype.initialize=function(a){if(!(0>=a.width||0>=a.height)){var y=a.y,E=a.x+a.width,x=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((E+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((x+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<a-1||this.ei<y-1){for(E=[],x=0;x<=a;x++)E[x]=new Uint32Array(y);this.ac=E,this.di=a-1,this.ei=y-1}if(a=ty,this.ac!==null)for(y=0;y<=this.di;y++)if(E=this.ac[y],E.fill)E.fill(a);else for(x=0;x<=this.ei;x++)E[x]=a}};function bg(a,y,E){return a.Nd<=y&&y<=a.En&&a.Od<=E&&E<=a.Fn}function rd(a,y,E){return bg(a,y,E)?(y-=a.Nd,y/=a.rc,E-=a.Od,E/=a.sc,a.ac[y|0][E|0]):ty}function l1(a){if(a.ac!==null)for(var y=0;y<=a.di;y++)for(var E=a.ac[y],x=0;x<=a.ei;x++)E[x]>=rf&&(E[x]=ty)}kp.prototype.Yj=function(a,y,E,x){if(a>this.En||a+E<this.Nd||y>this.Fn||y+x<this.Od)return!0;a=(a-this.Nd)/this.rc|0,y=(y-this.Od)/this.sc|0,E=Math.max(0,E)/this.rc+1|0;var b=Math.max(0,x)/this.sc+1|0;if(0>a&&(E+=a,a=0),0>y&&(b+=y,y=0),0>E||0>b)return!0;for(x=Math.min(a+E-1,this.di)|0,E=Math.min(y+b-1,this.ei)|0;a<=x;a++){b=this.ac[a];for(var z=y;z<=E;z++)if(b[z]===Kd)return!1}return!0};function od(a,y,E,x,b,z,ne,re,oe){if(!(y<z||y>ne||E<re||E>oe)){var he=y|0,fe=E|0,Se=a.ac[he][fe];if(Se>=rf&&Se<wg)for(b?fe+=x:he+=x,Se+=1;z<=he&&he<=ne&&re<=fe&&fe<=oe&&!(Se>=a.ac[he][fe]);)a.ac[he][fe]=Se,Se+=1,b?fe+=x:he+=x;if(he=b?fe:he,b)if(0<x)for(E+=x;E<he;E+=x)od(a,y,E,1,!b,z,ne,re,oe),od(a,y,E,-1,!b,z,ne,re,oe);else for(E+=x;E>he;E+=x)od(a,y,E,1,!b,z,ne,re,oe),od(a,y,E,-1,!b,z,ne,re,oe);else if(0<x)for(y+=x;y<he;y+=x)od(a,y,E,1,!b,z,ne,re,oe),od(a,y,E,-1,!b,z,ne,re,oe);else for(y+=x;y>he;y+=x)od(a,y,E,1,!b,z,ne,re,oe),od(a,y,E,-1,!b,z,ne,re,oe)}}function a0(a,y,E,x,b,z,ne,re,oe){y|=0,E|=0;var he=Kd,fe=rf;for(a.ac[y][E]=fe;he===Kd&&y>z&&y<ne&&E>re&&E<oe;)fe+=1,a.ac[y][E]=fe,b?E+=x:y+=x,he=a.ac[y][E]}function s0(a,y,E,x,b,z,ne,re,oe){y|=0,E|=0;var he=Kd,fe=wg;for(a.ac[y][E]=fe;he===Kd&&y>z&&y<ne&&E>re&&E<oe;)a.ac[y][E]=fe,b?E+=x:y+=x,he=a.ac[y][E]}function u1(a,y,E,x,b,z,ne){if(a.ac!==null){a.abort=!1;var re=y.x,oe=y.y;if(bg(a,re,oe)){re-=a.Nd,re/=a.rc,oe-=a.Od,oe/=a.sc;var he=x.x,fe=x.y;if(bg(a,he,fe))if(he-=a.Nd,he/=a.rc,fe-=a.Od,fe/=a.sc,1>=Math.abs(re-he)&&1>=Math.abs(oe-fe))a.abort=!0;else{var Se=z.x;x=z.y,y=z.x+z.width;var Te=z.y+z.height;Se-=a.Nd,Se/=a.rc,x-=a.Od,x/=a.sc,y-=a.Nd,y/=a.rc,Te-=a.Od,Te/=a.sc,z=Math.max(0,Math.min(a.di,Se|0)),y=Math.min(a.di,Math.max(0,y|0)),Se=Math.max(0,Math.min(a.ei,x|0)),Te=Math.min(a.ei,Math.max(0,Te|0)),x=a.ac,re|=0,oe|=0,he|=0,fe|=0;var Ne=E===0||E===90?1:-1;if(E=E===90||E===270,x[re][oe]===Kd?(a0(a,re,oe,Ne,E,z,y,Se,Te),a0(a,re,oe,1,!E,z,y,Se,Te),a0(a,re,oe,-1,!E,z,y,Se,Te)):a0(a,re,oe,Ne,E,re,oe,re,oe),x[he][fe]===Kd?(s0(a,he,fe,b===0||b===90?1:-1,b===90||b===270,z,y,Se,Te),s0(a,he,fe,1,!(b===90||b===270),z,y,Se,Te),s0(a,he,fe,-1,!(b===90||b===270),z,y,Se,Te)):s0(a,he,fe,Ne,E,he,fe,he,fe),E=Vi(),ne&&c1(a,he,fe,b,re,oe,E))for((E[0]!==he||E[1]!==fe)&&(E.unshift(fe),E.unshift(he)),(E[E.length-2]!==re||E[E.length-1]!==oe)&&(E.push(re),E.push(oe)),a=rf,b=E[E.length-2],ne=E[E.length-1],x[b][ne]=a++,z=E.length-4;0<=z;z-=2)for(b=E[z+2],ne=E[z+3],y=E[z],he=E[z+1];y>b?b++:y<b?b--:he>ne?ne++:he<ne&&ne--,x[b][ne]=a++,b!==y||ne!==he;);else od(a,re,oe,1,!1,z,y,Se,Te),od(a,re,oe,-1,!1,z,y,Se,Te),od(a,re,oe,1,!0,z,y,Se,Te),od(a,re,oe,-1,!0,z,y,Se,Te);Qi(E)}}}}function c1(a,y,E,x,b,z,ne){for(var re=a.ac,oe=y,he=E;;){if(oe===b&&he===z)return!0;var fe=oe,Se=he;if(x===0)if(fe<b)fe++;else break;else if(x===90)if(Se<z)Se++;else break;else if(x===180)if(fe>b)fe--;else break;else if(Se>z)Se--;else break;var Te=re[fe][Se];if(Te===0||Te===ny)break;oe=fe,he=Se}for(;;){if(fe=x,Se=oe,Te=he,x===0?Te<z?(fe=90,Te++):Te>z&&(fe=270,Te--):x===90?Se<b?(fe=0,Se++):Se>b&&(fe=180,Se--):x===180?Te<z?(fe=90,Te++):Te>z&&(fe=270,Te--):Se<b?(fe=0,Se++):Se>b&&(fe=180,Se--),Se=re[Se][Te],fe!==x&&Se!==0&&Se!==ny){if(ne.push(oe),ne.push(he),c1(a,oe,he,fe,b,z,ne))return!0;ne.pop(),ne.pop()}if(re[oe][he]=ny,x===0){if(oe===y)return!1;oe--}else if(x===90){if(he===E)return!1;he--}else if(x===180){if(oe===y)return!1;oe++}else{if(he===E)return!1;he++}}}bn.Object.defineProperties(kp.prototype,{bounds:{get:function(){return new an(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0<a&&a!==this.rc&&(this.rc=a,this.initialize(this.bounds))}},Go:{get:function(){return this.sc},set:function(a){0<a&&a!==this.sc&&(this.sc=a,this.initialize(this.bounds))}}});var Kd=0,rf=1,wg=999999,ty=wg+1,ny=wg+2;kp.className="PositionArray";function Mf(){ut(this),this.port=this.node=null,this.pe=[],this.ap=!1}Mf.prototype.toString=function(){for(var a=this.pe,y=this.node.toString()+" "+a.length.toString()+":",E=0;E<a.length;E++){var x=a[E];x!==null&&(y+=`
|
|
|
`+x.toString())}return y};function UE(a,y,E,x){switch(y=y.offsetY,y){case 8:return 90;case 2:return 180;case 1:return 270;case 4:return 0}switch(y){case 9:return 180<E?270:90;case 6:return 90<E&&270>=E?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return E>a&&E<=180+a?180:270;case 5:return E>180-a&&E<=360-a?270:0;case 12:return E>a&&E<=180+a?90:0;case 10:return E>180-a&&E<=360-a?180:90;case 7:return 90<E&&E<=180+a?180:E>180+a&&E<=360-a?270:0;case 13:return 180<E&&E<=360-a?270:E>a&&180>=E?90:0;case 14:return E>a&&E<=180-a?90:E>180-a&&270>=E?180:0;case 11:return E>180-a&&E<=180+a?180:E>180+a?270:90}return x&&y!==15&&(E-=15,0>E&&(E+=360)),E>a&&E<180-a?90:E>=180-a&&E<=180+a?180:E>180+a&&E<360-a?270:0}Mf.prototype.Sl=function(){this.pe.length=0};function d1(a,y){var E=a.pe;if(E.length===0){e:if(!a.ap){E=a.ap,a.ap=!0;var x=null,b=a.node,z=b instanceof Cr?b:null;if(z===null||z.isSubGraphExpanded)var ne=b.isTreeExpanded?b.findLinksConnected(a.port.portId):b.qx();else{if(!z.actualBounds.w()){a.ap=E;break e}x=z,ne=x.Lu()}z=a.pe.length=0;var re=a.port.ga(ka,st.alloc()),oe=a.port.ga(ws,st.alloc());for(b=an.allocAt(re.x,re.y,0,0),b.Ye(oe),st.free(re),st.free(oe),re=st.allocAt(b.x+b.width/2,b.y+b.height/2),oe=a.port.li(),ne=ne.iterator;ne.next();){var he=ne.value;if(he.isVisible()&&he.fromPort!==he.toPort){var fe=he.fromPort===a.port||he.fromNode!==null&&he.fromNode.Td(x),Se=he.computeSpot(fe,a.port);if(Se.$c()&&(fe=fe?he.toPort:he.fromPort,fe!==null)){var Te=fe.part;if(Te!==null){var Ne=Te.findVisibleNode();Ne!==null&&Ne!==Te&&(Te=Ne,fe=Te.port),fe=he.computeOtherPoint(Te,fe),Te=re.ab(fe),Te-=oe,0>Te?Te+=360:360<=Te&&(Te-=360),Se=UE(b,Se,Te,he.isOrthogonal),Se===0?(Se=4,180<Te&&(Te-=360)):Se===90?(Se=8,270<Te&&(Te-=360)):Se===180?Se=2:(Se=1,90>Te&&(Te+=360)),Ne=a.pe[z],Ne===void 0?(Ne=new iy(he,Te,Se),a.pe[z]=Ne):(Ne.link=he,Ne.angle=Te,Ne.Nc=Se),Ne.hv.set(fe),z++}}}}for(st.free(re),a.pe.sort(Mf.prototype.j),oe=a.pe.length,x=-1,z=re=0;z<oe;z++)ne=a.pe[z],ne!==void 0&&(ne.Nc!==x&&(x=ne.Nc,re=0),ne.Uo=re,re++);for(x=-1,re=0,z=oe-1;0<=z;z--)oe=a.pe[z],oe!==void 0&&(oe.Nc!==x&&(x=oe.Nc,re=oe.Uo+1),oe.Gl=re);if(z=a.pe,Se=a.port,x=a.node.portSpreading,re=st.alloc(),oe=st.alloc(),ne=st.alloc(),he=st.alloc(),Se.ga(ka,re),Se.ga(wa,oe),Se.ga(ws,ne),Se.ga(Ba,he),Ne=Te=fe=Se=0,x===Yv)for(var Be=0;Be<z.length;Be++){var We=z[Be];if(We!==null){var vt=We.link.computeThickness();switch(We.Nc){case 8:Te+=vt;break;case 2:Ne+=vt;break;case 1:Se+=vt;break;default:case 4:fe+=vt}}}var ct=Be=0,wt=1,Tt=We=0;for(vt=0;vt<z.length;vt++){var kt=z[vt];if(kt!==null){if(Be!==kt.Nc){switch(Be=kt.Nc,Be){case 8:var Bt=ne;ct=he;break;case 2:Bt=he,ct=re;break;case 1:Bt=re,ct=oe;break;default:case 4:Bt=oe,ct=ne}switch(We=ct.x-Bt.x,Tt=ct.y-Bt.y,Be){case 8:Te>Math.abs(We)?(wt=Math.abs(We)/Te,Te=Math.abs(We)):wt=1;break;case 2:Ne>Math.abs(Tt)?(wt=Math.abs(Tt)/Ne,Ne=Math.abs(Tt)):wt=1;break;case 1:Se>Math.abs(We)?(wt=Math.abs(We)/Se,Se=Math.abs(We)):wt=1;break;default:case 4:fe>Math.abs(Tt)?(wt=Math.abs(Tt)/fe,fe=Math.abs(Tt)):wt=1}ct=0}var en=kt.Zo;if(x===Yv){switch(kt=kt.link.computeThickness(),kt*=wt,en.set(Bt),Be){case 8:en.x=Bt.x+We/2+Te/2-ct-kt/2;break;case 2:en.y=Bt.y+Tt/2+Ne/2-ct-kt/2;break;case 1:en.x=Bt.x+We/2-Se/2+ct+kt/2;break;default:case 4:en.y=Bt.y+Tt/2-fe/2+ct+kt/2}ct+=kt}else{var pi=.5;x===Xm&&(pi=(kt.Uo+1)/(kt.Gl+1)),en.x=Bt.x+We*pi,en.y=Bt.y+Tt*pi}}}for(st.free(re),st.free(oe),st.free(ne),st.free(he),Bt=a.pe,z=0;z<Bt.length;z++)x=Bt[z],x!==null&&(x.Ju=a.computeEndSegmentLength(x));a.ap=E,an.free(b)}E=a.pe}for(a=0;a<E.length;a++)if(b=E[a],b!==null&&b.link===y)return b;return null}Mf.prototype.j=function(a,y){return a===y?0:a===null?-1:y===null?1:a.Nc<y.Nc?-1:a.Nc>y.Nc?1:a.angle<y.angle?-1:a.angle>y.angle?1:0},Mf.prototype.computeEndSegmentLength=function(a){var y=a.link,E=y.computeEndSegmentLength(this.node,this.port,pa,y.fromPort===this.port),x=a.Uo;if(0>x)return E;var b=a.Gl;if(1>=b||!y.isOrthogonal)return E;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(x=b-1-x),((a=a.Nc===2||a.Nc===4)?y.y<z.y:y.x<z.x)?E+8*x:(a?y.y===z.y:y.x===z.x)?E:E+8*(b-1-x)},Mf.className="Knot";function iy(a,y,E){this.link=a,this.angle=y,this.Nc=E,this.hv=new st,this.Gl=this.Uo=0,this.Zo=new st,this.Ju=0}iy.prototype.toString=function(){return this.link.toString()+" "+this.angle.toString()+" "+this.Nc.toString()+":"+this.Uo.toString()+"/"+this.Gl.toString()+" "+this.Zo.toString()+" "+this.Ju.toString()+" "+this.hv.toString()},iy.className="LinkInfo";function Aa(a){ut(this),this.o=this.H=null,this.Gh=this.sn=!0,this.yn=!1,this.Am=new st(0,0).freeze(),this.vn=!0,this.Em=this.un=null,this.xn=!1,this.j=null,a&&Object.assign(this,a)}Aa.prototype.cloneProtected=function(a){a.sn=this.sn,a.Gh=this.Gh,a.yn=this.yn,a.Am.assign(this.Am),a.vn=this.vn,a.un=this.un,a.Em=this.Em,a.xn=!0},Aa.prototype.copy=function(){var a=new this.constructor;return this.cloneProtected(a),a},Aa.prototype.qb=function(){},Aa.prototype.toString=function(){var a=sr(this.constructor);return a+="(",this.group!==null&&(a+=" in "+this.group),this.diagram!==null&&(a+=" for "+this.diagram),a+")"},Aa.prototype.C=function(){if(this.isValidLayout){var a=this.diagram;if(a!==null&&!a.undoManager.isUndoingRedoing){var y=a.animationManager;!y.isTicking&&(y.defaultAnimation.isAnimating&&y.Cc(),this.isOngoing&&a.pi||this.isInitial&&!a.pi)&&(this.isValidLayout=!1,a.$b())}}},Aa.prototype.createNetwork=function(){return new aa(this)},Aa.prototype.makeNetwork=function(a){var y=this.createNetwork();return a instanceof qt?(y.lg(a.nodes,!0),y.lg(a.links,!0)):a instanceof Cr?y.lg(a.memberParts):y.lg(a.iterator),y},Aa.prototype.updateParts=function(){this.isValidLayout=!0;var a=this.diagram;if(a===null&&this.network!==null)for(var y=this.network.vertexes.iterator;y.next();){var E=y.value.node;if(E!==null&&(a=E.diagram,a!==null))break}try{a!==null&&a.Ea("Layout"),this.commitLayout()}finally{a!==null&&a.eb("Layout")}},Aa.prototype.commitLayout=function(){if(this.network!==null){for(var a=this.network.vertexes.iterator;a.next();)a.value.commit();if(this.isRouting)for(a=this.network.edges.iterator;a.next();)a.value.commit()}},Aa.prototype.doLayout=function(a){var y=new Rt;a instanceof qt?(yh(this,y,a.nodes,!0,this.rh,!0,!1,!0),yh(this,y,a.parts,!0,this.rh,!0,!1,!0)):a instanceof Cr?yh(this,y,a.memberParts,!1,this.rh,!0,!1,!0):y.addAll(a.iterator),0<y.count&&(a=this.diagram,a!==null&&a.Ea("Layout"),this.doMinimalNoNetworkLayout(y),a!==null&&a.eb("Layout")),this.isValidLayout=!0},Aa.prototype.doMinimalNoNetworkLayout=function(a){var y=Math.ceil(Math.sqrt(a.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var E=this.arrangementOrigin.x,x=E,b=this.arrangementOrigin.y,z=0,ne=0;for(a=a.iterator;a.next();){var re=a.value;Ip(re);var oe=re.measuredBounds,he=oe.width;oe=oe.height,re.moveTo(x,b),re instanceof Cr&&(re.rh=!1),x+=Math.max(he,50)+20,ne=Math.max(ne,Math.max(oe,50)),z>=y-1?(z=0,x=E,b+=ne+20,ne=0):z++}},Aa.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,E=y,x=this.arrangementOrigin.y,b=0,z=0,ne=this.network.vertexes.iterator;ne.next();){var re=ne.value.node;if(!(re===null||re instanceof $n)&&(Ip(re),this.rh(re))){var oe=re.measuredBounds,he=oe.width;oe=oe.height,re.moveTo(E,x),re instanceof Cr&&(re.rh=!1),E+=Math.max(he,50)+20,z=Math.max(z,Math.max(oe,50)),b>=a-1?(b=0,E=y,x+=z+20,z=0):b++}}},Aa.prototype.rh=function(a){return!!(!a.location.w()||a instanceof Cr&&a.rh)};function yh(a,y,E,x,b,z,ne,re){for(E=E.iterator;E.next();){var oe=E.value;x&&!oe.isTopLevel||b!==null&&!b(oe)||!oe.canLayout()||(z&&oe instanceof yi?oe.isLinkLabel||(oe instanceof Cr&&oe.layout===null?yh(a,y,oe.memberParts,!1,b,z,ne,re):(Ip(oe),y.add(oe))):ne&&oe instanceof $n?y.add(oe):!re||!oe.Zc()||oe instanceof yi||(Ip(oe),y.add(oe)))}}function Ip(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Aa.prototype.ni=function(a,y){var E=this.boundsComputation;return E!==null?(y||(y=new an),E(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Aa.prototype.ex=function(a){var y=new Rt;return a instanceof qt?(yh(this,y,a.nodes,!0,null,!0,!0,!0),yh(this,y,a.links,!0,null,!0,!0,!0),yh(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof Cr?yh(this,y,a.memberParts,!1,null,!0,!0,!0):yh(this,y,a.iterator,!1,null,!0,!0,!0),y},Aa.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var E=y.position.copy();return(isNaN(E.x)||isNaN(E.y))&&E.set(a),y=y.placeholder,y!==null&&(E=y.ga(ka),(isNaN(E.x)||isNaN(E.y))&&E.set(a),a=y.padding,E.x+=a.left,E.y+=a.top),E}return a},bn.Object.defineProperties(Aa.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())}}}),Aa.prototype.collectParts=Aa.prototype.ex,Aa.prototype.getLayoutBounds=Aa.prototype.ni,Aa.prototype.invalidateLayout=Aa.prototype.C,Aa.className="Layout";function aa(a){ut(this),this.Sc=a,this.wf=new Rt,this.ye=new Rt,this.Es=new Fn,this.zs=new Fn}aa.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 Rt,this.ye=new Rt,this.Es=new Fn,this.zs=new Fn},aa.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,1<a){for(var E=this.wf.iterator;E.next();)y+=`
|
|
|
`+E.value.toString(a-1);for(E=this.ye.iterator;E.next();)y+=`
|
|
|
`+E.value.toString(a-1)}return y},aa.prototype.createVertex=function(){return new Ts(this)},aa.prototype.createEdge=function(){return new du(this)},aa.prototype.lg=function(a,y,E){if(a!==null){for(y===void 0&&(y=!1),E===void 0&&(E=null),E===null&&(E=function(ne){if(ne instanceof yi)return!ne.isLinkLabel;if(ne instanceof $n){var re=ne.fromNode;return re===null||re.isLinkLabel?!1:(ne=ne.toNode,!(ne===null||ne.isLinkLabel))}return!1}),a=a.iterator;a.next();){var x=a.value;if(x instanceof yi&&(!y||x.isTopLevel)&&x.canLayout()&&E(x)){if(x instanceof Cr&&x.layout===null)this.lg(x.memberParts,!1);else if(this.ki(x)===null){var b=this.createVertex();b.node=x,this.dh(b)}}}for(a.reset();a.next();)if(x=a.value,x instanceof $n&&(!y||x.isTopLevel)&&x.canLayout()&&E(x)&&this.Lo(x)===null){var z=x.fromNode;b=x.toNode,z!==null&&b!==null&&z!==b&&(z=this.findGroupVertex(z),b=this.findGroupVertex(b),z!==null&&b!==null&&this.Zj(z,b,x))}}},aa.prototype.findGroupVertex=function(a){if(a===null)return null;var y=a.findVisibleNode();if(y===null)return null;if(a=this.ki(y),a!==null)return a;for(y=y.containingGroup;y!==null;){if(a=this.ki(y),a!==null)return a;y=y.containingGroup}return null},Ie=aa.prototype,Ie.dh=function(a){if(a!==null){this.wf.add(a);var y=a.node;y!==null&&this.Es.add(y,a),a.network=this}},Ie.Bl=function(a){if(a===null)return null;var y=this.ki(a);return y===null&&(y=this.createVertex(),y.node=a,this.dh(y)),y},Ie.Iu=function(a){if(a!==null&&h1(this,a)){for(var y=a.tg,E=y.count-1;0<=E;E--){var x=y.M(E);this.Mj(x)}for(y=a.mg,a=y.count-1;0<=a;a--)E=y.M(a),this.Mj(E)}};function h1(a,y){if(y===null)return!1;var E=a.wf.remove(y);return E&&(y=y.node,y!==null&&a.Es.remove(y)),E}Ie.Zy=function(a){a!==null&&(a=this.ki(a),a!==null&&this.Iu(a))},Ie.ki=function(a){return a===null?null:this.Es.I(a)},Ie.Bo=function(a){if(a!==null){ry(this,a);var y=a.toVertex;y!==null&&y.Cl(a),y=a.fromVertex,y!==null&&y.zl(a)}};function ry(a,y){if(y!==null){a.ye.add(y);var E=y.link;E!==null&&a.Lo(E)===null&&a.zs.add(E,y),y.network=a}}Ie.Dy=function(a){if(a===null)return null;var y=a.fromNode,E=a.toNode,x=this.Lo(a);return x===null?(x=this.createEdge(),x.link=a,y!==null&&(x.fromVertex=this.Bl(y)),E!==null&&(x.toVertex=this.Bl(E)),this.Bo(x)):(y!==null?x.fromVertex=this.Bl(y):x.fromVertex=null,E!==null?x.toVertex=this.Bl(E):x.toVertex=null),x},Ie.Mj=function(a){if(a!==null){var y=a.toVertex;y!==null&&y.Kl(a),y=a.fromVertex,y!==null&&y.Jl(a),oy(this,a)}};function oy(a,y){y!==null&&a.ye.remove(y)&&(y=y.link,y!==null&&a.zs.remove(y))}Ie.Yy=function(a){a!==null&&(a=this.Lo(a),a!==null&&this.Mj(a))},Ie.Lo=function(a){return a===null?null:this.zs.I(a)},Ie.Zj=function(a,y,E){if(a===null||y===null)return null;if(a.network===this&&y.network===this){var x=this.createEdge();return x.link=E,x.fromVertex=a,x.toVertex=y,this.Bo(x),x}return null},Ie.gm=function(a){if(a!==null){var y=a.fromVertex,E=a.toVertex;y!==null&&E!==null&&(y.Jl(a),E.Kl(a),a.gm(),y.Cl(a),E.zl(a))}},Ie.Ko=function(){for(var a=Vi(),y=this.ye.iterator;y.next();){var E=y.value;E.fromVertex===E.toVertex&&a.push(E)}for(y=a.length,E=0;E<y;E++)this.Mj(a[E]);Qi(a)},aa.prototype.deleteArtificialVertexes=function(){for(var a=Vi(),y=this.wf.iterator;y.next();){var E=y.value;E.node===null&&E.data===null&&a.push(E)}for(E=a.length,y=0;y<E;y++)this.Iu(a[y]);for(y=Vi(),E=this.ye.iterator;E.next();){var x=E.value;x.link===null&&x.data===null&&y.push(x)}for(E=y.length,x=0;x<E;x++)this.Mj(y[x]);Qi(a),Qi(y)};function HE(a){for(var y=Vi(),E=a.ye.iterator;E.next();){var x=E.value;x.fromVertex!==null&&x.toVertex!==null||y.push(x)}for(E=y.length,x=0;x<E;x++)a.Mj(y[x]);Qi(y)}aa.prototype.Zx=function(a){a===void 0&&(a=!0),a&&(this.deleteArtificialVertexes(),HE(this),this.Ko()),a=new Qn;for(var y=!0;y;){y=!1;for(var E=this.wf.iterator;E.next();){var x=E.value;if(0<x.tg.count||0<x.mg.count){y=this.layout.createNetwork(),a.add(y),ay(this,y,x),y=!0;break}}}return a.sort(function(b,z){return b===null||z===null||b===z?0:z.vertexes.count-b.vertexes.count}),a};function ay(a,y,E){if(E!==null&&E.network!==y){h1(a,E),y.dh(E);for(var x=E.sourceEdges;x.next();){var b=x.value;b.network!==y&&(oy(a,b),ry(y,b),ay(a,y,b.fromVertex))}for(x=E.destinationEdges;x.next();)E=x.value,E.network!==y&&(oy(a,E),ry(y,E),ay(a,y,E.toVertex))}}aa.prototype.dz=function(){for(var a=new Rt,y=this.wf.iterator;y.next();)a.add(y.value.node);for(y=this.ye.iterator;y.next();)a.add(y.value.link);return a},bn.Object.defineProperties(aa.prototype,{layout:{get:function(){return this.Sc},set:function(a){a!==null&&(this.Sc=a)}},vertexes:{get:function(){return this.wf}},edges:{get:function(){return this.ye}}}),aa.prototype.findAllParts=aa.prototype.dz,aa.prototype.splitIntoSubNetworks=aa.prototype.Zx,aa.prototype.deleteSelfEdges=aa.prototype.Ko,aa.prototype.reverseEdge=aa.prototype.gm,aa.prototype.linkVertexes=aa.prototype.Zj,aa.prototype.findEdge=aa.prototype.Lo,aa.prototype.deleteLink=aa.prototype.Yy,aa.prototype.deleteEdge=aa.prototype.Mj,aa.prototype.addLink=aa.prototype.Dy,aa.prototype.addEdge=aa.prototype.Bo,aa.prototype.findVertex=aa.prototype.ki,aa.prototype.deleteNode=aa.prototype.Zy,aa.prototype.deleteVertex=aa.prototype.Iu,aa.prototype.addNode=aa.prototype.Bl,aa.prototype.addVertex=aa.prototype.dh,aa.prototype.addParts=aa.prototype.lg,aa.className="LayoutNetwork";function Ts(a){ut(this),this.ob=a,this.j=new an(0,0,10,10).freeze(),this.o=new st(5,5).freeze(),this.Sh=this.ub=null,this.tg=new Qn,this.mg=new Qn}Ts.prototype.clear=function(){this.Sh=this.ub=null,this.tg=new Qn,this.mg=new Qn},Ts.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutVertex#"+Lt(this);if(0<a&&(y+=this.node!==null?"("+this.node.toString()+")":"",1<a)){a="";for(var E=!0,x=this.tg.iterator;x.next();){var b=x.value;E?E=!1:a+=",",a+=b.toString(0)}for(b="",E=!0,x=this.mg.iterator;x.next();){var z=x.value;E?E=!1:b+=",",b+=z.toString(0)}y+=" sources: "+a+" destinations: "+b}return y},Ts.prototype.commit=function(){var a=this.ub;if(a!==null){var y=this.bounds,E=a.bounds;jn(E)?(E.x=y.x,E.y=y.y,E.width=y.width,E.height=y.height):a.bounds=y.copy()}else if(a=this.node,a!==null){if(y=this.bounds,!(a instanceof Cr)){E=an.alloc(),a.Va();var x=this.network.layout.ni(a,E),b=a.locationObject.ga(Yr);if(x.w()&&b.w()){a.moveTo(y.x+this.focusX-(b.x-x.x),y.y+this.focusY-(b.y-x.y)),an.free(E);return}an.free(E)}a.moveTo(y.x,y.y)}},Ts.prototype.Cl=function(a){a!==null&&(this.tg.contains(a)||this.tg.add(a))},Ts.prototype.Kl=function(a){a!==null&&this.tg.remove(a)},Ts.prototype.zl=function(a){a!==null&&(this.mg.contains(a)||this.mg.add(a))},Ts.prototype.Jl=function(a){a!==null&&this.mg.remove(a)};function sy(a,y){return a=a.Sh,y=y.Sh,a?y?(a=a.text,y=y.text,a<y?-1:a>y?1:0):1:y!==null?-1:0}bn.Object.defineProperties(Ts.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 E=y.y,x=y.width;y=y.height,this.o.h(x/2,y/2),this.j.h(a,E,x,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,E=an.alloc(),x=y.ni(a,E);y=x.x;var b=x.y,z=x.width;if(x=x.height,isNaN(y)&&(y=0),isNaN(b)&&(b=0),this.j.h(y,b,z,x),an.free(E),!(a instanceof Cr)&&(a=a.locationObject.ga(Yr),a.w())){this.o.h(a.x-y,a.y-b);return}this.o.h(z/2,x/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 Rt,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Rt,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Rt,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 Qn,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}}}),Ts.prototype.deleteDestinationEdge=Ts.prototype.Jl,Ts.prototype.addDestinationEdge=Ts.prototype.zl,Ts.prototype.deleteSourceEdge=Ts.prototype.Kl,Ts.prototype.addSourceEdge=Ts.prototype.Cl,Ts.className="LayoutVertex",Ts.standardComparer=sy,Ts.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var E=y.Sh;if(a!==null){if(E!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=E.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),E=0;E<y.length;E++)if(a[E]!==""&&a[E]!==void 0){var x=parseFloat(y[E]),b=parseFloat(a[E]);if(isNaN(x))if(isNaN(b)){if(y[E].localeCompare(a[E])!==0)return y[E].localeCompare(a[E])}else return 1;else{if(isNaN(b))return-1;if(x-b!==0)return x-b}}else if(y[E]!=="")return 1;return a[E]!==""&&a[E]!==void 0?-1:0}return 1}return E!==null?-1:0}return 1}return y!==null?-1:0};function du(a){ut(this),this.nb=a,this.qd=this.kd=this.$k=this.ub=null}du.prototype.clear=function(){this.qd=this.kd=this.$k=this.ub=null},du.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutEdge#"+Lt(this);return 0<a&&(y+=this.$k!==null?"("+this.$k.toString()+")":"",1<a&&(y+=" "+(this.kd?this.kd.toString():"null")+" --> "+(this.qd?this.qd.toString():"null"))),y},du.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},du.prototype.commit=function(){},du.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},bn.Object.defineProperties(du.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)}}}),du.prototype.getOtherVertex=du.prototype.Ax,du.className="LayoutEdge";function Gs(a){Aa.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new fn(NaN,NaN).freeze(),this.tf=new fn(10,10).freeze(),this.Jb=Mp,this.Rb=u0,this.nd=Rp,this.hd=f1,a&&Object.assign(this,a)}Kt(Gs,Aa),Gs.prototype.cloneProtected=function(a){Aa.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},Gs.prototype.qb=function(a){a.classType===Gs?a===Rp||a===d0||a===ly||a===c0?this.sorting=a:a===u0||a===Pc?this.arrangement=a:a===Mp||a===l0?this.alignment=a:tn("Unknown enum value: "+a):Aa.prototype.qb.call(this,a)},Gs.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var E=y.copy().iterator;E.next();){var x=E.value;if(!x.ph()||x.fromNode===null&&x.toNode===null){if(x.Va(),x instanceof Cr)for(x=x.memberParts;x.next();)y.remove(x.value)}else y.remove(x)}var b=y.Fa();if(b.length!==0){switch(this.sorting){case c0:b.reverse();break;case Rp:b.sort(this.comparer);break;case d0:b.sort(this.comparer),b.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var ne=this.wrappingWidth;switch(isNaN(ne)&&a!==null?(y=a.padding,ne=Math.max(a.viewportBounds.width-y.left-y.right,0)):ne=Math.max(this.wrappingWidth,0),0>=z&&0>=ne&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),E=this.spacing.height,isFinite(E)||(E=0),a!==null&&a.Ea("Layout"),x=[],this.alignment){case l0:var re=y,oe=E,he=an.alloc(),fe=Math.max(this.cellSize.width,1);if(!isFinite(fe))for(var Se=fe=0;Se<b.length;Se++){var Te=this.ni(b[Se],he);fe=Math.max(fe,Te.width)}if(fe=Math.max(fe+re,1),Se=Math.max(this.cellSize.height,1),!isFinite(Se))for(Te=Se=0;Te<b.length;Te++){var Ne=this.ni(b[Te],he);Se=Math.max(Se,Ne.height)}Se=Math.max(Se+oe,1),Te=this.arrangement;for(var Be=Ne=this.arrangementOrigin.x,We=this.arrangementOrigin.y,vt=0,ct=0,wt=0;wt<b.length;wt++){var Tt=b[wt],kt=this.ni(Tt,he),Bt=Math.ceil((kt.width+re)/fe)*fe,en=Math.ceil((kt.height+oe)/Se)*Se;switch(Te){case Pc:var pi=Math.abs(Be-kt.width);break;default:pi=Be+kt.width}switch((0<z&&vt>z-1||0<ne&&0<vt&&pi-Ne>ne)&&(x.push(new an(0,We,ne+re,ct)),vt=0,Be=Ne,We+=ct,ct=0),ct=Math.max(ct,en),Te){case Pc:kt=-kt.width;break;default:kt=0}switch(Tt.moveTo(Be+kt,We),Te){case Pc:Be-=Bt;break;default:Be+=Bt}vt++}x.push(new an(0,We,ne+re,ct)),an.free(he);break;case Mp:for(oe=ne,fe=z,Se=y,Te=E,ne=an.alloc(),Ne=Math.max(this.cellSize.width,1),z=We=he=0,re=st.alloc(),Be=0;Be<b.length;Be++)ct=b[Be],vt=this.ni(ct,ne),ct=Gd(ct,ct.locationObject,ct.locationSpot,re),he=Math.max(he,ct.x),We=Math.max(We,vt.width-ct.x),z=Math.max(z,ct.y);switch(Be=this.arrangement,Be){case Pc:he+=Se;break;default:We+=Se}Ne=isFinite(Ne)?Math.max(Ne+Se,1):Math.max(he+We,1);var ki=ct=this.arrangementOrigin.x;for(wt=this.arrangementOrigin.y,We=0,oe>=he&&(oe-=he),he=Tt=0,Bt=Math.max(this.cellSize.height,1),kt=z=0,en=!0,vt=st.alloc(),pi=0;pi<b.length;pi++){var Ti=b[pi],qn=this.ni(Ti,ne),kn=Gd(Ti,Ti.locationObject,Ti.locationSpot,re);if(0<We)switch(Be){case Pc:ki=(ki-ct-(qn.width-kn.x))/Ne,ki=Ht.$(Math.round(ki),ki)?Math.round(ki):Math.floor(ki),ki=ki*Ne+ct;break;default:ki=(ki-ct+kn.x)/Ne,ki=Ht.$(Math.round(ki),ki)?Math.round(ki):Math.ceil(ki),ki=ki*Ne+ct}else switch(Be){case Pc:Tt=ki+kn.x+qn.width;break;default:Tt=ki-kn.x}switch(Be){case Pc:var Er=-(ki+kn.x)+Tt;break;default:Er=ki+qn.width-kn.x-Tt}if(0<fe&&We>fe-1||0<oe&&0<We&&Er>oe){for(x.push(new an(0,en?wt-z:wt,oe+Se,kt+z+Te)),ki=0;ki<We&&pi!==We;ki++){Er=b[pi-We+ki];var gr=Gd(Er,Er.locationObject,Er.locationSpot,vt);Er.moveTo(Er.position.x,Er.position.y+z-gr.y)}kt+=Te,wt=en?wt+kt:wt+(kt+z),We=kt=z=0,ki=ct,en=!1}switch(ki===ct&&(he=Be===Pc?Math.max(he,qn.width-kn.x):Math.min(he,-kn.x)),z=Math.max(z,kn.y),kt=Math.max(kt,qn.height-kn.y),isFinite(Bt)&&(kt=Math.max(kt,Math.max(qn.height,Bt)-kn.y)),en?Ti.moveTo(ki-kn.x,wt-kn.y):Ti.moveTo(ki-kn.x,wt),Be){case Pc:ki-=kn.x+Se;break;default:ki+=qn.width-kn.x+Se}We++}if(x.push(new an(0,wt,oe+Se,(en?kt:kt+z)+Te)),b.length!==We)for(oe=0;oe<We;oe++)fe=b[b.length-We+oe],Se=Gd(fe,fe.locationObject,fe.locationSpot,re),fe.moveTo(fe.position.x,fe.position.y+z-Se.y);if(st.free(re),st.free(vt),Be===Pc)for(b=0;b<x.length;b++)z=x[b],z.width+=he,z.x-=he;else for(b=0;b<x.length;b++)z=x[b],z.x>he&&(z.width+=z.x-he,z.x=he);an.free(ne)}for(re=z=ne=b=0;re<x.length;re++)oe=x[re],b=Math.min(b,oe.x),ne=Math.min(ne,oe.y),z=Math.max(z,oe.x+oe.width);this.arrangement===Pc?this.commitLayers(x,new st(b+y/2-(z+b),ne-E/2)):this.commitLayers(x,new st(b-y/2,ne-E/2)),a!==null&&a.eb("Layout"),this.isValidLayout=!0}},Gs.prototype.commitLayers=function(){};function f1(a,y){return a=a.text,y=y.text,a<y?-1:a>y?1:0}bn.Object.defineProperties(Gs.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0<a||isNaN(a))&&(this.zo=a,this.isViewportSized=isNaN(a),this.C())}},wrappingColumn:{get:function(){return this.yo},set:function(a){this.yo!==a&&(0<a||isNaN(a))&&(this.yo=a,this.C())}},cellSize:{get:function(){return this.yg},set:function(a){this.yg.D(a)||(this.yg.assign(a),this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf.D(a)||(this.tf.assign(a),this.C())}},alignment:{get:function(){return this.Jb},set:function(a){this.Jb===a||a!==Mp&&a!==l0||(this.Jb=a,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==u0&&a!==Pc||(this.Rb=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==ly&&a!==c0&&a!==Rp&&a!==d0||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}}});var l0=new nn(Gs,"Position",0),Mp=new nn(Gs,"Location",1),u0=new nn(Gs,"LeftToRight",2),Pc=new nn(Gs,"RightToLeft",3),ly=new nn(Gs,"Forward",4),c0=new nn(Gs,"Reverse",5),Rp=new nn(Gs,"Ascending",6),d0=new nn(Gs,"Descending",7);Gs.className="GridLayout",Gs.standardComparer=f1,Gs.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),y=y.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/);for(var E=0;E<a.length;E++)if(y[E]!==""&&y[E]!==void 0){var x=parseFloat(a[E]),b=parseFloat(y[E]);if(isNaN(x))if(isNaN(b)){if(a[E].localeCompare(y[E])!==0)return a[E].localeCompare(y[E])}else return 1;else{if(isNaN(b))return-1;if(x-b!==0)return x-b}}else if(a[E]!=="")return 1;return y[E]!==""&&y[E]!==void 0?-1:0}return 1}return y!==null?-1:0},Gs.Position=l0,Gs.Location=Mp,Gs.LeftToRight=u0,Gs.RightToLeft=Pc,Gs.Forward=ly,Gs.Reverse=c0,Gs.Ascending=Rp,Gs.Descending=d0;function Fo(){this.On=new Rt,this.Dn=new Rt,this.Pa=new Rt,this.cf=new Fn,this.bf=new Fn,this.aj=new Fn,this.H=null,this.tp=!1}Ie=Fo.prototype,Ie.clear=function(){this.On.clear(),this.Dn.clear(),this.Pa.clear(),this.cf.clear(),this.bf.clear(),this.aj.clear()},Ie.Xe=function(a){this.H=a},Ie.oi=function(a){if(a instanceof yi){if(this.On.add(a),a instanceof Cr){var y=a.containingGroup;y===null?this.H.ai.add(a):y.gl.add(a),y=a.layout,y!==null&&(y.diagram=this.H)}}else a instanceof $n?this.Dn.add(a):a instanceof Eo||this.Pa.add(a);y=a.data,y===null||a instanceof Eo||(a instanceof $n?this.bf.add(y,a):this.cf.add(y,a))},Ie.pc=function(a){if(a.Ej(),a instanceof yi){if(this.On.remove(a),a instanceof Cr){var y=a.containingGroup;y===null?this.H.ai.remove(a):y.gl.remove(a),y=a.layout,y!==null&&(y.diagram=null)}}else a instanceof $n?this.Dn.remove(a):a instanceof Eo||this.Pa.remove(a);y=a.data,y===null||a instanceof Eo||(a instanceof $n?this.bf.remove(y):this.cf.remove(y))},Ie.Wd=function(){var a=this.H;if(a!==null){for(var y=a.nodeTemplateMap.iterator;y.next();){var E=y.value,x=y.key;(!E.Zc()||E instanceof Cr)&&tn('Invalid node template in Diagram.nodeTemplateMap: template for "'+x+'" must be a Node or a simple Part, not a Group or Link: '+E)}for(y=a.groupTemplateMap.iterator;y.next();)E=y.value,x=y.key,E instanceof Cr||tn('Invalid group template in Diagram.groupTemplateMap: template for "'+x+'" must be a Group, not a normal Node or Link: '+E);for(y=a.linkTemplateMap.iterator;y.next();)E=y.value,x=y.key,E instanceof $n||tn('Invalid link template in Diagram.linkTemplateMap: template for "'+x+'" must be a Link, not a normal Node or simple Part: '+E);for(y=Vi(),E=a.selection.iterator;E.next();)(x=E.value.data)&&y.push(x);for(E=Vi(),a=a.highlighteds.iterator;a.next();)(x=a.value.data)&&E.push(x);for(a=Vi(),x=this.nodes.iterator;x.next();){var b=x.value;b.data!==null&&(a.push(b.data),a.push(b.location))}for(x=this.links.iterator;x.next();)b=x.value,b.data!==null&&(a.push(b.data),a.push(b.location));for(x=this.parts.iterator;x.next();)b=x.value,b.data!==null&&(a.push(b.data),a.push(b.location));for(this.removeAllModeledParts(),this.addAllModeledParts(),x=0;x<y.length;x++)b=this.Lc(y[x]),b!==null&&(b.isSelected=!0);for(x=0;x<E.length;x++)b=this.Lc(E[x]),b!==null&&(b.isHighlighted=!0);for(x=0;x<a.length;x+=2)b=this.Lc(a[x]),b!==null&&(b.location=a[x+1]);Qi(y),Qi(E),Qi(a)}},Fo.prototype.addAllModeledParts=function(){this.addModeledParts(this.diagram.model.nodeDataArray)},Fo.prototype.addModeledParts=function(a,y){var E=this,x=this.diagram.model;a.forEach(function(b){x.lb(b)&&g1(E,b,!1)}),a.forEach(function(b){x.lb(b)&&E.resolveReferencesForData(b)}),y!==!1&&qf(this.diagram,!1)};function g1(a,y,E){if(y!=null&&!a.diagram.undoManager.isUndoingRedoing&&!a.cf.contains(y)){E===void 0&&(E=!0);e:{if(y!=null&&!a.H.undoManager.isUndoingRedoing&&!a.cf.contains(y)){var x=a.Ro(y),b=p1(a,y,x);if(b!==null&&(tc(b),b=b.copy(),b!==null)){var z=a.diagram.skipsModelSourceBindings;a.diagram.skipsModelSourceBindings=!0,b.Tf=x,b.ub=y,a.tp&&(b.Jg="Tool"),a.diagram.add(b),b.ub=null,b.data=y,a.diagram.skipsModelSourceBindings=z,x=b;break e}}x=null}x!==null&&E&&a.resolveReferencesForData(y)}}Fo.prototype.insertLink=function(){return null},Fo.prototype.resolveReferencesForData=function(){},Fo.prototype.Ro=function(a){return this.H.model.Ro(a)};function p1(a,y,E){a=a.H;var x=a.model;return x.Xj()&&x.Yu(y)?(y=a.groupTemplateMap.I(E),y===null&&(y=a.groupTemplateMap.I(""),y===null&&(y1||(y1=!0,Hr('No Group template found for category "'+E+'"'),Hr(" Using default group template")),y=a.ly))):(y=a.nodeTemplateMap.I(E),y===null&&(y=a.nodeTemplateMap.I(""),y===null&&(v1||(v1=!0,Hr('No Node template found for category "'+E+'"'),Hr(" Using default node template")),y=a.ny))),y}Fo.prototype.getLinkCategoryForData=function(){return""},Fo.prototype.setLinkCategoryForData=function(){},Fo.prototype.setFromNodeForLink=function(){},Fo.prototype.setToNodeForLink=function(){},Fo.prototype.findLinkTemplateForCategory=function(a){var y=this.H,E=y.linkTemplateMap.I(a);return E===null&&(E=y.linkTemplateMap.I(""),E===null&&(S1||(S1=!0,Hr('No Link template found for category "'+a+'"'),Hr(" Using default link template")),E=y.my)),E},Fo.prototype.removeAllModeledParts=function(){this.Gs(this.diagram.model.nodeDataArray)},Fo.prototype.Gs=function(a){var y=this;a.forEach(function(E){y.ip(E)})},Fo.prototype.ip=function(a){a=this.Lc(a),a!==null&&(Kg(this.diagram,a,!1),this.unresolveReferencesForPart(a))},Fo.prototype.unresolveReferencesForPart=function(){},Fo.prototype.removeDataForLink=function(){},Fo.prototype.findPartForKey=function(a){return a==null?null:(a=this.H.model.hc(a),a!==null?this.cf.I(a):null)},Fo.prototype.Vb=function(a){return a==null||(a=this.H.model.hc(a),a===null)?null:(a=this.cf.I(a),a instanceof yi?a:null)},Fo.prototype.findLinkForKey=function(){return null},Ie=Fo.prototype,Ie.Lc=function(a){if(a===null)return null;var y=this.cf.I(a);return y!==null?y:y=this.bf.I(a)},Ie.ii=function(a){return a===null?null:(a=this.cf.I(a),a instanceof yi?a:null)},Ie.Kc=function(a){return a===null?null:this.bf.I(a)},Ie.ms=function(a){for(var y=0;y<arguments.length;++y);y=new Rt;for(var E=this.On.iterator;E.next();){var x=E.value,b=x.data;if(b!==null)for(var z=0;z<arguments.length;z++){var ne=arguments[z];if(jn(ne)&&uy(this,b,ne)){y.add(x);break}}}return y.iterator},Ie.ls=function(a){for(var y=0;y<arguments.length;++y);y=new Rt;for(var E=this.Dn.iterator;E.next();){var x=E.value,b=x.data;if(b!==null)for(var z=0;z<arguments.length;z++){var ne=arguments[z];if(jn(ne)&&uy(this,b,ne)){y.add(x);break}}}return y.iterator};function uy(a,y,E){for(var x in E){var b=y[x],z=E[x];if(qi(z)){if(!qi(b)||b.length<z.length)return!1;for(var ne=0;ne<b.length;ne++){var re=z[ne];if(re!==void 0&&!m1(a,b[ne],re))return!1}}else if(!m1(a,b,z))return!1}return!0}function m1(a,y,E){if(typeof E=="function"){if(!E(y))return!1}else if(E instanceof RegExp){if(!y||!E.test(y.toString()))return!1}else if(jn(y)&&jn(E)){if(!uy(a,y,E))return!1}else if(y!==E)return!1;return!0}Fo.prototype.doModelChanged=function(a){if(this.H){var y=this.H;if(a.model===y.model){var E=a.change;if(y.doModelChanged(a),y.aa){y.aa=!1;try{var x=a.modelChange;if(x!=="")if(E===Qo){if(x==="nodeCategory"){var b=this.Lc(a.object),z=a.newValue;b!==null&&typeof z=="string"&&(b.category=z)}else x==="nodeDataArray"&&(this.Gs(a.oldValue),this.addModeledParts(a.newValue));y.isModified=!0}else if(E===Oa){var ne=a.newValue;x==="nodeDataArray"&&jn(ne)&&g1(this,ne),y.isModified=!0}else if(E===Va){var re=a.oldValue;x==="nodeDataArray"&&jn(re)&&this.ip(re),y.isModified=!0}else E===Vs&&(x==="SourceChanged"?a.object!==null?this.updateDataBindings(a.object,a.propertyName):(this.rp(),this.updateAllTargetBindings()):x==="ModelDisplaced"&&this.Wd());else if(E===Qo){var oe=a.propertyName,he=a.object;he===y.model?(oe==="nodeKeyProperty"||oe==="nodeCategoryProperty")&&(y.undoManager.isUndoingRedoing||this.Wd()):this.updateDataBindings(he,oe),y.isModified=!0}else if(E===Oa||E===Va){var fe=a.change===Oa,Se=fe?a.newParam:a.oldParam,Te=fe?a.newValue:a.oldValue,Ne=this.aj.I(a.object);if(Array.isArray(Ne))for(a=0;a<Ne.length;a++){var Be=Ne[a];if(fe)km(Be,Te,Se,!0);else if(!(0>Se)){var We=Se+gp(Be);Be.pc(We,!0),wv(Be,We,Se)}}y.isModified=!0}}finally{y.aa=!0}}}}},Fo.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)},Fo.prototype.rp=function(){for(var a=this.H.model,y=new Rt,E=a.nodeDataArray,x=0;x<E.length;x++)y.add(E[x]);var b=[];for(this.nodes.each(function(ne){ne.data===null||y.contains(ne.data)||b.push(ne.data)}),this.parts.each(function(ne){ne.data===null||y.contains(ne.data)||b.push(ne.data)}),b.forEach(function(ne){N1(a,ne,!1)}),x=0;x<E.length;x++){var z=E[x];this.Lc(z)===null&&P1(a,z,!1)}for(this.refreshDataBoundLinks(),E=this.parts.iterator;E.next();)E.value.updateRelationshipsFromData();for(E=this.nodes.iterator;E.next();)E.value.updateRelationshipsFromData();for(E=this.links.iterator;E.next();)E.value.updateRelationshipsFromData()},Fo.prototype.refreshDataBoundLinks=function(){},Fo.prototype.updateRelationshipsFromData=function(){},Fo.prototype.updateDataBindings=function(a,y){if(typeof y=="string"){var E=this.Lc(a);if(E!==null)E.La(y);else{E=null;for(var x=this.aj.iterator;x.next();){for(var b=x.value,z=0;z<b.length;z++){var ne=b[z].sx(a);ne!==null&&(E===null&&(E=Vi()),E.push(ne))}if(E!==null)break}if(E!==null){for(x=0;x<E.length;x++)E[x].La(y);Qi(E)}}a===this.diagram.model.modelData&&this.updateAllTargetBindings(y)}};function cy(a,y){var E=y.Hh;if(qi(E)){var x=a.aj.I(E);if(x===null)x=[],x.push(y),a.aj.add(E,x);else{for(a=0;a<x.length;a++)if(x[a]===y)return;x.push(y)}}}function dy(a,y,E){qh(y,function(ne){ne=ne.O.s;for(var re=ne.length,oe=0;oe<re;oe++)qg(E,ne[oe])});var x=y.Hh;if(qi(x)){var b=a.aj.I(x);if(b!==null){for(var z=0;z<b.length;z++)if(b[z]===y){b.splice(z,1),b.length===0&&a.aj.remove(x);break}}}}Fo.prototype.Kj=function(a,y,E){E===void 0&&(E=!1);var x=new Fn;if(qi(a))for(var b=0;b<a.length;b++)h0(this,a[b],y,x,E);else for(a=a.iterator;a.next();)h0(this,a.value,y,x,E);if(y!==null){E=y.model,a=y.toolManager.findTool("Dragging"),a=a!==null?a.dragOptions.dragsLink:y.Wm.dragsLink,b=new Rt;for(var z=new Fn,ne=x.iterator;ne.next();){var re=ne.value;if(re instanceof $n)a||re.fromNode!==null&&re.toNode!==null||b.add(re);else if(re instanceof yi&&re.data!==null&&E.Tl()){var oe=re;re=ne.key;var he=re.pg();he!==null&&(he=x.I(he),he!==null?(E.qe(oe.data,E.wa(he.data)),oe=y.Kc(oe.data),re=re.kh(),re!==null&&oe!==null&&z.add(re,oe)):E.qe(oe.data,void 0))}}if(0<b.count&&y.Is(b,!1),0<z.count)for(E=z.iterator;E.next();)x.add(E.key,E.value)}if(y!==null&&this.H!==null&&(y=y.model,E=y.afterCopyFunction,E!==null)){var fe=new Fn;x.each(function(Se){Se.key.data!==null&&fe.add(Se.key.data,Se.value.data)}),E(fe,y,this.H.model)}for(y=x.iterator;y.next();)y.value.La();return x};function h0(a,y,E,x,b){if(y===null||b&&!y.canCopy())return null;if(x.contains(y))return x.I(y);var z=a.copyPartData(y,E);if(!(z instanceof Ki))return null;if(z.isSelected=!1,z.isHighlighted=!1,x.add(y,z),y instanceof yi){for(var ne=y.linksConnected;ne.next();){var re=ne.value;if(re.fromNode===y){var oe=x.I(re);oe!==null&&(oe.fromNode=z)}re.toNode===y&&(re=x.I(re),re!==null&&(re.toNode=z))}if(y instanceof Cr&&z instanceof Cr)for(y=y.memberParts;y.next();)ne=h0(a,y.value,E,x,b),ne instanceof $n||ne===null||(ne.containingGroup=z)}else if(y instanceof $n&&z instanceof $n)for(ne=y.fromNode,ne!==null&&(ne=x.I(ne),ne!==null&&(z.fromNode=ne)),ne=y.toNode,ne!==null&&(ne=x.I(ne),ne!==null&&(z.toNode=ne)),y=y.labelNodes;y.next();)ne=h0(a,y.value,E,x,b),ne!==null&&ne instanceof yi&&(ne.labeledLink=z);return z}Fo.prototype.copyPartData=function(a,y){var E=null,x=a.data;if(x!==null&&y!==null){var b=y.model;a instanceof $n||(x=b.copyNodeData(x),jn(x)&&(b.xf(x),E=y.Lc(x)))}else tc(a),E=a.copy(),E!==null&&(b=this.H,y!==null?y.add(E):x!==null&&b!==null&&b.commandHandler!==null&&b.commandHandler.copiesClipboardData&&(y=b.model,b=null,E instanceof $n||(b=y.copyNodeData(x)),jn(b)&&(E.data=b)));return E},bn.Object.defineProperties(Fo.prototype,{nodes:{get:function(){return this.On}},links:{get:function(){return this.Dn}},parts:{get:function(){return this.Pa}},diagram:{get:function(){return this.H}},addsToTemporaryLayer:{get:function(){return this.tp},set:function(a){this.tp=a}}}),Fo.prototype.updateAllRelationshipsFromData=Fo.prototype.rp,Fo.prototype.findLinksByExample=Fo.prototype.ls,Fo.prototype.findNodesByExample=Fo.prototype.ms,Fo.prototype.findLinkForData=Fo.prototype.Kc,Fo.prototype.findNodeForData=Fo.prototype.ii,Fo.prototype.findPartForData=Fo.prototype.Lc,Fo.prototype.findNodeForKey=Fo.prototype.Vb,Fo.prototype.removeModeledPart=Fo.prototype.ip,Fo.prototype.removeModeledParts=Fo.prototype.Gs,Fo.prototype.rebuildParts=Fo.prototype.Wd;var v1=!1,y1=!1,S1=!1;Fo.className="PartManager";function Ds(a){Fo.apply(this,arguments)}Kt(Ds,Fo),Ds.prototype.addAllModeledParts=function(){var a=this.diagram.model;this.addModeledParts(a.nodeDataArray),E1(this,a.linkDataArray)},Ds.prototype.addModeledParts=function(a){for(Fo.prototype.addModeledParts.call(this,a,!1),a=this.links.iterator;a.next();)Sg(a.value);qf(this.diagram,!1)};function E1(a,y){y.forEach(function(E){x1(a,E)}),qf(a.diagram,!1)}function x1(a,y){if(y!=null&&!a.diagram.undoManager.isUndoingRedoing&&!a.bf.contains(y)){var E=a.getLinkCategoryForData(y),x=a.findLinkTemplateForCategory(E);if(x!==null){tc(x);var b=x.copy();if(b!==null){x=a.diagram.skipsModelSourceBindings,a.diagram.skipsModelSourceBindings=!0,b.Tf=E,b.ub=y,E=a.diagram.model;var z=m0(E,y,!0);z!==""&&(b.fromPortId=z),z=Nu(E,y,!0),z!==void 0&&(z=a.Vb(z),z instanceof yi&&(b.fromNode=z)),z=m0(E,y,!1),z!==""&&(b.toPortId=z),z=Nu(E,y,!1),z!==void 0&&(z=a.Vb(z),z instanceof yi&&(b.toNode=z)),E=E.Ef(y),Array.isArray(E)&&E.forEach(function(ne){ne=a.Vb(ne),ne!==null&&(ne.labeledLink=b)}),a.tp&&(b.Jg="Tool"),a.diagram.add(b),b.ub=null,b.data=y,a.diagram.skipsModelSourceBindings=x}}}}Ds.prototype.removeAllModeledParts=function(){var a=this.diagram.model;b1(this,a.linkDataArray),this.Gs(a.nodeDataArray)};function b1(a,y){y.forEach(function(E){a.ip(E)})}Ds.prototype.getLinkCategoryForData=function(a){return this.diagram.model.ps(a)},Ds.prototype.setLinkCategoryForData=function(a,y){return this.diagram.model.lp(a,y)},Ds.prototype.setFromNodeForLink=function(a,y){var E=this.diagram.model;E.wv(a.data,E.wa(y!==null?y.data:null))},Ds.prototype.setToNodeForLink=function(a,y){var E=this.diagram.model;E.Bv(a.data,E.wa(y!==null?y.data:null))},Ds.prototype.removeDataForLink=function(a){this.diagram.model.bm(a.data)},Ds.prototype.findPartForKey=function(a){var y=Fo.prototype.findPartForKey.call(this,a);return y===null&&(a=this.diagram.model.jh(a),a!==null)?this.bf.I(a):y},Ds.prototype.findLinkForKey=function(a){return a==null?null:(a=this.diagram.model.jh(a),a!==null?this.bf.I(a):null)},Ds.prototype.doModelChanged=function(a){var y=this;if(Fo.prototype.doModelChanged.call(this,a),this.diagram){var E=this.diagram;if(a.model===E.model){var x=a.change;if(E.aa){E.aa=!1;try{var b=a.modelChange;if(b!==""){if(x===Qo){if(b==="linkFromKey"){var z=this.Kc(a.object);if(z!==null){var ne=this.Vb(a.newValue);z.fromNode=ne}}else if(b==="linkToKey"){var re=this.Kc(a.object);if(re!==null){var oe=this.Vb(a.newValue);re.toNode=oe}}else if(b==="linkFromPortId"){var he=this.Kc(a.object);if(he!==null){var fe=a.newValue;typeof fe=="string"&&(he.fromPortId=fe)}}else if(b==="linkToPortId"){var Se=this.Kc(a.object);if(Se!==null){var Te=a.newValue;typeof Te=="string"&&(Se.toPortId=Te)}}else if(b==="nodeGroupKey"){var Ne=this.Lc(a.object);if(Ne!==null){var Be=a.newValue;if(Be!==void 0){var We=this.Vb(Be);We instanceof Cr?Ne.containingGroup=We:Ne.containingGroup=null}else Ne.containingGroup=null}}else if(b==="linkLabelKeys"){var vt=this.Kc(a.object);if(vt!==null){var ct=a.oldValue,wt=a.newValue;Array.isArray(ct)&&ct.forEach(function(kn){0<=wt.indexOf(kn)||(kn=y.Vb(kn),kn!==null&&(kn.labeledLink=null))}),Array.isArray(wt)&&wt.forEach(function(kn){kn=y.Vb(kn),kn!==null&&(kn.labeledLink=vt)})}}else if(b==="linkCategory"){var Tt=this.Kc(a.object),kt=a.newValue;Tt!==null&&typeof kt=="string"&&(Tt.category=kt)}else b==="linkDataArray"&&(b1(this,a.oldValue),E1(this,a.newValue));E.isModified=!0}else if(x===Oa){var Bt=a.newValue;if(b==="linkDataArray"&&typeof Bt=="object"&&Bt!==null)x1(this,Bt);else if(b==="linkLabelKeys"&&Eh(Bt)){var en=this.Kc(a.object),pi=this.Vb(Bt);en!==null&&pi!==null&&(pi.labeledLink=en)}E.isModified=!0}else if(x===Va){var ki=a.oldValue;if(b==="linkDataArray"&&typeof ki=="object"&&ki!==null)this.ip(ki);else if(b==="linkLabelKeys"&&Eh(ki)){var Ti=this.Vb(ki);Ti!==null&&(Ti.labeledLink=null)}E.isModified=!0}}else if(x===Qo){var qn=a.propertyName;a.object!==E.model||qn!=="linkFromKeyProperty"&&qn!=="linkToKeyProperty"&&qn!=="linkFromPortIdProperty"&&qn!=="linkToPortIdProperty"&&qn!=="linkLabelKeysProperty"&&qn!=="nodeIsGroupProperty"&&qn!=="nodeGroupKeyProperty"&&qn!=="linkCategoryProperty"||E.undoManager.isUndoingRedoing||this.Wd(),E.isModified=!0}}finally{E.aa=!0}}}}},Ds.prototype.refreshDataBoundLinks=function(){var a=this,y=this.diagram.model,E=new Rt,x=y.linkDataArray;x.forEach(function(z){E.add(z)});var b=[];this.links.each(function(z){z.data===null||E.contains(z.data)||b.push(z.data)}),b.forEach(function(z){O1(y,z,!1)}),x.forEach(function(z){a.Kc(z)===null&&R1(y,z,!1)})},Ds.prototype.updateRelationshipsFromData=function(a){var y=a.data;if(y!==null){var E=a.diagram;if(E!==null){var x=E.model;if(a instanceof $n){var b=Nu(x,y,!0);if(b=E.Vb(b),a.fromNode=b,b=Nu(x,y,!1),b=E.Vb(b),a.toNode=b,y=x.Ef(y),0<y.length||0<a.labelNodes.count){if(y.length===1&&a.labelNodes.count===1){b=y[0];var z=a.labelNodes.first();if(x.wa(z.data)===b)return}b=new Rt().addAll(y);var ne=new Rt;a.labelNodes.each(function(re){re.data!==null&&(re=x.wa(re.data),re!==void 0&&ne.add(re))}),y=ne.copy(),y.hp(b),b=b.copy(),b.hp(ne),(0<y.count||0<b.count)&&(y.each(function(re){re=E.Vb(re),re!==null&&re.labeledLink===a&&(re.labeledLink=null)}),b.each(function(re){re=E.Vb(re),re!==null&&re.labeledLink!==a&&(re.labeledLink=a)}))}}else!(a instanceof Eo)&&(y=x.lh(y),y=E.findPartForKey(y),y===null||y instanceof Cr)&&(a.containingGroup=y)}}},Ds.prototype.resolveReferencesForData=function(a){var y=this.diagram.model,E=y.wa(a);if(E!==void 0){var x=Op(y,E),b=this.Lc(a);if(x!==null&&b!==null){x=x.iterator;for(var z={};x.next();){var ne=x.value;y.lb(ne)?b instanceof Cr&&y.lh(ne)===E&&(ne=this.Lc(ne),ne!==null&&(ne.containingGroup=b)):(z.link=this.Kc(ne),z.link!==null&&b instanceof yi&&(Nu(y,ne,!0)===E&&(z.link.fromNode=b),Nu(y,ne,!1)===E&&(z.link.toNode=b),ne=y.Ef(ne),Array.isArray(ne)&&ne.some(function(re){return function(oe){return oe===E?(b.labeledLink=re.link,!0):!1}}(z)))),z={link:z.link}}Lc(y,E)}a=y.lh(a),a!==void 0&&(a=this.Vb(a),a instanceof Cr&&(b.containingGroup=a))}},Ds.prototype.unresolveReferencesForPart=function(a){var y=this.diagram.model;if(a instanceof yi){var E=y.wa(a.data);if(E!==void 0){for(var x=a.linksConnected;x.next();)Nc(y,E,x.value.data);if(a.isLinkLabel&&(x=a.labeledLink,x!==null&&Nc(y,E,x.data)),a instanceof Cr)for(a=a.memberParts;a.next();)x=a.value.data,y.lb(x)&&Nc(y,E,x)}}},Ds.prototype.copyPartData=function(a,y){var E=Fo.prototype.copyPartData.call(this,a,y);if(a instanceof $n)if(a=a.data,a!==null&&y!==null){var x=y.model;a=x.Jo(a),typeof a=="object"&&a!==null&&(x.fi(a),E=y.Kc(a))}else E!==null&&(y=this.diagram,a!==null&&y!==null&&y.commandHandler!==null&&y.commandHandler.copiesClipboardData&&(y=y.model.Jo(a),typeof y=="object"&&y!==null&&(E.data=y)));return E},Ds.prototype.insertLink=function(a,y,E,x){var b=this.diagram,z=b.model,ne=b.toolManager.findTool("Linking"),re="";if(a!==null&&(y===null&&(y=a),re=y.portId,re===null&&(re="")),y="",E!==null&&(x===null&&(x=E),y=x.portId,y===null&&(y="")),x=ne.archetypeLinkData,x instanceof $n){if(tc(x),z=x.copy(),z!==null)return z.fromNode=a,z.fromPortId=re,z.toNode=E,z.toPortId=y,b.add(z),a=ne.archetypeLabelNodeData,a instanceof yi&&(tc(a),a=a.copy(),a!==null&&(a.labeledLink=z,b.add(a))),z}else if(x!==null&&(x=z.Jo(x),typeof x=="object"&&x!==null))return a!==null&&Tg(z,x,z.wa(a.data),!0),Ag(z,x,re,!0),E!==null&&Tg(z,x,z.wa(E.data),!1),Ag(z,x,y,!1),z.fi(x),a=ne.archetypeLabelNodeData,a===null||a instanceof yi||(a=z.copyNodeData(a),typeof a=="object"&&a!==null&&(z.xf(a),a=z.wa(a),a!==void 0&&z.Bu(x,a))),b.Kc(x);return null},Ds.prototype.findLinkForKey=Ds.prototype.findLinkForKey,Ds.prototype.findPartForKey=Ds.prototype.findPartForKey,Ds.prototype.removeAllModeledParts=Ds.prototype.removeAllModeledParts,Ds.prototype.addModeledParts=Ds.prototype.addModeledParts,Ds.prototype.addAllModeledParts=Ds.prototype.addAllModeledParts,Ds.className="GraphLinksPartManager";function ju(){Fo.apply(this,arguments),this.Sg=null}Kt(ju,Fo);function f0(a,y,E){if(y!==null&&E!==null&&E.kh()===null){var x=a.diagram.toolManager.findTool("Linking"),b=y,z=E;if(a.diagram.isTreePathToChildren||(b=E,z=y),(x===null||!mo(x,b,z,null,!0))&&(y=a.getLinkCategoryForData(E.data),x=a.findLinkTemplateForCategory(y),x!==null&&(tc(x),x=x.copy(),x!==null))){var ne=a.diagram.skipsModelSourceBindings;a.diagram.skipsModelSourceBindings=!0,x.Tf=y,x.ub=E.data,x.fromNode=b,x.toNode=z,a.diagram.add(x),x.ub=null,x.data=E.data,a.diagram.skipsModelSourceBindings=ne}}}ju.prototype.getLinkCategoryForData=function(a){return this.diagram.model.ss(a)},ju.prototype.setLinkCategoryForData=function(a,y){this.diagram.model.Ms(a,y)},ju.prototype.setFromNodeForLink=function(a,y,E){var x=this.diagram.model;if(E===void 0&&(E=null),y=y!==null?y.data:null,this.diagram.isTreePathToChildren)x.qe(a.data,x.wa(y));else{var b=this.Sg;this.Sg=a,E!==null&&x.qe(E.data,void 0),x.qe(y,x.wa(a.toNode!==null?a.toNode.data:null)),this.Sg=b}},ju.prototype.setToNodeForLink=function(a,y,E){var x=this.diagram.model;if(E===void 0&&(E=null),y=y!==null?y.data:null,this.diagram.isTreePathToChildren){var b=this.Sg;this.Sg=a,E!==null&&x.qe(E.data,void 0),x.qe(y,x.wa(a.fromNode!==null?a.fromNode.data:null)),this.Sg=b}else x.qe(a.data,x.wa(y))},ju.prototype.removeDataForLink=function(a){this.diagram.model.qe(a.data,void 0)},ju.prototype.findLinkForKey=function(a){return a==null?null:(a=this.diagram.model.hc(a),a!==null?this.bf.I(a):null)},ju.prototype.doModelChanged=function(a){if(Fo.prototype.doModelChanged.call(this,a),this.diagram){var y=this.diagram;if(a.model===y.model){var E=a.change;if(y.aa){y.aa=!1;try{var x=a.modelChange;if(x!==""){if(E===Qo){if(x==="nodeParentKey"){var b=a.object,z=this.Vb(a.newValue),ne=this.ii(b);if(this.Sg!==null)z!==null&&(this.Sg.data=b,this.Sg.category=this.getLinkCategoryForData(b));else if(ne!==null){var re=ne.kh();re!==null?z===null?y.remove(re):y.isTreePathToChildren?re.fromNode=z:re.toNode=z:f0(this,z,ne)}}else if(x==="parentLinkCategory"){var oe=this.ii(a.object),he=a.newValue;if(oe!==null&&typeof he=="string"){var fe=oe.kh();fe!==null&&(fe.category=he)}}y.isModified=!0}}else if(E===Qo){var Se=a.propertyName;a.object===y.model&&Se==="nodeParentKeyProperty"&&(y.undoManager.isUndoingRedoing||this.Wd()),y.isModified=!0}}finally{y.aa=!0}}}}},ju.prototype.updateRelationshipsFromData=function(a){var y=a.data;if(y!==null){var E=a.diagram;if(E!==null){var x=E.model;a instanceof yi&&(y=x.mh(y),y=E.Vb(y),x=a.pg(),y!==x&&(x=a.kh(),y!==null?x!==null?E.isTreePathToChildren?x.fromNode=y:x.toNode=y:f0(this,y,a):x!==null&&Kg(E,x,!1)))}}},ju.prototype.updateDataBindings=function(a,y){Fo.prototype.updateDataBindings.call(this,a,y),typeof y=="string"&&this.Lc(a)!==null&&(a=this.Kc(a),a!==null&&a.La(y))},ju.prototype.resolveReferencesForData=function(a){var y=this.diagram.model,E=y.wa(a);if(E!==void 0){var x=Op(y,E),b=this.Lc(a);if(x!==null&&b!==null){for(x=x.iterator;x.next();){var z=x.value;y.lb(z)&&b instanceof yi&&y.mh(z)===E&&f0(this,b,this.ii(z))}Lc(y,E)}a=y.mh(a),a!==void 0&&b instanceof yi&&(a=this.Vb(a),f0(this,a,b))}},ju.prototype.unresolveReferencesForPart=function(a){var y=this.diagram.model;if(a instanceof yi){var E=y.wa(a.data),x=this.Kc(a.data);if(x!==null){x.isSelected=!1,x.isHighlighted=!1;var b=x.layer;if(b!==null){var z=b.pc(-1,x,!1);0<=z&&this.diagram.cb(Va,"parts",b,x,null,z,null),z=x.layerChanged,z!==null&&z(x,b,null)}}for(x=this.diagram.isTreePathToChildren,a=a.linksConnected;a.next();)b=a.value,b=(x?b.toNode:b.fromNode).data,y.lb(b)&&Nc(y,E,b)}},ju.prototype.insertLink=function(a,y,E){y=this.diagram.model;var x=a,b=E;return this.diagram.isTreePathToChildren||(x=E,b=a),x!==null&&b!==null?(y.qe(b.data,y.wa(x.data)),b.kh()):null},ju.prototype.findLinkForKey=ju.prototype.findLinkForKey,ju.className="TreePartManager";function _i(a,y){this.kl=new Rt,this.il=new Rt,this.Wv=`,
|
|
|
"insertedNodeKeys": `,this.jy=`,
|
|
|
"modifiedNodeData": `,this.Yv=`,
|
|
|
"removedNodeKeys": `,this.vh=null,ut(this),this.Sm=this.xa="",this.Gg=!1,this.j={},this.Tc=[],this.kb=new Fn,this.Th="key",this.Bk=this.bl=null,this.Jm=this.Km=!1,this.Mm=!0,this.xm=null,this.lj="category",this.Vf=new Fn,this.Lt=new Qn,this.Wg=!1,this.o=null,this.undoManager=new va,a!==void 0&&(qi(a)?this.nodeDataArray=a:y=a),y&&(Object.assign(this,y),a=y.Changed)&&(delete this.Changed,this.Pe(a))}_i.prototype.cloneProtected=function(a){a.xa=this.xa,a.Sm=this.Sm,a.Gg=this.Gg,a.Th=this.Th,a.bl=this.bl,a.Bk=this.Bk,a.Km=this.Km,a.Jm=this.Jm,a.Mm=this.Mm,a.xm=this.xm,a.lj=this.lj},_i.prototype.copy=function(){var a=new this.constructor;return this.cloneProtected(a),a},_i.prototype.clear=function(){this.Tc=[],this.kb.clear(),this.Vf.clear(),this.undoManager.clear()},_i.prototype.toString=function(a){if(a===void 0&&(a=0),1<a)return this.np();var y=(this.name!==""?this.name:"")+" Model";if(0<a){y+=`
|
|
|
node data:`,a=this.nodeDataArray;for(var E=a.length,x=0;x<E;x++){var b=a[x];y+=" "+this.wa(b)+":"+Zr(b)}}return y},_i.prototype.xA=function(a){a.change!==Vs&&tn("Model.toIncrementalData argument is not a Transaction ChangedEvent:"+a.toString());var y=a.object;return a.isTransactionFinished&&y instanceof is?(C1(this,y),a=this.Qv(y,a.propertyName==="FinishedUndo"),this.vh=null,a):null},_i.prototype.Qv=function(a,y){var E=this,x=!1,b=new Rt,z=new Rt,ne=new Rt,re=this.vh;a.changes.each(function(Se){Se.model===E&&(Se.modelChange==="nodeDataArray"?Se.change===Oa?b.add(Se.newValue):Se.change===Va&&ne.add(Se.oldValue):E.lb(Se.object)?z.add(Se.object):Se.change!==Qo||E.modelData!==Se.object&&Se.propertyName!=="modelData"?Se.object!==null&&(re&&re.contains(Se.object)?re.get(Se.object).each(function(Te){E.lb(Te)&&z.add(Te)}):Se.object instanceof _i||E.ri()&&E.Jc(Se.object)||T1(E,Se.object).each(function(Te){z.add(Te)})):x=!0)});var oe=this.il;oe.clear(),b.each(function(Se){oe.add(E.wa(Se)),y||z.add(Se)});var he=this.kl;he.clear(),ne.each(function(Se){he.add(E.wa(Se)),y&&z.add(Se)}),a=E.cloneDeep(z.Fa());var fe=null;return x&&(fe===null&&(fe={}),fe.modelData=this.cloneDeep(this.modelData)),0<oe.count&&(fe===null&&(fe={}),y?fe.removedNodeKeys=oe.Fa():fe.insertedNodeKeys=oe.Fa()),0<a.length&&(fe===null&&(fe={}),fe.modifiedNodeData=a),0<he.count&&(fe===null&&(fe={}),y?fe.insertedNodeKeys=he.Fa():fe.removedNodeKeys=he.Fa()),he.clear(),oe.clear(),fe},_i.prototype.cloneDeep=function(a){return Cg(this,a,!0)};function Cg(a,y,E,x,b,z){function ne(Se,Te){re?(Se.__gohashid===void 0&&z.push(Se),x.set(Se,Te)):(Se=Ft++,x.set(Se,Te),b.set(Se,y))}if(!jn(y))return y;z||(z=[]);var re=Object.isExtensible(y);if(x||(x=new Fn),re){var oe=x.get(y);if(oe)return oe}else for(b||(b=new Fn),oe=b.iterator;oe.next();){var he=oe.key;if(oe.value===y&&(he=x.get(he)))return he}if(Array.isArray(y)){oe=[],ne(y,oe);for(var fe=0;fe<y.length;fe++)oe.push(Cg(a,y[fe],!1,x,b,z))}else if(y instanceof st||y instanceof fn||y instanceof an||y instanceof Zi||y instanceof wi)oe=y.copy(),ne(y,oe);else{if(y instanceof Oo||y instanceof Jn||y instanceof nn)return y;if(y instanceof Qn)oe=new Qn().addAll(Cg(a,y.Fa(),!1,x,b,z)),ne(y,oe);else if(y instanceof Rt)oe=new Rt().addAll(Cg(a,y.Fa(),!1,x,b,z)),ne(y,oe);else if(y instanceof Fn)oe=new Fn().addAll(Cg(a,y.Fa(),!1,x,b,z)),ne(y,oe);else if(y instanceof Date)oe=new Date(y.getTime()),ne(y,oe);else if(y instanceof RegExp)oe=new RegExp(y),ne(y,oe),oe.lastIndex=y.lastIndex;else if(typeof y.copy=="function")oe=y.copy(),ne(y,oe);else for(fe in oe={},ne(y,oe),y)fe!=="__gohashid"&&(oe[fe]=Cg(a,y[fe],!1,x,b,z))}return E&&z.forEach(function(Se){delete Se.__gohashid}),oe}Ie=_i.prototype,Ie.quote=function(a){return JSON.stringify(a).replace(/[\u007F-\uFFFF]/g,function(y){return"\\u"+("0000"+y.charCodeAt(0).toString(16)).substr(-4)})},Ie.rm=function(){var a="";return this.name!==""&&(a+=`,
|
|
|
"name": `+this.quote(this.name)),this.dataFormat!==""&&(a+=`,
|
|
|
"dataFormat": `+this.quote(this.dataFormat)),this.isReadOnly&&(a+=`,
|
|
|
"isReadOnly": `+this.isReadOnly),this.nodeKeyProperty!=="key"&&typeof this.nodeKeyProperty=="string"&&(a+=`,
|
|
|
"nodeKeyProperty": `+this.quote(this.nodeKeyProperty)),this.copiesArrays&&(a+=`,
|
|
|
"copiesArrays": true`),this.copiesArrayObjects&&(a+=`,
|
|
|
"copiesArrayObjects": true`),this.copiesKey||(a+=`,
|
|
|
"copiesKey": false`),this.nodeCategoryProperty!=="category"&&typeof this.nodeCategoryProperty=="string"&&(a+=`,
|
|
|
"nodeCategoryProperty": `+this.quote(this.nodeCategoryProperty)),a},Ie.gp=function(a){a.name&&(this.name=a.name),a.dataFormat&&(this.dataFormat=a.dataFormat),a.isReadOnly&&(this.isReadOnly=!0),a.nodeKeyProperty&&(this.nodeKeyProperty=a.nodeKeyProperty),a.copiesArrays&&(this.copiesArrays=!0),a.copiesArrayObjects&&(this.copiesArrayObjects=!0),a.copiesKey===!1&&(this.copiesKey=!1),a.nodeCategoryProperty&&(this.nodeCategoryProperty=a.nodeCategoryProperty)};function w1(a,y){y=y.modelData,jn(y)&&(a.dm(y),a.modelData=y)}Ie.Rv=function(){var a=this.modelData,y=!1,E;for(E in a)if(!A1(E,a[E])){y=!0;break}return a="",y&&(a=`,
|
|
|
"modelData": `+hy(this,this.modelData)),a+`,
|
|
|
"nodeDataArray": `+Sh(this,this.nodeDataArray,!0)},Ie.kv=function(a){w1(this,a),a=a.nodeDataArray,qi(a)&&(this.dm(a),this.nodeDataArray=a)};function C1(a,y){function E(b,z){if((z=z.part)&&(z=z.data,b!==z)){var ne=x.get(b);ne===null?(ne=new Rt,ne.add(z),x.add(b,ne)):ne.add(z)}}var x=a.vh;x===null&&(x=new Fn,y.changes.each(function(b){if(b.diagram!==null){var z=b.change;z===Qo?(b=b.object.panel)&&(z=b.data)&&E(z,b):(z===Oa||z===Va)&&(b=b.object,(z=b.itemArray)&&E(z,b))}}),a.vh=x)}function T1(a,y){for(var E=new Rt,x=0;x<a.nodeDataArray.length;x++){var b=a.nodeDataArray[x];g0(a,y,b,b,E)}return E}function g0(a,y,E,x,b){if(Array.isArray(E))for(var z=0;z<E.length;z++){var ne=E[z];if(ne===y)return b.add(x),!0;if(g0(a,y,ne,x,b))return!0}else if(jn(E)&&Object.getPrototypeOf(E)===Object.prototype)for(z in E){if(ne=E[z],ne===y)return b.add(x),!0;if(g0(a,y,ne,x,b))return!0}return!1}Ie.Pv=function(a,y){var E=this,x=!1,b=new Rt,z=new Rt,ne=new Rt,re=this.vh;a.changes.each(function(fe){fe.model===E&&(fe.modelChange==="nodeDataArray"?fe.change===Oa?b.add(fe.newValue):fe.change===Va&&ne.add(fe.oldValue):E.lb(fe.object)?z.add(fe.object):fe.change!==Qo||E.modelData!==fe.object&&fe.propertyName!=="modelData"?fe.object!==null&&(re&&re.contains(fe.object)?re.get(fe.object).each(function(Se){E.lb(Se)&&z.add(Se)}):fe.object instanceof _i||E.ri()&&E.Jc(fe.object)||T1(E,fe.object).each(function(Se){z.add(Se)})):x=!0)});var oe=this.il;oe.clear(),b.each(function(fe){oe.add(E.wa(fe)),y||z.add(fe)});var he=this.kl;return he.clear(),ne.each(function(fe){he.add(E.wa(fe)),y&&z.add(fe)}),a="",x&&(a+=`,
|
|
|
"modelData": `+hy(this,this.modelData)),0<oe.count&&(a+=(y?this.Yv:this.Wv)+Sh(this,oe.Fa(),!0)),0<z.count&&(a+=this.jy+Sh(this,z.Fa(),!0)),0<he.count&&(a+=(y?this.Wv:this.Yv)+Sh(this,he.Fa(),!0)),he.clear(),oe.clear(),a},Ie.fp=function(a){(a.name!==void 0&&a.name!==this.name||a.dataFormat!==void 0&&a.dataFormat!==this.dataFormat||a.isReadOnly!==void 0&&a.isReadOnly!==this.isReadOnly||a.nodeKeyProperty!==void 0&&a.nodeKeyProperty!==this.nodeKeyProperty||a.copiesArrays!==void 0&&a.copiesArrays!==this.copiesArrays||a.copiesArrayObjects!==void 0&&a.copiesArrayObjects!==this.copiesArrayObjects||a.copiesKey!==void 0&&a.copiesKey!==this.copiesKey||a.nodeCategoryProperty!==void 0&&a.nodeCategoryProperty!==this.nodeCategoryProperty)&&tn("applyIncrementalJson cannot change Model properties"),w1(this,a);var y=a.insertedNodeKeys,E=a.modifiedNodeData,x=new Fn;if(Array.isArray(E))for(var b=0;b<E.length;b++){var z=E[b],ne=this.wa(z);ne!=null&&x.set(ne,z)}if(Array.isArray(y))for(b=y.length,z=0;z<b;z++){ne=y[z];var re=this.hc(ne);re===null&&(re=(re=x.get(ne))?re:this.copyNodeData({}),this.km(re,ne),this.xf(re))}if(Array.isArray(E)){for(y=E.length,x=0;x<y;x++)if(b=E[x],z=this.wa(b),z=this.hc(z),z!==null){for(var oe in b)oe==="__gohashid"||oe===this.nodeKeyProperty||this.Wj()&&oe===this.nodeIsGroupProperty||this.setDataProperty(z,oe,b[oe]);this.lm(b,z)}}if(a=a.removedNodeKeys,Array.isArray(a))for(E=a.length,oe=0;oe<E;oe++)y=this.hc(a[oe]),y!==null&&this.cm(y)},Ie.$x=function(a,y){a.change!==Vs&&tn("Model.toIncrementalJson argument is not a Transaction ChangedEvent:"+a.toString());var E=a.object;return a.isTransactionFinished&&E instanceof is?(y===void 0&&(y=Dp(this,this)),C1(this,E),a=this.Pv(E,a.propertyName==="FinishedUndo"),this.vh=null,y==="2"?'{ "incremental": 2'+a+"}":'{ "class": '+this.quote(y)+', "incremental": 1'+this.rm()+a+"}"):'{ "incremental": 0 }'},Ie.yA=function(a,y){return this.$x(a,y)},Ie.np=function(a){return a===void 0&&(a=Dp(this,this)),'{ "class": '+this.quote(a)+this.rm()+this.Rv()+"}"},Ie.toJSON=function(a){return this.np(a)},Ie.Zw=function(a){var y=null;if(typeof a=="string")try{y=sn.JSON.parse(a)}catch(x){}else typeof a=="object"?y=a:tn("Unable to modify a Model from: "+a);var E=y.incremental;typeof E!="number"&&tn("Unable to apply non-incremental changes to Model: "+a),E!==0&&(this.Ea("applyIncrementalJson"),this.fp(y),this.eb("applyIncrementalJson"))},Ie.Ky=function(a){return this.Zw(a)},_i.constructGraphLinksModel=function(){return new _i},Ie=_i.prototype,Ie.dm=function(a){if(qi(a))for(var y=a.length,E=0;E<y;E++){var x=a[E];if(jn(x)){var b=E;x=this.dm(x),Array.isArray(a)?a[b]=x:tn("Cannot replace an object in an HTMLCollection or NodeList at "+b)}}else if(jn(a)){for(y in a)if(E=a[y],jn(E)&&(E=this.dm(E),a[y]=E,y==="points"&&Array.isArray(E))){for(b=E.length%2===0,x=0;x<E.length;x++)if(typeof E[x]!="number"){b=!1;break}if(b){for(b=new Qn,x=0;x<E.length/2;x++)b.add(new st(E[2*x],E[2*x+1]));b.freeze(),a[y]=b}}return zE(a)}return a},Ie.sm=function(a){return a===void 0?"undefined":a===null?"null":a===!0?"true":a===!1?"false":typeof a=="string"?this.quote(a):typeof a=="number"?a===1/0?"9e9999":a===-1/0?"-9e9999":isNaN(a)?'{"class":"NaN"}':a.toString():a instanceof Date?'{"class":"Date", "value":"'+a.toJSON()+'"}':a instanceof Number?this.sm(a.valueOf()):qi(a)?Sh(this,a):jn(a)?hy(this,a):typeof a=="function"?"null":a.toString()};function Sh(a,y,E){E===void 0&&(E=!1);var x=y.length;if(0>=x)return"[]";var b=new Jr;b.add("["),E&&1<x&&b.add(`
|
|
|
`);for(var z=0;z<x;z++){var ne=y[z];ne!==void 0&&(0<z&&(b.add(","),E&&b.add(`
|
|
|
`)),b.add(a.sm(ne)))}return E&&1<x&&b.add(`
|
|
|
`),b.add("]"),b.toString()}function A1(a,y){return y===void 0||a==="__gohashid"||a[0]==="_"||typeof y=="function"}function kl(a){return isNaN(a)?"NaN":a===1/0?"9e9999":a===-1/0?"-9e9999":a}function hy(a,y){var E=y;if(E instanceof st)y={class:"go.Point",x:kl(E.x),y:kl(E.y)};else if(E instanceof fn)y={class:"go.Size",width:kl(E.width),height:kl(E.height)};else if(E instanceof an)y={class:"go.Rect",x:kl(E.x),y:kl(E.y),width:kl(E.width),height:kl(E.height)};else if(E instanceof Zi)y={class:"go.Margin",top:kl(E.top),right:kl(E.right),bottom:kl(E.bottom),left:kl(E.left)};else if(E instanceof wi)E.sb()?y={class:"go.Spot",x:kl(E.x),y:kl(E.y),offsetX:kl(E.offsetX),offsetY:kl(E.offsetY)}:y={class:"go.Spot",enum:E.toString()};else if(E instanceof Oo){if(y={class:"go.Brush",type:E.type.name},E.type===Hd?y.color=E.color:(E.type===bd||E.type===Hu)&&(y.start=E.start,y.end=E.end,E.type===Hu&&(E.startRadius!==0&&(y.startRadius=kl(E.startRadius)),isNaN(E.endRadius)||(y.endRadius=kl(E.endRadius)))),E.colorStops!==null){var x={};for(E=E.colorStops.iterator;E.next();)x[E.key]=E.value;y.colorStops=x}}else E instanceof Jn?(y={class:"go.Geometry",type:E.type.name},E.startX!==0&&(y.startX=kl(E.startX)),E.startY!==0&&(y.startY=kl(E.startY)),E.endX!==0&&(y.endX=kl(E.endX)),E.endY!==0&&(y.endY=kl(E.endY)),E.spot1.D(ka)||(y.spot1=E.spot1),E.spot2.D(ws)||(y.spot2=E.spot2),E.type===Jn.o&&(y.path=Jn.ia(E))):E instanceof nn&&(y={class:"go.EnumValue",classType:Dp(a,E.classType),name:E.name});x="{",E=!0;for(var b in y){var z=ls(y,b);if(!A1(b,z))if(E?E=!1:x+=",",x+=a.quote(b)+":",b==="points"&&z instanceof Qn){var ne="[";for(z=z.iterator;z.next();){var re=z.value;1<ne.length&&(ne+=","),ne+=a.sm(re.x),ne+=",",ne+=a.sm(re.y)}ne+="]",x+=ne}else x+=a.sm(z)}return x+"}"}function Il(a){return typeof a=="number"?a:a==="NaN"?NaN:a==="9e9999"?1/0:a==="-9e9999"?-1/0:parseFloat(a)}function zE(a){if(typeof a!="object")return a;var y=a.class||"";if(y==="NaN")return NaN;if(y==="Date")return new Date(a.value);if(y.indexOf("go.")!==0)return a;y=y.substr(3);var E=a;if(y==="Point")E=new st(Il(a.x),Il(a.y));else if(y==="Size")E=new fn(Il(a.width),Il(a.height));else if(y==="Rect")E=new an(Il(a.x),Il(a.y),Il(a.width),Il(a.height));else if(y==="Margin")E=new Zi(Il(a.top),Il(a.right),Il(a.bottom),Il(a.left));else if(y==="Spot")typeof a.enum=="string"?E=vs(a.enum):E=new wi(Il(a.x),Il(a.y),Il(a.offsetX),Il(a.offsetY));else if(y==="Brush"){if(E=new Oo,E.type=pr(Oo,a.type),typeof a.color=="string"&&(E.color=a.color),a.start instanceof wi&&(E.start=a.start),a.end instanceof wi&&(E.end=a.end),typeof a.startRadius=="number"&&(E.startRadius=Il(a.startRadius)),typeof a.endRadius=="number"&&(E.endRadius=Il(a.endRadius)),a=a.colorStops,jn(a))for(var x in a)E.addColorStop(parseFloat(x),a[x])}else y==="Geometry"?(E=null,typeof a.path=="string"?E=Jn.parse(a.path):E=new Jn,E.type=pr(Jn,a.type),typeof a.startX=="number"&&(E.startX=Il(a.startX)),typeof a.startY=="number"&&(E.startY=Il(a.startY)),typeof a.endX=="number"&&(E.endX=Il(a.endX)),typeof a.endY=="number"&&(E.endY=Il(a.endY)),a.spot1 instanceof wi&&(E.spot1=a.spot1),a.spot2 instanceof wi&&(E.spot2=a.spot2)):y==="EnumValue"&&(x=a.classType,x.indexOf("go.")===0&&(x=x.substr(3)),x=gy(x),typeof x=="function"&&(E=pr(x,a.name)));return E}Ie.Pe=function(a){return this.Lt.add(a),this},Ie.ik=function(a){this.Lt.remove(a)},Ie.ds=function(a){this.skipsUndoManager||this.undoManager.Tu(a);for(var y=this.Lt,E=y.length,x=0;x<E;x++)y.M(x)(a)},Ie.cb=function(a,y,E,x,b,z,ne){bs(this,"",a,y,E,x,b,z,ne)},Ie.g=function(a,y,E,x,b){bs(this,"",Qo,a,this,y,E,x,b)},Ie.Fs=function(a,y,E,x,b,z){bs(this,"",Qo,y,a,E,x,b,z)};function bs(a,y,E,x,b,z,ne,re,oe){re===void 0&&(re=null),oe===void 0&&(oe=null);var he=new da;he.model=a,he.change=E,he.modelChange=y,he.propertyName=x,he.object=b,he.oldValue=z,he.oldParam=re,he.newValue=ne,he.newParam=oe,a.ds(he)}_i.prototype.changeState=function(a,y){if(a!==null&&a.model===this)if(a.change===Qo){var E=a.object,x=a.propertyName,b=a.I(y);x===this.nodeKeyProperty&&this.lb(E)&&(y=a.I(!y),y!==void 0&&this.kb.remove(y),b!==void 0&&this.kb.add(b,E)),xa(E,x,b)}else a.change===Oa?(E=a.newParam,a.modelChange==="nodeDataArray"?(a=a.newValue,jn(a)&&typeof E=="number"&&(x=this.wa(a),y?(this.Tc[E]===a&&ko(this.Tc,E),x!==void 0&&this.kb.remove(x)):(this.Tc[E]!==a&&jo(this.Tc,E,a),x!==void 0&&this.kb.add(x,a)))):a.modelChange===""?((x=a.object)&&!qi(x)&&a.propertyName&&(x=ls(a.object,a.propertyName)),qi(x)&&typeof E=="number"&&(a=a.newValue,y?ko(x,E):jo(x,E,a))):tn("unknown ChangedEvent.Insert modelChange: "+a.toString())):a.change===Va?(E=a.oldParam,a.modelChange==="nodeDataArray"?(a=a.oldValue,jn(a)&&typeof E=="number"&&(x=this.wa(a),y?(this.Tc[E]!==a&&jo(this.Tc,E,a),x!==void 0&&this.kb.add(x,a)):(this.Tc[E]===a&&ko(this.Tc,E),x!==void 0&&this.kb.remove(x)))):a.modelChange===""?((x=a.object)&&!qi(x)&&a.propertyName&&(x=ls(a.object,a.propertyName)),qi(x)&&typeof E=="number"&&(a=a.oldValue,y?jo(x,E,a):ko(x,E))):tn("unknown ChangedEvent.Remove modelChange: "+a.toString())):a.change!==Vs&&tn("unknown ChangedEvent: "+a.toString())},_i.prototype.Ea=function(a){return this.undoManager.Ea(a)},_i.prototype.eb=function(a){return this.undoManager.eb(a)},_i.prototype.Kf=function(){return this.undoManager.Kf()},_i.prototype.commit=function(a,y){y===void 0&&(y="");var E=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var x=!1;try{a(this),x=!0}finally{x?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=E}},Ie=_i.prototype,Ie.La=function(a,y){y===void 0&&(y=""),bs(this,"SourceChanged",Vs,y,a,null,null)},Ie.wa=function(a){if(a!==null){var y=this.Th;if(y!==""&&(y=ls(a,y),y!==void 0)){if(Eh(y))return y;tn("Key value for node data "+a+" is not a number or a string: "+y)}}},Ie.km=function(a,y){if(a!==null){var E=this.Th;if(E!=="")if(this.lb(a)){var x=ls(a,E);x!==y&&this.hc(y)===null&&(xa(a,E,y),x!==void 0&&this.kb.remove(x),this.kb.add(y,a),bs(this,"nodeKey",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E),this.jp(x,y))}else xa(a,E,y)}};function Eh(a){return typeof a=="number"||typeof a=="string"}Ie.lb=function(a){var y=this.wa(a);return y===void 0?!1:this.kb.I(y)===a},Ie.hc=function(a){return a===null&&tn("Model.findNodeDataForKey:key must not be null"),a!==void 0&&Eh(a)?this.kb.I(a):null},Ie.$u=function(a){if(a!==null){var y=this.Th;if(y!==""){var E=this.wa(a);if(E===void 0||this.kb.contains(E)){var x=this.bl;if(x!==null&&(E=x(this,a),E!=null&&!this.kb.contains(E))){xa(a,y,E);return}if(typeof E=="string"){for(x=2;this.kb.contains(E+x);)x++;xa(a,y,E+x)}else if(E===void 0||typeof E=="number"){for(E=-this.kb.count-1;this.kb.contains(E);)E--;xa(a,y,E)}}}}},Ie.xf=function(a){a!==null&&(Dn(a),this.lb(a)||P1(this,a,!0))};function P1(a,y,E){var x=a.wa(y);(x===void 0||a.kb.I(x)!==y)&&(a.$u(y),x=a.wa(y),x===void 0&&tn("Model.makeNodeDataKeyUnique failed on "+y+". Data not added to Model."),a.kb.add(x,y),x=null,E&&(x=a.Tc.length,jo(a.Tc,x,y)),bs(a,"nodeDataArray",Oa,"nodeDataArray",a,null,y,null,x),a.fm(y),a.em(y))}Ie.Fy=function(a){if(qi(a))for(var y=a.length,E=0;E<y;E++)this.xf(a[E]);else for(a=a.iterator;a.next();)this.xf(a.value)},Ie.cm=function(a){a!==null&&N1(this,a,!0)};function N1(a,y,E){var x=a.wa(y);if(x!==void 0&&a.kb.remove(x),x=null,E){e:if(E=a.Tc,Array.isArray(E))x=E.indexOf(y);else{x=E.length;for(var b=0;b<x;b++)if(E[b]===y){x=b;break e}x=-1}if(0>x)return;ko(a.Tc,x)}bs(a,"nodeDataArray",Va,"nodeDataArray",a,y,null,x,null),a.qp(y)}Ie.nA=function(a){if(qi(a))for(var y=a.length,E=0;E<y;E++)this.cm(a[E]);else for(a=a.iterator;a.next();)this.cm(a.value)},Ie.$z=function(a){if(a!==this.nodeDataArray&&qi(a)){var y=this.kl;y.clear(),y.addAll(this.kb.iteratorKeys);var E=this.il;E.clear();for(var x=a.length,b=0;b<x;b++){var z=a[b],ne=this.wa(z);if(ne!==void 0){E.add(ne);var re=this.hc(ne);re!==z&&(re!==null?(this.Do(re,z),this.lm(z,re)):(z=this.cloneDeep(z),this.km(z,ne),this.xf(z)))}else ne=this.cloneDeep(z),this.xf(ne),E.add(this.wa(ne))}for(a=y.iterator;a.next();)x=a.value,E.contains(x)||(x=this.hc(x))&&this.cm(x);y.clear(),E.clear()}},Ie.jp=function(a,y){y!==void 0&&(a=Op(this,a),a instanceof Rt&&this.Vf.add(y,a))},Ie.Lv=function(){},Ie.fm=function(){},Ie.em=function(){},Ie.qp=function(){};function Nc(a,y,E){if(y!==void 0){var x=a.Vf.I(y);x===null&&(x=new Rt,a.Vf.add(y,x)),x.add(E)}}function Lc(a,y,E){if(y!==void 0){var x=a.Vf.I(y);x instanceof Rt&&(E==null?a.Vf.remove(y):(x.remove(E),x.count===0&&a.Vf.remove(y)))}}function Op(a,y){return y===void 0?null:(a=a.Vf.I(y),a instanceof Rt?a:null)}Ie.Qy=function(a){a===void 0?this.Vf.clear():this.Vf.remove(a)},_i.prototype.copyNodeData=function(a){if(a===null)return null;var y=this.Bk;return a=y!==null?y(a,this):p0(this,a,!0),jn(a)&&ut(a),a};function p0(a,y,E){if(a.copiesArrays&&Array.isArray(y)){var x=[];for(E=0;E<y.length;E++){var b=p0(a,y[E],a.copiesArrayObjects);x.push(b)}return ut(x),x}if(E&&jn(y)){E=(E=y.constructor)?new E:{},b=a.copiesKey||typeof a.nodeKeyProperty!="string"?null:a.nodeKeyProperty;for(x in y)if(x==="__gohashid")E.__gohashid=void 0;else if(x===b)E[b]=void 0;else{var z=ls(y,x),ne=Dp(a,z);ne==="GraphObject"||ne==="Diagram"||ne==="Layer"||ne==="RowColumnDefinition"||ne==="AnimationManager"||ne==="Tool"||ne==="CommandHandler"||ne==="Layout"||ne==="InputEvent"||ne==="DiagramEvent"||z instanceof _i||z instanceof va||z instanceof is||z instanceof da||(z=p0(a,z,!1)),xa(E,x,z)}return ut(E),E}return y instanceof st||y instanceof fn||y instanceof an||y instanceof wi||y instanceof Zi?y.copy():y}_i.prototype.setDataProperty=function(a,y,E){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,E);return}if(y===this.nodeCategoryProperty){this.jm(a,E);return}}else!L1&&a instanceof Ut&&(L1=!0,Hr('Model.setDataProperty is modifying a GraphObject, "'+a.toString()+'"'),Hr(" Is that really your intent?"));var x=ls(a,y);x!==E&&(xa(a,y,E),this.Fs(a,y,x,E))},Ie=_i.prototype,Ie.set=function(a,y,E){this.setDataProperty(a,y,E)},Ie.Do=function(a,y){if(y){var E=this.lb(a),x;for(x in y)x==="__gohashid"||E&&x===this.nodeKeyProperty||this.setDataProperty(a,x,y[x])}},Ie.Ay=function(a,y){this.ts(a,-1,y)},Ie.ts=function(a,y,E){0>y&&(y=a.length),jo(a,y,E),bs(this,"",Oa,"",a,null,E,null,y)},Ie.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&tn("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var E=a[y];ko(a,y),bs(this,"",Va,"",a,E,null,y,null)},Ie.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=ls(a,y),y===void 0))return"";if(typeof y=="string")return y;tn("getCategoryForNodeData found a non-string category for "+a+": "+y)},Ie.jm=function(a,y){if(a!==null){var E=this.lj;if(E!=="")if(this.lb(a)){var x=ls(a,E);x===void 0&&(x=""),x!==y&&(xa(a,E,y),bs(this,"nodeCategory",Qo,E,a,x,y))}else xa(a,E,y)}},Ie.lm=function(a,y){this.jm(y,this.Ro(a))},Ie.Tl=function(){return!1},Ie.Wj=function(){return!1},Ie.ri=function(){return!1},Ie.xs=function(){return!1},Ie.Xj=function(){return!1};function fy(){return new _i}function Dp(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 Dp(a,y.constructor);return typeof y}function gy(a){return vc[a]?vc[a]:sn.go!==void 0&&sn.go[a]?sn.go[a]:null}function ls(a,y){if(!a||!y)return null;try{if(typeof y=="function")var E=y(a);else typeof a.getAttribute=="function"?(E=a.getAttribute(y),E===null&&(E=void 0)):E=a[y]}catch(x){}return E}function xa(a,y,E){if(a&&y)try{typeof y=="function"?y(a,E):typeof a.setAttribute=="function"?a.setAttribute(y,E):a[y]=E}catch(x){}}bn.Object.defineProperties(_i.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===""&&tn("Model.nodeKeyProperty may not be the empty string"),0<this.kb.count&&tn("Cannot set Model.nodeKeyProperty when there is existing node data"),this.Th=a,this.g("nodeKeyProperty",y,a))}},makeUniqueKeyFunction:{get:function(){return this.bl},set:function(a){var y=this.bl;y!==a&&(this.bl=a,this.g("makeUniqueKeyFunction",y,a))}},nodeDataArray:{get:function(){return this.Tc},set:function(a){var y=this.Tc;if(y!==a){this.kb.clear(),this.Lv();for(var E=a.length,x=0;x<E;x++){var b=a[x];jn(b)||tn("Model.nodeDataArray must only contain Objects, not: "+b),Dn(b)}for(this.Tc=a,x=new Qn,b=0;b<E;b++){var z=a[b],ne=this.wa(z);ne===void 0||this.kb.I(ne)!==null?x.add(z):this.kb.add(ne,z)}for(x=x.iterator;x.next();)b=x.value,this.$u(b),z=this.wa(b),z!==void 0&&this.kb.add(z,b);for(bs(this,"nodeDataArray",Qo,"nodeDataArray",this,y,a),y=0;y<E;y++)x=a[y],this.fm(x),this.em(x);Array.isArray(a)||(this.isReadOnly=!0)}}},copyNodeDataFunction:{get:function(){return this.Bk},set:function(a){var y=this.Bk;y!==a&&(this.Bk=a,this.g("copyNodeDataFunction",y,a))}},copiesArrays:{get:function(){return this.Km},set:function(a){var y=this.Km;y!==a&&(this.Km=a,this.g("copiesArrays",y,a))}},copiesArrayObjects:{get:function(){return this.Jm},set:function(a){var y=this.Jm;y!==a&&(this.Jm=a,this.g("copiesArrayObjects",y,a))}},copiesKey:{get:function(){return this.Mm},set:function(a){var y=this.Mm;y!==a&&(this.Mm=a,this.g("copiesKey",y,a))}},afterCopyFunction:{get:function(){return this.xm},set:function(a){var y=this.xm;y!==a&&(this.xm=a,this.g("afterCopyFunction",y,a))}},nodeCategoryProperty:{get:function(){return this.lj},set:function(a){var y=this.lj;y!==a&&(this.lj=a,this.g("nodeCategoryProperty",y,a))}},type:{get:function(){return"Model"}}}),_i.prototype.setCategoryForNodeData=_i.prototype.jm,_i.prototype.getCategoryForNodeData=_i.prototype.Ro,_i.prototype.removeArrayItem=_i.prototype.ov,_i.prototype.insertArrayItem=_i.prototype.ts,_i.prototype.addArrayItem=_i.prototype.Ay,_i.prototype.assignAllDataProperties=_i.prototype.Do,_i.prototype.set=_i.prototype.set,_i.prototype.clearUnresolvedReferences=_i.prototype.Qy,_i.prototype.mergeNodeDataArray=_i.prototype.$z,_i.prototype.removeNodeDataCollection=_i.prototype.nA,_i.prototype.removeNodeData=_i.prototype.cm,_i.prototype.addNodeDataCollection=_i.prototype.Fy,_i.prototype.addNodeData=_i.prototype.xf,_i.prototype.makeNodeDataKeyUnique=_i.prototype.$u,_i.prototype.findNodeDataForKey=_i.prototype.hc,_i.prototype.containsNodeData=_i.prototype.lb,_i.prototype.setKeyForNodeData=_i.prototype.km,_i.prototype.getKeyForNodeData=_i.prototype.wa,_i.prototype.updateTargetBindings=_i.prototype.La,_i.prototype.commit=_i.prototype.commit,_i.prototype.rollbackTransaction=_i.prototype.Kf,_i.prototype.commitTransaction=_i.prototype.eb,_i.prototype.startTransaction=_i.prototype.Ea,_i.prototype.raiseDataChanged=_i.prototype.Fs,_i.prototype.raiseChanged=_i.prototype.g,_i.prototype.raiseChangedEvent=_i.prototype.cb,_i.prototype.removeChangedListener=_i.prototype.ik,_i.prototype.addChangedListener=_i.prototype.Pe,_i.prototype.writeJsonValue=_i.prototype.sm,_i.prototype.replaceJsonObjects=_i.prototype.dm,_i.prototype.applyIncrementalJSON=_i.prototype.Ky,_i.prototype.applyIncrementalJson=_i.prototype.Zw,_i.prototype.toJSON=_i.prototype.toJSON,_i.prototype.toJson=_i.prototype.np,_i.prototype.toIncrementalJSON=_i.prototype.yA,_i.prototype.toIncrementalJson=_i.prototype.$x,_i.prototype.toIncrementalData=_i.prototype.xA,_i.prototype.clear=_i.prototype.clear;var L1=!1,vc={};_i.className="Model",_i.fromJSON=_i.fromJson=function(a,y){y===void 0&&(y=null);var E=null;if(typeof a=="string")try{E=sn.JSON.parse(a)}catch(z){}else typeof a=="object"?E=a:tn("Unable to construct a Model from: "+a);if(y===null){a=null;var x=E.class;if(typeof x=="string")try{var b=null;x.indexOf("go.")===0?(x=x.substr(3),b=gy(x)):(b=gy(x),b===null&&(b=sn[x])),typeof b=="function"&&(a=new b)}catch(z){}a===null||a instanceof _i?y=a:tn("Unable to construct a Model of declared class: "+E.class)}return y===null&&(y=_i.constructGraphLinksModel()),y.gp(E),y.kv(E),y},_i.safePropertyValue=ls,_i.safePropertySet=xa,vc.Brush=Oo,vc.ChangedEvent=da,vc.Geometry=Jn,vc.Margin=Zi,vc.Panel=Yn,vc.Point=st,vc.Rect=an,vc.Size=fn,vc.Spot=wi,vc.Transaction=is,vc.UndoManager=va;function cs(a,y,E,x){ut(this),this._isFrozen=!1,a===void 0&&(a=""),y===void 0&&(y=a),E===void 0&&(E=null),this.j=-1,this.xd=null,this.xl=a,this.wl=this.to=0,this.Cr=null,this.wn=!1,this.sl=y,this.Im=E,x===void 0?(this.el=I1,this.wk=null):(this.el=Fp,this.wk=x),this.st=new Rt}cs.prototype.copy=function(){var a=new cs;return a.xl=this.xl,a.to=this.to,a.wl=this.wl,a.Cr=this.Cr,a.wn=this.wn,a.sl=this.sl,a.Im=this.Im,a.el=this.el,a.wk=this.wk,a},Ie=cs.prototype,Ie.qb=function(a){a.classType===cs&&(this.mode=a)},Ie.toString=function(){return"Binding("+this.targetProperty+":"+this.sourceProperty+(this.Ai!==-1?" "+this.Ai:"")+" "+this.mode.name+")"},Ie.freeze=function(){return this._isFrozen=!0,this},Ie.ka=function(){return this._isFrozen=!1,this},Ie.Kx=function(a){return a===void 0&&(a=null),this.mode=Fp,this.backConverter=a,this},Ie.cp=function(a){return a===void 0&&(a=""),this.sourceName=a,this.isToModel=!1,this},Ie.dA=function(){return this.sourceName=null,this.isToModel=!0,this};function k1(a,y,E){return a=a.sourceName,a===null||a===""?y:a==="/"?E.part:a==="."?E:a===".."?E.panel:y.fb(a)}Ie.Mv=function(a,y,E){var x=this.sl;if(E===void 0||x===""||x===E){E=this.xl;var b=this.Im;if(b===null&&E==="")Hr("Binding error: target property is the empty string: "+this.toString());else{var z=y;if(x!==""&&(z=ls(y,x)),z!==void 0)if(b===null)E!==""&&xa(a,E,z);else try{if(E!==""){var ne=b(z,a);xa(a,E,ne)}else b(z,a)}catch(re){}}}},Ie.sp=function(a,y,E,x){if(this.el===Fp){var b=this.xl;if(E===void 0||b===E){E=this.sl;var z=this.wk,ne=a;if(b!==""&&(ne=ls(a,b)),ne!==void 0&&!this.st.contains(a))try{this.st.add(a);var re=x!==null?x.diagram:null,oe=re!==null?re.model:null;if(z===null){if(E!=="")oe!==null?oe.setDataProperty(y,E,ne):xa(y,E,ne);else if(oe!==null&&x!==null&&0<=x.itemIndex&&x.panel!==null&&Array.isArray(x.panel.itemArray)){var he=x.itemIndex,fe=x.panel.itemArray;oe.ov(fe,he),oe.ts(fe,he,ne)}}else try{if(E!==""){var Se=z(ne,y,oe);oe!==null?oe.setDataProperty(y,E,Se):xa(y,E,Se)}else{var Te=z(ne,y,oe);if(Te!==void 0&&oe!==null&&x!==null&&0<=x.itemIndex&&x.panel!==null&&Array.isArray(x.panel.itemArray)){var Ne=x.itemIndex,Be=x.panel.itemArray;oe.ov(Be,Ne),oe.ts(Be,Ne,Te)}}}catch(We){}}finally{this.st.remove(a)}}}},bn.Object.defineProperties(cs.prototype,{Ai:{get:function(){return this.j},set:function(a){this._isFrozen&&Hi(this),this.j=a}},targetProperty:{get:function(){return this.xl},set:function(a){this._isFrozen&&Hi(this),this.xl=a}},sourceName:{get:function(){return this.Cr},set:function(a){this._isFrozen&&Hi(this),this.Cr=a,a!==null&&(this.wn=!1)}},isToModel:{get:function(){return this.wn},set:function(a){this._isFrozen&&Hi(this),this.wn=a}},sourceProperty:{get:function(){return this.sl},set:function(a){this._isFrozen&&Hi(this),this.sl=a}},converter:{get:function(){return this.Im},set:function(a){this._isFrozen&&Hi(this),this.Im=a}},backConverter:{get:function(){return this.wk},set:function(a){this._isFrozen&&Hi(this),this.wk=a}},mode:{get:function(){return this.el},set:function(a){this._isFrozen&&Hi(this),this.el=a}}}),cs.prototype.updateSource=cs.prototype.sp,cs.prototype.updateTarget=cs.prototype.Mv,cs.prototype.ofModel=cs.prototype.dA,cs.prototype.ofObject=cs.prototype.cp,cs.prototype.makeTwoWay=cs.prototype.Kx;var jE="Binding",I1=new nn(cs,"OneWay",1),Fp=new nn(cs,"TwoWay",2);cs.className="Binding",cs.parseEnum=function(a,y){return function(E){return E=pr(a,E),E===null?y:E}},cs.toString=Zr,cs.OneWay=I1,cs.TwoWay=Fp;function ro(a,y,E){_i.call(this),this.Vv=`,
|
|
|
"insertedLinkKeys": `,this.iy=`,
|
|
|
"modifiedLinkData": `,this.Xv=`,
|
|
|
"removedLinkKeys": `,this.md=[],this.$f=new Rt,this.wb=new Fn,this.Jh="",this.Ri=this.Ak=this.cl=null,this.lf="from",this.mf="to",this.fj=this.ej="",this.dj="category",this.je="",this.jl="isGroup",this.Je="group",this.Lm=!1,y!==void 0&&(this.linkDataArray=y),a!==void 0&&(qi(a)?this.nodeDataArray=a:E=a),E&&(Object.assign(this,E),a=E.Changed)&&(delete this.Changed,this.Pe(a))}Kt(ro,_i),ro.constructGraphLinksModel=_i.constructGraphLinksModel,ro.prototype.cloneProtected=function(a){_i.prototype.cloneProtected.call(this,a),a.Jh=this.Jh,a.cl=this.cl,a.Ak=this.Ak,a.lf=this.lf,a.mf=this.mf,a.ej=this.ej,a.fj=this.fj,a.dj=this.dj,a.je=this.je,a.jl=this.jl,a.Je=this.Je,a.Lm=this.Lm},Ie=ro.prototype,Ie.clear=function(){_i.prototype.clear.call(this),this.md=[],this.wb.clear(),this.$f.clear()},Ie.toString=function(a){if(a===void 0&&(a=0),2<=a)return this.np();var y=(this.name!==""?this.name:"")+" GraphLinksModel";if(0<a){y+=`
|
|
|
node data:`,a=this.nodeDataArray;var E=a.length,x;for(x=0;x<E;x++){var b=a[x];y+=" "+this.wa(b)+":"+Zr(b)}for(y+=`
|
|
|
link data:`,a=this.linkDataArray,E=a.length,x=0;x<E;x++)b=a[x],y+=" "+Nu(this,b,!0)+"-->"+Nu(this,b,!1)}return y},Ie.Qv=function(a,y){this.linkKeyProperty===""&&tn("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var E=_i.prototype.Qv.call(this,a,y),x=this,b=new Rt,z=new Rt,ne=new Rt,re=this.vh;a.changes.each(function(fe){fe.model===x&&(fe.modelChange==="linkDataArray"?fe.change===Oa?b.add(fe.newValue):fe.change===Va&&ne.add(fe.oldValue):x.Jc(fe.object)?z.add(fe.object):fe.object!==null&&(fe.object!==null&&re&&re.contains(fe.object)?re.get(fe.object).each(function(Se){x.Jc(Se)&&z.add(Se)}):fe.object instanceof _i||x.lb(fe.object)||M1(x,fe.object).each(function(Se){z.add(Se)})))});var oe=this.il;oe.clear(),b.each(function(fe){oe.add(x.Ac(fe)),y||z.add(fe)});var he=this.kl;return he.clear(),ne.each(function(fe){he.add(x.Ac(fe)),y&&z.add(fe)}),a=x.cloneDeep(z.Fa()),0<oe.count&&(E===null&&(E={}),y?E.removedLinkKeys=oe.Fa():E.insertedLinkKeys=oe.Fa()),0<a.length&&(E===null&&(E={}),E.modifiedLinkData=a),0<he.count&&(E===null&&(E={}),y?E.insertedLinkKeys=he.Fa():E.removedLinkKeys=he.Fa()),he.clear(),oe.clear(),E},Ie.rm=function(){var a=_i.prototype.rm.call(this),y="";return this.linkCategoryProperty!=="category"&&typeof this.linkCategoryProperty=="string"&&(y+=`,
|
|
|
"linkCategoryProperty": `+this.quote(this.linkCategoryProperty)),this.linkKeyProperty!==""&&typeof this.linkKeyProperty=="string"&&(y+=`,
|
|
|
"linkKeyProperty": `+this.quote(this.linkKeyProperty)),this.linkFromKeyProperty!=="from"&&typeof this.linkFromKeyProperty=="string"&&(y+=`,
|
|
|
"linkFromKeyProperty": `+this.quote(this.linkFromKeyProperty)),this.linkToKeyProperty!=="to"&&typeof this.linkToKeyProperty=="string"&&(y+=`,
|
|
|
"linkToKeyProperty": `+this.quote(this.linkToKeyProperty)),this.linkFromPortIdProperty!==""&&typeof this.linkFromPortIdProperty=="string"&&(y+=`,
|
|
|
"linkFromPortIdProperty": `+this.quote(this.linkFromPortIdProperty)),this.linkToPortIdProperty!==""&&typeof this.linkToPortIdProperty=="string"&&(y+=`,
|
|
|
"linkToPortIdProperty": `+this.quote(this.linkToPortIdProperty)),this.linkLabelKeysProperty!==""&&typeof this.linkLabelKeysProperty=="string"&&(y+=`,
|
|
|
"linkLabelKeysProperty": `+this.quote(this.linkLabelKeysProperty)),this.nodeIsGroupProperty!=="isGroup"&&typeof this.nodeIsGroupProperty=="string"&&(y+=`,
|
|
|
"nodeIsGroupProperty": `+this.quote(this.nodeIsGroupProperty)),this.nodeGroupKeyProperty!=="group"&&typeof this.nodeGroupKeyProperty=="string"&&(y+=`,
|
|
|
"nodeGroupKeyProperty": `+this.quote(this.nodeGroupKeyProperty)),a+y},Ie.gp=function(a){_i.prototype.gp.call(this,a),a.linkKeyProperty&&(this.linkKeyProperty=a.linkKeyProperty),a.linkFromKeyProperty&&(this.linkFromKeyProperty=a.linkFromKeyProperty),a.linkToKeyProperty&&(this.linkToKeyProperty=a.linkToKeyProperty),a.linkFromPortIdProperty&&(this.linkFromPortIdProperty=a.linkFromPortIdProperty),a.linkToPortIdProperty&&(this.linkToPortIdProperty=a.linkToPortIdProperty),a.linkCategoryProperty&&(this.linkCategoryProperty=a.linkCategoryProperty),a.linkLabelKeysProperty&&(this.linkLabelKeysProperty=a.linkLabelKeysProperty),a.nodeIsGroupProperty&&(this.nodeIsGroupProperty=a.nodeIsGroupProperty),a.nodeGroupKeyProperty&&(this.nodeGroupKeyProperty=a.nodeGroupKeyProperty)},Ie.Rv=function(){var a=_i.prototype.Rv.call(this),y=`,
|
|
|
"linkDataArray": `+Sh(this,this.linkDataArray,!0);return a+y},Ie.kv=function(a){_i.prototype.kv.call(this,a),a=a.linkDataArray,Array.isArray(a)&&(this.dm(a),this.linkDataArray=a)};function M1(a,y){for(var E=new Rt,x=0;x<a.linkDataArray.length;x++){var b=a.linkDataArray[x];g0(a,y,b,b,E)}return E}Ie.Pv=function(a,y){this.linkKeyProperty===""&&tn("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalJson() to succeed.");var E=_i.prototype.Pv.call(this,a,y),x=this,b=new Rt,z=new Rt,ne=new Rt,re=this.vh;a.changes.each(function(fe){fe.model===x&&(fe.modelChange==="linkDataArray"?fe.change===Oa?b.add(fe.newValue):fe.change===Va&&ne.add(fe.oldValue):x.Jc(fe.object)?z.add(fe.object):fe.object!==null&&(fe.object!==null&&re&&re.contains(fe.object)?re.get(fe.object).each(function(Se){x.Jc(Se)&&z.add(Se)}):fe.object instanceof _i||x.lb(fe.object)||M1(x,fe.object).each(function(Se){z.add(Se)})))});var oe=this.il;oe.clear(),b.each(function(fe){oe.add(x.Ac(fe)),y||z.add(fe)});var he=this.kl;return he.clear(),ne.each(function(fe){he.add(x.Ac(fe)),y&&z.add(fe)}),a=E,0<oe.count&&(a+=(y?this.Xv:this.Vv)+Sh(this,oe.Fa(),!0)),0<z.count&&(a+=this.iy+Sh(this,z.Fa(),!0)),0<he.count&&(a+=(y?this.Vv:this.Xv)+Sh(this,he.Fa(),!0)),he.clear(),oe.clear(),a},Ie.fp=function(a){(a.linkCategoryProperty!==void 0&&a.linkCategoryProperty!==this.linkCategoryProperty||a.linkKeyProperty!==void 0&&a.linkKeyProperty!==this.linkKeyProperty||a.linkFromKeyProperty!==void 0&&a.linkFromKeyProperty!==this.linkFromKeyProperty||a.linkToKeyProperty!==void 0&&a.linkToKeyProperty!==this.linkToKeyProperty||a.linkFromPortIdProperty!==void 0&&a.linkFromPortIdProperty!==this.linkFromPortIdProperty||a.linkToPortIdProperty!==void 0&&a.linkToPortIdProperty!==this.linkToPortIdProperty||a.linkLabelKeysProperty!==void 0&&a.linkLabelKeysProperty!==this.linkLabelKeysProperty||a.nodeIsGroupProperty!==void 0&&a.nodeIsGroupProperty!==this.nodeIsGroupProperty||a.nodeGroupKeyProperty!==void 0&&a.nodeGroupKeyProperty!==this.nodeGroupKeyProperty)&&tn("applyIncrementalJson cannot change Model properties"),_i.prototype.fp.call(this,a);var y=a.insertedLinkKeys;if(Array.isArray(y))for(var E=y.length,x=0;x<E;x++){var b=y[x],z=this.jh(b);z===null&&(z=this.Jo({}),this.Ks(z,b),this.fi(z))}if(y=a.modifiedLinkData,Array.isArray(y)){for(E=y.length,x=0;x<E;x++)if(b=y[x],z=this.Ac(b),z=this.jh(z),z!==null){for(var ne in b)ne!=="__gohashid"&&ne!==this.linkKeyProperty&&this.setDataProperty(z,ne,b[ne]);D1(this,b,z)}}if(a=a.removedLinkKeys,Array.isArray(a))for(ne=a.length,y=0;y<ne;y++)E=this.jh(a[y]),E!==null&&this.bm(E)},ro.prototype.changeState=function(a,y){if(a!==null&&a.model===this){if(a.change===Qo){var E=a.object,x=a.propertyName;if(x===this.linkKeyProperty&&this.Jc(E)){var b=a.I(y);y=a.I(!y),y!==void 0&&this.wb.remove(y),b!==void 0&&this.wb.add(b,E),xa(E,x,b);return}}else if(a.change===Oa){if(E=a.newParam,a.modelChange==="linkDataArray"){a=a.newValue,jn(a)&&typeof E=="number"&&(x=this.Ac(a),y?(this.$f.remove(a),this.md[E]===a&&this.md.splice(E,1),x!==void 0&&this.wb.remove(x)):(this.$f.add(a),this.md[E]!==a&&this.md.splice(E,0,a),x!==void 0&&this.wb.add(x,a)));return}if(a.modelChange==="linkLabelKeys"){x=this.Ef(a.object),Array.isArray(x)&&typeof E=="number"&&(y?(E=x.indexOf(a.newValue),0<=E&&x.splice(E,1)):0>x.indexOf(a.newValue)&&x.splice(E,0,a.newValue));return}}else if(a.change===Va){if(E=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,jn(a)&&typeof E=="number"&&(x=this.Ac(a),y?(this.$f.add(a),this.md[E]!==a&&this.md.splice(E,0,a),x!==void 0&&this.wb.add(x,a)):(this.$f.remove(a),this.md[E]===a&&this.md.splice(E,1),x!==void 0&&this.wb.remove(x)));return}if(a.modelChange==="linkLabelKeys"){x=this.Ef(a.object),Array.isArray(x)&&typeof E=="number"&&(y?0>x.indexOf(a.newValue)&&x.splice(E,0,a.newValue):(E=x.indexOf(a.newValue),0<=E&&x.splice(E,1)));return}}_i.prototype.changeState.call(this,a,y)}},Ie=ro.prototype,Ie.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var E=this.hc(a);E===null&&(E=this.copyNodeData(y),xa(E,this.nodeKeyProperty,a),this.xf(E))}return a}},Ie.yx=function(a){return Nu(this,a,!0)},Ie.wv=function(a,y){Tg(this,a,y,!0)},Ie.Bx=function(a){return Nu(this,a,!1)},Ie.Bv=function(a,y){Tg(this,a,y,!1)};function Nu(a,y,E){if(y!==null&&(a=E?a.lf:a.mf,a!==""&&(a=ls(y,a),a!==void 0))){if(Eh(a))return a;tn((E?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function Tg(a,y,E,x){if(E===null&&(E=void 0),y!==null){var b=x?a.lf:a.mf;if(b!=="")if(E=a.Vl(E),a.Jc(y)){var z=ls(y,b);z!==E&&(Lc(a,z,y),xa(y,b,E),a.hc(E)===null&&Nc(a,E,y),bs(a,x?"linkFromKey":"linkToKey",Qo,b,y,z,E),typeof b=="string"&&a.La(y,b))}else xa(y,b,E)}}Ie.zx=function(a){return m0(this,a,!0)},Ie.xv=function(a,y){Ag(this,a,y,!0)},Ie.Cx=function(a){return m0(this,a,!1)},Ie.Cv=function(a,y){Ag(this,a,y,!1)};function m0(a,y,E){return y===null||(a=E?a.ej:a.fj,a==="")?"":(y=ls(y,a),y===void 0?"":y)}function Ag(a,y,E,x){if(y!==null){var b=x?a.ej:a.fj;if(b!=="")if(a.Jc(y)){var z=ls(y,b);z===void 0&&(z=""),z!==E&&(xa(y,b,E),bs(a,x?"linkFromPortId":"linkToPortId",Qo,b,y,z,E),typeof b=="string"&&a.La(y,b))}else xa(y,b,E)}}Ie.Ef=function(a){if(a===null)return v0;var y=this.je;return y===""?v0:(a=ls(a,y),a===void 0?v0:a)},Ie.Ls=function(a,y){if(a!==null){var E=this.je;if(E!=="")if(this.Jc(a)){var x=ls(a,E);if(x===void 0&&(x=v0),x!==y){if(Array.isArray(x))for(var b=x.length,z=0;z<b;z++)Lc(this,x[z],a);for(xa(a,E,y),b=y.length,z=0;z<b;z++){var ne=y[z];this.hc(ne)===null&&Nc(this,ne,a)}bs(this,"linkLabelKeys",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E)}}else xa(a,E,y)}},Ie.Bu=function(a,y){if(y!=null&&a!==null){var E=this.je;if(E!==""){var x=ls(a,E);if(x===void 0)E=[],E.push(y),this.Ls(a,E);else if(Array.isArray(x)){var b=x.indexOf(y);0<=b||(b=x.length,x.push(y),this.Jc(a)&&(this.hc(y)===null&&Nc(this,y,a),bs(this,"linkLabelKeys",Oa,E,a,null,y,null,b)))}else tn(E+" property is not an Array; cannot addLabelKeyForLinkData: "+a)}}},Ie.Qx=function(a,y){if(y!=null&&a!==null){var E=this.je;if(E!==""){var x=ls(a,E);if(Array.isArray(x)){var b=x.indexOf(y);0>b||(x.splice(b,1),this.Jc(a)&&(Lc(this,y,a),bs(this,"linkLabelKeys",Va,E,a,y,null,b,null)))}else x!==void 0&&tn(E+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Ie.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=ls(a,y),y!==void 0)){if(Eh(y))return y;tn("Key value for link data "+a+" is not a number or a string: "+y)}}},Ie.Ks=function(a,y){if(a!==null){var E=this.Jh;if(E!=="")if(this.Jc(a)){var x=ls(a,E);x!==y&&this.jh(y)===null&&(xa(a,E,y),x!==void 0&&this.wb.remove(x),this.wb.add(y,a),bs(this,"linkKey",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E))}else xa(a,E,y)}},Ie.jh=function(a){return a===null&&tn("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&Eh(a)?this.wb.I(a):null},Ie.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var E=this.Ac(a);if(E===void 0||this.wb.contains(E)){var x=this.cl;if(x!==null&&(E=x(this,a),E!=null&&!this.wb.contains(E))){xa(a,y,E);return}if(typeof E=="string"){for(x=2;this.wb.contains(E+x);)x++;xa(a,y,E+x)}else if(E===void 0||typeof E=="number"){for(E=-this.wb.count-1;this.wb.contains(E);)E--;xa(a,y,E)}}}}},Ie.Jc=function(a){return a===null?!1:this.$f.contains(a)},Ie.fi=function(a){a!==null&&(Dn(a),this.Jc(a)||R1(this,a,!0))};function R1(a,y,E){if(a.linkKeyProperty!==""){var x=a.Ac(y);if(x!==void 0&&a.wb.I(x)===y)return;a.Bs(y),x=a.Ac(y),x===void 0&&tn("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(x,y)}a.$f.add(y),x=null,E&&(x=a.md.length,a.md.splice(x,0,y)),bs(a,"linkDataArray",Oa,"linkDataArray",a,null,y,null,x),py(a,y)}Ie.Ey=function(a){if(Array.isArray(a))for(var y=a.length,E=0;E<y;E++)this.fi(a[E]);else for(a=a.iterator;a.next();)this.fi(a.value)},Ie.bm=function(a){a!==null&&O1(this,a,!0)};function O1(a,y,E){a.$f.remove(y);var x=a.Ac(y);if(x!==void 0&&a.wb.remove(x),x=null,E){if(x=a.md.indexOf(y),0>x)return;a.md.splice(x,1)}if(bs(a,"linkDataArray",Va,"linkDataArray",a,y,null,x,null),E=Nu(a,y,!0),Lc(a,E,y),E=Nu(a,y,!1),Lc(a,E,y),x=a.Ef(y),Array.isArray(x))for(var b=x.length,z=0;z<b;z++)E=x[z],Lc(a,E,y)}Ie.lA=function(a){if(Array.isArray(a))for(var y=a.length,E=0;E<y;E++)this.bm(a[E]);else for(a=a.iterator;a.next();)this.bm(a.value)},Ie.Zz=function(a){if(this.linkKeyProperty===""&&tn("GraphLinksModel.linkKeyProperty must not be an empty string for .mergeLinkDataArray() to succeed."),a!==this.linkDataArray&&qi(a)){var y=this.kl;y.clear(),y.addAll(this.wb.iteratorKeys);var E=this.il;E.clear();for(var x=a.length,b=0;b<x;b++){var z=a[b],ne=this.Ac(z);if(ne!==void 0){E.add(ne);var re=this.jh(ne);re!==z&&(re!==null?(this.Do(re,z),D1(this,z,re)):(z=this.cloneDeep(z),this.Ks(z,ne),this.fi(z)))}else ne=this.cloneDeep(z),this.fi(ne),E.add(this.Ac(ne))}for(a=y.iterator;a.next();)x=a.value,E.contains(x)||(x=this.jh(x))&&this.bm(x);y.clear(),E.clear()}};function py(a,y){var E=Nu(a,y,!0);E=a.Vl(E),a.hc(E)===null&&Nc(a,E,y),E=Nu(a,y,!1),E=a.Vl(E),a.hc(E)===null&&Nc(a,E,y);var x=a.Ef(y);if(Array.isArray(x))for(var b=x.length,z=0;z<b;z++)E=x[z],a.hc(E)===null&&Nc(a,E,y)}Ie.Jo=function(a){if(a===null)return null;var y=this.Ak;return a=y!==null?y(a,this):p0(this,a,!0),jn(a)&&(ut(a),this.lf!==""&&xa(a,this.lf,void 0),this.mf!==""&&xa(a,this.mf,void 0),this.je!==""&&xa(a,this.je,[])),a},Ie.Yu=function(a){if(a===null)return!1;var y=this.jl;return y===""?!1:!!ls(a,y)},Ie.lh=function(a){if(a!==null){var y=this.Je;if(y!==""&&(y=ls(a,y),y!==void 0)){if(Eh(y))return y;tn("GroupKey value for node data "+a+" is not a number or a string: "+y)}}},Ie.mp=function(a,y){if(y===null&&(y=void 0),a!==null){var E=this.Je;if(E!=="")if(this.lb(a)){var x=ls(a,E);x!==y&&(Lc(this,x,a),xa(a,E,y),this.hc(y)===null&&Nc(this,y,a),bs(this,"nodeGroupKey",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E))}else xa(a,E,y)}},ro.prototype.copyNodeData=function(a){return a===null?null:(a=_i.prototype.copyNodeData.call(this,a),this.Ij||this.Je===""||ls(a,this.Je)===void 0||xa(a,this.Je,void 0),a)},ro.prototype.setDataProperty=function(a,y,E){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,E);return}if(y===this.nodeCategoryProperty){this.jm(a,E);return}if(y===this.nodeGroupKeyProperty){this.mp(a,E);return}}else if(this.Jc(a)){if(y===this.linkFromKeyProperty){Tg(this,a,E,!0);return}if(y===this.linkToKeyProperty){Tg(this,a,E,!1);return}if(y===this.linkFromPortIdProperty){Ag(this,a,E,!0);return}if(y===this.linkToPortIdProperty){Ag(this,a,E,!1);return}if(y===this.linkKeyProperty){this.Ks(a,E);return}if(y===this.linkCategoryProperty){this.lp(a,E);return}if(y===this.linkLabelKeysProperty){this.Ls(a,E);return}}var x=ls(a,y);x!==E&&(xa(a,y,E),this.Fs(a,y,x,E))},Ie=ro.prototype,Ie.Do=function(a,y){if(y){var E=this.lb(a),x=this.Jc(a),b;for(b in y)b==="__gohashid"||E&&b===this.nodeKeyProperty||E&&b===this.nodeIsGroupProperty&&ls(a,b)===y[b]||x&&b===this.linkKeyProperty||this.setDataProperty(a,b,y[b])}},Ie.jp=function(a,y){_i.prototype.jp.call(this,a,y);for(var E=this.kb.iterator;E.next();)this.qv(E.value,a,y);for(E=this.$f.iterator;E.next();){var x=E.value,b=a,z=y;if(Nu(this,x,!0)===b){var ne=this.lf;xa(x,ne,z),bs(this,"linkFromKey",Qo,ne,x,b,z),typeof ne=="string"&&this.La(x,ne)}if(Nu(this,x,!1)===b&&(ne=this.mf,xa(x,ne,z),bs(this,"linkToKey",Qo,ne,x,b,z),typeof ne=="string"&&this.La(x,ne)),ne=this.Ef(x),Array.isArray(ne))for(var re=ne.length,oe=this.je,he=0;he<re;he++)ne[he]===b&&(ne[he]=z,bs(this,"linkLabelKeys",Oa,oe,x,b,z,he,he))}},Ie.qv=function(a,y,E){if(this.lh(a)===y){var x=this.Je;xa(a,x,E),bs(this,"nodeGroupKey",Qo,x,a,y,E),typeof x=="string"&&this.La(a,x)}},Ie.Lv=function(){_i.prototype.Lv.call(this);for(var a=this.linkDataArray,y=a.length,E=0;E<y;E++)py(this,a[E])},Ie.fm=function(a){_i.prototype.fm.call(this,a),a=this.wa(a);var y=Op(this,a);if(y!==null){var E=Vi();for(y=y.iterator;y.next();){var x=y.value;if(this.lb(x)){if(this.lh(x)===a){var b=this.Je;bs(this,"nodeGroupKey",Qo,b,x,a,a),typeof b=="string"&&this.La(x,b),E.push(x)}}else if(Nu(this,x,!0)===a&&(b=this.lf,bs(this,"linkFromKey",Qo,b,x,a,a),typeof b=="string"&&this.La(x,b),E.push(x)),Nu(this,x,!1)===a&&(b=this.mf,bs(this,"linkToKey",Qo,b,x,a,a),typeof b=="string"&&this.La(x,b),E.push(x)),b=this.Ef(x),Array.isArray(b))for(var z=b.length,ne=this.je,re=0;re<z;re++)b[re]===a&&(bs(this,"linkLabelKeys",Oa,ne,x,a,a,re,re),E.push(x))}for(y=0;y<E.length;y++)Lc(this,a,E[y]);Qi(E)}},Ie.em=function(a){_i.prototype.em.call(this,a);var y=this.lh(a);this.hc(y)===null&&Nc(this,y,a)},Ie.qp=function(a){_i.prototype.qp.call(this,a);var y=this.lh(a);Lc(this,y,a)},Ie.ps=function(a){if(a===null)return"";var y=this.dj;if(y===""||(y=ls(a,y),y===void 0))return"";if(typeof y=="string")return y;tn("getCategoryForLinkData found a non-string category for "+a+": "+y)},ro.prototype.getLinkCategoryForData=function(a){return this.ps(a)},ro.prototype.lp=function(a,y){if(a!==null){var E=this.dj;if(E!=="")if(this.Jc(a)){var x=ls(a,E);x===void 0&&(x=""),x!==y&&(xa(a,E,y),bs(this,"linkCategory",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E))}else xa(a,E,y)}},ro.prototype.setLinkCategoryForData=function(a,y){this.lp(a,y)},Ie=ro.prototype,Ie.lm=function(a,y){_i.prototype.lm.call(this,a,y),this.mp(y,this.lh(a))};function D1(a,y,E){a.lp(E,a.ps(y)),a.wv(E,a.yx(y)),a.Bv(E,a.Bx(y)),a.Ls(E,a.Ef(y)),a.xv(E,a.zx(y)),a.Cv(E,a.Cx(y))}Ie.Wj=function(){return!0},Ie.ri=function(){return!0},Ie.xs=function(){return!0},Ie.Xj=function(){return!0},bn.Object.defineProperties(ro.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){var y=this.Ri;y!==a&&(this.Ri=a,this.g("archetypeNodeData",y,a))}},linkFromKeyProperty:{get:function(){return this.lf},set:function(a){var y=this.lf;y!==a&&(this.lf=a,this.g("linkFromKeyProperty",y,a))}},linkToKeyProperty:{get:function(){return this.mf},set:function(a){var y=this.mf;y!==a&&(this.mf=a,this.g("linkToKeyProperty",y,a))}},linkFromPortIdProperty:{get:function(){return this.ej},set:function(a){var y=this.ej;y!==a&&(this.ej=a,this.g("linkFromPortIdProperty",y,a))}},linkToPortIdProperty:{get:function(){return this.fj},set:function(a){var y=this.fj;y!==a&&(this.fj=a,this.g("linkToPortIdProperty",y,a))}},linkLabelKeysProperty:{get:function(){return this.je},set:function(a){var y=this.je;y!==a&&(this.je=a,this.g("linkLabelKeysProperty",y,a))}},linkDataArray:{get:function(){return this.md},set:function(a){var y=this.md;if(y!==a){this.wb.clear();for(var E=a.length,x=0;x<E;x++){var b=a[x];jn(b)||tn("GraphLinksModel.linkDataArray must only contain Objects, not: "+b),Dn(b)}if(this.md=a,this.linkKeyProperty!==""){for(x=new Qn,b=0;b<E;b++){var z=a[b],ne=this.Ac(z);ne===void 0||this.wb.I(ne)!==null?x.add(z):this.wb.add(ne,z)}for(x=x.iterator;x.next();)b=x.value,this.Bs(b),z=this.Ac(b),z!==void 0&&this.wb.add(z,b)}for(x=new Rt,b=0;b<E;b++)x.add(a[b]);for(this.$f=x,bs(this,"linkDataArray",Qo,"linkDataArray",this,y,a),y=0;y<E;y++)py(this,a[y])}}},linkKeyProperty:{get:function(){return this.Jh},set:function(a){var y=this.Jh;if(y!==a){this.Jh=a,this.wb.clear();for(var E=this.linkDataArray.length,x=0;x<E;x++){var b=this.linkDataArray[x],z=this.Ac(b);z===void 0&&(this.Bs(b),z=this.Ac(b)),z!==void 0&&this.wb.add(z,b)}this.g("linkKeyProperty",y,a)}}},makeUniqueLinkKeyFunction:{get:function(){return this.cl},set:function(a){var y=this.cl;y!==a&&(this.cl=a,this.g("makeUniqueLinkKeyFunction",y,a))}},copyLinkDataFunction:{get:function(){return this.Ak},set:function(a){var y=this.Ak;y!==a&&(this.Ak=a,this.g("copyLinkDataFunction",y,a))}},nodeIsGroupProperty:{get:function(){return this.jl},set:function(a){var y=this.jl;y!==a&&(this.jl=a,this.g("nodeIsGroupProperty",y,a))}},nodeGroupKeyProperty:{get:function(){return this.Je},set:function(a){var y=this.Je;y!==a&&(this.Je=a,this.g("nodeGroupKeyProperty",y,a))}},Ij:{get:function(){return this.Lm},set:function(a){this.Lm!==a&&(this.Lm=a)}},linkCategoryProperty:{get:function(){return this.dj},set:function(a){var y=this.dj;y!==a&&(this.dj=a,this.g("linkCategoryProperty",y,a))}},type:{get:function(){return"GraphLinksModel"}}}),ro.prototype.setCategoryForLinkData=ro.prototype.lp,ro.prototype.getCategoryForLinkData=ro.prototype.ps,ro.prototype.assignAllDataProperties=ro.prototype.Do,ro.prototype.setGroupKeyForNodeData=ro.prototype.mp,ro.prototype.getGroupKeyForNodeData=ro.prototype.lh,ro.prototype.isGroupForNodeData=ro.prototype.Yu,ro.prototype.copyLinkData=ro.prototype.Jo,ro.prototype.mergeLinkDataArray=ro.prototype.Zz,ro.prototype.removeLinkDataCollection=ro.prototype.lA,ro.prototype.removeLinkData=ro.prototype.bm,ro.prototype.addLinkDataCollection=ro.prototype.Ey,ro.prototype.addLinkData=ro.prototype.fi,ro.prototype.containsLinkData=ro.prototype.Jc,ro.prototype.makeLinkDataKeyUnique=ro.prototype.Bs,ro.prototype.findLinkDataForKey=ro.prototype.jh,ro.prototype.setKeyForLinkData=ro.prototype.Ks,ro.prototype.getKeyForLinkData=ro.prototype.Ac,ro.prototype.removeLabelKeyForLinkData=ro.prototype.Qx,ro.prototype.addLabelKeyForLinkData=ro.prototype.Bu,ro.prototype.setLabelKeysForLinkData=ro.prototype.Ls,ro.prototype.getLabelKeysForLinkData=ro.prototype.Ef,ro.prototype.setToPortIdForLinkData=ro.prototype.Cv,ro.prototype.getToPortIdForLinkData=ro.prototype.Cx,ro.prototype.setFromPortIdForLinkData=ro.prototype.xv,ro.prototype.getFromPortIdForLinkData=ro.prototype.zx,ro.prototype.setToKeyForLinkData=ro.prototype.Bv,ro.prototype.getToKeyForLinkData=ro.prototype.Bx,ro.prototype.setFromKeyForLinkData=ro.prototype.wv,ro.prototype.getFromKeyForLinkData=ro.prototype.yx,ro.prototype.clear=ro.prototype.clear;var v0=Object.freeze([]);ro.className="GraphLinksModel",vc.GraphLinksModel=ro,_i.constructGraphLinksModel=_i.constructGraphLinksModel=function(){return new ro},_i.initDiagramModel=fy=function(){return new ro};function Ml(a,y){_i.call(this),this.Ke="parent",this.Nm=!1,this.nj="parentLinkCategory",a!==void 0&&(qi(a)?this.nodeDataArray=a:y=a),y&&(Object.assign(this,y),a=y.Changed)&&(delete this.Changed,this.Pe(a))}Kt(Ml,_i),Ml.constructGraphLinksModel=_i.constructGraphLinksModel,Ml.prototype.cloneProtected=function(a){_i.prototype.cloneProtected.call(this,a),a.Ke=this.Ke,a.Nm=this.Nm,a.nj=this.nj},Ie=Ml.prototype,Ie.toString=function(a){if(a===void 0&&(a=0),2<=a)return this.np();var y=(this.name!==""?this.name:"")+" TreeModel";if(0<a){y+=`
|
|
|
node data:`,a=this.nodeDataArray;for(var E=a.length,x=0;x<E;x++){var b=a[x];y+=" "+this.wa(b)+":"+Zr(b)}}return y},Ie.rm=function(){var a=_i.prototype.rm.call(this),y="";return this.nodeParentKeyProperty!=="parent"&&typeof this.nodeParentKeyProperty=="string"&&(y+=`,
|
|
|
"nodeParentKeyProperty": `+this.quote(this.nodeParentKeyProperty)),a+y},Ie.gp=function(a){_i.prototype.gp.call(this,a),a.nodeParentKeyProperty&&(this.nodeParentKeyProperty=a.nodeParentKeyProperty)},Ie.fp=function(a){a.nodeParentKeyProperty!==void 0&&a.nodeParentKeyProperty!==this.nodeParentKeyProperty&&tn("applyIncrementalJson cannot change Model properties"),_i.prototype.fp.call(this,a)},Ie.Vl=function(a){return a},Ie.mh=function(a){if(a!==null){var y=this.Ke;if(y!==""&&(y=ls(a,y),y!==void 0)){if(Eh(y))return y;tn("ParentKey value for node data "+a+" is not a number or a string: "+y)}}},Ie.qe=function(a,y){if(y===null&&(y=void 0),a!==null){var E=this.Ke;if(E!=="")if(y=this.Vl(y),this.lb(a)){var x=ls(a,E);x!==y&&(Lc(this,x,a),xa(a,E,y),this.hc(y)===null&&Nc(this,y,a),bs(this,"nodeParentKey",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E))}else xa(a,E,y)}},Ie.ss=function(a){if(a===null)return"";var y=this.nj;return y===""||(y=ls(a,y),y===void 0)?"":typeof y=="string"?y:(tn("getParentLinkCategoryForNodeData found a non-string category for "+a+": "+y),"")},Ml.prototype.getLinkCategoryForData=function(a){return this.ss(a)},Ml.prototype.Ms=function(a,y){if(a!==null){var E=this.nj;if(E!=="")if(this.lb(a)){var x=ls(a,E);x===void 0&&(x=""),x!==y&&(xa(a,E,y),bs(this,"parentLinkCategory",Qo,E,a,x,y),typeof E=="string"&&this.La(a,E))}else xa(a,E,y)}},Ml.prototype.setLinkCategoryForData=function(a,y){this.Ms(a,y)},Ml.prototype.copyNodeData=function(a){return a===null?null:(a=_i.prototype.copyNodeData.call(this,a),this.Jj||this.Ke===""||ls(a,this.Ke)===void 0||xa(a,this.Ke,void 0),a)},Ml.prototype.setDataProperty=function(a,y,E){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,E);return}if(y===this.nodeCategoryProperty){this.jm(a,E);return}if(y===this.nodeParentKeyProperty){this.qe(a,E);return}}var x=ls(a,y);x!==E&&(xa(a,y,E),this.Fs(a,y,x,E))},Ie=Ml.prototype,Ie.jp=function(a,y){_i.prototype.jp.call(this,a,y);for(var E=this.kb.iterator;E.next();)this.qv(E.value,a,y)},Ie.qv=function(a,y,E){if(this.mh(a)===y){var x=this.Ke;xa(a,x,E),bs(this,"nodeParentKey",Qo,x,a,y,E),typeof x=="string"&&this.La(a,x)}},Ie.fm=function(a){_i.prototype.fm.call(this,a),a=this.wa(a);var y=Op(this,a);if(y!==null){var E=Vi();for(y=y.iterator;y.next();){var x=y.value;if(this.lb(x)&&this.mh(x)===a){var b=this.Ke;bs(this,"nodeParentKey",Qo,b,x,a,a),typeof b=="string"&&this.La(x,b),E.push(x)}}for(y=0;y<E.length;y++)Lc(this,a,E[y]);Qi(E)}},Ie.em=function(a){_i.prototype.em.call(this,a);var y=this.mh(a);y=this.Vl(y),this.hc(y)===null&&Nc(this,y,a)},Ie.qp=function(a){_i.prototype.qp.call(this,a);var y=this.mh(a);Lc(this,y,a)},Ie.lm=function(a,y){_i.prototype.lm.call(this,a,y),this.Ms(y,this.ss(a)),this.qe(y,this.mh(a))},Ie.Tl=function(){return!0},Ie.xs=function(){return!0},bn.Object.defineProperties(Ml.prototype,{nodeParentKeyProperty:{get:function(){return this.Ke},set:function(a){var y=this.Ke;y!==a&&(this.Ke=a,this.g("nodeParentKeyProperty",y,a))}},Jj:{get:function(){return this.Nm},set:function(a){this.Nm!==a&&(this.Nm=a)}},parentLinkCategoryProperty:{get:function(){return this.nj},set:function(a){var y=this.nj;y!==a&&(this.nj=a,this.g("parentLinkCategoryProperty",y,a))}},linkCategoryProperty:{get:function(){return this.parentLinkCategoryProperty},set:function(a){this.parentLinkCategoryProperty=a}},type:{get:function(){return"TreeModel"}}}),Ml.prototype.setParentLinkCategoryForNodeData=Ml.prototype.Ms,Ml.prototype.getParentLinkCategoryForNodeData=Ml.prototype.ss,Ml.prototype.setParentKeyForNodeData=Ml.prototype.qe,Ml.prototype.getParentKeyForNodeData=Ml.prototype.mh,Ml.className="TreeModel",vc.TreeModel=Ml;function Fa(a){Aa.call(this),this.lw=this.Zm=this.lc=0,this.Wp=360,this.kw=yc,this.Ti=0,this.Zv=new st,this.Jp=this.me=0,this.Xr=new Hp,this.gt=this.mj=0,this.ty=600,this.eo=NaN,this.Cm=1,this.ro=0,this.ul=360,this.Rb=yc,this.K=Rl,this.nd=Ng,this.hd=sy,this.tf=6,this.Nn=C0,a&&Object.assign(this,a)}Kt(Fa,Aa),Fa.prototype.cloneProtected=function(a){Aa.prototype.cloneProtected.call(this,a),a.eo=this.eo,a.Cm=this.Cm,a.ro=this.ro,a.ul=this.ul,a.Rb=this.Rb,a.K=this.K,a.nd=this.nd,a.hd=this.hd,a.tf=this.tf,a.Nn=this.Nn},Fa.prototype.qb=function(a){a.classType===Fa?a===b0||a===w0||a===E0||a===x0||a===Ng?this.sorting=a:a===of||a===Pg||a===Rl||a===bh?this.direction=a:a===Zd||a===xh||a===yc||a===Sc?this.arrangement=a:(a===Rf||a===C0)&&(this.nodeDiameterFormula=a):Aa.prototype.qb.call(this,a)},Fa.prototype.createNetwork=function(){return new Lg(this)},Fa.prototype.doLayout=function(a){if(this.network===null&&(this.network=this.makeNetwork(a)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin),a=this.network.vertexes,1>=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new Qn;y.addAll(a.iterator),a=new Qn;var E=new Qn,x=this.sort(y),b,z,ne=this.Jp,re=this.arrangement,oe=this.nodeDiameterFormula,he=this.radius;(!isFinite(he)||0>=he)&&(he=NaN);var fe=this.aspectRatio;(!isFinite(fe)||0>=fe)&&(fe=1);var Se=this.startAngle;isFinite(Se)||(Se=0);var Te=this.sweepAngle;if((!isFinite(Te)||360<Te||1>Te)&&(Te=360),y=this.spacing,isFinite(y)||(y=NaN),re===Sc&&oe===Rf?re=yc:re===Sc&&oe!==Rf&&(re=this.arrangement),(this.direction===of||this.direction===Pg)&&this.sorting!==Ng){for(oe=0;!(oe>=x.length)&&(a.add(x.M(oe)),!(oe+1>=x.length));oe+=2)E.add(x.M(oe+1));this.direction===of?(this.arrangement===Sc&&a.reverse(),x=new Qn,x.addAll(a),x.addAll(E)):(this.arrangement===Sc&&E.reverse(),x=new Qn,x.addAll(E),x.addAll(a))}oe=x.length;for(var Ne=z=b=0;Ne<x.length;Ne++){var Be=Se+Te*z*(this.direction===Rl?1:-1)/oe,We=x.M(Ne).diameter;isNaN(We)&&(We=wh(x.M(Ne),Be)),360>Te&&(Ne===0||Ne===x.length-1)&&(We/=2),b+=We,z++}if(isNaN(he)||re===Sc){if(isNaN(y)&&(y=6),re!==yc&&re!==Sc){for(z=-1/0,ne=0;ne<oe;ne++)Ne=x.M(ne),b=x.M(ne===oe-1?0:ne+1),isNaN(Ne.diameter)&&wh(Ne,0),isNaN(b.diameter)&&wh(b,0),z=Math.max(z,(Ne.diameter+b.diameter)/2);ne=z+y,re===Zd?he=(z+y)/(2*Math.PI/oe):he=y0(this,ne*(360<=Te?oe:oe-1),fe,Se*Math.PI/180,Te*Math.PI/180)}else he=y0(this,b+(360<=Te?oe:oe-1)*(re!==Sc?y:1.6*y),fe,Se*Math.PI/180,Te*Math.PI/180);z=he*fe}else if(z=he*fe,Ne=my(this,he,z,Se*Math.PI/180,Te*Math.PI/180),isNaN(y))(re===yc||re===Sc)&&(y=(Ne-b)/(360<=Te?oe:oe-1));else if(re===yc||re===Sc)Ne=(Ne-b)/(360<=Te?oe:oe-1),Ne<y?(he=y0(this,b+y*(360<=Te?oe:oe-1),fe,Se*Math.PI/180,Te*Math.PI/180),z=he*fe):y=Ne;else{for(ne=-1/0,b=0;b<oe;b++)Be=x.M(b),We=x.M(b===oe-1?0:b+1),isNaN(Be.diameter)&&wh(Be,0),isNaN(We.diameter)&&wh(We,0),ne=Math.max(ne,(Be.diameter+We.diameter)/2);ne+=y,b=y0(this,ne*(360<=Te?oe:oe-1),fe,Se*Math.PI/180,Te*Math.PI/180),b>he?(he=b,z=he*fe):ne=Ne/(360<=Te?oe:oe-1)}if(this.kw=re,this.lc=he,this.Zm=fe,this.lw=Se,this.Wp=Te,this.Ti=y,this.me=z,this.Jp=ne,y=x,x=this.kw,re=this.lc,he=this.lw,fe=this.Wp,Se=this.Ti,Te=this.me,oe=this.Jp,this.direction!==of&&this.direction!==Pg||x!==Sc)if(this.direction===of||this.direction===Pg){switch(ne=0,x){case xh:ne=180*S0(this,re,Te,he,oe)/Math.PI;break;case yc:oe=y=0,ne=a.first(),ne!==null&&(y=wh(ne,Math.PI/2)),ne=E.first(),ne!==null&&(oe=wh(ne,Math.PI/2)),ne=180*S0(this,re,Te,he,Se+(y+oe)/2)/Math.PI;break;case Zd:ne=fe/y.length}if(this.direction===of){switch(x){case xh:Up(this,a,he,bh);break;case yc:_p(this,a,he,bh);break;case Zd:Bp(this,a,fe/2,he,bh)}switch(x){case xh:Up(this,E,he+ne,Rl);break;case yc:_p(this,E,he+ne,Rl);break;case Zd:Bp(this,E,fe/2,he+ne,Rl)}}else{switch(x){case xh:Up(this,E,he,bh);break;case yc:_p(this,E,he,bh);break;case Zd:Bp(this,E,fe/2,he,bh)}switch(x){case xh:Up(this,a,he+ne,Rl);break;case yc:_p(this,a,he+ne,Rl);break;case Zd:Bp(this,a,fe/2,he+ne,Rl)}}}else switch(x){case xh:Up(this,y,he,this.direction);break;case yc:_p(this,y,he,this.direction);break;case Zd:Bp(this,y,fe,he,this.direction);break;case Sc:F1(this,y,fe,he,this.direction)}else F1(this,y,fe,he-fe/2,Rl)}this.updateParts(),this.network=null,this.isValidLayout=!0};function Bp(a,y,E,x,b){var z=a.Wp,ne=a.lc;a=a.me,x=x*Math.PI/180,E=E*Math.PI/180;for(var re=y.length,oe=0;oe<re;oe++){var he=x+(b===Rl?oe*E/(360<=z?re:re-1):-(oe*E)/re),fe=y.M(oe),Se=ne*Math.tan(he)/a;Se=Math.sqrt((ne*ne+a*a*Se*Se)/(1+Se*Se)),fe.centerX=Se*Math.cos(he),fe.centerY=Se*Math.sin(he),fe.actualAngle=180*he/Math.PI}}function _p(a,y,E,x){var b=a.lc,z=a.me,ne=a.Ti;E=E*Math.PI/180;for(var re=y.length,oe=0;oe<re;oe++){var he=y.M(oe),fe=y.M(oe===re-1?0:oe+1),Se=z*Math.sin(E);he.centerX=b*Math.cos(E),he.centerY=Se,he.actualAngle=180*E/Math.PI,isNaN(he.diameter)&&wh(he,0),isNaN(fe.diameter)&&wh(fe,0),he=S0(a,b,z,x===Rl?E:-E,(he.diameter+fe.diameter)/2+ne),E+=x===Rl?he:-he}}function Up(a,y,E,x){var b=a.lc,z=a.me,ne=a.Jp;E=E*Math.PI/180;for(var re=y.length,oe=0;oe<re;oe++){var he=y.M(oe);he.centerX=b*Math.cos(E),he.centerY=z*Math.sin(E),he.actualAngle=180*E/Math.PI,he=S0(a,b,z,x===Rl?E:-E,ne),E+=x===Rl?he:-he}}function F1(a,y,E,x,b){var z=a.Wp;if(a.mj=0,a.Xr=new Hp,360>E){for(z=x+(b===Rl?z:-z);0>z;)z+=360;z%=360,180<z&&(z-=360),z*=Math.PI/180,a.gt=z,_1(a,y,E,x,b)}else B1(a,y,E,x,b);a.Xr.commit(y)}function B1(a,y,E,x,b){var z=a.lc,ne=a.Ti,re=a.Zm,oe=z*Math.cos(x*Math.PI/180),he=a.me*Math.sin(x*Math.PI/180),fe=y.Fa();if(fe.length===3)fe[0].centerX=z,fe[0].centerY=0,fe[1].centerX=fe[0].centerX-fe[0].width/2-fe[1].width/2-ne,fe[1].y=fe[0].y,fe[2].centerX=(fe[0].centerX+fe[1].centerX)/2,fe[2].y=fe[0].y-fe[2].height-ne;else if(fe.length===4)fe[0].centerX=z,fe[0].centerY=0,fe[2].centerX=-fe[0].centerX,fe[2].centerY=fe[0].centerY,fe[1].centerX=0,fe[1].y=Math.min(fe[0].y,fe[2].y)-fe[1].height-ne,fe[3].centerX=0,fe[3].y=Math.max(fe[0].y+fe[0].height+ne,fe[2].y+fe[2].height+ne);else{z=st.alloc();for(var Se=0;Se<fe.length&&(fe[Se].centerX=oe,fe[Se].centerY=he,!(Se>=fe.length-1));Se++)U1(a,oe,he,fe,Se,b,z)||H1(a,oe,he,fe,Se,b,z),oe=z.x,he=z.y;if(st.free(z),a.mj++,!(23<a.mj)){oe=fe[0].centerX,he=fe[0].centerY,z=fe[fe.length-1].centerX,Se=fe[fe.length-1].centerY;var Te=Math.abs(oe-z)-((fe[0].width+fe[fe.length-1].width)/2+ne),Ne=Math.abs(he-Se)-((fe[0].height+fe[fe.length-1].height)/2+ne);ne=0,1>Math.abs(Ne)?Math.abs(oe-z)<(fe[0].width+fe[fe.length-1].width)/2&&(ne=0):ne=0<Ne?Ne:1>Math.abs(Te)?0:Te,oe=Math.abs(z)>Math.abs(Se)?0<z!=he>Se:0<Se!=oe<z,(oe=b===Rl?oe:!oe)&&(ne=-Math.abs(ne),ne=Math.min(ne,-fe[fe.length-1].width),ne=Math.min(ne,-fe[fe.length-1].height)),a.Xr.compare(ne,fe),1<Math.abs(ne)&&(a.lc=8>a.mj?a.lc-ne/(2*Math.PI):5>fe.length&&10<ne?a.lc/2:a.lc-(0<ne?1.7:-2.3),a.me=a.lc*re,B1(a,y,E,x,b))}}}function _1(a,y,E,x,b){for(var z=a.lc,ne=a.me,re=a.Zm,oe=z*Math.cos(x*Math.PI/180),he=ne*Math.sin(x*Math.PI/180),fe=st.alloc(),Se=y.Fa(),Te=0;Te<Se.length&&(Se[Te].centerX=oe,Se[Te].centerY=he,!(Te>=Se.length-1));Te++)U1(a,oe,he,Se,Te,b,fe)||H1(a,oe,he,Se,Te,b,fe),oe=fe.x,he=fe.y;if(st.free(fe),a.mj++,!(23<a.mj)){if(oe=Math.atan2(he,oe),oe=b===Rl?a.gt-oe:oe-a.gt,oe=Math.abs(oe)<Math.abs(oe-2*Math.PI)?oe:oe-2*Math.PI,z=oe*(z+ne)/2,ne=a.Xr,Math.abs(z)<Math.abs(ne.Pl))for(ne.Pl=z,ne.mk=[],ne.tm=[],oe=0;oe<Se.length;oe++)ne.mk[oe]=Se[oe].bounds.x,ne.tm[oe]=Se[oe].bounds.y;1<Math.abs(z)&&(a.lc=8>a.mj?a.lc-z/(2*Math.PI):a.lc-(0<z?1.7:-2.3),a.me=a.lc*re,_1(a,y,E,x,b))}}function U1(a,y,E,x,b,z,ne){var re=a.lc,oe=a.me,he=0;a=(x[b].width+x[b+1].width)/2+a.Ti;var fe=!1;if(0<=E!=(z===Rl)){if(z=y+a,z>re){if(z=y-a,z<-re)return ne.x=z,ne.y=he,!1;fe=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return ne.x=z,ne.y=he,!1;fe=!0}return he=Math.sqrt(1-Math.min(1,z*z/(re*re)))*oe,0>E!==fe&&(he=-he),Math.abs(E-he)>(x[b].height+x[b+1].height)/2?(ne.x=z,ne.y=he,!1):(ne.x=z,ne.y=he,!0)}function H1(a,y,E,x,b,z,ne){var re=a.lc,oe=a.me,he=0;if(a=(x[b].height+x[b+1].height)/2+a.Ti,x=!1,0<=y!=(z===Rl)){if(z=E-a,z<-oe){if(z=E+a,z>oe){ne.x=he,ne.y=z;return}x=!0}}else if(z=E+a,z>oe){if(z=E-a,z<-oe){ne.x=he,ne.y=z;return}x=!0}he=Math.sqrt(1-Math.min(1,z*z/(oe*oe)))*re,0>y!==x&&(he=-he),ne.x=he,ne.y=z}Fa.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},Fa.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,E=this.actualCenter;a?E=new st(0,0):(E.x=this.arrangementOrigin.x+this.lc,E.y=this.arrangementOrigin.y+this.me);for(var x=this.network.vertexes.iterator;x.next();){var b=x.value;b.x+=E.x,b.y+=E.y,b.commit()}a&&(this.group.Va(),a=this.group.position.copy(),E=this.group.location.copy(),y=y.re(E.re(a)),this.group.move(y),this.Zv=y.re(a))},Fa.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function my(a,y,E,x,b){var z=a.ty;if(.001>Math.abs(a.Zm-1))return x!==void 0&&b!==void 0?b*y:2*Math.PI*y;a=y>E?Math.sqrt(y*y-E*E)/y:Math.sqrt(E*E-y*y)/E;for(var ne=0,re=x!==void 0&&b!==void 0?b/(z+1):Math.PI/(2*(z+1)),oe=0,he=0;he<=z;he++){x!==void 0&&b!==void 0?oe=x+he*b/z:oe=he*Math.PI/(2*z);var fe=Math.sin(oe);ne+=Math.sqrt(1-a*a*fe*fe)*re}return x!==void 0&&b!==void 0?(y>E?y:E)*ne:4*(y>E?y:E)*ne}function y0(a,y,E,x,b){return y/(x!==void 0&&b!==void 0?my(a,1,E,x,b):my(a,1,E))}function S0(a,y,E,x,b){if(.001>Math.abs(a.Zm-1))return b/y;var z=y>E?Math.sqrt(y*y-E*E)/y:Math.sqrt(E*E-y*y)/E,ne=0;a=2*Math.PI/(700*a.network.vertexes.count),y>E&&(x+=Math.PI/2);for(var re=0;;re++){var oe=Math.sin(x+re*a);if(ne+=(y>E?y:E)*Math.sqrt(1-z*z*oe*oe)*a,ne>=b)return re*a}}Fa.prototype.sort=function(a){switch(this.sorting){case E0:break;case x0:a.reverse();break;case b0:a.sort(this.comparer);break;case w0:a.sort(this.comparer),a.reverse();break;case Ng:return this.ak(GE(a));default:tn("Invalid sorting type.")}return a};function GE(a){for(var y=[],E=0;E<a.length;E++)y.push(0);E=new Qn;for(var x=0;x<a.length;x++){var b=-1,z=-1;if(x===0)for(var ne=0;ne<a.length;ne++){var re=a.M(ne).edgesCount;re>b&&(b=re,z=ne)}else for(ne=0;ne<a.length;ne++)re=y[ne],re>b&&(b=re,z=ne);for(E.add(a.M(z)),y[z]=-1,z=a.M(z),ne=z.sourceEdges;ne.next();)b=a.indexOf(ne.value.fromVertex),0>b||0<=y[b]&&y[b]++;for(z=z.destinationEdges;z.next();)b=a.indexOf(z.value.toVertex),0>b||0<=y[b]&&y[b]++}return E}Fa.prototype.ak=function(a){for(var y=[],E=0;E<a.length;E++){var x=a.M(E);y[E]=[];for(var b,z=x.destinationEdges;z.next();)b=a.indexOf(z.value.toVertex),b!==E&&0>y[E].indexOf(b)&&y[E].push(b);for(x=x.sourceEdges;x.next();)b=a.indexOf(x.value.fromVertex),b!==E&&0>y[E].indexOf(b)&&y[E].push(b)}for(z=[],E=0;E<y.length;E++)z[E]=0;E=[];var ne=[],re=[];x=[],b=new Qn;for(var oe=0,he=0;he<y.length;he++){var fe=y[he].length;if(fe===1)x.push(he);else if(fe===0)b.add(a.M(he));else{if(oe===0)E.push(he);else{for(var Se=fe=1/0,Te=-1,Ne=[],Be=0;Be<E.length;Be++)0>y[E[Be]].indexOf(E[Be===E.length-1?0:Be+1])&&Ne.push(Be===E.length-1?0:Be+1);if(Ne.length===0)for(Be=0;Be<E.length;Be++)Ne.push(Be);for(Be=0;Be<Ne.length;Be++){for(var We=Ne[Be],vt=y[he],ct=0,wt=0;wt<ne.length;wt++){var Tt=z[ne[wt]],kt=z[re[wt]];if(Tt<kt){var Bt=Tt;Tt=kt}else Bt=kt;if(Bt<We&&We<=Tt)for(kt=0;kt<vt.length;kt++){var en=vt[kt];0>E.indexOf(en)||Bt<z[en]&&z[en]<Tt||Bt===z[en]||Tt===z[en]||ct++}else for(kt=0;kt<vt.length;kt++)en=vt[kt],0>E.indexOf(en)||Bt<z[en]&&z[en]<Tt&&Bt!==z[en]&&Tt!==z[en]&&ct++}for(vt=ct,wt=ct=0;wt<y[he].length;wt++)Bt=E.indexOf(y[he][wt]),0<=Bt&&(Bt=Math.abs(We-(Bt>=We?Bt+1:Bt)),ct+=Bt<E.length+1-Bt?Bt:E.length+1-Bt);for(wt=0;wt<ne.length;wt++)Bt=z[ne[wt]],Tt=z[re[wt]],Bt>=We&&Bt++,Tt>=We&&Tt++,Bt>Tt&&(kt=Tt,Tt=Bt,Bt=kt),Tt-Bt<(E.length+2)/2==(Bt<We&&We<=Tt)&&ct++;(vt<fe||vt===fe&&ct<Se)&&(fe=vt,Se=ct,Te=We)}for(E.splice(Te,0,he),fe=0;fe<E.length;fe++)z[E[fe]]=fe;for(fe=0;fe<y[he].length;fe++)Se=y[he][fe],0<=E.indexOf(Se)&&(ne.push(he),re.push(Se))}oe++}}for(ne=E.length;;){for(z=!0,re=0;re<x.length;re++)if(oe=x[re],he=y[oe][0],fe=E.indexOf(he),0<=fe){for(Te=Se=0;Te<y[he].length;Te++)Ne=E.indexOf(y[he][Te]),0>Ne||Ne===fe||(Be=Ne>fe?Ne-fe:fe-Ne,Se+=Ne<fe!=Be>ne-Be?1:-1);E.splice(0>Se?fe:fe+1,0,oe),x.splice(re,1),re--}else z=!1;if(z)break;E.push(x[0]),x.splice(0,1)}for(y=0;y<E.length;y++)b.add(a.M(E[y]));return b},bn.Object.defineProperties(Fa.prototype,{radius:{get:function(){return this.eo},set:function(a){this.eo!==a&&(0<a||isNaN(a))&&(this.eo=a,this.C())}},aspectRatio:{get:function(){return this.Cm},set:function(a){this.Cm!==a&&0<a&&(this.Cm=a,this.C())}},startAngle:{get:function(){return this.ro},set:function(a){this.ro!==a&&(this.ro=a,this.C())}},sweepAngle:{get:function(){return this.ul},set:function(a){this.ul!==a&&(0<a&&360>=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==Sc&&a!==yc&&a!==xh&&a!==Zd||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==Rl&&a!==bh&&a!==of&&a!==Pg||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==E0&&a!==x0&&a!==b0&&!w0&&a!==Ng||(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!==C0&&a!==Rf||(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 yc=new nn(Fa,"ConstantSpacing",0),xh=new nn(Fa,"ConstantDistance",1),Zd=new nn(Fa,"ConstantAngle",2),Sc=new nn(Fa,"Packed",3),Rl=new nn(Fa,"Clockwise",4),bh=new nn(Fa,"Counterclockwise",5),of=new nn(Fa,"BidirectionalLeft",6),Pg=new nn(Fa,"BidirectionalRight",7),E0=new nn(Fa,"Forwards",8),x0=new nn(Fa,"Reverse",9),b0=new nn(Fa,"Ascending",10),w0=new nn(Fa,"Descending",11),Ng=new nn(Fa,"Optimized",12),C0=new nn(Fa,"Pythagorean",13),Rf=new nn(Fa,"Circular",14);Fa.className="CircularLayout",Fa.ConstantSpacing=yc,Fa.ConstantDistance=xh,Fa.ConstantAngle=Zd,Fa.Packed=Sc,Fa.Clockwise=Rl,Fa.Counterclockwise=bh,Fa.BidirectionalLeft=of,Fa.BidirectionalRight=Pg,Fa.Forwards=E0,Fa.Reverse=x0,Fa.Ascending=b0,Fa.Descending=w0,Fa.Optimized=Ng,Fa.Pythagorean=C0,Fa.Circular=Rf;function Hp(){this.Pl=-1/0,this.tm=this.mk=null}Hp.prototype.compare=function(a,y){if(0<a&&0>this.Pl||Math.abs(a)<Math.abs(this.Pl)&&!(0>a&&0<this.Pl))for(this.Pl=a,this.mk=[],this.tm=[],a=0;a<y.length;a++)this.mk[a]=y[a].bounds.x,this.tm[a]=y[a].bounds.y},Hp.prototype.commit=function(a){if(this.mk!==null&&this.tm!==null)for(var y=0;y<this.mk.length;y++){var E=a.M(y);E.x=this.mk[y],E.y=this.tm[y]}},Hp.className="VertexArrangement";function Lg(a){aa.call(this,a)}Kt(Lg,aa),Lg.prototype.createVertex=function(){return new zp(this)},Lg.prototype.createEdge=function(){return new T0(this)},Lg.className="CircularNetwork";function zp(a){Ts.call(this,a),this.u=this.Si=NaN}Kt(zp,Ts);function wh(a,y){var E=a.network;if(E===null)return NaN;if(E=E.layout,E===null)return NaN;if(E.arrangement===Sc)if(E.nodeDiameterFormula===Rf)a.Si=Math.max(a.width,a.height);else{if(E=Math.abs(Math.sin(y)),y=Math.abs(Math.cos(y)),E===0)return a.width;if(y===0)return a.height;a.Si=Math.min(a.height/E,a.width/y)}else a.Si=E.nodeDiameterFormula===Rf?Math.max(a.width,a.height):Math.sqrt(a.width*a.width+a.height*a.height);return a.Si}bn.Object.defineProperties(zp.prototype,{diameter:{get:function(){return this.Si},set:function(a){this.Si!==a&&(this.Si=a)}},actualAngle:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}}}),zp.className="CircularVertex";function T0(a){du.call(this,a)}Kt(T0,du),T0.className="CircularEdge";function Qs(a){Aa.call(this),this.ah=null,this.An=0,this.$d=new fn(100,100).freeze(),this.Bm=!1,this.sf=!0,this.td=!1,this.dl=100,this.$m=1,this.Zf=1e3,this.In=10,this.fo=Math,this.Hk=.05,this.Gk=50,this.Ek=150,this.Fk=0,this.Vm=10,this.Um=5,a&&Object.assign(this,a)}Kt(Qs,Aa),Qs.prototype.cloneProtected=function(a){Aa.prototype.cloneProtected.call(this,a),a.$d.assign(this.$d),a.Bm=this.Bm,a.sf=this.sf,a.td=this.td,a.dl=this.dl,a.$m=this.$m,a.Zf=this.Zf,a.In=this.In,a.fo=this.fo,a.Hk=this.Hk,a.Gk=this.Gk,a.Ek=this.Ek,a.Fk=this.Fk,a.Vm=this.Vm,a.Um=this.Um},Qs.prototype.createNetwork=function(){return new Of(this)},Qs.prototype.doLayout=function(a){if(this.network===null&&(this.network=this.makeNetwork(a)),a=this.maxIterations,0<this.network.vertexes.count){this.network.Ko();for(var y=this.network.vertexes.iterator;y.next();){var E=y.value;E.charge=this.electricalCharge(E),E.mass=this.gravitationalMass(E)}for(y=this.network.edges.iterator;y.next();)E=y.value,E.stiffness=this.springStiffness(E),E.length=this.springLength(E);if(this.Cu(),this.An=0,this.needsClusterLayout()){y=this.network,E=y.Zx();for(var x=E.iterator;x.next();){this.network=x.value;for(var b=this.network.vertexes.iterator;b.next();){var z=b.value;z.Vd=z.vertexes.count,z.sh=1,z.Hj=null,z.We=null}z1(this,0,a)}this.network=y;var ne=x=E.iterator;x=this.arrangementSpacing;var re=ne.count,oe=!0;z=b=0;for(var he=Vi(),fe=0;fe<re+y.vertexes.count+2;fe++)he[fe]=null;re=0,ne.reset();for(var Se=an.alloc();ne.next();)if(fe=ne.value,this.computeBounds(fe,Se),oe)oe=!1,b=Se.x+Se.width/2,z=Se.y+Se.height/2,he[0]=new st(Se.x+Se.width+x.width,Se.y),he[1]=new st(Se.x,Se.y+Se.height+x.height),re=2;else{var Te=j1(he,re,b,z,Se.width,Se.height,x),Ne=he[Te],Be=new st(Ne.x+Se.width+x.width,Ne.y),We=new st(Ne.x,Ne.y+Se.height+x.height);for(Te+1<re&&he.splice(Te+1,0,null),he[Te]=Be,he[Te+1]=We,re++,Te=Ne.x-Se.x,Ne=Ne.y-Se.y,fe=fe.vertexes.iterator;fe.next();)Be=fe.value,Be.centerX+=Te,Be.centerY+=Ne}for(an.free(Se),fe=y.vertexes.iterator;fe.next();)ne=fe.value,Te=ne.bounds,2>re?(b=Te.x+Te.width/2,z=Te.y+Te.height/2,he[0]=new st(Te.x+Te.width+x.width,Te.y),he[1]=new st(Te.x,Te.y+Te.height+x.height),re=2):(oe=j1(he,re,b,z,Te.width,Te.height,x),Se=he[oe],Ne=new st(Se.x+Te.width+x.width,Se.y),Te=new st(Se.x,Se.y+Te.height+x.height),oe+1<re&&he.splice(oe+1,0,null),he[oe]=Ne,he[oe+1]=Te,re++,ne.centerX=Se.x+ne.width/2,ne.centerY=Se.y+ne.height/2);for(Qi(he),x=E.iterator;x.next();){for(E=x.value,b=E.vertexes.iterator;b.next();)y.dh(b.value);for(E=E.edges.iterator;E.next();)y.Bo(E.value)}}W1(this,a),this.updateParts()}this.dl=a,this.network=null,this.isValidLayout=!0},Qs.prototype.needsClusterLayout=function(){if(3>this.network.vertexes.count)return!1;for(var a=0,y=0,E=this.network.vertexes.first().bounds,x=this.network.vertexes.iterator;x.next();){if(x.value.bounds.Yc(E)&&(a++,2<a))return!0;if(10<y)break;y++}return!1},Qs.prototype.computeBounds=function(a,y){var E=!0;for(a=a.vertexes.iterator;a.next();){var x=a.value;E?(E=!1,y.set(x.bounds)):y.ed(x.bounds)}return y};function z1(a,y,E){if(WE(a,y)){var x=a.Zf;a.Zf*=1+1/(y+1);var b=VE(a,y),z=Math.max(0,Math.max(Math.min(a.network.vertexes.count,E*(y+1)/11),10));for(a.maxIterations+=z,z1(a,y+1,E),W1(a,z),YE(a,b),y=b.vertexes.Fa(),y.sort(function(ne,re){return ne===null||re===null||ne===re?0:re.Vd-ne.Vd}),E=0;E<y.length;E++)KE(a,y[E]);a.Zf=x}}function WE(a,y){if(10<y||3>a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(E,x){return E===null||x===null||E===x?0:x.Vd-E.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1<a.length-y}function VE(a,y){for(var E=a.network,x=new Of(a),b=0;b<a.ah.length;b++){var z=a.ah[b];if(1<z.Vd){x.dh(z);var ne=new V1;ne.Rs=z.Vd,ne.Ss=z.width,ne.Qs=z.height,ne.Sv=z.focus.x,ne.Tv=z.focus.y,z.We===null&&(z.We=new Qn),z.We.add(ne),z.sv=z.We.count-1}else break}for(z=E.edges.iterator;z.next();){var re=z.value;b=re.fromVertex,ne=re.toVertex,b.network===x&&ne.network===x?x.Bo(re):b.network===x?(re=b.Hj,re===null&&(re=new Qn,b.Hj=re),re.add(ne),b.Vd--,b.sh+=ne.sh):ne.network===x&&(re=ne.Hj,re===null&&(re=new Qn,ne.Hj=re),re.add(b),ne.Vd--,ne.sh+=b.sh)}for(b=x.edges.iterator;b.next();)z=b.value,z.length*=Math.max(1,Ht.sqrt((z.fromVertex.sh+z.toVertex.sh)/(4*y+1)));for(y=x.vertexes.iterator;y.next();){b=y.value;var oe=b.Hj;if(oe!==null&&0<oe.count&&(ne=b.We.M(b.We.count-1).Rs-b.Vd,!(0>=ne))){for(var he=re=0,fe=oe.count-ne;fe<oe.count;fe++){var Se=oe.M(fe),Te=null;for(z=Se.edges.iterator;z.next();){var Ne=z.value;if(Ne.Ax(Se)===b){Te=Ne;break}}Te!==null&&(he+=Te.length,re+=Se.width*Se.height)}z=b.centerX,oe=b.centerY,fe=b.width,Se=b.height,Te=b.focus,Ne=fe*Se,1>Ne&&(Ne=1),re=Ht.sqrt((re+Ne+he*he*4/(ne*ne))/Ne),ne=(re-1)*fe/2,re=(re-1)*Se/2,b.bounds=new an(z-Te.x-ne,oe-Te.y-re,fe+2*ne,Se+2*re),b.focus=new st(Te.x+ne,Te.y+re)}}return a.network=x,E}function YE(a,y){for(var E=a.network.vertexes.iterator;E.next();){var x=E.value;if(x.network=y,x.We!==null){var b=x.We.M(x.sv);x.Vd=b.Rs;var z=b.Sv,ne=b.Tv;x.bounds=new an(x.centerX-z,x.centerY-ne,b.Ss,b.Qs),x.focus=new st(z,ne),x.sv--}}for(E=a.network.edges.iterator;E.next();)E.value.network=y;a.network=y}function KE(a,y){var E=y.Hj;if(E!==null&&E.count!==0){var x=y.centerX,b=y.centerY,z=y.width,ne=y.height;y.We!==null&&0<y.We.count&&(ne=y.We.M(0),z=ne.Ss,ne=ne.Qs),z=Ht.sqrt(z*z+ne*ne)/2;for(var re=!1,oe=ne=0,he=0,fe=y.vertexes.iterator;fe.next();){var Se=fe.value;1>=Se.Vd?oe++:(re=!0,he++,ne+=Math.atan2(y.centerY-Se.centerY,y.centerX-Se.centerX))}if(oe!==0){for(0<he&&(ne/=he),he=y=0,y=re?2*Math.PI/(oe+1):2*Math.PI/oe,oe%2===0&&(he=y/2),1<E.count&&E.sort(function(Ne,Be){return Ne===null||Be===null||Ne===Be?0:Be.width*Be.height-Ne.width*Ne.height}),re=oe%2===0?0:1,E=E.iterator;E.next();)if(oe=E.value,!(1<oe.Vd||a.isFixed(oe))){for(fe=null,Se=oe.edges.iterator;Se.next();){fe=Se.value;break}Se=oe.width;var Te=oe.height;Se=Ht.sqrt(Se*Se+Te*Te)/2,fe=z+fe.length+Se,Se=ne+(y*(re/2>>1)+he)*(re%2===0?1:-1),oe.centerX=x+fe*Math.cos(Se),oe.centerY=b+fe*Math.sin(Se),re++}}}}function j1(a,y,E,x,b,z,ne){var re=9e19,oe=-1,he=0;e:for(;he<y;he++){var fe=a[he],Se=fe.x-E,Te=fe.y-x;if(Se=Se*Se+Te*Te,Se<re){for(Te=he-1;0<=Te;Te--)if(a[Te].y>fe.y&&a[Te].x-fe.x<b+ne.width)continue e;for(Te=he+1;Te<y;Te++)if(a[Te].x>fe.x&&a[Te].y-fe.y<z+ne.height)continue e;oe=he,re=Se}}return oe}Qs.prototype.Cu=function(){if(this.comments)for(var a=this.network.vertexes.iterator;a.next();)this.addComments(a.value)},Qs.prototype.addComments=function(a){var y=a.node;if(y!==null)for(y=y.Mu();y.next();){var E=y.value;if(E.category==="Comment"&&E.isVisible()){var x=this.network.ki(E);x===null&&(x=this.network.Bl(E)),x.charge=this.defaultCommentElectricalCharge,E=null;for(var b=x.destinationEdges;b.next();){var z=b.value;if(z.toVertex===a){E=z;break}}if(E===null){for(b=x.sourceEdges;b.next();)if(z=b.value,z.fromVertex===a){E=z;break}}E===null&&(E=this.network.Zj(a,x,null)),E.length=this.defaultCommentSpringLength}}};function G1(a,y){var E=a.bounds,x=E.x;a=E.y;var b=E.width;E=E.height;var z=y.bounds,ne=z.x;y=z.y;var re=z.width;return z=z.height,x+b<ne?a>y+z?(E=x+b-ne,a=a-y-z,Ht.sqrt(E*E+a*a)):a+E<y?(x=x+b-ne,a=a+E-y,Ht.sqrt(x*x+a*a)):ne-(x+b):x>ne+re?a>y+z?(E=x-ne-re,a=a-y-z,Ht.sqrt(E*E+a*a)):a+E<y?(x=x-ne-re,a=a+E-y,Ht.sqrt(x*x+a*a)):x-(ne+re):a>y+z?a-(y+z):a+E<y?y-(a+E):.1}function W1(a,y){for(a.ah=null,y=a.An+y;a.An<y&&(a.An++,ZE(a)););a.ah=null}function ZE(a){a.ah===null&&(a.ah=a.network.vertexes.Fa());var y=a.ah;if(0>=y.length)return!1;var E=y[0];E.forceX=0,E.forceY=0;for(var x=E.centerX,b=x,z=E=E.centerY,ne=1;ne<y.length;ne++){var re=y[ne];re.forceX=0,re.forceY=0;var oe=re.centerX;re=re.centerY,x=Math.min(x,oe),b=Math.max(b,oe),E=Math.min(E,re),z=Math.max(z,re)}(b=b-x>z-E)?y.sort(function(We,vt){return We===null||vt===null||We===vt?0:We.centerX-vt.centerX}):y.sort(function(We,vt){return We===null||vt===null||We===vt?0:We.centerY-vt.centerY}),E=a.Zf;var he=x=re=0;for(z=0;z<y.length;z++){ne=y[z],x=ne.bounds,re=ne.focus,oe=x.x+re.x;var fe=x.y+re.y;x=ne.charge*a.electricalFieldX(oe,fe),he=ne.charge*a.electricalFieldY(oe,fe),x+=ne.mass*a.gravitationalFieldX(oe,fe),he+=ne.mass*a.gravitationalFieldY(oe,fe),ne.forceX+=x,ne.forceY+=he;for(var Se=z+1;Se<y.length;Se++){var Te=y[Se];if(Te!==ne){x=Te.bounds,re=Te.focus,he=x.x+re.x;var Ne=x.y+re.y;if(oe-he>E||he-oe>E){if(b)break}else if(fe-Ne>E||Ne-fe>E){if(!b)break}else{var Be=G1(ne,Te);1>Be?(x=a.randomNumberGenerator,x===null&&(a.randomNumberGenerator=x=new A0),Be=x.random(),re=x.random(),oe>he?(x=Math.abs(Te.bounds.right-ne.bounds.x),x=(1+x)*Be):oe<he?(x=Math.abs(Te.bounds.x-ne.bounds.right),x=-(1+x)*Be):(x=Math.max(Te.width,ne.width),x=(1+x)*Be-x/2),fe>Ne?(he=Math.abs(Te.bounds.bottom-ne.bounds.y),he=(1+he)*re):oe<he?(he=Math.abs(Te.bounds.y-ne.bounds.bottom),he=-(1+he)*re):(he=Math.max(Te.height,ne.height),he=(1+he)*re-he/2)):(re=-(ne.charge*Te.charge)/(Be*Be),x=(he-oe)/Be*re,he=(Ne-fe)/Be*re),ne.forceX+=x,ne.forceY+=he,Te.forceX-=x,Te.forceY-=he}}}}for(b=a.network.edges.iterator;b.next();)re=b.value,E=re.fromVertex,z=re.toVertex,ne=E.bounds,oe=E.focus,x=ne.x+oe.x,ne=ne.y+oe.y,fe=z.bounds,Se=z.focus,oe=fe.x+Se.x,fe=fe.y+Se.y,Se=G1(E,z),1>Se?(Se=a.randomNumberGenerator,Se===null&&(a.randomNumberGenerator=Se=new A0),re=Se.random(),Se=Se.random(),x=(x>oe?1:-1)*(1+(z.width>E.width?z.width:E.width))*re,he=(ne>fe?1:-1)*(1+(z.height>E.height?z.height:E.height))*Se):(re=re.stiffness*(Se-re.length),x=(oe-x)/Se*re,he=(fe-ne)/Se*re),E.forceX+=x,E.forceY+=he,z.forceX-=x,z.forceY-=he;for(b=x=0;b<y.length;b++)E=y[b],a.isFixed(E)?a.moveFixedVertex(E):x=Math.max(x,a.moveVertex(E)||0);return x>a.epsilonDistance*a.epsilonDistance}Qs.prototype.moveVertex=function(a){var y=a.forceX,E=a.forceY,x=this.moveLimit;return y<-x?y=-x:y>x&&(y=x),E<-x?E=-x:E>x&&(E=x),a.centerX+=y,a.centerY+=E,y*y+E*E},Qs.prototype.moveFixedVertex=function(){},Qs.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Qs.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=$a,y.toSpot=$a)}},Qs.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var E=an.alloc();this.computeBounds(this.network,E),y=this.arrangementOrigin,a=y.x-E.x,y=y.y-E.y,an.free(E)}E=an.alloc();for(var x=this.network.vertexes.iterator;x.next();){var b=x.value;(a!==0||y!==0)&&(E.assign(b.bounds),E.x+=a,E.y+=y,b.bounds=E),b.commit()}an.free(E)},Qs.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Qs.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Qs.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Qs.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Qs.prototype.electricalFieldX=function(){return 0},Qs.prototype.electricalFieldY=function(){return 0},Qs.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Qs.prototype.gravitationalFieldX=function(){return 0},Qs.prototype.gravitationalFieldY=function(){return 0},Qs.prototype.isFixed=function(a){return a.isFixed},bn.Object.defineProperties(Qs.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&&0<a&&(this.$m=a,this.C())}},infinityDistance:{get:function(){return this.Zf},set:function(a){this.Zf!==a&&1<a&&(this.Zf=a,this.C())}},moveLimit:{get:function(){return this.In},set:function(a){this.In!==a&&1<a&&(this.In=a,this.C())}},randomNumberGenerator:{get:function(){return this.fo},set:function(a){this.fo!==a&&(a!==null&&typeof a.random!="function"&&tn('ForceDirectedLayout.randomNumberGenerator must have a "random()" function on it: '+a),this.fo=a)}},defaultSpringStiffness:{get:function(){return this.Hk},set:function(a){this.Hk!==a&&(this.Hk=a,this.C())}},defaultSpringLength:{get:function(){return this.Gk},set:function(a){this.Gk!==a&&(this.Gk=a,this.C())}},defaultElectricalCharge:{get:function(){return this.Ek},set:function(a){this.Ek!==a&&(this.Ek=a,this.C())}},defaultGravitationalMass:{get:function(){return this.Fk},set:function(a){this.Fk!==a&&(this.Fk=a,this.C())}},defaultCommentSpringLength:{get:function(){return this.Vm},set:function(a){this.Vm!==a&&(this.Vm=a,this.C())}},defaultCommentElectricalCharge:{get:function(){return this.Um},set:function(a){this.Um!==a&&(this.Um=a,this.C())}}}),Qs.className="ForceDirectedLayout";function V1(){this.Tv=this.Sv=this.Qs=this.Ss=this.Rs=0}V1.className="ForceDirectedSubnet";function Of(a){aa.call(this,a)}Kt(Of,aa),Of.prototype.createVertex=function(){return new jp(this)},Of.prototype.createEdge=function(){return new Gp(this)},Of.className="ForceDirectedNetwork";function jp(a){Ts.call(this,a),this.ia=!1,this.Ha=this.u=NaN,this.sh=this.Vd=this.V=this.F=0,this.We=this.Hj=null,this.sv=0}Kt(jp,Ts),bn.Object.defineProperties(jp.prototype,{isFixed:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},charge:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},mass:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},forceX:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}},forceY:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}}}),jp.className="ForceDirectedVertex";function Gp(a){du.call(this,a),this.j=this.o=NaN}Kt(Gp,du),bn.Object.defineProperties(Gp.prototype,{stiffness:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},length:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}}}),Gp.className="ForceDirectedEdge";function A0(){var a=0;a===void 0&&(a=42),this.seed=a,this.ay=48271,this.ey=2147483647,this.Q=44488.07041494893,this.gy=3399,this.by=1/2147483647,this.random()}A0.prototype.random=function(){var a=this.seed%this.Q*this.ay-this.seed/this.Q*this.gy;return 0<a?this.seed=a:this.seed=a+this.ey,this.seed*this.by},A0.className="RandomNumberGenerator";function Bo(a){Aa.call(this),this.kc=this.ie=25,this.K=0,this.Dk=I0,this.Zk=M0,this.Qk=R0,this.bj=4,this.rk=O0,this.bg=15,this.sf=!0,this.Cn=4,this.Ra=this.Iq=this.Ia=-1,this.Md=this.Hn=0,this.Ta=this.Kd=this.Ld=this.he=this.tc=null,this.Kn=0,this.Jn=this.kj=null,this.le=0,this.fl=null,this.Rf=new st,this.He=[],this.He.length=100,this.xw=this.ve=0,a&&Object.assign(this,a)}Kt(Bo,Aa),Bo.prototype.cloneProtected=function(a){Aa.prototype.cloneProtected.call(this,a),a.ie=this.ie,a.kc=this.kc,a.K=this.K,a.Dk=this.Dk,a.Zk=this.Zk,a.Qk=this.Qk,a.bj=this.bj,a.rk=this.rk,a.bg=this.bg,a.sf=this.sf,a.Cn=this.Cn,a.ve=this.ve},Bo.prototype.qb=function(a){a.classType===Bo?a.name.indexOf("Aggressive")===0?this.aggressiveOption=a:a.name.indexOf("Cycle")===0?this.cycleRemoveOption=a:a.name.indexOf("Init")===0?this.initializeOption=a:a.name.indexOf("Layer")===0?this.layeringOption=a:tn("Unknown enum value: "+a):Aa.prototype.qb.call(this,a)},Bo.prototype.createNetwork=function(){return new Ig(this)},Bo.prototype.doLayout=function(a){for(this.network===null&&(this.network=this.makeNetwork(a)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin),this.Iq=-1,this.Md=this.Hn=0,this.fl=this.Jn=this.kj=null,a=0;a<this.He.length;a++)this.He[a]=null;if(0<this.network.vertexes.count){for(this.network.Ko(),this.cycleRemoveOption!==Vp&&this.removeCycles(),a=this.network.vertexes.iterator;a.next();)a.value.layer=-1;for(this.Ia=-1,this.assignLayers(),a.reset();a.next();)this.Ia=Math.max(this.Ia,a.value.layer);this.cycleRemoveOption===Vp&&this.removeCycles(),a=this.network;for(var y=[],E=a.edges.iterator;E.next();){var x=E.value;x.valid=!1,y.push(x)}for(E=0;E<y.length;E++){x=y[E];var b=x.fromVertex,z=x.toVertex;if(!(x.valid||(b.node===null&&b.data===null||z.node===null&&z.data===null)&&b.layer===z.layer)){var ne=0,re=0,oe=0,he=0;if(x.link!==null){if(re=x.link,re===null)continue;var fe=b.node;if(ne=z.node,fe===null||ne===null)continue;var Se=re.fromNode;oe=re.toNode;for(var Te=re.fromPort;Te!==null&&!Te.Ed();)Te=Te.panel;for(re=re.toPort;re!==null&&!re.Ed();)re=re.panel;if(x.rev){he=Se;var Ne=Te;Se=oe,Te=re,oe=he,re=Ne}var Be=b.focus;he=z.focus;var We=x.rev?z.bounds:b.bounds;Ne=st.alloc(),fe!==Se?We.w()&&Se.isVisible()?Se.actualBounds.w()?(Gd(Se,Te,Yr,Ne),Ne.x+=Se.actualBounds.x-We.x,Ne.y+=Se.actualBounds.y-We.y):(Gd(Se,Te,Yr,Ne),Ne.w()||Ne.assign(Be)):Ne.assign(Be):We.w()?(Gd(Se,Te,Yr,Ne),Ne.w()||Ne.assign(Be)):Ne.assign(Be),Se=x.rev?b.bounds:z.bounds,fe=st.alloc(),ne!==oe?Se.w()&&oe.isVisible()?oe.actualBounds.w()?(Gd(oe,re,Yr,fe),fe.x+=oe.actualBounds.x-Se.x,fe.y+=oe.actualBounds.y-Se.y):(Gd(oe,re,Yr,fe),fe.w()||fe.assign(he)):fe.assign(he):Se.w()?(Gd(oe,re,Yr,fe),fe.w()||fe.assign(he)):fe.assign(he),this.K===90||this.K===270?(ne=Math.round((Ne.x-Be.x)/this.kc),oe=Ne.x,re=Math.round((fe.x-he.x)/this.kc),he=fe.x):(ne=Math.round((Ne.y-Be.y)/this.kc),oe=Ne.y,re=Math.round((fe.y-he.y)/this.kc),he=fe.y),st.free(Ne),st.free(fe),x.portFromColOffset=ne,x.portFromPos=oe,x.portToColOffset=re,x.portToPos=he}else x.portFromColOffset=0,x.portFromPos=0,x.portToColOffset=0,x.portToPos=0;if(Ne=b.layer,fe=z.layer,Se=0,We=x.link,We!==null){var vt=We.fromPort,ct=We.toPort;if(vt!==null&&ct!==null){var wt=We.fromNode;if(Te=We.toNode,wt!==null&&Te!==null){var Tt=k0(this,!0),kt=k0(this,!1),Bt=this.setsPortSpots?Tt:We.computeSpot(!0,vt);Be=this.setsPortSpots?kt:We.computeSpot(!1,ct);var en=We.isOrthogonal;Bt.$c()&&Bt.Hf(kt)&&Be.$c()&&Be.Hf(Tt)?Se=0:(Tt=We.getLinkPoint(wt,vt,Bt,!0,en,Te,ct,st.alloc()),kt=We.getLinkDirection(wt,vt,Tt,Bt,!0,en,Te,ct),st.free(Tt),Bt.ys()||kt!==eE(this,x,!0)?this.setsPortSpots&&wt!==null&&wt.ports.count===1&&x.rev&&(Se+=1):Se+=1,Bt=We.getLinkPoint(Te,ct,Be,!1,en,wt,vt,st.alloc()),We=We.getLinkDirection(Te,ct,Bt,Be,!1,en,wt,vt),st.free(Bt),Be.ys()||We!==eE(this,x,!1)?this.setsPortSpots&&Te!==null&&Te.ports.count===1&&x.rev&&(Se+=2):Se+=2)}}}if(Te=Se,Se=Te===1||Te===3,(Te=Te===2||Te===3)&&(Be=a.createVertex(),Be.node=null,Be.Dj=1,Be.layer=Ne,Be.near=b,a.dh(Be),b=a.Zj(b,Be,x.link),b.valid=!1,b.rev=x.rev,b.portFromColOffset=ne,b.portToColOffset=0,b.portFromPos=oe,b.portToPos=0,b=Be),We=1,Se&&We--,Ne-fe>We&&0<Ne){for(x.valid=!1,Be=a.createVertex(),Be.node=null,Be.Dj=2,Be.layer=Ne-1,a.dh(Be),b=a.Zj(b,Be,x.link),b.valid=!0,b.rev=x.rev,b.portFromColOffset=Te?0:ne,b.portToColOffset=0,b.portFromPos=Te?0:oe,b.portToPos=0,b=Be,Ne--;Ne-fe>We&&0<Ne;)Be=a.createVertex(),Be.node=null,Be.Dj=3,Be.layer=Ne-1,a.dh(Be),b=a.Zj(b,Be,x.link),b.valid=!0,b.rev=x.rev,b.portFromColOffset=0,b.portToColOffset=0,b.portFromPos=0,b.portToPos=0,b=Be,Ne--;b=a.Zj(Be,z,x.link),b.valid=!Se,Se&&(Be.near=z),b.rev=x.rev,b.portFromColOffset=0,b.portToColOffset=re,b.portFromPos=0,b.portToPos=he}else x.valid=!0}}for(a=this.tc=[],y=0;y<=this.Ia;y++)a[y]=0;for(y=this.network.vertexes.iterator;y.next();)y.value.index=-1;for(this.initializeIndices(),this.Iq=-1,E=this.Md=this.Hn=0;E<=this.Ia;E++)a[E]>a[this.Md]&&(this.Iq=a[E]-1,this.Md=E),a[E]<a[this.Hn]&&(this.Hn=E);for(this.fl=[],E=0;E<a.length;E++)this.fl[E]=[];for(y.reset();y.next();)a=y.value,this.fl[a.layer][a.index]=a;for(this.Ra=-1,a=0;a<=this.Ia;a++){for(y=Ch(this,a),E=0,x=this.tc[a],z=0;z<x;z++)b=y[z],E+=this.nodeMinColumnSpace(b,!0),b.column=E,E+=1,E+=this.nodeMinColumnSpace(b,!1);this.Ra=Math.max(this.Ra,E-1),Th(this,a,y)}this.reduceCrossings(),this.straightenAndPack(),this.updateParts()}this.network=null,this.isValidLayout=!0},Bo.prototype.linkMinLength=function(){return 1};function vy(a){var y=a.fromVertex.node||a.fromVertex.data;return a=a.toVertex.node||a.toVertex.data,y===null&&a===null?8:y===null||a===null?4:1}Bo.prototype.nodeMinLayerSpace=function(a,y){return a.node===null&&a.data===null?0:this.K===90||this.K===270?y?a.focus.y+10:a.bounds.height-a.focus.y+10:y?a.focus.x+10:a.bounds.width-a.focus.x+10},Bo.prototype.nodeMinColumnSpace=function(a,y){if(a.node===null&&a.data===null)return 0;var E=y?a.ev:a.dv;return E!==null?E:(E=this.K,E===90||E===270?y?a.ev=a.focus.x/this.kc+1|0:a.dv=(a.bounds.width-a.focus.x)/this.kc+1|0:y?a.ev=a.focus.y/this.kc+1|0:a.dv=(a.bounds.height-a.focus.y)/this.kc+1|0)};function Yl(a){a.kj===null&&(a.kj=[]);for(var y=0,E=a.network.vertexes.iterator;E.next();){var x=E.value;a.kj[y]=x.layer,y++,a.kj[y]=x.column,y++,a.kj[y]=x.index,y++}return a.kj}function Gu(a,y){var E=0;for(a=a.network.vertexes.iterator;a.next();){var x=a.value;x.layer=y[E],E++,x.column=y[E],E++,x.index=y[E],E++}}function Y1(a,y,E){var x=Ch(a,y),b=a.tc[y];(a.Jn===null||a.Jn.length<b*b)&&(a.Jn=[]);for(var z=a.Jn,ne=0;ne<b;ne++){var re=0,oe=x[ne],he=oe.near;if(he!==null&&he.layer===oe.layer)if(oe=he.index,oe>ne)for(var fe=ne+1;fe<oe;fe++){var Se=x[fe];Se.near===he&&Se.Dj===he.Dj||re++}else for(fe=ne-1;fe>oe;fe--)Se=x[fe],Se.near===he&&Se.Dj===he.Dj||re++;var Te;if(0<=E)for(oe=x[ne].sourceEdgesArrayAccess,he=0;he<oe.length;he++){var Ne=oe[he];if(Ne.valid&&Ne.fromVertex.layer!==y)for(Se=Ne.fromVertex.index,fe=Ne.portToPos,Ne=Ne.portFromPos,Te=he+1;Te<oe.length;Te++){var Be=oe[Te];if(Be.valid&&Be.fromVertex.layer!==y){var We=Be.fromVertex.index,vt=Be.portToPos;Be=Be.portFromPos,fe<vt&&(Se>We||Se===We&&Ne>Be)&&re++,vt<fe&&(We>Se||We===Se&&Be>Ne)&&re++}}}if(0>=E){for(oe=x[ne].destinationEdgesArrayAccess,he=0;he<oe.length;he++)if(Ne=oe[he],Ne.valid&&Ne.toVertex.layer!==y)for(Se=Ne.toVertex.index,fe=Ne.portToPos,Ne=Ne.portFromPos,Te=he+1;Te<oe.length;Te++)Be=oe[Te],Be.valid&&Be.toVertex.layer!==y&&(We=Be.toVertex.index,vt=Be.portToPos,Be=Be.portFromPos,Ne<Be&&(Se>We||Se===We&&fe>vt)&&re++,Be<Ne&&(We>Se||We===Se&&vt>fe)&&re++)}for(z[ne*b+ne]=re,oe=ne+1;oe<b;oe++){var ct=0,wt=0;if(0<=E){re=x[ne].sourceEdgesArrayAccess;var Tt=x[oe].sourceEdgesArrayAccess;for(he=0;he<re.length;he++)if(Ne=re[he],Ne.valid&&Ne.fromVertex.layer!==y)for(Se=Ne.fromVertex.index,Ne=Ne.portFromPos,Te=0;Te<Tt.length;Te++)Be=Tt[Te],Be.valid&&Be.fromVertex.layer!==y&&(We=Be.fromVertex.index,Be=Be.portFromPos,(Se<We||Se===We&&Ne<Be)&&wt++,(We<Se||We===Se&&Be<Ne)&&ct++)}if(0>=E){for(re=x[ne].destinationEdgesArrayAccess,Tt=x[oe].destinationEdgesArrayAccess,he=0;he<re.length;he++)if(Ne=re[he],Ne.valid&&Ne.toVertex.layer!==y)for(Se=Ne.toVertex.index,fe=Ne.portToPos,Te=0;Te<Tt.length;Te++)Be=Tt[Te],Be.valid&&Be.toVertex.layer!==y&&(We=Be.toVertex.index,vt=Be.portToPos,(Se<We||Se===We&&fe<vt)&&wt++,(We<Se||We===Se&&vt<fe)&&ct++)}z[ne*b+oe]=ct,z[oe*b+ne]=wt}}return Th(a,y,x),z}Bo.prototype.countCrossings=function(){for(var a=0,y=0;y<=this.Ia;y++)for(var E=Y1(this,y,1),x=this.tc[y],b=0;b<x;b++)for(var z=b;z<x;z++)a+=E[b*x+z];return a};function P0(a){for(var y=0,E=0;E<=a.Ia;E++){for(var x=a,b=E,z=Ch(x,b),ne=x.tc[b],re=0,oe=0;oe<ne;oe++){var he=z[oe].destinationEdgesArrayAccess;if(he!==null)for(var fe=0;fe<he.length;fe++){var Se=he[fe];if(Se.valid&&Se.toVertex.layer!==b){var Te=Se.fromVertex.column+Se.portFromColOffset,Ne=Se.toVertex.column+Se.portToColOffset;re+=(Math.abs(Te-Ne)+1)*vy(Se)}}}Th(x,b,z),y+=re}return y}Bo.prototype.normalize=function(){var a=1/0;this.Ra=-1;for(var y=this.network.vertexes.iterator;y.next();){var E=y.value;a=Math.min(a,E.column-this.nodeMinColumnSpace(E,!0)),this.Ra=Math.max(this.Ra,E.column+this.nodeMinColumnSpace(E,!1))}for(y.reset();y.next();)y.value.column-=a;this.Ra-=a};function yy(a,y,E){for(var x=Ch(a,y),b=a.tc[y],z=[],ne=0;ne<b;ne++){var re=x[ne],oe=null;0>=E&&(oe=re.sourceEdgesArrayAccess);var he=null;0<=E&&(he=re.destinationEdgesArrayAccess);var fe=0,Se=0,Te=re.near;if(Te!==null&&Te.layer===re.layer&&(fe+=Te.column-1,Se++),oe!==null)for(Te=0;Te<oe.length;Te++){re=oe[Te];var Ne=re.fromVertex;re.valid&&!re.rev&&Ne.layer!==y&&(fe+=Ne.column,Se++)}if(he!==null)for(oe=0;oe<he.length;oe++)re=he[oe],Te=re.toVertex,re.valid&&!re.rev&&Te.layer!==y&&(fe+=Te.column,Se++);z[ne]=Se===0?-1:fe/Se}return Th(a,y,x),z}function K1(a,y,E){for(var x=Ch(a,y),b=a.tc[y],z=[],ne=0;ne<b;ne++){var re=x[ne],oe=null;0>=E&&(oe=re.sourceEdgesArrayAccess);var he=null;0<=E&&(he=re.destinationEdgesArrayAccess);var fe=0,Se=[],Te=re.near;if(Te!==null&&Te.layer===re.layer&&(Se[fe]=Te.column-1,fe++),re=void 0,oe!==null)for(Te=0;Te<oe.length;Te++){re=oe[Te];var Ne=re.fromVertex;re.valid&&!re.rev&&Ne.layer!==y&&(Se[fe]=Ne.column+re.portFromColOffset,fe++)}if(he!==null)for(oe=0;oe<he.length;oe++)re=he[oe],Te=re.toVertex,re.valid&&!re.rev&&Te.layer!==y&&(Se[fe]=Te.column+re.portToColOffset,fe++);fe===0?z[ne]=-1:(Se.sort(function(Be,We){return Be-We}),he=fe>>1,z[ne]=fe&1?Se[he]:Se[he-1]+Se[he]>>1)}return Th(a,y,x),z}function Wp(a,y,E,x,b,z){if(y.component===x){if(y.component=E,b)for(var ne=y.destinationEdges;ne.next();){var re=ne.value,oe=re.toVertex,he=y.layer-oe.layer;re=a.linkMinLength(re),he===re&&Wp(a,oe,E,x,b,z)}if(z)for(ne=y.sourceEdges;ne.next();)re=ne.value,oe=re.fromVertex,he=oe.layer-y.layer,re=a.linkMinLength(re),he===re&&Wp(a,oe,E,x,b,z)}}function Sy(a,y,E,x,b,z){if(y.component===x){if(y.component=E,b)for(var ne=y.destinationEdges;ne.next();)Sy(a,ne.value.toVertex,E,x,b,z);if(z)for(y=y.sourceEdges;y.next();)Sy(a,y.value.fromVertex,E,x,b,z)}}Bo.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case by:a=this.network;var y=0,E=a.vertexes.count-1,x=[];x.length=E+1;for(var b=a.vertexes.iterator;b.next();)b.value.valid=!0;for(;XE(a)!==null;){for(b=Z1(a);b!==null;)x[E]=b,E--,b.valid=!1,b=Z1(a);for(b=X1(a);b!==null;)x[y]=b,y++,b.valid=!1,b=X1(a);b=null;for(var z=0,ne=this.network.vertexes.iterator;ne.next();){var re=ne.value;if(re.valid){for(var oe=0,he=re.destinationEdges;he.next();)he.value.toVertex.valid&&oe++;he=0;for(var fe=re.sourceEdges;fe.next();)fe.value.fromVertex.valid&&he++;(b===null||z<oe-he)&&(b=re,z=oe-he)}}b!==null&&(x[y]=b,y++,b.valid=!1)}for(y=0;y<a.vertexes.count;y++)x[y].index=y;for(x=a.edges.iterator;x.next();)y=x.value,y.fromVertex.index>y.toVertex.index&&(a.gm(y),y.rev=!0);break;case I0:for(x=this.network.vertexes.iterator;x.next();)a=x.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,x.reset();x.next();)y=x.value,y.sourceEdges.count===0&&Ey(this,y);for(x.reset();x.next();)y=x.value,y.Ll===-1&&Ey(this,y);for(a.reset();a.next();)x=a.value,x.forest||(y=x.fromVertex,E=y.finish,b=x.toVertex,z=b.finish,b.Ll<y.Ll&&E<z&&(this.network.gm(x),x.rev=!0));break;case Vp:for(a=this.network,y=a.vertexes.iterator,x=1/0;y.next();)x=Math.min(x,y.value.layer);if(1/0>x){if(0>x)for(y.reset();y.next();)y.value.layer-=x;for(x=[],y.reset();y.next();)E=y.value,b=x[E.layer],b===void 0?x[E.layer]=[E]:b.push(E);for(E=y=0;E<x.length;E++)if(b=x[E],!b||b.length===0)y++;else if(0<E)for(z=0;z<b.length;z++)b[z].layer-=y;for(x=a.edges.iterator;x.next();)y=x.value,y.fromVertex.layer<y.toVertex.layer&&(a.gm(y),y.rev=!0)}}};function XE(a){for(a=a.vertexes.iterator;a.next();){var y=a.value;if(y.valid)return y}return null}function Z1(a){for(a=a.vertexes.iterator;a.next();){var y=a.value;if(y.valid){for(var E=!0,x=y.destinationEdges;x.next();)if(x.value.toVertex.valid){E=!1;break}if(E)return y}}return null}function X1(a){for(a=a.vertexes.iterator;a.next();){var y=a.value;if(y.valid){for(var E=!0,x=y.sourceEdges;x.next();)if(x.value.fromVertex.valid){E=!1;break}if(E)return y}}return null}function Ey(a,y){y.Ll=a.Kn,a.Kn++;for(var E=y.destinationEdges;E.next();){var x=E.value,b=x.toVertex;b.Ll===-1&&(x.forest=!0,Ey(a,b))}y.finish=a.Kn,a.Kn++}Bo.prototype.assignLayers=function(){switch(this.Zk){case wy:Q1(this);break;case Cy:for(var a,y=this.network.vertexes.iterator;y.next();)a=q1(this,y.value),this.Ia=Math.max(a,this.Ia);for(y.reset();y.next();)a=y.value,a.layer=this.Ia-a.layer;break;default:case M0:for(Q1(this),y=this.network.vertexes.iterator;y.next();)y.value.valid=!1;for(y.reset();y.next();)a=y.value,a.sourceEdges.count===0&&$1(this,a);for(a=1/0,y.reset();y.next();)a=Math.min(a,y.value.layer);for(this.Ia=-1,y.reset();y.next();){var E=y.value;E.layer-=a,this.Ia=Math.max(this.Ia,E.layer)}}};function Q1(a){for(var y=a.network.vertexes.iterator;y.next();){var E=J1(a,y.value);a.Ia=Math.max(E,a.Ia)}}function J1(a,y){var E=0;if(y.layer===-1){for(var x=y.destinationEdges;x.next();){var b=x.value,z=b.toVertex;b=a.linkMinLength(b),E=Math.max(E,J1(a,z)+b)}y.layer=E}else E=y.layer;return E}function q1(a,y){var E=0;if(y.layer===-1){for(var x=y.sourceEdges;x.next();){var b=x.value,z=b.fromVertex;b=a.linkMinLength(b),E=Math.max(E,q1(a,z)+b)}y.layer=E}else E=y.layer;return E}function $1(a,y){if(!y.valid){y.valid=!0;for(var E=y.destinationEdges;E.next();)$1(a,E.value.toVertex);for(E=a.network.vertexes.iterator;E.next();)E.value.component=-1;for(var x=y.sourceEdgesArrayAccess,b=x.length,z=0;z<b;z++){var ne=x[z],re=ne.fromVertex,oe=ne.toVertex;ne=a.linkMinLength(ne),re.layer-oe.layer>ne&&Wp(a,re,0,-1,!0,!1)}for(Wp(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,x=1/0,re=0,oe=null,ne=a.network.vertexes.iterator;ne.next();){var he=ne.value;if(he.component===1){var fe=0,Se=!1,Te=he.sourceEdgesArrayAccess;b=Te.length;for(var Ne=0;Ne<b;Ne++){var Be=Te[Ne],We=Be.fromVertex;fe+=1,We.component!==1&&(z+=1,We=We.layer-he.layer,Be=a.linkMinLength(Be),x=Math.min(x,We-Be))}for(Te=he.destinationEdgesArrayAccess,b=Te.length,Ne=0;Ne<b;Ne++)Be=Te[Ne].toVertex,--fe,Be.component!==1?--z:Se=!0;(oe===null||fe<re)&&!Se&&(oe=he,re=fe)}}if(0<z){for(E.reset();E.next();)b=E.value,b.component===1&&(b.layer+=x);y.component=0}else oe.component=0}for(E=a.network.vertexes.iterator;E.next();)E.value.component=-1;for(Wp(a,y,1,-1,!0,!1);y.component!==0;){for(x=0,b=1/0,z=0,re=null,oe=a.network.vertexes.iterator;oe.next();)if(ne=oe.value,ne.component===1){for(he=0,fe=!1,Te=ne.sourceEdgesArrayAccess,Se=Te.length,Ne=0;Ne<Se;Ne++)Be=Te[Ne].fromVertex,he+=1,Be.component!==1?x+=1:fe=!0;for(Te=ne.destinationEdgesArrayAccess,Se=Te.length,Ne=0;Ne<Se;Ne++)Be=Te[Ne],We=Be.toVertex,--he,We.component!==1&&(--x,We=ne.layer-We.layer,Be=a.linkMinLength(Be),b=Math.min(b,We-Be));(re===null||he>z)&&!fe&&(re=ne,z=he)}if(0>x){for(E.reset();E.next();)x=E.value,x.component===1&&(x.layer-=b);y.component=0}else re.component=0}}}function eE(a,y,E){return a.K===90?E&&!y.rev||!E&&y.rev?270:90:a.K===180?E&&!y.rev||!E&&y.rev?0:180:a.K===270?E&&!y.rev||!E&&y.rev?90:270:E&&!y.rev||!E&&y.rev?180:0}Bo.prototype.initializeIndices=function(){switch(this.Qk){default:case Ay:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,E=y.layer;y.index=this.tc[E],this.tc[E]++}break;case R0:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)E=a.value,E.layer===y&&E.index===-1&&tE(this,E);break;case Ty:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)E=a.value,E.layer===y&&E.index===-1&&nE(this,E)}};function tE(a,y){var E=y.layer;for(y.index=a.tc[E],a.tc[E]++,y=y.destinationEdgesArrayAccess,E=!0;E;){E=!1;for(var x=0;x<y.length-1;x++){var b=y[x],z=y[x+1];b.portFromColOffset>z.portFromColOffset&&(E=!0,y[x]=z,y[x+1]=b)}}for(E=0;E<y.length;E++)x=y[E],x.valid&&(x=x.toVertex,x.index===-1&&tE(a,x))}function nE(a,y){var E=y.layer;y.index=a.tc[E],a.tc[E]++,y=y.sourceEdgesArrayAccess;for(var x=!0;x;)for(x=!1,E=0;E<y.length-1;E++){var b=y[E],z=y[E+1];b.portToColOffset>z.portToColOffset&&(x=!0,y[E]=z,y[E+1]=b)}for(E=0;E<y.length;E++)x=y[E],x.valid&&(x=x.fromVertex,x.index===-1&&nE(a,x))}Bo.prototype.reduceCrossings=function(){var a=this.countCrossings(),y=Yl(this),E,x;for(E=0;E<this.bj;E++){for(x=0;x<=this.Ia;x++)N0(this,x,1),nc(this,x,1);var b=this.countCrossings();for(b<a&&(a=b,y=Yl(this)),x=this.Ia;0<=x;x--)N0(this,x,-1),nc(this,x,-1);b=this.countCrossings(),b<a&&(a=b,y=Yl(this))}for(Gu(this,y),E=0;E<this.bj;E++){for(x=0;x<=this.Ia;x++)N0(this,x,0),nc(this,x,0);for(b=this.countCrossings(),b<a&&(a=b,y=Yl(this)),x=this.Ia;0<=x;x--)N0(this,x,0),nc(this,x,0);b=this.countCrossings(),b<a&&(a=b,y=Yl(this))}Gu(this,y);var z,ne,re;switch(this.rk){case Py:break;case Ny:for(re=a+1;(x=this.countCrossings())<re;)for(re=x,E=this.Ia;0<=E;E--)for(ne=0;ne<=E;ne++){for(z=!0;z;)for(z=!1,x=E;x>=ne;x--)z=nc(this,x,-1)||z;for(b=this.countCrossings(),b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=E;x>=ne;x--)z=nc(this,x,1)||z;for(b=this.countCrossings(),b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=ne;x<=E;x++)z=nc(this,x,1)||z;for(b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=ne;x<=E;x++)z=nc(this,x,-1)||z;for(b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=E;x>=ne;x--)z=nc(this,x,0)||z;for(b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=ne;x<=E;x++)z=nc(this,x,0)||z;b>=a?Gu(this,y):(a=b,y=Yl(this))}break;default:case O0:for(E=this.Ia,ne=0,re=a+1;(x=this.countCrossings())<re;){for(re=x,z=!0;z;)for(z=!1,x=E;x>=ne;x--)z=nc(this,x,-1)||z;for(b=this.countCrossings(),b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=E;x>=ne;x--)z=nc(this,x,1)||z;for(b=this.countCrossings(),b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=ne;x<=E;x++)z=nc(this,x,1)||z;for(b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=ne;x<=E;x++)z=nc(this,x,-1)||z;for(b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=E;x>=ne;x--)z=nc(this,x,0)||z;for(b>=a?Gu(this,y):(a=b,y=Yl(this)),z=!0;z;)for(z=!1,x=ne;x<=E;x++)z=nc(this,x,0)||z;b>=a?Gu(this,y):(a=b,y=Yl(this))}}Gu(this,y)};function N0(a,y,E){var x=Ch(a,y),b=a.tc[y],z=K1(a,y,E),ne=yy(a,y,E);for(E=0;E<b;E++)ne[E]===-1&&(ne[E]=x[E].column),z[E]===-1&&(z[E]=x[E].column);for(var re=!0,oe;re;)for(re=!1,E=0;E<b-1;E++)(z[E+1]<z[E]||z[E+1]===z[E]&&ne[E+1]<ne[E])&&(re=!0,oe=z[E],z[E]=z[E+1],z[E+1]=oe,oe=ne[E],ne[E]=ne[E+1],ne[E+1]=oe,oe=x[E],x[E]=x[E+1],x[E+1]=oe);for(E=z=0;E<b;E++)oe=x[E],oe.index=E,z+=a.nodeMinColumnSpace(oe,!0),oe.column=z,z+=1,z+=a.nodeMinColumnSpace(oe,!1);Th(a,y,x)}function nc(a,y,E){var x=Ch(a,y),b=a.tc[y];E=Y1(a,y,E);var z,ne=[];for(z=0;z<b;z++)ne[z]=-1;var re=[];for(z=0;z<b;z++)re[z]=-1;for(var oe=!1,he=!0;he;)for(he=!1,z=0;z<b-1;z++){var fe=E[x[z].index*b+x[z+1].index],Se=E[x[z+1].index*b+x[z].index],Te=0,Ne=0,Be=x[z].column,We=x[z+1].column,vt=a.nodeMinColumnSpace(x[z],!0),ct=a.nodeMinColumnSpace(x[z],!1),wt=a.nodeMinColumnSpace(x[z+1],!0),Tt=a.nodeMinColumnSpace(x[z+1],!1);vt=Be-vt+wt,ct=We-ct+Tt;var kt=x[z].sourceEdges.iterator;for(kt.reset();kt.next();)if(wt=kt.value,Tt=wt.fromVertex,wt.valid&&Tt.layer===y){for(wt=0;x[wt]!==Tt;)wt++;wt<z&&(Te+=2*(z-wt),Ne+=2*(z+1-wt)),wt===z+1&&(Te+=1),wt>z+1&&(Te+=4*(wt-z),Ne+=4*(wt-(z+1)))}for(kt=x[z].destinationEdges.iterator,kt.reset();kt.next();)if(wt=kt.value,Tt=wt.toVertex,wt.valid&&Tt.layer===y){for(wt=0;x[wt]!==Tt;)wt++;wt===z+1&&(Ne+=1)}for(kt=x[z+1].sourceEdges.iterator,kt.reset();kt.next();)if(wt=kt.value,Tt=wt.fromVertex,wt.valid&&Tt.layer===y){for(wt=0;x[wt]!==Tt;)wt++;wt<z&&(Te+=2*(z+1-wt),Ne+=2*(z-wt)),wt===z&&(Ne+=1),wt>z+1&&(Te+=4*(wt-(z+1)),Ne+=4*(wt-z))}for(kt=x[z+1].destinationEdges.iterator,kt.reset();kt.next();)if(wt=kt.value,Tt=wt.toVertex,wt.valid&&Tt.layer===y){for(wt=0;x[wt]!==Tt;)wt++;wt===z&&(Te+=1)}wt=Tt=0,kt=ne[x[z].index];var Bt=re[x[z].index],en=ne[x[z+1].index],pi=re[x[z+1].index];kt!==-1&&(Tt+=Math.abs(kt-Be),wt+=Math.abs(kt-ct)),Bt!==-1&&(Tt+=Math.abs(Bt-Be),wt+=Math.abs(Bt-ct)),en!==-1&&(Tt+=Math.abs(en-We),wt+=Math.abs(en-vt)),pi!==-1&&(Tt+=Math.abs(pi-We),wt+=Math.abs(pi-vt)),(Ne<Te-.5||Ne===Te&&Se<fe-.5||Ne===Te&&Se===fe&&wt<Tt-.5)&&(he=oe=!0,x[z].column=ct,x[z+1].column=vt,fe=x[z],x[z]=x[z+1],x[z+1]=fe)}for(z=0;z<b;z++)x[z].index=z;return Th(a,y,x),oe}Bo.prototype.straightenAndPack=function(){if(this.ve===0){var a=(this.bg&1)!==0,y=(this.bg&ix)!==0;if(1e3<this.network.edges.count&&y&&(a=!1),a){var E=[];for(y=0;y<=this.Ia;y++)E[y]=0;for(var x,b=this.network.vertexes.iterator;b.next();){var z=b.value;y=z.layer,x=z.column,z=this.nodeMinColumnSpace(z,!1),E[y]=Math.max(E[y],x+z)}for(b.reset();b.next();)z=b.value,y=z.layer,x=z.column,z.column=(8*(this.Ra-E[y])>>1)+8*x;this.Ra*=8}if(this.bg&2)for(E=!0;E;){for(E=!1,y=this.Md+1;y<=this.Ia;y++)E=kg(this,y,1)||E;for(y=this.Md-1;0<=y;y--)E=kg(this,y,-1)||E;E=kg(this,this.Md,0)||E}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)xy(this,y,1);for(y=this.Md-1;0<=y;y--)xy(this,y,-1);xy(this,this.Md,0)}if(a&&(iE(this,-1),iE(this,1)),this.bg&2)for(E=!0;E;){for(E=!1,E=kg(this,this.Md,0)||E,y=this.Md+1;y<=this.Ia;y++)E=kg(this,y,0)||E;for(y=this.Md-1;0<=y;y--)E=kg(this,y,0)||E}}else $E(this)};function kg(a,y,E){for(var x=!1;QE(a,y,E);)x=!0;return x}function QE(a,y,E){var x,b=Ch(a,y),z=a.tc[y],ne=yy(a,y,-1);if(0<E)for(x=0;x<z;x++)ne[x]=-1;var re=yy(a,y,1);if(0>E)for(x=0;x<z;x++)re[x]=-1;for(var oe=!1,he=!0;he;)for(he=!1,x=0;x<z;x++){var fe=b[x].column,Se=a.nodeMinColumnSpace(b[x],!0),Te=a.nodeMinColumnSpace(b[x],!1),Ne=0;0>x-1||fe-b[x-1].column-1>Se+a.nodeMinColumnSpace(b[x-1],!1)?Ne=fe-1:Ne=fe,Se=x+1>=z||b[x+1].column-fe-1>Te+a.nodeMinColumnSpace(b[x+1],!0)?fe+1:fe;var Be=Te=0,We=0;if(0>=E)for(var vt=b[x].sourceEdges.iterator;vt.next();){var ct=vt.value,wt=ct.fromVertex;if(ct.valid&&wt.layer!==y){var Tt=vy(ct),kt=ct.portFromColOffset;ct=ct.portToColOffset,wt=wt.column,Te+=(Math.abs(fe+ct-(wt+kt))+1)*Tt,Be+=(Math.abs(Ne+ct-(wt+kt))+1)*Tt,We+=(Math.abs(Se+ct-(wt+kt))+1)*Tt}}if(0<=E)for(vt=b[x].destinationEdges.iterator;vt.next();)ct=vt.value,wt=ct.toVertex,ct.valid&&wt.layer!==y&&(Tt=vy(ct),kt=ct.portFromColOffset,ct=ct.portToColOffset,wt=wt.column,Te+=(Math.abs(fe+kt-(wt+ct))+1)*Tt,Be+=(Math.abs(Ne+kt-(wt+ct))+1)*Tt,We+=(Math.abs(Se+kt-(wt+ct))+1)*Tt);ct=kt=Tt=0,vt=ne[b[x].index],wt=re[b[x].index],vt!==-1&&(Tt+=Math.abs(vt-fe),kt+=Math.abs(vt-Ne),ct+=Math.abs(vt-Se)),wt!==-1&&(Tt+=Math.abs(wt-fe),kt+=Math.abs(wt-Ne),ct+=Math.abs(wt-Se)),Be<Te||Be===Te&&kt<Tt?(he=oe=!0,b[x].column=Ne):(We<Te||We===Te&&ct<Tt)&&(he=oe=!0,b[x].column=Se)}return Th(a,y,b),a.normalize(),oe}function xy(a,y,E){var x=Ch(a,y),b=a.tc[y],z=K1(a,y,E),ne=[];for(E=0;E<b;E++)ne[E]=z[E];for(z=!0;z;)for(z=!1,E=0;E<b;E++){var re=x[E].column,oe=a.nodeMinColumnSpace(x[E],!0),he=a.nodeMinColumnSpace(x[E],!1),fe=0;if(ne[E]===-1)if(E===0&&E===b-1)fe=re;else if(E===0){var Se=x[E+1].column;Se-re===he+a.nodeMinColumnSpace(x[E+1],!0)?fe=re-1:fe=re}else E===b-1?(Se=x[E-1].column,fe=re-Se===oe+a.nodeMinColumnSpace(x[E-1],!1)?re+1:re):(Se=x[E-1].column,oe=Se+a.nodeMinColumnSpace(x[E-1],!1)+oe+1,Se=x[E+1].column,he=Se-a.nodeMinColumnSpace(x[E+1],!0)-he-1,fe=(oe+he)/2|0);else E===0&&E===b-1?fe=ne[E]:E===0?(Se=x[E+1].column,he=Se-a.nodeMinColumnSpace(x[E+1],!0)-he-1,fe=Math.min(ne[E],he)):E===b-1?(Se=x[E-1].column,oe=Se+a.nodeMinColumnSpace(x[E-1],!1)+oe+1,fe=Math.max(ne[E],oe)):(Se=x[E-1].column,oe=Se+a.nodeMinColumnSpace(x[E-1],!1)+oe+1,Se=x[E+1].column,he=Se-a.nodeMinColumnSpace(x[E+1],!0)-he-1,oe<ne[E]&&ne[E]<he?fe=ne[E]:oe>=ne[E]?fe=oe:he<=ne[E]&&(fe=he));fe!==re&&(z=!0,x[E].column=fe)}Th(a,y,x),a.normalize()}function JE(a,y){for(var E=!0,x=a.network.vertexes.iterator;x.next();){var b=x.value,z=a.nodeMinColumnSpace(b,!0),ne=a.nodeMinColumnSpace(b,!1);if(b.column-z<=y&&b.column+ne>=y){E=!1;break}}if(a=!1,E)for(x.reset();x.next();)E=x.value,E.column>y&&(--E.column,a=!0);return a}function qE(a,y){var E=y+1,x,b=[],z=[];for(x=0;x<=a.Ia;x++)b[x]=!1,z[x]=!1;for(var ne=a.network.vertexes.iterator;ne.next();){x=ne.value;var re=x.column-a.nodeMinColumnSpace(x,!0),oe=x.column+a.nodeMinColumnSpace(x,!1);re<=y&&oe>=y&&(b[x.layer]=!0),re<=E&&oe>=E&&(z[x.layer]=!0)}for(re=!0,E=!1,x=0;x<=a.Ia;x++)re=re&&!(b[x]&&z[x]);if(re)for(ne.reset();ne.next();)a=ne.value,a.column>y&&(--a.column,E=!0);return E}function iE(a,y){for(var E=0;E<=a.Ra;E++)for(;JE(a,E););for(a.normalize(),E=0;E<a.Ra;E++)for(;qE(a,E););a.normalize();var x;if(0<y)for(E=0;E<=a.Ra;E++){var b=Yl(a),z=P0(a);for(x=z+1;z<x;){x=z,rE(a,E,1);var ne=P0(a);ne>z?Gu(a,b):ne<z&&(z=ne,b=Yl(a))}}if(0>y)for(E=a.Ra;0<=E;E--)for(b=Yl(a),z=P0(a),x=z+1;z<x;)x=z,rE(a,E,-1),ne=P0(a),ne>z?Gu(a,b):ne<z&&(z=ne,b=Yl(a));a.normalize()}function rE(a,y,E){a.le=0;for(var x=a.network.vertexes.iterator;x.next();)x.value.component=-1;if(0<E)for(x.reset();x.next();){var b=x.value;b.column-a.nodeMinColumnSpace(b,!0)<=y&&(b.component=a.le)}if(0>E)for(x.reset();x.next();)b=x.value,b.column+a.nodeMinColumnSpace(b,!1)>=y&&(b.component=a.le);for(a.le++,x.reset();x.next();)y=x.value,y.component===-1&&(Sy(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;z<a.le*a.le;z++)y[z]=!1;for(b=[],z=0;z<(a.Ia+1)*(a.Ra+1);z++)b[z]=-1;for(x.reset();x.next();){z=x.value;for(var ne=z.layer,re=Math.max(0,z.column-a.nodeMinColumnSpace(z,!0)),oe=Math.min(a.Ra,z.column+a.nodeMinColumnSpace(z,!1));re<=oe;re++)b[ne*(a.Ra+1)+re]=z.component}for(z=0;z<=a.Ia;z++){if(0<E)for(ne=0;ne<a.Ra;ne++)b[z*(a.Ra+1)+ne]!==-1&&b[z*(a.Ra+1)+ne+1]!==-1&&b[z*(a.Ra+1)+ne]!==b[z*(a.Ra+1)+ne+1]&&(y[b[z*(a.Ra+1)+ne]*a.le+b[z*(a.Ra+1)+ne+1]]=!0);if(0>E)for(ne=a.Ra;0<ne;ne--)b[z*(a.Ra+1)+ne]!==-1&&b[z*(a.Ra+1)+ne-1]!==-1&&b[z*(a.Ra+1)+ne]!==b[z*(a.Ra+1)+ne-1]&&(y[b[z*(a.Ra+1)+ne]*a.le+b[z*(a.Ra+1)+ne-1]]=!0)}for(b=[],z=0;z<a.le;z++)b[z]=!0;for(ne=[],ne.push(0);ne.length!==0;)if(oe=ne[ne.length-1],ne.pop(),b[oe])for(b[oe]=!1,z=0;z<a.le;z++)y[oe*a.le+z]&&ne.splice(0,0,z);if(0<E)for(x.reset();x.next();)a=x.value,b[a.component]&&--a.column;if(0>E)for(x.reset();x.next();)E=x.value,b[E.component]&&(E.column+=1)}function $E(a){for(var y=Vi(),E=a.fl.length,x=0;x<=E;x++)y[x]=[];for(x=a.network.vertexes.iterator;x.next();){var b=x.value;y[E-b.layer][b.index]=b}E=new Rt,ex(y,E);var z=null,ne=null,re=null,oe=null,he=(a.ve&1)!==0,fe=(a.ve&2)!==0,Se=(a.ve&4)!==0,Te=(a.ve&8)!==0;for(he&&(a.verticalAlignment(y,E,!0),z=L0(a,y,!0,!1)),y.reverse(),Se&&(a.verticalAlignment(y,E,!1),re=L0(a,y,!1,!1)),x=Kn(y),b=x.next();!b.done;b=x.next())b.value.reverse();Te&&(a.verticalAlignment(y,E,!1),oe=L0(a,y,!1,!0)),y.reverse(),fe&&(a.verticalAlignment(y,E,!0),ne=L0(a,y,!0,!0)),Qi(y),a.u(z,ne,re,oe),a.network.vertexes.each(function(Ne){var Be=Vi();he&&Be.push(z.get(Ne)),fe&&Be.push(ne.get(Ne)),Se&&Be.push(re.get(Ne)),Te&&Be.push(oe.get(Ne)),Be.sort(function(vt,ct){return vt-ct});var We=Be.length;We=(Be[Math.floor((We-1)/2)]+Be[Math.ceil((We-1)/2)])/2,Qi(Be),Ne.zc=We})}function ex(a,y){for(var E=a.length,x=1;x<E-1;x++)for(var b=0,z=0,ne=a[x],re=a[x+1],oe=0;z<re.length;oe++){var he=re[oe];e:{if(he.node===null){var fe=Ly(he);if(0<fe.length){fe=fe[0].node===null;break e}}fe=!1}var Se=fe;if(oe===re.length-1||Se){for(fe=ne.length-1,Se&&(fe=Ly(he)[0].index);z<=oe;){if(he=re[z],!he.bo){Se=[];for(var Te=Kn(he.sourceEdgesArrayAccess),Ne=Te.next();!Ne.done;Ne=Te.next())Ne=Ne.value,Ne.valid&&Se.push(Ne);he.bo=Se}for(he=Kn(he.bo),Se=he.next();!Se.done;Se=he.next())Se=Se.value,Te=Se.fromVertex.index,(Te<b||Te>fe)&&y.add(Se);z++}b=fe}}}Bo.prototype.verticalAlignment=function(a,y,E){tx(a),a=Kn(a);for(var x=a.next();!x.done;x=a.next()){var b=-1;x=Kn(x.value);for(var z=x.next();!z.done;z=x.next()){z=z.value;var ne=E?Ly(z):rx(z),re=ne.length;if(0<re){ne.sort(function(Se,Te){return Se.vi-Te.vi});var oe=(re-1)/2;for(re=Math.floor(oe),oe=Math.ceil(oe);re<=oe;re++)if(z.align===z){var he=ne[re],fe=void 0;fe=E?D0(he,z):D0(z,he),!y.contains(fe)&&b<he.vi&&(he.align=z,z.root=he.root,z.align=he.root,b=he.vi)}}}}};function tx(a){for(var y=0;y<a.length;y++)for(var E=a[y],x=0;x<E.length;x++){var b=E[x];b.root=b,b.align=b,b.Tz=y,b.vi=x}}function L0(a,y,E,x){for(var b=a.K===90||a.K===270,z=Kn(y),ne=z.next();!ne.done;ne=z.next()){var re=Kn(ne.value);for(ne=re.next();!ne.done;ne=re.next())ne=ne.value,ne.sd=ne,ne.shift=1/0,ne.zc=NaN,ne.qg=0}for(ne=a.K===90||a.K===270,z=Kn(y),re=z.next();!re.done;re=z.next()){re=Kn(re.value);for(var oe=re.next();!oe.done;oe=re.next())if(oe=oe.value,oe.root===oe){for(var he=0,fe=oe;fe.align!==oe;){var Se=fe.align,Te=ne?fe.width:fe.height,Ne=ne?Se.width:Se.height;if(E){var Be=D0(fe,Se),We=Be.portFromPos,vt=Be.portToPos;Be.link!==null&&(fe.node&&fe.node!==Be.link.fromNode&&(We=ne?fe.focusX:fe.focusY),Se.node&&Se.node!==Be.link.toNode&&(vt=ne?Se.focusX:Se.focusY))}else Be=D0(Se,fe),We=Be.portToPos,vt=Be.portFromPos,Be.link!==null&&(fe.node&&fe.node!==Be.link.toNode&&(We=ne?fe.focusX:fe.focusY),Se.node&&Se.node!==Be.link.fromNode&&(vt=ne?Se.focusX:Se.focusY));Te=x?fe.qg+(Te-We)-(Ne-vt):fe.qg+We-vt,Se.qg=Te,he=Math.min(he,Te),fe=fe.align}fe=oe;do fe.qg=fe.qg-he,fe=fe.align;while(fe!==oe)}}for(E=Kn(y),ne=E.next();!ne.done;ne=E.next())for(z=Kn(ne.value),ne=z.next();!ne.done;ne=z.next())ne=ne.value,ne.root===ne&&oE(a,ne,y);for(E=0;E<y.length;E++)if(!(0>=y[E].length)&&(ne=y[E][0],ne.sd===ne)){ne.sd.shift===1/0&&(ne.sd.shift=0),ne=E,re=0;do{for(z=y[ne][re];z.align!==z.root;)z=z.align,ne++,0<z.vi&&(re=aE(z,y),re.sd.shift=Math.min(re.sd.shift,z.sd.shift+z.zc+z.qg-(re.zc+re.qg+(b?re.width:re.height)+a.columnSpacing)));re=z.vi+1}while(ne<y.length&&re<y[ne].length&&z.sd===y[ne][re].sd)}for(a=new Fn,y=Kn(y),ne=y.next();!ne.done;ne=y.next())for(E=Kn(ne.value),ne=E.next();!ne.done;ne=E.next())ne=ne.value,ne.zc=ne.zc+ne.sd.shift+ne.qg,z=b?ne.width:ne.height,a.add(ne,x?-ne.zc-z:ne.zc);return a}function oE(a,y,E){if(isNaN(y.zc)){y.zc=0;var x=y;do{if(0<x.vi){var b=aE(x,E),z=b.root;oE(a,z,E),y.sd===y&&(y.sd=z.sd);var ne=a.K===90||a.K===270?b.width:b.height;y.sd===z.sd&&(y.zc=Math.max(y.zc,z.zc+b.qg+ne-x.qg+a.columnSpacing))}x=x.align}while(x!==y);for(;x.align!==y;)x=x.align,x.zc=y.zc,x.sd=y.sd}}function aE(a,y){var E=a.Tz;return a=a.vi,1>a&&tn("Could not determine previous vertex in layer"),y[E][a-1]}Bo.prototype.u=function(a){for(var y=[],E=0;E<arguments.length;++E)y[E]=arguments[E];E=-1;for(var x=Vi(),b=Vi(),z=1/0,ne=0;4>ne;ne++)if(y[ne]){var re=nx(this,y[ne],x,b,ne);re<z&&(E=ne,z=re)}for(z={},ne=0;4>ne;z={delta:z.delta},ne++)y[ne]&&(z.delta=ne===0||ne===2?x[E]-x[ne]:b[E]-b[ne],z.delta!==0&&y[ne].each(function(oe){return function(he){he.value+=oe.delta}}(z)));Qi(x),Qi(b)};function nx(a,y,E,x,b){if(!y||y.count===0)return E[b]=0,x[b]=0,1/0;var z=1/0,ne=-1/0;return y.each(function(re){var oe=re.key;re=re.value,oe=a.K===90||a.K===270?oe.width:oe.height,re<z&&(z=re),re+oe>ne&&(ne=re+oe)}),E[b]=z,x[b]=ne,ne-z}Bo.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=k0(this,!0),y=k0(this,!1),E=this.network.edges.iterator;E.next();){var x=E.value.link;x!==null&&(x.fromSpot=a,x.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function k0(a,y){return a.K===270?y?Sr:Lo:a.K===90?y?Lo:Sr:a.K===180?y?Kr:no:y?no:Kr}Bo.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,E=y.layer;this.he[E]=Math.max(this.he[E],this.nodeMinLayerSpace(y,!0)),this.Ld[E]=Math.max(this.Ld[E],this.nodeMinLayerSpace(y,!1))}y=0,E=this.ie;for(var x=0;x<=this.Ia;x++){var b=E;0>=this.he[x]+this.Ld[x]&&(b=0),0<x&&(y+=b/2),this.K===90||this.K===0?(y+=this.Ld[x],this.Kd[x]=y,y+=this.he[x]):(y+=this.he[x],this.Kd[x]=y,y+=this.Ld[x]),x<this.Ia&&(y+=b/2),this.Ta[x]=y}for(E=y,y=this.arrangementOrigin,x=0;x<=this.Ia;x++)this.K===270?this.Kd[x]=y.y+this.Kd[x]:this.K===90?(this.Kd[x]=y.y+E-this.Kd[x],this.Ta[x]=E-this.Ta[x]):this.K===180?this.Kd[x]=y.x+this.Kd[x]:(this.Kd[x]=y.x+E-this.Kd[x],this.Ta[x]=E-this.Ta[x]);E=this.ve!==0,a.reset(),x=this.K===270||this.K===90;for(var z=1/0,ne=b=1/0,re=-1/0;a.next();){var oe=a.value,he=oe.layer,fe=oe.column|0;x?(ne=y.x+this.kc*fe,he=this.Kd[he]):(ne=this.Kd[he],he=y.y+this.kc*fe),oe.centerX=ne,oe.centerY=he,E&&isFinite(oe.zc)&&(x?oe.node?oe.x=y.x+oe.zc:oe.centerX=y.x+oe.zc:oe.node?oe.y=y.y+oe.zc:oe.centerY=y.y+oe.zc),z=Math.min(oe.x,z),b=Math.min(oe.y,b),x?(ne=z,re=Math.max(re,oe.bounds.right)):(ne=b,re=Math.max(re,oe.bounds.bottom))}for(this.xw=re-ne,z=y.x-z,y=y.y-b,this.Rf=new st(E&&x?0:z,E&&!x?0:y),a.reset();a.next();)E=a.value,E.x+=z,E.y+=y,E.commit()},Bo.prototype.Gu=function(){for(var a=0,y=this.ie,E=0;E<=this.Ia;E++)a+=this.he[E],a+=this.Ld[E];a+=this.Ia*y,y=[],E=this.ve!==0?this.xw:this.kc*this.Ra;for(var x=this.maxLayer;0<=x;x--)this.K===270?x===0?y.push(new an(0,0,E,Math.abs(this.Ta[0]))):y.push(new an(0,this.Ta[x-1],E,Math.abs(this.Ta[x-1]-this.Ta[x]))):this.K===90?x===0?y.push(new an(0,this.Ta[0],E,Math.abs(this.Ta[0]-a))):y.push(new an(0,this.Ta[x],E,Math.abs(this.Ta[x-1]-this.Ta[x]))):this.K===180?x===0?y.push(new an(0,0,Math.abs(this.Ta[0]),E)):y.push(new an(this.Ta[x-1],0,Math.abs(this.Ta[x-1]-this.Ta[x]),E)):x===0?y.push(new an(this.Ta[0],0,Math.abs(this.Ta[0]-a),E)):y.push(new an(this.Ta[x],0,Math.abs(this.Ta[x-1]-this.Ta[x]),E));this.commitLayers(y,this.Rf)},Bo.prototype.commitLayers=function(){},Bo.prototype.commitLinks=function(){for(var a=this.network.edges.iterator,y;a.next();)y=a.value.link,y!==null&&(y.uh(),y.Fj(),y.zf());for(a.reset();a.next();)y=a.value.link,y!==null&&y.vg();for(a.reset();a.next();){var E=a.value;if(y=E.link,y!==null){y.uh();var x=y,b=x.fromNode,z=x.toNode,ne=x.fromPort,re=x.toPort;if(b!==null){var oe=b.findVisibleNode();oe!==null&&oe!==b&&(b=oe,ne=oe.port)}z!==null&&(oe=z.findVisibleNode(),oe!==null&&oe!==z&&(z=oe,re=oe.port));var he=y.computeSpot(!0,ne);oe=y.computeSpot(!1,re);var fe=E.fromVertex,Se=E.toVertex;if(E.valid)y.curve===Pu&&y.pointsCount===4&&(fe.column===Se.column&&this.alignOption===0?(E=y.getLinkPoint(b,ne,he,!0,!1,z,re),re=y.getLinkPoint(z,re,oe,!1,!1,b,ne),E.w()||E.set(b.actualBounds.center),re.w()||re.set(z.actualBounds.center),y.Fj(),y.yf(E.x,E.y),y.yf((2*E.x+re.x)/3,(2*E.y+re.y)/3),y.yf((E.x+2*re.x)/3,(E.y+2*re.y)/3),y.yf(re.x,re.y)):(E=x=!1,ne!==null&&he===pa&&(x=!0),re!==null&&oe===pa&&(E=!0),(x||E)&&(oe=null,x&&(oe=y.getLinkPointFromPoint(b,ne,ne.ga(Yr),y.i(3),!0),oe.w()||oe.set(b.actualBounds.center),y.L(0,oe.x,oe.y)),b=null,E&&(b=y.getLinkPointFromPoint(z,re,re.ga(Yr),y.i(0),!1),b.w()||b.set(z.actualBounds.center),y.L(3,b.x,b.y)),oe&&(z=y.i(2),y.L(1,(2*oe.x+z.x)/3,(2*oe.y+z.y)/3)),b&&(z=y.i(1),y.L(2,(2*b.x+z.x)/3,(2*b.y+z.y)/3))))),y.zf();else if(fe.layer===Se.layer)y.zf();else{var Te=!1,Ne=!1,Be=this.ie,We=y.firstPickIndex+1;if(y.isOrthogonal){Ne=!0;var vt=y.pointsCount;4<vt&&y.points.removeRange(2,vt-3)}else if(y.curve===Pu)Te=!0,vt=y.pointsCount,4<vt&&y.points.removeRange(2,vt-3),vt===4&&(We=2);else{vt=y.pointsCount;var ct=he===pa,wt=oe===pa;2<vt&&ct&&wt?y.points.removeRange(1,vt-2):3<vt&&ct&&!wt?y.points.removeRange(1,vt-3):3<vt&&!ct&&wt?y.points.removeRange(2,vt-2):4<vt&&!ct&&!wt&&y.points.removeRange(2,vt-3)}if(E.rev){for(;Se!==null&&fe!==Se;){var Tt=vt=null;for(ct=Se.sourceEdges.iterator;ct.next()&&(wt=ct.value,wt.link!==E.link||(vt=wt.fromVertex,Tt=wt.toVertex,vt.node!==null)););if(vt===null)break;if(vt!==fe){ct=y.i(We-1).x,wt=y.i(We-1).y;var kt=vt.centerX,Bt=vt.centerY;if(Ne)this.K===180||this.K===0?We===y.firstPickIndex+1?(y.m(We++,ct,wt),y.m(We++,ct,Bt)):(Tt!==null?Tt.centerY:wt)!==Bt&&(Tt=this.Ta[vt.layer-1]+this.Rf.x,y.m(We++,Tt,wt),y.m(We++,Tt,Bt)):We===y.firstPickIndex+1?(y.m(We++,ct,wt),y.m(We++,kt,wt)):(Tt!==null?Tt.centerX:ct)!==kt&&(Tt=this.Ta[vt.layer-1]+this.Rf.y,y.m(We++,ct,Tt),y.m(We++,kt,Tt));else if(We===y.firstPickIndex+1){Tt=Math.max(10,this.he[Se.layer]);var en=Math.max(10,this.Ld[Se.layer]);if(Te)this.K===180?kt<=Se.bounds.x?(Se=Se.bounds.x,y.m(We++,Se-Tt,Bt),y.m(We++,Se,Bt),y.m(We++,Se+en,Bt)):(y.m(We++,kt-Tt,Bt),y.m(We++,kt,Bt),y.m(We++,kt+en,Bt)):this.K===90?Bt>=Se.bounds.bottom?(Se=Se.bounds.y+Se.bounds.height,y.m(We++,kt,Se+en),y.m(We++,kt,Se),y.m(We++,kt,Se-Tt)):(y.m(We++,kt,Bt+en),y.m(We++,kt,Bt),y.m(We++,kt,Bt-Tt)):this.K===270?Bt<=Se.bounds.y?(Se=Se.bounds.y,y.m(We++,kt,Se-Tt),y.m(We++,kt,Se),y.m(We++,kt,Se+en)):(y.m(We++,kt,Bt-Tt),y.m(We++,kt,Bt),y.m(We++,kt,Bt+en)):this.K===0&&(kt>=Se.bounds.right?(Se=Se.bounds.x+Se.bounds.width,y.m(We++,Se+en,Bt),y.m(We++,Se,Bt),y.m(We++,Se-Tt,Bt)):(y.m(We++,kt+en,Bt),y.m(We++,kt,Bt),y.m(We++,kt-Tt,Bt)));else{y.m(We++,ct,wt);var pi=0;this.K===180||this.K===0?((this.K===180?kt>=Se.bounds.right:kt<=Se.bounds.x)&&(pi=(this.K===0?-Tt:en)/2),y.m(We++,ct+pi,Bt)):((this.K===270?Bt>=Se.bounds.bottom:Bt<=Se.bounds.y)&&(pi=(this.K===90?-Tt:en)/2),y.m(We++,kt,wt+pi)),y.m(We++,kt,Bt)}}else Tt=Math.max(10,this.he[vt.layer]),en=Math.max(10,this.Ld[vt.layer]),Te?this.K===180?(y.m(We++,kt-Tt-Be,Bt),y.m(We++,Math.min(kt-Tt+Be/2,kt),Bt),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,Math.max(kt+en-Be/2,kt),Bt),y.m(We++,kt+en+Be,Bt)):this.K===90?(y.m(We++,kt,Bt+en+Be),y.m(We++,kt,Math.max(Bt+en-Be/2,Bt)),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,kt,Math.min(Bt-Tt+Be/2,Bt)),y.m(We++,kt,Bt-Tt-Be)):this.K===270?(y.m(We++,kt,Bt-Tt-Be),y.m(We++,kt,Math.min(Bt-Tt+Be/2,Bt)),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,kt,Math.max(Bt+en-Be/2,Bt)),y.m(We++,kt,Bt+en+Be)):(y.m(We++,kt+en+Be,Bt),y.m(We++,Math.max(kt+en-Be/2,kt),Bt),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,Math.min(kt-Tt+Be/2,kt),Bt),y.m(We++,kt-Tt-Be,Bt)):y.m(We++,kt,Bt)}Se=vt}(re===null||he!==pa||Ne)&&(ct=y.i(We-1).x,wt=y.i(We-1).y,kt=y.i(We).x,Bt=y.i(We).y,Ne?(Be=this.Ld[fe.layer],this.K===180||this.K===0?(Ne=wt,Ne>=fe.bounds.y&&Ne<=fe.bounds.bottom&&(this.K===180?kt>=fe.bounds.x:kt<=fe.bounds.right)&&(Se=fe.centerX+(this.K===180?-Be:Be),Ne<fe.bounds.y+fe.bounds.height/2?Ne=fe.bounds.y-this.kc/2:Ne=fe.bounds.bottom+this.kc/2,y.m(We++,Se,wt),y.m(We++,Se,Ne)),y.m(We++,kt,Ne)):(Ne=ct,Ne>=fe.bounds.x&&Ne<=fe.bounds.right&&(this.K===270?Bt>=fe.bounds.y:Bt<=fe.bounds.bottom)&&(Se=fe.centerY+(this.K===270?-Be:Be),Ne<fe.bounds.x+fe.bounds.width/2?Ne=fe.bounds.x-this.kc/2:Ne=fe.bounds.right+this.kc/2,y.m(We++,ct,Se),y.m(We++,Ne,Se)),y.m(We++,Ne,Bt)),y.m(We++,kt,Bt)):Te?(Tt=Math.max(10,this.he[fe.layer]),en=Math.max(10,this.Ld[fe.layer]),this.K===180&&kt>=fe.bounds.x?(Se=fe.bounds.x+fe.bounds.width,y.L(We-2,Se,wt),y.L(We-1,Se+en,wt)):this.K===90&&Bt<=fe.bounds.bottom?(Se=fe.bounds.y,y.L(We-2,ct,Se),y.L(We-1,ct,Se-Tt)):this.K===270&&Bt>=fe.bounds.y?(Se=fe.bounds.y+fe.bounds.height,y.L(We-2,ct,Se),y.L(We-1,ct,Se+en)):this.K===0&&kt<=fe.bounds.right&&(Se=fe.bounds.x,y.L(We-2,Se,wt),y.L(We-1,Se-Tt,wt))):(Tt=Math.max(10,this.he[fe.layer]),en=Math.max(10,this.Ld[fe.layer]),Ne=0,this.K===180||this.K===0?((this.K===180?kt<=fe.bounds.x:kt>=fe.bounds.right)&&(Ne=(this.K===0?en:-Tt)/2),y.m(We++,kt+Ne,wt)):((this.K===270?Bt<=fe.bounds.y:Bt>=fe.bounds.bottom)&&(Ne=(this.K===90?en:-Tt)/2),y.m(We++,ct,Bt+Ne)),y.m(We++,kt,Bt)))}else{for(;fe!==null&&fe!==Se;){for(Tt=vt=null,fe=fe.destinationEdges.iterator;fe.next()&&(ct=fe.value,ct.link!==E.link||(vt=ct.toVertex,Tt=ct.fromVertex,Tt.node!==null&&(Tt=null),vt.node!==null)););if(vt===null)break;vt!==Se&&(ct=y.i(We-1).x,wt=y.i(We-1).y,kt=vt.centerX,Bt=vt.centerY,Ne?this.K===180||this.K===0?(Tt!==null?Tt.centerY:wt)!==Bt&&(Tt=this.Ta[vt.layer]+this.Rf.x,We===y.firstPickIndex+1&&(Tt=this.K===0?Math.max(Tt,ct):Math.min(Tt,ct)),y.m(We++,Tt,wt),y.m(We++,Tt,Bt)):(Tt!==null?Tt.centerX:ct)!==kt&&(Tt=this.Ta[vt.layer]+this.Rf.y,We===y.firstPickIndex+1&&(Tt=this.K===90?Math.max(Tt,wt):Math.min(Tt,wt)),y.m(We++,ct,Tt),y.m(We++,kt,Tt)):(Tt=Math.max(10,this.he[vt.layer]),en=Math.max(10,this.Ld[vt.layer]),Te?this.K===180?(y.m(We++,kt+en+Be,Bt),y.m(We++,Math.max(kt+en-Be/2,kt),Bt),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,Math.min(kt-Tt+Be/2,kt),Bt),y.m(We++,kt-Tt-Be,Bt)):this.K===90?(y.m(We++,kt,Bt-Tt-Be),y.m(We++,kt,Math.min(Bt-Tt+Be/2,Bt)),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,kt,Math.max(Bt+en-Be/2,Bt)),y.m(We++,kt,Bt+en+Be)):this.K===270?(y.m(We++,kt,Bt+en+Be),y.m(We++,kt,Math.max(Bt+en-Be/2,Bt)),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,kt,Math.min(Bt-Tt+Be/2,Bt)),y.m(We++,kt,Bt-Tt-Be)):(y.m(We++,kt-Tt-Be,Bt),y.m(We++,Math.min(kt-Tt+Be/2,kt),Bt),y.m(We++,kt,Bt),y.m(We++,kt,Bt),y.m(We++,Math.max(kt+en-Be/2,kt),Bt),y.m(We++,kt+en+Be,Bt)):this.K===180?(y.m(We++,kt+en,Bt),y.m(We++,kt-Tt,Bt)):this.K===90?(y.m(We++,kt,Bt-Tt),y.m(We++,kt,Bt+en)):this.K===270?(y.m(We++,kt,Bt+en),y.m(We++,kt,Bt-Tt)):(y.m(We++,kt-Tt,Bt),y.m(We++,kt+en,Bt)))),fe=vt}Ne&&(ct=y.i(We-1).x,wt=y.i(We-1).y,kt=y.i(We).x,Bt=y.i(We).y,this.K===180||this.K===0?wt!==Bt&&(Tt=this.K===0?Math.min(Math.max((kt+ct)/2,this.Ta[Se.layer]+this.Rf.x),kt):Math.max(Math.min((kt+ct)/2,this.Ta[Se.layer]+this.Rf.x),kt),y.m(We++,Tt,wt),y.m(We++,Tt,Bt)):ct!==kt&&(Tt=this.K===90?Math.min(Math.max((Bt+wt)/2,this.Ta[Se.layer]+this.Rf.y),Bt):Math.max(Math.min((Bt+wt)/2,this.Ta[Se.layer]+this.Rf.y),Bt),y.m(We++,ct,Tt),y.m(We++,kt,Tt)))}x!==null&&Te&&4<=y.pointsCount&&(ne!==null&&(ne=he===pa?y.getLinkPointFromPoint(b,ne,ne.ga(Yr),y.i(3),!0):y.i(0),he===pa&&(he=y.i(2),x=y.i(3),this.direction===90||this.direction===270?(y.L(1,(ne.x+he.x)/2,he.y),y.L(2,x.x,(he.y+x.y)/2)):(y.L(1,he.x,(ne.y+he.y)/2),y.L(2,(he.x+x.x)/2,x.y))),ne.w()||ne.set(b.actualBounds.center),y.L(0,ne.x,ne.y)),re!==null&&(b=oe===pa?y.getLinkPointFromPoint(z,re,re.ga(Yr),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),oe===pa&&(re=y.i(y.pointsCount-3),oe=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(b.x+re.x)/2,re.y),y.L(y.pointsCount-2,oe.x,(re.y+oe.y)/2)):(y.L(y.pointsCount-2,re.x,(b.y+re.y)/2),y.L(y.pointsCount-3,(re.x+oe.x)/2,oe.y))),b.w()||b.set(z.actualBounds.center),y.L(y.pointsCount-1,b.x,b.y))),y.zf(),E.commit()}}}this.avoidOrthogonalOverlaps()},Bo.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new Qn,y=this.network.edges.iterator;y.next();){var E=y.value.link;E!==null&&E.isOrthogonal&&!a.contains(E)&&a.add(E)}if(0<a.count)if(this.K===90||this.K===270){for(y=0,E=[],a=a.iterator;a.next();){var x=a.value;if(x!==null&&x.isOrthogonal)for(var b=2;b<x.pointsCount-3;b++){var z=x.i(b),ne=x.i(b+1);if(this.B(z.y,ne.y)&&!this.B(z.x,ne.x)){var re=new Ah;re.layer=Math.floor(z.y/2);var oe=x.i(0),he=x.i(x.pointsCount-1);if(re.first=oe.x*oe.x+oe.y,re.jc=he.x*he.x+he.y,re.rd=Math.min(z.x,ne.x),re.Ic=Math.max(z.x,ne.x),re.index=b,re.link=x,b+2<x.pointsCount){oe=x.i(b-1),he=x.i(b+2);var fe=0;oe.y<z.y?fe=he.y<z.y?3:z.x<ne.x?2:1:oe.y>z.y&&(fe=he.y>z.y?0:ne.x<z.x?2:1),re.j=fe}E.push(re)}}}if(1<E.length)for(E.sort(this.Vx),a=0;a<E.length;){for(z=E[a].layer,x=a+1;x<E.length&&E[x].layer===z;)x++;if(1<x-a)for(z=a;z<x;){for(ne=E[z].Ic,b=a+1;b<x&&E[b].rd<ne;)ne=Math.max(ne,E[b].Ic),b++;if(ne=b-z,1<ne){for(this.zi(E,this.Js,z,z+ne),fe=1,re=E[z].jc,oe=z;oe<b;oe++)he=E[oe],he.jc!==re&&(fe++,re=he.jc);this.zi(E,this.Ux,z,z+ne);var Se=1;for(re=E[z].first,oe=z;oe<b;oe++)he=E[oe],he.first!==re&&(Se++,re=he.first);for(oe=!0,he=Se,fe<Se?(oe=!1,he=fe,re=E[z].jc,this.zi(E,this.Js,z,z+ne)):re=E[z].first,fe=0,Se=z;Se<b;Se++){var Te=E[Se];(oe?Te.first:Te.jc)!==re&&(fe++,re=oe?Te.first:Te.jc);var Ne=Te.link;z=Ne.i(Te.index),ne=Ne.i(Te.index+1);var Be=this.linkSpacing*(fe-(he-1)/2);y++,Ne.uh(),Ne.L(Te.index,z.x,z.y+Be),Ne.L(Te.index+1,ne.x,ne.y+Be),Ne.zf()}}z=b}a=x}}else{for(y=0,E=[],a=a.iterator;a.next();)if(x=a.value,x!==null&&x.isOrthogonal)for(b=2;b<x.pointsCount-3;b++)z=x.i(b),ne=x.i(b+1),this.B(z.x,ne.x)&&!this.B(z.y,ne.y)&&(re=new Ah,re.layer=Math.floor(z.x/2),oe=x.i(0),he=x.i(x.pointsCount-1),re.first=oe.x+oe.y*oe.y,re.jc=he.x+he.y*he.y,re.rd=Math.min(z.y,ne.y),re.Ic=Math.max(z.y,ne.y),re.index=b,re.link=x,b+2<x.pointsCount&&(oe=x.i(b-1),he=x.i(b+2),fe=0,oe.x<z.x?fe=he.x<z.x?3:z.y<ne.y?2:1:oe.x>z.x&&(fe=he.x>z.x?0:ne.y<z.y?2:1),re.j=fe),E.push(re));if(1<E.length)for(E.sort(this.Vx),a=0;a<E.length;){for(z=E[a].layer,x=a+1;x<E.length&&E[x].layer===z;)x++;if(1<x-a)for(z=a;z<x;){for(ne=E[z].Ic,b=a+1;b<x&&E[b].rd<ne;)ne=Math.max(ne,E[b].Ic),b++;if(ne=b-z,1<ne){for(this.zi(E,this.Js,z,z+ne),fe=1,re=E[z].jc,oe=z;oe<b;oe++)he=E[oe],he.jc!==re&&(fe++,re=he.jc);for(this.zi(E,this.Ux,z,z+ne),Se=1,re=E[z].first,oe=z;oe<b;oe++)he=E[oe],he.first!==re&&(Se++,re=he.first);for(oe=!0,he=Se,fe<Se?(oe=!1,he=fe,re=E[z].jc,this.zi(E,this.Js,z,z+ne)):re=E[z].first,fe=0,Se=z;Se<b;Se++)Te=E[Se],(oe?Te.first:Te.jc)!==re&&(fe++,re=oe?Te.first:Te.jc),Ne=Te.link,z=Ne.i(Te.index),ne=Ne.i(Te.index+1),Be=this.linkSpacing*(fe-(he-1)/2),y++,Ne.uh(),Ne.L(Te.index,z.x+Be,z.y),Ne.L(Te.index+1,ne.x+Be,ne.y),Ne.zf()}z=b}a=x}}}},Ie=Bo.prototype,Ie.Vx=function(a,y){return a instanceof Ah&&y instanceof Ah&&a!==y?a.layer<y.layer?-1:a.layer>y.layer?1:a.rd<y.rd?-1:a.rd>y.rd?1:a.Ic<y.Ic?-1:a.Ic>y.Ic?1:0:0},Ie.Ux=function(a,y){return a instanceof Ah&&y instanceof Ah&&a!==y?a.first<y.first?-1:a.first>y.first||a.j<y.j?1:a.j>y.j||a.rd<y.rd?-1:a.rd>y.rd?1:a.Ic<y.Ic?-1:a.Ic>y.Ic?1:0:0},Ie.Js=function(a,y){return a instanceof Ah&&y instanceof Ah&&a!==y?a.jc<y.jc?-1:a.jc>y.jc||a.j<y.j?1:a.j>y.j||a.rd<y.rd?-1:a.rd>y.rd?1:a.Ic<y.Ic?-1:a.Ic>y.Ic?1:0:0},Ie.B=function(a,y){return a-=y,-1<a&&1>a},Ie.zi=function(a,y,E,x){var b=a.length,z=x-E;if(!(1>=z))if((0>E||E>=b-1)&&tn("not in range 0 <= from < length: "+E),z===2)x=a[E],b=a[E+1],0<y(x,b)&&(a[E]=b,a[E+1]=x);else if(E===0)if(x>=b)a.sort(y);else for(E=a.slice(0,x),E.sort(y),y=0;y<x;y++)a[y]=E[y];else if(x>=b)for(x=a.slice(E),x.sort(y),y=E;y<b;y++)a[y]=x[y-E];else for(b=a.slice(E,x),b.sort(y),y=E;y<x;y++)a[y]=b[y-E]};function Ch(a,y){var E=a.tc[y];if(E>=a.He.length){for(var x=[],b=0;b<a.He.length;b++)x[b]=a.He[b];a.He=x}for(a.He[E]===void 0||a.He[E]===null?x=[]:(x=a.He[E],a.He[E]=null),a=a.fl[y],y=0;y<a.length;y++)E=a[y],x[E.index]=E;return x}function Th(a,y,E){a.He[a.tc[y]]=E}bn.Object.defineProperties(Bo.prototype,{layerSpacing:{get:function(){return this.ie},set:function(a){this.ie!==a&&0<=a&&(this.ie=a,this.C())}},columnSpacing:{get:function(){return this.kc},set:function(a){this.kc!==a&&0<a&&(this.kc=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K!==a&&(a===0||a===90||a===180||a===270?(this.K=a,this.C()):tn("LayeredDigraphLayout.direction must be 0, 90, 180, or 270"))}},cycleRemoveOption:{get:function(){return this.Dk},set:function(a){this.Dk===a||a!==by&&a!==I0&&a!==Vp||(this.Dk=a,this.C())}},layeringOption:{get:function(){return this.Zk},set:function(a){this.Zk===a||a!==M0&&a!==wy&&a!==Cy||(this.Zk=a,this.C())}},initializeOption:{get:function(){return this.Qk},set:function(a){this.Qk===a||a!==R0&&a!==Ty&&a!==Ay||(this.Qk=a,this.C())}},iterations:{get:function(){return this.bj},set:function(a){this.bj!==a&&0<=a&&(this.bj=a,this.C())}},aggressiveOption:{get:function(){return this.rk},set:function(a){this.rk===a||a!==Py&&a!==O0&&a!==Ny||(this.rk=a,this.C())}},packOption:{get:function(){return this.bg},set:function(a){this.bg!==a&&0<=a&&8>a&&(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 I0=new nn(Bo,"CycleDepthFirst",0),by=new nn(Bo,"CycleGreedy",1),Vp=new nn(Bo,"CycleFromLayers",2),M0=new nn(Bo,"LayerOptimalLinkLength",0),wy=new nn(Bo,"LayerLongestPathSink",1),Cy=new nn(Bo,"LayerLongestPathSource",2),R0=new nn(Bo,"InitDepthFirstOut",0),Ty=new nn(Bo,"InitDepthFirstIn",1),Ay=new nn(Bo,"InitNaive",2),Py=new nn(Bo,"AggressiveNone",0),O0=new nn(Bo,"AggressiveLess",1),Ny=new nn(Bo,"AggressiveMore",2),ix=8;Bo.className="LayeredDigraphLayout",Bo.CycleDepthFirst=I0,Bo.CycleGreedy=by,Bo.CycleFromLayers=Vp,Bo.LayerOptimalLinkLength=M0,Bo.LayerLongestPathSink=wy,Bo.LayerLongestPathSource=Cy,Bo.InitDepthFirstOut=R0,Bo.InitDepthFirstIn=Ty,Bo.InitNaive=Ay,Bo.AggressiveNone=Py,Bo.AggressiveLess=O0,Bo.AggressiveMore=Ny,Bo.PackNone=0,Bo.PackExpand=1,Bo.PackStraighten=2,Bo.PackMedian=4,Bo.PackAll=15,Bo.AlignNone=0,Bo.AlignUpperLeft=1,Bo.AlignUpperRight=2,Bo.AlignLowerLeft=4,Bo.AlignLowerRight=8,Bo.AlignAll=15;function Ah(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}Ah.className="SegInfo";function Ig(a){aa.call(this,a)}Kt(Ig,aa),Ig.prototype.createVertex=function(){return new Wu(this)},Ig.prototype.createEdge=function(){return new Yp(this)},Ig.className="LayeredDigraphNetwork";function Wu(a){Ts.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}Kt(Wu,Ts);function sE(a,y){return a.index-y.index}function D0(a,y){if(!a.$n){for(var E=[],x=Kn(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&E.push(b);a.$n=E}for(a=Kn(a.$n),E=a.next();!E.done;E=a.next())if(E=E.value,E.toVertex===y)return E;tn("Unable to find destination edge to given vertex")}function Ly(a){if(!a.co){for(var y=[],E=Kn(a.sourceEdgesArrayAccess),x=E.next();!x.done;x=E.next())x=x.value,x.valid&&y.push(x.fromVertex);y.sort(sE),a.co=y}return a.co}function rx(a){if(!a.ao){for(var y=[],E=Kn(a.destinationEdgesArrayAccess),x=E.next();!x.done;x=E.next())x=x.value,x.valid&&y.push(x.toVertex);y.sort(sE),a.ao=y}return a.ao}Wu.prototype.Cl=function(a){Ts.prototype.Cl.call(this,a),this.bo=this.co=null},Wu.prototype.Kl=function(a){Ts.prototype.Kl.call(this,a),this.bo=this.co=null},Wu.prototype.zl=function(a){Ts.prototype.zl.call(this,a),this.$n=this.ao=null},Wu.prototype.Jl=function(a){Ts.prototype.Jl.call(this,a),this.$n=this.ao=null},bn.Object.defineProperties(Wu.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)}}}),Wu.prototype.deleteDestinationEdge=Wu.prototype.Jl,Wu.prototype.addDestinationEdge=Wu.prototype.zl,Wu.prototype.deleteSourceEdge=Wu.prototype.Kl,Wu.prototype.addSourceEdge=Wu.prototype.Cl,Wu.className="LayeredDigraphVertex";function Yp(a){du.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}Kt(Yp,du),bn.Object.defineProperties(Yp.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)}}}),Yp.className="LayeredDigraphEdge";function jr(a){Aa.call(this),this.Ub=new Rt,this.Wn=U0,this.ud=ad,this.vo=z0,this.Bq=Hy,this.$v=[],this.td=!0,this.Rb=j0,this.$d=new fn(10,10).freeze();var y=new _f(this);this.W=new ic(y),this.Y=new ic(y),this.ru=[],a&&Object.assign(this,a)}Kt(jr,Aa),jr.prototype.cloneProtected=function(a){Aa.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)},jr.prototype.qb=function(a){a.classType===jr?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:tn("Unknown enum value: "+a):Aa.prototype.qb.call(this,a)},jr.prototype.createNetwork=function(){return new _f(this)},jr.prototype.makeNetwork=function(a){function y(x){if(x instanceof yi)return!x.isLinkLabel&&x.category!=="Comment";if(x instanceof $n){var b=x.fromNode;return b===null||b.isLinkLabel||b.category==="Comment"?!1:(x=x.toNode,!(x===null||x.isLinkLabel||x.category==="Comment"))}return!1}var E=this.createNetwork();return a instanceof qt?(E.lg(a.nodes,!0,y),E.lg(a.links,!0,y)):a instanceof Cr?E.lg(a.memberParts,!1,y):E.lg(a.iterator,!1,y),E},jr.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==G0&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof qt&&(y=a),this.path===U0&&y!==null?this.ud=y.isTreePathToChildren?ad:Ff:this.ud=this.path===U0?ad:this.path,0<this.network.vertexes.count){for(this.network.Ko(),a=this.network.vertexes.iterator;a.next();)y=a.value,y.initialized=!1,y.level=0,y.parent=null,y.children=[];if(0<this.Ub.count){for(a=new Rt,y=this.Ub.iterator;y.next();){var E=y.value;E instanceof yi?(E=this.network.ki(E),E!==null&&a.add(E)):E instanceof ic&&a.add(E)}this.Ub=a}for(this.Ub.count===0&&this.findRoots(),a=this.Ub.copy().iterator;a.next();)y=a.value,y.initialized||(y.initialized=!0,ky(this,y));for(y=this.network.vertexes,a=null;a=ox(y),0<a.count;)y=lE(this,a),y!==null&&this.Ub.add(y),y.initialized=!0,ky(this,y),y=a;for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof ic&&cE(this,y);for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof ic&&dE(this,y);for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof ic&&hE(this,y);if(this.Cu(),this.layerStyle===W0){for(a=[],y=this.network.vertexes.iterator;y.next();){E=y.value;var x=E.parent;x===null&&(x=E),x=x.angle===0||x.angle===180;var b=a[E.level];b===void 0&&(b=0),a[E.level]=Math.max(b,x?E.width:E.height)}for(y=0;y<a.length;y++)a[y]===void 0&&(a[y]=0);for(this.$v=a,y=this.network.vertexes.iterator;y.next();)E=y.value,x=E.parent,x===null&&(x=E),x.angle===0||x.angle===180?(x.angle===180&&(E.focusX+=a[E.level]-E.width),E.width=a[E.level]):(x.angle===270&&(E.focusY+=a[E.level]-E.height),E.height=a[E.level])}else if(this.layerStyle===zy)for(a=this.network.vertexes.iterator;a.next();){for(y=a.value,E=y.angle===0||y.angle===180,x=-1,b=0;b<y.children.length;b++){var z=y.children[b];x=Math.max(x,E?z.width:z.height)}if(0<=x)for(b=0;b<y.children.length;b++)z=y.children[b],E?(y.angle===180&&(z.focusX+=x-z.width),z.width=x):(y.angle===270&&(z.focusY+=x-z.height),z.height=x)}for(a=this.Ub.iterator;a.next();)y=a.value,y instanceof ic&&this.layoutTree(y);this.arrangeTrees(),this.updateParts()}this.network=null,this.Ub=new Rt,this.isValidLayout=!0};function ox(a){var y=new Rt;for(a=a.iterator;a.next();){var E=a.value;E.initialized||y.add(E)}return y}jr.prototype.findRoots=function(){for(var a=this.network.vertexes,y=a.iterator;y.next();){var E=y.value;switch(this.ud){case ad:E.sourceEdges.count===0&&this.Ub.add(E);break;case Ff:E.destinationEdges.count===0&&this.Ub.add(E);break;default:tn("Unhandled path value "+this.ud.toString())}}this.Ub.count===0&&(a=lE(this,a),a!==null&&this.Ub.add(a))};function lE(a,y){var E=999999,x=null;for(y=y.iterator;y.next();){var b=y.value;switch(a.ud){case ad:b.sourceEdges.count<E&&(E=b.sourceEdges.count,x=b);break;case Ff:b.destinationEdges.count<E&&(E=b.destinationEdges.count,x=b);break;default:tn("Unhandled path value "+a.ud.toString())}}return x}function ky(a,y){if(y!==null){switch(a.ud){case ad:if(0<y.destinationEdges.count){for(var E=new Qn,x=y.destinationVertexes;x.next();){var b=x.value;uE(a,y,b)&&E.add(b)}0<E.count&&(y.children=E.Fa())}break;case Ff:if(0<y.sourceEdges.count){for(E=new Qn,x=y.sourceVertexes;x.next();)b=x.value,uE(a,y,b)&&E.add(b);0<E.count&&(y.children=E.Fa())}break;default:tn("Unhandled path value"+a.ud.toString())}for(E=y.children,x=E.length,b=0;b<x;b++){var z=E[b];z.initialized=!0,z.level=y.level+1,z.parent=y,a.Ub.remove(z)}for(y=0;y<x;y++)ky(a,E[y])}}function uE(a,y,E){if(E.initialized){if(y===null)var x=!1;else{for(x=y.parent;x!==null&&x!==E;)x=x.parent;x=x===E}if(x||E.level>y.level)return!1;a.removeChild(E.parent,E)}return!0}jr.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var E=a.children,x=0,b=0;b<E.length;b++)E[b]===y&&x++;if(0<x){x=Array(E.length-x);for(var z=b=0;z<E.length;z++)E[z]!==y&&(x[b++]=E[z]);a.children=x}}};function cE(a,y){if(y!==null){a.initializeTreeVertexValues(y),y.alignment===ud&&a.sortTreeVertexChildren(y);for(var E=0,x=y.childrenCount,b=0,z=y.children,ne=z.length,re=0;re<ne;re++){var oe=z[re];cE(a,oe),E+=oe.descendantCount+1,x=Math.max(x,oe.maxChildrenCount),b=Math.max(b,oe.maxGenerationCount)}y.descendantCount=E,y.maxChildrenCount=x,y.maxGenerationCount=0<x?b+1:0}}function ax(a,y){switch(a.vo){default:case z0:return y.parent!==null?y.parent:a.W;case _y:return y.parent===null?a.W:y.parent.parent===null?a.Y:y.parent;case By:return y.parent!==null?y.parent.parent!==null?y.parent.parent:a.Y:a.W;case Fy:var E=!0;if(y.childrenCount===0)E=!1;else for(var x=y.children,b=x.length,z=0;z<b;z++)if(0<x[z].childrenCount){E=!1;break}return E&&y.parent!==null?a.Y:y.parent!==null?y.parent:a.W}}jr.prototype.initializeTreeVertexValues=function(a){if(a.copyInheritedPropertiesFrom(ax(this,a)),a.parent!==null&&a.parent.alignment===ud){for(var y=a.angle,E=a.parent.children,x=0;x<E.length&&a!==E[x];)x++;x%2===0?x!==E.length-1&&(y=y===90?180:y===180?270:y===270?180:270):y=y===90?0:y===180?90:y===270?0:90,a.angle=y}a.initialized=!0};function dE(a,y){if(y!==null){a.assignTreeVertexValues(y),y=y.children;for(var E=y.length,x=0;x<E;x++)dE(a,y[x])}}jr.prototype.assignTreeVertexValues=function(){};function hE(a,y){if(y!==null){y.alignment!==ud&&a.sortTreeVertexChildren(y),y=y.children;for(var E=y.length,x=0;x<E;x++)hE(a,y[x])}}jr.prototype.sortTreeVertexChildren=function(a){switch(a.sorting){case Mg:break;case Zp:a.children.reverse();break;case Xp:a.children.sort(a.comparer);break;case Qp:a.children.sort(a.comparer),a.children.reverse();break;default:tn("Unhandled sorting value "+a.sorting.toString())}},jr.prototype.Cu=function(){if(this.comments)for(var a=this.network.vertexes.iterator;a.next();)this.addComments(a.value)},jr.prototype.addComments=function(a){var y=a.angle,E=a.parent,x=0,b=!1;E!==null&&(x=E.angle,b=E.alignment,b=Ph(b)),y=y===90||y===270,x=x===90||x===270,E=a.childrenCount===0;var z=0,ne=0,re=0,oe=a.commentSpacing;if(a.node!==null)for(var he=a.node.Mu();he.next();){var fe=he.value;fe.category==="Comment"&&fe.canLayout()&&(a.comments===null&&(a.comments=[]),a.comments.push(fe),fe.Va(),fe=fe.measuredBounds,y&&!E||!b&&!x&&E||b&&x&&E?(z=Math.max(z,fe.width),ne+=fe.height+Math.abs(re)):(z+=fe.width+Math.abs(re),ne=Math.max(ne,fe.height)),re=oe)}a.comments!==null&&(y&&!E||!b&&!x&&E||b&&x&&E?(z+=Math.abs(a.commentMargin),ne=Math.max(0,ne-a.height)):(ne+=Math.abs(a.commentMargin),z=Math.max(0,z-a.width)),b=an.allocAt(0,0,a.bounds.width+z,a.bounds.height+ne),a.bounds=b,an.free(b))};function Ph(a){return a===Xd||a===ud||a===Qd||a===Td}function Kp(a){return a===Xd||a===ud}function Iy(a){var y=a.parent;if(y!==null){var E=y.alignment;if(Ph(E)){if(Kp(E)){for(y=y.children,E=0;E<y.length&&a!==y[E];)E++;return E%2===0}if(E===Qd)return!0}}return!1}jr.prototype.layoutComments=function(a){if(a.comments!==null){var y=a.node.measuredBounds,E=a.parent,x=a.angle,b=0,z=!1;E!==null&&(b=E.angle,z=E.alignment,z=Ph(z)),x=x===90||x===270,E=b===90||b===270;for(var ne=a.childrenCount===0,re=Iy(a),oe=0,he=a.comments,fe=he.length,Se=st.alloc(),Te=0;Te<fe;Te++){var Ne=he[Te],Be=Ne.measuredBounds;if(x&&!ne||!z&&!E&&ne||z&&E&&ne){if(135<b&&!z||E&&re)if(0<=a.commentMargin)for(Se.h(a.bounds.x-a.commentMargin-Be.width,a.bounds.y+oe),Ne.move(Se),Ne=Ne.Sd();Ne.next();){var We=Ne.value;We.fromSpot=Kr,We.toSpot=no}else for(Se.h(a.bounds.x+2*a.focus.x-a.commentMargin,a.bounds.y+oe),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=no,We.toSpot=Kr;else if(0<=a.commentMargin)for(Se.h(a.bounds.x+2*a.focus.x+a.commentMargin,a.bounds.y+oe),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=no,We.toSpot=Kr;else for(Se.h(a.bounds.x+a.commentMargin-Be.width,a.bounds.y+oe),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=Kr,We.toSpot=no;oe=0<=a.commentSpacing?oe+(Be.height+a.commentSpacing):oe+(a.commentSpacing-Be.height)}else{if(135<b&&!z||!E&&re)if(0<=a.commentMargin)for(Se.h(a.bounds.x+oe,a.bounds.y-a.commentMargin-Be.height),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=Sr,We.toSpot=Lo;else for(Se.h(a.bounds.x+oe,a.bounds.y+2*a.focus.y-a.commentMargin),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=Lo,We.toSpot=Sr;else if(0<=a.commentMargin)for(Se.h(a.bounds.x+oe,a.bounds.y+2*a.focus.y+a.commentMargin),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=Lo,We.toSpot=Sr;else for(Se.h(a.bounds.x+oe,a.bounds.y+a.commentMargin-Be.height),Ne.move(Se),Ne=Ne.Sd();Ne.next();)We=Ne.value,We.fromSpot=Sr,We.toSpot=Lo;oe=0<=a.commentSpacing?oe+(Be.width+a.commentSpacing):oe+(a.commentSpacing-Be.width)}}if(st.free(Se),y=oe-a.commentSpacing-(x?y.height:y.width),this.ud===ad)for(a=a.destinationEdges;a.next();)b=a.value.link,b===null||b.isAvoiding||(b.fromEndSegmentLength=0<y?y:NaN);else for(a=a.sourceEdges;a.next();)b=a.value.link,b===null||b.isAvoiding||(b.toEndSegmentLength=0<y?y:NaN)}},jr.prototype.layoutTree=function(a){if(a!==null){for(var y=a.children,E=y.length,x=0;x<E;x++)this.layoutTree(y[x]);switch(a.compaction){case H0:fE(this,a);break;case Jp:if(a.alignment===ud)fE(this,a);else if(a.childrenCount===0)x=a.parent,E=!1,y=0,x!==null&&(y=x.angle,E=x.alignment,E=Ph(E)),x=Iy(a),a.S.h(0,0),a.Da.h(a.width,a.height),a.parent===null||a.comments===null||(y!==180&&y!==270||E)&&!x?a.la.h(0,0):y===180&&!E||(y===90||y===270)&&x?a.la.h(a.width-2*a.focus.x,0):a.la.h(0,a.height-2*a.focus.y),a.Yo=null,a.kp=null;else{var b=Ec(a);y=b===90||b===270;var z=0,ne=a.children,re=ne.length;for(E=0;E<re;E++)x=ne[E],z=Math.max(z,y?x.Da.width:x.Da.height);var oe=a.alignment;x=oe===sd;var he=oe===ld,fe=Ph(oe),Se=Math.max(0,a.breadthLimit);E=this.computeLayerSpacing(a);var Te=a.nodeSpacing,Ne=this.computeNodeIndent(a),Be=a.rowSpacing,We=0;(x||he||a.hm||a.im&&a.maxGenerationCount===1)&&(We=Math.max(0,a.rowIndent)),x=a.width;var vt=a.height,ct=0,wt=0,Tt=0,kt=null,Bt=null,en=0,pi=0,ki=0,Ti=0,qn=0,kn=0,Er=0,gr=0;if(fe&&!Kp(oe)&&135<b&&ne.reverse(),Kp(oe))if(1<re)for(var Ao=0;Ao<re;Ao++)Ao%2===0&&Ao!==re-1&&(gr=Math.max(gr,y?ne[Ao].Da.width:ne[Ao].Da.height));else re===1&&(gr=y?ne[0].Da.width:ne[0].Da.height);if(fe){switch(oe){case Xd:wt=135>b?gE(this,a,ne,gr,ct,wt):pE(this,a,ne,gr,ct,wt),gr=wt.x,ct=wt.width,wt=wt.height;break;case Qd:for(kt=0;kt<re;kt++)Bt=ne[kt],Se=Bt.Da,Tt=kn===0?0:Be,y?(Bt.S.h(z-Se.width,Ti+Tt),ct=Math.max(ct,Se.width),wt=Math.max(wt,Ti+Tt+Se.height),Ti+=Tt+Se.height):(Bt.S.h(ki+Tt,z-Se.height),ct=Math.max(ct,ki+Tt+Se.width),wt=Math.max(wt,Se.height),ki+=Tt+Se.width),kn++;break;case Td:for(kt=0;kt<re;kt++)Bt=ne[kt],z=Bt.Da,Se=kn===0?0:Be,y?(Bt.S.h(Te/2+a.focus.x,Ti+Se),ct=Math.max(ct,z.width),wt=Math.max(wt,Ti+Se+z.height),Ti+=Se+z.height):(Bt.S.h(ki+Se,Te/2+a.focus.y),ct=Math.max(ct,ki+Se+z.width),wt=Math.max(wt,z.height),ki+=Se+z.width),kn++}kt=tu(this,2),Bt=tu(this,2),y?(kt[0].h(0,0),kt[1].h(0,wt),Bt[0].h(ct,0)):(kt[0].h(0,0),kt[1].h(ct,0),Bt[0].h(0,wt)),Bt[1].h(ct,wt)}else for(Ao=0;Ao<re;Ao++){var na=ne[Ao],Ls=na.Da;if(y){0<Se&&0<kn&&ki+Te+Ls.width>Se&&(ki<z&&af(a,oe,z-ki,0,Er,Ao-1),qn++,kn=0,Er=Ao,Tt=wt,ki=0,Ti=135<b?-wt-Be:wt+Be),B0(this,na,0,Ti);var Fs=0;if(kn===0)kt=na.Yo,Bt=na.kp,en=Ls.width,pi=Ls.height,(kt===null||Bt===null||b!==Ec(na))&&(kt=tu(this,2),Bt=tu(this,2),kt[0].h(0,0),kt[1].h(0,pi),Bt[0].h(en,0),Bt[1].h(en,pi));else{var Sl=Vi();pi=mE(this,a,na,kt,Bt,en,pi,Sl),Fs=pi.x,kt=Sl[0],Bt=Sl[1],en=pi.width,pi=pi.height,Qi(Sl),ki<Ls.width&&0>Fs&&(Df(a,-Fs,0,Er,Ao-1),_0(kt,-Fs,0),_0(Bt,-Fs,0),Fs=0)}na.S.h(Fs,Ti),ct=Math.max(ct,en),wt=Math.max(wt,Tt+(qn===0?0:Be)+Ls.height),ki=en}else 0<Se&&0<kn&&Ti+Te+Ls.height>Se&&(Ti<z&&af(a,oe,0,z-Ti,Er,Ao-1),qn++,kn=0,Er=Ao,Tt=ct,Ti=0,ki=135<b?-ct-Be:ct+Be),B0(this,na,ki,0),Fs=0,kn===0?(kt=na.Yo,Bt=na.kp,en=Ls.width,pi=Ls.height,(kt===null||Bt===null||b!==Ec(na))&&(kt=tu(this,2),Bt=tu(this,2),kt[0].h(0,0),kt[1].h(en,0),Bt[0].h(0,pi),Bt[1].h(en,pi))):(Sl=Vi(),pi=mE(this,a,na,kt,Bt,en,pi,Sl),Fs=pi.x,kt=Sl[0],Bt=Sl[1],en=pi.width,pi=pi.height,Qi(Sl),Ti<Ls.height&&0>Fs&&(Df(a,0,-Fs,Er,Ao-1),_0(kt,0,-Fs),_0(Bt,0,-Fs),Fs=0)),na.S.h(ki,Fs),wt=Math.max(wt,pi),ct=Math.max(ct,Tt+(qn===0?0:Be)+Ls.width),Ti=pi;kn++}switch(0<qn&&(y?(wt+=Math.max(0,E),ki<ct&&af(a,oe,ct-ki,0,Er,re-1),0<We&&(he||Df(a,We,0,0,re-1),ct+=We)):(ct+=Math.max(0,E),Ti<wt&&af(a,oe,0,wt-Ti,Er,re-1),0<We&&(he||Df(a,0,We,0,re-1),wt+=We))),We=he=0,oe){case Rg:y?he+=ct/2-a.focus.x-Ne/2:We+=wt/2-a.focus.y-Ne/2;break;case Bf:0<qn?y?he+=ct/2-a.focus.x-Ne/2:We+=wt/2-a.focus.y-Ne/2:y?(gr=ne[0].S.x+ne[0].la.x,he+=gr+(ne[re-1].S.x+ne[re-1].la.x+2*ne[re-1].focus.x-gr)/2-a.focus.x-Ne/2):(gr=ne[0].S.y+ne[0].la.y,We+=gr+(ne[re-1].S.y+ne[re-1].la.y+2*ne[re-1].focus.y-gr)/2-a.focus.y-Ne/2);break;case sd:y?(he-=Ne,ct+=Ne):(We-=Ne,wt+=Ne);break;case ld:y?(he+=ct-a.width+Ne,ct+=Ne):(We+=wt-a.height+Ne,wt+=Ne);break;case Xd:y?1<re?he+=gr+Te/2-a.focus.x:he+=ne[0].focus.x-a.focus.x+ne[0].la.x:1<re?We+=gr+Te/2-a.focus.y:We+=ne[0].focus.y-a.focus.y+ne[0].la.y;break;case Qd:y?he+=ct+Te/2-a.focus.x:We+=wt+Te/2-a.focus.y;break;case Td:break;default:wt=this.customAlignment(a,he,We,ct,wt),he=wt[0],We=wt[1],ct=wt[2],wt=wt[3]}for(Ne=0;Ne<re;Ne++)gr=ne[Ne],y?gr.S.h(gr.S.x+gr.la.x-he,gr.S.y+(135<b?(fe?-wt:-gr.Da.height)+gr.la.y-E:vt+E+gr.la.y)):gr.S.h(gr.S.x+(135<b?(fe?-ct:-gr.Da.width)+gr.la.x-E:x+E+gr.la.x),gr.S.y+gr.la.y-We);if(re=ne=0,fe?y?(ct=My(a,ct,he),0>he&&(he=0),135<b&&(We+=wt+E),wt+=vt+E,oe===Td&&(ne+=Te/2+a.focus.x),re+=vt+E):(135<b&&(he+=ct+E),ct+=x+E,wt=Ry(a,wt,We),0>We&&(We=0),oe===Td&&(re+=Te/2+a.focus.y),ne+=x+E):y?(a.comments===null?x>ct&&(ct=Oy(oe,x-ct,0),ne=ct.x,re=ct.y,ct=x,he=0):ct=My(a,ct,he),0>he&&(ne-=he,he=0),135<b&&(We+=wt+E),wt=Math.max(Math.max(wt,vt),wt+vt+E),re+=vt+E):(135<b&&(he+=ct+E),ct=Math.max(Math.max(ct,x),ct+x+E),a.comments===null?vt>wt&&(wt=Oy(oe,0,vt-wt),ne=wt.x,re=wt.y,wt=vt,We=0):wt=Ry(a,wt,We),0>We&&(re-=We,We=0),ne+=x+E),0<qn)b=tu(this,4),qn=tu(this,4),y?(b[2].h(0,vt+E),b[3].h(b[2].x,wt),qn[2].h(ct,b[2].y),qn[3].h(qn[2].x,b[3].y)):(b[2].h(x+E,0),b[3].h(ct,b[2].y),qn[2].h(b[2].x,wt),qn[3].h(b[3].x,qn[2].y));else{for(b=tu(this,kt.length+2),qn=tu(this,Bt.length+2),oe=0;oe<kt.length;oe++)fe=kt[oe],b[oe+2].h(fe.x+ne,fe.y+re);for(oe=0;oe<Bt.length;oe++)fe=Bt[oe],qn[oe+2].h(fe.x+ne,fe.y+re)}y?(b[0].h(he,0),b[1].h(b[0].x,vt),b[2].y<b[1].y&&(b[2].x>b[0].x?b[2].assign(b[1]):b[1].assign(b[2])),b[3].y<b[2].y&&(b[3].x>b[0].x?b[3].assign(b[2]):b[2].assign(b[3])),qn[0].h(he+x,0),qn[1].h(qn[0].x,vt),qn[2].y<qn[1].y&&(qn[2].x<qn[0].x?qn[2].assign(qn[1]):qn[1].assign(qn[2])),qn[3].y<qn[2].y&&(qn[3].x<qn[0].x?qn[3].assign(qn[2]):qn[2].assign(qn[3])),b[2].y-=E/2,qn[2].y-=E/2):(b[0].h(0,We),b[1].h(x,b[0].y),b[2].x<b[1].x&&(b[2].y>b[0].y?b[2].assign(b[1]):b[1].assign(b[2])),b[3].x<b[2].x&&(b[3].y>b[0].y?b[3].assign(b[2]):b[2].assign(b[3])),qn[0].h(0,We+vt),qn[1].h(x,qn[0].y),qn[2].x<qn[1].x&&(qn[2].y<qn[0].y?qn[2].assign(qn[1]):qn[1].assign(qn[2])),qn[3].x<qn[2].x&&(qn[3].y<qn[0].y?qn[3].assign(qn[2]):qn[2].assign(qn[3])),b[2].x-=E/2,qn[2].x-=E/2),kc(this,kt),kc(this,Bt),a.Yo=b,a.kp=qn,a.la.h(he,We),a.Da.h(ct,wt)}break;default:tn("Unhandled compaction value "+a.compaction.toString())}}};function fE(a,y){if(y.childrenCount===0){var E=!1,x=0;y.parent!==null&&(x=y.parent.angle,E=y.parent.alignment,E=Ph(E));var b=Iy(y);y.S.h(0,0),y.Da.h(y.width,y.height),y.parent===null||y.comments===null||(x!==180&&x!==270||E)&&!b?y.la.h(0,0):x===180&&!E||(x===90||x===270)&&b?y.la.h(y.width-2*y.focus.x,0):y.la.h(0,y.height-2*y.focus.y)}else{x=Ec(y),E=x===90||x===270;var z=0;b=y.children;for(var ne=b.length,re=0;re<ne;re++){var oe=b[re];z=Math.max(z,E?oe.Da.width:oe.Da.height)}var he=y.alignment,fe=he===sd,Se=he===ld;re=Ph(he);var Te=Math.max(0,y.breadthLimit);oe=a.computeLayerSpacing(y);var Ne=y.nodeSpacing,Be=a.computeNodeIndent(y),We=fe||Se?0:Be/2,vt=y.rowSpacing,ct=0;(fe||Se||y.hm||y.im&&y.maxGenerationCount===1)&&(ct=Math.max(0,y.rowIndent)),fe=y.width;var wt=y.height,Tt=0,kt=0,Bt=0,en=0,pi=0,ki=0,Ti=0,qn=0,kn=0,Er=0;if(re&&!Kp(he)&&135<x&&b.reverse(),Kp(he))if(1<ne)for(var gr=0;gr<ne;gr++){var Ao=b[gr],na=Ao.Da;gr%2===0&&gr!==ne-1?kn=Math.max(kn,(E?na.width:na.height)+a.computeBusNodeSpacing(Ao)-Ne):gr%2!==0&&(Er=Math.max(Er,(E?na.width:na.height)+a.computeBusNodeSpacing(Ao)-Ne))}else ne===1&&(kn=E?b[0].Da.width:b[0].Da.height);if(re)switch(he){case Xd:case ud:kt=135>x?gE(a,y,b,kn,Tt,kt):pE(a,y,b,kn,Tt,kt),kn=kt.x,Tt=kt.width,kt=kt.height;break;case Qd:for(Te=0;Te<ne;Te++)We=b[Te],Bt=We.Da,Er=Ti===0?0:vt,E?(We.S.h(z-Bt.width,pi+Er),Tt=Math.max(Tt,Bt.width),kt=Math.max(kt,pi+Er+Bt.height),pi+=Er+Bt.height):(We.S.h(en+Er,z-Bt.height),Tt=Math.max(Tt,en+Er+Bt.width),kt=Math.max(kt,Bt.height),en+=Er+Bt.width),Ti++;break;case Td:for(z=0;z<ne;z++)Te=b[z],We=Te.Da,Bt=Ti===0?0:vt,E?(Te.S.h(Ne/2+y.focus.x,pi+Bt),Tt=Math.max(Tt,We.width),kt=Math.max(kt,pi+Bt+We.height),pi+=Bt+We.height):(Te.S.h(en+Bt,Ne/2+y.focus.y),Tt=Math.max(Tt,en+Bt+We.width),kt=Math.max(kt,We.height),en+=Bt+We.width),Ti++}else for(Er=0;Er<ne;Er++)gr=b[Er],Ao=gr.Da,E?(0<Te&&0<Ti&&en+Ne+Ao.width>Te&&(en<z&&af(y,he,z-en,0,qn,Er-1),ki++,Ti=0,qn=Er,Bt=kt,en=0,pi=135<x?-kt-vt:kt+vt),na=Ti===0?We:Ne,B0(a,gr,0,pi),gr.S.h(en+na,pi),Tt=Math.max(Tt,en+na+Ao.width),kt=Math.max(kt,Bt+(ki===0?0:vt)+Ao.height),en+=na+Ao.width):(0<Te&&0<Ti&&pi+Ne+Ao.height>Te&&(pi<z&&af(y,he,0,z-pi,qn,Er-1),ki++,Ti=0,qn=Er,Bt=Tt,pi=0,en=135<x?-Tt-vt:Tt+vt),na=Ti===0?We:Ne,B0(a,gr,en,0),gr.S.h(en,pi+na),kt=Math.max(kt,pi+na+Ao.height),Tt=Math.max(Tt,Bt+(ki===0?0:vt)+Ao.width),pi+=na+Ao.height),Ti++;switch(0<ki&&(E?(kt+=Math.max(0,oe),en<Tt&&af(y,he,Tt-en,0,qn,ne-1),0<ct&&(Se||Df(y,ct,0,0,ne-1),Tt+=ct)):(Tt+=Math.max(0,oe),pi<kt&&af(y,he,0,kt-pi,qn,ne-1),0<ct&&(Se||Df(y,0,ct,0,ne-1),kt+=ct))),ct=Se=0,he){case Rg:E?Se+=Tt/2-y.focus.x-Be/2:ct+=kt/2-y.focus.y-Be/2;break;case Bf:0<ki?E?Se+=Tt/2-y.focus.x-Be/2:ct+=kt/2-y.focus.y-Be/2:E?(a=b[0].S.x+b[0].la.x,Se+=a+(b[ne-1].S.x+b[ne-1].la.x+2*b[ne-1].focus.x-a)/2-y.focus.x-Be/2):(a=b[0].S.y+b[0].la.y,ct+=a+(b[ne-1].S.y+b[ne-1].la.y+2*b[ne-1].focus.y-a)/2-y.focus.y-Be/2);break;case sd:E?(Se-=Be,Tt+=Be):(ct-=Be,kt+=Be);break;case ld:E?(Se+=Tt-y.width+Be,Tt+=Be):(ct+=kt-y.height+Be,kt+=Be);break;case Xd:case ud:E?1<ne?Se+=kn+Ne/2-y.focus.x:Se+=b[0].focus.x-y.focus.x+b[0].la.x:1<ne?ct+=kn+Ne/2-y.focus.y:ct+=b[0].focus.y-y.focus.y+b[0].la.y;break;case Qd:E?Se+=Tt+Ne/2-y.focus.x:ct+=kt+Ne/2-y.focus.y;break;case Td:break;default:a=a.customAlignment(y,Se,ct,Tt,kt),Se=a[0],ct=a[1],Tt=a[2],kt=a[3]}for(a=0;a<ne;a++)Be=b[a],E?Be.S.h(Be.S.x+Be.la.x-Se,Be.S.y+(135<x?(re?-kt:-Be.Da.height)+Be.la.y-oe:wt+oe+Be.la.y)):Be.S.h(Be.S.x+(135<x?(re?-Tt:-Be.Da.width)+Be.la.x-oe:fe+oe+Be.la.x),Be.S.y+Be.la.y-ct);E?(Tt=My(y,Tt,Se),0>Se&&(Se=0),135<x&&(ct+=kt+oe),kt=Math.max(Math.max(kt,wt),kt+wt+oe)):(135<x&&(Se+=Tt+oe),Tt=Math.max(Math.max(Tt,fe),Tt+fe+oe),kt=Ry(y,kt,ct),0>ct&&(ct=0)),y.la.h(Se,ct),y.Da.h(Tt,kt)}}jr.prototype.customAlignment=function(a,y,E,x,b){return[y,E,x,b]};function gE(a,y,E,x,b,z){var ne=E.length;if(ne===0)return new an(x,0,b,z);if(ne===1)return y=E[0],b=y.Da.width,z=y.Da.height,new an(x,0,b,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,he=Ec(y)===90,fe=0,Se=0,Te=0,Ne=0;Ne<ne;Ne++)if(!(Ne%2!==0||1<ne&&Ne===ne-1)){var Be=E[Ne],We=Be.Da,vt=fe===0?0:oe;if(he){var ct=a.computeBusNodeSpacing(Be)-re;Be.S.h(x-(We.width+ct),Te+vt),b=Math.max(b,We.width+ct),z=Math.max(z,Te+vt+We.height),Te+=vt+We.height}else ct=a.computeBusNodeSpacing(Be)-re,Be.S.h(Se+vt,x-(We.height+ct)),z=Math.max(z,We.height+ct),b=Math.max(b,Se+vt+We.width),Se+=vt+We.width;fe++}for(fe=0,Be=Se,Ne=Te,he?(Se=x+re,Te=0):(Se=0,Te=x+re),We=0;We<ne;We++)if(We%2!==0){vt=E[We],ct=vt.Da;var wt=fe===0?0:oe;if(he){var Tt=a.computeBusNodeSpacing(vt)-re;vt.S.h(Se+Tt,Te+wt),b=Math.max(b,Se+ct.width+Tt),z=Math.max(z,Te+wt+ct.height),Te+=wt+ct.height}else Tt=a.computeBusNodeSpacing(vt)-re,vt.S.h(Se+wt,Te+Tt),b=Math.max(b,Se+wt+ct.width),z=Math.max(z,Te+ct.height+Tt),Se+=wt+ct.width;fe++}return 1<ne&&ne%2===1&&(E=E[ne-1],ne=E.Da,a=a.computeBusLastRowSpacing(E,he?Math.max(Math.abs(Ne),Math.abs(Te)):Math.max(Math.abs(Be),Math.abs(Se))),he?(E.S.h(x+re/2-E.focus.x-E.la.x,z+a),he=x+re/2-E.focus.x-E.la.x,b=Math.max(b,he+ne.width),0>he&&(b-=he),z=Math.max(z,Math.max(Ne,Te)+a+ne.height),0>E.S.x&&(x=F0(y,E.S.x,!1,x,re))):(E.S.h(b+a,x+re/2-E.focus.y-E.la.y),b=Math.max(b,Math.max(Be,Se)+a+ne.width),Te=x+re/2-E.focus.y-E.la.y,z=Math.max(z,Te+ne.height),0>Te&&(z-=Te),0>E.S.y&&(x=F0(y,E.S.y,!0,x,re)))),new an(x,0,b,z)}function pE(a,y,E,x,b,z){var ne=E.length;if(ne===0)return new an(x,0,b,z);if(ne===1)return E=E[0],b=E.Da.width,z=E.Da.height,new an(x,0,b,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,he=Ec(y)===270,fe=0,Se=0,Te=0,Ne=0;Ne<ne;Ne++)if(!(Ne%2!==0||1<ne&&Ne===ne-1)){var Be=E[Ne],We=Be.Da,vt=fe===0?0:oe;if(he){var ct=a.computeBusNodeSpacing(Be)-re;Te-=vt+We.height,Be.S.h(x-(We.width+ct),Te),b=Math.max(b,We.width+ct),z=Math.max(z,Math.abs(Te))}else ct=a.computeBusNodeSpacing(Be)-re,Se-=vt+We.width,Be.S.h(Se,x-(We.height+ct)),z=Math.max(z,We.height+ct),b=Math.max(b,Math.abs(Se));fe++}for(fe=0,Be=Se,Ne=Te,he?(Se=x+re,Te=0):(Se=0,Te=x+re),We=0;We<ne;We++)if(We%2!==0){vt=E[We],ct=vt.Da;var wt=fe===0?0:oe;if(he){var Tt=a.computeBusNodeSpacing(vt)-re;Te-=wt+ct.height,vt.S.h(Se+Tt,Te),b=Math.max(b,Se+ct.width+Tt),z=Math.max(z,Math.abs(Te))}else Tt=a.computeBusNodeSpacing(vt)-re,Se-=wt+ct.width,vt.S.h(Se,Te+Tt),z=Math.max(z,Te+ct.height+Tt),b=Math.max(b,Math.abs(Se));fe++}for(1<ne&&ne%2===1&&(oe=E[ne-1],fe=oe.Da,a=a.computeBusLastRowSpacing(oe,he?Math.max(Math.abs(Ne),Math.abs(Te)):Math.max(Math.abs(Be),Math.abs(Se))),he?(oe.S.h(x+re/2-oe.focus.x-oe.la.x,-z-fe.height-a),Se=x+re/2-oe.focus.x-oe.la.x,b=Math.max(b,Se+fe.width),0>Se&&(b-=Se),z=Math.max(z,Math.abs(Math.min(Ne,Te))+a+fe.height),0>oe.S.x&&(x=F0(y,oe.S.x,!1,x,re))):(oe.S.h(-b-fe.width-a,x+re/2-oe.focus.y-oe.la.y),b=Math.max(b,Math.abs(Math.min(Be,Se))+a+fe.width),Te=x+re/2-oe.focus.y-oe.la.y,z=Math.max(z,Te+fe.height),0>Te&&(z-=Te),0>oe.S.y&&(x=F0(y,oe.S.y,!0,x,re)))),y=0;y<ne;y++)re=E[y],he?re.S.h(re.S.x,re.S.y+z):re.S.h(re.S.x+b,re.S.y);return new an(x,0,b,z)}jr.prototype.computeBusNodeSpacing=function(a){return a.parent===null?0:a.parent.nodeSpacing},jr.prototype.computeBusLastRowSpacing=function(a){return a.parent===null?0:a.parent.rowSpacing};function F0(a,y,E,x,b){a=a.children;for(var z=a.length,ne=0;ne<z;ne++)E?a[ne].S.h(a[ne].S.x,a[ne].S.y-y):a[ne].S.h(a[ne].S.x-y,a[ne].S.y);return y=a[z-1],Math.max(x,E?y.la.y+y.focus.y-b/2:y.la.x+y.focus.x-b/2)}function My(a,y,E){switch(a.alignment){case Bf:case Rg:return E+a.width>y&&(y=E+a.width),0>E&&(y-=E),y;case sd:return a.width>y?a.width:y;case ld:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Xd:case ud:return Math.max(a.width,Math.max(y,E+a.width)-Math.min(0,E));case Qd:return a.width-a.focus.x+a.nodeSpacing/2+y;case Td:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Ry(a,y,E){switch(a.alignment){case Bf:case Rg:return E+a.height>y&&(y=E+a.height),0>E&&(y-=E),y;case sd:return a.height>y?a.height:y;case ld:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Xd:case ud:return Math.max(a.height,Math.max(y,E+a.height)-Math.min(0,E));case Qd:return a.height-a.focus.y+a.nodeSpacing/2+y;case Td:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Oy(a,y,E){switch(a){case Rg:y/=2,E/=2;break;case Bf:y/=2,E/=2;break;case sd:E=y=0;break;case ld:break;default:tn("Unhandled alignment value "+a.toString())}return new st(y,E)}function af(a,y,E,x,b,z){y=Oy(y,E,x),Df(a,y.x,y.y,b,z)}function Df(a,y,E,x,b){if(y!==0||E!==0)for(a=a.children;x<=b;x++){var z=a[x].S;z.x+=y,z.y+=E}}function B0(a,y,E,x){var b=y.parent;switch(a.ud){case ad:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===b&&y.relativePoint.h(E,x);break;case Ff:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===b&&y.relativePoint.h(E,x);break;default:tn("Unhandled path value "+a.ud.toString())}}function _0(a,y,E){for(var x=0;x<a.length;x++){var b=a[x];b.x+=y,b.y+=E}}function mE(a,y,E,x,b,z,ne,re){var oe=Ec(y),he=oe===90||oe===270,fe=y.nodeSpacing;y=x;var Se=b;x=z;var Te=ne,Ne=E.Yo,Be=E.kp;ne=E.Da;var We=he?Math.max(Te,ne.height):Math.max(x,ne.width);if((Ne===null||oe!==Ec(E))&&(Ne=tu(a,2),Be=tu(a,2),he?(Ne[0].h(0,0),Ne[1].h(0,ne.height),Be[0].h(ne.width,0),Be[1].h(Be[0].x,Ne[1].y)):(Ne[0].h(0,0),Ne[1].h(ne.width,0),Be[0].h(0,ne.height),Be[1].h(Ne[1].x,Be[0].y))),he){if(Te=9999999,!(Se===null||2>Se.length||Ne===null||2>Ne.length))for(b=E=0;E<Se.length&&b<Ne.length;){z=Se[E];var vt=Ne[b];oe=vt.x,he=vt.y,oe+=x;var ct=z;E+1<Se.length&&(ct=Se[E+1]);var wt=vt;vt=wt.x,wt=wt.y,b+1<Ne.length&&(wt=Ne[b+1],vt=wt.x,wt=wt.y,vt+=x);var Tt=Te;z.y===he?Tt=oe-z.x:z.y>he&&z.y<wt?Tt=oe+(z.y-he)/(wt-he)*(vt-oe)-z.x:he>z.y&&he<ct.y&&(Tt=oe-(z.x+(he-z.y)/(ct.y-z.y)*(ct.x-z.x))),Tt<Te&&(Te=Tt),ct.y<=z.y?E++:wt<=he?b++:(ct.y<=wt&&E++,wt<=ct.y&&b++)}if(Te=x-Te,Te+=fe,E=Ne,b=Te,y===null||2>y.length||E===null||2>E.length)x=null;else{for(fe=tu(a,y.length+E.length),x=z=oe=0;z<E.length&&E[z].y<y[0].y;)he=E[z++],fe[x++].h(he.x+b,he.y);for(;oe<y.length;)he=y[oe++],fe[x++].h(he.x,he.y);for(oe=y[y.length-1].y;z<E.length&&E[z].y<=oe;)z++;for(;z<E.length&&E[z].y>oe;)he=E[z++],fe[x++].h(he.x+b,he.y);for(E=tu(a,x),oe=0;oe<x;oe++)E[oe].assign(fe[oe]);kc(a,fe),x=E}if(z=Be,oe=Te,Se===null||2>Se.length||z===null||2>z.length)b=null;else{for(fe=tu(a,Se.length+z.length),b=he=E=0;E<Se.length&&Se[E].y<z[0].y;)ct=Se[E++],fe[b++].h(ct.x,ct.y);for(;he<z.length;)ct=z[he++],fe[b++].h(ct.x+oe,ct.y);for(z=z[z.length-1].y;E<Se.length&&Se[E].y<=z;)E++;for(;E<Se.length&&Se[E].y>z;)oe=Se[E++],fe[b++].h(oe.x,oe.y);for(z=tu(a,b),E=0;E<b;E++)z[E].assign(fe[E]);kc(a,fe),b=z}return z=Math.max(0,Te)+ne.width,ne=We,kc(a,y),kc(a,Ne),kc(a,Se),kc(a,Be),re[0]=x,re[1]=b,new an(Te,0,z,ne)}if(x=9999999,!(Se===null||2>Se.length||Ne===null||2>Ne.length))for(b=E=0;E<Se.length&&b<Ne.length;)z=Se[E],vt=Ne[b],oe=vt.x,he=vt.y,he+=Te,ct=z,E+1<Se.length&&(ct=Se[E+1]),wt=vt,vt=wt.x,wt=wt.y,b+1<Ne.length&&(wt=Ne[b+1],vt=wt.x,wt=wt.y,wt+=Te),Tt=x,z.x===oe?Tt=he-z.y:z.x>oe&&z.x<vt?Tt=he+(z.x-oe)/(vt-oe)*(wt-he)-z.y:oe>z.x&&oe<ct.x&&(Tt=he-(z.y+(oe-z.x)/(ct.x-z.x)*(ct.y-z.y))),Tt<x&&(x=Tt),ct.x<=z.x?E++:vt<=oe?b++:(ct.x<=vt&&E++,vt<=ct.x&&b++);if(Te-=x,Te+=fe,E=Ne,b=Te,y===null||2>y.length||E===null||2>E.length)x=null;else{for(fe=tu(a,y.length+E.length),x=z=oe=0;z<E.length&&E[z].x<y[0].x;)he=E[z++],fe[x++].h(he.x,he.y+b);for(;oe<y.length;)he=y[oe++],fe[x++].h(he.x,he.y);for(oe=y[y.length-1].x;z<E.length&&E[z].x<=oe;)z++;for(;z<E.length&&E[z].x>oe;)he=E[z++],fe[x++].h(he.x,he.y+b);for(E=tu(a,x),oe=0;oe<x;oe++)E[oe].assign(fe[oe]);kc(a,fe),x=E}if(z=Be,oe=Te,Se===null||2>Se.length||z===null||2>z.length)b=null;else{for(fe=tu(a,Se.length+z.length),b=he=E=0;E<Se.length&&Se[E].x<z[0].x;)ct=Se[E++],fe[b++].h(ct.x,ct.y);for(;he<z.length;)ct=z[he++],fe[b++].h(ct.x,ct.y+oe);for(z=z[z.length-1].x;E<Se.length&&Se[E].x<=z;)E++;for(;E<Se.length&&Se[E].x>z;)oe=Se[E++],fe[b++].h(oe.x,oe.y);for(z=tu(a,b),E=0;E<b;E++)z[E].assign(fe[E]);kc(a,fe),b=z}return z=We,ne=Math.max(0,Te)+ne.height,kc(a,y),kc(a,Ne),kc(a,Se),kc(a,Be),re[0]=x,re[1]=b,new an(Te,0,z,ne)}function tu(a,y){if(a=a.ru[y],a!==void 0&&(a=a.pop(),a!==void 0))return a;a=[];for(var E=0;E<y;E++)a[E]=new st;return a}function kc(a,y){var E=y.length,x=a.ru[E];x===void 0&&(x=[],a.ru[E]=x),x.push(y)}jr.prototype.arrangeTrees=function(){if(this.Rb===G0)for(var a=this.Ub.iterator;a.next();){var y=a.value;if(y instanceof ic){var E=y.node;if(E!==null){var x=E.position;E=x.x,x=x.y,isFinite(E)||(E=0),isFinite(x)||(x=0),Dy(this,y,E,x)}}}else{for(a=[],y=this.Ub.iterator;y.next();)E=y.value,E instanceof ic&&a.push(E);switch(this.sorting){case Mg:break;case Zp:a.reverse();break;case Xp:a.sort(this.comparer);break;case Qp:a.sort(this.comparer),a.reverse();break;default:tn("Unhandled sorting value "+this.sorting.toString())}for(E=this.arrangementOrigin,y=E.x,E=E.y,x=0;x<a.length;x++){var b=a[x];switch(Dy(this,b,y+b.la.x,E+b.la.y),this.Rb){case j0:E+=b.Da.height+this.$d.height;break;case Uy:y+=b.Da.width+this.$d.width;break;default:tn("Unhandled arrangement value "+this.Rb.toString())}}}};function Dy(a,y,E,x){if(y!==null){y.x=E,y.y=x,y=y.children;for(var b=y.length,z=0;z<b;z++){var ne=y[z];Dy(a,ne,E+ne.S.x,x+ne.S.y)}}}jr.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()},jr.prototype.commitNodes=function(){for(var a=this.network.vertexes.iterator;a.next();)a.value.commit();for(a.reset();a.next();)this.layoutComments(a.value)},jr.prototype.Gu=function(){if(this.layerStyle===W0){for(var a=this.$v,y=[],E=null,x=this.network.vertexes.iterator;x.next();){var b=x.value;E===null?E=b.bounds.copy():E.ed(b.bounds);var z=y[b.level];z===void 0?z=this.computeLayerSpacing(b):z=Math.max(z,this.computeLayerSpacing(b)),y[b.level]=z}for(x=0;x<y.length;x++)y[x]===void 0&&(y[x]=0);if(this.angle===90||this.angle===270?(E.Bc(this.nodeSpacing/2,this.layerSpacing),x=new st(-this.nodeSpacing/2,-this.layerSpacing/2)):(E.Bc(this.layerSpacing,this.nodeSpacing/2),x=new st(-this.layerSpacing/2,-this.nodeSpacing/2)),b=[],E=this.angle===90||this.angle===270?E.width:E.height,z=0,this.angle===180||this.angle===270)for(var ne=0;ne<a.length;ne++)z+=a[ne]+y[ne];for(ne=0;ne<a.length;ne++){var re=a[ne]+y[ne];this.angle===270?(z-=re,b.push(new an(0,z,E,re))):this.angle===90?(b.push(new an(0,z,E,re)),z+=re):this.angle===180?(z-=re,b.push(new an(z,0,re,E))):(b.push(new an(z,0,re,E)),z+=re)}this.commitLayers(b,x)}},jr.prototype.commitLayers=function(){},jr.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},jr.prototype.yv=function(){for(var a=this.Ub.iterator;a.next();){var y=a.value;y instanceof ic&&vE(this,y)}};function vE(a,y){if(y!==null){a.setPortSpots(y),y=y.children;for(var E=y.length,x=0;x<E;x++)vE(a,y[x])}}jr.prototype.setPortSpots=function(a){var y=a.alignment;if(Ph(y)){var E=this.ud===ad,x=Ec(a);switch(x){case 0:var b=no;break;case 90:b=Lo;break;case 180:b=Kr;break;default:b=Sr}var z=a.children,ne=z.length;switch(y){case Xd:case ud:for(y=0;y<ne;y++){var re=z[y];if(re=(E?re.sourceEdges:re.destinationEdges).first(),re!==null&&(re=re.link,re!==null)){var oe=x===90||x===270?Kr:Sr;if(ne===1||y===ne-1&&ne%2===1)switch(x){case 0:oe=Kr;break;case 90:oe=Sr;break;case 180:oe=no;break;default:oe=Lo}else y%2===0&&(oe=x===90||x===270?no:Lo);E?(a.setsPortSpot&&(re.fromSpot=b),a.setsChildPortSpot&&(re.toSpot=oe)):(a.setsPortSpot&&(re.fromSpot=oe),a.setsChildPortSpot&&(re.toSpot=b))}}break;case Qd:for(x=x===90||x===270?no:Lo,z=E?a.destinationEdges:a.sourceEdges;z.next();)ne=z.value.link,ne!==null&&(E?(a.setsPortSpot&&(ne.fromSpot=b),a.setsChildPortSpot&&(ne.toSpot=x)):(a.setsPortSpot&&(ne.fromSpot=x),a.setsChildPortSpot&&(ne.toSpot=b)));break;case Td:for(x=x===90||x===270?Kr:Sr,z=E?a.destinationEdges:a.sourceEdges;z.next();)ne=z.value.link,ne!==null&&(E?(a.setsPortSpot&&(ne.fromSpot=b),a.setsChildPortSpot&&(ne.toSpot=x)):(a.setsPortSpot&&(ne.fromSpot=x),a.setsChildPortSpot&&(ne.toSpot=b)))}}else if(E=Ec(a),this.ud===ad){for(b=a.destinationEdges;b.next();)if(x=b.value.link,x!==null){if(a.setsPortSpot)if(a.portSpot.Xb())switch(E){case 0:x.fromSpot=no;break;case 90:x.fromSpot=Lo;break;case 180:x.fromSpot=Kr;break;default:x.fromSpot=Sr}else x.fromSpot=a.portSpot;if(a.setsChildPortSpot)if(a.childPortSpot.Xb())switch(E){case 0:x.toSpot=Kr;break;case 90:x.toSpot=Sr;break;case 180:x.toSpot=no;break;default:x.toSpot=Lo}else x.toSpot=a.childPortSpot}}else for(b=a.sourceEdges;b.next();)if(x=b.value.link,x!==null){if(a.setsPortSpot)if(a.portSpot.Xb())switch(E){case 0:x.toSpot=no;break;case 90:x.toSpot=Lo;break;case 180:x.toSpot=Kr;break;default:x.toSpot=Sr}else x.toSpot=a.portSpot;if(a.setsChildPortSpot)if(a.childPortSpot.Xb())switch(E){case 0:x.fromSpot=Kr;break;case 90:x.fromSpot=Sr;break;case 180:x.fromSpot=no;break;default:x.fromSpot=Lo}else x.fromSpot=a.childPortSpot}};function Ec(a){return a=a.angle,45>=a?0:135>=a?90:225>=a?180:315>=a?270:0}jr.prototype.computeLayerSpacing=function(a){var y=Ec(a);y=y===90||y===270;var E=a.layerSpacing;if(0<a.layerSpacingParentOverlap){var x=Math.min(1,a.layerSpacingParentOverlap);E-=y?a.height*x:a.width*x}return E<(y?-a.height:-a.width)&&(E=y?-a.height:-a.width),E},jr.prototype.computeNodeIndent=function(a){var y=Ec(a),E=a.nodeIndent;if(0<a.nodeIndentPastParent){var x=Math.min(1,a.nodeIndentPastParent);E+=y===90||y===270?a.width*x:a.height*x}return E=Math.max(0,E)},bn.Object.defineProperties(jr.prototype,{roots:{get:function(){return this.Ub},set:function(a){this.Ub!==a&&(this.Ub=a,this.C())}},path:{get:function(){return this.Wn},set:function(a){this.Wn!==a&&(this.Wn=a,this.C())}},treeStyle:{get:function(){return this.vo},set:function(a){this.Rb===a||a!==z0&&a!==By&&a!==Fy&&a!==_y||(this.vo=a,this.C())}},layerStyle:{get:function(){return this.Bq},set:function(a){this.Rb===a||a!==Hy&&a!==zy&&a!==W0||(this.Bq=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==j0&&a!==Uy&&a!==G0||(this.Rb=a,this.C())}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},rootDefaults:{get:function(){return this.W},set:function(a){this.W!==a&&(this.W=a,this.C())}},alternateDefaults:{get:function(){return this.Y},set:function(a){this.Y!==a&&(this.Y=a,this.C())}},sorting:{get:function(){return this.W.sorting},set:function(a){this.W.sorting===a||a!==Mg&&a!==Zp&&a!==Xp&&!Qp||(this.W.sorting=a,this.C())}},comparer:{get:function(){return this.W.comparer},set:function(a){this.W.comparer!==a&&(this.W.comparer=a,this.C())}},angle:{get:function(){return this.W.angle},set:function(a){this.W.angle!==a&&(a===0||a===90||a===180||a===270?(this.W.angle=a,this.C()):tn("TreeLayout.angle must be 0, 90, 180, or 270"))}},alignment:{get:function(){return this.W.alignment},set:function(a){this.W.alignment!==a&&(this.W.alignment=a,this.C())}},nodeIndent:{get:function(){return this.W.nodeIndent},set:function(a){this.W.nodeIndent!==a&&0<=a&&(this.W.nodeIndent=a,this.C())}},nodeIndentPastParent:{get:function(){return this.W.nodeIndentPastParent},set:function(a){this.W.nodeIndentPastParent!==a&&0<=a&&1>=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!==H0&&a!==Jp||(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!==Mg&&a!==Zp&&a!==Xp&&!Qp||(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!==H0&&a!==Jp||(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 U0=new nn(jr,"PathDefault",-1),ad=new nn(jr,"PathDestination",0),Ff=new nn(jr,"PathSource",1),Mg=new nn(jr,"SortingForwards",10),Zp=new nn(jr,"SortingReverse",11),Xp=new nn(jr,"SortingAscending",12),Qp=new nn(jr,"SortingDescending",13),Rg=new nn(jr,"AlignmentCenterSubtrees",20),Bf=new nn(jr,"AlignmentCenterChildren",21),sd=new nn(jr,"AlignmentStart",22),ld=new nn(jr,"AlignmentEnd",23),Xd=new nn(jr,"AlignmentBus",24),ud=new nn(jr,"AlignmentBusBranching",25),Qd=new nn(jr,"AlignmentTopLeftBus",26),Td=new nn(jr,"AlignmentBottomRightBus",27),H0=new nn(jr,"CompactionNone",30),Jp=new nn(jr,"CompactionBlock",31),z0=new nn(jr,"StyleLayered",40),Fy=new nn(jr,"StyleLastParents",41),By=new nn(jr,"StyleAlternating",42),_y=new nn(jr,"StyleRootOnly",43),j0=new nn(jr,"ArrangementVertical",50),Uy=new nn(jr,"ArrangementHorizontal",51),G0=new nn(jr,"ArrangementFixedRoots",52),Hy=new nn(jr,"LayerIndividual",60),zy=new nn(jr,"LayerSiblings",61),W0=new nn(jr,"LayerUniform",62);jr.className="TreeLayout",jr.PathDefault=U0,jr.PathDestination=ad,jr.PathSource=Ff,jr.SortingForwards=Mg,jr.SortingReverse=Zp,jr.SortingAscending=Xp,jr.SortingDescending=Qp,jr.AlignmentCenterSubtrees=Rg,jr.AlignmentCenterChildren=Bf,jr.AlignmentStart=sd,jr.AlignmentEnd=ld,jr.AlignmentBus=Xd,jr.AlignmentBusBranching=ud,jr.AlignmentTopLeftBus=Qd,jr.AlignmentBottomRightBus=Td,jr.CompactionNone=H0,jr.CompactionBlock=Jp,jr.StyleLayered=z0,jr.StyleLastParents=Fy,jr.StyleAlternating=By,jr.StyleRootOnly=_y,jr.ArrangementVertical=j0,jr.ArrangementHorizontal=Uy,jr.ArrangementFixedRoots=G0,jr.LayerIndividual=Hy,jr.LayerSiblings=zy,jr.LayerUniform=W0;function _f(a){aa.call(this,a)}Kt(_f,aa),_f.prototype.createVertex=function(){return new ic(this)},_f.prototype.createEdge=function(){return new Og(this)},_f.className="TreeNetwork";function ic(a){Ts.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 st(0,0),this.Da=new fn(0,0),this.la=new st(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=Mg,this.hd=sy,this.Kb=0,this.Jb=Bf,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=Jp,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=$a,this.wr=!0,this.Dp=$a}Kt(ic,Ts),ic.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)},bn.Object.defineProperties(ic.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,E=0;E<y;E++);this.u=a}}},level:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},descendantCount:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}},maxChildrenCount:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},maxGenerationCount:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a)}},comments:{get:function(){return this.td},set:function(a){if(this.td!==a){if(a!==null)for(var y=a.length,E=0;E<y;E++);this.td=a}}},sorting:{get:function(){return this.nd},set:function(a){this.nd!==a&&(this.nd=a)}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a)}},angle:{get:function(){return this.Kb},set:function(a){this.Kb!==a&&(this.Kb=a)}},alignment:{get:function(){return this.Jb},set:function(a){this.Jb!==a&&(this.Jb=a)}},nodeIndent:{get:function(){return this.Uq},set:function(a){this.Uq!==a&&(this.Uq=a)}},nodeIndentPastParent:{get:function(){return this.Vq},set:function(a){this.Vq!==a&&(this.Vq=a)}},nodeSpacing:{get:function(){return this.Wq},set:function(a){this.Wq!==a&&(this.Wq=a)}},layerSpacing:{get:function(){return this.ie},set:function(a){this.ie!==a&&(this.ie=a)}},layerSpacingParentOverlap:{get:function(){return this.Aq},set:function(a){this.Aq!==a&&(this.Aq=a)}},compaction:{get:function(){return this.Hp},set:function(a){this.Hp!==a&&(this.Hp=a)}},breadthLimit:{get:function(){return this.Ap},set:function(a){this.Ap!==a&&(this.Ap=a)}},rowSpacing:{get:function(){return this.nr},set:function(a){this.nr!==a&&(this.nr=a)}},rowIndent:{get:function(){return this.mr},set:function(a){this.mr!==a&&(this.mr=a)}},commentSpacing:{get:function(){return this.Gp},set:function(a){this.Gp!==a&&(this.Gp=a)}},commentMargin:{get:function(){return this.Fp},set:function(a){this.Fp!==a&&(this.Fp=a)}},setsPortSpot:{get:function(){return this.xr},set:function(a){this.xr!==a&&(this.xr=a)}},portSpot:{get:function(){return this.dr},set:function(a){this.dr.D(a)||(this.dr=a)}},setsChildPortSpot:{get:function(){return this.wr},set:function(a){this.wr!==a&&(this.wr=a)}},childPortSpot:{get:function(){return this.Dp},set:function(a){this.Dp.D(a)||(this.Dp=a)}},childrenCount:{get:function(){return this.children.length}},relativePosition:{get:function(){return this.S},set:function(a){this.S.set(a)}},subtreeSize:{get:function(){return this.Da},set:function(a){this.Da.set(a)}},subtreeOffset:{get:function(){return this.la},set:function(a){this.la.set(a)}}}),ic.className="TreeVertex";function Og(a){du.call(this,a),this.$t=new st(0,0)}Kt(Og,du),Og.prototype.commit=function(){var a=this.link;if(a!==null&&!a.isAvoiding){var y=this.network.layout,E=null,x=null;switch(y.ud){case ad:E=this.fromVertex,x=this.toVertex;break;case Ff:E=this.toVertex,x=this.fromVertex;break;default:tn("Unhandled path value "+y.ud.toString())}if(E!==null&&x!==null){var b=this.$t;if(b.x!==0||b.y!==0||E.qA){x=E.bounds;var z=Ec(E),ne=y.computeLayerSpacing(E),re=E.rowSpacing;a.vg();var oe=a.curve===Pu,he=a.isOrthogonal,fe;if(a.uh(),he||oe){for(fe=2;4<a.pointsCount;)a.pv(2);var Se=a.i(1),Te=a.i(2)}else{for(fe=1;3<a.pointsCount;)a.pv(1);Se=a.i(0),Te=a.i(a.pointsCount-1)}var Ne=a.i(a.pointsCount-1);z===0?(E.alignment===ld?(z=x.bottom+b.y,b.y===0&&Se.y>Ne.y+E.rowIndent&&(z=Math.min(z,Math.max(Se.y,z-y.computeNodeIndent(E))))):E.alignment===sd?(z=x.top+b.y,b.y===0&&Se.y<Ne.y-E.rowIndent&&(z=Math.max(z,Math.min(Se.y,z+y.computeNodeIndent(E))))):z=E.hm||E.im&&E.maxGenerationCount===1?x.top-E.la.y+b.y:x.y+x.height/2+b.y,oe?(a.m(fe,Se.x,z),fe++,a.m(fe,x.right+ne,z),fe++,a.m(fe,x.right+ne+(b.x-re)/3,z),fe++,a.m(fe,x.right+ne+2*(b.x-re)/3,z),fe++,a.m(fe,x.right+ne+(b.x-re),z),fe++,a.m(fe,Te.x,z)):(he&&(a.m(fe,x.right+ne/2,Se.y),fe++),a.m(fe,x.right+ne/2,z),fe++,a.m(fe,x.right+ne+b.x-(he?re/2:re),z),fe++,he&&a.m(fe,a.i(fe-1).x,Te.y))):z===90?(E.alignment===ld?(z=x.right+b.x,b.x===0&&Se.x>Ne.x+E.rowIndent&&(z=Math.min(z,Math.max(Se.x,z-y.computeNodeIndent(E))))):E.alignment===sd?(z=x.left+b.x,b.x===0&&Se.x<Ne.x-E.rowIndent&&(z=Math.max(z,Math.min(Se.x,z+y.computeNodeIndent(E))))):z=E.hm||E.im&&E.maxGenerationCount===1?x.left-E.la.x+b.x:x.x+x.width/2+b.x,oe?(a.m(fe,z,Se.y),fe++,a.m(fe,z,x.bottom+ne),fe++,a.m(fe,z,x.bottom+ne+(b.y-re)/3),fe++,a.m(fe,z,x.bottom+ne+2*(b.y-re)/3),fe++,a.m(fe,z,x.bottom+ne+(b.y-re)),fe++,a.m(fe,z,Te.y)):(he&&(a.m(fe,Se.x,x.bottom+ne/2),fe++),a.m(fe,z,x.bottom+ne/2),fe++,a.m(fe,z,x.bottom+ne+b.y-(he?re/2:re)),fe++,he&&a.m(fe,Te.x,a.i(fe-1).y))):z===180?(E.alignment===ld?(z=x.bottom+b.y,b.y===0&&Se.y>Ne.y+E.rowIndent&&(z=Math.min(z,Math.max(Se.y,z-y.computeNodeIndent(E))))):E.alignment===sd?(z=x.top+b.y,b.y===0&&Se.y<Ne.y-E.rowIndent&&(z=Math.max(z,Math.min(Se.y,z+y.computeNodeIndent(E))))):z=E.hm||E.im&&E.maxGenerationCount===1?x.top-E.la.y+b.y:x.y+x.height/2+b.y,oe?(a.m(fe,Se.x,z),fe++,a.m(fe,x.left-ne,z),fe++,a.m(fe,x.left-ne+(b.x+re)/3,z),fe++,a.m(fe,x.left-ne+2*(b.x+re)/3,z),fe++,a.m(fe,x.left-ne+(b.x+re),z),fe++,a.m(fe,Te.x,z)):(he&&(a.m(fe,x.left-ne/2,Se.y),fe++),a.m(fe,x.left-ne/2,z),fe++,a.m(fe,x.left-ne+b.x+(he?re/2:re),z),fe++,he&&a.m(fe,a.i(fe-1).x,Te.y))):z===270?(E.alignment===ld?(z=x.right+b.x,b.x===0&&Se.x>Ne.x+E.rowIndent&&(z=Math.min(z,Math.max(Se.x,z-y.computeNodeIndent(E))))):E.alignment===sd?(z=x.left+b.x,b.x===0&&Se.x<Ne.x-E.rowIndent&&(z=Math.max(z,Math.min(Se.x,z+y.computeNodeIndent(E))))):z=E.hm||E.im&&E.maxGenerationCount===1?x.left-E.la.x+b.x:x.x+x.width/2+b.x,oe?(a.m(fe,z,Se.y),fe++,a.m(fe,z,x.top-ne),fe++,a.m(fe,z,x.top-ne+(b.y+re)/3),fe++,a.m(fe,z,x.top-ne+2*(b.y+re)/3),fe++,a.m(fe,z,x.top-ne+(b.y+re)),fe++,a.m(fe,z,Te.y)):(he&&(a.m(fe,Se.x,x.top-ne/2),fe++),a.m(fe,z,x.top-ne/2),fe++,a.m(fe,z,x.top-ne+b.y+(he?re/2:re)),fe++,he&&a.m(fe,Te.x,a.i(fe-1).y))):tn("Invalid angle "+z),a.zf()}else b=x,a=this.link,x=this.network.layout,y=Ec(E),y!==Ec(b)&&(ne=x.computeLayerSpacing(E),re=E.bounds,E=b.bounds,y===0&&E.left-re.right<ne+1||y===90&&E.top-re.bottom<ne+1||y===180&&re.left-E.right<ne+1||y===270&&re.top-E.bottom<ne+1||(a.vg(),E=a.curve===Pu,b=a.isOrthogonal,x=Ph(this.fromVertex.alignment),a.uh(),y===0?(y=re.right+ne/2,E?a.pointsCount===4&&(E=a.i(3).y,a.L(1,y-20,a.i(1).y),a.m(2,y-20,E),a.m(3,y,E),a.m(4,y+20,E),a.L(5,a.i(5).x,E)):b?x?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,y,a.i(2).y),a.L(3,y,a.i(3).y)):a.pointsCount===4?a.m(2,y,a.i(2).y):a.pointsCount===3?a.L(1,y,a.i(2).y):a.pointsCount===2&&a.m(1,y,a.i(1).y)):y===90?(y=re.bottom+ne/2,E?a.pointsCount===4&&(E=a.i(3).x,a.L(1,a.i(1).x,y-20),a.m(2,E,y-20),a.m(3,E,y),a.m(4,E,y+20),a.L(5,E,a.i(5).y)):b?x?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,a.i(2).x,y),a.L(3,a.i(3).x,y)):a.pointsCount===4?a.m(2,a.i(2).x,y):a.pointsCount===3?a.L(1,a.i(2).x,y):a.pointsCount===2&&a.m(1,a.i(1).x,y)):y===180?(y=re.left-ne/2,E?a.pointsCount===4&&(E=a.i(3).y,a.L(1,y+20,a.i(1).y),a.m(2,y+20,E),a.m(3,y,E),a.m(4,y-20,E),a.L(5,a.i(5).x,E)):b?x?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,y,a.i(2).y),a.L(3,y,a.i(3).y)):a.pointsCount===4?a.m(2,y,a.i(2).y):a.pointsCount===3?a.L(1,y,a.i(2).y):a.pointsCount===2&&a.m(1,y,a.i(1).y)):y===270&&(y=re.top-ne/2,E?a.pointsCount===4&&(E=a.i(3).x,a.L(1,a.i(1).x,y+20),a.m(2,E,y+20),a.m(3,E,y),a.m(4,E,y-20),a.L(5,E,a.i(5).y)):b?x?a.L(3,a.i(2).x,a.i(4).y):a.pointsCount===6&&(a.L(2,a.i(2).x,y),a.L(3,a.i(3).x,y)):a.pointsCount===4?a.m(2,a.i(2).x,y):a.pointsCount===3?a.L(1,a.i(2).x,y):a.pointsCount===2&&a.m(1,a.i(1).x,y)),a.zf()))}}},bn.Object.defineProperties(Og.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)}},relativePoint:{get:function(){return this.$t},set:function(a){this.$t.set(a)}}}),Og.className="TreeEdge",ra.prototype.initializeStandardTools=function(){this.gb("Action",new Pn,this.mouseDownTools),this.gb("Relinking",new Ve,this.mouseDownTools),this.gb("LinkReshaping",new gt,this.mouseDownTools),this.gb("Rotating",new Gn,this.mouseDownTools),this.gb("Resizing",new dn,this.mouseDownTools),this.gb("Linking",new wo,this.mouseMoveTools),this.gb("Dragging",new ya,this.mouseMoveTools),this.gb("DragSelecting",new pe,this.mouseMoveTools),this.gb("Panning",new Ge,this.mouseMoveTools),this.gb("ContextMenu",new Cn,this.mouseUpTools),this.gb("TextEditing",new rr,this.mouseUpTools),this.gb("ClickCreating",new le,this.mouseUpTools),this.gb("ClickSelecting",new Wn,this.mouseUpTools)},Yc("Horizontal",new Sm),Yc("Spot",new xm),Yc("Table",new wm),Yc("Viewbox",new Am),Yc("TableRow",new Cm),Yc("TableColumn",new Tm),Yc("Graduated",new fp),Yc("Grid",new hp),ig.add("GraphLinksModel",Ds),ig.add("TreeModel",ju);var V0=sn.go,jy={get licenseKey(){return qt.licenseKey},set licenseKey(a){qt.licenseKey=a},get version(){return qt.version},Group:Cr,EnumValue:nn,List:Qn,Set:Rt,Map:Fn,Point:st,Size:fn,Rect:an,Margin:Zi,Spot:wi,Geometry:Jn,PathFigure:_a,PathSegment:eo,InputEvent:Us,DiagramEvent:yu,ChangedEvent:da,Model:_i,GraphLinksModel:ro,TreeModel:Ml,Binding:cs,Transaction:is,UndoManager:va,CommandHandler:mt,Tool:Or,DraggingTool:ya,DraggingInfo:Sd,DraggingOptions:ae,LinkingBaseTool:ur,LinkingTool:wo,RelinkingTool:Ve,LinkReshapingTool:gt,ResizingTool:dn,RotatingTool:Gn,ClickSelectingTool:Wn,ActionTool:Pn,ClickCreatingTool:le,HTMLInfo:Ct,ContextMenuTool:Cn,DragSelectingTool:pe,PanningTool:Ge,TextEditingTool:rr,ToolManager:ra,Animation:Vo,AnimationManager:ps,AnimationTrigger:su,Layer:So,Diagram:qt,Palette:ye,Overview:Ee,Brush:Oo,GraphObject:Ut,Panel:Yn,RowColumnDefinition:xs,Shape:kr,TextBlock:oa,Picture:Wl,Part:Ki,Adornment:Eo,Node:yi,Link:$n,Placeholder:Nl,Layout:Aa,LayoutNetwork:aa,LayoutVertex:Ts,LayoutEdge:du,GridLayout:Gs,PanelLayout:Cs,CircularLayout:Fa,CircularNetwork:Lg,CircularVertex:zp,CircularEdge:T0,ForceDirectedLayout:Qs,ForceDirectedNetwork:Of,ForceDirectedVertex:jp,ForceDirectedEdge:Gp,LayeredDigraphLayout:Bo,LayeredDigraphNetwork:Ig,LayeredDigraphVertex:Wu,LayeredDigraphEdge:Yp,TreeLayout:jr,TreeNetwork:_f,TreeVertex:ic,TreeEdge:Og};typeof V0=="object"&&V0.version&&Hr("WARNING: a `go` object on the root object is already defined. "+("Debug"in V0?"debug ":"")+"version: "+V0.version+", replaced with version: "+jy.version),qt.prototype.go=jy,sn.go=jy,typeof Re.exports=="object"&&(Re.exports=typeof ue.g!="undefined"?ue.g.go:self.go)}();var ce=typeof ue.g!="undefined"?ue.g.go:self.go;const Ae=typeof ue.g!="undefined"?ue.g.go:self.go,Fe=Ae.Group,ke=Ae.EnumValue,Ye=Ae.List,Pe=Ae.Set,Ue=Ae.Map,tt=Ae.Point,Ze=Ae.Size,rt=Ae.Rect,xt=Ae.Margin,Qe=Ae.Spot,Mt=Ae.Geometry,De=Ae.PathFigure,te=Ae.PathSegment,ee=Ae.InputEvent,de=Ae.DiagramEvent,se=Ae.ChangedEvent,ge=Ae.Model,ve=Ae.GraphLinksModel,be=Ae.TreeModel,we=Ae.Binding,Oe=Ae.Transaction,Ke=Ae.UndoManager,qe=Ae.CommandHandler,lt=Ae.Tool,at=Ae.DraggingTool,ft=Ae.DraggingInfo,pt=Ae.LinkingBaseTool,Nt=Ae.LinkingTool,Xt=Ae.RelinkingTool,Zt=Ae.LinkReshapingTool,yn=Ae.ResizingTool,Ln=Ae.RotatingTool,on=Ae.ClickSelectingTool,Bn=Ae.ActionTool,Et=Ae.ClickCreatingTool,nt=Ae.HTMLInfo,ot=Ae.ContextMenuTool,Jt=Ae.DragSelectingTool,In=Ae.PanningTool,Gt=Ae.TextEditingTool,An=Ae.ToolManager,Nn=Ae.Animation,di=Ae.AnimationManager,At=Ae.AnimationTrigger,Ot=Ae.Layer,$e=Ae.Diagram,Wt=Ae.Palette,jt=Ae.Overview,Je=Ae.Brush,Me=Ae.GraphObject,Le=Ae.Panel,Xe=Ae.RowColumnDefinition,dt=Ae.Shape,je=Ae.TextBlock,bt=Ae.TextBlockMetrics,Sn=Ae.Picture,ni=Ae.Part,ui=Ae.Adornment,vn=Ae.Node,_n=Ae.Link,rn=Ae.Placeholder,oi=Ae.Layout,ei=Ae.LayoutNetwork,Ri=Ae.LayoutVertex,cn=Ae.LayoutEdge,tr=Ae.GridLayout,Xi=Ae.PanelLayout,$t=Ae.CircularLayout,_e=Ae.CircularNetwork,xr=Ae.CircularVertex,er=Ae.CircularEdge,ai=Ae.ForceDirectedLayout,Rr=Ae.ForceDirectedNetwork,Lr=Ae.ForceDirectedVertex,Ii=Ae.ForceDirectedEdge,ar=Ae.LayeredDigraphLayout,hi=Ae.LayeredDigraphNetwork,Qt=Ae.LayeredDigraphVertex,Wr=Ae.LayeredDigraphEdge,oo=Ae.TreeLayout,dr=Ae.TreeNetwork,xo=Ae.TreeVertex,yr=Ae.TreeEdge,On=Ae.version},18139:function(Re){var xe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ue=/\n/g,ce=/^\s*/,Ae=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Fe=/^:\s*/,ke=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ye=/^[;\s]*/,Pe=/^\s+|\s+$/g,Ue=`
|
|
|
`,tt="/",Ze="*",rt="",xt="comment",Qe="declaration";Re.exports=function(De,te){if(typeof De!="string")throw new TypeError("First argument must be a string");if(!De)return[];te=te||{};var ee=1,de=1;function se(pt){var Nt=pt.match(ue);Nt&&(ee+=Nt.length);var Xt=pt.lastIndexOf(Ue);de=~Xt?pt.length-Xt:de+pt.length}function ge(){var pt={line:ee,column:de};return function(Nt){return Nt.position=new ve(pt),Ke(),Nt}}function ve(pt){this.start=pt,this.end={line:ee,column:de},this.source=te.source}ve.prototype.content=De;var be=[];function we(pt){var Nt=new Error(te.source+":"+ee+":"+de+": "+pt);if(Nt.reason=pt,Nt.filename=te.source,Nt.line=ee,Nt.column=de,Nt.source=De,te.silent)be.push(Nt);else throw Nt}function Oe(pt){var Nt=pt.exec(De);if(Nt){var Xt=Nt[0];return se(Xt),De=De.slice(Xt.length),Nt}}function Ke(){Oe(ce)}function qe(pt){var Nt;for(pt=pt||[];Nt=lt();)Nt!==!1&&pt.push(Nt);return pt}function lt(){var pt=ge();if(!(tt!=De.charAt(0)||Ze!=De.charAt(1))){for(var Nt=2;rt!=De.charAt(Nt)&&(Ze!=De.charAt(Nt)||tt!=De.charAt(Nt+1));)++Nt;if(Nt+=2,rt===De.charAt(Nt-1))return we("End of comment missing");var Xt=De.slice(2,Nt-2);return de+=2,se(Xt),De=De.slice(Nt),de+=2,pt({type:xt,comment:Xt})}}function at(){var pt=ge(),Nt=Oe(Ae);if(Nt){if(lt(),!Oe(Fe))return we("property missing ':'");var Xt=Oe(ke),Zt=pt({type:Qe,property:Mt(Nt[0].replace(xe,rt)),value:Xt?Mt(Xt[0].replace(xe,rt)):rt});return Oe(Ye),Zt}}function ft(){var pt=[];qe(pt);for(var Nt;Nt=at();)Nt!==!1&&(pt.push(Nt),qe(pt));return pt}return Ke(),ft()};function Mt(De){return De?De.replace(Pe,rt):rt}},46260:function(Re){"use strict";Re.exports=xe;function xe(ue){var ce=typeof ue=="string"?ue.charCodeAt(0):ue;return ce>=97&&ce<=122||ce>=65&&ce<=90}},7961:function(Re,xe,ue){"use strict";var ce=ue(46260),Ae=ue(46195);Re.exports=Fe;function Fe(ke){return ce(ke)||Ae(ke)}},46195:function(Re){"use strict";Re.exports=xe;function xe(ue){var ce=typeof ue=="string"?ue.charCodeAt(0):ue;return ce>=48&&ce<=57}},79480:function(Re){"use strict";Re.exports=xe;function xe(ue){var ce=typeof ue=="string"?ue.charCodeAt(0):ue;return ce>=97&&ce<=102||ce>=65&&ce<=70||ce>=48&&ce<=57}},15979:function(Re,xe,ue){"use strict";ue.d(xe,{hP:function(){return jt}});var ce=function(Je,Me){return(ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Le,Xe){Le.__proto__=Xe}||function(Le,Xe){for(var dt in Xe)Object.prototype.hasOwnProperty.call(Xe,dt)&&(Le[dt]=Xe[dt])})(Je,Me)};function Ae(Je,Me){function Le(){this.constructor=Je}ce(Je,Me),Je.prototype=Me===null?Object.create(Me):(Le.prototype=Me.prototype,new Le)}function Fe(Je,Me,Le,Xe){return new(Le||(Le=Promise))(function(dt,je){function bt(ui){try{ni(Xe.next(ui))}catch(vn){je(vn)}}function Sn(ui){try{ni(Xe.throw(ui))}catch(vn){je(vn)}}function ni(ui){var vn;ui.done?dt(ui.value):(vn=ui.value,vn instanceof Le?vn:new Le(function(_n){_n(vn)})).then(bt,Sn)}ni((Xe=Xe.apply(Je,Me||[])).next())})}function ke(Je,Me){var Le,Xe,dt,je,bt={label:0,sent:function(){if(1&dt[0])throw dt[1];return dt[1]},trys:[],ops:[]};return je={next:Sn(0),throw:Sn(1),return:Sn(2)},typeof Symbol=="function"&&(je[Symbol.iterator]=function(){return this}),je;function Sn(ni){return function(ui){return function(vn){if(Le)throw new TypeError("Generator is already executing.");for(;bt;)try{if(Le=1,Xe&&(dt=2&vn[0]?Xe.return:vn[0]?Xe.throw||((dt=Xe.return)&&dt.call(Xe),0):Xe.next)&&!(dt=dt.call(Xe,vn[1])).done)return dt;switch(Xe=0,dt&&(vn=[2&vn[0],dt.value]),vn[0]){case 0:case 1:dt=vn;break;case 4:return bt.label++,{value:vn[1],done:!1};case 5:bt.label++,Xe=vn[1],vn=[0];continue;case 7:vn=bt.ops.pop(),bt.trys.pop();continue;default:if(dt=bt.trys,!((dt=dt.length>0&&dt[dt.length-1])||vn[0]!==6&&vn[0]!==2)){bt=0;continue}if(vn[0]===3&&(!dt||vn[1]>dt[0]&&vn[1]<dt[3])){bt.label=vn[1];break}if(vn[0]===6&&bt.label<dt[1]){bt.label=dt[1],dt=vn;break}if(dt&&bt.label<dt[2]){bt.label=dt[2],bt.ops.push(vn);break}dt[2]&&bt.ops.pop(),bt.trys.pop();continue}vn=Me.call(Je,bt)}catch(_n){vn=[6,_n],Xe=0}finally{Le=dt=0}if(5&vn[0])throw vn[1];return{value:vn[0]?vn[1]:void 0,done:!0}}([ni,ui])}}}function Ye(){for(var Je=0,Me=0,Le=arguments.length;Me<Le;Me++)Je+=arguments[Me].length;var Xe=Array(Je),dt=0;for(Me=0;Me<Le;Me++)for(var je=arguments[Me],bt=0,Sn=je.length;bt<Sn;bt++,dt++)Xe[dt]=je[bt];return Xe}var Pe=function(){function Je(){}return Je.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Je.setAttributes=function(Me,Le){for(var Xe=0,dt=Le;Xe<dt.length;Xe++){var je=dt[Xe],bt=je[0],Sn=je[1];Me.setAttribute(bt,Sn)}},Je.createRect=function(Me,Le,Xe){var dt=document.createElementNS("http://www.w3.org/2000/svg","rect");return dt.setAttribute("width",Me.toString()),dt.setAttribute("height",Le.toString()),Xe&&Je.setAttributes(dt,Xe),dt},Je.createLine=function(Me,Le,Xe,dt,je){var bt=document.createElementNS("http://www.w3.org/2000/svg","line");return bt.setAttribute("x1",Me.toString()),bt.setAttribute("y1",Le.toString()),bt.setAttribute("x2",Xe.toString()),bt.setAttribute("y2",dt.toString()),je&&Je.setAttributes(bt,je),bt},Je.createPolygon=function(Me,Le){var Xe=document.createElementNS("http://www.w3.org/2000/svg","polygon");return Xe.setAttribute("points",Me),Le&&Je.setAttributes(Xe,Le),Xe},Je.createCircle=function(Me,Le){var Xe=document.createElementNS("http://www.w3.org/2000/svg","circle");return Xe.setAttribute("cx",(Me/2).toString()),Xe.setAttribute("cy",(Me/2).toString()),Xe.setAttribute("r",Me.toString()),Le&&Je.setAttributes(Xe,Le),Xe},Je.createEllipse=function(Me,Le,Xe){var dt=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return dt.setAttribute("cx",(Me/2).toString()),dt.setAttribute("cy",(Le/2).toString()),dt.setAttribute("rx",(Me/2).toString()),dt.setAttribute("ry",(Le/2).toString()),Xe&&Je.setAttributes(dt,Xe),dt},Je.createGroup=function(Me){var Le=document.createElementNS("http://www.w3.org/2000/svg","g");return Me&&Je.setAttributes(Le,Me),Le},Je.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Je.createMarker=function(Me,Le,Xe,dt,je,bt,Sn){var ni=document.createElementNS("http://www.w3.org/2000/svg","marker");return Je.setAttributes(ni,[["id",Me],["orient",Le],["markerWidth",Xe.toString()],["markerHeight",dt.toString()],["refX",je.toString()],["refY",bt.toString()]]),ni.appendChild(Sn),ni},Je.createText=function(Me){var Le=document.createElementNS("http://www.w3.org/2000/svg","text");return Le.setAttribute("x","0"),Le.setAttribute("y","0"),Me&&Je.setAttributes(Le,Me),Le},Je.createTSpan=function(Me,Le){var Xe=document.createElementNS("http://www.w3.org/2000/svg","tspan");return Xe.textContent=Me,Le&&Je.setAttributes(Xe,Le),Xe},Je.createImage=function(Me){var Le=document.createElementNS("http://www.w3.org/2000/svg","image");return Me&&Je.setAttributes(Le,Me),Le},Je.createPoint=function(Me,Le){var Xe=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return Xe.x=Me,Xe.y=Le,Xe},Je.createPath=function(Me,Le){var Xe=document.createElementNS("http://www.w3.org/2000/svg","path");return Xe.setAttribute("d",Me),Le&&Je.setAttributes(Xe,Le),Xe},Je}(),Ue=function(){function Je(){}return Je.addKey=function(Me){Je.key=Me},Object.defineProperty(Je,"isLicensed",{get:function(){return!!Je.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Je.key)},enumerable:!1,configurable:!0}),Je}(),tt=function(){function Je(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Je.prototype.rasterize=function(Me,Le,Xe){var dt=this;return new Promise(function(je){var bt=Xe!==void 0?Xe:document.createElement("canvas");Me===null&&(dt.markersOnly=!0,dt.naturalSize=!1);var Sn=document.createElementNS("http://www.w3.org/2000/svg","svg");Sn.setAttribute("xmlns","http://www.w3.org/2000/svg"),Sn.setAttribute("width",Le.width.baseVal.valueAsString),Sn.setAttribute("height",Le.height.baseVal.valueAsString),Sn.setAttribute("viewBox","0 0 "+Le.viewBox.baseVal.width.toString()+" "+Le.viewBox.baseVal.height.toString()),Sn.innerHTML=Le.innerHTML,dt.naturalSize===!0?(Sn.width.baseVal.value=Me.naturalWidth,Sn.height.baseVal.value=Me.naturalHeight):dt.width!==void 0&&dt.height!==void 0&&(Sn.width.baseVal.value=dt.width,Sn.height.baseVal.value=dt.height),bt.width=Sn.width.baseVal.value,bt.height=Sn.height.baseVal.value;var ni=Sn.outerHTML,ui=bt.getContext("2d");dt.markersOnly!==!0&&ui.drawImage(Me,0,0,bt.width,bt.height);var vn=window.URL,_n=new Image(bt.width,bt.height);_n.setAttribute("crossOrigin","anonymous");var rn=new Blob([ni],{type:"image/svg+xml"}),oi=vn.createObjectURL(rn);_n.onload=function(){ui.drawImage(_n,0,0),vn.revokeObjectURL(oi);var ei=bt.toDataURL(dt.imageType,dt.imageQuality);je(ei)},_n.src=oi})},Je}(),Ze=function(){},rt=function(){function Je(Me){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+Me+"_"}return Object.defineProperty(Je.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Je.prototype.addClass=function(Me){return this.styleSheet===void 0&&this.addStyleSheet(),Me.name=""+this.classNamePrefix+Me.localName,this.classes.push(Me),this.styleSheet.sheet.insertRule("."+Me.name+" {"+Me.style+"}",this.styleSheet.sheet.cssRules.length),Me},Je.prototype.addRule=function(Me){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(Me),this.styleSheet.sheet.insertRule(Me.selector+" {"+Me.style+"}",this.styleSheet.sheet.cssRules.length)},Je.prototype.addStyleSheet=function(){var Me;this.styleSheet=document.createElement("style"),((Me=this.styleSheetRoot)!==null&&Me!==void 0?Me:document.head).appendChild(this.styleSheet),this.addRule(new xt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new xt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new xt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Qe("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Qe("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},Je.prototype.removeStyleSheet=function(){var Me;this.styleSheet&&(((Me=this.styleSheetRoot)!==null&&Me!==void 0?Me:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Je}(),xt=function(Je,Me){this.selector=Je,this.style=Me},Qe=function(Je,Me){this.localName=Je,this.style=Me},Mt=function(){function Je(Me,Le,Xe,dt,je){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=Me,this.displayMode=Le,this.markerItems=Xe,this.uiStyleSettings=dt,this.styles=je,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Je.prototype.show=function(Me){var Le=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Me,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var Xe=document.createElement("div");Xe.className=this.toolbarBlockStyleClass.name,Xe.style.whiteSpace="nowrap",this.uiContainer.appendChild(Xe),this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(Xe,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"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(je){var bt=document.createElement("div");bt.className=""+Le.toolbarButtonStyleClass.name,bt.setAttribute("data-type-name",je.typeName),bt.innerHTML=je.icon,bt.addEventListener("click",function(){Le.markerToolbarButtonClicked(bt,je)}),Le.buttons.push(bt),Le.markerButtons.push(bt)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var dt=document.createElement("div");dt.className=this.toolbarBlockStyleClass.name,dt.style.whiteSpace="nowrap",dt.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(dt),this.addActionButton(dt,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(dt,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Je.prototype.addButtonClickListener=function(Me){this.buttonClickListeners.push(Me)},Je.prototype.removeButtonClickListener=function(Me){this.buttonClickListeners.indexOf(Me)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(Me),1)},Je.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Je.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var Me=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var Le=0;Le<this.markerButtons.length;Le++)Le<Me||Le===Me&&this.markerButtons.length-1===Me?this.markerButtonBlock.appendChild(this.markerButtons[Le]):(Le===Me&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[Le]))}},Je.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},Je.prototype.resetButtonStyles=function(){var Me=this;this.buttons.forEach(function(Le){Le.className=Le.className.replace(Me.uiStyleSettings.toolbarButtonStyleColorsClassName?Me.uiStyleSettings.toolbarButtonStyleColorsClassName:Me.toolbarButtonStyleColorsClass.name,"").trim(),Le.className=Le.className.replace(Me.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?Me.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:Me.toolbarActiveButtonStyleColorsClass.name,"").trim(),Le.className+=" "+(Me.uiStyleSettings.toolbarButtonStyleColorsClassName?Me.uiStyleSettings.toolbarButtonStyleColorsClassName:Me.toolbarButtonStyleColorsClass.name)})},Je.prototype.addActionButton=function(Me,Le,Xe){var dt=this,je=document.createElement("div");switch(je.className=""+this.toolbarButtonStyleClass.name,je.innerHTML=Le,je.setAttribute("data-action",Xe),je.addEventListener("click",function(){dt.actionToolbarButtonClicked(je,Xe)}),Xe){case"select":je.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":je.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":je.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":je.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":je.style.fill=this.uiStyleSettings.closeButtonColor}Me.appendChild(je),this.buttons.push(je)},Je.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Qe("toolbar",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new Qe("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Qe("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Qe("toolbar-overflow-block",`
|
|
|
position: absolute;
|
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
z-index: 10;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new Qe("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var Me=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Qe("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*Me)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*Me)+`px;
|
|
|
padding: `+Me+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Qe("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Qe("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new xt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new xt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},Je.prototype.markerToolbarButtonClicked=function(Me,Le){this.setActiveButton(Me),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Xe){return Xe("marker",Le)}),this.markerButtonOverflowBlock.style.display="none"},Je.prototype.actionToolbarButtonClicked=function(Me,Le){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Xe){return Xe("action",Le)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Je.prototype.setActiveButton=function(Me){this.resetButtonStyles(),Me.className=Me.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),Me.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Je.prototype.setActiveMarkerButton=function(Me){var Le=this.markerButtons.find(function(Xe){return Xe.getAttribute("data-type-name")===Me});Le&&this.setActiveButton(Le)},Je.prototype.setCurrentMarker=function(Me){var Le=this;this.currentMarker=Me,this.buttons.filter(function(Xe){return/delete|notes/.test(Xe.getAttribute("data-action"))}).forEach(function(Xe){Le.currentMarker===void 0?(Xe.style.fillOpacity="0.4",Xe.style.pointerEvents="none"):(Xe.style.fillOpacity="1",Xe.style.pointerEvents="all")})},Je}(),De=function(){function Je(Me,Le,Xe,dt){this.panels=[],this.panelButtons=[],this.markerjsContainer=Me,this.displayMode=Le,this.uiStyleSettings=Xe,this.styles=dt,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Je.prototype.addStyles=function(){var Me;this.toolboxStyleClass=this.styles.addClass(new Qe("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 Qe("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var Le=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Qe("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Qe("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Qe("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 Qe("toolbox-panel-row_colors",`
|
|
|
background-color: `+((Me=this.uiStyleSettings.toolboxBackgroundColor)!==null&&Me!==void 0?Me:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Qe("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*Le)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*Le)+`px;
|
|
|
padding: `+Le+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Qe("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Qe("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new xt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new xt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},Je.prototype.show=function(Me){var Le;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Me,this.uiContainer.className=this.toolboxStyleClass.name+" "+((Le=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&Le!==void 0?Le:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Je.prototype.setPanelButtons=function(Me){var Le,Xe,dt=this;this.panels=Me,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((Le=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&Le!==void 0?Le:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Xe=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Xe!==void 0?Xe:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(je){var bt;je.uiStyleSettings=dt.uiStyleSettings;var Sn=document.createElement("div");Sn.className=dt.toolboxButtonStyleClass.name+" "+((bt=dt.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&bt!==void 0?bt:dt.toolboxButtonStyleColorsClass.name),Sn.innerHTML=je.icon,Sn.title=je.title,Sn.addEventListener("click",function(){dt.panelButtonClick(je)}),dt.panelButtons.push(Sn),dt.buttonRow.appendChild(Sn)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Je.prototype.panelButtonClick=function(Me){var Le=this,Xe=-1;if(Me!==this.activePanel){Xe=this.panels.indexOf(Me),this.panelRow.innerHTML="";var dt=Me.getUi();dt.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(dt),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=Me}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){Le.displayMode==="inline"?Le.panelRow.style.display="none":Le.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(je,bt){var Sn,ni;je.className=Le.toolboxButtonStyleClass.name+" "+(bt===Xe?""+((Sn=Le.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Sn!==void 0?Sn:Le.toolboxActiveButtonStyleColorsClass.name):""+((ni=Le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ni!==void 0?ni:Le.toolboxButtonStyleColorsClass.name))})},Je}(),te=function(Je,Me){this.title=Je,this.icon=Me},ee=function(Je){function Me(Le,Xe,dt,je){var bt=Je.call(this,Le,je||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return bt.colors=[],bt.addTransparent=!1,bt.colorBoxes=[],bt.colors=Xe,bt.currentColor=dt,bt.setCurrentColor=bt.setCurrentColor.bind(bt),bt.getColorBox=bt.getColorBox.bind(bt),bt}return Ae(Me,Je),Me.prototype.getUi=function(){var Le=this,Xe=document.createElement("div");return Xe.style.overflow="hidden",Xe.style.whiteSpace="nowrap",this.colors.forEach(function(dt){var je=Le.getColorBox(dt);Xe.appendChild(je),Le.colorBoxes.push(je)}),Xe},Me.prototype.getColorBox=function(Le){var Xe=this,dt=this.uiStyleSettings.toolbarHeight/4,je=this.uiStyleSettings.toolbarHeight-dt,bt=document.createElement("div");bt.style.display="inline-block",bt.style.boxSizing="content-box",bt.style.width=je-2+"px",bt.style.height=je-2+"px",bt.style.padding="1px",bt.style.marginRight="2px",bt.style.marginBottom="2px",bt.style.borderWidth="2px",bt.style.borderStyle="solid",bt.style.borderRadius=(je+2)/2+"px",bt.style.borderColor=Le===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",bt.addEventListener("click",function(){Xe.setCurrentColor(Le,bt)});var Sn=document.createElement("div");return Sn.style.display="inline-block",Sn.style.width=je-2+"px",Sn.style.height=je-2+"px",Sn.style.backgroundColor=Le,Sn.style.borderRadius=je/2+"px",Le==="transparent"&&(Sn.style.fill=this.uiStyleSettings.toolboxAccentColor,Sn.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),bt.appendChild(Sn),bt},Me.prototype.setCurrentColor=function(Le,Xe){var dt=this;this.currentColor=Le,this.colorBoxes.forEach(function(je){je.style.borderColor=je===Xe?dt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(Le)},Me}(te),de=function(){function Je(Me,Le,Xe){this._state="new",this._isSelected=!1,this._container=Me,this._overlayContainer=Le,this.globalSettings=Xe,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Je.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Je.prototype.ownsTarget=function(Me){return!1},Object.defineProperty(Je.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Je.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Je.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Je.prototype.pointerDown=function(Me,Le){},Je.prototype.dblClick=function(Me,Le){},Je.prototype.manipulate=function(Me){},Je.prototype.pointerUp=function(Me){this.stateChanged()},Je.prototype.dispose=function(){},Je.prototype.addMarkerVisualToContainer=function(Me){this.container.childNodes.length>0?this.container.insertBefore(Me,this.container.childNodes[0]):this.container.appendChild(Me)},Je.prototype.getState=function(){return{typeName:Je.typeName,state:this.state,notes:this.notes}},Je.prototype.restoreState=function(Me){this._state=Me.state,this.notes=Me.notes},Je.prototype.scale=function(Me,Le){},Je.prototype.colorChanged=function(Me){this.onColorChanged&&this.onColorChanged(Me),this.stateChanged()},Je.prototype.fillColorChanged=function(Me){this.onFillColorChanged&&this.onFillColorChanged(Me),this.stateChanged()},Je.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var Me=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),Me.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(Me)&&this.onStateChanged(this)}},Je.typeName="MarkerBase",Je}(),se=function(){function Je(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Je.prototype.findGripByVisual=function(Me){return this.topLeft.ownsTarget(Me)?this.topLeft:this.topCenter.ownsTarget(Me)?this.topCenter:this.topRight.ownsTarget(Me)?this.topRight:this.centerLeft.ownsTarget(Me)?this.centerLeft:this.centerRight.ownsTarget(Me)?this.centerRight:this.bottomLeft.ownsTarget(Me)?this.bottomLeft:this.bottomCenter.ownsTarget(Me)?this.bottomCenter:this.bottomRight.ownsTarget(Me)?this.bottomRight:void 0},Je}(),ge=function(){function Je(){this.GRIP_SIZE=10,this.visual=Pe.createGroup(),this.visual.appendChild(Pe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Pe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Je.prototype.ownsTarget=function(Me){return Me===this.visual||Me===this.visual.childNodes[0]||Me===this.visual.childNodes[1]},Je}(),ve=function(){function Je(){}return Je.toITransformMatrix=function(Me){return{a:Me.a,b:Me.b,c:Me.c,d:Me.d,e:Me.e,f:Me.f}},Je.toSVGMatrix=function(Me,Le){return Me.a=Le.a,Me.b=Le.b,Me.c=Le.c,Me.d=Le.d,Me.e=Le.e,Me.f=Le.f,Me},Je}(),be=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.left=0,je.top=0,je.width=0,je.height=0,je.defaultSize={x:50,y:20},je.offsetX=0,je.offsetY=0,je.rotationAngle=0,je.CB_DISTANCE=10,je._suppressMarkerCreateEvent=!1,je.container.transform.baseVal.appendItem(Pe.createTransform()),je.setupControlBox(),je}return Ae(Me,Je),Object.defineProperty(Me.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(Me.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(Me.prototype,"visual",{get:function(){return this._visual},set:function(Le){this._visual=Le;var Xe=Pe.createTransform();this._visual.transform.baseVal.appendItem(Xe)},enumerable:!1,configurable:!0}),Me.prototype.ownsTarget=function(Le){return!!Je.prototype.ownsTarget.call(this,Le)||!!(this.controlGrips.findGripByVisual(Le)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Le))},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.state==="new"&&(this.left=Le.x,this.top=Le.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var dt=this.unrotatePoint(Le);if(this.manipulationStartX=dt.x,this.manipulationStartY=dt.y,this.offsetX=dt.x-this.left,this.offsetY=dt.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Xe),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Xe)){this.activeGrip=this.rotatorGrip;var je=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=je.x-this.width/2,this.top=je.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var bt=this.container.transform.baseVal.getItem(0);bt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(bt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},Me.prototype.pointerUp=function(Le){var Xe=this.state;Je.prototype.pointerUp.call(this,Le),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(Le),this._state="select",Xe==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},Me.prototype.moveVisual=function(Le){this.visual.style.transform="translate("+Le.x+"px, "+Le.y+"px)"},Me.prototype.manipulate=function(Le){var Xe=this.unrotatePoint(Le);this.state==="creating"?this.resize(Le):this.state==="move"?(this.left=this.manipulationStartLeft+(Xe.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Xe.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Xe):this.state==="rotate"&&this.rotate(Le)},Me.prototype.resize=function(Le){var Xe=this.manipulationStartLeft,dt=this.manipulationStartWidth,je=this.manipulationStartTop,bt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Xe=this.manipulationStartLeft+Le.x-this.manipulationStartX,dt=this.manipulationStartWidth+this.manipulationStartLeft-Xe;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:dt=this.manipulationStartWidth+Le.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:je=this.manipulationStartTop+Le.y-this.manipulationStartY,bt=this.manipulationStartHeight+this.manipulationStartTop-je;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:bt=this.manipulationStartHeight+Le.y-this.manipulationStartY}dt>=0?(this.left=Xe,this.width=dt):(this.left=Xe+dt,this.width=-dt),bt>=0?(this.top=je,this.height=bt):(this.top=je+bt,this.height=-bt),this.setSize()},Me.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},Me.prototype.rotate=function(Le){if(Math.abs(Le.x-this.centerX)>.1){var Xe=Math.sign(Le.x-this.centerX);this.rotationAngle=180*Math.atan((Le.y-this.centerY)/(Le.x-this.centerX))/Math.PI+90*Xe,this.applyRotation()}},Me.prototype.applyRotation=function(){var Le=this.container.transform.baseVal.getItem(0);Le.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Le,0)},Me.prototype.rotatePoint=function(Le){if(this.rotationAngle===0)return Le;var Xe=this.container.getCTM(),dt=Pe.createPoint(Le.x,Le.y);return{x:(dt=dt.matrixTransform(Xe)).x,y:dt.y}},Me.prototype.unrotatePoint=function(Le){if(this.rotationAngle===0)return Le;var Xe=this.container.getCTM();Xe=Xe.inverse();var dt=Pe.createPoint(Le.x,Le.y);return{x:(dt=dt.matrixTransform(Xe)).x,y:dt.y}},Me.prototype.select=function(){Je.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Me.prototype.deselect=function(){Je.prototype.deselect.call(this),this.controlBox.style.display="none"},Me.prototype.setupControlBox=function(){this.controlBox=Pe.createGroup();var Le=Pe.createTransform();Le.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(Le),this.container.appendChild(this.controlBox),this.controlRect=Pe.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=Pe.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 se,this.addControlGrips(),this.controlBox.style.display="none"},Me.prototype.adjustControlBox=function(){var Le=this.controlBox.transform.baseVal.getItem(0);Le.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(Le,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()},Me.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()},Me.prototype.createGrip=function(){var Le=new ge;return Le.visual.transform.baseVal.appendItem(Pe.createTransform()),this.controlBox.appendChild(Le.visual),Le},Me.prototype.positionGrips=function(){var Le=this.controlGrips.topLeft.GRIP_SIZE,Xe=-Le/2,dt=Xe,je=(this.width+this.CB_DISTANCE)/2-Le/2,bt=(this.height+this.CB_DISTANCE)/2-Le/2,Sn=this.height+this.CB_DISTANCE-Le/2,ni=this.width+this.CB_DISTANCE-Le/2;this.positionGrip(this.controlGrips.topLeft.visual,Xe,dt),this.positionGrip(this.controlGrips.topCenter.visual,je,dt),this.positionGrip(this.controlGrips.topRight.visual,ni,dt),this.positionGrip(this.controlGrips.centerLeft.visual,Xe,bt),this.positionGrip(this.controlGrips.centerRight.visual,ni,bt),this.positionGrip(this.controlGrips.bottomLeft.visual,Xe,Sn),this.positionGrip(this.controlGrips.bottomCenter.visual,je,Sn),this.positionGrip(this.controlGrips.bottomRight.visual,ni,Sn),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,je,dt-3*this.CB_DISTANCE)},Me.prototype.positionGrip=function(Le,Xe,dt){var je=Le.transform.baseVal.getItem(0);je.setTranslate(Xe,dt),Le.transform.baseVal.replaceItem(je,0)},Me.prototype.hideControlBox=function(){this.controlBox.style.display="none"},Me.prototype.showControlBox=function(){this.controlBox.style.display=""},Me.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:ve.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:ve.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Je.prototype.getState.call(this))},Me.prototype.restoreState=function(Le){Je.prototype.restoreState.call(this,Le);var Xe=Le;this.left=Xe.left,this.top=Xe.top,this.width=Xe.width,this.height=Xe.height,this.rotationAngle=Xe.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(ve.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Xe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(ve.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Xe.containerTransformMatrix))},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe);var dt=this.rotatePoint({x:this.left,y:this.top}),je=this.unrotatePoint({x:dt.x*Le,y:dt.y*Xe});this.left=je.x,this.top=je.y,this.width=this.width*Le,this.height=this.height*Xe,this.adjustControlBox()},Me}(de),we=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.fillColor="transparent",je.strokeColor="transparent",je.strokeWidth=0,je.strokeDasharray="",je.opacity=1,je.setStrokeColor=je.setStrokeColor.bind(je),je.setFillColor=je.setFillColor.bind(je),je.setStrokeWidth=je.setStrokeWidth.bind(je),je.setStrokeDasharray=je.setStrokeDasharray.bind(je),je.createVisual=je.createVisual.bind(je),je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.visual)},Me.prototype.createVisual=function(){this.visual=Pe.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)},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.state==="new"&&(this.createVisual(),this.moveVisual(Le),this._state="creating")},Me.prototype.manipulate=function(Le){Je.prototype.manipulate.call(this,Le)},Me.prototype.resize=function(Le){Je.prototype.resize.call(this,Le),this.setSize()},Me.prototype.setSize=function(){Je.prototype.setSize.call(this),Pe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},Me.prototype.pointerUp=function(Le){Je.prototype.pointerUp.call(this,Le),this.setSize()},Me.prototype.setStrokeColor=function(Le){this.strokeColor=Le,this.visual&&Pe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Le),this.stateChanged()},Me.prototype.setFillColor=function(Le){this.fillColor=Le,this.visual&&Pe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},Me.prototype.setStrokeWidth=function(Le){this.strokeWidth=Le,this.visual&&Pe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Me.prototype.setStrokeDasharray=function(Le){this.strokeDasharray=Le,this.visual&&Pe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Me.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Je.prototype.getState.call(this))},Me.prototype.restoreState=function(Le){var Xe=Le;this.fillColor=Xe.fillColor,this.strokeColor=Xe.strokeColor,this.strokeWidth=Xe.strokeWidth,this.strokeDasharray=Xe.strokeDasharray,this.opacity=Xe.opacity,this.createVisual(),Je.prototype.restoreState.call(this,Le),this.setSize()},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.setSize()},Me.title="Rectangle marker",Me}(be),Oe=function(Je){function Me(Le,Xe,dt,je){var bt=Je.call(this,Le,je||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return bt.widths=[],bt.widthBoxes=[],bt.widths=Xe,bt.currentWidth=dt,bt.setCurrentWidth=bt.setCurrentWidth.bind(bt),bt}return Ae(Me,Je),Me.prototype.getUi=function(){var Le=this,Xe=document.createElement("div");return Xe.style.display="flex",Xe.style.overflow="hidden",Xe.style.flexGrow="2",this.widths.forEach(function(dt){var je=document.createElement("div");je.style.display="flex",je.style.flexGrow="2",je.style.alignItems="center",je.style.justifyContent="space-between",je.style.padding="5px",je.style.borderWidth="2px",je.style.borderStyle="solid",je.style.borderColor=dt===Le.currentWidth?Le.uiStyleSettings.toolboxAccentColor:"transparent",je.addEventListener("click",function(){Le.setCurrentWidth(dt,je)}),Xe.appendChild(je);var bt=document.createElement("div");bt.innerText=dt.toString(),bt.style.marginRight="5px",je.appendChild(bt);var Sn=document.createElement("div");Sn.style.minHeight="20px",Sn.style.flexGrow="2",Sn.style.display="flex",Sn.style.alignItems="center";var ni=document.createElement("hr");ni.style.minWidth="20px",ni.style.border="0px",ni.style.borderTop=dt+"px solid "+Le.uiStyleSettings.toolboxColor,ni.style.flexGrow="2",Sn.appendChild(ni),je.appendChild(Sn),Le.widthBoxes.push(je)}),Xe},Me.prototype.setCurrentWidth=function(Le,Xe){var dt=this;this.currentWidth=Le,this.widthBoxes.forEach(function(je){je.style.borderColor=je===Xe?dt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},Me}(te),Ke=function(Je){function Me(Le,Xe,dt,je){var bt=Je.call(this,Le,je||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return bt.styles=[],bt.styleBoxes=[],bt.styles=Xe,bt.currentStyle=dt,bt.setCurrentStyle=bt.setCurrentStyle.bind(bt),bt}return Ae(Me,Je),Me.prototype.getUi=function(){var Le=this,Xe=document.createElement("div");return Xe.style.display="flex",Xe.style.overflow="hidden",Xe.style.flexGrow="2",this.styles.forEach(function(dt){var je=document.createElement("div");je.style.display="flex",je.style.alignItems="center",je.style.justifyContent="space-between",je.style.padding="5px",je.style.borderWidth="2px",je.style.borderStyle="solid",je.style.overflow="hidden",je.style.maxWidth=100/Le.styles.length-5+"%",je.style.borderColor=dt===Le.currentStyle?Le.uiStyleSettings.toolboxAccentColor:"transparent",je.addEventListener("click",function(){Le.setCurrentStyle(dt,je)}),Xe.appendChild(je);var bt=document.createElement("div");bt.style.minHeight="20px",bt.style.flexGrow="2",bt.style.overflow="hidden";var Sn=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+Le.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(dt!==""?'stroke-dasharray="'+dt+'"':"")+` />
|
|
|
</svg>`;bt.innerHTML=Sn,je.appendChild(bt),Le.styleBoxes.push(je)}),Xe},Me.prototype.setCurrentStyle=function(Le,Xe){var dt=this;this.currentStyle=Le,this.styleBoxes.forEach(function(je){je.style.borderColor=je===Xe?dt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},Me}(te),qe=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.strokeColor=dt.defaultColor,je.strokeWidth=dt.defaultStrokeWidth,je.strokeDasharray=dt.defaultStrokeDasharray,je.strokePanel=new ee("Line color",dt.defaultColorSet,dt.defaultColor),je.strokePanel.onColorChanged=je.setStrokeColor,je.strokeWidthPanel=new Oe("Line width",dt.defaultStrokeWidths,dt.defaultStrokeWidth),je.strokeWidthPanel.onWidthChanged=je.setStrokeWidth,je.strokeStylePanel=new Ke("Line style",dt.defaultStrokeDasharrays,dt.defaultStrokeDasharray),je.strokeStylePanel.onStyleChanged=je.setStrokeDasharray,je}return Ae(Me,Je),Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Je.prototype.getState.call(this);return Le.typeName=Me.typeName,Le},Me.typeName="FrameMarker",Me.title="Frame marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',Me}(we),lt=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"},at=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.x1=0,je.y1=0,je.x2=0,je.y2=0,je.defaultLength=50,je.manipulationStartX=0,je.manipulationStartY=0,je.manipulationStartX1=0,je.manipulationStartY1=0,je.manipulationStartX2=0,je.manipulationStartY2=0,je.setupControlBox(),je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!!Je.prototype.ownsTarget.call(this,Le)||!(!this.grip1.ownsTarget(Le)&&!this.grip2.ownsTarget(Le))},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.manipulationStartX=Le.x,this.manipulationStartY=Le.y,this.state==="new"&&(this.x1=Le.x,this.y1=Le.y,this.x2=Le.x,this.y2=Le.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(Xe)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Xe)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},Me.prototype.pointerUp=function(Le){var Xe=this.state;Je.prototype.pointerUp.call(this,Le),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(Le),this._state="select",Xe==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},Me.prototype.adjustVisual=function(){},Me.prototype.manipulate=function(Le){this.state==="creating"?this.resize(Le):this.state==="move"?(this.x1=this.manipulationStartX1+Le.x-this.manipulationStartX,this.y1=this.manipulationStartY1+Le.y-this.manipulationStartY,this.x2=this.manipulationStartX2+Le.x-this.manipulationStartX,this.y2=this.manipulationStartY2+Le.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(Le)},Me.prototype.resize=function(Le){switch(this.activeGrip){case this.grip1:this.x1=Le.x,this.y1=Le.y;break;case this.grip2:case void 0:this.x2=Le.x,this.y2=Le.y}this.adjustVisual(),this.adjustControlBox()},Me.prototype.select=function(){Je.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Me.prototype.deselect=function(){Je.prototype.deselect.call(this),this.controlBox.style.display="none"},Me.prototype.setupControlBox=function(){this.controlBox=Pe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},Me.prototype.adjustControlBox=function(){this.positionGrips()},Me.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},Me.prototype.createGrip=function(){var Le=new ge;return Le.visual.transform.baseVal.appendItem(Pe.createTransform()),this.controlBox.appendChild(Le.visual),Le},Me.prototype.positionGrips=function(){var Le=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-Le/2,this.y1-Le/2),this.positionGrip(this.grip2.visual,this.x2-Le/2,this.y2-Le/2)},Me.prototype.positionGrip=function(Le,Xe,dt){var je=Le.transform.baseVal.getItem(0);je.setTranslate(Xe,dt),Le.transform.baseVal.replaceItem(je,0)},Me.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Je.prototype.getState.call(this))},Me.prototype.restoreState=function(Le){Je.prototype.restoreState.call(this,Le);var Xe=Le;this.x1=Xe.x1,this.y1=Xe.y1,this.x2=Xe.x2,this.y2=Xe.y2},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.x1=this.x1*Le,this.y1=this.y1*Xe,this.x2=this.x2*Le,this.y2=this.y2*Xe,this.adjustVisual(),this.adjustControlBox()},Me}(de),ft=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.strokeColor="transparent",je.strokeWidth=0,je.strokeDasharray="",je.setStrokeColor=je.setStrokeColor.bind(je),je.setStrokeWidth=je.setStrokeWidth.bind(je),je.setStrokeDasharray=je.setStrokeDasharray.bind(je),je.strokeColor=dt.defaultColor,je.strokeWidth=dt.defaultStrokeWidth,je.strokeDasharray=dt.defaultStrokeDasharray,je.strokePanel=new ee("Line color",dt.defaultColorSet,dt.defaultColor),je.strokePanel.onColorChanged=je.setStrokeColor,je.strokeWidthPanel=new Oe("Line width",dt.defaultStrokeWidths,dt.defaultStrokeWidth),je.strokeWidthPanel.onWidthChanged=je.setStrokeWidth,je.strokeStylePanel=new Ke("Line style",dt.defaultStrokeDasharrays,dt.defaultStrokeDasharray),je.strokeStylePanel.onStyleChanged=je.setStrokeDasharray,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.visual&&Le!==this.selectorLine&&Le!==this.visibleLine)},Me.prototype.createVisual=function(){this.visual=Pe.createGroup(),this.selectorLine=Pe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Pe.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)},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},Me.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()),Pe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Pe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Pe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Me.prototype.setStrokeColor=function(Le){this.strokeColor=Le,this.adjustVisual(),this.colorChanged(Le)},Me.prototype.setStrokeWidth=function(Le){this.strokeWidth=Le,this.adjustVisual()},Me.prototype.setStrokeDasharray=function(Le){this.strokeDasharray=Le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){Je.prototype.restoreState.call(this,Le);var Xe=Le;this.strokeColor=Xe.strokeColor,this.strokeWidth=Xe.strokeWidth,this.strokeDasharray=Xe.strokeDasharray,this.createVisual(),this.adjustVisual()},Me.typeName="LineMarker",Me.title="Line marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',Me}(at),pt=function(Je){function Me(Le,Xe,dt,je){var bt=Je.call(this,Le,je||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return bt.fonts=[],bt.fontBoxes=[],bt.fonts=Xe,bt.currentFont=dt,bt.setCurrentFont=bt.setCurrentFont.bind(bt),bt}return Ae(Me,Je),Me.prototype.getUi=function(){var Le=this,Xe=document.createElement("div");return Xe.style.overflow="hidden",Xe.style.flexGrow="2",this.fonts.forEach(function(dt){var je=document.createElement("div");je.style.display="inline-block",je.style.alignItems="center",je.style.justifyContent="space-between",je.style.padding="5px",je.style.borderWidth="2px",je.style.borderStyle="solid",je.style.overflow="hidden",je.style.maxWidth=100/Le.fonts.length-5+"%",je.style.borderColor=dt===Le.currentFont?Le.uiStyleSettings.toolboxAccentColor:"transparent",je.addEventListener("click",function(){Le.setCurrentFont(dt,je)}),Xe.appendChild(je);var bt=document.createElement("div");bt.style.display="flex",bt.style.minHeight="20px",bt.style.flexGrow="2",bt.style.fontFamily=dt,bt.style.overflow="hidden";var Sn=document.createElement("div");Sn.style.whiteSpace="nowrap",Sn.style.overflow="hidden",Sn.style.textOverflow="ellipsis",Sn.innerHTML="The quick brown fox jumps over the lazy dog",bt.appendChild(Sn),je.appendChild(bt),Le.fontBoxes.push(je)}),Xe},Me.prototype.setCurrentFont=function(Le,Xe){var dt=this;this.currentFont=Le,this.fontBoxes.forEach(function(je){je.style.borderColor=je===Xe?dt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},Me}(te),Nt=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.color="transparent",je.padding=5,je.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",je.text=je.DEFAULT_TEXT,je.isMoved=!1,je.color=dt.defaultColor,je.fontFamily=dt.defaultFontFamily,je.defaultSize={x:100,y:30},je.setColor=je.setColor.bind(je),je.setFont=je.setFont.bind(je),je.renderText=je.renderText.bind(je),je.sizeText=je.sizeText.bind(je),je.textEditDivClicked=je.textEditDivClicked.bind(je),je.showTextEditor=je.showTextEditor.bind(je),je.setSize=je.setSize.bind(je),je.positionTextEditor=je.positionTextEditor.bind(je),je.colorPanel=new ee("Color",dt.defaultColorSet,dt.defaultColor),je.colorPanel.onColorChanged=je.setColor,je.fontFamilyPanel=new pt("Font",dt.defaultFontFamilies,dt.defaultFontFamily),je.fontFamilyPanel.onFontChanged=je.setFont,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){if(Je.prototype.ownsTarget.call(this,Le)||Le===this.visual||Le===this.textElement||Le===this.bgRectangle)return!0;var Xe=!1;return this.textElement.childNodes.forEach(function(dt){dt===Le&&(Xe=!0)}),Xe},Me.prototype.createVisual=function(){this.visual=Pe.createGroup(),this.bgRectangle=Pe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Pe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Pe.createTransform()),this.textElement.transform.baseVal.appendItem(Pe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.isMoved=!1,this.pointerDownPoint=Le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Le),this._state="creating")},Me.prototype.renderText=function(){var Le=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(Xe){Le.textElement.appendChild(Pe.createTSpan(Xe.trim()===""?" ":Xe.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},Me.prototype.getTextScale=function(){var Le=this.textElement.getBBox(),Xe=1;if(Le.width>0&&Le.height>0){var dt=(1*this.width-this.width*this.padding*2/100)/Le.width,je=(1*this.height-this.height*this.padding*2/100)/Le.height;Xe=Math.min(dt,je)}return Xe},Me.prototype.getTextPosition=function(Le){var Xe=this.textElement.getBBox(),dt=0,je=0;return Xe.width>0&&Xe.height>0&&(dt=(this.width-Xe.width*Le)/2,je=this.height/2-Xe.height*Le/2),{x:dt,y:je}},Me.prototype.sizeText=function(){var Le=this.textElement.getBBox(),Xe=this.getTextScale(),dt=this.getTextPosition(Xe);dt.y-=Le.y*Xe,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+dt.x+"px, "+dt.y+"px) scale("+Xe+", "+Xe+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(dt.x,dt.y),this.textElement.transform.baseVal.getItem(1).setScale(Xe,Xe))},Me.prototype.manipulate=function(Le){Je.prototype.manipulate.call(this,Le),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Le.x-this.pointerDownPoint.x)>5||Math.abs(Le.y-this.pointerDownPoint.y)>5)},Me.prototype.resize=function(Le){Je.prototype.resize.call(this,Le),this.isMoved=!0,this.setSize(),this.sizeText()},Me.prototype.setSize=function(){Je.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Pe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Pe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},Me.prototype.pointerUp=function(Le){var Xe=this.state;Xe==="creating"&&(this._suppressMarkerCreateEvent=!0),Je.prototype.pointerUp.call(this,Le),this.setSize(),(Xe==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},Me.prototype.showTextEditor=function(){var Le=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(Xe){Xe.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Xe=Number.parseFloat(Le.textEditor.style.fontSize);Le.textEditor.clientWidth>=Number.parseInt(Le.textEditor.style.maxWidth)&&Xe>.9;)Xe-=.1,Le.textEditor.style.fontSize=Math.max(Xe,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Xe){Xe.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Xe){if(Xe.clipboardData){var dt=Xe.clipboardData.getData("text"),je=window.getSelection();if(!je.rangeCount)return!1;je.deleteFromDocument(),je.getRangeAt(0).insertNode(document.createTextNode(dt)),Xe.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){Le.textEditDivClicked(Le.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},Me.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var Le=this.getTextScale(),Xe=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),dt=this.textElement.getBBox(),je={x:dt.width*Le,y:dt.height*Le};Xe.x-=je.x/2,Xe.y-=je.y/2,this.textEditor.style.top=Xe.y+"px",this.textEditor.style.left=Xe.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Xe.x+"px",this.textEditor.style.fontSize=Math.max(16*Le,12)+"px",this.textElement.style.display="none"}},Me.prototype.textEditDivClicked=function(Le){this.text=Le.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},Me.prototype.select=function(){Je.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},Me.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Je.prototype.deselect.call(this)},Me.prototype.dblClick=function(Le,Xe){Je.prototype.dblClick.call(this,Le,Xe),this.showTextEditor()},Me.prototype.setColor=function(Le){this.textElement&&Pe.setAttributes(this.textElement,[["fill",Le]]),this.color=Le,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(Le)},Me.prototype.setFont=function(Le){this.textElement&&Pe.setAttributes(this.textElement,[["font-family",Le]]),this.fontFamily=Le,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},Me.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},Me.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){var Xe=Le;this.color=Xe.color,this.fontFamily=Xe.fontFamily,this.padding=Xe.padding,this.text=Xe.text,this.createVisual(),Je.prototype.restoreState.call(this,Le),this.setSize()},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.setSize(),this.sizeText(),this.positionTextEditor()},Me.typeName="TextMarker",Me.title="Text marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',Me}(be),Xt=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.color="transparent",je.lineWidth=3,je.drawing=!1,je.pixelRatio=1,je.color=dt.defaultColor,je.lineWidth=dt.defaultStrokeWidth,je.pixelRatio=dt.freehandPixelRatio,je.setColor=je.setColor.bind(je),je.addCanvas=je.addCanvas.bind(je),je.finishCreation=je.finishCreation.bind(je),je.setLineWidth=je.setLineWidth.bind(je),je.colorPanel=new ee("Color",dt.defaultColorSet,dt.defaultColor),je.colorPanel.onColorChanged=je.setColor,je.lineWidthPanel=new Oe("Line width",dt.defaultStrokeWidths,dt.defaultStrokeWidth),je.lineWidthPanel.onWidthChanged=je.setLineWidth,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.visual&&Le!==this.drawingImage)},Me.prototype.createVisual=function(){this.visual=Pe.createGroup(),this.drawingImage=Pe.createImage(),this.visual.appendChild(this.drawingImage);var Le=Pe.createTransform();this.visual.transform.baseVal.appendItem(Le),this.addMarkerVisualToContainer(this.visual)},Me.prototype.pointerDown=function(Le,Xe){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(Le.x,Le.y),this.drawing=!0):Je.prototype.pointerDown.call(this,Le,Xe)},Me.prototype.manipulate=function(Le){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(Le.x,Le.y),this.canvasContext.stroke()):Je.prototype.manipulate.call(this,Le)},Me.prototype.resize=function(Le){Je.prototype.resize.call(this,Le),Pe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Pe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},Me.prototype.pointerUp=function(Le){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Je.prototype.pointerUp.call(this,Le)},Me.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)},Me.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Je.prototype.select.call(this)},Me.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Je.prototype.deselect.call(this)},Me.prototype.finishCreation=function(){for(var Le=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Xe=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],dt=Xe[0],je=Xe[1],bt=Xe[2],Sn=Xe[3],ni=!1,ui=0;ui<this.canvasElement.height;ui++)for(var vn=0;vn<this.canvasElement.width;vn++)Le.data[ui*this.canvasElement.width*4+4*vn+3]>0&&(ni=!0,ui<je&&(je=ui),vn<dt&&(dt=vn),ui>Sn&&(Sn=ui),vn>bt&&(bt=vn));if(ni){this.left=dt/this.pixelRatio,this.top=je/this.pixelRatio,this.width=(bt-dt)/this.pixelRatio,this.height=(Sn-je)/this.pixelRatio;var _n=document.createElement("canvas");_n.width=bt-dt,_n.height=Sn-je,_n.getContext("2d").putImageData(this.canvasContext.getImageData(dt,je,bt-dt,Sn-je),0,0),this.drawingImgUrl=_n.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},Me.prototype.setDrawingImage=function(){Pe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Pe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},Me.prototype.setColor=function(Le){this.color=Le,this.colorChanged(Le)},Me.prototype.setLineWidth=function(Le){this.lineWidth=Le},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Object.assign({drawingImgUrl:this.drawingImgUrl},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){this.createVisual(),Je.prototype.restoreState.call(this,Le),this.drawingImgUrl=Le.drawingImgUrl,this.setDrawingImage()},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.setDrawingImage()},Me.typeName="FreehandMarker",Me.title="Freehand marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',Me}(be),Zt=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,dt||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return je.typeBoxes=[],je.currentType=Xe,je.setCurrentType=je.setCurrentType.bind(je),je}return Ae(Me,Je),Me.prototype.getUi=function(){var Le=this,Xe=document.createElement("div");Xe.style.display="flex",Xe.style.overflow="hidden",Xe.style.flexGrow="2";for(var dt=function(Sn){var ni="both";switch(Sn){case 0:ni="both";break;case 1:ni="start";break;case 2:ni="end";break;case 3:ni="none"}var ui=document.createElement("div");if(ui.style.display="flex",ui.style.flexGrow="2",ui.style.alignItems="center",ui.style.justifyContent="space-between",ui.style.padding="5px",ui.style.borderWidth="2px",ui.style.borderStyle="solid",ui.style.borderColor=ni===je.currentType?je.uiStyleSettings.toolboxAccentColor:"transparent",ui.addEventListener("click",function(){Le.setCurrentType(ni,ui)}),Xe.appendChild(ui),ni==="both"||ni==="start"){var vn=document.createElement("div");vn.style.display="flex",vn.style.alignItems="center",vn.style.minHeight="20px",vn.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(je.uiStyleSettings!==void 0?je.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,vn.style.marginLeft="5px",ui.appendChild(vn)}var _n=document.createElement("div");_n.style.display="flex",_n.style.alignItems="center",_n.style.minHeight="20px",_n.style.flexGrow="2";var rn=document.createElement("hr");if(rn.style.minWidth="20px",rn.style.border="0px",rn.style.borderTop="3px solid "+(je.uiStyleSettings!==void 0?je.uiStyleSettings.toolboxColor:"#eeeeee"),rn.style.flexGrow="2",_n.appendChild(rn),ui.appendChild(_n),ni==="both"||ni==="end"){var oi=document.createElement("div");oi.style.display="flex",oi.style.alignItems="center",oi.style.minHeight="20px",oi.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,0 10,5 0,10" fill="`+(je.uiStyleSettings!==void 0?je.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,oi.style.marginRight="5px",ui.appendChild(oi)}je.typeBoxes.push(ui)},je=this,bt=0;bt<4;bt++)dt(bt);return Xe},Me.prototype.setCurrentType=function(Le,Xe){var dt=this;this.currentType=Le,this.typeBoxes.forEach(function(je){je.style.borderColor=je===Xe?dt.uiStyleSettings!==void 0?dt.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},Me}(te),yn=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.arrowType="end",je.arrowBaseHeight=10,je.arrowBaseWidth=10,je.getArrowPoints=je.getArrowPoints.bind(je),je.setArrowType=je.setArrowType.bind(je),je.arrowTypePanel=new Zt("Arrow type","end"),je.arrowTypePanel.onArrowTypeChanged=je.setArrowType,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.arrow1&&Le!==this.arrow2)},Me.prototype.getArrowPoints=function(Le,Xe){var dt=this.arrowBaseWidth+2*this.strokeWidth,je=this.arrowBaseHeight+2*this.strokeWidth;return Le-dt/2+","+(Xe+je/2)+" "+Le+","+(Xe-je/2)+" "+(Le+dt/2)+","+(Xe+je/2)},Me.prototype.createTips=function(){this.arrow1=Pe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Pe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Pe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Pe.createTransform()),this.visual.appendChild(this.arrow2)},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.state==="creating"&&this.createTips()},Me.prototype.adjustVisual=function(){if(Je.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",Pe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Pe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var Le=0;Math.abs(this.x1-this.x2)>.1&&(Le=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Xe=this.arrow1.transform.baseVal.getItem(0);Xe.setRotate(Le,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Xe,0);var dt=this.arrow2.transform.baseVal.getItem(0);dt.setRotate(Le+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(dt,0)}},Me.prototype.setArrowType=function(Le){this.arrowType=Le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Object.assign({arrowType:this.arrowType},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){Je.prototype.restoreState.call(this,Le);var Xe=Le;this.arrowType=Xe.arrowType,this.createTips(),this.adjustVisual()},Me.typeName="ArrowMarker",Me.title="Arrow marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',Me}(ft),Ln=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.fillColor=dt.defaultFillColor,je.strokeWidth=0,je.fillPanel=new ee("Color",dt.defaultColorSet,dt.defaultFillColor),je.fillPanel.onColorChanged=je.setFillColor,je}return Ae(Me,Je),Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Je.prototype.getState.call(this);return Le.typeName=Me.typeName,Le},Me.typeName="CoverMarker",Me.title="Cover marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',Me}(we),on=function(Je){function Me(Le,Xe,dt,je){var bt=Je.call(this,Le,je||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return bt.opacities=[],bt.opacityBoxes=[],bt.opacities=Xe,bt.currentOpacity=dt,bt.setCurrentOpacity=bt.setCurrentOpacity.bind(bt),bt}return Ae(Me,Je),Me.prototype.getUi=function(){var Le=this,Xe=document.createElement("div");return Xe.style.display="flex",Xe.style.overflow="hidden",Xe.style.flexGrow="2",Xe.style.justifyContent="space-between",this.opacities.forEach(function(dt){var je=document.createElement("div");je.style.display="flex",je.style.alignItems="center",je.style.justifyContent="center",je.style.padding="5px",je.style.borderWidth="2px",je.style.borderStyle="solid",je.style.borderColor=dt===Le.currentOpacity?Le.uiStyleSettings.toolboxAccentColor:"transparent",je.addEventListener("click",function(){Le.setCurrentOpacity(dt,je)}),Xe.appendChild(je);var bt=document.createElement("div");bt.innerText=100*dt+"%",je.appendChild(bt),Le.opacityBoxes.push(je)}),Xe},Me.prototype.setCurrentOpacity=function(Le,Xe){var dt=this;this.currentOpacity=Le,this.opacityBoxes.forEach(function(je){je.style.borderColor=je===Xe?dt.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},Me}(te),Bn=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.setOpacity=je.setOpacity.bind(je),je.fillColor=dt.defaultHighlightColor,je.strokeWidth=0,je.opacity=dt.defaultHighlightOpacity,je.fillPanel=new ee("Color",dt.defaultColorSet,je.fillColor),je.fillPanel.onColorChanged=je.setFillColor,je.opacityPanel=new on("Opacity",dt.defaultOpacitySteps,je.opacity),je.opacityPanel.onOpacityChanged=je.setOpacity,je}return Ae(Me,Je),Me.prototype.setOpacity=function(Le){this.opacity=Le,this.visual&&Pe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Je.prototype.getState.call(this);return Le.typeName=Me.typeName,Le},Me.typeName="HighlightMarker",Me.title="Highlight marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',Me}(Ln),Et='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',nt='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',ot=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.bgColor="transparent",je.tipPosition={x:0,y:0},je.tipBase1Position={x:0,y:0},je.tipBase2Position={x:0,y:0},je.tipMoving=!1,je.color=dt.defaultStrokeColor,je.bgColor=dt.defaultFillColor,je.fontFamily=dt.defaultFontFamily,je.defaultSize={x:100,y:30},je.setBgColor=je.setBgColor.bind(je),je.getTipPoints=je.getTipPoints.bind(je),je.positionTip=je.positionTip.bind(je),je.setTipPoints=je.setTipPoints.bind(je),je.colorPanel=new ee("Text color",dt.defaultColorSet,je.color,Et),je.colorPanel.onColorChanged=je.setColor,je.bgColorPanel=new ee("Fill color",dt.defaultColorSet,je.bgColor,nt),je.bgColorPanel.onColorChanged=je.setBgColor,je.fontFamilyPanel=new pt("Font",dt.defaultFontFamilies,dt.defaultFontFamily),je.fontFamilyPanel.onFontChanged=je.setFont,je.tipGrip=new ge,je.tipGrip.visual.transform.baseVal.appendItem(Pe.createTransform()),je.controlBox.appendChild(je.tipGrip.visual),je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return Je.prototype.ownsTarget.call(this,Le)||this.tipGrip.ownsTarget(Le)||this.tip===Le},Me.prototype.createTip=function(){Pe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Pe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},Me.prototype.pointerDown=function(Le,Xe){this.state==="new"&&Je.prototype.pointerDown.call(this,Le,Xe),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Xe)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Je.prototype.pointerDown.call(this,Le,Xe)},Me.prototype.pointerUp=function(Le){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Je.prototype.pointerUp.call(this,Le);else{var Xe=this.state==="creating";Je.prototype.pointerUp.call(this,Le),this.setTipPoints(Xe),this.positionTip()}},Me.prototype.manipulate=function(Le){if(this.tipMoving){var Xe=this.unrotatePoint(Le);this.tipPosition={x:Xe.x-this.manipulationStartLeft,y:Xe.y-this.manipulationStartTop},this.positionTip()}else Je.prototype.manipulate.call(this,Le)},Me.prototype.setBgColor=function(Le){this.bgRectangle&&this.tip&&(Pe.setAttributes(this.bgRectangle,[["fill",Le]]),Pe.setAttributes(this.tip,[["fill",Le]])),this.bgColor=Le,this.fillColorChanged(Le)},Me.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},Me.prototype.setTipPoints=function(Le){Le===void 0&&(Le=!1);var Xe=Math.min(this.height/2,15),dt=this.height/5;Le&&(this.tipPosition={x:Xe+dt/2,y:this.height+20});var je=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?je<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(dt=this.width/5,Xe=Math.min(this.width/2,15),this.tipBase1Position={x:Xe,y:0},this.tipBase2Position={x:Xe+dt,y:0}):(this.tipBase1Position={x:0,y:Xe},this.tipBase2Position={x:0,y:Xe+dt}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?je<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(dt=this.width/5,Xe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Xe-dt,y:0},this.tipBase2Position={x:this.width-Xe,y:0}):(this.tipBase1Position={x:this.width,y:Xe},this.tipBase2Position={x:this.width,y:Xe+dt}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?je<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(dt=this.width/5,Xe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Xe-dt,y:this.height},this.tipBase2Position={x:this.width-Xe,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-Xe-dt},this.tipBase2Position={x:this.width,y:this.height-Xe}):je<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(dt=this.width/5,Xe=Math.min(this.width/2,15),this.tipBase1Position={x:Xe,y:this.height},this.tipBase2Position={x:Xe+dt,y:this.height}):(this.tipBase1Position={x:0,y:this.height-Xe},this.tipBase2Position={x:0,y:this.height-Xe-dt})},Me.prototype.resize=function(Le){Je.prototype.resize.call(this,Le),this.positionTip()},Me.prototype.positionTip=function(){Pe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var Le=this.tipGrip.visual.transform.baseVal.getItem(0);Le.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(Le,0)},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Me.prototype.select=function(){this.positionTip(),Je.prototype.select.call(this)},Me.prototype.getState=function(){var Le=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){var Xe=Le;this.bgColor=Xe.bgColor,this.tipPosition=Xe.tipPosition,Je.prototype.restoreState.call(this,Le),this.createTip(),this.setTipPoints()},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.tipPosition={x:this.tipPosition.x*Le,y:this.tipPosition.y*Xe},this.positionTip()},Me.typeName="CalloutMarker",Me.title="Callout marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',Me}(Nt),Jt=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.fillColor="transparent",je.strokeColor="transparent",je.strokeWidth=0,je.strokeDasharray="",je.opacity=1,je.strokeColor=dt.defaultColor,je.strokeWidth=dt.defaultStrokeWidth,je.strokeDasharray=dt.defaultStrokeDasharray,je.fillColor=dt.defaultFillColor,je.setStrokeColor=je.setStrokeColor.bind(je),je.setFillColor=je.setFillColor.bind(je),je.setStrokeWidth=je.setStrokeWidth.bind(je),je.setStrokeDasharray=je.setStrokeDasharray.bind(je),je.setOpacity=je.setOpacity.bind(je),je.createVisual=je.createVisual.bind(je),je.strokePanel=new ee("Line color",Ye(dt.defaultColorSet,["transparent"]),dt.defaultColor),je.strokePanel.onColorChanged=je.setStrokeColor,je.fillPanel=new ee("Fill color",Ye(dt.defaultColorSet,["transparent"]),je.fillColor,nt),je.fillPanel.onColorChanged=je.setFillColor,je.strokeWidthPanel=new Oe("Line width",dt.defaultStrokeWidths,dt.defaultStrokeWidth),je.strokeWidthPanel.onWidthChanged=je.setStrokeWidth,je.strokeStylePanel=new Ke("Line style",dt.defaultStrokeDasharrays,dt.defaultStrokeDasharray),je.strokeStylePanel.onStyleChanged=je.setStrokeDasharray,je.opacityPanel=new on("Opacity",dt.defaultOpacitySteps,je.opacity),je.opacityPanel.onOpacityChanged=je.setOpacity,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.visual)},Me.prototype.createVisual=function(){this.visual=Pe.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.state==="new"&&(this.createVisual(),this.moveVisual(Le),this._state="creating")},Me.prototype.manipulate=function(Le){Je.prototype.manipulate.call(this,Le)},Me.prototype.resize=function(Le){Je.prototype.resize.call(this,Le),this.setSize()},Me.prototype.setSize=function(){Je.prototype.setSize.call(this),Pe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},Me.prototype.pointerUp=function(Le){Je.prototype.pointerUp.call(this,Le),this.setSize()},Me.prototype.setStrokeColor=function(Le){this.strokeColor=Le,this.visual&&Pe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Le),this.stateChanged()},Me.prototype.setFillColor=function(Le){this.fillColor=Le,this.visual&&Pe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(Le),this.stateChanged()},Me.prototype.setStrokeWidth=function(Le){this.strokeWidth=Le,this.visual&&Pe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Me.prototype.setStrokeDasharray=function(Le){this.strokeDasharray=Le,this.visual&&Pe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Me.prototype.setOpacity=function(Le){this.opacity=Le,this.visual&&Pe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){var Xe=Le;this.fillColor=Xe.fillColor,this.strokeColor=Xe.strokeColor,this.strokeWidth=Xe.strokeWidth,this.strokeDasharray=Xe.strokeDasharray,this.opacity=Xe.opacity,this.createVisual(),Je.prototype.restoreState.call(this,Le),this.setSize()},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.setSize()},Me.typeName="EllipseMarker",Me.title="Ellipse marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',Me}(be),In=function(Je){function Me(Le,Xe,dt){return Je.call(this,Le,Xe,dt)||this}return Ae(Me,Je),Object.defineProperty(Me.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.tip1&&Le!==this.tip2)},Me.prototype.createTips=function(){this.tip1=Pe.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(Pe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Pe.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(Pe.createTransform()),this.visual.appendChild(this.tip2)},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.state==="creating"&&this.createTips()},Me.prototype.adjustVisual=function(){if(Je.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Pe.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Pe.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var Le=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Xe=this.tip1.transform.baseVal.getItem(0);Xe.setRotate(Le,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Xe,0);var dt=this.tip2.transform.baseVal.getItem(0);dt.setRotate(Le+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(dt,0)}},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Je.prototype.getState.call(this);return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){Je.prototype.restoreState.call(this,Le),this.createTips(),this.adjustVisual()},Me.typeName="MeasurementMarker",Me.title="Measurement marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',Me}(ft),Gt=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.strokePanel.colors=dt.defaultColorSet,je.fillColor="transparent",je}return Ae(Me,Je),Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Je.prototype.getState.call(this);return Le.typeName=Me.typeName,Le},Me.typeName="EllipseFrameMarker",Me.title="Ellipse frame marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',Me}(Jt),An=function(){function Je(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Je.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Je.prototype.addUndoStep=function(Me){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(Me)||(this.undoStack.push(Me),JSON.stringify(this.lastRedoStep)!==JSON.stringify(Me)&&this.redoStack.splice(0,this.redoStack.length))},Je.prototype.replaceLastUndoStep=function(Me){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=Me)},Je.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Je.prototype.undo=function(){if(this.undoStack.length>1){var Me=this.undoStack.pop();return Me!==void 0&&this.redoStack.push(Me),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Je.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Je}(),Nn=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.strokeColor="transparent",je.strokeWidth=0,je.strokeDasharray="",je.curveX=0,je.curveY=0,je.manipulationStartCurveX=0,je.manipulationStartCurveY=0,je.setStrokeColor=je.setStrokeColor.bind(je),je.setStrokeWidth=je.setStrokeWidth.bind(je),je.setStrokeDasharray=je.setStrokeDasharray.bind(je),je.positionGrips=je.positionGrips.bind(je),je.addControlGrips=je.addControlGrips.bind(je),je.adjustVisual=je.adjustVisual.bind(je),je.setupControlBox=je.setupControlBox.bind(je),je.resize=je.resize.bind(je),je.strokeColor=dt.defaultColor,je.strokeWidth=dt.defaultStrokeWidth,je.strokeDasharray=dt.defaultStrokeDasharray,je.strokePanel=new ee("Line color",dt.defaultColorSet,dt.defaultColor),je.strokePanel.onColorChanged=je.setStrokeColor,je.strokeWidthPanel=new Oe("Line width",dt.defaultStrokeWidths,dt.defaultStrokeWidth),je.strokeWidthPanel.onWidthChanged=je.setStrokeWidth,je.strokeStylePanel=new Ke("Line style",dt.defaultStrokeDasharrays,dt.defaultStrokeDasharray),je.strokeStylePanel.onStyleChanged=je.setStrokeDasharray,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.visual&&Le!==this.selectorCurve&&Le!==this.visibleCurve&&!this.curveGrip.ownsTarget(Le))},Me.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},Me.prototype.createVisual=function(){this.visual=Pe.createGroup(),this.selectorCurve=Pe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Pe.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)},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=Le.x,this.curveY=Le.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Xe)&&(this.activeGrip=this.curveGrip,this._state="resize")},Me.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Pe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Pe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Pe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Me.prototype.setupControlBox=function(){Je.prototype.setupControlBox.call(this),this.curveControlLine1=Pe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Pe.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)},Me.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Je.prototype.addControlGrips.call(this)},Me.prototype.positionGrips=function(){Je.prototype.positionGrips.call(this);var Le=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-Le/2,this.curveY-Le/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()))},Me.prototype.manipulate=function(Le){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+Le.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+Le.y-this.manipulationStartY),Je.prototype.manipulate.call(this,Le)},Me.prototype.resize=function(Le){this.activeGrip===this.curveGrip&&(this.curveX=Le.x,this.curveY=Le.y),Je.prototype.resize.call(this,Le),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},Me.prototype.setStrokeColor=function(Le){this.strokeColor=Le,this.adjustVisual(),this.colorChanged(Le)},Me.prototype.setStrokeWidth=function(Le){this.strokeWidth=Le,this.adjustVisual()},Me.prototype.setStrokeDasharray=function(Le){this.strokeDasharray=Le,this.adjustVisual()},Me.prototype.scale=function(Le,Xe){this.curveX=this.curveX*Le,this.curveY=this.curveY*Xe,Je.prototype.scale.call(this,Le,Xe)},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Je.prototype.getState.call(this));return Le.typeName=Me.typeName,Le},Me.prototype.restoreState=function(Le){Je.prototype.restoreState.call(this,Le);var Xe=Le;this.strokeColor=Xe.strokeColor,this.strokeWidth=Xe.strokeWidth,this.strokeDasharray=Xe.strokeDasharray,this.curveX=Xe.curveX,this.curveY=Xe.curveY,this.createVisual(),this.adjustVisual()},Me.typeName="CurveMarker",Me.title="Curve marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',Me}(at),di=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,Xe,dt)||this;return je.fillColor="transparent",je.strokeColor="transparent",je.strokeWidth=0,je.strokeDasharray="",je.textColor="transparent",je.fontSize="1rem",je.isMoved=!1,je.captionText="Caption",je.PADDING=5,je.captionBoxWidth=0,je.captionBoxHeight=0,je.strokeColor=dt.defaultColor,je.strokeWidth=dt.defaultStrokeWidth,je.strokeDasharray=dt.defaultStrokeDasharray,je.fillColor=dt.defaultFillColor,je.textColor=dt.defaultStrokeColor,je.fontFamily=dt.defaultFontFamily,je.fontSize=dt.defaultCaptionFontSize,je.captionText=dt.defaultCaptionText,je.setStrokeColor=je.setStrokeColor.bind(je),je.setFillColor=je.setFillColor.bind(je),je.setStrokeWidth=je.setStrokeWidth.bind(je),je.setStrokeDasharray=je.setStrokeDasharray.bind(je),je.createVisual=je.createVisual.bind(je),je.sizeCaption=je.sizeCaption.bind(je),je.setCaptionText=je.setCaptionText.bind(je),je.showTextEditor=je.showTextEditor.bind(je),je.positionTextEditor=je.positionTextEditor.bind(je),je.finishTextEditing=je.finishTextEditing.bind(je),je.setFont=je.setFont.bind(je),je.setTextColor=je.setTextColor.bind(je),je.strokePanel=new ee("Line color",Ye(dt.defaultColorSet,["transparent"]),je.strokeColor),je.strokePanel.onColorChanged=je.setStrokeColor,je.fillPanel=new ee("Fill color",Ye(dt.defaultColorSet,["transparent"]),je.fillColor,nt),je.fillPanel.onColorChanged=je.setFillColor,je.strokeWidthPanel=new Oe("Line width",dt.defaultStrokeWidths,dt.defaultStrokeWidth),je.strokeWidthPanel.onWidthChanged=je.setStrokeWidth,je.strokeStylePanel=new Ke("Line style",dt.defaultStrokeDasharrays,dt.defaultStrokeDasharray),je.strokeStylePanel.onStyleChanged=je.setStrokeDasharray,je.fontFamilyPanel=new pt("Font",dt.defaultFontFamilies,dt.defaultFontFamily),je.fontFamilyPanel.onFontChanged=je.setFont,je.textColorPanel=new ee("Text color",dt.defaultColorSet,je.textColor,Et),je.textColorPanel.onColorChanged=je.setTextColor,je}return Ae(Me,Je),Me.prototype.ownsTarget=function(Le){return!(!Je.prototype.ownsTarget.call(this,Le)&&Le!==this.visual&&Le!==this.frame&&Le!==this.captionBg&&Le!==this.captionElement)},Me.prototype.createVisual=function(){this.visual=Pe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Pe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Pe.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=Pe.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()},Me.prototype.setCaptionText=function(Le){this.captionText=Le,this.captionElement.textContent=this.captionText,this.sizeCaption()},Me.prototype.pointerDown=function(Le,Xe){Je.prototype.pointerDown.call(this,Le,Xe),this.isMoved=!1,this.pointerDownPoint=Le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Le),this._state="creating")},Me.prototype.manipulate=function(Le){Je.prototype.manipulate.call(this,Le),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Le.x-this.pointerDownPoint.x)>5||Math.abs(Le.y-this.pointerDownPoint.y)>5)},Me.prototype.resize=function(Le){Je.prototype.resize.call(this,Le),this.setSize()},Me.prototype.sizeCaption=function(){var Le=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=Le.width+2*this.PADDING,this.captionBoxHeight=Le.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Pe.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')"]]),Pe.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')"]])},Me.prototype.showTextEditor=function(){var Le=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(Xe){Xe.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Xe){Xe.key==="Enter"&&Le.finishTextEditing(Le.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Xe){Xe.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){Le.finishTextEditing(Le.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){Le.finishTextEditing(Le.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},Me.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"))},Me.prototype.finishTextEditing=function(Le){this.setCaptionText(Le.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},Me.prototype.setFont=function(Le){this.captionElement&&Pe.setAttributes(this.captionElement,[["font-family",Le]]),this.fontFamily=Le,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},Me.prototype.setTextColor=function(Le){this.captionElement&&Pe.setAttributes(this.captionElement,[["fill",Le]]),this.textColor=Le,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},Me.prototype.setSize=function(){Je.prototype.setSize.call(this),Pe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},Me.prototype.pointerUp=function(Le){Je.prototype.pointerUp.call(this,Le),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},Me.prototype.dblClick=function(Le,Xe){Je.prototype.dblClick.call(this,Le,Xe),this.showTextEditor()},Me.prototype.setStrokeColor=function(Le){this.strokeColor=Le,this.frame&&Pe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(Le),this.stateChanged()},Me.prototype.setFillColor=function(Le){this.fillColor=Le,this.captionBg&&Pe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(Le),this.stateChanged()},Me.prototype.setStrokeWidth=function(Le){this.strokeWidth=Le,this.frame&&Pe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Me.prototype.setStrokeDasharray=function(Le){this.strokeDasharray=Le,this.frame&&Pe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(Me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),Me.prototype.getState=function(){var Le=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},Je.prototype.getState.call(this));return Le.typeName=this.typeName,Le},Me.prototype.restoreState=function(Le){var Xe=Le;this.fillColor=Xe.fillColor,this.strokeColor=Xe.strokeColor,this.strokeWidth=Xe.strokeWidth,this.strokeDasharray=Xe.strokeDasharray,this.textColor=Xe.textColor,this.fontFamily=Xe.fontFamily,this.captionText=Xe.captionText,this.fontSize=Xe.fontSize,this.createVisual(),Je.prototype.restoreState.call(this,Le),this.setSize()},Me.prototype.scale=function(Le,Xe){Je.prototype.scale.call(this,Le,Xe),this.setSize()},Me.typeName="CaptionFrameMarker",Me.title="Caption frame marker",Me.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',Me}(be),At=function(){function Je(Me,Le){Le===void 0&&(Le=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=Me,this.cancelable=Le}return Object.defineProperty(Je.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Je.prototype.preventDefault=function(){this._defaultPrevented=!0},Je}(),Ot=function(Je){function Me(Le,Xe,dt){var je=Je.call(this,Le,!1)||this;return je.dataUrl=Xe,je.state=dt,je}return Ae(Me,Je),Me}(At),$e=function(Je){function Me(Le,Xe,dt){dt===void 0&&(dt=!1);var je=Je.call(this,Le,dt)||this;return je.marker=Xe,je}return Ae(Me,Je),Me}(At),Wt=function(){function Je(){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 Je.prototype.addEventListener=function(Me,Le){this[Me].push(Le)},Je.prototype.removeEventListener=function(Me,Le){var Xe=this[Me].indexOf(Le);Xe>-1&&this[Me].splice(Xe,1)},Je}(),jt=function(){function Je(Me){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new lt,this._isOpen=!1,this.undoRedoManager=new An,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 Wt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Je.instanceCounter++,this.styles=new rt(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=Me,this.targetRoot=document.body,this.width=Me.clientWidth,this.height=Me.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(Je.prototype,"ALL_MARKER_TYPES",{get:function(){return[qe,Xt,yn,Nt,Gt,Jt,Bn,ot,In,Ln,ft,Nn,di]},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[qe,Xt,yn,Nt,Jt,Bn,ot]},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"BASIC_MARKER_TYPES",{get:function(){return[qe,Xt,yn,Nt,Bn]},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(Me){var Le=this;this._availableMarkerTypes.splice(0),Me.forEach(function(Xe){if(typeof Xe=="string"){var dt=Le.ALL_MARKER_TYPES.find(function(je){return je.typeName===Xe});dt!==void 0&&Le._availableMarkerTypes.push(dt)}else Le._availableMarkerTypes.push(Xe)})},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Je.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(Me){this._zoomLevel=Me,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(Je.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Je.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ue.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Je.prototype.show=function(){var Me=this;this.styles.styleSheetRoot===void 0&&Ze.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ze.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(Le){return Le(new At(Me))})},Je.prototype.render=function(){return Fe(this,void 0,void 0,function(){var Me;return ke(this,function(Le){switch(Le.label){case 0:return this.setCurrentMarker(),(Me=new tt).naturalSize=this.renderAtNaturalSize,Me.imageType=this.renderImageType,Me.imageQuality=this.renderImageQuality,Me.markersOnly=this.renderMarkersOnly,Me.width=this.renderWidth,Me.height=this.renderHeight,[4,Me.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return Le.sent(),[4,Me.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,Le.sent()]}})})},Je.prototype.close=function(Me){var Le=this;if(Me===void 0&&(Me=!1),this.isOpen){var Xe=!1;Me||this.eventListeners.beforeclose.forEach(function(dt){var je=new At(Le,!0);dt(je),je.defaultPrevented&&(Xe=!0)}),Xe||(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(dt){return dt(new At(Le))}),this.detachEvents(),this._isOpen=!1)}},Je.prototype.addMarkersToToolbar=function(){for(var Me,Le=[],Xe=0;Xe<arguments.length;Xe++)Le[Xe]=arguments[Xe];(Me=this._availableMarkerTypes).push.apply(Me,Le)},Je.prototype.addRenderEventListener=function(Me){this.addEventListener("render",function(Le){Me(Le.dataUrl,Le.state)})},Je.prototype.removeRenderEventListener=function(Me){},Je.prototype.addCloseEventListener=function(Me){this.addEventListener("close",function(){Me()})},Je.prototype.removeCloseEventListener=function(Me){},Je.prototype.setupResizeObserver=function(){var Me=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){Me.resize(Me.target.clientWidth,Me.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return Me.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Je.prototype.onPopupTargetResize=function(){var Me=1*this.target.clientWidth/this.target.clientHeight,Le=this.editorCanvas.clientWidth/Me>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*Me:this.editorCanvas.clientWidth,Xe=Le<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/Me;this.resize(Le,Xe)},Je.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Je.prototype.resize=function(Me,Le){this._isResizing=!0;var Xe=Me/this.imageWidth,dt=Le/this.imageHeight;this.imageWidth=Math.round(Me),this.imageHeight=Math.round(Le),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(Xe,dt),this._isResizing=!1},Je.prototype.scaleMarkers=function(Me,Le){var Xe,dt=this;this._currentMarker&&this._currentMarker instanceof Nt?this._currentMarker.scale(Me,Le):(Xe=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(je){je!==dt._currentMarker&&je.scale(Me,Le)}),Xe!==void 0&&this.setCurrentMarker(Xe)},Je.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},Je.prototype.setTopLeft=function(){var Me=this.editingTarget.getBoundingClientRect(),Le=this.editorCanvas.getBoundingClientRect();this.left=Me.left-Le.left,this.top=Me.top-Le.top},Je.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},Je.prototype.addDefs=function(){for(var Me,Le=[],Xe=0;Xe<arguments.length;Xe++)Le[Xe]=arguments[Xe];this.defs=Pe.createDefs(),this.addDefsToImage(),(Me=this.defs).append.apply(Me,Le)},Je.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Je.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},Je.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Je.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Je.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},Je.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Je.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},Je.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var Me=document.createElement("a");Me.href="https://markerjs.com/",Me.target="_blank",Me.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',Me.title="Powered by marker.js",Me.style.display="grid",Me.style.alignItems="center",Me.style.justifyItems="center",Me.style.padding="3px",Me.style.width="20px",Me.style.height="20px",this.logoUI.appendChild(Me),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Je.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")},Je.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"},Je.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Je.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 Me=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=Me+"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 Mt(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<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new De(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Je.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Je.prototype.removeMarker=function(Me){this.markerImage.removeChild(Me.container),this.markers.indexOf(Me)>-1&&this.markers.splice(this.markers.indexOf(Me),1),Me.dispose()},Je.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())},Je.prototype.toolbarButtonClicked=function(Me,Le){if(Me==="marker"&&Le!==void 0)this.createNewMarker(Le);else if(Me==="action")switch(Le){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()}},Je.prototype.deleteSelectedMarker=function(){var Me=this;if(this._currentMarker!==void 0){var Le=!1;if(this.eventListeners.markerbeforedelete.forEach(function(dt){var je=new $e(Me,Me._currentMarker,!0);dt(je),je.defaultPrevented&&(Le=!0)}),!Le){var Xe=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(dt){return dt(new $e(Me,Xe))})}}},Je.prototype.clear=function(){var Me=this,Le=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(bt){var Sn=new $e(Me,void 0,!0);bt(Sn),Sn.defaultPrevented&&(Le=!0)}),!Le)){this.setCurrentMarker();for(var Xe=function(bt){var Sn=dt.markers[bt];dt.setCurrentMarker(dt.markers[bt]),dt._currentMarker.dispose(),dt.markerImage.removeChild(dt._currentMarker.container),dt.markers.splice(dt.markers.indexOf(dt._currentMarker),1),dt.eventListeners.markerdelete.forEach(function(ni){return ni(new $e(Me,Sn))})},dt=this,je=this.markers.length-1;je>=0;je--)Xe(je);this.addUndoStep()}},Object.defineProperty(Je.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Je.prototype.showNotesEditor=function(){var Me;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=(Me=this._currentMarker.notes)!==null&&Me!==void 0?Me:"",this.overlayContainer.appendChild(this.notesArea))},Je.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)},Je.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Je.prototype.addUndoStep=function(){var Me=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var Le=this.getState(),Xe=this.undoRedoManager.getLastUndoStep();if(!Xe||Xe.width===Le.width&&Xe.height===Le.height){var dt=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(Le),dt<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(je){return je(new At(Me))})}else this.undoRedoManager.replaceLastUndoStep(Le),this.eventListeners.statechange.forEach(function(je){return je(new At(Me))})}},Je.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Je.prototype.undoStep=function(){var Me=this,Le=this.undoRedoManager.undo();Le!==void 0&&(this.restoreState(Le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Xe){return Xe(new At(Me))}))},Je.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Je.prototype.redoStep=function(){var Me=this,Le=this.undoRedoManager.redo();Le!==void 0&&(this.restoreState(Le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Xe){return Xe(new At(Me))}))},Je.prototype.stepZoom=function(){var Me=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=Me<this.zoomSteps.length-1?this.zoomSteps[Me+1]:this.zoomSteps[0]},Je.prototype.panTo=function(Me){this.contentDiv.scrollBy({left:this.prevPanPoint.x-Me.x,top:this.prevPanPoint.y-Me.y}),this.prevPanPoint=Me},Je.prototype.startRenderAndClose=function(){return Fe(this,void 0,void 0,function(){var Me,Le,Xe=this;return ke(this,function(dt){switch(dt.label){case 0:return[4,this.render()];case 1:return Me=dt.sent(),Le=this.getState(),this.eventListeners.render.forEach(function(je){return je(new Ot(Xe,Me,Le))}),this.close(!0),[2]}})})},Je.prototype.getState=function(Me){Me===!0&&this.setCurrentMarker();var Le={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(Xe){return Le.markers.push(Xe.getState())}),Le},Je.prototype.restoreState=function(Me){var Le=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);Me.markers.forEach(function(Xe){var dt=Le._availableMarkerTypes.find(function(bt){return bt.typeName===Xe.typeName});if(dt!==void 0){var je=Le.addNewMarker(dt);je.restoreState(Xe),Le.markers.push(je)}}),Me.width&&Me.height&&(Me.width!==this.imageWidth||Me.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/Me.width,this.imageHeight/Me.height),this.eventListeners.restorestate.forEach(function(Xe){return Xe(new At(Le))})},Je.prototype.addNewMarker=function(Me){var Le=Pe.createGroup();return this.markerImage.appendChild(Le),new Me(Le,this.overlayContainer,this.settings)},Je.prototype.createNewMarker=function(Me){var Le,Xe=this;(Le=typeof Me=="string"?this._availableMarkerTypes.find(function(dt){return dt.typeName===Me}):Me)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(Le),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(Le.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(dt){return dt(new $e(Xe,Xe._currentMarker))}))},Je.prototype.markerCreated=function(Me){var Le=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(Me),this.setCurrentMarker(Me),Me instanceof Xt&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Xt):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(Xe){return Xe(new $e(Le,Le._currentMarker))})},Je.prototype.colorChanged=function(Me){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=Me,this.settings.defaultStrokeColor=Me)},Je.prototype.fillColorChanged=function(Me){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=Me)},Je.prototype.markerStateChanged=function(Me){var Le=this;this.eventListeners.markerchange.forEach(function(Xe){return Xe(new $e(Le,Me))})},Je.prototype.setCurrentMarker=function(Me){var Le=this;this._currentMarker!==Me&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(Xe){return Xe(new $e(Le,Le._currentMarker))})),this._currentMarker=Me,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(Xe){return Xe(new $e(Le,Le._currentMarker))}))},Je.prototype.onPointerDown=function(Me){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||Me.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var Le=this.markers.find(function(Xe){return Xe.ownsTarget(Me.target)});Le!==void 0?(this.setCurrentMarker(Le),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(Me.clientX,Me.clientY),Me.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:Me.clientX,y:Me.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(Me.clientX,Me.clientY))},Je.prototype.onDblClick=function(Me){if(this._isFocused||this.focus(),this.mode==="select"){var Le=this.markers.find(function(Xe){return Xe.ownsTarget(Me.target)});Le!==void 0&&Le!==this._currentMarker&&this.setCurrentMarker(Le),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(Me.clientX,Me.clientY),Me.target):this.setCurrentMarker()}},Je.prototype.onPointerMove=function(Me){this.touchPoints!==1&&Me.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||Me.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(Me.clientX,Me.clientY)):this.zoomLevel>1&&this.panTo({x:Me.clientX,y:Me.clientY}))},Je.prototype.onPointerUp=function(Me){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(Me.clientX,Me.clientY)),this.isDragging=!1,this.addUndoStep()},Je.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Je.prototype.onKeyUp=function(Me){this._currentMarker===void 0||this.notesArea!==void 0||Me.key!=="Delete"&&Me.key!=="Backspace"||this.deleteSelectedMarker()},Je.prototype.clientToLocalCoordinates=function(Me,Le){var Xe=this.markerImage.getBoundingClientRect();return{x:(Me-Xe.left)/this.zoomLevel,y:(Le-Xe.top)/this.zoomLevel}},Je.prototype.onWindowResize=function(){this.positionUI()},Je.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var Me=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Me+"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()},Je.prototype.addLicenseKey=function(Me){Ue.addKey(Me)},Je.prototype.addEventListener=function(Me,Le){this.eventListeners.addEventListener(Me,Le)},Je.prototype.removeEventListener=function(Me,Le){this.eventListeners.removeEventListener(Me,Le)},Je.prototype.renderState=function(Me){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(Me),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Je.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Je.prototype.focus=function(){var Me=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(Le){return Le(new At(Me))}))},Je.prototype.blur=function(){var Me=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(Le){return Le(new At(Me))}))},Je.instanceCounter=0,Je}()},89435:function(Re){"use strict";var xe,ue=59;Re.exports=ce;function ce(Ae){var Fe="&"+Ae+";",ke;return xe=xe||document.createElement("i"),xe.innerHTML=Fe,ke=xe.textContent,ke.charCodeAt(ke.length-1)===ue&&Ae!=="semi"||ke===Fe?!1:ke}},57574:function(Re,xe,ue){"use strict";var ce=ue(21922),Ae=ue(93580),Fe=ue(46195),ke=ue(79480),Ye=ue(7961),Pe=ue(89435);Re.exports=Bn;var Ue={}.hasOwnProperty,tt=String.fromCharCode,Ze=Function.prototype,rt={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},xt=9,Qe=10,Mt=12,De=32,te=38,ee=59,de=60,se=61,ge=35,ve=88,be=120,we=65533,Oe="named",Ke="hexadecimal",qe="decimal",lt={};lt[Ke]=16,lt[qe]=10;var at={};at[Oe]=Ye,at[qe]=Fe,at[Ke]=ke;var ft=1,pt=2,Nt=3,Xt=4,Zt=5,yn=6,Ln=7,on={};on[ft]="Named character references must be terminated by a semicolon",on[pt]="Numeric character references must be terminated by a semicolon",on[Nt]="Named character references cannot be empty",on[Xt]="Numeric character references cannot be empty",on[Zt]="Named character references must be known",on[yn]="Numeric character references cannot be disallowed",on[Ln]="Numeric character references cannot be outside the permissible Unicode range";function Bn(Jt,In){var Gt={},An,Nn;In||(In={});for(Nn in rt)An=In[Nn],Gt[Nn]=An==null?rt[Nn]:An;return(Gt.position.indent||Gt.position.start)&&(Gt.indent=Gt.position.indent||[],Gt.position=Gt.position.start),Et(Jt,Gt)}function Et(Jt,In){var Gt=In.additional,An=In.nonTerminated,Nn=In.text,di=In.reference,At=In.warning,Ot=In.textContext,$e=In.referenceContext,Wt=In.warningContext,jt=In.position,Je=In.indent||[],Me=Jt.length,Le=0,Xe=-1,dt=jt.column||1,je=jt.line||1,bt="",Sn=[],ni,ui,vn,_n,rn,oi,ei,Ri,cn,tr,Xi,$t,_e,xr,er,ai,Rr,Lr,Ii;for(typeof Gt=="string"&&(Gt=Gt.charCodeAt(0)),ai=ar(),Ri=At?hi:Ze,Le--,Me++;++Le<Me;)if(rn===Qe&&(dt=Je[Xe]||1),rn=Jt.charCodeAt(Le),rn===te){if(ei=Jt.charCodeAt(Le+1),ei===xt||ei===Qe||ei===Mt||ei===De||ei===te||ei===de||ei!==ei||Gt&&ei===Gt){bt+=tt(rn),dt++;continue}for(_e=Le+1,$t=_e,Ii=_e,ei===ge?(Ii=++$t,ei=Jt.charCodeAt(Ii),ei===ve||ei===be?(xr=Ke,Ii=++$t):xr=qe):xr=Oe,ni="",Xi="",_n="",er=at[xr],Ii--;++Ii<Me&&(ei=Jt.charCodeAt(Ii),!!er(ei));)_n+=tt(ei),xr===Oe&&Ue.call(ce,_n)&&(ni=_n,Xi=ce[_n]);vn=Jt.charCodeAt(Ii)===ee,vn&&(Ii++,ui=xr===Oe?Pe(_n):!1,ui&&(ni=_n,Xi=ui)),Lr=1+Ii-_e,!vn&&!An||(_n?xr===Oe?(vn&&!Xi?Ri(Zt,1):(ni!==_n&&(Ii=$t+ni.length,Lr=1+Ii-$t,vn=!1),vn||(cn=ni?ft:Nt,In.attribute?(ei=Jt.charCodeAt(Ii),ei===se?(Ri(cn,Lr),Xi=null):Ye(ei)?Xi=null:Ri(cn,Lr)):Ri(cn,Lr))),oi=Xi):(vn||Ri(pt,Lr),oi=parseInt(_n,lt[xr]),nt(oi)?(Ri(Ln,Lr),oi=tt(we)):oi in Ae?(Ri(yn,Lr),oi=Ae[oi]):(tr="",ot(oi)&&Ri(yn,Lr),oi>65535&&(oi-=65536,tr+=tt(oi>>>10|55296),oi=56320|oi&1023),oi=tr+tt(oi))):xr!==Oe&&Ri(Xt,Lr)),oi?(Qt(),ai=ar(),Le=Ii-1,dt+=Ii-_e+1,Sn.push(oi),Rr=ar(),Rr.offset++,di&&di.call($e,oi,{start:ai,end:Rr},Jt.slice(_e-1,Ii)),ai=Rr):(_n=Jt.slice(_e-1,Ii),bt+=_n,dt+=_n.length,Le=Ii-1)}else rn===10&&(je++,Xe++,dt=0),rn===rn?(bt+=tt(rn),dt++):Qt();return Sn.join("");function ar(){return{line:je,column:dt,offset:Le+(jt.offset||0)}}function hi(Wr,oo){var dr=ar();dr.column+=oo,dr.offset+=oo,At.call(Wt,on[Wr],dr,Wr)}function Qt(){bt&&(Sn.push(bt),Nn&&Nn.call(Ot,bt,{start:ai,end:ar()}),bt="")}}function nt(Jt){return Jt>=55296&&Jt<=57343||Jt>1114111}function ot(Jt){return Jt>=1&&Jt<=8||Jt===11||Jt>=13&&Jt<=31||Jt>=127&&Jt<=159||Jt>=64976&&Jt<=65007||(Jt&65535)===65535||(Jt&65535)===65534}},42289:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Dn}});function ce(Lt){"@babel/helpers - typeof";return ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ft){return typeof Ft}:function(Ft){return Ft&&typeof Symbol=="function"&&Ft.constructor===Symbol&&Ft!==Symbol.prototype?"symbol":typeof Ft},ce(Lt)}function Ae(Lt,Ft){if(ce(Lt)!="object"||!Lt)return Lt;var Yt=Lt[Symbol.toPrimitive];if(Yt!==void 0){var pn=Yt.call(Lt,Ft||"default");if(ce(pn)!="object")return pn;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ft==="string"?String:Number)(Lt)}function Fe(Lt){var Ft=Ae(Lt,"string");return ce(Ft)=="symbol"?Ft:Ft+""}function ke(Lt,Ft,Yt){return(Ft=Fe(Ft))in Lt?Object.defineProperty(Lt,Ft,{value:Yt,enumerable:!0,configurable:!0,writable:!0}):Lt[Ft]=Yt,Lt}function Ye(Lt,Ft){var Yt=Object.keys(Lt);if(Object.getOwnPropertySymbols){var pn=Object.getOwnPropertySymbols(Lt);Ft&&(pn=pn.filter(function(ti){return Object.getOwnPropertyDescriptor(Lt,ti).enumerable})),Yt.push.apply(Yt,pn)}return Yt}function Pe(Lt){for(var Ft=1;Ft<arguments.length;Ft++){var Yt=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?Ye(Object(Yt),!0).forEach(function(pn){ke(Lt,pn,Yt[pn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Lt,Object.getOwnPropertyDescriptors(Yt)):Ye(Object(Yt)).forEach(function(pn){Object.defineProperty(Lt,pn,Object.getOwnPropertyDescriptor(Yt,pn))})}return Lt}function Ue(Lt){if(Array.isArray(Lt))return Lt}function tt(Lt,Ft){var Yt=Lt==null?null:typeof Symbol!="undefined"&&Lt[Symbol.iterator]||Lt["@@iterator"];if(Yt!=null){var pn,ti,Li,Pi,Fn=[],st=!0,br=!1;try{if(Li=(Yt=Yt.call(Lt)).next,Ft===0){if(Object(Yt)!==Yt)return;st=!1}else for(;!(st=(pn=Li.call(Yt)).done)&&(Fn.push(pn.value),Fn.length!==Ft);st=!0);}catch(_r){br=!0,ti=_r}finally{try{if(!st&&Yt.return!=null&&(Pi=Yt.return(),Object(Pi)!==Pi))return}finally{if(br)throw ti}}return Fn}}function Ze(Lt,Ft){(Ft==null||Ft>Lt.length)&&(Ft=Lt.length);for(var Yt=0,pn=Array(Ft);Yt<Ft;Yt++)pn[Yt]=Lt[Yt];return pn}function rt(Lt,Ft){if(Lt){if(typeof Lt=="string")return Ze(Lt,Ft);var Yt={}.toString.call(Lt).slice(8,-1);return Yt==="Object"&&Lt.constructor&&(Yt=Lt.constructor.name),Yt==="Map"||Yt==="Set"?Array.from(Lt):Yt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Yt)?Ze(Lt,Ft):void 0}}function xt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qe(Lt,Ft){return Ue(Lt)||tt(Lt,Ft)||rt(Lt,Ft)||xt()}function Mt(Lt){if(Array.isArray(Lt))return Lt}function De(Lt,Ft){var Yt=Lt==null?null:typeof Symbol!="undefined"&&Lt[Symbol.iterator]||Lt["@@iterator"];if(Yt!=null){var pn,ti,Li,Pi,Fn=[],st=!0,br=!1;try{if(Li=(Yt=Yt.call(Lt)).next,Ft===0){if(Object(Yt)!==Yt)return;st=!1}else for(;!(st=(pn=Li.call(Yt)).done)&&(Fn.push(pn.value),Fn.length!==Ft);st=!0);}catch(_r){br=!0,ti=_r}finally{try{if(!st&&Yt.return!=null&&(Pi=Yt.return(),Object(Pi)!==Pi))return}finally{if(br)throw ti}}return Fn}}function te(Lt,Ft){(Ft==null||Ft>Lt.length)&&(Ft=Lt.length);for(var Yt=0,pn=new Array(Ft);Yt<Ft;Yt++)pn[Yt]=Lt[Yt];return pn}function ee(Lt,Ft){if(Lt){if(typeof Lt=="string")return te(Lt,Ft);var Yt=Object.prototype.toString.call(Lt).slice(8,-1);if(Yt==="Object"&&Lt.constructor&&(Yt=Lt.constructor.name),Yt==="Map"||Yt==="Set")return Array.from(Lt);if(Yt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Yt))return te(Lt,Ft)}}function de(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function se(Lt,Ft){return Mt(Lt)||De(Lt,Ft)||ee(Lt,Ft)||de()}var ge=ue(67294),ve=ue(73935);function be(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var we={};function Oe(Lt,Ft){}function Ke(Lt,Ft){}function qe(){we={}}function lt(Lt,Ft,Yt){!Ft&&!we[Yt]&&(Lt(!1,Yt),we[Yt]=!0)}function at(Lt,Ft){lt(Oe,Lt,Ft)}function ft(Lt,Ft){lt(Ke,Lt,Ft)}var pt=null;function Nt(Lt){"@babel/helpers - typeof";return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ft){return typeof Ft}:function(Ft){return Ft&&typeof Symbol=="function"&&Ft.constructor===Symbol&&Ft!==Symbol.prototype?"symbol":typeof Ft},Nt(Lt)}var Xt=ue(18459);function Zt(Lt,Ft,Yt){var pn=ge.useRef({});return(!("value"in pn.current)||Yt(pn.current.condition,Ft))&&(pn.current.value=Lt(),pn.current.condition=Ft),pn.current.value}function yn(Lt,Ft){typeof Lt=="function"?Lt(Ft):Nt(Lt)==="object"&&Lt&&"current"in Lt&&(Lt.current=Ft)}function Ln(){for(var Lt=arguments.length,Ft=new Array(Lt),Yt=0;Yt<Lt;Yt++)Ft[Yt]=arguments[Yt];var pn=Ft.filter(function(ti){return ti});return pn.length<=1?pn[0]:function(ti){Ft.forEach(function(Li){yn(Li,ti)})}}function on(){for(var Lt=arguments.length,Ft=new Array(Lt),Yt=0;Yt<Lt;Yt++)Ft[Yt]=arguments[Yt];return Zt(function(){return Ln.apply(void 0,Ft)},Ft,function(pn,ti){return pn.length===ti.length&&pn.every(function(Li,Pi){return Li===ti[Pi]})})}function Bn(Lt){var Ft,Yt,pn=(0,Xt.isMemo)(Lt)?Lt.type.type:Lt.type;return!(typeof pn=="function"&&!((Ft=pn.prototype)!==null&&Ft!==void 0&&Ft.render)||typeof Lt=="function"&&!((Yt=Lt.prototype)!==null&&Yt!==void 0&&Yt.render))}var Et=ge.createContext(null),nt=Et;function ot(Lt){if(Array.isArray(Lt))return te(Lt)}function Jt(Lt){if(typeof Symbol!="undefined"&&Lt[Symbol.iterator]!=null||Lt["@@iterator"]!=null)return Array.from(Lt)}function In(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gt(Lt){return ot(Lt)||Jt(Lt)||ee(Lt)||In()}var An=be()?ge.useLayoutEffect:ge.useEffect,Nn=An,di=function(Ft,Yt){var pn=React.useRef(!0);An(function(){if(!pn.current)return Ft()},Yt),An(function(){return pn.current=!1,function(){pn.current=!0}},[])},At=[];function Ot(Lt,Ft){var Yt=ge.useState(function(){if(!be())return null;var Vr=document.createElement("div");return Vr}),pn=se(Yt,1),ti=pn[0],Li=ge.useRef(!1),Pi=ge.useContext(nt),Fn=ge.useState(At),st=se(Fn,2),br=st[0],_r=st[1],to=Pi||(Li.current?void 0:function(Vr){_r(function(Mo){var co=[Vr].concat(Gt(Mo));return co})});function lo(){ti.parentElement||document.body.appendChild(ti),Li.current=!0}function uo(){var Vr;(Vr=ti.parentElement)===null||Vr===void 0||Vr.removeChild(ti),Li.current=!1}return Nn(function(){return Lt?Pi?Pi(lo):lo():uo(),uo},[Lt]),Nn(function(){br.length&&(br.forEach(function(Vr){return Vr()}),_r(At))},[br]),[ti,to]}function $e(Lt,Ft){if(!Lt)return!1;if(Lt.contains)return Lt.contains(Ft);for(var Yt=Ft;Yt;){if(Yt===Lt)return!0;Yt=Yt.parentNode}return!1}var Wt="data-rc-order",jt="rc-util-key",Je=new Map;function Me(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ft=Lt.mark;return Ft?Ft.startsWith("data-")?Ft:"data-".concat(Ft):jt}function Le(Lt){if(Lt.attachTo)return Lt.attachTo;var Ft=document.querySelector("head");return Ft||document.body}function Xe(Lt){return Lt==="queue"?"prependQueue":Lt?"prepend":"append"}function dt(Lt){return Array.from((Je.get(Lt)||Lt).children).filter(function(Ft){return Ft.tagName==="STYLE"})}function je(Lt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!be())return null;var Yt=Ft.csp,pn=Ft.prepend,ti=document.createElement("style");ti.setAttribute(Wt,Xe(pn)),Yt!=null&&Yt.nonce&&(ti.nonce=Yt==null?void 0:Yt.nonce),ti.innerHTML=Lt;var Li=Le(Ft),Pi=Li.firstChild;if(pn){if(pn==="queue"){var Fn=dt(Li).filter(function(st){return["prepend","prependQueue"].includes(st.getAttribute(Wt))});if(Fn.length)return Li.insertBefore(ti,Fn[Fn.length-1].nextSibling),ti}Li.insertBefore(ti,Pi)}else Li.appendChild(ti);return ti}function bt(Lt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Yt=Le(Ft);return dt(Yt).find(function(pn){return pn.getAttribute(Me(Ft))===Lt})}function Sn(Lt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Yt=bt(Lt,Ft);if(Yt){var pn=Le(Ft);pn.removeChild(Yt)}}function ni(Lt,Ft){var Yt=Je.get(Lt);if(!Yt||!$e(document,Yt)){var pn=je("",Ft),ti=pn.parentNode;Je.set(Lt,ti),Lt.removeChild(pn)}}function ui(){Je.clear()}function vn(Lt,Ft){var Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},pn=Le(Yt);ni(pn,Yt);var ti=bt(Ft,Yt);if(ti){var Li,Pi;if((Li=Yt.csp)!==null&&Li!==void 0&&Li.nonce&&ti.nonce!==((Pi=Yt.csp)===null||Pi===void 0?void 0:Pi.nonce)){var Fn;ti.nonce=(Fn=Yt.csp)===null||Fn===void 0?void 0:Fn.nonce}return ti.innerHTML!==Lt&&(ti.innerHTML=Lt),ti}var st=je(Lt,Yt);return st.setAttribute(Me(Yt),Ft),st}var _n;function rn(Lt){if(typeof document=="undefined")return 0;if(Lt||_n===void 0){var Ft=document.createElement("div");Ft.style.width="100%",Ft.style.height="200px";var Yt=document.createElement("div"),pn=Yt.style;pn.position="absolute",pn.top="0",pn.left="0",pn.pointerEvents="none",pn.visibility="hidden",pn.width="200px",pn.height="150px",pn.overflow="hidden",Yt.appendChild(Ft),document.body.appendChild(Yt);var ti=Ft.offsetWidth;Yt.style.overflow="scroll";var Li=Ft.offsetWidth;ti===Li&&(Li=Yt.clientWidth),document.body.removeChild(Yt),_n=ti-Li}return _n}function oi(Lt){var Ft=Lt.match(/^(.*)px$/),Yt=Number(Ft==null?void 0:Ft[1]);return Number.isNaN(Yt)?rn():Yt}function ei(Lt){if(typeof document=="undefined"||!Lt||!(Lt instanceof Element))return{width:0,height:0};var Ft=getComputedStyle(Lt,"::-webkit-scrollbar"),Yt=Ft.width,pn=Ft.height;return{width:oi(Yt),height:oi(pn)}}function Ri(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var cn="rc-util-locker-".concat(Date.now()),tr=0;function Xi(Lt){var Ft=!!Lt,Yt=ge.useState(function(){return tr+=1,"".concat(cn,"_").concat(tr)}),pn=se(Yt,1),ti=pn[0];Nn(function(){if(Ft){var Li=ei(document.body).width,Pi=Ri();vn(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(Pi?"width: calc(100% - ".concat(Li,"px);"):"",`
|
|
|
}`),ti)}else Sn(ti);return function(){Sn(ti)}},[Ft,ti])}var $t=!1;function _e(Lt){return typeof Lt=="boolean"&&($t=Lt),$t}var xr=function(Ft){return Ft===!1?!1:!be()||!Ft?null:typeof Ft=="string"?document.querySelector(Ft):typeof Ft=="function"?Ft():Ft},er=ge.forwardRef(function(Lt,Ft){var Yt=Lt.open,pn=Lt.autoLock,ti=Lt.getContainer,Li=Lt.debug,Pi=Lt.autoDestroy,Fn=Pi===void 0?!0:Pi,st=Lt.children,br=ge.useState(Yt),_r=se(br,2),to=_r[0],lo=_r[1],uo=to||Yt;ge.useEffect(function(){(Fn||Yt)&&lo(Yt)},[Yt,Fn]);var Vr=ge.useState(function(){return xr(ti)}),Mo=se(Vr,2),co=Mo[0],Ir=Mo[1];ge.useEffect(function(){var yo=xr(ti);Ir(yo!=null?yo:null)});var or=Ot(uo&&!co,Li),Di=se(or,2),Ci=Di[0],ji=Di[1],fn=co!=null?co:Ci;Xi(pn&&Yt&&be()&&(fn===Ci||fn===document.body));var $i=null;if(st&&Bn(st)&&Ft){var Ji=st;$i=Ji.ref}var Gr=on($i,Ft);if(!uo||!be()||co===void 0)return null;var io=fn===!1||_e(),qr=st;return Ft&&(qr=ge.cloneElement(st,{ref:Gr})),ge.createElement(nt.Provider,{value:ji},io?qr:(0,ve.createPortal)(qr,fn))}),ai=er,Rr=ai;function Lr(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ii=Lr()?ge.useLayoutEffect:ge.useEffect,ar=function(Ft,Yt){var pn=ge.useRef(!0);Ii(function(){return Ft(pn.current)},Yt),Ii(function(){return pn.current=!1,function(){pn.current=!0}},[])},hi=function(Ft,Yt){ar(function(pn){if(!pn)return Ft()},Yt)},Qt=ar,Wr=ge.createContext(null),oo=ge.createContext({}),dr=Wr;function xo(){return xo=Object.assign?Object.assign.bind():function(Lt){for(var Ft=1;Ft<arguments.length;Ft++){var Yt=arguments[Ft];for(var pn in Yt)({}).hasOwnProperty.call(Yt,pn)&&(Lt[pn]=Yt[pn])}return Lt},xo.apply(null,arguments)}var yr=ue(94184),On=ue.n(yr),Ie=ue(62874),Mn={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ft){var Yt=Ft.keyCode;if(Ft.altKey&&!Ft.ctrlKey||Ft.metaKey||Yt>=Mn.F1&&Yt<=Mn.F12)return!1;switch(Yt){case Mn.ALT:case Mn.CAPS_LOCK:case Mn.CONTEXT_MENU:case Mn.CTRL:case Mn.DOWN:case Mn.END:case Mn.ESC:case Mn.HOME:case Mn.INSERT:case Mn.LEFT:case Mn.MAC_FF_META:case Mn.META:case Mn.NUMLOCK:case Mn.NUM_CENTER:case Mn.PAGE_DOWN:case Mn.PAGE_UP:case Mn.PAUSE:case Mn.PRINT_SCREEN:case Mn.RIGHT:case Mn.SHIFT:case Mn.UP:case Mn.WIN_KEY:case Mn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ft){if(Ft>=Mn.ZERO&&Ft<=Mn.NINE||Ft>=Mn.NUM_ZERO&&Ft<=Mn.NUM_MULTIPLY||Ft>=Mn.A&&Ft<=Mn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ft===0)return!0;switch(Ft){case Mn.SPACE:case Mn.QUESTION_MARK:case Mn.NUM_PLUS:case Mn.NUM_MINUS:case Mn.NUM_PERIOD:case Mn.NUM_DIVISION:case Mn.SEMICOLON:case Mn.DASH:case Mn.EQUALS:case Mn.COMMA:case Mn.PERIOD:case Mn.SLASH:case Mn.APOSTROPHE:case Mn.SINGLE_QUOTE:case Mn.OPEN_SQUARE_BRACKET:case Mn.BACKSLASH:case Mn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Kn=Mn;function ri(Lt){"@babel/helpers - typeof";return ri=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ft){return typeof Ft}:function(Ft){return Ft&&typeof Symbol=="function"&&Ft.constructor===Symbol&&Ft!==Symbol.prototype?"symbol":typeof Ft},ri(Lt)}function fi(Lt,Ft){if(ri(Lt)!=="object"||Lt===null)return Lt;var Yt=Lt[Symbol.toPrimitive];if(Yt!==void 0){var pn=Yt.call(Lt,Ft||"default");if(ri(pn)!=="object")return pn;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ft==="string"?String:Number)(Lt)}function vi(Lt){var Ft=fi(Lt,"string");return ri(Ft)==="symbol"?Ft:String(Ft)}function Ni(Lt,Ft,Yt){return Ft=vi(Ft),Ft in Lt?Object.defineProperty(Lt,Ft,{value:Yt,enumerable:!0,configurable:!0,writable:!0}):Lt[Ft]=Yt,Lt}function hr(Lt,Ft){var Yt=Object.keys(Lt);if(Object.getOwnPropertySymbols){var pn=Object.getOwnPropertySymbols(Lt);Ft&&(pn=pn.filter(function(ti){return Object.getOwnPropertyDescriptor(Lt,ti).enumerable})),Yt.push.apply(Yt,pn)}return Yt}function un(Lt){for(var Ft=1;Ft<arguments.length;Ft++){var Yt=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?hr(Object(Yt),!0).forEach(function(pn){Ni(Lt,pn,Yt[pn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Lt,Object.getOwnPropertyDescriptors(Yt)):hr(Object(Yt)).forEach(function(pn){Object.defineProperty(Lt,pn,Object.getOwnPropertyDescriptor(Yt,pn))})}return Lt}var hn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,Kt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,bn="".concat(hn," ").concat(Kt).split(/[\s\n]+/),Mi="aria-",Oi="data-";function bi(Lt,Ft){return Lt.indexOf(Ft)===0}function sn(Lt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Yt;Ft===!1?Yt={aria:!0,data:!0,attr:!0}:Ft===!0?Yt={aria:!0}:Yt=un({},Ft);var pn={};return Object.keys(Lt).forEach(function(ti){(Yt.aria&&(ti==="role"||bi(ti,Mi))||Yt.data&&bi(ti,Oi)||Yt.attr&&bn.includes(ti))&&(pn[ti]=Lt[ti])}),pn}function Un(Lt,Ft){if(Lt==null)return{};var Yt={};for(var pn in Lt)if({}.hasOwnProperty.call(Lt,pn)){if(Ft.indexOf(pn)!==-1)continue;Yt[pn]=Lt[pn]}return Yt}function Wi(Lt,Ft){if(Lt==null)return{};var Yt,pn,ti=Un(Lt,Ft);if(Object.getOwnPropertySymbols){var Li=Object.getOwnPropertySymbols(Lt);for(pn=0;pn<Li.length;pn++)Yt=Li[pn],Ft.indexOf(Yt)===-1&&{}.propertyIsEnumerable.call(Lt,Yt)&&(ti[Yt]=Lt[Yt])}return ti}var ir=ue(33993);function si(Lt,Ft,Yt){var pn=ge.useRef({});return(!("value"in pn.current)||Yt(pn.current.condition,Ft))&&(pn.current.value=Lt(),pn.current.condition=Ft),pn.current.value}var tn=Symbol.for("react.element"),Hi=Symbol.for("react.transitional.element"),lr=Symbol.for("react.fragment");function Hr(Lt){return Lt&&_typeof(Lt)==="object"&&(Lt.$$typeof===tn||Lt.$$typeof===Hi)&&Lt.type===lr}var jn=Number(ge.version.split(".")[0]),qi=function(Ft,Yt){typeof Ft=="function"?Ft(Yt):ri(Ft)==="object"&&Ft&&"current"in Ft&&(Ft.current=Yt)},ao=function(){for(var Ft=arguments.length,Yt=new Array(Ft),pn=0;pn<Ft;pn++)Yt[pn]=arguments[pn];var ti=Yt.filter(Boolean);return ti.length<=1?ti[0]:function(Li){Yt.forEach(function(Pi){qi(Pi,Li)})}},jo=function(){for(var Ft=arguments.length,Yt=new Array(Ft),pn=0;pn<Ft;pn++)Yt[pn]=arguments[pn];return si(function(){return ao.apply(void 0,Yt)},Yt,function(ti,Li){return ti.length!==Li.length||ti.every(function(Pi,Fn){return Pi!==Li[Fn]})})},ko=function(Ft){var Yt,pn;if(!Ft)return!1;if(Vi(Ft)&&jn>=19)return!0;var ti=isMemo(Ft)?Ft.type.type:Ft.type;return!(typeof ti=="function"&&!((Yt=ti.prototype)!==null&&Yt!==void 0&&Yt.render)&&ti.$$typeof!==ForwardRef||typeof Ft=="function"&&!((pn=Ft.prototype)!==null&&pn!==void 0&&pn.render)&&Ft.$$typeof!==ForwardRef)};function Vi(Lt){return isValidElement(Lt)&&!isFragment(Lt)}var Qi=function(Ft){return Vi(Ft)&&ko(Ft)},sr=function(Ft){if(Ft&&Vi(Ft)){var Yt=Ft;return Yt.props.propertyIsEnumerable("ref")?Yt.props.ref:Yt.ref}return null},Zr=["prefixCls","className","containerRef"],Io=function(Ft){var Yt=Ft.prefixCls,pn=Ft.className,ti=Ft.containerRef,Li=Wi(Ft,Zr),Pi=ge.useContext(oo),Fn=Pi.panel,st=jo(Fn,ti);return ge.createElement("div",xo({className:On()("".concat(Yt,"-content"),pn),role:"dialog",ref:st},sn(Ft,{aria:!0}),{"aria-modal":"true"},Li))},Si=Io,mr={},ja=[],Ha=function(Ft){ja.push(Ft)};function Sa(Lt,Ft){if(0)var Yt}function nn(Lt,Ft){if(0)var Yt}function pr(){mr={}}function Jr(Lt,Ft,Yt){!Ft&&!mr[Yt]&&(Lt(!1,Yt),mr[Yt]=!0)}function vr(Lt,Ft){Jr(Sa,Lt,Ft)}function ia(Lt,Ft){Jr(nn,Lt,Ft)}vr.preMessage=Ha,vr.resetWarned=pr,vr.noteOnce=ia;var vo=vr;function Po(Lt){return typeof Lt=="string"&&String(Number(Lt))===Lt?(vo(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Lt)):Lt}function bo(Lt){warning(!("wrapperClassName"in Lt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Lt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var so={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Do(Lt,Ft){var Yt,pn,ti,Li=Lt.prefixCls,Pi=Lt.open,Fn=Lt.placement,st=Lt.inline,br=Lt.push,_r=Lt.forceRender,to=Lt.autoFocus,lo=Lt.keyboard,uo=Lt.classNames,Vr=Lt.rootClassName,Mo=Lt.rootStyle,co=Lt.zIndex,Ir=Lt.className,or=Lt.id,Di=Lt.style,Ci=Lt.motion,ji=Lt.width,fn=Lt.height,$i=Lt.children,Ji=Lt.mask,Gr=Lt.maskClosable,io=Lt.maskMotion,qr=Lt.maskClassName,yo=Lt.maskStyle,ea=Lt.afterOpenChange,Zo=Lt.onClose,ua=Lt.onMouseEnter,ba=Lt.onMouseOver,an=Lt.onMouseLeave,qo=Lt.onClick,fa=Lt.onKeyDown,Ra=Lt.onKeyUp,po=Lt.styles,Xa=Lt.drawerRender,Na=ge.useRef(),qa=ge.useRef(),Co=ge.useRef();ge.useImperativeHandle(Ft,function(){return Na.current});var Go=function(ts){var Yr=ts.keyCode,Is=ts.shiftKey;switch(Yr){case Kn.TAB:{if(Yr===Kn.TAB){if(!Is&&document.activeElement===Co.current){var Ba;(Ba=qa.current)===null||Ba===void 0||Ba.focus({preventScroll:!0})}else if(Is&&document.activeElement===qa.current){var ns;(ns=Co.current)===null||ns===void 0||ns.focus({preventScroll:!0})}}break}case Kn.ESC:{Zo&&lo&&(ts.stopPropagation(),Zo(ts));break}}};ge.useEffect(function(){if(Pi&&to){var wa;(wa=Na.current)===null||wa===void 0||wa.focus({preventScroll:!0})}},[Pi]);var wr=ge.useState(!1),$r=Qe(wr,2),ho=$r[0],_o=$r[1],Zi=ge.useContext(dr),Ea;typeof br=="boolean"?Ea=br?{}:{distance:0}:Ea=br||{};var ca=(Yt=(pn=(ti=Ea)===null||ti===void 0?void 0:ti.distance)!==null&&pn!==void 0?pn:Zi==null?void 0:Zi.pushDistance)!==null&&Yt!==void 0?Yt:180,ga=ge.useMemo(function(){return{pushDistance:ca,push:function(){_o(!0)},pull:function(){_o(!1)}}},[ca]);ge.useEffect(function(){if(Pi){var wa;Zi==null||(wa=Zi.push)===null||wa===void 0||wa.call(Zi)}else{var ts;Zi==null||(ts=Zi.pull)===null||ts===void 0||ts.call(Zi)}},[Pi]),ge.useEffect(function(){return function(){var wa;Zi==null||(wa=Zi.pull)===null||wa===void 0||wa.call(Zi)}},[]);var rs=Ji&&ge.createElement(Ie.Z,xo({key:"mask"},io,{visible:Pi}),function(wa,ts){var Yr=wa.className,Is=wa.style;return ge.createElement("div",{className:On()("".concat(Li,"-mask"),Yr,uo==null?void 0:uo.mask,qr),style:Pe(Pe(Pe({},Is),yo),po==null?void 0:po.mask),onClick:Gr&&Pi?Zo:void 0,ref:ts})}),us=typeof Ci=="function"?Ci(Fn):Ci,wi={};if(ho&&ca)switch(Fn){case"top":wi.transform="translateY(".concat(ca,"px)");break;case"bottom":wi.transform="translateY(".concat(-ca,"px)");break;case"left":wi.transform="translateX(".concat(ca,"px)");break;default:wi.transform="translateX(".concat(-ca,"px)");break}Fn==="left"||Fn==="right"?wi.width=Po(ji):wi.height=Po(fn);var pa={onMouseEnter:ua,onMouseOver:ba,onMouseLeave:an,onClick:qo,onKeyDown:fa,onKeyUp:Ra},ka=ge.createElement(Ie.Z,xo({key:"panel"},us,{visible:Pi,forceRender:_r,onVisibleChanged:function(ts){ea==null||ea(ts)},removeOnLeave:!1,leavedClassName:"".concat(Li,"-content-wrapper-hidden")}),function(wa,ts){var Yr=wa.className,Is=wa.style,Ba=ge.createElement(Si,xo({id:or,containerRef:ts,prefixCls:Li,className:On()(Ir,uo==null?void 0:uo.content),style:Pe(Pe({},Di),po==null?void 0:po.content)},sn(Lt,{aria:!0}),pa),$i);return ge.createElement("div",xo({className:On()("".concat(Li,"-content-wrapper"),uo==null?void 0:uo.wrapper,Yr),style:Pe(Pe(Pe({},wi),Is),po==null?void 0:po.wrapper)},sn(Lt,{data:!0})),Xa?Xa(Ba):Ba)}),fs=Pe({},Mo);return co&&(fs.zIndex=co),ge.createElement(dr.Provider,{value:ga},ge.createElement("div",{className:On()(Li,"".concat(Li,"-").concat(Fn),Vr,ke(ke({},"".concat(Li,"-open"),Pi),"".concat(Li,"-inline"),st)),style:fs,tabIndex:-1,ref:Na,onKeyDown:Go},rs,ge.createElement("div",{tabIndex:0,ref:qa,style:so,"aria-hidden":"true","data-sentinel":"start"}),ka,ge.createElement("div",{tabIndex:0,ref:Co,style:so,"aria-hidden":"true","data-sentinel":"end"})))}var Qn=ge.forwardRef(Do),$o=Qn,Rt=function(Ft){var Yt=Ft.open,pn=Yt===void 0?!1:Yt,ti=Ft.prefixCls,Li=ti===void 0?"rc-drawer":ti,Pi=Ft.placement,Fn=Pi===void 0?"right":Pi,st=Ft.autoFocus,br=st===void 0?!0:st,_r=Ft.keyboard,to=_r===void 0?!0:_r,lo=Ft.width,uo=lo===void 0?378:lo,Vr=Ft.mask,Mo=Vr===void 0?!0:Vr,co=Ft.maskClosable,Ir=co===void 0?!0:co,or=Ft.getContainer,Di=Ft.forceRender,Ci=Ft.afterOpenChange,ji=Ft.destroyOnClose,fn=Ft.onMouseEnter,$i=Ft.onMouseOver,Ji=Ft.onMouseLeave,Gr=Ft.onClick,io=Ft.onKeyDown,qr=Ft.onKeyUp,yo=Ft.panelRef,ea=ge.useState(!1),Zo=Qe(ea,2),ua=Zo[0],ba=Zo[1],an=ge.useState(!1),qo=Qe(an,2),fa=qo[0],Ra=qo[1];Qt(function(){Ra(!0)},[]);var po=fa?pn:!1,Xa=ge.useRef(),Na=ge.useRef();Qt(function(){po&&(Na.current=document.activeElement)},[po]);var qa=function(ho){var _o;if(ba(ho),Ci==null||Ci(ho),!ho&&Na.current&&!((_o=Xa.current)!==null&&_o!==void 0&&_o.contains(Na.current))){var Zi;(Zi=Na.current)===null||Zi===void 0||Zi.focus({preventScroll:!0})}},Co=ge.useMemo(function(){return{panel:yo}},[yo]);if(!Di&&!ua&&!po&&ji)return null;var Go={onMouseEnter:fn,onMouseOver:$i,onMouseLeave:Ji,onClick:Gr,onKeyDown:io,onKeyUp:qr},wr=Pe(Pe({},Ft),{},{open:po,prefixCls:Li,placement:Fn,autoFocus:br,keyboard:to,width:uo,mask:Mo,maskClosable:Ir,inline:or===!1,afterOpenChange:qa,ref:Xa},Go);return ge.createElement(oo.Provider,{value:Co},ge.createElement(Rr,{open:po||Di||ua,autoDestroy:!1,getContainer:or,autoLock:Mo&&(po||ua)},ge.createElement($o,wr)))},ut=Rt,Dn=ut},26819:function(Re,xe){"use strict";var ue;var ce=typeof Symbol=="function"&&Symbol.for,Ae=ce?Symbol.for("react.element"):60103,Fe=ce?Symbol.for("react.portal"):60106,ke=ce?Symbol.for("react.fragment"):60107,Ye=ce?Symbol.for("react.strict_mode"):60108,Pe=ce?Symbol.for("react.profiler"):60114,Ue=ce?Symbol.for("react.provider"):60109,tt=ce?Symbol.for("react.context"):60110,Ze=ce?Symbol.for("react.async_mode"):60111,rt=ce?Symbol.for("react.concurrent_mode"):60111,xt=ce?Symbol.for("react.forward_ref"):60112,Qe=ce?Symbol.for("react.suspense"):60113,Mt=ce?Symbol.for("react.suspense_list"):60120,De=ce?Symbol.for("react.memo"):60115,te=ce?Symbol.for("react.lazy"):60116,ee=ce?Symbol.for("react.block"):60121,de=ce?Symbol.for("react.fundamental"):60117,se=ce?Symbol.for("react.responder"):60118,ge=ce?Symbol.for("react.scope"):60119;function ve(we){if(typeof we=="object"&&we!==null){var Oe=we.$$typeof;switch(Oe){case Ae:switch(we=we.type,we){case Ze:case rt:case ke:case Pe:case Ye:case Qe:return we;default:switch(we=we&&we.$$typeof,we){case tt:case xt:case te:case De:case Ue:return we;default:return Oe}}case Fe:return Oe}}}function be(we){return ve(we)===rt}ue=Ze,ue=rt,ue=tt,ue=Ue,ue=Ae,ue=xt,ue=ke,ue=te,ue=De,ue=Fe,ue=Pe,ue=Ye,ue=Qe,ue=function(we){return be(we)||ve(we)===Ze},ue=be,ue=function(we){return ve(we)===tt},ue=function(we){return ve(we)===Ue},ue=function(we){return typeof we=="object"&&we!==null&&we.$$typeof===Ae},ue=function(we){return ve(we)===xt},ue=function(we){return ve(we)===ke},ue=function(we){return ve(we)===te},xe.isMemo=function(we){return ve(we)===De},ue=function(we){return ve(we)===Fe},ue=function(we){return ve(we)===Pe},ue=function(we){return ve(we)===Ye},ue=function(we){return ve(we)===Qe},ue=function(we){return typeof we=="string"||typeof we=="function"||we===ke||we===rt||we===Pe||we===Ye||we===Qe||we===Mt||typeof we=="object"&&we!==null&&(we.$$typeof===te||we.$$typeof===De||we.$$typeof===Ue||we.$$typeof===tt||we.$$typeof===xt||we.$$typeof===de||we.$$typeof===se||we.$$typeof===ge||we.$$typeof===ee)},ue=ve},18459:function(Re,xe,ue){"use strict";Re.exports=ue(26819)},16651:function(Re,xe){"use strict";var ue;var ce=Symbol.for("react.element"),Ae=Symbol.for("react.portal"),Fe=Symbol.for("react.fragment"),ke=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Pe=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),tt=Symbol.for("react.server_context"),Ze=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Qe=Symbol.for("react.memo"),Mt=Symbol.for("react.lazy"),De=Symbol.for("react.offscreen"),te;te=Symbol.for("react.module.reference");function ee(de){if(typeof de=="object"&&de!==null){var se=de.$$typeof;switch(se){case ce:switch(de=de.type,de){case Fe:case Ye:case ke:case rt:case xt:return de;default:switch(de=de&&de.$$typeof,de){case tt:case Ue:case Ze:case Mt:case Qe:case Pe:return de;default:return se}}case Ae:return se}}}ue=Ue,ue=Pe,ue=ce,ue=Ze,ue=Fe,ue=Mt,ue=Qe,ue=Ae,ue=Ye,ue=ke,ue=rt,ue=xt,ue=function(){return!1},ue=function(){return!1},ue=function(de){return ee(de)===Ue},ue=function(de){return ee(de)===Pe},ue=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===ce},ue=function(de){return ee(de)===Ze},ue=function(de){return ee(de)===Fe},ue=function(de){return ee(de)===Mt},ue=function(de){return ee(de)===Qe},ue=function(de){return ee(de)===Ae},ue=function(de){return ee(de)===Ye},ue=function(de){return ee(de)===ke},ue=function(de){return ee(de)===rt},ue=function(de){return ee(de)===xt},ue=function(de){return typeof de=="string"||typeof de=="function"||de===Fe||de===Ye||de===ke||de===rt||de===xt||de===De||typeof de=="object"&&de!==null&&(de.$$typeof===Mt||de.$$typeof===Qe||de.$$typeof===Pe||de.$$typeof===Ue||de.$$typeof===Ze||de.$$typeof===te||de.getModuleId!==void 0)},ue=ee},33993:function(Re,xe,ue){"use strict";ue(16651)},64909:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return $o}});var ce=ue(87462),Ae=ue(1413),Fe=ue(4942),ke=ue(97685),Ye=ue(71002),Pe=ue(45987),Ue=ue(94184),tt=ue.n(Ue),Ze=/margin|padding|width|height|max|min|offset/,rt={left:!0,top:!0},xt={cssFloat:1,styleFloat:1,float:1};function Qe(Rt){return Rt.nodeType===1?Rt.ownerDocument.defaultView.getComputedStyle(Rt,null):{}}function Mt(Rt,ut,Dn){if(ut=ut.toLowerCase(),Dn==="auto"){if(ut==="height")return Rt.offsetHeight;if(ut==="width")return Rt.offsetWidth}return ut in rt||(rt[ut]=Ze.test(ut)),rt[ut]?parseFloat(Dn)||0:Dn}function De(Rt,ut){var Dn=arguments.length,Lt=Qe(Rt);return ut=xt[ut]?"cssFloat"in Rt.style?"cssFloat":"styleFloat":ut,Dn===1?Lt:Mt(Rt,ut,Lt[ut]||Rt.style[ut])}function te(Rt,ut,Dn){var Lt=arguments.length;if(ut=xt[ut]?"cssFloat"in Rt.style?"cssFloat":"styleFloat":ut,Lt===3)return typeof Dn=="number"&&Ze.test(ut)&&(Dn="".concat(Dn,"px")),Rt.style[ut]=Dn,Dn;for(var Ft in ut)ut.hasOwnProperty(Ft)&&te(Rt,Ft,ut[Ft]);return Qe(Rt)}function ee(Rt){return Rt===document.body?document.documentElement.clientWidth:Rt.offsetWidth}function de(Rt){return Rt===document.body?window.innerHeight||document.documentElement.clientHeight:Rt.offsetHeight}function se(){var Rt=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ut=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Rt,height:ut}}function ge(){var Rt=document.documentElement.clientWidth,ut=window.innerHeight||document.documentElement.clientHeight;return{width:Rt,height:ut}}function ve(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function be(Rt){var ut=Rt.getBoundingClientRect(),Dn=document.documentElement;return{left:ut.left+(window.pageXOffset||Dn.scrollLeft)-(Dn.clientLeft||document.body.clientLeft||0),top:ut.top+(window.pageYOffset||Dn.scrollTop)-(Dn.clientTop||document.body.clientTop||0)}}var we=ue(67294),Oe=ue.t(we,2);function Ke(Rt){var ut=we.useRef();ut.current=Rt;var Dn=we.useCallback(function(){for(var Lt,Ft=arguments.length,Yt=new Array(Ft),pn=0;pn<Ft;pn++)Yt[pn]=arguments[pn];return(Lt=ut.current)===null||Lt===void 0?void 0:Lt.call.apply(Lt,[ut].concat(Yt))},[]);return Dn}function qe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var lt=qe()?we.useLayoutEffect:we.useEffect,at=function(ut,Dn){var Lt=we.useRef(!0);lt(function(){return ut(Lt.current)},Dn),lt(function(){return Lt.current=!1,function(){Lt.current=!0}},[])},ft=function(ut,Dn){at(function(Lt){if(!Lt)return ut()},Dn)},pt=null;function Nt(Rt){var ut=we.useRef(!1),Dn=we.useState(Rt),Lt=(0,ke.Z)(Dn,2),Ft=Lt[0],Yt=Lt[1];we.useEffect(function(){return ut.current=!1,function(){ut.current=!0}},[]);function pn(ti,Li){Li&&ut.current||Yt(ti)}return[Ft,pn]}function Xt(Rt){return Rt!==void 0}function Zt(Rt,ut){var Dn=ut||{},Lt=Dn.defaultValue,Ft=Dn.value,Yt=Dn.onChange,pn=Dn.postState,ti=Nt(function(){return Xt(Ft)?Ft:Xt(Lt)?typeof Lt=="function"?Lt():Lt:typeof Rt=="function"?Rt():Rt}),Li=(0,ke.Z)(ti,2),Pi=Li[0],Fn=Li[1],st=Ft!==void 0?Ft:Pi,br=pn?pn(st):st,_r=Ke(Yt),to=Nt([st]),lo=(0,ke.Z)(to,2),uo=lo[0],Vr=lo[1];ft(function(){var co=uo[0];Pi!==co&&_r(Pi,co)},[uo]),ft(function(){Xt(Ft)||Fn(Ft)},[Ft]);var Mo=Ke(function(co,Ir){Fn(co,Ir),Vr([st],Ir)});return[br,Mo]}var yn=ue(2788),Ln=we.createContext({});function on(Rt,ut){if(!Rt)return!1;if(Rt.contains)return Rt.contains(ut);for(var Dn=ut;Dn;){if(Dn===Rt)return!0;Dn=Dn.parentNode}return!1}function Bn(){var Rt=(0,Ae.Z)({},Oe);return Rt.useId}var Et=0;function nt(){}function ot(Rt){var ut=we.useState("ssr-id"),Dn=(0,ke.Z)(ut,2),Lt=Dn[0],Ft=Dn[1],Yt=Bn(),pn=Yt==null?void 0:Yt();return we.useEffect(function(){if(!Yt){var ti=Et;Et+=1,Ft("rc_unique_".concat(ti))}},[]),Rt||pn||Lt}var Jt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ut){var Dn=ut.keyCode;if(ut.altKey&&!ut.ctrlKey||ut.metaKey||Dn>=Jt.F1&&Dn<=Jt.F12)return!1;switch(Dn){case Jt.ALT:case Jt.CAPS_LOCK:case Jt.CONTEXT_MENU:case Jt.CTRL:case Jt.DOWN:case Jt.END:case Jt.ESC:case Jt.HOME:case Jt.INSERT:case Jt.LEFT:case Jt.MAC_FF_META:case Jt.META:case Jt.NUMLOCK:case Jt.NUM_CENTER:case Jt.PAGE_DOWN:case Jt.PAGE_UP:case Jt.PAUSE:case Jt.PRINT_SCREEN:case Jt.RIGHT:case Jt.SHIFT:case Jt.UP:case Jt.WIN_KEY:case Jt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ut){if(ut>=Jt.ZERO&&ut<=Jt.NINE||ut>=Jt.NUM_ZERO&&ut<=Jt.NUM_MULTIPLY||ut>=Jt.A&&ut<=Jt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ut===0)return!0;switch(ut){case Jt.SPACE:case Jt.QUESTION_MARK:case Jt.NUM_PLUS:case Jt.NUM_MINUS:case Jt.NUM_PERIOD:case Jt.NUM_DIVISION:case Jt.SEMICOLON:case Jt.DASH:case Jt.EQUALS:case Jt.COMMA:case Jt.PERIOD:case Jt.SLASH:case Jt.APOSTROPHE:case Jt.SINGLE_QUOTE:case Jt.OPEN_SQUARE_BRACKET:case Jt.BACKSLASH:case Jt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},In=Jt,Gt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,An=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Nn="".concat(Gt," ").concat(An).split(/[\s\n]+/),di="aria-",At="data-";function Ot(Rt,ut){return Rt.indexOf(ut)===0}function $e(Rt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dn;ut===!1?Dn={aria:!0,data:!0,attr:!0}:ut===!0?Dn={aria:!0}:Dn=(0,Ae.Z)({},ut);var Lt={};return Object.keys(Rt).forEach(function(Ft){(Dn.aria&&(Ft==="role"||Ot(Ft,di))||Dn.data&&Ot(Ft,At)||Dn.attr&&Nn.includes(Ft))&&(Lt[Ft]=Rt[Ft])}),Lt}function Wt(Rt,ut,Dn){var Lt=ut;return!Lt&&Dn&&(Lt="".concat(Rt,"-").concat(Dn)),Lt}function jt(Rt,ut){var Dn=Rt["page".concat(ut?"Y":"X","Offset")],Lt="scroll".concat(ut?"Top":"Left");if(typeof Dn!="number"){var Ft=Rt.document;Dn=Ft.documentElement[Lt],typeof Dn!="number"&&(Dn=Ft.body[Lt])}return Dn}function Je(Rt){var ut=Rt.getBoundingClientRect(),Dn={left:ut.left,top:ut.top},Lt=Rt.ownerDocument,Ft=Lt.defaultView||Lt.parentWindow;return Dn.left+=jt(Ft),Dn.top+=jt(Ft,!0),Dn}var Me=ue(62874),Le=ue(59864);function Xe(Rt,ut,Dn){var Lt=we.useRef({});return(!("value"in Lt.current)||Dn(Lt.current.condition,ut))&&(Lt.current.value=Rt(),Lt.current.condition=ut),Lt.current.value}function dt(Rt,ut){typeof Rt=="function"?Rt(ut):(0,Ye.Z)(Rt)==="object"&&Rt&&"current"in Rt&&(Rt.current=ut)}function je(){for(var Rt=arguments.length,ut=new Array(Rt),Dn=0;Dn<Rt;Dn++)ut[Dn]=arguments[Dn];var Lt=ut.filter(function(Ft){return Ft});return Lt.length<=1?Lt[0]:function(Ft){ut.forEach(function(Yt){dt(Yt,Ft)})}}function bt(){for(var Rt=arguments.length,ut=new Array(Rt),Dn=0;Dn<Rt;Dn++)ut[Dn]=arguments[Dn];return Xe(function(){return je.apply(void 0,ut)},ut,function(Lt,Ft){return Lt.length===Ft.length&&Lt.every(function(Yt,pn){return Yt===Ft[pn]})})}function Sn(Rt){var ut,Dn,Lt=isMemo(Rt)?Rt.type.type:Rt.type;return!(typeof Lt=="function"&&!((ut=Lt.prototype)!==null&&ut!==void 0&&ut.render)||typeof Rt=="function"&&!((Dn=Rt.prototype)!==null&&Dn!==void 0&&Dn.render))}var ni=we.memo(function(Rt){var ut=Rt.children;return ut},function(Rt,ut){var Dn=ut.shouldUpdate;return!Dn}),ui={width:0,height:0,overflow:"hidden",outline:"none"},vn={outline:"none"},_n=we.forwardRef(function(Rt,ut){var Dn=Rt.prefixCls,Lt=Rt.className,Ft=Rt.style,Yt=Rt.title,pn=Rt.ariaId,ti=Rt.footer,Li=Rt.closable,Pi=Rt.closeIcon,Fn=Rt.onClose,st=Rt.children,br=Rt.bodyStyle,_r=Rt.bodyProps,to=Rt.modalRender,lo=Rt.onMouseDown,uo=Rt.onMouseUp,Vr=Rt.holderRef,Mo=Rt.visible,co=Rt.forceRender,Ir=Rt.width,or=Rt.height,Di=Rt.classNames,Ci=Rt.styles,ji=we.useContext(Ln),fn=ji.panel,$i=bt(Vr,fn),Ji=(0,we.useRef)(),Gr=(0,we.useRef)();we.useImperativeHandle(ut,function(){return{focus:function(){var fa;(fa=Ji.current)===null||fa===void 0||fa.focus({preventScroll:!0})},changeActive:function(fa){var Ra=document,po=Ra.activeElement;fa&&po===Gr.current?Ji.current.focus({preventScroll:!0}):!fa&&po===Ji.current&&Gr.current.focus({preventScroll:!0})}}});var io={};Ir!==void 0&&(io.width=Ir),or!==void 0&&(io.height=or);var qr=ti?we.createElement("div",{className:tt()("".concat(Dn,"-footer"),Di==null?void 0:Di.footer),style:(0,Ae.Z)({},Ci==null?void 0:Ci.footer)},ti):null,yo=Yt?we.createElement("div",{className:tt()("".concat(Dn,"-header"),Di==null?void 0:Di.header),style:(0,Ae.Z)({},Ci==null?void 0:Ci.header)},we.createElement("div",{className:"".concat(Dn,"-title"),id:pn},Yt)):null,ea=(0,we.useMemo)(function(){return(0,Ye.Z)(Li)==="object"&&Li!==null?Li:Li?{closeIcon:Pi!=null?Pi:we.createElement("span",{className:"".concat(Dn,"-close-x")})}:{}},[Li,Pi,Dn]),Zo=$e(ea,!0),ua=(0,Ye.Z)(Li)==="object"&&Li.disabled,ba=Li?we.createElement("button",(0,ce.Z)({type:"button",onClick:Fn,"aria-label":"Close"},Zo,{className:"".concat(Dn,"-close"),disabled:ua}),ea.closeIcon):null,an=we.createElement("div",{className:tt()("".concat(Dn,"-content"),Di==null?void 0:Di.content),style:Ci==null?void 0:Ci.content},ba,yo,we.createElement("div",(0,ce.Z)({className:tt()("".concat(Dn,"-body"),Di==null?void 0:Di.body),style:(0,Ae.Z)((0,Ae.Z)({},br),Ci==null?void 0:Ci.body)},_r),st),qr);return we.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Yt?pn:null,"aria-modal":"true",ref:$i,style:(0,Ae.Z)((0,Ae.Z)({},Ft),io),className:tt()(Dn,Lt),onMouseDown:lo,onMouseUp:uo},we.createElement("div",{ref:Ji,tabIndex:0,style:vn},we.createElement(ni,{shouldUpdate:Mo||co},to?to(an):an)),we.createElement("div",{tabIndex:0,ref:Gr,style:ui}))}),rn=_n,oi=we.forwardRef(function(Rt,ut){var Dn=Rt.prefixCls,Lt=Rt.title,Ft=Rt.style,Yt=Rt.className,pn=Rt.visible,ti=Rt.forceRender,Li=Rt.destroyOnClose,Pi=Rt.motionName,Fn=Rt.ariaId,st=Rt.onVisibleChanged,br=Rt.mousePosition,_r=(0,we.useRef)(),to=we.useState(),lo=(0,ke.Z)(to,2),uo=lo[0],Vr=lo[1],Mo={};uo&&(Mo.transformOrigin=uo);function co(){var Ir=Je(_r.current);Vr(br&&(br.x||br.y)?"".concat(br.x-Ir.left,"px ").concat(br.y-Ir.top,"px"):"")}return we.createElement(Me.Z,{visible:pn,onVisibleChanged:st,onAppearPrepare:co,onEnterPrepare:co,forceRender:ti,motionName:Pi,removeOnLeave:Li,ref:_r},function(Ir,or){var Di=Ir.className,Ci=Ir.style;return we.createElement(rn,(0,ce.Z)({},Rt,{ref:ut,title:Lt,ariaId:Fn,prefixCls:Dn,holderRef:or,style:(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Ci),Ft),Mo),className:tt()(Yt,Di)}))})});oi.displayName="Content";var ei=oi,Ri=function(ut){var Dn=ut.prefixCls,Lt=ut.style,Ft=ut.visible,Yt=ut.maskProps,pn=ut.motionName,ti=ut.className;return we.createElement(Me.Z,{key:"mask",visible:Ft,motionName:pn,leavedClassName:"".concat(Dn,"-mask-hidden")},function(Li,Pi){var Fn=Li.className,st=Li.style;return we.createElement("div",(0,ce.Z)({ref:Pi,style:(0,Ae.Z)((0,Ae.Z)({},st),Lt),className:tt()("".concat(Dn,"-mask"),Fn,ti)},Yt))})},cn=Ri,tr={};function Xi(Rt,ut){}function $t(Rt,ut){}function _e(){tr={}}function xr(Rt,ut,Dn){!ut&&!tr[Dn]&&(Rt(!1,Dn),tr[Dn]=!0)}function er(Rt,ut){xr(Xi,Rt,ut)}function ai(Rt,ut){xr($t,Rt,ut)}var Rr=null,Lr=function(ut){var Dn=ut.prefixCls,Lt=Dn===void 0?"rc-dialog":Dn,Ft=ut.zIndex,Yt=ut.visible,pn=Yt===void 0?!1:Yt,ti=ut.keyboard,Li=ti===void 0?!0:ti,Pi=ut.focusTriggerAfterClose,Fn=Pi===void 0?!0:Pi,st=ut.wrapStyle,br=ut.wrapClassName,_r=ut.wrapProps,to=ut.onClose,lo=ut.afterOpenChange,uo=ut.afterClose,Vr=ut.transitionName,Mo=ut.animation,co=ut.closable,Ir=co===void 0?!0:co,or=ut.mask,Di=or===void 0?!0:or,Ci=ut.maskTransitionName,ji=ut.maskAnimation,fn=ut.maskClosable,$i=fn===void 0?!0:fn,Ji=ut.maskStyle,Gr=ut.maskProps,io=ut.rootClassName,qr=ut.classNames,yo=ut.styles,ea=(0,we.useRef)(),Zo=(0,we.useRef)(),ua=(0,we.useRef)(),ba=we.useState(pn),an=(0,ke.Z)(ba,2),qo=an[0],fa=an[1],Ra=ot();function po(){on(Zo.current,document.activeElement)||(ea.current=document.activeElement)}function Xa(){if(!on(Zo.current,document.activeElement)){var Ea;(Ea=ua.current)===null||Ea===void 0||Ea.focus()}}function Na(Ea){if(Ea)Xa();else{if(fa(!1),Di&&ea.current&&Fn){try{ea.current.focus({preventScroll:!0})}catch(ca){}ea.current=null}qo&&(uo==null||uo())}lo==null||lo(Ea)}function qa(Ea){to==null||to(Ea)}var Co=(0,we.useRef)(!1),Go=(0,we.useRef)(),wr=function(){clearTimeout(Go.current),Co.current=!0},$r=function(){Go.current=setTimeout(function(){Co.current=!1})},ho=null;$i&&(ho=function(ca){Co.current?Co.current=!1:Zo.current===ca.target&&qa(ca)});function _o(Ea){if(Li&&Ea.keyCode===In.ESC){Ea.stopPropagation(),qa(Ea);return}pn&&Ea.keyCode===In.TAB&&ua.current.changeActive(!Ea.shiftKey)}(0,we.useEffect)(function(){pn&&(fa(!0),po())},[pn]),(0,we.useEffect)(function(){return function(){clearTimeout(Go.current)}},[]);var Zi=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({zIndex:Ft},st),yo==null?void 0:yo.wrapper),{},{display:qo?null:"none"});return we.createElement("div",(0,ce.Z)({className:tt()("".concat(Lt,"-root"),io)},$e(ut,{data:!0})),we.createElement(cn,{prefixCls:Lt,visible:Di&&pn,motionName:Wt(Lt,Ci,ji),style:(0,Ae.Z)((0,Ae.Z)({zIndex:Ft},Ji),yo==null?void 0:yo.mask),maskProps:Gr,className:qr==null?void 0:qr.mask}),we.createElement("div",(0,ce.Z)({tabIndex:-1,onKeyDown:_o,className:tt()("".concat(Lt,"-wrap"),br,qr==null?void 0:qr.wrapper),ref:Zo,onClick:ho,style:Zi},_r),we.createElement(ei,(0,ce.Z)({},ut,{onMouseDown:wr,onMouseUp:$r,ref:ua,closable:Ir,ariaId:Ra,prefixCls:Lt,visible:pn&&qo,onClose:qa,onVisibleChanged:Na,motionName:Wt(Lt,Vr,Mo)}))))},Ii=Lr,ar=function(ut){var Dn=ut.visible,Lt=ut.getContainer,Ft=ut.forceRender,Yt=ut.destroyOnClose,pn=Yt===void 0?!1:Yt,ti=ut.afterClose,Li=ut.panelRef,Pi=we.useState(Dn),Fn=(0,ke.Z)(Pi,2),st=Fn[0],br=Fn[1],_r=we.useMemo(function(){return{panel:Li}},[Li]);return we.useEffect(function(){Dn&&br(!0)},[Dn]),!Ft&&pn&&!st?null:we.createElement(Ln.Provider,{value:_r},we.createElement(yn.Z,{open:Dn||Ft||st,autoDestroy:!1,getContainer:Lt,autoLock:Dn||st},we.createElement(Ii,(0,ce.Z)({},ut,{destroyOnClose:pn,afterClose:function(){ti==null||ti(),br(!1)}}))))};ar.displayName="Dialog";var hi=ar,Qt=hi,Wr=ue(73935);function oo(Rt,ut,Dn,Lt){var Ft=Wr.unstable_batchedUpdates?function(pn){Wr.unstable_batchedUpdates(Dn,pn)}:Dn;return Rt!=null&&Rt.addEventListener&&Rt.addEventListener(ut,Ft,Lt),{remove:function(){Rt!=null&&Rt.removeEventListener&&Rt.removeEventListener(ut,Ft,Lt)}}}var dr={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ut){var Dn=ut.keyCode;if(ut.altKey&&!ut.ctrlKey||ut.metaKey||Dn>=dr.F1&&Dn<=dr.F12)return!1;switch(Dn){case dr.ALT:case dr.CAPS_LOCK:case dr.CONTEXT_MENU:case dr.CTRL:case dr.DOWN:case dr.END:case dr.ESC:case dr.HOME:case dr.INSERT:case dr.LEFT:case dr.MAC_FF_META:case dr.META:case dr.NUMLOCK:case dr.NUM_CENTER:case dr.PAGE_DOWN:case dr.PAGE_UP:case dr.PAUSE:case dr.PRINT_SCREEN:case dr.RIGHT:case dr.SHIFT:case dr.UP:case dr.WIN_KEY:case dr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ut){if(ut>=dr.ZERO&&ut<=dr.NINE||ut>=dr.NUM_ZERO&&ut<=dr.NUM_MULTIPLY||ut>=dr.A&&ut<=dr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ut===0)return!0;switch(ut){case dr.SPACE:case dr.QUESTION_MARK:case dr.NUM_PLUS:case dr.NUM_MINUS:case dr.NUM_PERIOD:case dr.NUM_DIVISION:case dr.SEMICOLON:case dr.DASH:case dr.EQUALS:case dr.COMMA:case dr.PERIOD:case dr.SLASH:case dr.APOSTROPHE:case dr.SINGLE_QUOTE:case dr.OPEN_SQUARE_BRACKET:case dr.BACKSLASH:case dr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},xo=dr,yr=we.createContext(null),On=function(ut){var Dn=ut.visible,Lt=ut.maskTransitionName,Ft=ut.getContainer,Yt=ut.prefixCls,pn=ut.rootClassName,ti=ut.icons,Li=ut.countRender,Pi=ut.showSwitch,Fn=ut.showProgress,st=ut.current,br=ut.transform,_r=ut.count,to=ut.scale,lo=ut.minScale,uo=ut.maxScale,Vr=ut.closeIcon,Mo=ut.onActive,co=ut.onClose,Ir=ut.onZoomIn,or=ut.onZoomOut,Di=ut.onRotateRight,Ci=ut.onRotateLeft,ji=ut.onFlipX,fn=ut.onFlipY,$i=ut.onReset,Ji=ut.toolbarRender,Gr=ut.zIndex,io=ut.image,qr=(0,we.useContext)(yr),yo=ti.rotateLeft,ea=ti.rotateRight,Zo=ti.zoomIn,ua=ti.zoomOut,ba=ti.close,an=ti.left,qo=ti.right,fa=ti.flipX,Ra=ti.flipY,po="".concat(Yt,"-operations-operation");we.useEffect(function(){var ca=function(rs){rs.keyCode===xo.ESC&&co()};return Dn&&window.addEventListener("keydown",ca),function(){window.removeEventListener("keydown",ca)}},[Dn]);var Xa=function(ga,rs){ga.preventDefault(),ga.stopPropagation(),Mo(rs)},Na=we.useCallback(function(ca){var ga=ca.type,rs=ca.disabled,us=ca.onClick,wi=ca.icon;return we.createElement("div",{key:ga,className:tt()(po,"".concat(Yt,"-operations-operation-").concat(ga),(0,Fe.Z)({},"".concat(Yt,"-operations-operation-disabled"),!!rs)),onClick:us},wi)},[po,Yt]),qa=Pi?Na({icon:an,onClick:function(ga){return Xa(ga,-1)},type:"prev",disabled:st===0}):void 0,Co=Pi?Na({icon:qo,onClick:function(ga){return Xa(ga,1)},type:"next",disabled:st===_r-1}):void 0,Go=Na({icon:Ra,onClick:fn,type:"flipY"}),wr=Na({icon:fa,onClick:ji,type:"flipX"}),$r=Na({icon:yo,onClick:Ci,type:"rotateLeft"}),ho=Na({icon:ea,onClick:Di,type:"rotateRight"}),_o=Na({icon:ua,onClick:or,type:"zoomOut",disabled:to<=lo}),Zi=Na({icon:Zo,onClick:Ir,type:"zoomIn",disabled:to===uo}),Ea=we.createElement("div",{className:"".concat(Yt,"-operations")},Go,wr,$r,ho,_o,Zi);return we.createElement(Me.Z,{visible:Dn,motionName:Lt},function(ca){var ga=ca.className,rs=ca.style;return we.createElement(yn.Z,{open:!0,getContainer:Ft!=null?Ft:document.body},we.createElement("div",{className:tt()("".concat(Yt,"-operations-wrapper"),ga,pn),style:(0,Ae.Z)((0,Ae.Z)({},rs),{},{zIndex:Gr})},Vr===null?null:we.createElement("button",{className:"".concat(Yt,"-close"),onClick:co},Vr||ba),Pi&&we.createElement(we.Fragment,null,we.createElement("div",{className:tt()("".concat(Yt,"-switch-left"),(0,Fe.Z)({},"".concat(Yt,"-switch-left-disabled"),st===0)),onClick:function(wi){return Xa(wi,-1)}},an),we.createElement("div",{className:tt()("".concat(Yt,"-switch-right"),(0,Fe.Z)({},"".concat(Yt,"-switch-right-disabled"),st===_r-1)),onClick:function(wi){return Xa(wi,1)}},qo)),we.createElement("div",{className:"".concat(Yt,"-footer")},Fn&&we.createElement("div",{className:"".concat(Yt,"-progress")},Li?Li(st+1,_r):"".concat(st+1," / ").concat(_r)),Ji?Ji(Ea,(0,Ae.Z)((0,Ae.Z)({icons:{prevIcon:qa,nextIcon:Co,flipYIcon:Go,flipXIcon:wr,rotateLeftIcon:$r,rotateRightIcon:ho,zoomOutIcon:_o,zoomInIcon:Zi},actions:{onActive:Mo,onFlipY:fn,onFlipX:ji,onRotateLeft:Ci,onRotateRight:Di,onZoomOut:or,onZoomIn:Ir,onReset:$i,onClose:co},transform:br},qr?{current:st,total:_r}:{}),{},{image:io})):Ea)))})},Ie=On,Mn={},Kn=[],ri=function(ut){Kn.push(ut)};function fi(Rt,ut){if(0)var Dn}function vi(Rt,ut){if(0)var Dn}function Ni(){Mn={}}function hr(Rt,ut,Dn){!ut&&!Mn[Dn]&&(Rt(!1,Dn),Mn[Dn]=!0)}function un(Rt,ut){hr(fi,Rt,ut)}function hn(Rt,ut){hr(vi,Rt,ut)}un.preMessage=ri,un.resetWarned=Ni,un.noteOnce=hn;var Kt=un;function bn(Rt,ut){var Dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Lt=new Set;function Ft(Yt,pn){var ti=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Li=Lt.has(Yt);if(Kt(!Li,"Warning: There may be circular references"),Li)return!1;if(Yt===pn)return!0;if(Dn&&ti>1)return!1;Lt.add(Yt);var Pi=ti+1;if(Array.isArray(Yt)){if(!Array.isArray(pn)||Yt.length!==pn.length)return!1;for(var Fn=0;Fn<Yt.length;Fn++)if(!Ft(Yt[Fn],pn[Fn],Pi))return!1;return!0}if(Yt&&pn&&(0,Ye.Z)(Yt)==="object"&&(0,Ye.Z)(pn)==="object"){var st=Object.keys(Yt);return st.length!==Object.keys(pn).length?!1:st.every(function(br){return Ft(Yt[br],pn[br],Pi)})}return!1}return Ft(Rt,ut)}var Mi=bn,Oi=function(ut){return+setTimeout(ut,16)},bi=function(ut){return clearTimeout(ut)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Oi=function(ut){return window.requestAnimationFrame(ut)},bi=function(ut){return window.cancelAnimationFrame(ut)});var sn=0,Un=new Map;function Wi(Rt){Un.delete(Rt)}var ir=function(ut){var Dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;sn+=1;var Lt=sn;function Ft(Yt){if(Yt===0)Wi(Lt),ut();else{var pn=Oi(function(){Ft(Yt-1)});Un.set(Lt,pn)}}return Ft(Dn),Lt};ir.cancel=function(Rt){var ut=Un.get(Rt);return Wi(ut),bi(ut)};var si=ir,tn={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Hi(Rt,ut,Dn,Lt){var Ft=(0,we.useRef)(null),Yt=(0,we.useRef)([]),pn=(0,we.useState)(tn),ti=(0,ke.Z)(pn,2),Li=ti[0],Pi=ti[1],Fn=function(to){Pi(tn),Mi(tn,Li)||Lt==null||Lt({transform:tn,action:to})},st=function(to,lo){Ft.current===null&&(Yt.current=[],Ft.current=si(function(){Pi(function(uo){var Vr=uo;return Yt.current.forEach(function(Mo){Vr=(0,Ae.Z)((0,Ae.Z)({},Vr),Mo)}),Ft.current=null,Lt==null||Lt({transform:Vr,action:lo}),Vr})})),Yt.current.push((0,Ae.Z)((0,Ae.Z)({},Li),to))},br=function(to,lo,uo,Vr,Mo){var co=Rt.current,Ir=co.width,or=co.height,Di=co.offsetWidth,Ci=co.offsetHeight,ji=co.offsetLeft,fn=co.offsetTop,$i=to,Ji=Li.scale*to;Ji>Dn?(Ji=Dn,$i=Dn/Li.scale):Ji<ut&&(Ji=Mo?Ji:ut,$i=Ji/Li.scale);var Gr=uo!=null?uo:innerWidth/2,io=Vr!=null?Vr:innerHeight/2,qr=$i-1,yo=qr*Ir*.5,ea=qr*or*.5,Zo=qr*(Gr-Li.x-ji),ua=qr*(io-Li.y-fn),ba=Li.x-(Zo-yo),an=Li.y-(ua-ea);if(to<1&&Ji===1){var qo=Di*Ji,fa=Ci*Ji,Ra=ge(),po=Ra.width,Xa=Ra.height;qo<=po&&fa<=Xa&&(ba=0,an=0)}st({x:ba,y:an,scale:Ji},lo)};return{transform:Li,resetTransform:Fn,updateTransform:st,dispatchZoomChange:br}}function lr(Rt,ut,Dn,Lt){var Ft=ut+Dn,Yt=(Dn-Lt)/2;if(Dn>Lt){if(ut>0)return(0,Fe.Z)({},Rt,Yt);if(ut<0&&Ft<Lt)return(0,Fe.Z)({},Rt,-Yt)}else if(ut<0||Ft>Lt)return(0,Fe.Z)({},Rt,ut<0?Yt:-Yt);return{}}function Hr(Rt,ut,Dn,Lt){var Ft=ge(),Yt=Ft.width,pn=Ft.height,ti=null;return Rt<=Yt&&ut<=pn?ti={x:0,y:0}:(Rt>Yt||ut>pn)&&(ti=(0,Ae.Z)((0,Ae.Z)({},lr("x",Dn,Rt,Yt)),lr("y",Lt,ut,pn))),ti}var jn=1,qi=1;function ao(Rt,ut,Dn,Lt,Ft,Yt,pn){var ti=Ft.rotate,Li=Ft.scale,Pi=Ft.x,Fn=Ft.y,st=(0,we.useState)(!1),br=(0,ke.Z)(st,2),_r=br[0],to=br[1],lo=(0,we.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),uo=function(or){!ut||or.button!==0||(or.preventDefault(),or.stopPropagation(),lo.current={diffX:or.pageX-Pi,diffY:or.pageY-Fn,transformX:Pi,transformY:Fn},to(!0))},Vr=function(or){Dn&&_r&&Yt({x:or.pageX-lo.current.diffX,y:or.pageY-lo.current.diffY},"move")},Mo=function(){if(Dn&&_r){to(!1);var or=lo.current,Di=or.transformX,Ci=or.transformY,ji=Pi!==Di&&Fn!==Ci;if(!ji)return;var fn=Rt.current.offsetWidth*Li,$i=Rt.current.offsetHeight*Li,Ji=Rt.current.getBoundingClientRect(),Gr=Ji.left,io=Ji.top,qr=ti%180!==0,yo=Hr(qr?$i:fn,qr?fn:$i,Gr,io);yo&&Yt((0,Ae.Z)({},yo),"dragRebound")}},co=function(or){if(!(!Dn||or.deltaY==0)){var Di=Math.abs(or.deltaY/100),Ci=Math.min(Di,qi),ji=jn+Ci*Lt;or.deltaY>0&&(ji=jn/ji),pn(ji,"wheel",or.clientX,or.clientY)}};return(0,we.useEffect)(function(){var Ir,or,Di,Ci;if(ut){Di=oo(window,"mouseup",Mo,!1),Ci=oo(window,"mousemove",Vr,!1);try{window.top!==window.self&&(Ir=oo(window.top,"mouseup",Mo,!1),or=oo(window.top,"mousemove",Vr,!1))}catch(ji){fi(!1,"[rc-image] ".concat(ji))}}return function(){var ji,fn,$i,Ji;(ji=Di)===null||ji===void 0||ji.remove(),(fn=Ci)===null||fn===void 0||fn.remove(),($i=Ir)===null||$i===void 0||$i.remove(),(Ji=or)===null||Ji===void 0||Ji.remove()}},[Dn,_r,Pi,Fn,ti,ut]),{isMoving:_r,onMouseDown:uo,onMouseMove:Vr,onMouseUp:Mo,onWheel:co}}function jo(Rt){return new Promise(function(ut){if(!Rt){ut(!1);return}var Dn=document.createElement("img");Dn.onerror=function(){return ut(!1)},Dn.onload=function(){return ut(!0)},Dn.src=Rt})}function ko(Rt){var ut=Rt.src,Dn=Rt.isCustomPlaceholder,Lt=Rt.fallback,Ft=(0,we.useState)(Dn?"loading":"normal"),Yt=(0,ke.Z)(Ft,2),pn=Yt[0],ti=Yt[1],Li=(0,we.useRef)(!1),Pi=pn==="error";(0,we.useEffect)(function(){var _r=!0;return jo(ut).then(function(to){!to&&_r&&ti("error")}),function(){_r=!1}},[ut]),(0,we.useEffect)(function(){Dn&&!Li.current?ti("loading"):Pi&&ti("normal")},[ut]);var Fn=function(){ti("normal")},st=function(to){Li.current=!1,pn==="loading"&&to!==null&&to!==void 0&&to.complete&&(to.naturalWidth||to.naturalHeight)&&(Li.current=!0,Fn())},br=Pi&&Lt?{src:Lt}:{onLoad:Fn,src:ut};return[st,br,pn]}function Vi(Rt,ut){var Dn=Rt.x-ut.x,Lt=Rt.y-ut.y;return Math.hypot(Dn,Lt)}function Qi(Rt,ut,Dn,Lt){var Ft=Vi(Rt,Dn),Yt=Vi(ut,Lt);if(Ft===0&&Yt===0)return[Rt.x,Rt.y];var pn=Ft/(Ft+Yt),ti=Rt.x+pn*(ut.x-Rt.x),Li=Rt.y+pn*(ut.y-Rt.y);return[ti,Li]}function sr(Rt,ut,Dn,Lt,Ft,Yt,pn){var ti=Ft.rotate,Li=Ft.scale,Pi=Ft.x,Fn=Ft.y,st=(0,we.useState)(!1),br=(0,ke.Z)(st,2),_r=br[0],to=br[1],lo=(0,we.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),uo=function(or){lo.current=(0,Ae.Z)((0,Ae.Z)({},lo.current),or)},Vr=function(or){if(ut){or.stopPropagation(),to(!0);var Di=or.touches,Ci=Di===void 0?[]:Di;Ci.length>1?uo({point1:{x:Ci[0].clientX,y:Ci[0].clientY},point2:{x:Ci[1].clientX,y:Ci[1].clientY},eventType:"touchZoom"}):uo({point1:{x:Ci[0].clientX-Pi,y:Ci[0].clientY-Fn},eventType:"move"})}},Mo=function(or){var Di=or.touches,Ci=Di===void 0?[]:Di,ji=lo.current,fn=ji.point1,$i=ji.point2,Ji=ji.eventType;if(Ci.length>1&&Ji==="touchZoom"){var Gr={x:Ci[0].clientX,y:Ci[0].clientY},io={x:Ci[1].clientX,y:Ci[1].clientY},qr=Qi(fn,$i,Gr,io),yo=(0,ke.Z)(qr,2),ea=yo[0],Zo=yo[1],ua=Vi(Gr,io)/Vi(fn,$i);pn(ua,"touchZoom",ea,Zo,!0),uo({point1:Gr,point2:io,eventType:"touchZoom"})}else Ji==="move"&&(Yt({x:Ci[0].clientX-fn.x,y:Ci[0].clientY-fn.y},"move"),uo({eventType:"move"}))},co=function(){if(Dn){if(_r&&to(!1),uo({eventType:"none"}),Lt>Li)return Yt({x:0,y:0,scale:Lt},"touchZoom");var or=Rt.current.offsetWidth*Li,Di=Rt.current.offsetHeight*Li,Ci=Rt.current.getBoundingClientRect(),ji=Ci.left,fn=Ci.top,$i=ti%180!==0,Ji=Hr($i?Di:or,$i?or:Di,ji,fn);Ji&&Yt((0,Ae.Z)({},Ji),"dragRebound")}};return(0,we.useEffect)(function(){var Ir;return Dn&&ut&&(Ir=oo(window,"touchmove",function(or){return or.preventDefault()},{passive:!1})),function(){var or;(or=Ir)===null||or===void 0||or.remove()}},[Dn,ut]),{isTouching:_r,onTouchStart:Vr,onTouchMove:Mo,onTouchEnd:co}}var Zr=["fallback","src","imgRef"],Io=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Si=function(ut){var Dn=ut.fallback,Lt=ut.src,Ft=ut.imgRef,Yt=(0,Pe.Z)(ut,Zr),pn=ko({src:Lt,fallback:Dn}),ti=(0,ke.Z)(pn,2),Li=ti[0],Pi=ti[1];return we.createElement("img",(0,ce.Z)({ref:function(st){Ft.current=st,Li(st)}},Yt,Pi))},mr=function(ut){var Dn=ut.prefixCls,Lt=ut.src,Ft=ut.alt,Yt=ut.imageInfo,pn=ut.fallback,ti=ut.movable,Li=ti===void 0?!0:ti,Pi=ut.onClose,Fn=ut.visible,st=ut.icons,br=st===void 0?{}:st,_r=ut.rootClassName,to=ut.closeIcon,lo=ut.getContainer,uo=ut.current,Vr=uo===void 0?0:uo,Mo=ut.count,co=Mo===void 0?1:Mo,Ir=ut.countRender,or=ut.scaleStep,Di=or===void 0?.5:or,Ci=ut.minScale,ji=Ci===void 0?1:Ci,fn=ut.maxScale,$i=fn===void 0?50:fn,Ji=ut.transitionName,Gr=Ji===void 0?"zoom":Ji,io=ut.maskTransitionName,qr=io===void 0?"fade":io,yo=ut.imageRender,ea=ut.imgCommonProps,Zo=ut.toolbarRender,ua=ut.onTransform,ba=ut.onChange,an=(0,Pe.Z)(ut,Io),qo=(0,we.useRef)(),fa=(0,we.useContext)(yr),Ra=fa&&co>1,po=fa&&co>=1,Xa=(0,we.useState)(!0),Na=(0,ke.Z)(Xa,2),qa=Na[0],Co=Na[1],Go=Hi(qo,ji,$i,ua),wr=Go.transform,$r=Go.resetTransform,ho=Go.updateTransform,_o=Go.dispatchZoomChange,Zi=ao(qo,Li,Fn,Di,wr,ho,_o),Ea=Zi.isMoving,ca=Zi.onMouseDown,ga=Zi.onWheel,rs=sr(qo,Li,Fn,ji,wr,ho,_o),us=rs.isTouching,wi=rs.onTouchStart,pa=rs.onTouchMove,ka=rs.onTouchEnd,fs=wr.rotate,wa=wr.scale,ts=tt()((0,Fe.Z)({},"".concat(Dn,"-moving"),Ea));(0,we.useEffect)(function(){qa||Co(!0)},[qa]);var Yr=function(){$r("close")},Is=function(){_o(jn+Di,"zoomIn")},Ba=function(){_o(jn/(jn+Di),"zoomOut")},ns=function(){ho({rotate:fs+90},"rotateRight")},ws=function(){ho({rotate:fs-90},"rotateLeft")},tl=function(){ho({flipX:!wr.flipX},"flipX")},Fl=function(){ho({flipY:!wr.flipY},"flipY")},os=function(){$r("reset")},za=function(As){var hl=Vr+As;!Number.isInteger(hl)||hl<0||hl>co-1||(Co(!1),$r(As<0?"prev":"next"),ba==null||ba(hl,Vr))},mu=function(As){!Fn||!Ra||(As.keyCode===xo.LEFT?za(-1):As.keyCode===xo.RIGHT&&za(1))},Yu=function(As){Fn&&(wa!==1?ho({x:0,y:0,scale:1},"doubleClick"):_o(jn+Di,"doubleClick",As.clientX,As.clientY))};(0,we.useEffect)(function(){var Bs=oo(window,"keydown",mu,!1);return function(){Bs.remove()}},[Fn,Ra,Vr]);var Kl=we.createElement(Si,(0,ce.Z)({},ea,{width:ut.width,height:ut.height,imgRef:qo,className:"".concat(Dn,"-img"),alt:Ft,style:{transform:"translate3d(".concat(wr.x,"px, ").concat(wr.y,"px, 0) scale3d(").concat(wr.flipX?"-":"").concat(wa,", ").concat(wr.flipY?"-":"").concat(wa,", 1) rotate(").concat(fs,"deg)"),transitionDuration:(!qa||us)&&"0s"},fallback:pn,src:Lt,onWheel:ga,onMouseDown:ca,onDoubleClick:Yu,onTouchStart:wi,onTouchMove:pa,onTouchEnd:ka,onTouchCancel:ka})),Zl=(0,Ae.Z)({url:Lt,alt:Ft},Yt);return we.createElement(we.Fragment,null,we.createElement(Qt,(0,ce.Z)({transitionName:Gr,maskTransitionName:qr,closable:!1,keyboard:!0,prefixCls:Dn,onClose:Pi,visible:Fn,classNames:{wrapper:ts},rootClassName:_r,getContainer:lo},an,{afterClose:Yr}),we.createElement("div",{className:"".concat(Dn,"-img-wrapper")},yo?yo(Kl,(0,Ae.Z)({transform:wr,image:Zl},fa?{current:Vr}:{})):Kl)),we.createElement(Ie,{visible:Fn,transform:wr,maskTransitionName:qr,closeIcon:to,getContainer:lo,prefixCls:Dn,rootClassName:_r,icons:br,countRender:Ir,showSwitch:Ra,showProgress:po,current:Vr,count:co,scale:wa,minScale:ji,maxScale:$i,toolbarRender:Zo,onActive:za,onZoomIn:Is,onZoomOut:Ba,onRotateRight:ns,onRotateLeft:ws,onFlipX:tl,onFlipY:Fl,onClose:Pi,onReset:os,zIndex:an.zIndex!==void 0?an.zIndex+1:void 0,image:Zl}))},ja=mr,Ha=ue(74902),Sa=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function nn(Rt){var ut=we.useState({}),Dn=(0,ke.Z)(ut,2),Lt=Dn[0],Ft=Dn[1],Yt=we.useCallback(function(ti,Li){return Ft(function(Pi){return(0,Ae.Z)((0,Ae.Z)({},Pi),{},(0,Fe.Z)({},ti,Li))}),function(){Ft(function(Pi){var Fn=(0,Ae.Z)({},Pi);return delete Fn[ti],Fn})}},[]),pn=we.useMemo(function(){return Rt?Rt.map(function(ti){if(typeof ti=="string")return{data:{src:ti}};var Li={};return Object.keys(ti).forEach(function(Pi){["src"].concat((0,Ha.Z)(Sa)).includes(Pi)&&(Li[Pi]=ti[Pi])}),{data:Li}}):Object.keys(Lt).reduce(function(ti,Li){var Pi=Lt[Li],Fn=Pi.canPreview,st=Pi.data;return Fn&&ti.push({data:st,id:Li}),ti},[])},[Rt,Lt]);return[pn,Yt,!!Rt]}var pr=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Jr=["src"],vr=function(ut){var Dn,Lt=ut.previewPrefixCls,Ft=Lt===void 0?"rc-image-preview":Lt,Yt=ut.children,pn=ut.icons,ti=pn===void 0?{}:pn,Li=ut.items,Pi=ut.preview,Fn=ut.fallback,st=(0,Ye.Z)(Pi)==="object"?Pi:{},br=st.visible,_r=st.onVisibleChange,to=st.getContainer,lo=st.current,uo=st.movable,Vr=st.minScale,Mo=st.maxScale,co=st.countRender,Ir=st.closeIcon,or=st.onChange,Di=st.onTransform,Ci=st.toolbarRender,ji=st.imageRender,fn=(0,Pe.Z)(st,pr),$i=nn(Li),Ji=(0,ke.Z)($i,3),Gr=Ji[0],io=Ji[1],qr=Ji[2],yo=Zt(0,{value:lo}),ea=(0,ke.Z)(yo,2),Zo=ea[0],ua=ea[1],ba=(0,we.useState)(!1),an=(0,ke.Z)(ba,2),qo=an[0],fa=an[1],Ra=((Dn=Gr[Zo])===null||Dn===void 0?void 0:Dn.data)||{},po=Ra.src,Xa=(0,Pe.Z)(Ra,Jr),Na=Zt(!!br,{value:br,onChange:function(us,wi){_r==null||_r(us,wi,Zo)}}),qa=(0,ke.Z)(Na,2),Co=qa[0],Go=qa[1],wr=(0,we.useState)(null),$r=(0,ke.Z)(wr,2),ho=$r[0],_o=$r[1],Zi=we.useCallback(function(rs,us,wi,pa){var ka=qr?Gr.findIndex(function(fs){return fs.data.src===us}):Gr.findIndex(function(fs){return fs.id===rs});ua(ka<0?0:ka),Go(!0),_o({x:wi,y:pa}),fa(!0)},[Gr,qr]);we.useEffect(function(){Co?qo||ua(0):fa(!1)},[Co]);var Ea=function(us,wi){ua(us),or==null||or(us,wi)},ca=function(){Go(!1),_o(null)},ga=we.useMemo(function(){return{register:io,onPreview:Zi}},[io,Zi]);return we.createElement(yr.Provider,{value:ga},Yt,we.createElement(ja,(0,ce.Z)({"aria-hidden":!Co,movable:uo,visible:Co,prefixCls:Ft,closeIcon:Ir,onClose:ca,mousePosition:ho,imgCommonProps:Xa,src:po,fallback:Fn,icons:ti,minScale:Vr,maxScale:Mo,getContainer:to,current:Zo,count:Gr.length,countRender:co,onTransform:Di,toolbarRender:Ci,imageRender:ji,onChange:Ea},fn)))},ia=vr,vo=0;function Po(Rt,ut){var Dn=we.useState(function(){return vo+=1,String(vo)}),Lt=(0,ke.Z)(Dn,1),Ft=Lt[0],Yt=we.useContext(yr),pn={data:ut,canPreview:Rt};return we.useEffect(function(){if(Yt)return Yt.register(Ft,pn)},[]),we.useEffect(function(){Yt&&Yt.register(Ft,pn)},[Rt,ut]),Ft}var bo=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],so=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Do=function(ut){var Dn=ut.src,Lt=ut.alt,Ft=ut.onPreviewClose,Yt=ut.prefixCls,pn=Yt===void 0?"rc-image":Yt,ti=ut.previewPrefixCls,Li=ti===void 0?"".concat(pn,"-preview"):ti,Pi=ut.placeholder,Fn=ut.fallback,st=ut.width,br=ut.height,_r=ut.style,to=ut.preview,lo=to===void 0?!0:to,uo=ut.className,Vr=ut.onClick,Mo=ut.onError,co=ut.wrapperClassName,Ir=ut.wrapperStyle,or=ut.rootClassName,Di=(0,Pe.Z)(ut,bo),Ci=Pi&&Pi!==!0,ji=(0,Ye.Z)(lo)==="object"?lo:{},fn=ji.src,$i=ji.visible,Ji=$i===void 0?void 0:$i,Gr=ji.onVisibleChange,io=Gr===void 0?Ft:Gr,qr=ji.getContainer,yo=qr===void 0?void 0:qr,ea=ji.mask,Zo=ji.maskClassName,ua=ji.movable,ba=ji.icons,an=ji.scaleStep,qo=ji.minScale,fa=ji.maxScale,Ra=ji.imageRender,po=ji.toolbarRender,Xa=(0,Pe.Z)(ji,so),Na=fn!=null?fn:Dn,qa=Zt(!!Ji,{value:Ji,onChange:io}),Co=(0,ke.Z)(qa,2),Go=Co[0],wr=Co[1],$r=ko({src:Dn,isCustomPlaceholder:Ci,fallback:Fn}),ho=(0,ke.Z)($r,3),_o=ho[0],Zi=ho[1],Ea=ho[2],ca=(0,we.useState)(null),ga=(0,ke.Z)(ca,2),rs=ga[0],us=ga[1],wi=(0,we.useContext)(yr),pa=!!lo,ka=function(){wr(!1),us(null)},fs=tt()(pn,co,or,(0,Fe.Z)({},"".concat(pn,"-error"),Ea==="error")),wa=(0,we.useMemo)(function(){var Ba={};return Sa.forEach(function(ns){ut[ns]!==void 0&&(Ba[ns]=ut[ns])}),Ba},Sa.map(function(Ba){return ut[Ba]})),ts=(0,we.useMemo)(function(){return(0,Ae.Z)((0,Ae.Z)({},wa),{},{src:Na})},[Na,wa]),Yr=Po(pa,ts),Is=function(ns){var ws=be(ns.target),tl=ws.left,Fl=ws.top;wi?wi.onPreview(Yr,Na,tl,Fl):(us({x:tl,y:Fl}),wr(!0)),Vr==null||Vr(ns)};return we.createElement(we.Fragment,null,we.createElement("div",(0,ce.Z)({},Di,{className:fs,onClick:pa?Is:Vr,style:(0,Ae.Z)({width:st,height:br},Ir)}),we.createElement("img",(0,ce.Z)({},wa,{className:tt()("".concat(pn,"-img"),(0,Fe.Z)({},"".concat(pn,"-img-placeholder"),Pi===!0),uo),style:(0,Ae.Z)({height:br},_r),ref:_o},Zi,{width:st,height:br,onError:Mo})),Ea==="loading"&&we.createElement("div",{"aria-hidden":"true",className:"".concat(pn,"-placeholder")},Pi),ea&&pa&&we.createElement("div",{className:tt()("".concat(pn,"-mask"),Zo),style:{display:(_r==null?void 0:_r.display)==="none"?"none":void 0}},ea)),!wi&&pa&&we.createElement(ja,(0,ce.Z)({"aria-hidden":!Go,visible:Go,prefixCls:Li,onClose:ka,mousePosition:rs,src:Na,alt:Lt,imageInfo:{width:st,height:br},fallback:Fn,getContainer:yo,icons:ba,movable:ua,scaleStep:an,minScale:qo,maxScale:fa,rootClassName:or,imageRender:Ra,imgCommonProps:wa,toolbarRender:po},Xa)))};Do.PreviewGroup=ia;var Qn=Do,$o=Qn},31457:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return $e}});var ce=ue(4942),Ae=ue(87462),Fe=ue(71002),ke=ue(1413),Ye=ue(97685),Pe=ue(94184),Ue=ue.n(Pe),tt=ue(67294);function Ze(Wt){var jt=tt.useRef();jt.current=Wt;var Je=tt.useCallback(function(){for(var Me,Le=arguments.length,Xe=new Array(Le),dt=0;dt<Le;dt++)Xe[dt]=arguments[dt];return(Me=jt.current)===null||Me===void 0?void 0:Me.call.apply(Me,[jt].concat(Xe))},[]);return Je}function rt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var xt=rt()?tt.useLayoutEffect:tt.useEffect,Qe=function(jt,Je){var Me=tt.useRef(!0);xt(function(){return jt(Me.current)},Je),xt(function(){return Me.current=!1,function(){Me.current=!0}},[])},Mt=function(jt,Je){Qe(function(Me){if(!Me)return jt()},Je)},De=null;function te(Wt){var jt=tt.useRef(!1),Je=tt.useState(Wt),Me=(0,Ye.Z)(Je,2),Le=Me[0],Xe=Me[1];tt.useEffect(function(){return jt.current=!1,function(){jt.current=!0}},[]);function dt(je,bt){bt&&jt.current||Xe(je)}return[Le,dt]}function ee(Wt){return Wt!==void 0}function de(Wt,jt){var Je=jt||{},Me=Je.defaultValue,Le=Je.value,Xe=Je.onChange,dt=Je.postState,je=te(function(){return ee(Le)?Le:ee(Me)?typeof Me=="function"?Me():Me:typeof Wt=="function"?Wt():Wt}),bt=(0,Ye.Z)(je,2),Sn=bt[0],ni=bt[1],ui=Le!==void 0?Le:Sn,vn=dt?dt(ui):ui,_n=Ze(Xe),rn=te([ui]),oi=(0,Ye.Z)(rn,2),ei=oi[0],Ri=oi[1];Mt(function(){var tr=ei[0];Sn!==tr&&_n(Sn,tr)},[ei]),Mt(function(){ee(Le)||ni(Le)},[Le]);var cn=Ze(function(tr,Xi){ni(tr,Xi),Ri([ui],Xi)});return[vn,cn]}var se={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(jt){var Je=jt.keyCode;if(jt.altKey&&!jt.ctrlKey||jt.metaKey||Je>=se.F1&&Je<=se.F12)return!1;switch(Je){case se.ALT:case se.CAPS_LOCK:case se.CONTEXT_MENU:case se.CTRL:case se.DOWN:case se.END:case se.ESC:case se.HOME:case se.INSERT:case se.LEFT:case se.MAC_FF_META:case se.META:case se.NUMLOCK:case se.NUM_CENTER:case se.PAGE_DOWN:case se.PAGE_UP:case se.PAUSE:case se.PRINT_SCREEN:case se.RIGHT:case se.SHIFT:case se.UP:case se.WIN_KEY:case se.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(jt){if(jt>=se.ZERO&&jt<=se.NINE||jt>=se.NUM_ZERO&&jt<=se.NUM_MULTIPLY||jt>=se.A&&jt<=se.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&jt===0)return!0;switch(jt){case se.SPACE:case se.QUESTION_MARK:case se.NUM_PLUS:case se.NUM_MINUS:case se.NUM_PERIOD:case se.NUM_DIVISION:case se.SEMICOLON:case se.DASH:case se.EQUALS:case se.COMMA:case se.PERIOD:case se.SLASH:case se.APOSTROPHE:case se.SINGLE_QUOTE:case se.OPEN_SQUARE_BRACKET:case se.BACKSLASH:case se.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ge=se,ve=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,be=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,we="".concat(ve," ").concat(be).split(/[\s\n]+/),Oe="aria-",Ke="data-";function qe(Wt,jt){return Wt.indexOf(jt)===0}function lt(Wt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je;jt===!1?Je={aria:!0,data:!0,attr:!0}:jt===!0?Je={aria:!0}:Je=(0,ke.Z)({},jt);var Me={};return Object.keys(Wt).forEach(function(Le){(Je.aria&&(Le==="role"||qe(Le,Oe))||Je.data&&qe(Le,Ke)||Je.attr&&we.includes(Le))&&(Me[Le]=Wt[Le])}),Me}var at={},ft=[],pt=function(jt){ft.push(jt)};function Nt(Wt,jt){if(0)var Je}function Xt(Wt,jt){if(0)var Je}function Zt(){at={}}function yn(Wt,jt,Je){!jt&&!at[Je]&&(Wt(!1,Je),at[Je]=!0)}function Ln(Wt,jt){yn(Nt,Wt,jt)}function on(Wt,jt){yn(Xt,Wt,jt)}Ln.preMessage=pt,Ln.resetWarned=Zt,Ln.noteOnce=on;var Bn=null,Et=ue(81626),nt=[10,20,50,100],ot=function(jt){var Je=jt.pageSizeOptions,Me=Je===void 0?nt:Je,Le=jt.locale,Xe=jt.changeSize,dt=jt.pageSize,je=jt.goButton,bt=jt.quickGo,Sn=jt.rootPrefixCls,ni=jt.disabled,ui=jt.buildOptionText,vn=jt.showSizeChanger,_n=jt.sizeChangerRender,rn=tt.useState(""),oi=(0,Ye.Z)(rn,2),ei=oi[0],Ri=oi[1],cn=function(){return!ei||Number.isNaN(ei)?void 0:Number(ei)},tr=typeof ui=="function"?ui:function(Ii){return"".concat(Ii," ").concat(Le.items_per_page)},Xi=function(ar){Ri(ar.target.value)},$t=function(ar){je||ei===""||(Ri(""),!(ar.relatedTarget&&(ar.relatedTarget.className.indexOf("".concat(Sn,"-item-link"))>=0||ar.relatedTarget.className.indexOf("".concat(Sn,"-item"))>=0))&&(bt==null||bt(cn())))},_e=function(ar){ei!==""&&(ar.keyCode===ge.ENTER||ar.type==="click")&&(Ri(""),bt==null||bt(cn()))},xr=function(){return Me.some(function(ar){return ar.toString()===dt.toString()})?Me:Me.concat([dt]).sort(function(ar,hi){var Qt=Number.isNaN(Number(ar))?0:Number(ar),Wr=Number.isNaN(Number(hi))?0:Number(hi);return Qt-Wr})},er="".concat(Sn,"-options");if(!vn&&!bt)return null;var ai=null,Rr=null,Lr=null;return vn&&_n&&(ai=_n({disabled:ni,size:dt,onSizeChange:function(ar){Xe==null||Xe(Number(ar))},"aria-label":Le.page_size,className:"".concat(er,"-size-changer"),options:xr().map(function(Ii){return{label:tr(Ii),value:Ii}})})),bt&&(je&&(Lr=typeof je=="boolean"?tt.createElement("button",{type:"button",onClick:_e,onKeyUp:_e,disabled:ni,className:"".concat(er,"-quick-jumper-button")},Le.jump_to_confirm):tt.createElement("span",{onClick:_e,onKeyUp:_e},je)),Rr=tt.createElement("div",{className:"".concat(er,"-quick-jumper")},Le.jump_to,tt.createElement("input",{disabled:ni,type:"text",value:ei,onChange:Xi,onKeyUp:_e,onBlur:$t,"aria-label":Le.page}),Le.page,Lr)),tt.createElement("li",{className:er},ai,Rr)},Jt=ot,In=function(jt){var Je=jt.rootPrefixCls,Me=jt.page,Le=jt.active,Xe=jt.className,dt=jt.showTitle,je=jt.onClick,bt=jt.onKeyPress,Sn=jt.itemRender,ni="".concat(Je,"-item"),ui=Ue()(ni,"".concat(ni,"-").concat(Me),(0,ce.Z)((0,ce.Z)({},"".concat(ni,"-active"),Le),"".concat(ni,"-disabled"),!Me),Xe),vn=function(){je(Me)},_n=function(ei){bt(ei,je,Me)},rn=Sn(Me,"page",tt.createElement("a",{rel:"nofollow"},Me));return rn?tt.createElement("li",{title:dt?String(Me):null,className:ui,onClick:vn,onKeyDown:_n,tabIndex:0},rn):null},Gt=In,An=function(jt,Je,Me){return Me};function Nn(){}function di(Wt){var jt=Number(Wt);return typeof jt=="number"&&!Number.isNaN(jt)&&isFinite(jt)&&Math.floor(jt)===jt}function At(Wt,jt,Je){var Me=typeof Wt=="undefined"?jt:Wt;return Math.floor((Je-1)/Me)+1}var Ot=function(jt){var Je=jt.prefixCls,Me=Je===void 0?"rc-pagination":Je,Le=jt.selectPrefixCls,Xe=Le===void 0?"rc-select":Le,dt=jt.className,je=jt.current,bt=jt.defaultCurrent,Sn=bt===void 0?1:bt,ni=jt.total,ui=ni===void 0?0:ni,vn=jt.pageSize,_n=jt.defaultPageSize,rn=_n===void 0?10:_n,oi=jt.onChange,ei=oi===void 0?Nn:oi,Ri=jt.hideOnSinglePage,cn=jt.align,tr=jt.showPrevNextJumpers,Xi=tr===void 0?!0:tr,$t=jt.showQuickJumper,_e=jt.showLessItems,xr=jt.showTitle,er=xr===void 0?!0:xr,ai=jt.onShowSizeChange,Rr=ai===void 0?Nn:ai,Lr=jt.locale,Ii=Lr===void 0?Et.Z:Lr,ar=jt.style,hi=jt.totalBoundaryShowSizeChanger,Qt=hi===void 0?50:hi,Wr=jt.disabled,oo=jt.simple,dr=jt.showTotal,xo=jt.showSizeChanger,yr=xo===void 0?ui>Qt:xo,On=jt.sizeChangerRender,Ie=jt.pageSizeOptions,Mn=jt.itemRender,Kn=Mn===void 0?An:Mn,ri=jt.jumpPrevIcon,fi=jt.jumpNextIcon,vi=jt.prevIcon,Ni=jt.nextIcon,hr=tt.useRef(null),un=de(10,{value:vn,defaultValue:rn}),hn=(0,Ye.Z)(un,2),Kt=hn[0],bn=hn[1],Mi=de(1,{value:je,defaultValue:Sn,postState:function($i){return Math.max(1,Math.min($i,At(void 0,Kt,ui)))}}),Oi=(0,Ye.Z)(Mi,2),bi=Oi[0],sn=Oi[1],Un=tt.useState(bi),Wi=(0,Ye.Z)(Un,2),ir=Wi[0],si=Wi[1];(0,tt.useEffect)(function(){si(bi)},[bi]);var tn=ei!==Nn,Hi="current"in jt,lr=Math.max(1,bi-(_e?3:5)),Hr=Math.min(At(void 0,Kt,ui),bi+(_e?3:5));function jn(fn,$i){var Ji=fn||tt.createElement("button",{type:"button","aria-label":$i,className:"".concat(Me,"-item-link")});return typeof fn=="function"&&(Ji=tt.createElement(fn,(0,ke.Z)({},jt))),Ji}function qi(fn){var $i=fn.target.value,Ji=At(void 0,Kt,ui),Gr;return $i===""?Gr=$i:Number.isNaN(Number($i))?Gr=ir:$i>=Ji?Gr=Ji:Gr=Number($i),Gr}function ao(fn){return di(fn)&&fn!==bi&&di(ui)&&ui>0}var jo=ui>Kt?$t:!1;function ko(fn){(fn.keyCode===ge.UP||fn.keyCode===ge.DOWN)&&fn.preventDefault()}function Vi(fn){var $i=qi(fn);switch($i!==ir&&si($i),fn.keyCode){case ge.ENTER:Zr($i);break;case ge.UP:Zr($i-1);break;case ge.DOWN:Zr($i+1);break;default:break}}function Qi(fn){Zr(qi(fn))}function sr(fn){var $i=At(fn,Kt,ui),Ji=bi>$i&&$i!==0?$i:bi;bn(fn),si(Ji),Rr==null||Rr(bi,fn),sn(Ji),ei==null||ei(Ji,fn)}function Zr(fn){if(ao(fn)&&!Wr){var $i=At(void 0,Kt,ui),Ji=fn;return fn>$i?Ji=$i:fn<1&&(Ji=1),Ji!==ir&&si(Ji),sn(Ji),ei==null||ei(Ji,Kt),Ji}return bi}var Io=bi>1,Si=bi<At(void 0,Kt,ui);function mr(){Io&&Zr(bi-1)}function ja(){Si&&Zr(bi+1)}function Ha(){Zr(lr)}function Sa(){Zr(Hr)}function nn(fn,$i){if(fn.key==="Enter"||fn.charCode===ge.ENTER||fn.keyCode===ge.ENTER){for(var Ji=arguments.length,Gr=new Array(Ji>2?Ji-2:0),io=2;io<Ji;io++)Gr[io-2]=arguments[io];$i.apply(void 0,Gr)}}function pr(fn){nn(fn,mr)}function Jr(fn){nn(fn,ja)}function vr(fn){nn(fn,Ha)}function ia(fn){nn(fn,Sa)}function vo(fn){var $i=Kn(fn,"prev",jn(vi,"prev page"));return tt.isValidElement($i)?tt.cloneElement($i,{disabled:!Io}):$i}function Po(fn){var $i=Kn(fn,"next",jn(Ni,"next page"));return tt.isValidElement($i)?tt.cloneElement($i,{disabled:!Si}):$i}function bo(fn){(fn.type==="click"||fn.keyCode===ge.ENTER)&&Zr(ir)}var so=null,Do=lt(jt,{aria:!0,data:!0}),Qn=dr&&tt.createElement("li",{className:"".concat(Me,"-total-text")},dr(ui,[ui===0?0:(bi-1)*Kt+1,bi*Kt>ui?ui:bi*Kt])),$o=null,Rt=At(void 0,Kt,ui);if(Ri&&ui<=Kt)return null;var ut=[],Dn={rootPrefixCls:Me,onClick:Zr,onKeyPress:nn,showTitle:er,itemRender:Kn,page:-1},Lt=bi-1>0?bi-1:0,Ft=bi+1<Rt?bi+1:Rt,Yt=$t&&$t.goButton,pn=(0,Fe.Z)(oo)==="object"?oo.readOnly:!oo,ti=Yt,Li=null;oo&&(Yt&&(typeof Yt=="boolean"?ti=tt.createElement("button",{type:"button",onClick:bo,onKeyUp:bo},Ii.jump_to_confirm):ti=tt.createElement("span",{onClick:bo,onKeyUp:bo},Yt),ti=tt.createElement("li",{title:er?"".concat(Ii.jump_to).concat(bi,"/").concat(Rt):null,className:"".concat(Me,"-simple-pager")},ti)),Li=tt.createElement("li",{title:er?"".concat(bi,"/").concat(Rt):null,className:"".concat(Me,"-simple-pager")},pn?ir:tt.createElement("input",{type:"text","aria-label":Ii.jump_to,value:ir,disabled:Wr,onKeyDown:ko,onKeyUp:Vi,onChange:Vi,onBlur:Qi,size:3}),tt.createElement("span",{className:"".concat(Me,"-slash")},"/"),Rt));var Pi=_e?1:2;if(Rt<=3+Pi*2){Rt||ut.push(tt.createElement(Gt,(0,Ae.Z)({},Dn,{key:"noPager",page:1,className:"".concat(Me,"-item-disabled")})));for(var Fn=1;Fn<=Rt;Fn+=1)ut.push(tt.createElement(Gt,(0,Ae.Z)({},Dn,{key:Fn,page:Fn,active:bi===Fn})))}else{var st=_e?Ii.prev_3:Ii.prev_5,br=_e?Ii.next_3:Ii.next_5,_r=Kn(lr,"jump-prev",jn(ri,"prev page")),to=Kn(Hr,"jump-next",jn(fi,"next page"));Xi&&(so=_r?tt.createElement("li",{title:er?st:null,key:"prev",onClick:Ha,tabIndex:0,onKeyDown:vr,className:Ue()("".concat(Me,"-jump-prev"),(0,ce.Z)({},"".concat(Me,"-jump-prev-custom-icon"),!!ri))},_r):null,$o=to?tt.createElement("li",{title:er?br:null,key:"next",onClick:Sa,tabIndex:0,onKeyDown:ia,className:Ue()("".concat(Me,"-jump-next"),(0,ce.Z)({},"".concat(Me,"-jump-next-custom-icon"),!!fi))},to):null);var lo=Math.max(1,bi-Pi),uo=Math.min(bi+Pi,Rt);bi-1<=Pi&&(uo=1+Pi*2),Rt-bi<=Pi&&(lo=Rt-Pi*2);for(var Vr=lo;Vr<=uo;Vr+=1)ut.push(tt.createElement(Gt,(0,Ae.Z)({},Dn,{key:Vr,page:Vr,active:bi===Vr})));if(bi-1>=Pi*2&&bi!==3&&(ut[0]=tt.cloneElement(ut[0],{className:Ue()("".concat(Me,"-item-after-jump-prev"),ut[0].props.className)}),ut.unshift(so)),Rt-bi>=Pi*2&&bi!==Rt-2){var Mo=ut[ut.length-1];ut[ut.length-1]=tt.cloneElement(Mo,{className:Ue()("".concat(Me,"-item-before-jump-next"),Mo.props.className)}),ut.push($o)}lo!==1&&ut.unshift(tt.createElement(Gt,(0,Ae.Z)({},Dn,{key:1,page:1}))),uo!==Rt&&ut.push(tt.createElement(Gt,(0,Ae.Z)({},Dn,{key:Rt,page:Rt})))}var co=vo(Lt);if(co){var Ir=!Io||!Rt;co=tt.createElement("li",{title:er?Ii.prev_page:null,onClick:mr,tabIndex:Ir?null:0,onKeyDown:pr,className:Ue()("".concat(Me,"-prev"),(0,ce.Z)({},"".concat(Me,"-disabled"),Ir)),"aria-disabled":Ir},co)}var or=Po(Ft);if(or){var Di,Ci;oo?(Di=!Si,Ci=Io?0:null):(Di=!Si||!Rt,Ci=Di?null:0),or=tt.createElement("li",{title:er?Ii.next_page:null,onClick:ja,tabIndex:Ci,onKeyDown:Jr,className:Ue()("".concat(Me,"-next"),(0,ce.Z)({},"".concat(Me,"-disabled"),Di)),"aria-disabled":Di},or)}var ji=Ue()(Me,dt,(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({},"".concat(Me,"-start"),cn==="start"),"".concat(Me,"-center"),cn==="center"),"".concat(Me,"-end"),cn==="end"),"".concat(Me,"-simple"),oo),"".concat(Me,"-disabled"),Wr));return tt.createElement("ul",(0,Ae.Z)({className:ji,style:ar,ref:hr},Do),Qn,co,oo?Li:ut,or,tt.createElement(Jt,{locale:Ii,rootPrefixCls:Me,disabled:Wr,selectPrefixCls:Xe,changeSize:sr,pageSize:Kt,pageSizeOptions:Ie,quickGo:jo?Zr:null,goButton:ti,showSizeChanger:yr,sizeChangerRender:On}))},$e=Ot},43579:function(Re,xe,ue){"use strict";ue.d(xe,{Cd:function(){return ft}});var ce=ue(87462),Ae=ue(1413),Fe=ue(45987),ke=ue(67294),Ye=ue(94184),Pe=ue.n(Ye),Ue={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},tt=function(){var Xt=(0,ke.useRef)([]),Zt=(0,ke.useRef)(null);return(0,ke.useEffect)(function(){var yn=Date.now(),Ln=!1;Xt.current.forEach(function(on){if(on){Ln=!0;var Bn=on.style;Bn.transitionDuration=".3s, .3s, .3s, .06s",Zt.current&&yn-Zt.current<100&&(Bn.transitionDuration="0s, 0s")}}),Ln&&(Zt.current=Date.now())}),Xt.current},Ze=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],rt=function(Xt){var Zt=(0,Ae.Z)((0,Ae.Z)({},Ue),Xt),yn=Zt.className,Ln=Zt.percent,on=Zt.prefixCls,Bn=Zt.strokeColor,Et=Zt.strokeLinecap,nt=Zt.strokeWidth,ot=Zt.style,Jt=Zt.trailColor,In=Zt.trailWidth,Gt=Zt.transition,An=(0,Fe.Z)(Zt,Ze);delete An.gapPosition;var Nn=Array.isArray(Ln)?Ln:[Ln],di=Array.isArray(Bn)?Bn:[Bn],At=tt(),Ot=nt/2,$e=100-nt/2,Wt="M ".concat(Et==="round"?Ot:0,",").concat(Ot,`
|
|
|
L `).concat(Et==="round"?$e:100,",").concat(Ot),jt="0 0 100 ".concat(nt),Je=0;return ke.createElement("svg",(0,ce.Z)({className:Pe()("".concat(on,"-line"),yn),viewBox:jt,preserveAspectRatio:"none",style:ot},An),ke.createElement("path",{className:"".concat(on,"-line-trail"),d:Wt,strokeLinecap:Et,stroke:Jt,strokeWidth:In||nt,fillOpacity:"0"}),Nn.map(function(Me,Le){var Xe=1;switch(Et){case"round":Xe=1-nt/100;break;case"square":Xe=1-nt/2/100;break;default:Xe=1;break}var dt={strokeDasharray:"".concat(Me*Xe,"px, 100px"),strokeDashoffset:"-".concat(Je,"px"),transition:Gt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},je=di[Le]||di[di.length-1];return Je+=Me,ke.createElement("path",{key:Le,className:"".concat(on,"-line-path"),d:Wt,strokeLinecap:Et,stroke:je,strokeWidth:nt,fillOpacity:"0",ref:function(Sn){At[Le]=Sn},style:dt})}))},xt=rt,Qe=ue(71002),Mt=ue(97685),De=ue(98924),te=0,ee=(0,De.Z)();function de(){var Nt;return ee?(Nt=te,te+=1):Nt="TEST_OR_SSR",Nt}var se=function(Nt){var Xt=ke.useState(),Zt=(0,Mt.Z)(Xt,2),yn=Zt[0],Ln=Zt[1];return ke.useEffect(function(){Ln("rc_progress_".concat(de()))},[]),Nt||yn},ge=function(Xt){var Zt=Xt.bg,yn=Xt.children;return ke.createElement("div",{style:{width:"100%",height:"100%",background:Zt}},yn)};function ve(Nt,Xt){return Object.keys(Nt).map(function(Zt){var yn=parseFloat(Zt),Ln="".concat(Math.floor(yn*Xt),"%");return"".concat(Nt[Zt]," ").concat(Ln)})}var be=ke.forwardRef(function(Nt,Xt){var Zt=Nt.prefixCls,yn=Nt.color,Ln=Nt.gradientId,on=Nt.radius,Bn=Nt.style,Et=Nt.ptg,nt=Nt.strokeLinecap,ot=Nt.strokeWidth,Jt=Nt.size,In=Nt.gapDegree,Gt=yn&&(0,Qe.Z)(yn)==="object",An=Gt?"#FFF":void 0,Nn=Jt/2,di=ke.createElement("circle",{className:"".concat(Zt,"-circle-path"),r:on,cx:Nn,cy:Nn,stroke:An,strokeLinecap:nt,strokeWidth:ot,opacity:Et===0?0:1,style:Bn,ref:Xt});if(!Gt)return di;var At="".concat(Ln,"-conic"),Ot=In?"".concat(180+In/2,"deg"):"0deg",$e=ve(yn,(360-In)/360),Wt=ve(yn,1),jt="conic-gradient(from ".concat(Ot,", ").concat($e.join(", "),")"),Je="linear-gradient(to ".concat(In?"bottom":"top",", ").concat(Wt.join(", "),")");return ke.createElement(ke.Fragment,null,ke.createElement("mask",{id:At},di),ke.createElement("foreignObject",{x:0,y:0,width:Jt,height:Jt,mask:"url(#".concat(At,")")},ke.createElement(ge,{bg:Je},ke.createElement(ge,{bg:jt}))))}),we=be,Oe=100,Ke=function(Xt,Zt,yn,Ln,on,Bn,Et,nt,ot,Jt){var In=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Gt=yn/100*360*((360-Bn)/360),An=Bn===0?0:{bottom:0,top:180,left:90,right:-90}[Et],Nn=(100-Ln)/100*Zt;ot==="round"&&Ln!==100&&(Nn+=Jt/2,Nn>=Zt&&(Nn=Zt-.01));var di=Oe/2;return{stroke:typeof nt=="string"?nt:void 0,strokeDasharray:"".concat(Zt,"px ").concat(Xt),strokeDashoffset:Nn+In,transform:"rotate(".concat(on+Gt+An,"deg)"),transformOrigin:"".concat(di,"px ").concat(di,"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}},qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function lt(Nt){var Xt=Nt!=null?Nt:[];return Array.isArray(Xt)?Xt:[Xt]}var at=function(Xt){var Zt=(0,Ae.Z)((0,Ae.Z)({},Ue),Xt),yn=Zt.id,Ln=Zt.prefixCls,on=Zt.steps,Bn=Zt.strokeWidth,Et=Zt.trailWidth,nt=Zt.gapDegree,ot=nt===void 0?0:nt,Jt=Zt.gapPosition,In=Zt.trailColor,Gt=Zt.strokeLinecap,An=Zt.style,Nn=Zt.className,di=Zt.strokeColor,At=Zt.percent,Ot=(0,Fe.Z)(Zt,qe),$e=Oe/2,Wt=se(yn),jt="".concat(Wt,"-gradient"),Je=$e-Bn/2,Me=Math.PI*2*Je,Le=ot>0?90+ot/2:-90,Xe=Me*((360-ot)/360),dt=(0,Qe.Z)(on)==="object"?on:{count:on,gap:2},je=dt.count,bt=dt.gap,Sn=lt(At),ni=lt(di),ui=ni.find(function(cn){return cn&&(0,Qe.Z)(cn)==="object"}),vn=ui&&(0,Qe.Z)(ui)==="object",_n=vn?"butt":Gt,rn=Ke(Me,Xe,0,100,Le,ot,Jt,In,_n,Bn),oi=tt(),ei=function(){var tr=0;return Sn.map(function(Xi,$t){var _e=ni[$t]||ni[ni.length-1],xr=Ke(Me,Xe,tr,Xi,Le,ot,Jt,_e,_n,Bn);return tr+=Xi,ke.createElement(we,{key:$t,color:_e,ptg:Xi,radius:Je,prefixCls:Ln,gradientId:jt,style:xr,strokeLinecap:_n,strokeWidth:Bn,gapDegree:ot,ref:function(ai){oi[$t]=ai},size:Oe})}).reverse()},Ri=function(){var tr=Math.round(je*(Sn[0]/100)),Xi=100/je,$t=0;return new Array(je).fill(null).map(function(_e,xr){var er=xr<=tr-1?ni[0]:In,ai=er&&(0,Qe.Z)(er)==="object"?"url(#".concat(jt,")"):void 0,Rr=Ke(Me,Xe,$t,Xi,Le,ot,Jt,er,"butt",Bn,bt);return $t+=(Xe-Rr.strokeDashoffset+bt)*100/Xe,ke.createElement("circle",{key:xr,className:"".concat(Ln,"-circle-path"),r:Je,cx:$e,cy:$e,stroke:ai,strokeWidth:Bn,opacity:1,style:Rr,ref:function(Ii){oi[xr]=Ii}})})};return ke.createElement("svg",(0,ce.Z)({className:Pe()("".concat(Ln,"-circle"),Nn),viewBox:"0 0 ".concat(Oe," ").concat(Oe),style:An,id:yn,role:"presentation"},Ot),!je&&ke.createElement("circle",{className:"".concat(Ln,"-circle-trail"),r:Je,cx:$e,cy:$e,stroke:In,strokeLinecap:_n,strokeWidth:Et||Bn,style:rn}),je?Ri():ei())},ft=at,pt={Line:xt,Circle:ft}},71032:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return ve}});var ce=ue(87462),Ae=ue(4942),Fe=ue(97685),ke=ue(45987),Ye=ue(94184),Pe=ue.n(Ye),Ue=ue(21770),tt=ue(15105),Ze=ue(64217),rt=ue(67294);function xt(be,we){var Oe=be.disabled,Ke=be.prefixCls,qe=be.character,lt=be.characterRender,at=be.index,ft=be.count,pt=be.value,Nt=be.allowHalf,Xt=be.focused,Zt=be.onHover,yn=be.onClick,Ln=function(Gt){Zt(Gt,at)},on=function(Gt){yn(Gt,at)},Bn=function(Gt){Gt.keyCode===tt.Z.ENTER&&yn(Gt,at)},Et=at+1,nt=new Set([Ke]);pt===0&&at===0&&Xt?nt.add("".concat(Ke,"-focused")):Nt&&pt+.5>=Et&&pt<Et?(nt.add("".concat(Ke,"-half")),nt.add("".concat(Ke,"-active")),Xt&&nt.add("".concat(Ke,"-focused"))):(Et<=pt?nt.add("".concat(Ke,"-full")):nt.add("".concat(Ke,"-zero")),Et===pt&&Xt&&nt.add("".concat(Ke,"-focused")));var ot=typeof qe=="function"?qe(be):qe,Jt=rt.createElement("li",{className:Pe()(Array.from(nt)),ref:we},rt.createElement("div",{onClick:Oe?null:on,onKeyDown:Oe?null:Bn,onMouseMove:Oe?null:Ln,role:"radio","aria-checked":pt>at?"true":"false","aria-posinset":at+1,"aria-setsize":ft,tabIndex:Oe?-1:0},rt.createElement("div",{className:"".concat(Ke,"-first")},ot),rt.createElement("div",{className:"".concat(Ke,"-second")},ot)));return lt&&(Jt=lt(Jt,be)),Jt}var Qe=rt.forwardRef(xt);function Mt(){var be=rt.useRef({});function we(Ke){return be.current[Ke]}function Oe(Ke){return function(qe){be.current[Ke]=qe}}return[we,Oe]}function De(be){var we=be.pageXOffset,Oe="scrollLeft";if(typeof we!="number"){var Ke=be.document;we=Ke.documentElement[Oe],typeof we!="number"&&(we=Ke.body[Oe])}return we}function te(be){var we,Oe,Ke=be.ownerDocument,qe=Ke.body,lt=Ke&&Ke.documentElement,at=be.getBoundingClientRect();return we=at.left,Oe=at.top,we-=lt.clientLeft||qe.clientLeft||0,Oe-=lt.clientTop||qe.clientTop||0,{left:we,top:Oe}}function ee(be){var we=te(be),Oe=be.ownerDocument,Ke=Oe.defaultView||Oe.parentWindow;return we.left+=De(Ke),we.left}var de=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function se(be,we){var Oe=be.prefixCls,Ke=Oe===void 0?"rc-rate":Oe,qe=be.className,lt=be.defaultValue,at=be.value,ft=be.count,pt=ft===void 0?5:ft,Nt=be.allowHalf,Xt=Nt===void 0?!1:Nt,Zt=be.allowClear,yn=Zt===void 0?!0:Zt,Ln=be.keyboard,on=Ln===void 0?!0:Ln,Bn=be.character,Et=Bn===void 0?"\u2605":Bn,nt=be.characterRender,ot=be.disabled,Jt=be.direction,In=Jt===void 0?"ltr":Jt,Gt=be.tabIndex,An=Gt===void 0?0:Gt,Nn=be.autoFocus,di=be.onHoverChange,At=be.onChange,Ot=be.onFocus,$e=be.onBlur,Wt=be.onKeyDown,jt=be.onMouseLeave,Je=(0,ke.Z)(be,de),Me=Mt(),Le=(0,Fe.Z)(Me,2),Xe=Le[0],dt=Le[1],je=rt.useRef(null),bt=function(){if(!ot){var yr;(yr=je.current)===null||yr===void 0||yr.focus()}};rt.useImperativeHandle(we,function(){return{focus:bt,blur:function(){if(!ot){var yr;(yr=je.current)===null||yr===void 0||yr.blur()}}}});var Sn=(0,Ue.Z)(lt||0,{value:at}),ni=(0,Fe.Z)(Sn,2),ui=ni[0],vn=ni[1],_n=(0,Ue.Z)(null),rn=(0,Fe.Z)(_n,2),oi=rn[0],ei=rn[1],Ri=function(yr,On){var Ie=In==="rtl",Mn=yr+1;if(Xt){var Kn=Xe(yr),ri=ee(Kn),fi=Kn.clientWidth;(Ie&&On-ri>fi/2||!Ie&&On-ri<fi/2)&&(Mn-=.5)}return Mn},cn=function(yr){vn(yr),At==null||At(yr)},tr=rt.useState(!1),Xi=(0,Fe.Z)(tr,2),$t=Xi[0],_e=Xi[1],xr=function(){_e(!0),Ot==null||Ot()},er=function(){_e(!1),$e==null||$e()},ai=rt.useState(null),Rr=(0,Fe.Z)(ai,2),Lr=Rr[0],Ii=Rr[1],ar=function(yr,On){var Ie=Ri(On,yr.pageX);Ie!==oi&&(Ii(Ie),ei(null)),di==null||di(Ie)},hi=function(yr){ot||(Ii(null),ei(null),di==null||di(void 0)),yr&&(jt==null||jt(yr))},Qt=function(yr,On){var Ie=Ri(On,yr.pageX),Mn=!1;yn&&(Mn=Ie===ui),hi(),cn(Mn?0:Ie),ei(Mn?Ie:null)},Wr=function(yr){var On=yr.keyCode,Ie=In==="rtl",Mn=Xt?.5:1;on&&(On===tt.Z.RIGHT&&ui<pt&&!Ie?(cn(ui+Mn),yr.preventDefault()):On===tt.Z.LEFT&&ui>0&&!Ie||On===tt.Z.RIGHT&&ui>0&&Ie?(cn(ui-Mn),yr.preventDefault()):On===tt.Z.LEFT&&ui<pt&&Ie&&(cn(ui+Mn),yr.preventDefault())),Wt==null||Wt(yr)};rt.useEffect(function(){Nn&&!ot&&bt()},[]);var oo=new Array(pt).fill(0).map(function(xo,yr){return rt.createElement(Qe,{ref:dt(yr),index:yr,count:pt,disabled:ot,prefixCls:"".concat(Ke,"-star"),allowHalf:Xt,value:Lr===null?ui:Lr,onClick:Qt,onHover:ar,key:xo||yr,character:Et,characterRender:nt,focused:$t})}),dr=Pe()(Ke,qe,(0,Ae.Z)((0,Ae.Z)({},"".concat(Ke,"-disabled"),ot),"".concat(Ke,"-rtl"),In==="rtl"));return rt.createElement("ul",(0,ce.Z)({className:dr,onMouseLeave:hi,tabIndex:ot?-1:An,onFocus:ot?null:xr,onBlur:ot?null:er,onKeyDown:ot?null:Wr,ref:je},(0,Ze.Z)(Je,{aria:!0,data:!0,attr:!0})),oo)}var ge=rt.forwardRef(se),ve=ge},58212:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Bn}});function ce(){return ce=Object.assign?Object.assign.bind():function(Et){for(var nt=1;nt<arguments.length;nt++){var ot=arguments[nt];for(var Jt in ot)Object.prototype.hasOwnProperty.call(ot,Jt)&&(Et[Jt]=ot[Jt])}return Et},ce.apply(this,arguments)}function Ae(Et){"@babel/helpers - typeof";return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(nt){return typeof nt}:function(nt){return nt&&typeof Symbol=="function"&&nt.constructor===Symbol&&nt!==Symbol.prototype?"symbol":typeof nt},Ae(Et)}function Fe(Et,nt){if(Ae(Et)!=="object"||Et===null)return Et;var ot=Et[Symbol.toPrimitive];if(ot!==void 0){var Jt=ot.call(Et,nt||"default");if(Ae(Jt)!=="object")return Jt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(nt==="string"?String:Number)(Et)}function ke(Et){var nt=Fe(Et,"string");return Ae(nt)==="symbol"?nt:String(nt)}function Ye(Et,nt,ot){return nt=ke(nt),nt in Et?Object.defineProperty(Et,nt,{value:ot,enumerable:!0,configurable:!0,writable:!0}):Et[nt]=ot,Et}function Pe(Et){if(Array.isArray(Et))return Et}function Ue(Et,nt){var ot=Et==null?null:typeof Symbol!="undefined"&&Et[Symbol.iterator]||Et["@@iterator"];if(ot!=null){var Jt,In,Gt,An,Nn=[],di=!0,At=!1;try{if(Gt=(ot=ot.call(Et)).next,nt===0){if(Object(ot)!==ot)return;di=!1}else for(;!(di=(Jt=Gt.call(ot)).done)&&(Nn.push(Jt.value),Nn.length!==nt);di=!0);}catch(Ot){At=!0,In=Ot}finally{try{if(!di&&ot.return!=null&&(An=ot.return(),Object(An)!==An))return}finally{if(At)throw In}}return Nn}}function tt(Et,nt){(nt==null||nt>Et.length)&&(nt=Et.length);for(var ot=0,Jt=new Array(nt);ot<nt;ot++)Jt[ot]=Et[ot];return Jt}function Ze(Et,nt){if(Et){if(typeof Et=="string")return tt(Et,nt);var ot=Object.prototype.toString.call(Et).slice(8,-1);if(ot==="Object"&&Et.constructor&&(ot=Et.constructor.name),ot==="Map"||ot==="Set")return Array.from(Et);if(ot==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return tt(Et,nt)}}function rt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xt(Et,nt){return Pe(Et)||Ue(Et,nt)||Ze(Et,nt)||rt()}function Qe(Et,nt){if(Et==null)return{};var ot={},Jt=Object.keys(Et),In,Gt;for(Gt=0;Gt<Jt.length;Gt++)In=Jt[Gt],!(nt.indexOf(In)>=0)&&(ot[In]=Et[In]);return ot}function Mt(Et,nt){if(Et==null)return{};var ot=Qe(Et,nt),Jt,In;if(Object.getOwnPropertySymbols){var Gt=Object.getOwnPropertySymbols(Et);for(In=0;In<Gt.length;In++)Jt=Gt[In],!(nt.indexOf(Jt)>=0)&&Object.prototype.propertyIsEnumerable.call(Et,Jt)&&(ot[Jt]=Et[Jt])}return ot}var De=ue(67294),te=ue(94184),ee=ue.n(te);function de(Et){if(Array.isArray(Et))return Et}function se(Et,nt){var ot=Et==null?null:typeof Symbol!="undefined"&&Et[Symbol.iterator]||Et["@@iterator"];if(ot!=null){var Jt,In,Gt,An,Nn=[],di=!0,At=!1;try{if(Gt=(ot=ot.call(Et)).next,nt===0){if(Object(ot)!==ot)return;di=!1}else for(;!(di=(Jt=Gt.call(ot)).done)&&(Nn.push(Jt.value),Nn.length!==nt);di=!0);}catch(Ot){At=!0,In=Ot}finally{try{if(!di&&ot.return!=null&&(An=ot.return(),Object(An)!==An))return}finally{if(At)throw In}}return Nn}}function ge(Et,nt){(nt==null||nt>Et.length)&&(nt=Et.length);for(var ot=0,Jt=new Array(nt);ot<nt;ot++)Jt[ot]=Et[ot];return Jt}function ve(Et,nt){if(Et){if(typeof Et=="string")return ge(Et,nt);var ot=Object.prototype.toString.call(Et).slice(8,-1);if(ot==="Object"&&Et.constructor&&(ot=Et.constructor.name),ot==="Map"||ot==="Set")return Array.from(Et);if(ot==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return ge(Et,nt)}}function be(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(Et,nt){return de(Et)||se(Et,nt)||ve(Et,nt)||be()}function Oe(Et){var nt=De.useRef();nt.current=Et;var ot=De.useCallback(function(){for(var Jt,In=arguments.length,Gt=new Array(In),An=0;An<In;An++)Gt[An]=arguments[An];return(Jt=nt.current)===null||Jt===void 0?void 0:Jt.call.apply(Jt,[nt].concat(Gt))},[]);return ot}function Ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var qe=Ke()?De.useLayoutEffect:De.useEffect,lt=function(nt,ot){var Jt=De.useRef(!0);qe(function(){return nt(Jt.current)},ot),qe(function(){return Jt.current=!1,function(){Jt.current=!0}},[])},at=function(nt,ot){lt(function(Jt){if(!Jt)return nt()},ot)},ft=null;function pt(Et){var nt=De.useRef(!1),ot=De.useState(Et),Jt=we(ot,2),In=Jt[0],Gt=Jt[1];De.useEffect(function(){return nt.current=!1,function(){nt.current=!0}},[]);function An(Nn,di){di&&nt.current||Gt(Nn)}return[In,An]}function Nt(Et){return Et!==void 0}function Xt(Et,nt){var ot=nt||{},Jt=ot.defaultValue,In=ot.value,Gt=ot.onChange,An=ot.postState,Nn=pt(function(){return Nt(In)?In:Nt(Jt)?typeof Jt=="function"?Jt():Jt:typeof Et=="function"?Et():Et}),di=we(Nn,2),At=di[0],Ot=di[1],$e=In!==void 0?In:At,Wt=An?An($e):$e,jt=Oe(Gt),Je=pt([$e]),Me=we(Je,2),Le=Me[0],Xe=Me[1];at(function(){var je=Le[0];At!==je&&jt(At,je)},[Le]),at(function(){Nt(In)||Ot(In)},[In]);var dt=Oe(function(je,bt){Ot(je,bt),Xe([$e],bt)});return[Wt,dt]}var Zt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(nt){var ot=nt.keyCode;if(nt.altKey&&!nt.ctrlKey||nt.metaKey||ot>=Zt.F1&&ot<=Zt.F12)return!1;switch(ot){case Zt.ALT:case Zt.CAPS_LOCK:case Zt.CONTEXT_MENU:case Zt.CTRL:case Zt.DOWN:case Zt.END:case Zt.ESC:case Zt.HOME:case Zt.INSERT:case Zt.LEFT:case Zt.MAC_FF_META:case Zt.META:case Zt.NUMLOCK:case Zt.NUM_CENTER:case Zt.PAGE_DOWN:case Zt.PAGE_UP:case Zt.PAUSE:case Zt.PRINT_SCREEN:case Zt.RIGHT:case Zt.SHIFT:case Zt.UP:case Zt.WIN_KEY:case Zt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(nt){if(nt>=Zt.ZERO&&nt<=Zt.NINE||nt>=Zt.NUM_ZERO&&nt<=Zt.NUM_MULTIPLY||nt>=Zt.A&&nt<=Zt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&nt===0)return!0;switch(nt){case Zt.SPACE:case Zt.QUESTION_MARK:case Zt.NUM_PLUS:case Zt.NUM_MINUS:case Zt.NUM_PERIOD:case Zt.NUM_DIVISION:case Zt.SEMICOLON:case Zt.DASH:case Zt.EQUALS:case Zt.COMMA:case Zt.PERIOD:case Zt.SLASH:case Zt.APOSTROPHE:case Zt.SINGLE_QUOTE:case Zt.OPEN_SQUARE_BRACKET:case Zt.BACKSLASH:case Zt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},yn=Zt,Ln=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],on=De.forwardRef(function(Et,nt){var ot,Jt=Et.prefixCls,In=Jt===void 0?"rc-switch":Jt,Gt=Et.className,An=Et.checked,Nn=Et.defaultChecked,di=Et.disabled,At=Et.loadingIcon,Ot=Et.checkedChildren,$e=Et.unCheckedChildren,Wt=Et.onClick,jt=Et.onChange,Je=Et.onKeyDown,Me=Mt(Et,Ln),Le=Xt(!1,{value:An,defaultValue:Nn}),Xe=xt(Le,2),dt=Xe[0],je=Xe[1];function bt(vn,_n){var rn=dt;return di||(rn=vn,je(rn),jt==null||jt(rn,_n)),rn}function Sn(vn){vn.which===yn.LEFT?bt(!1,vn):vn.which===yn.RIGHT&&bt(!0,vn),Je==null||Je(vn)}function ni(vn){var _n=bt(!dt,vn);Wt==null||Wt(_n,vn)}var ui=ee()(In,Gt,(ot={},Ye(ot,"".concat(In,"-checked"),dt),Ye(ot,"".concat(In,"-disabled"),di),ot));return De.createElement("button",ce({},Me,{type:"button",role:"switch","aria-checked":dt,disabled:di,className:ui,ref:nt,onKeyDown:Sn,onClick:ni}),At,De.createElement("span",{className:"".concat(In,"-inner")},De.createElement("span",{className:"".concat(In,"-inner-checked")},Ot),De.createElement("span",{className:"".concat(In,"-inner-unchecked")},$e)))});on.displayName="Switch";var Bn=on},45233:function(Re,xe,ue){"use strict";ue.d(xe,{R:function(){return Ae},w:function(){return ce}});var ce={},Ae="rc-table-internal-hook"},54768:function(Re,xe,ue){"use strict";ue.d(xe,{L:function(){return de},Z:function(){return we}});var ce=ue(97685),Ae=ue(4942),Fe=ue(74902),ke=ue(71002),Ye=ue(1413),Pe=ue(45987),Ue=ue(63295),tt=ue(67294);function Ze(Oe){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qe=[];return tt.Children.forEach(Oe,function(lt){lt==null&&!Ke.keepEmpty||(Array.isArray(lt)?qe=qe.concat(Ze(lt)):(0,Ue.Z)(lt)&<.props?qe=qe.concat(Ze(lt.props.children,Ke)):qe.push(lt))}),qe}var rt=ue(40830),xt=ue(45233),Qe=ue(62978);function Mt(Oe){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ke=="number"?Ke:Ke.endsWith("%")?Oe*parseFloat(Ke)/100:null}function De(Oe,Ke,qe){return tt.useMemo(function(){if(Ke&&Ke>0){var lt=0,at=0;Oe.forEach(function(on){var Bn=Mt(Ke,on.width);Bn?lt+=Bn:at+=1});var ft=Math.max(Ke,qe),pt=Math.max(ft-lt,at),Nt=at,Xt=pt/at,Zt=0,yn=Oe.map(function(on){var Bn=(0,Ye.Z)({},on),Et=Mt(Ke,Bn.width);if(Et)Bn.width=Et;else{var nt=Math.floor(Xt);Bn.width=Nt===1?pt:nt,pt-=nt,Nt-=1}return Zt+=Bn.width,Bn});if(Zt<ft){var Ln=ft/Zt;pt=ft,yn.forEach(function(on,Bn){var Et=Math.floor(on.width*Ln);on.width=Bn===yn.length-1?pt:Et,pt-=Et})}return[yn,Math.max(Zt,ft)]}return[Oe,Ke]},[Oe,Ke,qe])}var te=["children"],ee=["fixed"];function de(Oe){return Ze(Oe).filter(function(Ke){return tt.isValidElement(Ke)}).map(function(Ke){var qe=Ke.key,lt=Ke.props,at=lt.children,ft=(0,Pe.Z)(lt,te),pt=(0,Ye.Z)({key:qe},ft);return at&&(pt.children=de(at)),pt})}function se(Oe){return Oe.filter(function(Ke){return Ke&&(0,ke.Z)(Ke)==="object"&&!Ke.hidden}).map(function(Ke){var qe=Ke.children;return qe&&qe.length>0?(0,Ye.Z)((0,Ye.Z)({},Ke),{},{children:se(qe)}):Ke})}function ge(Oe){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Oe.filter(function(qe){return qe&&(0,ke.Z)(qe)==="object"}).reduce(function(qe,lt,at){var ft=lt.fixed,pt=ft===!0?"left":ft,Nt="".concat(Ke,"-").concat(at),Xt=lt.children;return Xt&&Xt.length>0?[].concat((0,Fe.Z)(qe),(0,Fe.Z)(ge(Xt,Nt).map(function(Zt){return(0,Ye.Z)({fixed:pt},Zt)}))):[].concat((0,Fe.Z)(qe),[(0,Ye.Z)((0,Ye.Z)({key:Nt},lt),{},{fixed:pt})])},[])}function ve(Oe){return Oe.map(function(Ke){var qe=Ke.fixed,lt=(0,Pe.Z)(Ke,ee),at=qe;return qe==="left"?at="right":qe==="right"&&(at="left"),(0,Ye.Z)({fixed:at},lt)})}function be(Oe,Ke){var qe=Oe.prefixCls,lt=Oe.columns,at=Oe.children,ft=Oe.expandable,pt=Oe.expandedKeys,Nt=Oe.columnTitle,Xt=Oe.getRowKey,Zt=Oe.onTriggerExpand,yn=Oe.expandIcon,Ln=Oe.rowExpandable,on=Oe.expandIconColumnIndex,Bn=Oe.direction,Et=Oe.expandRowByClick,nt=Oe.columnWidth,ot=Oe.fixed,Jt=Oe.scrollWidth,In=Oe.clientWidth,Gt=tt.useMemo(function(){var Je=lt||de(at)||[];return se(Je.slice())},[lt,at]),An=tt.useMemo(function(){if(ft){var Je=Gt.slice();if(!Je.includes(xt.w)){var Me=on||0;Me>=0&&(Me||ot==="left"||!ot)&&Je.splice(Me,0,xt.w),ot==="right"&&Je.splice(Gt.length,0,xt.w)}var Le=Je.indexOf(xt.w);Je=Je.filter(function(bt,Sn){return bt!==xt.w||Sn===Le});var Xe=Gt[Le],dt;ot?dt=ot:dt=Xe?Xe.fixed:null;var je=(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},Qe.v,{className:"".concat(qe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Nt),"fixed",dt),"className","".concat(qe,"-row-expand-icon-cell")),"width",nt),"render",function(Sn,ni,ui){var vn=Xt(ni,ui),_n=pt.has(vn),rn=Ln?Ln(ni):!0,oi=yn({prefixCls:qe,expanded:_n,expandable:rn,record:ni,onExpand:Zt});return Et?tt.createElement("span",{onClick:function(Ri){return Ri.stopPropagation()}},oi):oi});return Je.map(function(bt){return bt===xt.w?je:bt})}return Gt.filter(function(bt){return bt!==xt.w})},[ft,Gt,Xt,pt,yn,Bn]),Nn=tt.useMemo(function(){var Je=An;return Ke&&(Je=Ke(Je)),Je.length||(Je=[{render:function(){return null}}]),Je},[Ke,An,Bn]),di=tt.useMemo(function(){return Bn==="rtl"?ve(ge(Nn)):ge(Nn)},[Nn,Bn,Jt]),At=tt.useMemo(function(){for(var Je=-1,Me=di.length-1;Me>=0;Me-=1){var Le=di[Me].fixed;if(Le==="left"||Le===!0){Je=Me;break}}if(Je>=0)for(var Xe=0;Xe<=Je;Xe+=1){var dt=di[Xe].fixed;if(dt!=="left"&&dt!==!0)return!0}var je=di.findIndex(function(ni){var ui=ni.fixed;return ui==="right"});if(je>=0)for(var bt=je;bt<di.length;bt+=1){var Sn=di[bt].fixed;if(Sn!=="right")return!0}return!1},[di]),Ot=De(di,Jt,In),$e=(0,ce.Z)(Ot,2),Wt=$e[0],jt=$e[1];return[Nn,Wt,jt,At]}var we=be},29104:function(Re,xe,ue){"use strict";ue.d(xe,{w2:function(){return ce.w},vP:function(){return bo.v},RQ:function(){return ce.R},ER:function(){return On},Q$:function(){return Go},TN:function(){return Zu}});var ce=ue(45233),Ae=ue(97685),Fe=ue(66680),ke=ue(8410),Ye=ue(91881),Pe=ue(67294),Ue=ue(73935);function tt(ht){var Dt=Pe.createContext(void 0),_t=function(ln){var En=ln.value,Tn=ln.children,Vn=Pe.useRef(En);Vn.current=En;var mi=Pe.useState(function(){return{getValue:function(){return Vn.current},listeners:new Set}}),li=(0,Ae.Z)(mi,1),Fi=li[0];return(0,ke.Z)(function(){(0,Ue.unstable_batchedUpdates)(function(){Fi.listeners.forEach(function(gi){gi(En)})})},[En]),Pe.createElement(Dt.Provider,{value:Fi},Tn)};return{Context:Dt,Provider:_t,defaultValue:ht}}function Ze(ht,Dt){var _t=(0,Fe.Z)(typeof Dt=="function"?Dt:function(gi){if(Dt===void 0)return gi;if(!Array.isArray(Dt))return gi[Dt];var Ai={};return Dt.forEach(function(xi){Ai[xi]=gi[xi]}),Ai}),zt=Pe.useContext(ht==null?void 0:ht.Context),ln=zt||{},En=ln.listeners,Tn=ln.getValue,Vn=Pe.useRef();Vn.current=_t(zt?Tn():ht==null?void 0:ht.defaultValue);var mi=Pe.useState({}),li=(0,Ae.Z)(mi,2),Fi=li[1];return(0,ke.Z)(function(){if(!zt)return;function gi(Ai){var xi=_t(Ai);(0,Ye.Z)(Vn.current,xi,!0)||Fi({})}return En.add(gi),function(){En.delete(gi)}},[zt]),Vn.current}var rt=ue(87462),xt=ue(42550);function Qe(){var ht=Pe.createContext(null);function Dt(){return Pe.useContext(ht)}function _t(ln,En){var Tn=(0,xt.Yr)(ln),Vn=function(li,Fi){var gi=Tn?{ref:Fi}:{},Ai=Pe.useRef(0),xi=Pe.useRef(li),zi=Dt();return zi!==null?Pe.createElement(ln,(0,rt.Z)({},li,gi)):((!En||En(xi.current,li))&&(Ai.current+=1),xi.current=li,Pe.createElement(ht.Provider,{value:Ai.current},Pe.createElement(ln,(0,rt.Z)({},li,gi))))};return Tn?Pe.forwardRef(Vn):Vn}function zt(ln,En){var Tn=(0,xt.Yr)(ln),Vn=function(li,Fi){var gi=Tn?{ref:Fi}:{};return Dt(),Pe.createElement(ln,(0,rt.Z)({},li,gi))};return Tn?Pe.memo(Pe.forwardRef(Vn),En):Pe.memo(Vn,En)}return{makeImmutable:_t,responseImmutable:zt,useImmutableMark:Dt}}var Mt=Qe(),De=Mt.makeImmutable,te=Mt.responseImmutable,ee=Mt.useImmutableMark,de=Qe(),se=de.makeImmutable,ge=de.responseImmutable,ve=de.useImmutableMark,be=tt(),we=be;function Oe(ht,Dt){var _t=React.useRef(0);_t.current+=1;var zt=React.useRef(ht),ln=[];Object.keys(ht||{}).map(function(Tn){var Vn;(ht==null?void 0:ht[Tn])!==((Vn=zt.current)===null||Vn===void 0?void 0:Vn[Tn])&&ln.push(Tn)}),zt.current=ht;var En=React.useRef([]);return ln.length&&(En.current=ln),React.useDebugValue(_t.current),React.useDebugValue(En.current.join(", ")),Dt&&console.log("".concat(Dt,":"),_t.current,En.current),_t.current}var Ke=null,qe=null,lt=ue(71002),at=ue(1413),ft=ue(4942),pt=ue(94184),Nt=ue.n(pt);function Xt(ht,Dt,_t){var zt=Pe.useRef({});return(!("value"in zt.current)||_t(zt.current.condition,Dt))&&(zt.current.value=ht(),zt.current.condition=Dt),zt.current.value}var Zt=ue(40830);function yn(ht,Dt){var _t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,zt=new Set;function ln(En,Tn){var Vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,mi=zt.has(En);if((0,Zt.ZP)(!mi,"Warning: There may be circular references"),mi)return!1;if(En===Tn)return!0;if(_t&&Vn>1)return!1;zt.add(En);var li=Vn+1;if(Array.isArray(En)){if(!Array.isArray(Tn)||En.length!==Tn.length)return!1;for(var Fi=0;Fi<En.length;Fi++)if(!ln(En[Fi],Tn[Fi],li))return!1;return!0}if(En&&Tn&&(0,lt.Z)(En)==="object"&&(0,lt.Z)(Tn)==="object"){var gi=Object.keys(En);return gi.length!==Object.keys(Tn).length?!1:gi.every(function(Ai){return ln(En[Ai],Tn[Ai],li)})}return!1}return ln(ht,Dt)}var Ln=yn;function on(ht,Dt){for(var _t=ht,zt=0;zt<Dt.length;zt+=1){if(_t==null)return;_t=_t[Dt[zt]]}return _t}var Bn=Pe.createContext({renderWithProps:!1}),Et=Bn,nt="RC_TABLE_KEY";function ot(ht){return ht==null?[]:Array.isArray(ht)?ht:[ht]}function Jt(ht){var Dt=[],_t={};return ht.forEach(function(zt){for(var ln=zt||{},En=ln.key,Tn=ln.dataIndex,Vn=En||ot(Tn).join("-")||nt;_t[Vn];)Vn="".concat(Vn,"_next");_t[Vn]=!0,Dt.push(Vn)}),Dt}function In(ht){return ht!=null}function Gt(ht){return typeof ht=="number"&&!Number.isNaN(ht)}function An(ht){return ht&&(0,lt.Z)(ht)==="object"&&!Array.isArray(ht)&&!Pe.isValidElement(ht)}function Nn(ht,Dt,_t,zt,ln,En){var Tn=Pe.useContext(Et),Vn=ve(),mi=Xt(function(){if(In(zt))return[zt];var li=Dt==null||Dt===""?[]:Array.isArray(Dt)?Dt:[Dt],Fi=on(ht,li),gi=Fi,Ai=void 0;if(ln){var xi=ln(Fi,ht,_t);An(xi)?(gi=xi.children,Ai=xi.props,Tn.renderWithProps=!0):gi=xi}return[gi,Ai]},[Vn,ht,zt,Dt,ln,_t],function(li,Fi){if(En){var gi=(0,Ae.Z)(li,2),Ai=gi[1],xi=(0,Ae.Z)(Fi,2),zi=xi[1];return En(zi,Ai)}return Tn.renderWithProps?!0:!Ln(li,Fi,!0)});return mi}function di(ht,Dt,_t,zt){var ln=ht+Dt-1;return ht<=zt&&ln>=_t}function At(ht,Dt){return Ze(we,function(_t){var zt=di(ht,Dt||1,_t.hoverStartRow,_t.hoverEndRow);return[zt,_t.onHover]})}function Ot(ht){var Dt=Pe.useRef();Dt.current=ht;var _t=Pe.useCallback(function(){for(var zt,ln=arguments.length,En=new Array(ln),Tn=0;Tn<ln;Tn++)En[Tn]=arguments[Tn];return(zt=Dt.current)===null||zt===void 0?void 0:zt.call.apply(zt,[Dt].concat(En))},[]);return _t}function $e(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Wt=$e()?Pe.useLayoutEffect:Pe.useEffect,jt=function(Dt,_t){var zt=React.useRef(!0);Wt(function(){return Dt(zt.current)},_t),Wt(function(){return zt.current=!1,function(){zt.current=!0}},[])},Je=function(Dt,_t){jt(function(zt){if(!zt)return Dt()},_t)},Me=null;function Le(ht){var Dt=React.useRef(!1),_t=React.useState(ht),zt=_slicedToArray(_t,2),ln=zt[0],En=zt[1];React.useEffect(function(){return Dt.current=!1,function(){Dt.current=!0}},[]);function Tn(Vn,mi){mi&&Dt.current||En(Vn)}return[ln,Tn]}function Xe(ht){return ht!==void 0}function dt(ht,Dt){var _t=Dt||{},zt=_t.defaultValue,ln=_t.value,En=_t.onChange,Tn=_t.postState,Vn=useState(function(){return Xe(ln)?ln:Xe(zt)?typeof zt=="function"?zt():zt:typeof ht=="function"?ht():ht}),mi=_slicedToArray(Vn,2),li=mi[0],Fi=mi[1],gi=ln!==void 0?ln:li,Ai=Tn?Tn(gi):gi,xi=useEvent(En),zi=useState([gi]),fr=_slicedToArray(zi,2),Nr=fr[0],zr=fr[1];useLayoutUpdateEffect(function(){var Tr=Nr[0];li!==Tr&&xi(li,Tr)},[Nr]),useLayoutUpdateEffect(function(){Xe(ln)||Fi(ln)},[ln]);var Yi=useEvent(function(Tr,ur){Fi(Tr,ur),zr([gi],ur)});return[Ai,Yi]}var je=ue(35110),bt=ue(63295),Sn=Number(Pe.version.split(".")[0]),ni=function(Dt,_t){typeof Dt=="function"?Dt(_t):(0,lt.Z)(Dt)==="object"&&Dt&&"current"in Dt&&(Dt.current=_t)},ui=function(){for(var Dt=arguments.length,_t=new Array(Dt),zt=0;zt<Dt;zt++)_t[zt]=arguments[zt];var ln=_t.filter(Boolean);return ln.length<=1?ln[0]:function(En){_t.forEach(function(Tn){ni(Tn,En)})}},vn=function(){for(var Dt=arguments.length,_t=new Array(Dt),zt=0;zt<Dt;zt++)_t[zt]=arguments[zt];return useMemo(function(){return ui.apply(void 0,_t)},_t,function(ln,En){return ln.length!==En.length||ln.every(function(Tn,Vn){return Tn!==En[Vn]})})},_n=function(Dt){var _t,zt;if(!Dt)return!1;if(rn(Dt)&&Sn>=19)return!0;var ln=isMemo(Dt)?Dt.type.type:Dt.type;return!(typeof ln=="function"&&!((_t=ln.prototype)!==null&&_t!==void 0&&_t.render)&&ln.$$typeof!==ForwardRef||typeof Dt=="function"&&!((zt=Dt.prototype)!==null&&zt!==void 0&&zt.render)&&Dt.$$typeof!==ForwardRef)};function rn(ht){return isValidElement(ht)&&!isFragment(ht)}var oi=function(Dt){return rn(Dt)&&_n(Dt)},ei=function(Dt){if(Dt&&rn(Dt)){var _t=Dt;return _t.props.propertyIsEnumerable("ref")?_t.props.ref:_t.ref}return null};function Ri(ht,Dt,_t,zt){if(!Dt.length)return _t;var ln=_toArray(Dt),En=ln[0],Tn=ln.slice(1),Vn;return!ht&&typeof En=="number"?Vn=[]:Array.isArray(ht)?Vn=_toConsumableArray(ht):Vn=_objectSpread({},ht),zt&&_t===void 0&&Tn.length===1?delete Vn[En][Tn[0]]:Vn[En]=Ri(Vn[En],Tn,_t,zt),Vn}function cn(ht,Dt,_t){var zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Dt.length&&zt&&_t===void 0&&!get(ht,Dt.slice(0,-1))?ht:Ri(ht,Dt,_t,zt)}function tr(ht){return _typeof(ht)==="object"&&ht!==null&&Object.getPrototypeOf(ht)===Object.prototype}function Xi(ht){return Array.isArray(ht)?[]:{}}var $t=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function _e(){for(var ht=arguments.length,Dt=new Array(ht),_t=0;_t<ht;_t++)Dt[_t]=arguments[_t];var zt=Xi(Dt[0]);return Dt.forEach(function(ln){function En(Tn,Vn){var mi=new Set(Vn),li=get(ln,Tn),Fi=Array.isArray(li);if(Fi||tr(li)){if(!mi.has(li)){mi.add(li);var gi=get(zt,Tn);Fi?zt=cn(zt,Tn,[]):(!gi||_typeof(gi)!=="object")&&(zt=cn(zt,Tn,Xi(li))),$t(li).forEach(function(Ai){En([].concat(_toConsumableArray(Tn),[Ai]),mi)})}}else zt=cn(zt,Tn,li)}En([])}),zt}var xr=function(Dt){var _t=Dt.ellipsis,zt=Dt.rowType,ln=Dt.children,En,Tn=_t===!0?{showTitle:!0}:_t;return Tn&&(Tn.showTitle||zt==="header")&&(typeof ln=="string"||typeof ln=="number"?En=ln.toString():Pe.isValidElement(ln)&&typeof ln.props.children=="string"&&(En=ln.props.children)),En};function er(ht){var Dt,_t,zt,ln,En,Tn,Vn,mi,li=ht.component,Fi=ht.children,gi=ht.ellipsis,Ai=ht.scope,xi=ht.prefixCls,zi=ht.className,fr=ht.align,Nr=ht.record,zr=ht.render,Yi=ht.dataIndex,Tr=ht.renderIndex,ur=ht.shouldCellUpdate,Ur=ht.index,mo=ht.rowType,Fr=ht.colSpan,Uo=ht.rowSpan,wo=ht.fixLeft,Jo=ht.fixRight,Ce=ht.firstFixLeft,ze=ht.lastFixLeft,Ve=ht.firstFixRight,et=ht.lastFixRight,gt=ht.appendNode,St=ht.additionalProps,Pt=St===void 0?{}:St,Vt=ht.isSticky,xn="".concat(xi,"-cell"),wn=Ze(we,["supportSticky","allColumnsFixedLeft","rowHoverable"]),dn=wn.supportSticky,Gn=wn.allColumnsFixedLeft,Wn=wn.rowHoverable,Pn=Nn(Nr,Yi,Tr,Fi,zr,ur),le=(0,Ae.Z)(Pn,2),pe=le[0],Ge=le[1],Ct={},gn=typeof wo=="number"&&dn,Cn=typeof Jo=="number"&&dn;gn&&(Ct.position="sticky",Ct.left=wo),Cn&&(Ct.position="sticky",Ct.right=Jo);var ci=(Dt=(_t=(zt=Ge==null?void 0:Ge.colSpan)!==null&&zt!==void 0?zt:Pt.colSpan)!==null&&_t!==void 0?_t:Fr)!==null&&Dt!==void 0?Dt:1,Ei=(ln=(En=(Tn=Ge==null?void 0:Ge.rowSpan)!==null&&Tn!==void 0?Tn:Pt.rowSpan)!==null&&En!==void 0?En:Uo)!==null&&ln!==void 0?ln:1,ii=At(Ur,Ei),Br=(0,Ae.Z)(ii,2),Yo=Br[0],No=Br[1],ha=Ot(function(Da){var Ya;Nr&&No(Ur,Ur+Ei-1),Pt==null||(Ya=Pt.onMouseEnter)===null||Ya===void 0||Ya.call(Pt,Da)}),Qa=Ot(function(Da){var Ya;Nr&&No(-1,-1),Pt==null||(Ya=Pt.onMouseLeave)===null||Ya===void 0||Ya.call(Pt,Da)});if(ci===0||Ei===0)return null;var Ca=(Vn=Pt.title)!==null&&Vn!==void 0?Vn:xr({rowType:mo,ellipsis:gi,children:pe}),rr=Nt()(xn,zi,(mi={},(0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)(mi,"".concat(xn,"-fix-left"),gn&&dn),"".concat(xn,"-fix-left-first"),Ce&&dn),"".concat(xn,"-fix-left-last"),ze&&dn),"".concat(xn,"-fix-left-all"),ze&&Gn&&dn),"".concat(xn,"-fix-right"),Cn&&dn),"".concat(xn,"-fix-right-first"),Ve&&dn),"".concat(xn,"-fix-right-last"),et&&dn),"".concat(xn,"-ellipsis"),gi),"".concat(xn,"-with-append"),gt),"".concat(xn,"-fix-sticky"),(gn||Cn)&&Vt&&dn),(0,ft.Z)(mi,"".concat(xn,"-row-hover"),!Ge&&Yo)),Pt.className,Ge==null?void 0:Ge.className),Ko={};fr&&(Ko.textAlign=fr);var Xr=(0,at.Z)((0,at.Z)((0,at.Z)((0,at.Z)({},Ge==null?void 0:Ge.style),Ct),Ko),Pt.style),Ta=pe;return(0,lt.Z)(Ta)==="object"&&!Array.isArray(Ta)&&!Pe.isValidElement(Ta)&&(Ta=null),gi&&(ze||Ve)&&(Ta=Pe.createElement("span",{className:"".concat(xn,"-content")},Ta)),Pe.createElement(li,(0,rt.Z)({},Ge,Pt,{className:rr,style:Xr,title:Ca,scope:Ai,onMouseEnter:Wn?ha:void 0,onMouseLeave:Wn?Qa:void 0,colSpan:ci!==1?ci:null,rowSpan:Ei!==1?Ei:null}),gt,Ta)}var ai=Pe.memo(er);function Rr(ht,Dt,_t,zt,ln){var En=_t[ht]||{},Tn=_t[Dt]||{},Vn,mi;En.fixed==="left"?Vn=zt.left[ln==="rtl"?Dt:ht]:Tn.fixed==="right"&&(mi=zt.right[ln==="rtl"?ht:Dt]);var li=!1,Fi=!1,gi=!1,Ai=!1,xi=_t[Dt+1],zi=_t[ht-1],fr=xi&&!xi.fixed||zi&&!zi.fixed||_t.every(function(ur){return ur.fixed==="left"});if(ln==="rtl"){if(Vn!==void 0){var Nr=zi&&zi.fixed==="left";Ai=!Nr&&fr}else if(mi!==void 0){var zr=xi&&xi.fixed==="right";gi=!zr&&fr}}else if(Vn!==void 0){var Yi=xi&&xi.fixed==="left";li=!Yi&&fr}else if(mi!==void 0){var Tr=zi&&zi.fixed==="right";Fi=!Tr&&fr}return{fixLeft:Vn,fixRight:mi,lastFixLeft:li,firstFixRight:Fi,lastFixRight:gi,firstFixLeft:Ai,isSticky:zt.isSticky}}var Lr=Pe.createContext({}),Ii=Lr;function ar(ht){var Dt=ht.className,_t=ht.index,zt=ht.children,ln=ht.colSpan,En=ln===void 0?1:ln,Tn=ht.rowSpan,Vn=ht.align,mi=Ze(we,["prefixCls","direction"]),li=mi.prefixCls,Fi=mi.direction,gi=Pe.useContext(Ii),Ai=gi.scrollColumnIndex,xi=gi.stickyOffsets,zi=gi.flattenColumns,fr=_t+En-1,Nr=fr+1===Ai?En+1:En,zr=Rr(_t,_t+Nr-1,zi,xi,Fi);return Pe.createElement(ai,(0,rt.Z)({className:Dt,index:_t,component:"td",prefixCls:li,record:null,dataIndex:null,align:Vn,colSpan:Nr,rowSpan:Tn,render:function(){return zt}},zr))}var hi=ue(45987),Qt=["children"];function Wr(ht){var Dt=ht.children,_t=(0,hi.Z)(ht,Qt);return Pe.createElement("tr",_t,Dt)}function oo(ht){var Dt=ht.children;return Dt}oo.Row=Wr,oo.Cell=ar;var dr=oo;function xo(ht){var Dt=ht.children,_t=ht.stickyOffsets,zt=ht.flattenColumns,ln=Ze(we,"prefixCls"),En=zt.length-1,Tn=zt[En],Vn=Pe.useMemo(function(){return{stickyOffsets:_t,flattenColumns:zt,scrollColumnIndex:Tn!=null&&Tn.scrollbar?En:null}},[Tn,zt,En,_t]);return Pe.createElement(Ii.Provider,{value:Vn},Pe.createElement("tfoot",{className:"".concat(ln,"-summary")},Dt))}var yr=ge(xo),On=dr,Ie=ue(48555),Mn=function(ht){if(!ht)return!1;if(ht instanceof Element){if(ht.offsetParent)return!0;if(ht.getBBox){var Dt=ht.getBBox(),_t=Dt.width,zt=Dt.height;if(_t||zt)return!0}if(ht.getBoundingClientRect){var ln=ht.getBoundingClientRect(),En=ln.width,Tn=ln.height;if(En||Tn)return!0}}return!1},Kn=function(Dt){if($e()&&window.document.documentElement){var _t=Array.isArray(Dt)?Dt:[Dt],zt=window.document.documentElement;return _t.some(function(ln){return ln in zt.style})}return!1},ri=function(Dt,_t){if(!Kn(Dt))return!1;var zt=document.createElement("div"),ln=zt.style[Dt];return zt.style[Dt]=_t,zt.style[Dt]!==ln};function fi(ht,Dt){return!Array.isArray(ht)&&Dt!==void 0?ri(ht,Dt):Kn(ht)}function vi(ht,Dt){if(!ht)return!1;if(ht.contains)return ht.contains(Dt);for(var _t=Dt;_t;){if(_t===ht)return!0;_t=_t.parentNode}return!1}var Ni="data-rc-order",hr="data-rc-priority",un="rc-util-key",hn=new Map;function Kt(){var ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Dt=ht.mark;return Dt?Dt.startsWith("data-")?Dt:"data-".concat(Dt):un}function bn(ht){if(ht.attachTo)return ht.attachTo;var Dt=document.querySelector("head");return Dt||document.body}function Mi(ht){return ht==="queue"?"prependQueue":ht?"prepend":"append"}function Oi(ht){return Array.from((hn.get(ht)||ht).children).filter(function(Dt){return Dt.tagName==="STYLE"})}function bi(ht){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$e())return null;var _t=Dt.csp,zt=Dt.prepend,ln=Dt.priority,En=ln===void 0?0:ln,Tn=Mi(zt),Vn=Tn==="prependQueue",mi=document.createElement("style");mi.setAttribute(Ni,Tn),Vn&&En&&mi.setAttribute(hr,"".concat(En)),_t!=null&&_t.nonce&&(mi.nonce=_t==null?void 0:_t.nonce),mi.innerHTML=ht;var li=bn(Dt),Fi=li.firstChild;if(zt){if(Vn){var gi=(Dt.styles||Oi(li)).filter(function(Ai){if(!["prepend","prependQueue"].includes(Ai.getAttribute(Ni)))return!1;var xi=Number(Ai.getAttribute(hr)||0);return En>=xi});if(gi.length)return li.insertBefore(mi,gi[gi.length-1].nextSibling),mi}li.insertBefore(mi,Fi)}else li.appendChild(mi);return mi}function sn(ht){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=bn(Dt);return(Dt.styles||Oi(_t)).find(function(zt){return zt.getAttribute(Kt(Dt))===ht})}function Un(ht){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=sn(ht,Dt);if(_t){var zt=bn(Dt);zt.removeChild(_t)}}function Wi(ht,Dt){var _t=hn.get(ht);if(!_t||!vi(document,_t)){var zt=bi("",Dt),ln=zt.parentNode;hn.set(ht,ln),ht.removeChild(zt)}}function ir(){hn.clear()}function si(ht,Dt){var _t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},zt=bn(_t),ln=Oi(zt),En=(0,at.Z)((0,at.Z)({},_t),{},{styles:ln});Wi(zt,En);var Tn=sn(Dt,En);if(Tn){var Vn,mi;if((Vn=En.csp)!==null&&Vn!==void 0&&Vn.nonce&&Tn.nonce!==((mi=En.csp)===null||mi===void 0?void 0:mi.nonce)){var li;Tn.nonce=(li=En.csp)===null||li===void 0?void 0:li.nonce}return Tn.innerHTML!==ht&&(Tn.innerHTML=ht),Tn}var Fi=bi(ht,En);return Fi.setAttribute(Kt(En),Dt),Fi}var tn;function Hi(ht){var Dt="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),_t=document.createElement("div");_t.id=Dt;var zt=_t.style;zt.position="absolute",zt.left="0",zt.top="0",zt.width="100px",zt.height="100px",zt.overflow="scroll";var ln,En;if(ht){var Tn=getComputedStyle(ht);zt.scrollbarColor=Tn.scrollbarColor,zt.scrollbarWidth=Tn.scrollbarWidth;var Vn=getComputedStyle(ht,"::-webkit-scrollbar"),mi=parseInt(Vn.width,10),li=parseInt(Vn.height,10);try{var Fi=mi?"width: ".concat(Vn.width,";"):"",gi=li?"height: ".concat(Vn.height,";"):"";si(`
|
|
|
#`.concat(Dt,`::-webkit-scrollbar {
|
|
|
`).concat(Fi,`
|
|
|
`).concat(gi,`
|
|
|
}`),Dt)}catch(zi){console.error(zi),ln=mi,En=li}}document.body.appendChild(_t);var Ai=ht&&ln&&!isNaN(ln)?ln:_t.offsetWidth-_t.clientWidth,xi=ht&&En&&!isNaN(En)?En:_t.offsetHeight-_t.clientHeight;return document.body.removeChild(_t),Un(Dt),{width:Ai,height:xi}}function lr(ht){return typeof document=="undefined"?0:((ht||tn===void 0)&&(tn=Hi()),tn.width)}function Hr(ht){return typeof document=="undefined"||!ht||!(ht instanceof Element)?{width:0,height:0}:Hi(ht)}var jn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,qi=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ao="".concat(jn," ").concat(qi).split(/[\s\n]+/),jo="aria-",ko="data-";function Vi(ht,Dt){return ht.indexOf(Dt)===0}function Qi(ht){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t;Dt===!1?_t={aria:!0,data:!0,attr:!0}:Dt===!0?_t={aria:!0}:_t=(0,at.Z)({},Dt);var zt={};return Object.keys(ht).forEach(function(ln){(_t.aria&&(ln==="role"||Vi(ln,jo))||_t.data&&Vi(ln,ko)||_t.attr&&ao.includes(ln))&&(zt[ln]=ht[ln])}),zt}function sr(ht,Dt,_t,zt,ln,En,Tn){ht.push({record:Dt,indent:_t,index:Tn});var Vn=En(Dt),mi=ln==null?void 0:ln.has(Vn);if(Dt&&Array.isArray(Dt[zt])&&mi)for(var li=0;li<Dt[zt].length;li+=1)sr(ht,Dt[zt][li],_t+1,zt,ln,En,li)}function Zr(ht,Dt,_t,zt){var ln=Pe.useMemo(function(){if(_t!=null&&_t.size){for(var En=[],Tn=0;Tn<(ht==null?void 0:ht.length);Tn+=1){var Vn=ht[Tn];sr(En,Vn,0,Dt,_t,zt,Tn)}return En}return ht==null?void 0:ht.map(function(mi,li){return{record:mi,indent:0,index:li}})},[ht,Dt,_t,zt]);return ln}function Io(ht,Dt,_t,zt){var ln=Ze(we,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),En=ln.flattenColumns,Tn=ln.expandableType,Vn=ln.expandedKeys,mi=ln.childrenColumnName,li=ln.onTriggerExpand,Fi=ln.rowExpandable,gi=ln.onRow,Ai=ln.expandRowByClick,xi=ln.rowClassName,zi=Tn==="nest",fr=Tn==="row"&&(!Fi||Fi(ht)),Nr=fr||zi,zr=Vn&&Vn.has(Dt),Yi=mi&&ht&&ht[mi],Tr=Ot(li),ur=gi==null?void 0:gi(ht,_t),Ur=ur==null?void 0:ur.onClick,mo=function(Jo){Ai&&Nr&&li(ht,Jo);for(var Ce=arguments.length,ze=new Array(Ce>1?Ce-1:0),Ve=1;Ve<Ce;Ve++)ze[Ve-1]=arguments[Ve];Ur==null||Ur.apply(void 0,[Jo].concat(ze))},Fr;typeof xi=="string"?Fr=xi:typeof xi=="function"&&(Fr=xi(ht,_t,zt));var Uo=Jt(En);return(0,at.Z)((0,at.Z)({},ln),{},{columnsKey:Uo,nestExpandable:zi,expanded:zr,hasNestChildren:Yi,record:ht,onTriggerExpand:Tr,rowSupportExpand:fr,expandable:Nr,rowProps:(0,at.Z)((0,at.Z)({},ur),{},{className:Nt()(Fr,ur==null?void 0:ur.className),onClick:mo})})}function Si(ht){var Dt=ht.prefixCls,_t=ht.children,zt=ht.component,ln=ht.cellComponent,En=ht.className,Tn=ht.expanded,Vn=ht.colSpan,mi=ht.isEmpty,li=Ze(we,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Fi=li.scrollbarSize,gi=li.fixHeader,Ai=li.fixColumn,xi=li.componentWidth,zi=li.horizonScroll,fr=_t;return(mi?zi&&xi:Ai)&&(fr=Pe.createElement("div",{style:{width:xi-(gi&&!mi?Fi:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Dt,"-expanded-row-fixed")},fr)),Pe.createElement(zt,{className:En,style:{display:Tn?null:"none"}},Pe.createElement(ai,{component:ln,prefixCls:Dt,colSpan:Vn},fr))}var mr=Si;function ja(ht){var Dt=ht.prefixCls,_t=ht.record,zt=ht.onExpand,ln=ht.expanded,En=ht.expandable,Tn="".concat(Dt,"-row-expand-icon");if(!En)return Pe.createElement("span",{className:Nt()(Tn,"".concat(Dt,"-row-spaced"))});var Vn=function(li){zt(_t,li),li.stopPropagation()};return Pe.createElement("span",{className:Nt()(Tn,(0,ft.Z)((0,ft.Z)({},"".concat(Dt,"-row-expanded"),ln),"".concat(Dt,"-row-collapsed"),!ln)),onClick:Vn})}function Ha(ht,Dt,_t){var zt=[];function ln(En){(En||[]).forEach(function(Tn,Vn){zt.push(Dt(Tn,Vn)),ln(Tn[_t])})}return ln(ht),zt}function Sa(ht,Dt,_t,zt){return typeof ht=="string"?ht:typeof ht=="function"?ht(Dt,_t,zt):""}function nn(ht,Dt,_t,zt,ln){var En=ht.record,Tn=ht.prefixCls,Vn=ht.columnsKey,mi=ht.fixedInfoList,li=ht.expandIconColumnIndex,Fi=ht.nestExpandable,gi=ht.indentSize,Ai=ht.expandIcon,xi=ht.expanded,zi=ht.hasNestChildren,fr=ht.onTriggerExpand,Nr=Vn[_t],zr=mi[_t],Yi;_t===(li||0)&&Fi&&(Yi=Pe.createElement(Pe.Fragment,null,Pe.createElement("span",{style:{paddingLeft:"".concat(gi*zt,"px")},className:"".concat(Tn,"-row-indent indent-level-").concat(zt)}),Ai({prefixCls:Tn,expanded:xi,expandable:zi,record:En,onExpand:fr})));var Tr;return Dt.onCell&&(Tr=Dt.onCell(En,ln)),{key:Nr,fixedInfo:zr,appendCellNode:Yi,additionalCellProps:Tr||{}}}function pr(ht){var Dt=ht.className,_t=ht.style,zt=ht.record,ln=ht.index,En=ht.renderIndex,Tn=ht.rowKey,Vn=ht.indent,mi=Vn===void 0?0:Vn,li=ht.rowComponent,Fi=ht.cellComponent,gi=ht.scopeCellComponent,Ai=Io(zt,Tn,ln,mi),xi=Ai.prefixCls,zi=Ai.flattenColumns,fr=Ai.expandedRowClassName,Nr=Ai.expandedRowRender,zr=Ai.rowProps,Yi=Ai.expanded,Tr=Ai.rowSupportExpand,ur=Pe.useRef(!1);ur.current||(ur.current=Yi);var Ur=Sa(fr,zt,ln,mi),mo=Pe.createElement(li,(0,rt.Z)({},zr,{"data-row-key":Tn,className:Nt()(Dt,"".concat(xi,"-row"),"".concat(xi,"-row-level-").concat(mi),zr==null?void 0:zr.className,(0,ft.Z)({},Ur,mi>=1)),style:(0,at.Z)((0,at.Z)({},_t),zr==null?void 0:zr.style)}),zi.map(function(wo,Jo){var Ce=wo.render,ze=wo.dataIndex,Ve=wo.className,et=nn(Ai,wo,Jo,mi,ln),gt=et.key,St=et.fixedInfo,Pt=et.appendCellNode,Vt=et.additionalCellProps;return Pe.createElement(ai,(0,rt.Z)({className:Ve,ellipsis:wo.ellipsis,align:wo.align,scope:wo.rowScope,component:wo.rowScope?gi:Fi,prefixCls:xi,key:gt,record:zt,index:ln,renderIndex:En,dataIndex:ze,render:Ce,shouldCellUpdate:wo.shouldCellUpdate},St,{appendNode:Pt,additionalProps:Vt}))})),Fr;if(Tr&&(ur.current||Yi)){var Uo=Nr(zt,ln,mi+1,Yi);Fr=Pe.createElement(mr,{expanded:Yi,className:Nt()("".concat(xi,"-expanded-row"),"".concat(xi,"-expanded-row-level-").concat(mi+1),Ur),prefixCls:xi,component:li,cellComponent:Fi,colSpan:zi.length,isEmpty:!1},Uo)}return Pe.createElement(Pe.Fragment,null,mo,Fr)}var Jr=ge(pr);function vr(ht){var Dt=ht.columnKey,_t=ht.onColumnResize,zt=Pe.useRef();return Pe.useEffect(function(){zt.current&&_t(Dt,zt.current.offsetWidth)},[]),Pe.createElement(Ie.Z,{data:Dt},Pe.createElement("td",{ref:zt,style:{padding:0,border:0,height:0}},Pe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function ia(ht){var Dt=ht.prefixCls,_t=ht.columnsKey,zt=ht.onColumnResize;return Pe.createElement("tr",{"aria-hidden":"true",className:"".concat(Dt,"-measure-row"),style:{height:0,fontSize:0}},Pe.createElement(Ie.Z.Collection,{onBatchResize:function(En){En.forEach(function(Tn){var Vn=Tn.data,mi=Tn.size;zt(Vn,mi.offsetWidth)})}},_t.map(function(ln){return Pe.createElement(vr,{key:ln,columnKey:ln,onColumnResize:zt})})))}function vo(ht){var Dt=ht.data,_t=ht.measureColumnWidth,zt=Ze(we,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ln=zt.prefixCls,En=zt.getComponent,Tn=zt.onColumnResize,Vn=zt.flattenColumns,mi=zt.getRowKey,li=zt.expandedKeys,Fi=zt.childrenColumnName,gi=zt.emptyNode,Ai=Zr(Dt,Fi,li,mi),xi=Pe.useRef({renderWithProps:!1}),zi=En(["body","wrapper"],"tbody"),fr=En(["body","row"],"tr"),Nr=En(["body","cell"],"td"),zr=En(["body","cell"],"th"),Yi;Dt.length?Yi=Ai.map(function(ur,Ur){var mo=ur.record,Fr=ur.indent,Uo=ur.index,wo=mi(mo,Ur);return Pe.createElement(Jr,{key:wo,rowKey:wo,record:mo,index:Ur,renderIndex:Uo,rowComponent:fr,cellComponent:Nr,scopeCellComponent:zr,indent:Fr})}):Yi=Pe.createElement(mr,{expanded:!0,className:"".concat(ln,"-placeholder"),prefixCls:ln,component:fr,cellComponent:Nr,colSpan:Vn.length,isEmpty:!0},gi);var Tr=Jt(Vn);return Pe.createElement(Et.Provider,{value:xi.current},Pe.createElement(zi,{className:"".concat(ln,"-tbody")},_t&&Pe.createElement(ia,{prefixCls:ln,columnsKey:Tr,onColumnResize:Tn}),Yi))}var Po=ge(vo),bo=ue(62978),so=["columnType"];function Do(ht){for(var Dt=ht.colWidths,_t=ht.columns,zt=ht.columCount,ln=Ze(we,["tableLayout"]),En=ln.tableLayout,Tn=[],Vn=zt||_t.length,mi=!1,li=Vn-1;li>=0;li-=1){var Fi=Dt[li],gi=_t&&_t[li],Ai=void 0,xi=void 0;if(gi&&(Ai=gi[bo.v],En==="auto"&&(xi=gi.minWidth)),Fi||xi||Ai||mi){var zi=Ai||{},fr=zi.columnType,Nr=(0,hi.Z)(zi,so);Tn.unshift(Pe.createElement("col",(0,rt.Z)({key:li,style:{width:Fi,minWidth:xi}},Nr))),mi=!0}}return Pe.createElement("colgroup",null,Tn)}var Qn=Do,$o=ue(74902),Rt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ut(ht,Dt){return(0,Pe.useMemo)(function(){for(var _t=[],zt=0;zt<Dt;zt+=1){var ln=ht[zt];if(ln!==void 0)_t[zt]=ln;else return null}return _t},[ht.join("_"),Dt])}var Dn=Pe.forwardRef(function(ht,Dt){var _t=ht.className,zt=ht.noData,ln=ht.columns,En=ht.flattenColumns,Tn=ht.colWidths,Vn=ht.columCount,mi=ht.stickyOffsets,li=ht.direction,Fi=ht.fixHeader,gi=ht.stickyTopOffset,Ai=ht.stickyBottomOffset,xi=ht.stickyClassName,zi=ht.onScroll,fr=ht.maxContentScroll,Nr=ht.children,zr=(0,hi.Z)(ht,Rt),Yi=Ze(we,["prefixCls","scrollbarSize","isSticky","getComponent"]),Tr=Yi.prefixCls,ur=Yi.scrollbarSize,Ur=Yi.isSticky,mo=Yi.getComponent,Fr=mo(["header","table"],"table"),Uo=Ur&&!Fi?0:ur,wo=Pe.useRef(null),Jo=Pe.useCallback(function(Vt){ni(Dt,Vt),ni(wo,Vt)},[]);Pe.useEffect(function(){var Vt;function xn(wn){var dn=wn,Gn=dn.currentTarget,Wn=dn.deltaX;Wn&&(zi({currentTarget:Gn,scrollLeft:Gn.scrollLeft+Wn}),wn.preventDefault())}return(Vt=wo.current)===null||Vt===void 0||Vt.addEventListener("wheel",xn,{passive:!1}),function(){var wn;(wn=wo.current)===null||wn===void 0||wn.removeEventListener("wheel",xn)}},[]);var Ce=Pe.useMemo(function(){return En.every(function(Vt){return Vt.width})},[En]),ze=En[En.length-1],Ve={fixed:ze?ze.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Tr,"-cell-scrollbar")}}},et=(0,Pe.useMemo)(function(){return Uo?[].concat((0,$o.Z)(ln),[Ve]):ln},[Uo,ln]),gt=(0,Pe.useMemo)(function(){return Uo?[].concat((0,$o.Z)(En),[Ve]):En},[Uo,En]),St=(0,Pe.useMemo)(function(){var Vt=mi.right,xn=mi.left;return(0,at.Z)((0,at.Z)({},mi),{},{left:li==="rtl"?[].concat((0,$o.Z)(xn.map(function(wn){return wn+Uo})),[0]):xn,right:li==="rtl"?Vt:[].concat((0,$o.Z)(Vt.map(function(wn){return wn+Uo})),[0]),isSticky:Ur})},[Uo,mi,Ur]),Pt=ut(Tn,Vn);return Pe.createElement("div",{style:(0,at.Z)({overflow:"hidden"},Ur?{top:gi,bottom:Ai}:{}),ref:Jo,className:Nt()(_t,(0,ft.Z)({},xi,!!xi))},Pe.createElement(Fr,{style:{tableLayout:"fixed",visibility:zt||Pt?null:"hidden"}},(!zt||!fr||Ce)&&Pe.createElement(Qn,{colWidths:Pt?[].concat((0,$o.Z)(Pt),[Uo]):[],columCount:Vn+1,columns:gt}),Nr((0,at.Z)((0,at.Z)({},zr),{},{stickyOffsets:St,columns:et,flattenColumns:gt}))))}),Lt=Pe.memo(Dn),Ft=function(Dt){var _t=Dt.cells,zt=Dt.stickyOffsets,ln=Dt.flattenColumns,En=Dt.rowComponent,Tn=Dt.cellComponent,Vn=Dt.onHeaderRow,mi=Dt.index,li=Ze(we,["prefixCls","direction"]),Fi=li.prefixCls,gi=li.direction,Ai;Vn&&(Ai=Vn(_t.map(function(zi){return zi.column}),mi));var xi=Jt(_t.map(function(zi){return zi.column}));return Pe.createElement(En,Ai,_t.map(function(zi,fr){var Nr=zi.column,zr=Rr(zi.colStart,zi.colEnd,ln,zt,gi),Yi;return Nr&&Nr.onHeaderCell&&(Yi=zi.column.onHeaderCell(Nr)),Pe.createElement(ai,(0,rt.Z)({},zi,{scope:Nr.title?zi.colSpan>1?"colgroup":"col":null,ellipsis:Nr.ellipsis,align:Nr.align,component:Tn,prefixCls:Fi,key:xi[fr]},zr,{additionalProps:Yi,rowType:"header"}))}))},Yt=Ft;function pn(ht){var Dt=[];function _t(Tn,Vn){var mi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Dt[mi]=Dt[mi]||[];var li=Vn,Fi=Tn.filter(Boolean).map(function(gi){var Ai={key:gi.key,className:gi.className||"",children:gi.title,column:gi,colStart:li},xi=1,zi=gi.children;return zi&&zi.length>0&&(xi=_t(zi,li,mi+1).reduce(function(fr,Nr){return fr+Nr},0),Ai.hasSubColumns=!0),"colSpan"in gi&&(xi=gi.colSpan),"rowSpan"in gi&&(Ai.rowSpan=gi.rowSpan),Ai.colSpan=xi,Ai.colEnd=Ai.colStart+xi-1,Dt[mi].push(Ai),li+=xi,xi});return Fi}_t(ht,0);for(var zt=Dt.length,ln=function(Vn){Dt[Vn].forEach(function(mi){!("rowSpan"in mi)&&!mi.hasSubColumns&&(mi.rowSpan=zt-Vn)})},En=0;En<zt;En+=1)ln(En);return Dt}var ti=function(Dt){var _t=Dt.stickyOffsets,zt=Dt.columns,ln=Dt.flattenColumns,En=Dt.onHeaderRow,Tn=Ze(we,["prefixCls","getComponent"]),Vn=Tn.prefixCls,mi=Tn.getComponent,li=Pe.useMemo(function(){return pn(zt)},[zt]),Fi=mi(["header","wrapper"],"thead"),gi=mi(["header","row"],"tr"),Ai=mi(["header","cell"],"th");return Pe.createElement(Fi,{className:"".concat(Vn,"-thead")},li.map(function(xi,zi){var fr=Pe.createElement(Yt,{key:zi,flattenColumns:ln,cells:xi,stickyOffsets:_t,rowComponent:gi,cellComponent:Ai,onHeaderRow:En,index:zi});return fr}))},Li=ge(ti),Pi=ue(54768);function Fn(ht,Dt,_t){var zt=(0,bo.g)(ht),ln=zt.expandIcon,En=zt.expandedRowKeys,Tn=zt.defaultExpandedRowKeys,Vn=zt.defaultExpandAllRows,mi=zt.expandedRowRender,li=zt.onExpand,Fi=zt.onExpandedRowsChange,gi=zt.childrenColumnName,Ai=ln||ja,xi=gi||"children",zi=Pe.useMemo(function(){return mi?"row":ht.expandable&&ht.internalHooks===ce.R&&ht.expandable.__PARENT_RENDER_ICON__||Dt.some(function(Ur){return Ur&&(0,lt.Z)(Ur)==="object"&&Ur[xi]})?"nest":!1},[!!mi,Dt]),fr=Pe.useState(function(){return Tn||(Vn?Ha(Dt,_t,xi):[])}),Nr=(0,Ae.Z)(fr,2),zr=Nr[0],Yi=Nr[1],Tr=Pe.useMemo(function(){return new Set(En||zr||[])},[En,zr]),ur=Pe.useCallback(function(Ur){var mo=_t(Ur,Dt.indexOf(Ur)),Fr,Uo=Tr.has(mo);Uo?(Tr.delete(mo),Fr=(0,$o.Z)(Tr)):Fr=[].concat((0,$o.Z)(Tr),[mo]),Yi(Fr),li&&li(!Uo,Ur),Fi&&Fi(Fr)},[_t,Tr,Dt,li,Fi]);return[zt,zi,Tr,Ai,xi,ur]}function st(ht,Dt,_t){var zt=ht.map(function(ln,En){return Rr(En,En,ht,Dt,_t)});return Xt(function(){return zt},[zt],function(ln,En){return!Ln(ln,En)})}function br(ht){var Dt=(0,Pe.useRef)(ht),_t=(0,Pe.useState)({}),zt=(0,Ae.Z)(_t,2),ln=zt[1],En=(0,Pe.useRef)(null),Tn=(0,Pe.useRef)([]);function Vn(mi){Tn.current.push(mi);var li=Promise.resolve();En.current=li,li.then(function(){if(En.current===li){var Fi=Tn.current,gi=Dt.current;Tn.current=[],Fi.forEach(function(Ai){Dt.current=Ai(Dt.current)}),En.current=null,gi!==Dt.current&&ln({})}})}return(0,Pe.useEffect)(function(){return function(){En.current=null}},[]),[Dt.current,Vn]}function _r(ht){var Dt=(0,Pe.useRef)(ht||null),_t=(0,Pe.useRef)();function zt(){window.clearTimeout(_t.current)}function ln(Tn){Dt.current=Tn,zt(),_t.current=window.setTimeout(function(){Dt.current=null,_t.current=void 0},100)}function En(){return Dt.current}return(0,Pe.useEffect)(function(){return zt},[]),[ln,En]}function to(){var ht=Pe.useState(-1),Dt=(0,Ae.Z)(ht,2),_t=Dt[0],zt=Dt[1],ln=Pe.useState(-1),En=(0,Ae.Z)(ln,2),Tn=En[0],Vn=En[1],mi=Pe.useCallback(function(li,Fi){zt(li),Vn(Fi)},[]);return[_t,Tn,mi]}var lo=$e()?window:null;function uo(ht,Dt){var _t=(0,lt.Z)(ht)==="object"?ht:{},zt=_t.offsetHeader,ln=zt===void 0?0:zt,En=_t.offsetSummary,Tn=En===void 0?0:En,Vn=_t.offsetScroll,mi=Vn===void 0?0:Vn,li=_t.getContainer,Fi=li===void 0?function(){return lo}:li,gi=Fi()||lo,Ai=!!ht;return Pe.useMemo(function(){return{isSticky:Ai,stickyClassName:Ai?"".concat(Dt,"-sticky-holder"):"",offsetHeader:ln,offsetSummary:Tn,offsetScroll:mi,container:gi}},[Ai,mi,ln,Tn,Dt,gi])}function Vr(ht,Dt,_t){var zt=(0,Pe.useMemo)(function(){var ln=Dt.length,En=function(li,Fi,gi){for(var Ai=[],xi=0,zi=li;zi!==Fi;zi+=gi)Ai.push(xi),Dt[zi].fixed&&(xi+=ht[zi]||0);return Ai},Tn=En(0,ln,1),Vn=En(ln-1,-1,-1).reverse();return _t==="rtl"?{left:Vn,right:Tn}:{left:Tn,right:Vn}},[ht,Dt,_t]);return zt}var Mo=Vr;function co(ht){var Dt=ht.className,_t=ht.children;return Pe.createElement("div",{className:Dt},_t)}var Ir=co;function or(ht,Dt,_t,zt){var ln=Ue.unstable_batchedUpdates?function(Tn){Ue.unstable_batchedUpdates(_t,Tn)}:_t;return ht!=null&&ht.addEventListener&&ht.addEventListener(Dt,ln,zt),{remove:function(){ht!=null&&ht.removeEventListener&&ht.removeEventListener(Dt,ln,zt)}}}var Di=function(Dt){return+setTimeout(Dt,16)},Ci=function(Dt){return clearTimeout(Dt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Di=function(Dt){return window.requestAnimationFrame(Dt)},Ci=function(Dt){return window.cancelAnimationFrame(Dt)});var ji=0,fn=new Map;function $i(ht){fn.delete(ht)}var Ji=function(Dt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ji+=1;var zt=ji;function ln(En){if(En===0)$i(zt),Dt();else{var Tn=Di(function(){ln(En-1)});fn.set(zt,Tn)}}return ln(_t),zt};Ji.cancel=function(ht){var Dt=fn.get(ht);return $i(ht),Ci(Dt)};var Gr=Ji;function io(ht){return ht instanceof HTMLElement||ht instanceof SVGElement}function qr(ht){return ht&&(0,lt.Z)(ht)==="object"&&io(ht.nativeElement)?ht.nativeElement:io(ht)?ht:null}function yo(ht){var Dt=qr(ht);if(Dt)return Dt;if(ht instanceof React.Component){var _t;return(_t=ReactDOM.findDOMNode)===null||_t===void 0?void 0:_t.call(ReactDOM,ht)}return null}function ea(ht){var Dt=qr(ht),_t=Dt.getBoundingClientRect(),zt=document.documentElement;return{left:_t.left+(window.pageXOffset||zt.scrollLeft)-(zt.clientLeft||document.body.clientLeft||0),top:_t.top+(window.pageYOffset||zt.scrollTop)-(zt.clientTop||document.body.clientTop||0)}}var Zo=function(Dt,_t){var zt,ln,En=Dt.scrollBodyRef,Tn=Dt.onScroll,Vn=Dt.offsetScroll,mi=Dt.container,li=Dt.direction,Fi=Ze(we,"prefixCls"),gi=((zt=En.current)===null||zt===void 0?void 0:zt.scrollWidth)||0,Ai=((ln=En.current)===null||ln===void 0?void 0:ln.clientWidth)||0,xi=gi&&Ai*(Ai/gi),zi=Pe.useRef(),fr=br({scrollLeft:0,isHiddenScrollBar:!0}),Nr=(0,Ae.Z)(fr,2),zr=Nr[0],Yi=Nr[1],Tr=Pe.useRef({delta:0,x:0}),ur=Pe.useState(!1),Ur=(0,Ae.Z)(ur,2),mo=Ur[0],Fr=Ur[1],Uo=Pe.useRef(null);Pe.useEffect(function(){return function(){Gr.cancel(Uo.current)}},[]);var wo=function(){Fr(!1)},Jo=function(gt){gt.persist(),Tr.current.delta=gt.pageX-zr.scrollLeft,Tr.current.x=0,Fr(!0),gt.preventDefault()},Ce=function(gt){var St,Pt=gt||((St=window)===null||St===void 0?void 0:St.event),Vt=Pt.buttons;if(!mo||Vt===0){mo&&Fr(!1);return}var xn=Tr.current.x+gt.pageX-Tr.current.x-Tr.current.delta,wn=li==="rtl";xn=Math.max(wn?xi-Ai:0,Math.min(wn?0:Ai-xi,xn));var dn=!wn||Math.abs(xn)+Math.abs(xi)<Ai;dn&&(Tn({scrollLeft:xn/Ai*(gi+2)}),Tr.current.x=gt.pageX)},ze=function(){Gr.cancel(Uo.current),Uo.current=Gr(function(){if(En.current){var gt=ea(En.current).top,St=gt+En.current.offsetHeight,Pt=mi===window?document.documentElement.scrollTop+window.innerHeight:ea(mi).top+mi.clientHeight;St-lr()<=Pt||gt>=Pt-Vn?Yi(function(Vt){return(0,at.Z)((0,at.Z)({},Vt),{},{isHiddenScrollBar:!0})}):Yi(function(Vt){return(0,at.Z)((0,at.Z)({},Vt),{},{isHiddenScrollBar:!1})})}})},Ve=function(gt){Yi(function(St){return(0,at.Z)((0,at.Z)({},St),{},{scrollLeft:gt/gi*Ai||0})})};return Pe.useImperativeHandle(_t,function(){return{setScrollLeft:Ve,checkScrollBarVisible:ze}}),Pe.useEffect(function(){var et=or(document.body,"mouseup",wo,!1),gt=or(document.body,"mousemove",Ce,!1);return ze(),function(){et.remove(),gt.remove()}},[xi,mo]),Pe.useEffect(function(){if(En.current){for(var et=[],gt=qr(En.current);gt;)et.push(gt),gt=gt.parentElement;return et.forEach(function(St){return St.addEventListener("scroll",ze,!1)}),window.addEventListener("resize",ze,!1),window.addEventListener("scroll",ze,!1),mi.addEventListener("scroll",ze,!1),function(){et.forEach(function(St){return St.removeEventListener("scroll",ze)}),window.removeEventListener("resize",ze),window.removeEventListener("scroll",ze),mi.removeEventListener("scroll",ze)}}},[mi]),Pe.useEffect(function(){zr.isHiddenScrollBar||Yi(function(et){var gt=En.current;return gt?(0,at.Z)((0,at.Z)({},et),{},{scrollLeft:gt.scrollLeft/gt.scrollWidth*gt.clientWidth}):et})},[zr.isHiddenScrollBar]),gi<=Ai||!xi||zr.isHiddenScrollBar?null:Pe.createElement("div",{style:{height:lr(),width:Ai,bottom:Vn},className:"".concat(Fi,"-sticky-scroll")},Pe.createElement("div",{onMouseDown:Jo,ref:zi,className:Nt()("".concat(Fi,"-sticky-scroll-bar"),(0,ft.Z)({},"".concat(Fi,"-sticky-scroll-bar-active"),mo)),style:{width:"".concat(xi,"px"),transform:"translate3d(".concat(zr.scrollLeft,"px, 0, 0)")}}))},ua=Pe.forwardRef(Zo);function ba(ht){return null}var an=ba;function qo(ht){return null}var fa=qo,Ra="rc-table",po=[],Xa={};function Na(){return"No Data"}function qa(ht,Dt){var _t=(0,at.Z)({rowKey:"key",prefixCls:Ra,emptyText:Na},ht),zt=_t.prefixCls,ln=_t.className,En=_t.rowClassName,Tn=_t.style,Vn=_t.data,mi=_t.rowKey,li=_t.scroll,Fi=_t.tableLayout,gi=_t.direction,Ai=_t.title,xi=_t.footer,zi=_t.summary,fr=_t.caption,Nr=_t.id,zr=_t.showHeader,Yi=_t.components,Tr=_t.emptyText,ur=_t.onRow,Ur=_t.onHeaderRow,mo=_t.onScroll,Fr=_t.internalHooks,Uo=_t.transformColumns,wo=_t.internalRefs,Jo=_t.tailor,Ce=_t.getContainerWidth,ze=_t.sticky,Ve=_t.rowHoverable,et=Ve===void 0?!0:Ve,gt=Vn||po,St=!!gt.length,Pt=Fr===ce.R,Vt=Pe.useCallback(function(Ma,sa){return on(Yi,Ma)||sa},[Yi]),xn=Pe.useMemo(function(){return typeof mi=="function"?mi:function(Ma){var sa=Ma&&Ma[mi];return sa}},[mi]),wn=Vt(["body"]),dn=to(),Gn=(0,Ae.Z)(dn,3),Wn=Gn[0],Pn=Gn[1],le=Gn[2],pe=Fn(_t,gt,xn),Ge=(0,Ae.Z)(pe,6),Ct=Ge[0],gn=Ge[1],Cn=Ge[2],ci=Ge[3],Ei=Ge[4],ii=Ge[5],Br=li==null?void 0:li.x,Yo=Pe.useState(0),No=(0,Ae.Z)(Yo,2),ha=No[0],Qa=No[1],Ca=(0,Pi.Z)((0,at.Z)((0,at.Z)((0,at.Z)({},_t),Ct),{},{expandable:!!Ct.expandedRowRender,columnTitle:Ct.columnTitle,expandedKeys:Cn,getRowKey:xn,onTriggerExpand:ii,expandIcon:ci,expandIconColumnIndex:Ct.expandIconColumnIndex,direction:gi,scrollWidth:Pt&&Jo&&typeof Br=="number"?Br:null,clientWidth:ha}),Pt?Uo:null),rr=(0,Ae.Z)(Ca,4),Ko=rr[0],Xr=rr[1],Ta=rr[2],Da=rr[3],Ya=Ta!=null?Ta:Br,qs=Pe.useMemo(function(){return{columns:Ko,flattenColumns:Xr}},[Ko,Xr]),Hn=Pe.useRef(),Ms=Pe.useRef(),Ua=Pe.useRef(),Xn=Pe.useRef();Pe.useImperativeHandle(Dt,function(){return{nativeElement:Hn.current,scrollTo:function(sa){var Xs;if(Ua.current instanceof HTMLElement){var bu=sa.index,Cl=sa.top,qu=sa.key;if(Gt(Cl)){var el;(el=Ua.current)===null||el===void 0||el.scrollTo({top:Cl})}else{var jc,Ps=qu!=null?qu:xn(gt[bu]);(jc=Ua.current.querySelector('[data-row-key="'.concat(Ps,'"]')))===null||jc===void 0||jc.scrollIntoView()}}else(Xs=Ua.current)!==null&&Xs!==void 0&&Xs.scrollTo&&Ua.current.scrollTo(sa)}}});var Rs=Pe.useRef(),Xl=Pe.useState(!1),wc=(0,Ae.Z)(Xl,2),Ou=wc[0],Ka=wc[1],Ql=Pe.useState(!1),ps=(0,Ae.Z)(Ql,2),ol=ps[0],Hl=ps[1],au=br(new Map),Cc=(0,Ae.Z)(au,2),cc=Cc[0],Uc=Cc[1],Qu=Jt(Xr),Jl=Qu.map(function(Ma){return cc.get(Ma)}),dc=Pe.useMemo(function(){return Jl},[Jl.join("_")]),Ju=Mo(dc,Xr,gi),as=li&&In(li.y),al=li&&In(Ya)||!!Ct.fixed,Eu=al&&Xr.some(function(Ma){var sa=Ma.fixed;return sa}),Du=Pe.useRef(),Gi=uo(ze,zt),Pr=Gi.isSticky,ta=Gi.offsetHeader,Pa=Gi.offsetSummary,Vo=Gi.offsetScroll,gl=Gi.stickyClassName,pl=Gi.container,ms=Pe.useMemo(function(){return zi==null?void 0:zi(gt)},[zi,gt]),wl=(as||Pr)&&Pe.isValidElement(ms)&&ms.type===dr&&ms.props.fixed,xu,Os,Fu;as&&(Os={overflowY:St?"scroll":"auto",maxHeight:li.y}),al&&(xu={overflowX:"auto"},as||(Os={overflowY:"hidden"}),Fu={width:Ya===!0?"auto":Ya,minWidth:"100%"});var sl=Pe.useCallback(function(Ma,sa){Mn(Hn.current)&&Uc(function(Xs){if(Xs.get(Ma)!==sa){var bu=new Map(Xs);return bu.set(Ma,sa),bu}return Xs})},[]),su=_r(null),Hc=(0,Ae.Z)(su,2),Od=Hc[0],Ro=Hc[1];function To(Ma,sa){sa&&(typeof sa=="function"?sa(Ma):sa.scrollLeft!==Ma&&(sa.scrollLeft=Ma,sa.scrollLeft!==Ma&&setTimeout(function(){sa.scrollLeft=Ma},0)))}var So=Ot(function(Ma){var sa=Ma.currentTarget,Xs=Ma.scrollLeft,bu=gi==="rtl",Cl=typeof Xs=="number"?Xs:sa.scrollLeft,qu=sa||Xa;if(!Ro()||Ro()===qu){var el;Od(qu),To(Cl,Ms.current),To(Cl,Ua.current),To(Cl,Rs.current),To(Cl,(el=Du.current)===null||el===void 0?void 0:el.setScrollLeft)}var jc=sa||Ms.current;if(jc){var Ps=Pt&&Jo&&typeof Ya=="number"?Ya:jc.scrollWidth,yd=jc.clientWidth;if(Ps===yd){Ka(!1),Hl(!1);return}bu?(Ka(-Cl<Ps-yd),Hl(-Cl>0)):(Ka(Cl>0),Hl(Cl<Ps-yd))}}),ss=Ot(function(Ma){So(Ma),mo==null||mo(Ma)}),$s=function(){if(al&&Ua.current){var sa;So({currentTarget:qr(Ua.current),scrollLeft:(sa=Ua.current)===null||sa===void 0?void 0:sa.scrollLeft})}else Ka(!1),Hl(!1)},zc=function(sa){var Xs,bu=sa.width;(Xs=Du.current)===null||Xs===void 0||Xs.checkScrollBarVisible();var Cl=Hn.current?Hn.current.offsetWidth:bu;Pt&&Ce&&Hn.current&&(Cl=Ce(Hn.current,Cl)||Cl),Cl!==ha&&($s(),Qa(Cl))},hc=Pe.useRef(!1);Pe.useEffect(function(){hc.current&&$s()},[al,Vn,Ko.length]),Pe.useEffect(function(){hc.current=!0},[]);var qt=Pe.useState(0),Tc=(0,Ae.Z)(qt,2),ql=Tc[0],gd=Tc[1],gf=Pe.useState(!0),pf=(0,Ae.Z)(gf,2),Fh=pf[0],Vg=pf[1];Pe.useEffect(function(){(!Jo||!Pt)&&(Ua.current instanceof Element?gd(Hr(Ua.current).width):gd(Hr(Xn.current).width)),Vg(fi("position","sticky"))},[]),Pe.useEffect(function(){Pt&&wo&&(wo.body.current=Ua.current)});var ml=Pe.useCallback(function(Ma){return Pe.createElement(Pe.Fragment,null,Pe.createElement(Li,Ma),wl==="top"&&Pe.createElement(yr,Ma,ms))},[wl,ms]),ah=Pe.useCallback(function(Ma){return Pe.createElement(yr,Ma,ms)},[ms]),Bh=Vt(["table"],"table"),sh=Pe.useMemo(function(){return Fi||(Eu?Ya==="max-content"?"auto":"fixed":as||Pr||Xr.some(function(Ma){var sa=Ma.ellipsis;return sa})?"fixed":"auto")},[as,Eu,Xr,Fi,Pr]),_h,Uh={colWidths:dc,columCount:Xr.length,stickyOffsets:Ju,onHeaderRow:Ur,fixHeader:as,scroll:li},mf=Pe.useMemo(function(){return St?null:typeof Tr=="function"?Tr():Tr},[St,Tr]),Hh=Pe.createElement(Po,{data:gt,measureColumnWidth:as||al||Pr}),lu=Pe.createElement(Qn,{colWidths:Xr.map(function(Ma){var sa=Ma.width;return sa}),columns:Xr}),pd=fr!=null?Pe.createElement("caption",{className:"".concat(zt,"-caption")},fr):void 0,vf=Qi(_t,{data:!0}),fc=Qi(_t,{aria:!0});if(as||Pr){var md;typeof wn=="function"?(md=wn(gt,{scrollbarSize:ql,ref:Ua,onScroll:So}),Uh.colWidths=Xr.map(function(Ma,sa){var Xs=Ma.width,bu=sa===Xr.length-1?Xs-ql:Xs;return typeof bu=="number"&&!Number.isNaN(bu)?bu:0})):md=Pe.createElement("div",{style:(0,at.Z)((0,at.Z)({},xu),Os),onScroll:ss,ref:Ua,className:Nt()("".concat(zt,"-body"))},Pe.createElement(Bh,(0,rt.Z)({style:(0,at.Z)((0,at.Z)({},Fu),{},{tableLayout:sh})},fc),pd,lu,Hh,!wl&&ms&&Pe.createElement(yr,{stickyOffsets:Ju,flattenColumns:Xr},ms)));var lh=(0,at.Z)((0,at.Z)((0,at.Z)({noData:!gt.length,maxContentScroll:al&&Ya==="max-content"},Uh),qs),{},{direction:gi,stickyClassName:gl,onScroll:So});_h=Pe.createElement(Pe.Fragment,null,zr!==!1&&Pe.createElement(Lt,(0,rt.Z)({},lh,{stickyTopOffset:ta,className:"".concat(zt,"-header"),ref:Ms}),ml),md,wl&&wl!=="top"&&Pe.createElement(Lt,(0,rt.Z)({},lh,{stickyBottomOffset:Pa,className:"".concat(zt,"-summary"),ref:Rs}),ah),Pr&&Ua.current&&Ua.current instanceof Element&&Pe.createElement(ua,{ref:Du,offsetScroll:Vo,scrollBodyRef:Ua,onScroll:So,container:pl,direction:gi}))}else _h=Pe.createElement("div",{style:(0,at.Z)((0,at.Z)({},xu),Os),className:Nt()("".concat(zt,"-content")),onScroll:So,ref:Ua},Pe.createElement(Bh,(0,rt.Z)({style:(0,at.Z)((0,at.Z)({},Fu),{},{tableLayout:sh})},fc),pd,lu,zr!==!1&&Pe.createElement(Li,(0,rt.Z)({},Uh,qs)),Hh,ms&&Pe.createElement(yr,{stickyOffsets:Ju,flattenColumns:Xr},ms)));var vd=Pe.createElement("div",(0,rt.Z)({className:Nt()(zt,ln,(0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)({},"".concat(zt,"-rtl"),gi==="rtl"),"".concat(zt,"-ping-left"),Ou),"".concat(zt,"-ping-right"),ol),"".concat(zt,"-layout-fixed"),Fi==="fixed"),"".concat(zt,"-fixed-header"),as),"".concat(zt,"-fixed-column"),Eu),"".concat(zt,"-fixed-column-gapped"),Eu&&Da),"".concat(zt,"-scroll-horizontal"),al),"".concat(zt,"-has-fix-left"),Xr[0]&&Xr[0].fixed),"".concat(zt,"-has-fix-right"),Xr[Xr.length-1]&&Xr[Xr.length-1].fixed==="right")),style:Tn,id:Nr,ref:Hn},vf),Ai&&Pe.createElement(Ir,{className:"".concat(zt,"-title")},Ai(gt)),Pe.createElement("div",{ref:Xn,className:"".concat(zt,"-container")},_h),xi&&Pe.createElement(Ir,{className:"".concat(zt,"-footer")},xi(gt)));al&&(vd=Pe.createElement(Ie.Z,{onResize:zc},vd));var $l=st(Xr,Ju,gi),yf=Pe.useMemo(function(){return{scrollX:Ya,prefixCls:zt,getComponent:Vt,scrollbarSize:ql,direction:gi,fixedInfoList:$l,isSticky:Pr,supportSticky:Fh,componentWidth:ha,fixHeader:as,fixColumn:Eu,horizonScroll:al,tableLayout:sh,rowClassName:En,expandedRowClassName:Ct.expandedRowClassName,expandIcon:ci,expandableType:gn,expandRowByClick:Ct.expandRowByClick,expandedRowRender:Ct.expandedRowRender,onTriggerExpand:ii,expandIconColumnIndex:Ct.expandIconColumnIndex,indentSize:Ct.indentSize,allColumnsFixedLeft:Xr.every(function(Ma){return Ma.fixed==="left"}),emptyNode:mf,columns:Ko,flattenColumns:Xr,onColumnResize:sl,hoverStartRow:Wn,hoverEndRow:Pn,onHover:le,rowExpandable:Ct.rowExpandable,onRow:ur,getRowKey:xn,expandedKeys:Cn,childrenColumnName:Ei,rowHoverable:et}},[Ya,zt,Vt,ql,gi,$l,Pr,Fh,ha,as,Eu,al,sh,En,Ct.expandedRowClassName,ci,gn,Ct.expandRowByClick,Ct.expandedRowRender,ii,Ct.expandIconColumnIndex,Ct.indentSize,mf,Ko,Xr,sl,Wn,Pn,le,Ct.rowExpandable,ur,xn,Cn,Ei,et]);return Pe.createElement(we.Provider,{value:yf},vd)}var Co=Pe.forwardRef(qa);function Go(ht){return se(Co,ht)}var wr=Go();wr.EXPAND_COLUMN=ce.w,wr.INTERNAL_HOOKS=ce.R,wr.Column=an,wr.ColumnGroup=fa,wr.Summary=On;var $r=wr;function ho(ht){var Dt=Pe.useRef();Dt.current=ht;var _t=Pe.useCallback(function(){for(var zt,ln=arguments.length,En=new Array(ln),Tn=0;Tn<ln;Tn++)En[Tn]=arguments[Tn];return(zt=Dt.current)===null||zt===void 0?void 0:zt.call.apply(zt,[Dt].concat(En))},[]);return _t}function _o(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Zi=_o()?Pe.useLayoutEffect:Pe.useEffect,Ea=function(Dt,_t){var zt=Pe.useRef(!0);Zi(function(){return Dt(zt.current)},_t),Zi(function(){return zt.current=!1,function(){zt.current=!0}},[])},ca=function(Dt,_t){Ea(function(zt){if(!zt)return Dt()},_t)},ga=Ea;function rs(ht){var Dt=React.useRef(!1),_t=React.useState(ht),zt=_slicedToArray(_t,2),ln=zt[0],En=zt[1];React.useEffect(function(){return Dt.current=!1,function(){Dt.current=!0}},[]);function Tn(Vn,mi){mi&&Dt.current||En(Vn)}return[ln,Tn]}function us(ht){return ht!==void 0}function wi(ht,Dt){var _t=Dt||{},zt=_t.defaultValue,ln=_t.value,En=_t.onChange,Tn=_t.postState,Vn=useState(function(){return us(ln)?ln:us(zt)?typeof zt=="function"?zt():zt:typeof ht=="function"?ht():ht}),mi=_slicedToArray(Vn,2),li=mi[0],Fi=mi[1],gi=ln!==void 0?ln:li,Ai=Tn?Tn(gi):gi,xi=useEvent(En),zi=useState([gi]),fr=_slicedToArray(zi,2),Nr=fr[0],zr=fr[1];useLayoutUpdateEffect(function(){var Tr=Nr[0];li!==Tr&&xi(li,Tr)},[Nr]),useLayoutUpdateEffect(function(){us(ln)||Fi(ln)},[ln]);var Yi=useEvent(function(Tr,ur){Fi(Tr,ur),zr([gi],ur)});return[Ai,Yi]}function pa(ht,Dt,_t){var zt=React.useRef({});return(!("value"in zt.current)||_t(zt.current.condition,Dt))&&(zt.current.value=ht(),zt.current.condition=Dt),zt.current.value}function ka(ht,Dt){typeof ht=="function"?ht(Dt):_typeof(ht)==="object"&&ht&&"current"in ht&&(ht.current=Dt)}function fs(){for(var ht=arguments.length,Dt=new Array(ht),_t=0;_t<ht;_t++)Dt[_t]=arguments[_t];var zt=Dt.filter(function(ln){return ln});return zt.length<=1?zt[0]:function(ln){Dt.forEach(function(En){ka(En,ln)})}}function wa(){for(var ht=arguments.length,Dt=new Array(ht),_t=0;_t<ht;_t++)Dt[_t]=arguments[_t];return useMemo(function(){return fs.apply(void 0,Dt)},Dt,function(zt,ln){return zt.length!==ln.length||zt.every(function(En,Tn){return En!==ln[Tn]})})}function ts(ht){var Dt,_t,zt=isMemo(ht)?ht.type.type:ht.type;return!(typeof zt=="function"&&!((Dt=zt.prototype)!==null&&Dt!==void 0&&Dt.render)||typeof ht=="function"&&!((_t=ht.prototype)!==null&&_t!==void 0&&_t.render))}function Yr(ht){return!isValidElement(ht)||isFragment(ht)?!1:ts(ht)}function Is(ht,Dt,_t,zt){if(!Dt.length)return _t;var ln=_toArray(Dt),En=ln[0],Tn=ln.slice(1),Vn;return!ht&&typeof En=="number"?Vn=[]:Array.isArray(ht)?Vn=_toConsumableArray(ht):Vn=_objectSpread({},ht),zt&&_t===void 0&&Tn.length===1?delete Vn[En][Tn[0]]:Vn[En]=Is(Vn[En],Tn,_t,zt),Vn}function Ba(ht,Dt,_t){var zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Dt.length&&zt&&_t===void 0&&!get(ht,Dt.slice(0,-1))?ht:Is(ht,Dt,_t,zt)}function ns(ht){return _typeof(ht)==="object"&&ht!==null&&Object.getPrototypeOf(ht)===Object.prototype}function ws(ht){return Array.isArray(ht)?[]:{}}var tl=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Fl(){for(var ht=arguments.length,Dt=new Array(ht),_t=0;_t<ht;_t++)Dt[_t]=arguments[_t];var zt=ws(Dt[0]);return Dt.forEach(function(ln){function En(Tn,Vn){var mi=new Set(Vn),li=get(ln,Tn),Fi=Array.isArray(li);if(Fi||ns(li)){if(!mi.has(li)){mi.add(li);var gi=get(zt,Tn);Fi?zt=Ba(zt,Tn,[]):(!gi||_typeof(gi)!=="object")&&(zt=Ba(zt,Tn,ws(li))),tl(li).forEach(function(Ai){En([].concat(_toConsumableArray(Tn),[Ai]),mi)})}}else zt=Ba(zt,Tn,li)}En([])}),zt}var os={},za=[],mu=function(Dt){za.push(Dt)};function Yu(ht,Dt){if(0)var _t}function Kl(ht,Dt){if(0)var _t}function Zl(){os={}}function Bs(ht,Dt,_t){!Dt&&!os[_t]&&(ht(!1,_t),os[_t]=!0)}function As(ht,Dt){Bs(Yu,ht,Dt)}function hl(ht,Dt){Bs(Kl,ht,Dt)}As.preMessage=mu,As.resetWarned=Zl,As.noteOnce=hl;var Bl=null,sc=Pe.forwardRef(function(ht,Dt){var _t=ht.height,zt=ht.offsetY,ln=ht.offsetX,En=ht.children,Tn=ht.prefixCls,Vn=ht.onInnerResize,mi=ht.innerProps,li=ht.rtl,Fi=ht.extra,gi={},Ai={display:"flex",flexDirection:"column"};return zt!==void 0&&(gi={height:_t,position:"relative",overflow:"hidden"},Ai=(0,at.Z)((0,at.Z)({},Ai),{},(0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)((0,ft.Z)({transform:"translateY(".concat(zt,"px)")},li?"marginRight":"marginLeft",-ln),"position","absolute"),"left",0),"right",0),"top",0))),Pe.createElement("div",{style:gi},Pe.createElement(Ie.Z,{onResize:function(zi){var fr=zi.offsetHeight;fr&&Vn&&Vn()}},Pe.createElement("div",(0,rt.Z)({style:Ai,className:Nt()((0,ft.Z)({},"".concat(Tn,"-holder-inner"),Tn)),ref:Dt},mi),En,Fi)))});sc.displayName="Filler";var ku=sc;function Ku(ht){var Dt=ht.children,_t=ht.setRef,zt=Pe.useCallback(function(ln){_t(ln)},[]);return Pe.cloneElement(Dt,{ref:zt})}function $a(ht,Dt,_t,zt,ln,En,Tn,Vn){var mi=Vn.getKey;return ht.slice(Dt,_t+1).map(function(li,Fi){var gi=Dt+Fi,Ai=Tn(li,gi,{style:{width:zt},offsetX:ln}),xi=mi(li);return Pe.createElement(Ku,{key:xi,setRef:function(fr){return En(li,fr)}},Ai)})}function Fc(ht,Dt,_t,zt){var ln=_t-ht,En=Dt-_t,Tn=Math.min(ln,En)*2;if(zt<=Tn){var Vn=Math.floor(zt/2);return zt%2?_t+Vn+1:_t-Vn}return ln>En?_t-(zt-En):_t+(zt-ln)}function Bc(ht,Dt,_t){var zt=ht.length,ln=Dt.length,En,Tn;if(zt===0&&ln===0)return null;zt<ln?(En=ht,Tn=Dt):(En=Dt,Tn=ht);var Vn={__EMPTY_ITEM__:!0};function mi(zi){return zi!==void 0?_t(zi):Vn}for(var li=null,Fi=Math.abs(zt-ln)!==1,gi=0;gi<Tn.length;gi+=1){var Ai=mi(En[gi]),xi=mi(Tn[gi]);if(Ai!==xi){li=gi,Fi=Fi||Ai!==mi(Tn[gi+1]);break}}return li===null?null:{index:li,multiple:Fi}}function Iu(ht,Dt,_t){var zt=Pe.useState(ht),ln=(0,Ae.Z)(zt,2),En=ln[0],Tn=ln[1],Vn=Pe.useState(null),mi=(0,Ae.Z)(Vn,2),li=mi[0],Fi=mi[1];return Pe.useEffect(function(){var gi=Bc(En||[],ht||[],Dt);(gi==null?void 0:gi.index)!==void 0&&(_t==null||_t(gi.index),Fi(ht[gi.index])),Tn(ht)},[ht]),[li]}var Zn=function(Dt){return+setTimeout(Dt,16)},Sr=function(Dt){return clearTimeout(Dt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Zn=function(Dt){return window.requestAnimationFrame(Dt)},Sr=function(Dt){return window.cancelAnimationFrame(Dt)});var Kr=0,no=new Map;function Lo(ht){no.delete(ht)}var Xo=function(Dt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Kr+=1;var zt=Kr;function ln(En){if(En===0)Lo(zt),Dt();else{var Tn=Zn(function(){ln(En-1)});no.set(zt,Tn)}}return ln(_t),zt};Xo.cancel=function(ht){var Dt=no.get(ht);return Lo(Dt),Sr(Dt)};var La=Xo,Wo=(typeof navigator=="undefined"?"undefined":(0,lt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),vs=Wo,Ia=function(ht,Dt,_t,zt){var ln=(0,Pe.useRef)(!1),En=(0,Pe.useRef)(null);function Tn(){clearTimeout(En.current),ln.current=!0,En.current=setTimeout(function(){ln.current=!1},50)}var Vn=(0,Pe.useRef)({top:ht,bottom:Dt,left:_t,right:zt});return Vn.current.top=ht,Vn.current.bottom=Dt,Vn.current.left=_t,Vn.current.right=zt,function(mi,li){var Fi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,gi=mi?li<0&&Vn.current.left||li>0&&Vn.current.right:li<0&&Vn.current.top||li>0&&Vn.current.bottom;return Fi&&gi?(clearTimeout(En.current),ln.current=!1):(!gi||ln.current)&&Tn(),!ln.current&&gi}};function gs(ht,Dt,_t,zt,ln,En,Tn){var Vn=(0,Pe.useRef)(0),mi=(0,Pe.useRef)(null),li=(0,Pe.useRef)(null),Fi=(0,Pe.useRef)(!1),gi=Ia(Dt,_t,zt,ln);function Ai(Yi,Tr){if(La.cancel(mi.current),!gi(!1,Tr)){var ur=Yi;if(!ur._virtualHandled)ur._virtualHandled=!0;else return;Vn.current+=Tr,li.current=Tr,vs||ur.preventDefault(),mi.current=La(function(){var Ur=Fi.current?10:1;Tn(Vn.current*Ur,!1),Vn.current=0})}}function xi(Yi,Tr){Tn(Tr,!0),vs||Yi.preventDefault()}var zi=(0,Pe.useRef)(null),fr=(0,Pe.useRef)(null);function Nr(Yi){if(ht){La.cancel(fr.current),fr.current=La(function(){zi.current=null},2);var Tr=Yi.deltaX,ur=Yi.deltaY,Ur=Yi.shiftKey,mo=Tr,Fr=ur;(zi.current==="sx"||!zi.current&&Ur&&ur&&!Tr)&&(mo=ur,Fr=0,zi.current="sx");var Uo=Math.abs(mo),wo=Math.abs(Fr);zi.current===null&&(zi.current=En&&Uo>wo?"x":"y"),zi.current==="y"?Ai(Yi,Fr):xi(Yi,mo)}}function zr(Yi){ht&&(Fi.current=Yi.detail===li.current)}return[Nr,zr]}function cr(ht,Dt,_t,zt){var ln=Pe.useMemo(function(){return[new Map,[]]},[ht,_t.id,zt]),En=(0,Ae.Z)(ln,2),Tn=En[0],Vn=En[1],mi=function(Fi){var gi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fi,Ai=Tn.get(Fi),xi=Tn.get(gi);if(Ai===void 0||xi===void 0)for(var zi=ht.length,fr=Vn.length;fr<zi;fr+=1){var Nr,zr=ht[fr],Yi=Dt(zr);Tn.set(Yi,fr);var Tr=(Nr=_t.get(Yi))!==null&&Nr!==void 0?Nr:zt;if(Vn[fr]=(Vn[fr-1]||0)+Tr,Yi===Fi&&(Ai=fr),Yi===gi&&(xi=fr),Ai!==void 0&&xi!==void 0)break}return{top:Vn[Ai-1]||0,bottom:Vn[xi]}};return mi}var _l=ue(15671),Ht=ue(43144),Jn=function(){function ht(){(0,_l.Z)(this,ht),(0,ft.Z)(this,"maps",void 0),(0,ft.Z)(this,"id",0),(0,ft.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,Ht.Z)(ht,[{key:"set",value:function(_t,zt){this.maps[_t]=zt,this.id+=1,this.diffKeys.add(_t)}},{key:"get",value:function(_t){return this.maps[_t]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),ht}(),vu=Jn;function Mu(ht){var Dt=parseFloat(ht);return isNaN(Dt)?0:Dt}function Ul(ht,Dt,_t){var zt=Pe.useState(0),ln=(0,Ae.Z)(zt,2),En=ln[0],Tn=ln[1],Vn=(0,Pe.useRef)(new Map),mi=(0,Pe.useRef)(new vu),li=(0,Pe.useRef)(0);function Fi(){li.current+=1}function gi(){var xi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Fi();var zi=function(){var zr=!1;Vn.current.forEach(function(Yi,Tr){if(Yi&&Yi.offsetParent){var ur=Yi.offsetHeight,Ur=getComputedStyle(Yi),mo=Ur.marginTop,Fr=Ur.marginBottom,Uo=Mu(mo),wo=Mu(Fr),Jo=ur+Uo+wo;mi.current.get(Tr)!==Jo&&(mi.current.set(Tr,Jo),zr=!0)}}),zr&&Tn(function(Yi){return Yi+1})};if(xi)zi();else{li.current+=1;var fr=li.current;Promise.resolve().then(function(){fr===li.current&&zi()})}}function Ai(xi,zi){var fr=ht(xi),Nr=Vn.current.get(fr);zi?(Vn.current.set(fr,zi),gi()):Vn.current.delete(fr),!Nr!=!zi&&(zi?Dt==null||Dt(xi):_t==null||_t(xi))}return(0,Pe.useEffect)(function(){return Fi},[]),[Ai,gi,mi.current,En]}var nl=14/15;function Js(ht,Dt,_t){var zt=(0,Pe.useRef)(!1),ln=(0,Pe.useRef)(0),En=(0,Pe.useRef)(0),Tn=(0,Pe.useRef)(null),Vn=(0,Pe.useRef)(null),mi,li=function(xi){if(zt.current){var zi=Math.ceil(xi.touches[0].pageX),fr=Math.ceil(xi.touches[0].pageY),Nr=ln.current-zi,zr=En.current-fr,Yi=Math.abs(Nr)>Math.abs(zr);Yi?ln.current=zi:En.current=fr;var Tr=_t(Yi,Yi?Nr:zr,!1,xi);Tr&&xi.preventDefault(),clearInterval(Vn.current),Tr&&(Vn.current=setInterval(function(){Yi?Nr*=nl:zr*=nl;var ur=Math.floor(Yi?Nr:zr);(!_t(Yi,ur,!0)||Math.abs(ur)<=.1)&&clearInterval(Vn.current)},16))}},Fi=function(){zt.current=!1,mi()},gi=function(xi){mi(),xi.touches.length===1&&!zt.current&&(zt.current=!0,ln.current=Math.ceil(xi.touches[0].pageX),En.current=Math.ceil(xi.touches[0].pageY),Tn.current=xi.target,Tn.current.addEventListener("touchmove",li,{passive:!1}),Tn.current.addEventListener("touchend",Fi,{passive:!0}))};mi=function(){Tn.current&&(Tn.current.removeEventListener("touchmove",li),Tn.current.removeEventListener("touchend",Fi))},ga(function(){return ht&&Dt.current.addEventListener("touchstart",gi,{passive:!0}),function(){var Ai;(Ai=Dt.current)===null||Ai===void 0||Ai.removeEventListener("touchstart",gi),mi(),clearInterval(Vn.current)}},[ht])}function _s(ht){return Math.floor(Math.pow(ht,.5))}function il(ht,Dt){var _t="touches"in ht?ht.touches[0]:ht;return _t[Dt?"pageX":"pageY"]-window[Dt?"scrollX":"scrollY"]}function _a(ht,Dt,_t){Pe.useEffect(function(){var zt=Dt.current;if(ht&&zt){var ln=!1,En,Tn,Vn=function(){La.cancel(En)},mi=function Ai(){Vn(),En=La(function(){_t(Tn),Ai()})},li=function(xi){if(!(xi.target.draggable||xi.button!==0)){var zi=xi;zi._virtualHandled||(zi._virtualHandled=!0,ln=!0)}},Fi=function(){ln=!1,Vn()},gi=function(xi){if(ln){var zi=il(xi,!1),fr=zt.getBoundingClientRect(),Nr=fr.top,zr=fr.bottom;if(zi<=Nr){var Yi=Nr-zi;Tn=-_s(Yi),mi()}else if(zi>=zr){var Tr=zi-zr;Tn=_s(Tr),mi()}else Vn()}};return zt.addEventListener("mousedown",li),zt.ownerDocument.addEventListener("mouseup",Fi),zt.ownerDocument.addEventListener("mousemove",gi),function(){zt.removeEventListener("mousedown",li),zt.ownerDocument.removeEventListener("mouseup",Fi),zt.ownerDocument.removeEventListener("mousemove",gi),Vn()}}},[ht])}var eo=10;function Zs(ht,Dt,_t,zt,ln,En,Tn,Vn){var mi=Pe.useRef(),li=Pe.useState(null),Fi=(0,Ae.Z)(li,2),gi=Fi[0],Ai=Fi[1];return ga(function(){if(gi&&gi.times<eo){if(!ht.current){Ai(function(xn){return(0,at.Z)({},xn)});return}En();var xi=gi.targetAlign,zi=gi.originAlign,fr=gi.index,Nr=gi.offset,zr=ht.current.clientHeight,Yi=!1,Tr=xi,ur=null;if(zr){for(var Ur=xi||zi,mo=0,Fr=0,Uo=0,wo=Math.min(Dt.length-1,fr),Jo=0;Jo<=wo;Jo+=1){var Ce=ln(Dt[Jo]);Fr=mo;var ze=_t.get(Ce);Uo=Fr+(ze===void 0?zt:ze),mo=Uo}for(var Ve=Ur==="top"?Nr:zr-Nr,et=wo;et>=0;et-=1){var gt=ln(Dt[et]),St=_t.get(gt);if(St===void 0){Yi=!0;break}if(Ve-=St,Ve<=0)break}switch(Ur){case"top":ur=Fr-Nr;break;case"bottom":ur=Uo-zr+Nr;break;default:{var Pt=ht.current.scrollTop,Vt=Pt+zr;Fr<Pt?Tr="top":Uo>Vt&&(Tr="bottom")}}ur!==null&&Tn(ur),ur!==gi.lastTop&&(Yi=!0)}Yi&&Ai((0,at.Z)((0,at.Z)({},gi),{},{times:gi.times+1,targetAlign:Tr,lastTop:ur}))}},[gi,ht.current]),function(xi){if(xi==null){Vn();return}if(La.cancel(mi.current),typeof xi=="number")Tn(xi);else if(xi&&(0,lt.Z)(xi)==="object"){var zi,fr=xi.align;"index"in xi?zi=xi.index:zi=Dt.findIndex(function(Yi){return ln(Yi)===xi.key});var Nr=xi.offset,zr=Nr===void 0?0:Nr;Ai({times:0,index:zi,offset:zr,originAlign:fr})}}}var bl=Pe.forwardRef(function(ht,Dt){var _t=ht.prefixCls,zt=ht.rtl,ln=ht.scrollOffset,En=ht.scrollRange,Tn=ht.onStartMove,Vn=ht.onStopMove,mi=ht.onScroll,li=ht.horizontal,Fi=ht.spinSize,gi=ht.containerSize,Ai=ht.style,xi=ht.thumbStyle,zi=ht.showScrollBar,fr=Pe.useState(!1),Nr=(0,Ae.Z)(fr,2),zr=Nr[0],Yi=Nr[1],Tr=Pe.useState(null),ur=(0,Ae.Z)(Tr,2),Ur=ur[0],mo=ur[1],Fr=Pe.useState(null),Uo=(0,Ae.Z)(Fr,2),wo=Uo[0],Jo=Uo[1],Ce=!zt,ze=Pe.useRef(),Ve=Pe.useRef(),et=Pe.useState(zi),gt=(0,Ae.Z)(et,2),St=gt[0],Pt=gt[1],Vt=Pe.useRef(),xn=function(){zi===!0||zi===!1||(clearTimeout(Vt.current),Pt(!0),Vt.current=setTimeout(function(){Pt(!1)},3e3))},wn=En-gi||0,dn=gi-Fi||0,Gn=Pe.useMemo(function(){if(ln===0||wn===0)return 0;var ci=ln/wn;return ci*dn},[ln,wn,dn]),Wn=function(Ei){Ei.stopPropagation(),Ei.preventDefault()},Pn=Pe.useRef({top:Gn,dragging:zr,pageY:Ur,startTop:wo});Pn.current={top:Gn,dragging:zr,pageY:Ur,startTop:wo};var le=function(Ei){Yi(!0),mo(il(Ei,li)),Jo(Pn.current.top),Tn(),Ei.stopPropagation(),Ei.preventDefault()};Pe.useEffect(function(){var ci=function(Yo){Yo.preventDefault()},Ei=ze.current,ii=Ve.current;return Ei.addEventListener("touchstart",ci,{passive:!1}),ii.addEventListener("touchstart",le,{passive:!1}),function(){Ei.removeEventListener("touchstart",ci),ii.removeEventListener("touchstart",le)}},[]);var pe=Pe.useRef();pe.current=wn;var Ge=Pe.useRef();Ge.current=dn,Pe.useEffect(function(){if(zr){var ci,Ei=function(Yo){var No=Pn.current,ha=No.dragging,Qa=No.pageY,Ca=No.startTop;La.cancel(ci);var rr=ze.current.getBoundingClientRect(),Ko=gi/(li?rr.width:rr.height);if(ha){var Xr=(il(Yo,li)-Qa)*Ko,Ta=Ca;!Ce&&li?Ta-=Xr:Ta+=Xr;var Da=pe.current,Ya=Ge.current,qs=Ya?Ta/Ya:0,Hn=Math.ceil(qs*Da);Hn=Math.max(Hn,0),Hn=Math.min(Hn,Da),ci=La(function(){mi(Hn,li)})}},ii=function(){Yi(!1),Vn()};return window.addEventListener("mousemove",Ei,{passive:!0}),window.addEventListener("touchmove",Ei,{passive:!0}),window.addEventListener("mouseup",ii,{passive:!0}),window.addEventListener("touchend",ii,{passive:!0}),function(){window.removeEventListener("mousemove",Ei),window.removeEventListener("touchmove",Ei),window.removeEventListener("mouseup",ii),window.removeEventListener("touchend",ii),La.cancel(ci)}}},[zr]),Pe.useEffect(function(){return xn(),function(){clearTimeout(Vt.current)}},[ln]),Pe.useImperativeHandle(Dt,function(){return{delayHidden:xn}});var Ct="".concat(_t,"-scrollbar"),gn={position:"absolute",visibility:St?null:"hidden"},Cn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return li?(gn.height=8,gn.left=0,gn.right=0,gn.bottom=0,Cn.height="100%",Cn.width=Fi,Ce?Cn.left=Gn:Cn.right=Gn):(gn.width=8,gn.top=0,gn.bottom=0,Ce?gn.right=0:gn.left=0,Cn.width="100%",Cn.height=Fi,Cn.top=Gn),Pe.createElement("div",{ref:ze,className:Nt()(Ct,(0,ft.Z)((0,ft.Z)((0,ft.Z)({},"".concat(Ct,"-horizontal"),li),"".concat(Ct,"-vertical"),!li),"".concat(Ct,"-visible"),St)),style:(0,at.Z)((0,at.Z)({},gn),Ai),onMouseDown:Wn,onMouseMove:xn},Pe.createElement("div",{ref:Ve,className:Nt()("".concat(Ct,"-thumb"),(0,ft.Z)({},"".concat(Ct,"-thumb-moving"),zr)),style:(0,at.Z)((0,at.Z)({},Cn),xi),onMouseDown:le}))}),Ga=bl,Ho=20;function ys(){var ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,_t=ht/Dt*ht;return isNaN(_t)&&(_t=0),_t=Math.max(_t,Ho),Math.floor(_t)}var rl=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Wa=[],fl={overflowY:"auto",overflowAnchor:"none"};function Us(ht,Dt){var _t=ht.prefixCls,zt=_t===void 0?"rc-virtual-list":_t,ln=ht.className,En=ht.height,Tn=ht.itemHeight,Vn=ht.fullHeight,mi=Vn===void 0?!0:Vn,li=ht.style,Fi=ht.data,gi=ht.children,Ai=ht.itemKey,xi=ht.virtual,zi=ht.direction,fr=ht.scrollWidth,Nr=ht.component,zr=Nr===void 0?"div":Nr,Yi=ht.onScroll,Tr=ht.onVirtualScroll,ur=ht.onVisibleChange,Ur=ht.innerProps,mo=ht.extraRender,Fr=ht.styles,Uo=ht.showScrollBar,wo=Uo===void 0?"optional":Uo,Jo=(0,hi.Z)(ht,rl),Ce=Pe.useCallback(function(Ro){return typeof Ai=="function"?Ai(Ro):Ro==null?void 0:Ro[Ai]},[Ai]),ze=Ul(Ce,null,null),Ve=(0,Ae.Z)(ze,4),et=Ve[0],gt=Ve[1],St=Ve[2],Pt=Ve[3],Vt=!!(xi!==!1&&En&&Tn),xn=Pe.useMemo(function(){return Object.values(St.maps).reduce(function(Ro,To){return Ro+To},0)},[St.id,St.maps]),wn=Vt&&Fi&&(Math.max(Tn*Fi.length,xn)>En||!!fr),dn=zi==="rtl",Gn=Nt()(zt,(0,ft.Z)({},"".concat(zt,"-rtl"),dn),ln),Wn=Fi||Wa,Pn=(0,Pe.useRef)(),le=(0,Pe.useRef)(),pe=(0,Pe.useRef)(),Ge=(0,Pe.useState)(0),Ct=(0,Ae.Z)(Ge,2),gn=Ct[0],Cn=Ct[1],ci=(0,Pe.useState)(0),Ei=(0,Ae.Z)(ci,2),ii=Ei[0],Br=Ei[1],Yo=(0,Pe.useState)(!1),No=(0,Ae.Z)(Yo,2),ha=No[0],Qa=No[1],Ca=function(){Qa(!0)},rr=function(){Qa(!1)},Ko={getKey:Ce};function Xr(Ro){Cn(function(To){var So;typeof Ro=="function"?So=Ro(To):So=Ro;var ss=Qu(So);return Pn.current.scrollTop=ss,ss})}var Ta=(0,Pe.useRef)({start:0,end:Wn.length}),Da=(0,Pe.useRef)(),Ya=Iu(Wn,Ce),qs=(0,Ae.Z)(Ya,1),Hn=qs[0];Da.current=Hn;var Ms=Pe.useMemo(function(){if(!Vt)return{scrollHeight:void 0,start:0,end:Wn.length-1,offset:void 0};if(!wn){var Ro;return{scrollHeight:((Ro=le.current)===null||Ro===void 0?void 0:Ro.offsetHeight)||0,start:0,end:Wn.length-1,offset:void 0}}for(var To=0,So,ss,$s,zc=Wn.length,hc=0;hc<zc;hc+=1){var qt=Wn[hc],Tc=Ce(qt),ql=St.get(Tc),gd=To+(ql===void 0?Tn:ql);gd>=gn&&So===void 0&&(So=hc,ss=To),gd>gn+En&&$s===void 0&&($s=hc),To=gd}return So===void 0&&(So=0,ss=0,$s=Math.ceil(En/Tn)),$s===void 0&&($s=Wn.length-1),$s=Math.min($s+1,Wn.length-1),{scrollHeight:To,start:So,end:$s,offset:ss}},[wn,Vt,gn,Wn,Pt,En]),Ua=Ms.scrollHeight,Xn=Ms.start,Rs=Ms.end,Xl=Ms.offset;Ta.current.start=Xn,Ta.current.end=Rs,Pe.useLayoutEffect(function(){var Ro=St.getRecord();if(Ro.size===1){var To=Array.from(Ro)[0],So=Wn[Xn];if(So){var ss=Ce(So);if(ss===To){var $s=St.get(To),zc=$s-Tn;Xr(function(hc){return hc+zc})}}}St.resetRecord()},[Ua]);var wc=Pe.useState({width:0,height:En}),Ou=(0,Ae.Z)(wc,2),Ka=Ou[0],Ql=Ou[1],ps=function(To){Ql({width:To.offsetWidth,height:To.offsetHeight})},ol=(0,Pe.useRef)(),Hl=(0,Pe.useRef)(),au=Pe.useMemo(function(){return ys(Ka.width,fr)},[Ka.width,fr]),Cc=Pe.useMemo(function(){return ys(Ka.height,Ua)},[Ka.height,Ua]),cc=Ua-En,Uc=(0,Pe.useRef)(cc);Uc.current=cc;function Qu(Ro){var To=Ro;return Number.isNaN(Uc.current)||(To=Math.min(To,Uc.current)),To=Math.max(To,0),To}var Jl=gn<=0,dc=gn>=cc,Ju=ii<=0,as=ii>=fr,al=Ia(Jl,dc,Ju,as),Eu=function(){return{x:dn?-ii:ii,y:gn}},Du=(0,Pe.useRef)(Eu()),Gi=ho(function(Ro){if(Tr){var To=(0,at.Z)((0,at.Z)({},Eu()),Ro);(Du.current.x!==To.x||Du.current.y!==To.y)&&(Tr(To),Du.current=To)}});function Pr(Ro,To){var So=Ro;To?((0,Ue.flushSync)(function(){Br(So)}),Gi()):Xr(So)}function ta(Ro){var To=Ro.currentTarget.scrollTop;To!==gn&&Xr(To),Yi==null||Yi(Ro),Gi()}var Pa=function(To){var So=To,ss=fr?fr-Ka.width:0;return So=Math.max(So,0),So=Math.min(So,ss),So},Vo=ho(function(Ro,To){To?((0,Ue.flushSync)(function(){Br(function(So){var ss=So+(dn?-Ro:Ro);return Pa(ss)})}),Gi()):Xr(function(So){var ss=So+Ro;return ss})}),gl=gs(Vt,Jl,dc,Ju,as,!!fr,Vo),pl=(0,Ae.Z)(gl,2),ms=pl[0],wl=pl[1];Js(Vt,Pn,function(Ro,To,So,ss){var $s=ss;return al(Ro,To,So)?!1:!$s||!$s._virtualHandled?($s&&($s._virtualHandled=!0),ms({preventDefault:function(){},deltaX:Ro?To:0,deltaY:Ro?0:To}),!0):!1}),_a(wn,Pn,function(Ro){Xr(function(To){return To+Ro})}),ga(function(){function Ro(So){var ss=Jl&&So.detail<0,$s=dc&&So.detail>0;Vt&&!ss&&!$s&&So.preventDefault()}var To=Pn.current;return To.addEventListener("wheel",ms,{passive:!1}),To.addEventListener("DOMMouseScroll",wl,{passive:!0}),To.addEventListener("MozMousePixelScroll",Ro,{passive:!1}),function(){To.removeEventListener("wheel",ms),To.removeEventListener("DOMMouseScroll",wl),To.removeEventListener("MozMousePixelScroll",Ro)}},[Vt,Jl,dc]),ga(function(){if(fr){var Ro=Pa(ii);Br(Ro),Gi({x:Ro})}},[Ka.width,fr]);var xu=function(){var To,So;(To=ol.current)===null||To===void 0||To.delayHidden(),(So=Hl.current)===null||So===void 0||So.delayHidden()},Os=Zs(Pn,Wn,St,Tn,Ce,function(){return gt(!0)},Xr,xu);Pe.useImperativeHandle(Dt,function(){return{nativeElement:pe.current,getScrollInfo:Eu,scrollTo:function(To){function So(ss){return ss&&(0,lt.Z)(ss)==="object"&&("left"in ss||"top"in ss)}So(To)?(To.left!==void 0&&Br(Pa(To.left)),Os(To.top)):Os(To)}}}),ga(function(){if(ur){var Ro=Wn.slice(Xn,Rs+1);ur(Ro,Wn)}},[Xn,Rs,Wn]);var Fu=cr(Wn,Ce,St,Tn),sl=mo==null?void 0:mo({start:Xn,end:Rs,virtual:wn,offsetX:ii,offsetY:Xl,rtl:dn,getSize:Fu}),su=$a(Wn,Xn,Rs,fr,ii,et,gi,Ko),Hc=null;En&&(Hc=(0,at.Z)((0,ft.Z)({},mi?"height":"maxHeight",En),fl),Vt&&(Hc.overflowY="hidden",fr&&(Hc.overflowX="hidden"),ha&&(Hc.pointerEvents="none")));var Od={};return dn&&(Od.dir="rtl"),Pe.createElement("div",(0,rt.Z)({ref:pe,style:(0,at.Z)((0,at.Z)({},li),{},{position:"relative"}),className:Gn},Od,Jo),Pe.createElement(Ie.Z,{onResize:ps},Pe.createElement(zr,{className:"".concat(zt,"-holder"),style:Hc,ref:Pn,onScroll:ta,onMouseEnter:xu},Pe.createElement(ku,{prefixCls:zt,height:Ua,offsetX:ii,offsetY:Xl,scrollWidth:fr,onInnerResize:gt,ref:le,innerProps:Ur,rtl:dn,extra:sl},su))),wn&&Ua>En&&Pe.createElement(Ga,{ref:ol,prefixCls:zt,scrollOffset:gn,scrollRange:Ua,rtl:dn,onScroll:Pr,onStartMove:Ca,onStopMove:rr,spinSize:Cc,containerSize:Ka.height,style:Fr==null?void 0:Fr.verticalScrollBar,thumbStyle:Fr==null?void 0:Fr.verticalScrollBarThumb,showScrollBar:wo}),wn&&fr>Ka.width&&Pe.createElement(Ga,{ref:Hl,prefixCls:zt,scrollOffset:ii,scrollRange:fr,rtl:dn,onScroll:Pr,onStartMove:Ca,onStopMove:rr,spinSize:au,containerSize:Ka.width,horizontal:!0,style:Fr==null?void 0:Fr.horizontalScrollBar,thumbStyle:Fr==null?void 0:Fr.horizontalScrollBarThumb,showScrollBar:wo}))}var yu=Pe.forwardRef(Us);yu.displayName="List";var da=yu,Vs=da,Qo=tt(null),Oa=tt(null);function Va(ht,Dt,_t){var zt=Dt||1;return _t[ht+zt]-(_t[ht]||0)}function is(ht){var Dt=ht.rowInfo,_t=ht.column,zt=ht.colIndex,ln=ht.indent,En=ht.index,Tn=ht.component,Vn=ht.renderIndex,mi=ht.record,li=ht.style,Fi=ht.className,gi=ht.inverse,Ai=ht.getHeight,xi=_t.render,zi=_t.dataIndex,fr=_t.className,Nr=_t.width,zr=Ze(Oa,["columnsOffset"]),Yi=zr.columnsOffset,Tr=nn(Dt,_t,zt,ln,En),ur=Tr.key,Ur=Tr.fixedInfo,mo=Tr.appendCellNode,Fr=Tr.additionalCellProps,Uo=Fr.style,wo=Fr.colSpan,Jo=wo===void 0?1:wo,Ce=Fr.rowSpan,ze=Ce===void 0?1:Ce,Ve=zt-1,et=Va(Ve,Jo,Yi),gt=Jo>1?Nr-et:0,St=(0,at.Z)((0,at.Z)((0,at.Z)({},Uo),li),{},{flex:"0 0 ".concat(et,"px"),width:"".concat(et,"px"),marginRight:gt,pointerEvents:"auto"}),Pt=Pe.useMemo(function(){return gi?ze<=1:Jo===0||ze===0||ze>1},[ze,Jo,gi]);Pt?St.visibility="hidden":gi&&(St.height=Ai==null?void 0:Ai(ze));var Vt=Pt?function(){return null}:xi,xn={};return(ze===0||Jo===0)&&(xn.rowSpan=1,xn.colSpan=1),Pe.createElement(ai,(0,rt.Z)({className:Nt()(fr,Fi),ellipsis:_t.ellipsis,align:_t.align,scope:_t.rowScope,component:Tn,prefixCls:Dt.prefixCls,key:ur,record:mi,index:En,renderIndex:Vn,dataIndex:zi,render:Vt,shouldCellUpdate:_t.shouldCellUpdate},Ur,{appendNode:mo,additionalProps:(0,at.Z)((0,at.Z)({},Fr),{},{style:St},xn)}))}var va=is,lc=["data","index","className","rowKey","style","extra","getHeight"],Or=Pe.forwardRef(function(ht,Dt){var _t=ht.data,zt=ht.index,ln=ht.className,En=ht.rowKey,Tn=ht.style,Vn=ht.extra,mi=ht.getHeight,li=(0,hi.Z)(ht,lc),Fi=_t.record,gi=_t.indent,Ai=_t.index,xi=Ze(we,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),zi=xi.scrollX,fr=xi.flattenColumns,Nr=xi.prefixCls,zr=xi.fixColumn,Yi=xi.componentWidth,Tr=Ze(Qo,["getComponent"]),ur=Tr.getComponent,Ur=Io(Fi,En,zt,gi),mo=ur(["body","row"],"div"),Fr=ur(["body","cell"],"div"),Uo=Ur.rowSupportExpand,wo=Ur.expanded,Jo=Ur.rowProps,Ce=Ur.expandedRowRender,ze=Ur.expandedRowClassName,Ve;if(Uo&&wo){var et=Ce(Fi,zt,gi+1,wo),gt=Sa(ze,Fi,zt,gi),St={};zr&&(St={style:(0,ft.Z)({},"--virtual-width","".concat(Yi,"px"))});var Pt="".concat(Nr,"-expanded-row-cell");Ve=Pe.createElement(mo,{className:Nt()("".concat(Nr,"-expanded-row"),"".concat(Nr,"-expanded-row-level-").concat(gi+1),gt)},Pe.createElement(ai,{component:Fr,prefixCls:Nr,className:Nt()(Pt,(0,ft.Z)({},"".concat(Pt,"-fixed"),zr)),additionalProps:St},et))}var Vt=(0,at.Z)((0,at.Z)({},Tn),{},{width:zi});Vn&&(Vt.position="absolute",Vt.pointerEvents="none");var xn=Pe.createElement(mo,(0,rt.Z)({},Jo,li,{"data-row-key":En,ref:Uo?null:Dt,className:Nt()(ln,"".concat(Nr,"-row"),Jo==null?void 0:Jo.className,(0,ft.Z)({},"".concat(Nr,"-row-extra"),Vn)),style:(0,at.Z)((0,at.Z)({},Vt),Jo==null?void 0:Jo.style)}),fr.map(function(wn,dn){return Pe.createElement(va,{key:dn,component:Fr,rowInfo:Ur,column:wn,colIndex:dn,indent:gi,index:zt,renderIndex:Ai,record:Fi,inverse:Vn,getHeight:mi})}));return Uo?Pe.createElement("div",{ref:Dt},xn,Ve):xn}),Md=ge(Or),ra=Md,Rd=Pe.forwardRef(function(ht,Dt){var _t=ht.data,zt=ht.onScroll,ln=Ze(we,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),En=ln.flattenColumns,Tn=ln.onColumnResize,Vn=ln.getRowKey,mi=ln.expandedKeys,li=ln.prefixCls,Fi=ln.childrenColumnName,gi=ln.scrollX,Ai=ln.direction,xi=Ze(Qo),zi=xi.sticky,fr=xi.scrollY,Nr=xi.listItemHeight,zr=xi.getComponent,Yi=xi.onScroll,Tr=Pe.useRef(),ur=Zr(_t,Fi,mi,Vn),Ur=Pe.useMemo(function(){var Ve=0;return En.map(function(et){var gt=et.width,St=et.key;return Ve+=gt,[St,gt,Ve]})},[En]),mo=Pe.useMemo(function(){return Ur.map(function(Ve){return Ve[2]})},[Ur]);Pe.useEffect(function(){Ur.forEach(function(Ve){var et=(0,Ae.Z)(Ve,2),gt=et[0],St=et[1];Tn(gt,St)})},[Ur]),Pe.useImperativeHandle(Dt,function(){var Ve,et={scrollTo:function(St){var Pt;(Pt=Tr.current)===null||Pt===void 0||Pt.scrollTo(St)},nativeElement:(Ve=Tr.current)===null||Ve===void 0?void 0:Ve.nativeElement};return Object.defineProperty(et,"scrollLeft",{get:function(){var St;return((St=Tr.current)===null||St===void 0?void 0:St.getScrollInfo().x)||0},set:function(St){var Pt;(Pt=Tr.current)===null||Pt===void 0||Pt.scrollTo({left:St})}}),et});var Fr=function(et,gt){var St,Pt=(St=ur[gt])===null||St===void 0?void 0:St.record,Vt=et.onCell;if(Vt){var xn,wn=Vt(Pt,gt);return(xn=wn==null?void 0:wn.rowSpan)!==null&&xn!==void 0?xn:1}return 1},Uo=function(et){var gt=et.start,St=et.end,Pt=et.getSize,Vt=et.offsetY;if(St<0)return null;for(var xn=En.filter(function(ci){return Fr(ci,gt)===0}),wn=gt,dn=function(Ei){if(xn=xn.filter(function(ii){return Fr(ii,Ei)===0}),!xn.length)return wn=Ei,1},Gn=gt;Gn>=0&&!dn(Gn);Gn-=1);for(var Wn=En.filter(function(ci){return Fr(ci,St)!==1}),Pn=St,le=function(Ei){if(Wn=Wn.filter(function(ii){return Fr(ii,Ei)!==1}),!Wn.length)return Pn=Math.max(Ei-1,St),1},pe=St;pe<ur.length&&!le(pe);pe+=1);for(var Ge=[],Ct=function(Ei){var ii=ur[Ei];if(!ii)return 1;En.some(function(Br){return Fr(Br,Ei)>1})&&Ge.push(Ei)},gn=wn;gn<=Pn;gn+=1)Ct(gn);var Cn=Ge.map(function(ci){var Ei=ur[ci],ii=Vn(Ei.record,ci),Br=function(ha){var Qa=ci+ha-1,Ca=Vn(ur[Qa].record,Qa),rr=Pt(ii,Ca);return rr.bottom-rr.top},Yo=Pt(ii);return Pe.createElement(ra,{key:ci,data:Ei,rowKey:ii,index:ci,style:{top:-Vt+Yo.top},extra:!0,getHeight:Br})});return Cn},wo=Pe.useMemo(function(){return{columnsOffset:mo}},[mo]),Jo="".concat(li,"-tbody"),Ce=zr(["body","wrapper"]),ze={};return zi&&(ze.position="sticky",ze.bottom=0,(0,lt.Z)(zi)==="object"&&zi.offsetScroll&&(ze.bottom=zi.offsetScroll)),Pe.createElement(Oa.Provider,{value:wo},Pe.createElement(Vs,{fullHeight:!1,ref:Tr,prefixCls:"".concat(Jo,"-virtual"),styles:{horizontalScrollBar:ze},className:Jo,height:fr,itemHeight:Nr||24,data:ur,itemKey:function(et){return Vn(et.record)},component:Ce,scrollWidth:gi,direction:Ai,onVirtualScroll:function(et){var gt,St=et.x;zt({currentTarget:(gt=Tr.current)===null||gt===void 0?void 0:gt.nativeElement,scrollLeft:St})},onScroll:Yi,extraRender:Uo},function(Ve,et,gt){var St=Vn(Ve.record,et);return Pe.createElement(ra,{data:Ve,rowKey:St,index:et,style:gt.style})}))}),uc=ge(Rd),_c=uc,fd=function(Dt,_t){var zt=_t.ref,ln=_t.onScroll;return Pe.createElement(_c,{ref:zt,data:Dt,onScroll:ln})};function Ru(ht,Dt){var _t=ht.data,zt=ht.columns,ln=ht.scroll,En=ht.sticky,Tn=ht.prefixCls,Vn=Tn===void 0?Ra:Tn,mi=ht.className,li=ht.listItemHeight,Fi=ht.components,gi=ht.onScroll,Ai=ln||{},xi=Ai.x,zi=Ai.y;typeof xi!="number"&&(xi=1),typeof zi!="number"&&(zi=500);var fr=Ot(function(Yi,Tr){return on(Fi,Yi)||Tr}),Nr=Ot(gi),zr=Pe.useMemo(function(){return{sticky:En,scrollY:zi,listItemHeight:li,getComponent:fr,onScroll:Nr}},[En,zi,li,fr,Nr]);return Pe.createElement(Qo.Provider,{value:zr},Pe.createElement($r,(0,rt.Z)({},ht,{className:Nt()(mi,"".concat(Vn,"-virtual")),scroll:(0,at.Z)((0,at.Z)({},ln),{},{x:xi}),components:(0,at.Z)((0,at.Z)({},Fi),{},{body:_t!=null&&_t.length?fd:void 0}),columns:zt,internalHooks:ce.R,tailor:!0,ref:Dt})))}var Su=Pe.forwardRef(Ru);function Zu(ht){return se(Su,ht)}var ya=Zu(),Xu=null},62978:function(Re,xe,ue){"use strict";ue.d(xe,{g:function(){return Pe},v:function(){return Ye}});var ce=ue(1413),Ae=ue(45987),Fe=ue(40830),ke=["expandable"],Ye="RC_TABLE_INTERNAL_COL_DEFINE";function Pe(Ue){var tt=Ue.expandable,Ze=(0,Ae.Z)(Ue,ke),rt;return"expandable"in Ue?rt=(0,ce.Z)((0,ce.Z)({},Ze),tt):rt=Ze,rt.showExpandColumn===!1&&(rt.expandIconColumnIndex=-1),rt}},63295:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Ye}});var ce=ue(71002),Ae=Symbol.for("react.element"),Fe=Symbol.for("react.transitional.element"),ke=Symbol.for("react.fragment");function Ye(Pe){return Pe&&(0,ce.Z)(Pe)==="object"&&(Pe.$$typeof===Ae||Pe.$$typeof===Fe)&&Pe.type===ke}},40830:function(Re,xe,ue){"use strict";var ce={},Ae=[],Fe=function(xt){Ae.push(xt)};function ke(rt,xt){if(0)var Qe}function Ye(rt,xt){if(0)var Qe}function Pe(){ce={}}function Ue(rt,xt,Qe){!xt&&!ce[Qe]&&(rt(!1,Qe),ce[Qe]=!0)}function tt(rt,xt){Ue(ke,rt,xt)}function Ze(rt,xt){Ue(Ye,rt,xt)}tt.preMessage=Fe,tt.resetWarned=Pe,tt.noteOnce=Ze,xe.ZP=tt},46762:function(Re,xe){"use strict";var ue;var ce=Symbol.for("react.element"),Ae=Symbol.for("react.portal"),Fe=Symbol.for("react.fragment"),ke=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Pe=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),tt=Symbol.for("react.server_context"),Ze=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Qe=Symbol.for("react.memo"),Mt=Symbol.for("react.lazy"),De=Symbol.for("react.offscreen"),te;te=Symbol.for("react.module.reference");function ee(de){if(typeof de=="object"&&de!==null){var se=de.$$typeof;switch(se){case ce:switch(de=de.type,de){case Fe:case Ye:case ke:case rt:case xt:return de;default:switch(de=de&&de.$$typeof,de){case tt:case Ue:case Ze:case Mt:case Qe:case Pe:return de;default:return se}}case Ae:return se}}}ue=Ue,ue=Pe,ue=ce,ue=Ze,ue=Fe,ue=Mt,ue=Qe,ue=Ae,ue=Ye,ue=ke,ue=rt,ue=xt,ue=function(){return!1},ue=function(){return!1},ue=function(de){return ee(de)===Ue},ue=function(de){return ee(de)===Pe},ue=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===ce},ue=function(de){return ee(de)===Ze},ue=function(de){return ee(de)===Fe},ue=function(de){return ee(de)===Mt},ue=function(de){return ee(de)===Qe},ue=function(de){return ee(de)===Ae},ue=function(de){return ee(de)===Ye},ue=function(de){return ee(de)===ke},ue=function(de){return ee(de)===rt},ue=function(de){return ee(de)===xt},ue=function(de){return typeof de=="string"||typeof de=="function"||de===Fe||de===Ye||de===ke||de===rt||de===xt||de===De||typeof de=="object"&&de!==null&&(de.$$typeof===Mt||de.$$typeof===Qe||de.$$typeof===Pe||de.$$typeof===Ue||de.$$typeof===Ze||de.$$typeof===te||de.getModuleId!==void 0)},ue=ee},35110:function(Re,xe,ue){"use strict";ue(46762)},86128:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return ve}});var ce=ue(87462),Ae=ue(4942),Fe=ue(1413),ke=ue(97685),Ye=ue(45987),Pe=ue(67294),Ue=ue(94184),tt=ue.n(Ue),Ze=ue(64217),rt=ue(27822),xt=function(we){for(var Oe=we.prefixCls,Ke=we.level,qe=we.isStart,lt=we.isEnd,at="".concat(Oe,"-indent-unit"),ft=[],pt=0;pt<Ke;pt+=1)ft.push(Pe.createElement("span",{key:pt,className:tt()(at,(0,Ae.Z)((0,Ae.Z)({},"".concat(at,"-start"),qe[pt]),"".concat(at,"-end"),lt[pt]))}));return Pe.createElement("span",{"aria-hidden":"true",className:"".concat(Oe,"-indent")},ft)},Qe=Pe.memo(xt),Mt=ue(35381),De=ue(1089),te=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",de="close",se="---",ge=function(we){var Oe,Ke,qe,lt=we.eventKey,at=we.className,ft=we.style,pt=we.dragOver,Nt=we.dragOverGapTop,Xt=we.dragOverGapBottom,Zt=we.isLeaf,yn=we.isStart,Ln=we.isEnd,on=we.expanded,Bn=we.selected,Et=we.checked,nt=we.halfChecked,ot=we.loading,Jt=we.domRef,In=we.active,Gt=we.data,An=we.onMouseMove,Nn=we.selectable,di=(0,Ye.Z)(we,te),At=Pe.useContext(rt.k),Ot=Pe.useContext(rt.y),$e=Pe.useRef(null),Wt=Pe.useState(!1),jt=(0,ke.Z)(Wt,2),Je=jt[0],Me=jt[1],Le=!!(At.disabled||we.disabled||(Oe=Ot.nodeDisabled)!==null&&Oe!==void 0&&Oe.call(Ot,Gt)),Xe=Pe.useMemo(function(){return!At.checkable||we.checkable===!1?!1:At.checkable},[At.checkable,we.checkable]),dt=function(Kn){Le||At.onNodeSelect(Kn,(0,De.F)(we))},je=function(Kn){Le||!Xe||we.disableCheckbox||At.onNodeCheck(Kn,(0,De.F)(we),!Et)},bt=Pe.useMemo(function(){return typeof Nn=="boolean"?Nn:At.selectable},[Nn,At.selectable]),Sn=function(Kn){At.onNodeClick(Kn,(0,De.F)(we)),bt?dt(Kn):je(Kn)},ni=function(Kn){At.onNodeDoubleClick(Kn,(0,De.F)(we))},ui=function(Kn){At.onNodeMouseEnter(Kn,(0,De.F)(we))},vn=function(Kn){At.onNodeMouseLeave(Kn,(0,De.F)(we))},_n=function(Kn){At.onNodeContextMenu(Kn,(0,De.F)(we))},rn=Pe.useMemo(function(){return!!(At.draggable&&(!At.draggable.nodeDraggable||At.draggable.nodeDraggable(Gt)))},[At.draggable,Gt]),oi=function(Kn){Kn.stopPropagation(),Me(!0),At.onNodeDragStart(Kn,we);try{Kn.dataTransfer.setData("text/plain","")}catch(ri){}},ei=function(Kn){Kn.preventDefault(),Kn.stopPropagation(),At.onNodeDragEnter(Kn,we)},Ri=function(Kn){Kn.preventDefault(),Kn.stopPropagation(),At.onNodeDragOver(Kn,we)},cn=function(Kn){Kn.stopPropagation(),At.onNodeDragLeave(Kn,we)},tr=function(Kn){Kn.stopPropagation(),Me(!1),At.onNodeDragEnd(Kn,we)},Xi=function(Kn){Kn.preventDefault(),Kn.stopPropagation(),Me(!1),At.onNodeDrop(Kn,we)},$t=function(Kn){ot||At.onNodeExpand(Kn,(0,De.F)(we))},_e=Pe.useMemo(function(){var Mn=(0,Mt.Z)(At.keyEntities,lt)||{},Kn=Mn.children;return!!(Kn||[]).length},[At.keyEntities,lt]),xr=Pe.useMemo(function(){return Zt===!1?!1:Zt||!At.loadData&&!_e||At.loadData&&we.loaded&&!_e},[Zt,At.loadData,_e,we.loaded]);Pe.useEffect(function(){ot||typeof At.loadData=="function"&&on&&!xr&&!we.loaded&&At.onNodeLoad((0,De.F)(we))},[ot,At.loadData,At.onNodeLoad,on,xr,we]);var er=Pe.useMemo(function(){var Mn;return(Mn=At.draggable)!==null&&Mn!==void 0&&Mn.icon?Pe.createElement("span",{className:"".concat(At.prefixCls,"-draggable-icon")},At.draggable.icon):null},[At.draggable]),ai=function(Kn){var ri=we.switcherIcon||At.switcherIcon;return typeof ri=="function"?ri((0,Fe.Z)((0,Fe.Z)({},we),{},{isLeaf:Kn})):ri},Rr=function(){if(xr){var Kn=ai(!0);return Kn!==!1?Pe.createElement("span",{className:tt()("".concat(At.prefixCls,"-switcher"),"".concat(At.prefixCls,"-switcher-noop"))},Kn):null}var ri=ai(!1);return ri!==!1?Pe.createElement("span",{onClick:$t,className:tt()("".concat(At.prefixCls,"-switcher"),"".concat(At.prefixCls,"-switcher_").concat(on?ee:de))},ri):null},Lr=Pe.useMemo(function(){if(!Xe)return null;var Mn=typeof Xe!="boolean"?Xe:null;return Pe.createElement("span",{className:tt()("".concat(At.prefixCls,"-checkbox"),(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)({},"".concat(At.prefixCls,"-checkbox-checked"),Et),"".concat(At.prefixCls,"-checkbox-indeterminate"),!Et&&nt),"".concat(At.prefixCls,"-checkbox-disabled"),Le||we.disableCheckbox)),onClick:je,role:"checkbox","aria-checked":nt?"mixed":Et,"aria-disabled":Le||we.disableCheckbox,"aria-label":"Select ".concat(typeof we.title=="string"?we.title:"tree node")},Mn)},[Xe,Et,nt,Le,we.disableCheckbox,we.title]),Ii=Pe.useMemo(function(){return xr?null:on?ee:de},[xr,on]),ar=Pe.useMemo(function(){return Pe.createElement("span",{className:tt()("".concat(At.prefixCls,"-iconEle"),"".concat(At.prefixCls,"-icon__").concat(Ii||"docu"),(0,Ae.Z)({},"".concat(At.prefixCls,"-icon_loading"),ot))})},[At.prefixCls,Ii,ot]),hi=Pe.useMemo(function(){var Mn=!!At.draggable,Kn=!we.disabled&&Mn&&At.dragOverNodeKey===lt;return Kn?At.dropIndicatorRender({dropPosition:At.dropPosition,dropLevelOffset:At.dropLevelOffset,indent:At.indent,prefixCls:At.prefixCls,direction:At.direction}):null},[At.dropPosition,At.dropLevelOffset,At.indent,At.prefixCls,At.direction,At.draggable,At.dragOverNodeKey,At.dropIndicatorRender]),Qt=Pe.useMemo(function(){var Mn=we.title,Kn=Mn===void 0?se:Mn,ri="".concat(At.prefixCls,"-node-content-wrapper"),fi;if(At.showIcon){var vi=we.icon||At.icon;fi=vi?Pe.createElement("span",{className:tt()("".concat(At.prefixCls,"-iconEle"),"".concat(At.prefixCls,"-icon__customize"))},typeof vi=="function"?vi(we):vi):ar}else At.loadData&&ot&&(fi=ar);var Ni;return typeof Kn=="function"?Ni=Kn(Gt):At.titleRender?Ni=At.titleRender(Gt):Ni=Kn,Pe.createElement("span",{ref:$e,title:typeof Kn=="string"?Kn:"",className:tt()(ri,"".concat(ri,"-").concat(Ii||"normal"),(0,Ae.Z)({},"".concat(At.prefixCls,"-node-selected"),!Le&&(Bn||Je))),onMouseEnter:ui,onMouseLeave:vn,onContextMenu:_n,onClick:Sn,onDoubleClick:ni},fi,Pe.createElement("span",{className:"".concat(At.prefixCls,"-title")},Ni),hi)},[At.prefixCls,At.showIcon,we,At.icon,ar,At.titleRender,Gt,Ii,ui,vn,_n,Sn,ni]),Wr=(0,Ze.Z)(di,{aria:!0,data:!0}),oo=(0,Mt.Z)(At.keyEntities,lt)||{},dr=oo.level,xo=Ln[Ln.length-1],yr=!Le&&rn,On=At.draggingNodeKey===lt,Ie=Nn!==void 0?{"aria-selected":!!Nn}:void 0;return Pe.createElement("div",(0,ce.Z)({ref:Jt,role:"treeitem","aria-expanded":Zt?void 0:on,className:tt()(at,"".concat(At.prefixCls,"-treenode"),(qe={},(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)(qe,"".concat(At.prefixCls,"-treenode-disabled"),Le),"".concat(At.prefixCls,"-treenode-switcher-").concat(on?"open":"close"),!Zt),"".concat(At.prefixCls,"-treenode-checkbox-checked"),Et),"".concat(At.prefixCls,"-treenode-checkbox-indeterminate"),nt),"".concat(At.prefixCls,"-treenode-selected"),Bn),"".concat(At.prefixCls,"-treenode-loading"),ot),"".concat(At.prefixCls,"-treenode-active"),In),"".concat(At.prefixCls,"-treenode-leaf-last"),xo),"".concat(At.prefixCls,"-treenode-draggable"),rn),"dragging",On),(0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)((0,Ae.Z)(qe,"drop-target",At.dropTargetKey===lt),"drop-container",At.dropContainerKey===lt),"drag-over",!Le&&pt),"drag-over-gap-top",!Le&&Nt),"drag-over-gap-bottom",!Le&&Xt),"filter-node",(Ke=At.filterTreeNode)===null||Ke===void 0?void 0:Ke.call(At,(0,De.F)(we))),"".concat(At.prefixCls,"-treenode-leaf"),xr))),style:ft,draggable:yr,onDragStart:yr?oi:void 0,onDragEnter:rn?ei:void 0,onDragOver:rn?Ri:void 0,onDragLeave:rn?cn:void 0,onDrop:rn?Xi:void 0,onDragEnd:rn?tr:void 0,onMouseMove:An},Ie,Wr),Pe.createElement(Qe,{prefixCls:At.prefixCls,level:dr,isStart:yn,isEnd:Ln}),er,Rr(),Lr,Qt)};ge.isTreeNode=1;var ve=ge},27822:function(Re,xe,ue){"use strict";ue.d(xe,{k:function(){return Ae},y:function(){return Fe}});var ce=ue(67294),Ae=ce.createContext(null),Fe=ce.createContext({})},70593:function(Re,xe,ue){"use strict";ue.d(xe,{OF:function(){return lt.Z},y6:function(){return de.y},ZP:function(){return Le}});var ce=ue(87462),Ae=ue(71002),Fe=ue(1413),ke=ue(74902),Ye=ue(15671),Pe=ue(43144),Ue=ue(97326),tt=ue(60136),Ze=ue(29388),rt=ue(4942),xt=ue(94184),Qe=ue.n(xt),Mt=ue(15105),De=ue(64217),te=ue(80334),ee=ue(67294),de=ue(27822),se=function(dt){var je=dt.dropPosition,bt=dt.dropLevelOffset,Sn=dt.indent,ni={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(je){case-1:ni.top=0,ni.left=-bt*Sn;break;case 1:ni.bottom=0,ni.left=-bt*Sn;break;case 0:ni.bottom=0,ni.left=Sn;break}return ee.createElement("div",{style:ni})},ge=se;function ve(Xe){if(Xe==null)throw new TypeError("Cannot destructure "+Xe)}var be=ue(97685),we=ue(45987),Oe=ue(8410),Ke=ue(73299),qe=ue(62874),lt=ue(86128);function at(Xe,dt){var je=ee.useState(!1),bt=(0,be.Z)(je,2),Sn=bt[0],ni=bt[1];(0,Oe.Z)(function(){if(Sn)return Xe(),function(){dt()}},[Sn]),(0,Oe.Z)(function(){return ni(!0),function(){ni(!1)}},[])}var ft=at,pt=ue(1089),Nt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Xt=ee.forwardRef(function(Xe,dt){var je=Xe.className,bt=Xe.style,Sn=Xe.motion,ni=Xe.motionNodes,ui=Xe.motionType,vn=Xe.onMotionStart,_n=Xe.onMotionEnd,rn=Xe.active,oi=Xe.treeNodeRequiredProps,ei=(0,we.Z)(Xe,Nt),Ri=ee.useState(!0),cn=(0,be.Z)(Ri,2),tr=cn[0],Xi=cn[1],$t=ee.useContext(de.k),_e=$t.prefixCls,xr=ni&&ui!=="hide";(0,Oe.Z)(function(){ni&&xr!==tr&&Xi(xr)},[ni]);var er=function(){ni&&vn()},ai=ee.useRef(!1),Rr=function(){ni&&!ai.current&&(ai.current=!0,_n())};ft(er,Rr);var Lr=function(ar){xr===ar&&Rr()};return ni?ee.createElement(qe.Z,(0,ce.Z)({ref:dt,visible:tr},Sn,{motionAppear:ui==="show",onVisibleChanged:Lr}),function(Ii,ar){var hi=Ii.className,Qt=Ii.style;return ee.createElement("div",{ref:ar,className:Qe()("".concat(_e,"-treenode-motion"),hi),style:Qt},ni.map(function(Wr){var oo=Object.assign({},(ve(Wr.data),Wr.data)),dr=Wr.title,xo=Wr.key,yr=Wr.isStart,On=Wr.isEnd;delete oo.children;var Ie=(0,pt.H8)(xo,oi);return ee.createElement(lt.Z,(0,ce.Z)({},oo,Ie,{title:dr,active:rn,data:Wr.data,key:xo,isStart:yr,isEnd:On}))}))}):ee.createElement(lt.Z,(0,ce.Z)({domRef:dt,className:je,style:bt},ei,{active:rn}))}),Zt=Xt;function yn(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],je=Xe.length,bt=dt.length;if(Math.abs(je-bt)!==1)return{add:!1,key:null};function Sn(ni,ui){var vn=new Map;ni.forEach(function(rn){vn.set(rn,!0)});var _n=ui.filter(function(rn){return!vn.has(rn)});return _n.length===1?_n[0]:null}return je<bt?{add:!0,key:Sn(Xe,dt)}:{add:!1,key:Sn(dt,Xe)}}function Ln(Xe,dt,je){var bt=Xe.findIndex(function(vn){return vn.key===je}),Sn=Xe[bt+1],ni=dt.findIndex(function(vn){return vn.key===je});if(Sn){var ui=dt.findIndex(function(vn){return vn.key===Sn.key});return dt.slice(ni+1,ui)}return dt.slice(ni+1)}var on=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Bn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Et=function(){},nt="RC_TREE_MOTION_".concat(Math.random()),ot={key:nt},Jt={key:nt,level:0,index:0,pos:"0",node:ot,nodes:[ot]},In={parent:null,children:[],pos:Jt.pos,data:ot,title:null,key:nt,isStart:[],isEnd:[]};function Gt(Xe,dt,je,bt){return dt===!1||!je?Xe:Xe.slice(0,Math.ceil(je/bt)+1)}function An(Xe){var dt=Xe.key,je=Xe.pos;return(0,pt.km)(dt,je)}function Nn(Xe){for(var dt=String(Xe.data.key),je=Xe;je.parent;)je=je.parent,dt="".concat(je.data.key," > ").concat(dt);return dt}var di=ee.forwardRef(function(Xe,dt){var je=Xe.prefixCls,bt=Xe.data,Sn=Xe.selectable,ni=Xe.checkable,ui=Xe.expandedKeys,vn=Xe.selectedKeys,_n=Xe.checkedKeys,rn=Xe.loadedKeys,oi=Xe.loadingKeys,ei=Xe.halfCheckedKeys,Ri=Xe.keyEntities,cn=Xe.disabled,tr=Xe.dragging,Xi=Xe.dragOverNodeKey,$t=Xe.dropPosition,_e=Xe.motion,xr=Xe.height,er=Xe.itemHeight,ai=Xe.virtual,Rr=Xe.scrollWidth,Lr=Xe.focusable,Ii=Xe.activeItem,ar=Xe.focused,hi=Xe.tabIndex,Qt=Xe.onKeyDown,Wr=Xe.onFocus,oo=Xe.onBlur,dr=Xe.onActiveChange,xo=Xe.onListChangeStart,yr=Xe.onListChangeEnd,On=(0,we.Z)(Xe,on),Ie=ee.useRef(null),Mn=ee.useRef(null);ee.useImperativeHandle(dt,function(){return{scrollTo:function(jo){Ie.current.scrollTo(jo)},getIndentWidth:function(){return Mn.current.offsetWidth}}});var Kn=ee.useState(ui),ri=(0,be.Z)(Kn,2),fi=ri[0],vi=ri[1],Ni=ee.useState(bt),hr=(0,be.Z)(Ni,2),un=hr[0],hn=hr[1],Kt=ee.useState(bt),bn=(0,be.Z)(Kt,2),Mi=bn[0],Oi=bn[1],bi=ee.useState([]),sn=(0,be.Z)(bi,2),Un=sn[0],Wi=sn[1],ir=ee.useState(null),si=(0,be.Z)(ir,2),tn=si[0],Hi=si[1],lr=ee.useRef(bt);lr.current=bt;function Hr(){var ao=lr.current;hn(ao),Oi(ao),Wi([]),Hi(null),yr()}(0,Oe.Z)(function(){vi(ui);var ao=yn(fi,ui);if(ao.key!==null)if(ao.add){var jo=un.findIndex(function(Io){var Si=Io.key;return Si===ao.key}),ko=Gt(Ln(un,bt,ao.key),ai,xr,er),Vi=un.slice();Vi.splice(jo+1,0,In),Oi(Vi),Wi(ko),Hi("show")}else{var Qi=bt.findIndex(function(Io){var Si=Io.key;return Si===ao.key}),sr=Gt(Ln(bt,un,ao.key),ai,xr,er),Zr=bt.slice();Zr.splice(Qi+1,0,In),Oi(Zr),Wi(sr),Hi("hide")}else un!==bt&&(hn(bt),Oi(bt))},[ui,bt]),ee.useEffect(function(){tr||Hr()},[tr]);var jn=_e?Mi:bt,qi={expandedKeys:ui,selectedKeys:vn,loadedKeys:rn,loadingKeys:oi,checkedKeys:_n,halfCheckedKeys:ei,dragOverNodeKey:Xi,dropPosition:$t,keyEntities:Ri};return ee.createElement(ee.Fragment,null,ar&&Ii&&ee.createElement("span",{style:Bn,"aria-live":"assertive"},Nn(Ii)),ee.createElement("div",null,ee.createElement("input",{style:Bn,disabled:Lr===!1||cn,tabIndex:Lr!==!1?hi:null,onKeyDown:Qt,onFocus:Wr,onBlur:oo,value:"",onChange:Et,"aria-label":"for screen reader"})),ee.createElement("div",{className:"".concat(je,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ee.createElement("div",{className:"".concat(je,"-indent")},ee.createElement("div",{ref:Mn,className:"".concat(je,"-indent-unit")}))),ee.createElement(Ke.Z,(0,ce.Z)({},On,{data:jn,itemKey:An,height:xr,fullHeight:!1,virtual:ai,itemHeight:er,scrollWidth:Rr,prefixCls:"".concat(je,"-list"),ref:Ie,role:"tree",onVisibleChange:function(jo){jo.every(function(ko){return An(ko)!==nt})&&Hr()}}),function(ao){var jo=ao.pos,ko=Object.assign({},(ve(ao.data),ao.data)),Vi=ao.title,Qi=ao.key,sr=ao.isStart,Zr=ao.isEnd,Io=(0,pt.km)(Qi,jo);delete ko.key,delete ko.children;var Si=(0,pt.H8)(Io,qi);return ee.createElement(Zt,(0,ce.Z)({},ko,Si,{title:Vi,active:!!Ii&&Qi===Ii.key,pos:jo,data:ao.data,isStart:sr,isEnd:Zr,motion:_e,motionNodes:Qi===nt?Un:null,motionType:tn,onMotionStart:xo,onMotionEnd:Hr,treeNodeRequiredProps:qi,onMouseMove:function(){dr(null)}}))}))}),At=di,Ot=ue(10225),$e=ue(17341),Wt=ue(35381),jt=10,Je=function(Xe){(0,tt.Z)(je,Xe);var dt=(0,Ze.Z)(je);function je(){var bt;(0,Ye.Z)(this,je);for(var Sn=arguments.length,ni=new Array(Sn),ui=0;ui<Sn;ui++)ni[ui]=arguments[ui];return bt=dt.call.apply(dt,[this].concat(ni)),(0,rt.Z)((0,Ue.Z)(bt),"destroyed",!1),(0,rt.Z)((0,Ue.Z)(bt),"delayedDragEnterLogic",void 0),(0,rt.Z)((0,Ue.Z)(bt),"loadingRetryTimes",{}),(0,rt.Z)((0,Ue.Z)(bt),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,pt.w$)()}),(0,rt.Z)((0,Ue.Z)(bt),"dragStartMousePosition",null),(0,rt.Z)((0,Ue.Z)(bt),"dragNodeProps",null),(0,rt.Z)((0,Ue.Z)(bt),"currentMouseOverDroppableNodeKey",null),(0,rt.Z)((0,Ue.Z)(bt),"listRef",ee.createRef()),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDragStart",function(vn,_n){var rn=bt.state,oi=rn.expandedKeys,ei=rn.keyEntities,Ri=bt.props.onDragStart,cn=_n.eventKey;bt.dragNodeProps=_n,bt.dragStartMousePosition={x:vn.clientX,y:vn.clientY};var tr=(0,Ot._5)(oi,cn);bt.setState({draggingNodeKey:cn,dragChildrenKeys:(0,Ot.wA)(cn,ei),indent:bt.listRef.current.getIndentWidth()}),bt.setExpandedKeys(tr),window.addEventListener("dragend",bt.onWindowDragEnd),Ri==null||Ri({event:vn,node:(0,pt.F)(_n)})}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDragEnter",function(vn,_n){var rn=bt.state,oi=rn.expandedKeys,ei=rn.keyEntities,Ri=rn.dragChildrenKeys,cn=rn.flattenNodes,tr=rn.indent,Xi=bt.props,$t=Xi.onDragEnter,_e=Xi.onExpand,xr=Xi.allowDrop,er=Xi.direction,ai=_n.pos,Rr=_n.eventKey;if(bt.currentMouseOverDroppableNodeKey!==Rr&&(bt.currentMouseOverDroppableNodeKey=Rr),!bt.dragNodeProps){bt.resetDragState();return}var Lr=(0,Ot.OM)(vn,bt.dragNodeProps,_n,tr,bt.dragStartMousePosition,xr,cn,ei,oi,er),Ii=Lr.dropPosition,ar=Lr.dropLevelOffset,hi=Lr.dropTargetKey,Qt=Lr.dropContainerKey,Wr=Lr.dropTargetPos,oo=Lr.dropAllowed,dr=Lr.dragOverNodeKey;if(Ri.includes(hi)||!oo){bt.resetDragState();return}if(bt.delayedDragEnterLogic||(bt.delayedDragEnterLogic={}),Object.keys(bt.delayedDragEnterLogic).forEach(function(xo){clearTimeout(bt.delayedDragEnterLogic[xo])}),bt.dragNodeProps.eventKey!==_n.eventKey&&(vn.persist(),bt.delayedDragEnterLogic[ai]=window.setTimeout(function(){if(bt.state.draggingNodeKey!==null){var xo=(0,ke.Z)(oi),yr=(0,Wt.Z)(ei,_n.eventKey);yr&&(yr.children||[]).length&&(xo=(0,Ot.L0)(oi,_n.eventKey)),bt.props.hasOwnProperty("expandedKeys")||bt.setExpandedKeys(xo),_e==null||_e(xo,{node:(0,pt.F)(_n),expanded:!0,nativeEvent:vn.nativeEvent})}},800)),bt.dragNodeProps.eventKey===hi&&ar===0){bt.resetDragState();return}bt.setState({dragOverNodeKey:dr,dropPosition:Ii,dropLevelOffset:ar,dropTargetKey:hi,dropContainerKey:Qt,dropTargetPos:Wr,dropAllowed:oo}),$t==null||$t({event:vn,node:(0,pt.F)(_n),expandedKeys:oi})}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDragOver",function(vn,_n){var rn=bt.state,oi=rn.dragChildrenKeys,ei=rn.flattenNodes,Ri=rn.keyEntities,cn=rn.expandedKeys,tr=rn.indent,Xi=bt.props,$t=Xi.onDragOver,_e=Xi.allowDrop,xr=Xi.direction;if(bt.dragNodeProps){var er=(0,Ot.OM)(vn,bt.dragNodeProps,_n,tr,bt.dragStartMousePosition,_e,ei,Ri,cn,xr),ai=er.dropPosition,Rr=er.dropLevelOffset,Lr=er.dropTargetKey,Ii=er.dropContainerKey,ar=er.dropTargetPos,hi=er.dropAllowed,Qt=er.dragOverNodeKey;oi.includes(Lr)||!hi||(bt.dragNodeProps.eventKey===Lr&&Rr===0?bt.state.dropPosition===null&&bt.state.dropLevelOffset===null&&bt.state.dropTargetKey===null&&bt.state.dropContainerKey===null&&bt.state.dropTargetPos===null&&bt.state.dropAllowed===!1&&bt.state.dragOverNodeKey===null||bt.resetDragState():ai===bt.state.dropPosition&&Rr===bt.state.dropLevelOffset&&Lr===bt.state.dropTargetKey&&Ii===bt.state.dropContainerKey&&ar===bt.state.dropTargetPos&&hi===bt.state.dropAllowed&&Qt===bt.state.dragOverNodeKey||bt.setState({dropPosition:ai,dropLevelOffset:Rr,dropTargetKey:Lr,dropContainerKey:Ii,dropTargetPos:ar,dropAllowed:hi,dragOverNodeKey:Qt}),$t==null||$t({event:vn,node:(0,pt.F)(_n)}))}}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDragLeave",function(vn,_n){bt.currentMouseOverDroppableNodeKey===_n.eventKey&&!vn.currentTarget.contains(vn.relatedTarget)&&(bt.resetDragState(),bt.currentMouseOverDroppableNodeKey=null);var rn=bt.props.onDragLeave;rn==null||rn({event:vn,node:(0,pt.F)(_n)})}),(0,rt.Z)((0,Ue.Z)(bt),"onWindowDragEnd",function(vn){bt.onNodeDragEnd(vn,null,!0),window.removeEventListener("dragend",bt.onWindowDragEnd)}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDragEnd",function(vn,_n){var rn=bt.props.onDragEnd;bt.setState({dragOverNodeKey:null}),bt.cleanDragState(),rn==null||rn({event:vn,node:(0,pt.F)(_n)}),bt.dragNodeProps=null,window.removeEventListener("dragend",bt.onWindowDragEnd)}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDrop",function(vn,_n){var rn,oi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ei=bt.state,Ri=ei.dragChildrenKeys,cn=ei.dropPosition,tr=ei.dropTargetKey,Xi=ei.dropTargetPos,$t=ei.dropAllowed;if($t){var _e=bt.props.onDrop;if(bt.setState({dragOverNodeKey:null}),bt.cleanDragState(),tr!==null){var xr=(0,Fe.Z)((0,Fe.Z)({},(0,pt.H8)(tr,bt.getTreeNodeRequiredProps())),{},{active:((rn=bt.getActiveItem())===null||rn===void 0?void 0:rn.key)===tr,data:(0,Wt.Z)(bt.state.keyEntities,tr).node}),er=Ri.includes(tr);(0,te.ZP)(!er,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ai=(0,Ot.yx)(Xi),Rr={event:vn,node:(0,pt.F)(xr),dragNode:bt.dragNodeProps?(0,pt.F)(bt.dragNodeProps):null,dragNodesKeys:[bt.dragNodeProps.eventKey].concat(Ri),dropToGap:cn!==0,dropPosition:cn+Number(ai[ai.length-1])};oi||_e==null||_e(Rr),bt.dragNodeProps=null}}}),(0,rt.Z)((0,Ue.Z)(bt),"cleanDragState",function(){var vn=bt.state.draggingNodeKey;vn!==null&&bt.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),bt.dragStartMousePosition=null,bt.currentMouseOverDroppableNodeKey=null}),(0,rt.Z)((0,Ue.Z)(bt),"triggerExpandActionExpand",function(vn,_n){var rn=bt.state,oi=rn.expandedKeys,ei=rn.flattenNodes,Ri=_n.expanded,cn=_n.key,tr=_n.isLeaf;if(!(tr||vn.shiftKey||vn.metaKey||vn.ctrlKey)){var Xi=ei.filter(function(_e){return _e.key===cn})[0],$t=(0,pt.F)((0,Fe.Z)((0,Fe.Z)({},(0,pt.H8)(cn,bt.getTreeNodeRequiredProps())),{},{data:Xi.data}));bt.setExpandedKeys(Ri?(0,Ot._5)(oi,cn):(0,Ot.L0)(oi,cn)),bt.onNodeExpand(vn,$t)}}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeClick",function(vn,_n){var rn=bt.props,oi=rn.onClick,ei=rn.expandAction;ei==="click"&&bt.triggerExpandActionExpand(vn,_n),oi==null||oi(vn,_n)}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeDoubleClick",function(vn,_n){var rn=bt.props,oi=rn.onDoubleClick,ei=rn.expandAction;ei==="doubleClick"&&bt.triggerExpandActionExpand(vn,_n),oi==null||oi(vn,_n)}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeSelect",function(vn,_n){var rn=bt.state.selectedKeys,oi=bt.state,ei=oi.keyEntities,Ri=oi.fieldNames,cn=bt.props,tr=cn.onSelect,Xi=cn.multiple,$t=_n.selected,_e=_n[Ri.key],xr=!$t;xr?Xi?rn=(0,Ot.L0)(rn,_e):rn=[_e]:rn=(0,Ot._5)(rn,_e);var er=rn.map(function(ai){var Rr=(0,Wt.Z)(ei,ai);return Rr?Rr.node:null}).filter(Boolean);bt.setUncontrolledState({selectedKeys:rn}),tr==null||tr(rn,{event:"select",selected:xr,node:_n,selectedNodes:er,nativeEvent:vn.nativeEvent})}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeCheck",function(vn,_n,rn){var oi=bt.state,ei=oi.keyEntities,Ri=oi.checkedKeys,cn=oi.halfCheckedKeys,tr=bt.props,Xi=tr.checkStrictly,$t=tr.onCheck,_e=_n.key,xr,er={event:"check",node:_n,checked:rn,nativeEvent:vn.nativeEvent};if(Xi){var ai=rn?(0,Ot.L0)(Ri,_e):(0,Ot._5)(Ri,_e),Rr=(0,Ot._5)(cn,_e);xr={checked:ai,halfChecked:Rr},er.checkedNodes=ai.map(function(Wr){return(0,Wt.Z)(ei,Wr)}).filter(Boolean).map(function(Wr){return Wr.node}),bt.setUncontrolledState({checkedKeys:ai})}else{var Lr=(0,$e.S)([].concat((0,ke.Z)(Ri),[_e]),!0,ei),Ii=Lr.checkedKeys,ar=Lr.halfCheckedKeys;if(!rn){var hi=new Set(Ii);hi.delete(_e);var Qt=(0,$e.S)(Array.from(hi),{checked:!1,halfCheckedKeys:ar},ei);Ii=Qt.checkedKeys,ar=Qt.halfCheckedKeys}xr=Ii,er.checkedNodes=[],er.checkedNodesPositions=[],er.halfCheckedKeys=ar,Ii.forEach(function(Wr){var oo=(0,Wt.Z)(ei,Wr);if(oo){var dr=oo.node,xo=oo.pos;er.checkedNodes.push(dr),er.checkedNodesPositions.push({node:dr,pos:xo})}}),bt.setUncontrolledState({checkedKeys:Ii},!1,{halfCheckedKeys:ar})}$t==null||$t(xr,er)}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeLoad",function(vn){var _n,rn=vn.key,oi=bt.state.keyEntities,ei=(0,Wt.Z)(oi,rn);if(!(ei!=null&&(_n=ei.children)!==null&&_n!==void 0&&_n.length)){var Ri=new Promise(function(cn,tr){bt.setState(function(Xi){var $t=Xi.loadedKeys,_e=$t===void 0?[]:$t,xr=Xi.loadingKeys,er=xr===void 0?[]:xr,ai=bt.props,Rr=ai.loadData,Lr=ai.onLoad;if(!Rr||_e.includes(rn)||er.includes(rn))return null;var Ii=Rr(vn);return Ii.then(function(){var ar=bt.state.loadedKeys,hi=(0,Ot.L0)(ar,rn);Lr==null||Lr(hi,{event:"load",node:vn}),bt.setUncontrolledState({loadedKeys:hi}),bt.setState(function(Qt){return{loadingKeys:(0,Ot._5)(Qt.loadingKeys,rn)}}),cn()}).catch(function(ar){if(bt.setState(function(Qt){return{loadingKeys:(0,Ot._5)(Qt.loadingKeys,rn)}}),bt.loadingRetryTimes[rn]=(bt.loadingRetryTimes[rn]||0)+1,bt.loadingRetryTimes[rn]>=jt){var hi=bt.state.loadedKeys;(0,te.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),bt.setUncontrolledState({loadedKeys:(0,Ot.L0)(hi,rn)}),cn()}tr(ar)}),{loadingKeys:(0,Ot.L0)(er,rn)}})});return Ri.catch(function(){}),Ri}}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeMouseEnter",function(vn,_n){var rn=bt.props.onMouseEnter;rn==null||rn({event:vn,node:_n})}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeMouseLeave",function(vn,_n){var rn=bt.props.onMouseLeave;rn==null||rn({event:vn,node:_n})}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeContextMenu",function(vn,_n){var rn=bt.props.onRightClick;rn&&(vn.preventDefault(),rn({event:vn,node:_n}))}),(0,rt.Z)((0,Ue.Z)(bt),"onFocus",function(){var vn=bt.props.onFocus;bt.setState({focused:!0});for(var _n=arguments.length,rn=new Array(_n),oi=0;oi<_n;oi++)rn[oi]=arguments[oi];vn==null||vn.apply(void 0,rn)}),(0,rt.Z)((0,Ue.Z)(bt),"onBlur",function(){var vn=bt.props.onBlur;bt.setState({focused:!1}),bt.onActiveChange(null);for(var _n=arguments.length,rn=new Array(_n),oi=0;oi<_n;oi++)rn[oi]=arguments[oi];vn==null||vn.apply(void 0,rn)}),(0,rt.Z)((0,Ue.Z)(bt),"getTreeNodeRequiredProps",function(){var vn=bt.state,_n=vn.expandedKeys,rn=vn.selectedKeys,oi=vn.loadedKeys,ei=vn.loadingKeys,Ri=vn.checkedKeys,cn=vn.halfCheckedKeys,tr=vn.dragOverNodeKey,Xi=vn.dropPosition,$t=vn.keyEntities;return{expandedKeys:_n||[],selectedKeys:rn||[],loadedKeys:oi||[],loadingKeys:ei||[],checkedKeys:Ri||[],halfCheckedKeys:cn||[],dragOverNodeKey:tr,dropPosition:Xi,keyEntities:$t}}),(0,rt.Z)((0,Ue.Z)(bt),"setExpandedKeys",function(vn){var _n=bt.state,rn=_n.treeData,oi=_n.fieldNames,ei=(0,pt.oH)(rn,vn,oi);bt.setUncontrolledState({expandedKeys:vn,flattenNodes:ei},!0)}),(0,rt.Z)((0,Ue.Z)(bt),"onNodeExpand",function(vn,_n){var rn=bt.state.expandedKeys,oi=bt.state,ei=oi.listChanging,Ri=oi.fieldNames,cn=bt.props,tr=cn.onExpand,Xi=cn.loadData,$t=_n.expanded,_e=_n[Ri.key];if(!ei){var xr=rn.includes(_e),er=!$t;if((0,te.ZP)($t&&xr||!$t&&!xr,"Expand state not sync with index check"),rn=er?(0,Ot.L0)(rn,_e):(0,Ot._5)(rn,_e),bt.setExpandedKeys(rn),tr==null||tr(rn,{node:_n,expanded:er,nativeEvent:vn.nativeEvent}),er&&Xi){var ai=bt.onNodeLoad(_n);ai&&ai.then(function(){var Rr=(0,pt.oH)(bt.state.treeData,rn,Ri);bt.setUncontrolledState({flattenNodes:Rr})}).catch(function(){var Rr=bt.state.expandedKeys,Lr=(0,Ot._5)(Rr,_e);bt.setExpandedKeys(Lr)})}}}),(0,rt.Z)((0,Ue.Z)(bt),"onListChangeStart",function(){bt.setUncontrolledState({listChanging:!0})}),(0,rt.Z)((0,Ue.Z)(bt),"onListChangeEnd",function(){setTimeout(function(){bt.setUncontrolledState({listChanging:!1})})}),(0,rt.Z)((0,Ue.Z)(bt),"onActiveChange",function(vn){var _n=bt.state.activeKey,rn=bt.props,oi=rn.onActiveChange,ei=rn.itemScrollOffset,Ri=ei===void 0?0:ei;_n!==vn&&(bt.setState({activeKey:vn}),vn!==null&&bt.scrollTo({key:vn,offset:Ri}),oi==null||oi(vn))}),(0,rt.Z)((0,Ue.Z)(bt),"getActiveItem",function(){var vn=bt.state,_n=vn.activeKey,rn=vn.flattenNodes;return _n===null?null:rn.find(function(oi){var ei=oi.key;return ei===_n})||null}),(0,rt.Z)((0,Ue.Z)(bt),"offsetActiveKey",function(vn){var _n=bt.state,rn=_n.flattenNodes,oi=_n.activeKey,ei=rn.findIndex(function(tr){var Xi=tr.key;return Xi===oi});ei===-1&&vn<0&&(ei=rn.length),ei=(ei+vn+rn.length)%rn.length;var Ri=rn[ei];if(Ri){var cn=Ri.key;bt.onActiveChange(cn)}else bt.onActiveChange(null)}),(0,rt.Z)((0,Ue.Z)(bt),"onKeyDown",function(vn){var _n=bt.state,rn=_n.activeKey,oi=_n.expandedKeys,ei=_n.checkedKeys,Ri=_n.fieldNames,cn=bt.props,tr=cn.onKeyDown,Xi=cn.checkable,$t=cn.selectable;switch(vn.which){case Mt.Z.UP:{bt.offsetActiveKey(-1),vn.preventDefault();break}case Mt.Z.DOWN:{bt.offsetActiveKey(1),vn.preventDefault();break}}var _e=bt.getActiveItem();if(_e&&_e.data){var xr=bt.getTreeNodeRequiredProps(),er=_e.data.isLeaf===!1||!!(_e.data[Ri.children]||[]).length,ai=(0,pt.F)((0,Fe.Z)((0,Fe.Z)({},(0,pt.H8)(rn,xr)),{},{data:_e.data,active:!0}));switch(vn.which){case Mt.Z.LEFT:{er&&oi.includes(rn)?bt.onNodeExpand({},ai):_e.parent&&bt.onActiveChange(_e.parent.key),vn.preventDefault();break}case Mt.Z.RIGHT:{er&&!oi.includes(rn)?bt.onNodeExpand({},ai):_e.children&&_e.children.length&&bt.onActiveChange(_e.children[0].key),vn.preventDefault();break}case Mt.Z.ENTER:case Mt.Z.SPACE:{Xi&&!ai.disabled&&ai.checkable!==!1&&!ai.disableCheckbox?bt.onNodeCheck({},ai,!ei.includes(rn)):!Xi&&$t&&!ai.disabled&&ai.selectable!==!1&&bt.onNodeSelect({},ai);break}}}tr==null||tr(vn)}),(0,rt.Z)((0,Ue.Z)(bt),"setUncontrolledState",function(vn){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!bt.destroyed){var oi=!1,ei=!0,Ri={};Object.keys(vn).forEach(function(cn){if(bt.props.hasOwnProperty(cn)){ei=!1;return}oi=!0,Ri[cn]=vn[cn]}),oi&&(!_n||ei)&&bt.setState((0,Fe.Z)((0,Fe.Z)({},Ri),rn))}}),(0,rt.Z)((0,Ue.Z)(bt),"scrollTo",function(vn){bt.listRef.current.scrollTo(vn)}),bt}return(0,Pe.Z)(je,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Sn=this.props,ni=Sn.activeKey,ui=Sn.itemScrollOffset,vn=ui===void 0?0:ui;ni!==void 0&&ni!==this.state.activeKey&&(this.setState({activeKey:ni}),ni!==null&&this.scrollTo({key:ni,offset:vn}))}},{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 Sn=this.state,ni=Sn.focused,ui=Sn.flattenNodes,vn=Sn.keyEntities,_n=Sn.draggingNodeKey,rn=Sn.activeKey,oi=Sn.dropLevelOffset,ei=Sn.dropContainerKey,Ri=Sn.dropTargetKey,cn=Sn.dropPosition,tr=Sn.dragOverNodeKey,Xi=Sn.indent,$t=this.props,_e=$t.prefixCls,xr=$t.className,er=$t.style,ai=$t.showLine,Rr=$t.focusable,Lr=$t.tabIndex,Ii=Lr===void 0?0:Lr,ar=$t.selectable,hi=$t.showIcon,Qt=$t.icon,Wr=$t.switcherIcon,oo=$t.draggable,dr=$t.checkable,xo=$t.checkStrictly,yr=$t.disabled,On=$t.motion,Ie=$t.loadData,Mn=$t.filterTreeNode,Kn=$t.height,ri=$t.itemHeight,fi=$t.scrollWidth,vi=$t.virtual,Ni=$t.titleRender,hr=$t.dropIndicatorRender,un=$t.onContextMenu,hn=$t.onScroll,Kt=$t.direction,bn=$t.rootClassName,Mi=$t.rootStyle,Oi=(0,De.Z)(this.props,{aria:!0,data:!0}),bi;oo&&((0,Ae.Z)(oo)==="object"?bi=oo:typeof oo=="function"?bi={nodeDraggable:oo}:bi={});var sn={prefixCls:_e,selectable:ar,showIcon:hi,icon:Qt,switcherIcon:Wr,draggable:bi,draggingNodeKey:_n,checkable:dr,checkStrictly:xo,disabled:yr,keyEntities:vn,dropLevelOffset:oi,dropContainerKey:ei,dropTargetKey:Ri,dropPosition:cn,dragOverNodeKey:tr,indent:Xi,direction:Kt,dropIndicatorRender:hr,loadData:Ie,filterTreeNode:Mn,titleRender:Ni,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 ee.createElement(de.k.Provider,{value:sn},ee.createElement("div",{className:Qe()(_e,xr,bn,(0,rt.Z)((0,rt.Z)((0,rt.Z)({},"".concat(_e,"-show-line"),ai),"".concat(_e,"-focused"),ni),"".concat(_e,"-active-focused"),rn!==null)),style:Mi},ee.createElement(At,(0,ce.Z)({ref:this.listRef,prefixCls:_e,style:er,data:ui,disabled:yr,selectable:ar,checkable:!!dr,motion:On,dragging:_n!==null,height:Kn,itemHeight:ri,virtual:vi,focusable:Rr,focused:ni,tabIndex:Ii,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:un,onScroll:hn,scrollWidth:fi},this.getTreeNodeRequiredProps(),Oi))))}}],[{key:"getDerivedStateFromProps",value:function(Sn,ni){var ui=ni.prevProps,vn={prevProps:Sn};function _n(Ii){return!ui&&Sn.hasOwnProperty(Ii)||ui&&ui[Ii]!==Sn[Ii]}var rn,oi=ni.fieldNames;if(_n("fieldNames")&&(oi=(0,pt.w$)(Sn.fieldNames),vn.fieldNames=oi),_n("treeData")?rn=Sn.treeData:_n("children")&&((0,te.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),rn=(0,pt.zn)(Sn.children)),rn){vn.treeData=rn;var ei=(0,pt.I8)(rn,{fieldNames:oi});vn.keyEntities=(0,Fe.Z)((0,rt.Z)({},nt,Jt),ei.keyEntities)}var Ri=vn.keyEntities||ni.keyEntities;if(_n("expandedKeys")||ui&&_n("autoExpandParent"))vn.expandedKeys=Sn.autoExpandParent||!ui&&Sn.defaultExpandParent?(0,Ot.r7)(Sn.expandedKeys,Ri):Sn.expandedKeys;else if(!ui&&Sn.defaultExpandAll){var cn=(0,Fe.Z)({},Ri);delete cn[nt];var tr=[];Object.keys(cn).forEach(function(Ii){var ar=cn[Ii];ar.children&&ar.children.length&&tr.push(ar.key)}),vn.expandedKeys=tr}else!ui&&Sn.defaultExpandedKeys&&(vn.expandedKeys=Sn.autoExpandParent||Sn.defaultExpandParent?(0,Ot.r7)(Sn.defaultExpandedKeys,Ri):Sn.defaultExpandedKeys);if(vn.expandedKeys||delete vn.expandedKeys,rn||vn.expandedKeys){var Xi=(0,pt.oH)(rn||ni.treeData,vn.expandedKeys||ni.expandedKeys,oi);vn.flattenNodes=Xi}if(Sn.selectable&&(_n("selectedKeys")?vn.selectedKeys=(0,Ot.BT)(Sn.selectedKeys,Sn):!ui&&Sn.defaultSelectedKeys&&(vn.selectedKeys=(0,Ot.BT)(Sn.defaultSelectedKeys,Sn))),Sn.checkable){var $t;if(_n("checkedKeys")?$t=(0,Ot.E6)(Sn.checkedKeys)||{}:!ui&&Sn.defaultCheckedKeys?$t=(0,Ot.E6)(Sn.defaultCheckedKeys)||{}:rn&&($t=(0,Ot.E6)(Sn.checkedKeys)||{checkedKeys:ni.checkedKeys,halfCheckedKeys:ni.halfCheckedKeys}),$t){var _e=$t,xr=_e.checkedKeys,er=xr===void 0?[]:xr,ai=_e.halfCheckedKeys,Rr=ai===void 0?[]:ai;if(!Sn.checkStrictly){var Lr=(0,$e.S)(er,!0,Ri);er=Lr.checkedKeys,Rr=Lr.halfCheckedKeys}vn.checkedKeys=er,vn.halfCheckedKeys=Rr}}return _n("loadedKeys")&&(vn.loadedKeys=Sn.loadedKeys),vn}}]),je}(ee.Component);(0,rt.Z)(Je,"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:ge,allowDrop:function(){return!0},expandAction:!1}),(0,rt.Z)(Je,"TreeNode",lt.Z);var Me=Je,Le=Me},10225:function(Re,xe,ue){"use strict";ue.d(xe,{BT:function(){return ee},E6:function(){return ge},L0:function(){return rt},OM:function(){return te},_5:function(){return Ze},r7:function(){return ve},wA:function(){return Qe},yx:function(){return xt}});var ce=ue(74902),Ae=ue(71002),Fe=ue(80334),ke=ue(67294),Ye=ue(86128),Pe=ue(35381),Ue=ue(1089),tt=null;function Ze(be,we){if(!be)return[];var Oe=be.slice(),Ke=Oe.indexOf(we);return Ke>=0&&Oe.splice(Ke,1),Oe}function rt(be,we){var Oe=(be||[]).slice();return Oe.indexOf(we)===-1&&Oe.push(we),Oe}function xt(be){return be.split("-")}function Qe(be,we){var Oe=[],Ke=(0,Pe.Z)(we,be);function qe(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];lt.forEach(function(at){var ft=at.key,pt=at.children;Oe.push(ft),qe(pt)})}return qe(Ke.children),Oe}function Mt(be){if(be.parent){var we=xt(be.pos);return Number(we[we.length-1])===be.parent.children.length-1}return!1}function De(be){var we=xt(be.pos);return Number(we[we.length-1])===0}function te(be,we,Oe,Ke,qe,lt,at,ft,pt,Nt){var Xt,Zt=be.clientX,yn=be.clientY,Ln=be.target.getBoundingClientRect(),on=Ln.top,Bn=Ln.height,Et=(Nt==="rtl"?-1:1)*(((qe==null?void 0:qe.x)||0)-Zt),nt=(Et-12)/Ke,ot=pt.filter(function(Le){var Xe;return(Xe=ft[Le])===null||Xe===void 0||(Xe=Xe.children)===null||Xe===void 0?void 0:Xe.length}),Jt=(0,Pe.Z)(ft,Oe.eventKey);if(yn<on+Bn/2){var In=at.findIndex(function(Le){return Le.key===Jt.key}),Gt=In<=0?0:In-1,An=at[Gt].key;Jt=(0,Pe.Z)(ft,An)}var Nn=Jt.key,di=Jt,At=Jt.key,Ot=0,$e=0;if(!ot.includes(Nn))for(var Wt=0;Wt<nt&&Mt(Jt);Wt+=1)Jt=Jt.parent,$e+=1;var jt=we.data,Je=Jt.node,Me=!0;return De(Jt)&&Jt.level===0&&yn<on+Bn/2&<({dragNode:jt,dropNode:Je,dropPosition:-1})&&Jt.key===Oe.eventKey?Ot=-1:(di.children||[]).length&&ot.includes(At)?lt({dragNode:jt,dropNode:Je,dropPosition:0})?Ot=0:Me=!1:$e===0?nt>-1.5?lt({dragNode:jt,dropNode:Je,dropPosition:1})?Ot=1:Me=!1:lt({dragNode:jt,dropNode:Je,dropPosition:0})?Ot=0:lt({dragNode:jt,dropNode:Je,dropPosition:1})?Ot=1:Me=!1:lt({dragNode:jt,dropNode:Je,dropPosition:1})?Ot=1:Me=!1,{dropPosition:Ot,dropLevelOffset:$e,dropTargetKey:Jt.key,dropTargetPos:Jt.pos,dragOverNodeKey:At,dropContainerKey:Ot===0?null:((Xt=Jt.parent)===null||Xt===void 0?void 0:Xt.key)||null,dropAllowed:Me}}function ee(be,we){if(be){var Oe=we.multiple;return Oe?be.slice():be.length?[be[0]]:be}}var de=function(we){return we};function se(be,we){if(!be)return[];var Oe=we||{},Ke=Oe.processProps,qe=Ke===void 0?de:Ke,lt=Array.isArray(be)?be:[be];return lt.map(function(at){var ft=at.children,pt=_objectWithoutProperties(at,tt),Nt=se(ft,we);return React.createElement(TreeNode,_extends({key:pt.key},qe(pt)),Nt)})}function ge(be){if(!be)return null;var we;if(Array.isArray(be))we={checkedKeys:be,halfCheckedKeys:void 0};else if((0,Ae.Z)(be)==="object")we={checkedKeys:be.checked||void 0,halfCheckedKeys:be.halfChecked||void 0};else return(0,Fe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return we}function ve(be,we){var Oe=new Set;function Ke(qe){if(!Oe.has(qe)){var lt=(0,Pe.Z)(we,qe);if(lt){Oe.add(qe);var at=lt.parent,ft=lt.node;ft.disabled||at&&Ke(at.key)}}}return(be||[]).forEach(function(qe){Ke(qe)}),(0,ce.Z)(Oe)}},17341:function(Re,xe,ue){"use strict";ue.d(xe,{S:function(){return Ue}});var ce=ue(80334),Ae=ue(35381);function Fe(tt,Ze){var rt=new Set;return tt.forEach(function(xt){Ze.has(xt)||rt.add(xt)}),rt}function ke(tt){var Ze=tt||{},rt=Ze.disabled,xt=Ze.disableCheckbox,Qe=Ze.checkable;return!!(rt||xt)||Qe===!1}function Ye(tt,Ze,rt,xt){for(var Qe=new Set(tt),Mt=new Set,De=0;De<=rt;De+=1){var te=Ze.get(De)||new Set;te.forEach(function(ge){var ve=ge.key,be=ge.node,we=ge.children,Oe=we===void 0?[]:we;Qe.has(ve)&&!xt(be)&&Oe.filter(function(Ke){return!xt(Ke.node)}).forEach(function(Ke){Qe.add(Ke.key)})})}for(var ee=new Set,de=rt;de>=0;de-=1){var se=Ze.get(de)||new Set;se.forEach(function(ge){var ve=ge.parent,be=ge.node;if(!(xt(be)||!ge.parent||ee.has(ge.parent.key))){if(xt(ge.parent.node)){ee.add(ve.key);return}var we=!0,Oe=!1;(ve.children||[]).filter(function(Ke){return!xt(Ke.node)}).forEach(function(Ke){var qe=Ke.key,lt=Qe.has(qe);we&&!lt&&(we=!1),!Oe&&(lt||Mt.has(qe))&&(Oe=!0)}),we&&Qe.add(ve.key),Oe&&Mt.add(ve.key),ee.add(ve.key)}})}return{checkedKeys:Array.from(Qe),halfCheckedKeys:Array.from(Fe(Mt,Qe))}}function Pe(tt,Ze,rt,xt,Qe){for(var Mt=new Set(tt),De=new Set(Ze),te=0;te<=xt;te+=1){var ee=rt.get(te)||new Set;ee.forEach(function(ve){var be=ve.key,we=ve.node,Oe=ve.children,Ke=Oe===void 0?[]:Oe;!Mt.has(be)&&!De.has(be)&&!Qe(we)&&Ke.filter(function(qe){return!Qe(qe.node)}).forEach(function(qe){Mt.delete(qe.key)})})}De=new Set;for(var de=new Set,se=xt;se>=0;se-=1){var ge=rt.get(se)||new Set;ge.forEach(function(ve){var be=ve.parent,we=ve.node;if(!(Qe(we)||!ve.parent||de.has(ve.parent.key))){if(Qe(ve.parent.node)){de.add(be.key);return}var Oe=!0,Ke=!1;(be.children||[]).filter(function(qe){return!Qe(qe.node)}).forEach(function(qe){var lt=qe.key,at=Mt.has(lt);Oe&&!at&&(Oe=!1),!Ke&&(at||De.has(lt))&&(Ke=!0)}),Oe||Mt.delete(be.key),Ke&&De.add(be.key),de.add(be.key)}})}return{checkedKeys:Array.from(Mt),halfCheckedKeys:Array.from(Fe(De,Mt))}}function Ue(tt,Ze,rt,xt){var Qe=[],Mt;xt?Mt=xt:Mt=ke;var De=new Set(tt.filter(function(se){var ge=!!(0,Ae.Z)(rt,se);return ge||Qe.push(se),ge})),te=new Map,ee=0;Object.keys(rt).forEach(function(se){var ge=rt[se],ve=ge.level,be=te.get(ve);be||(be=new Set,te.set(ve,be)),be.add(ge),ee=Math.max(ee,ve)}),(0,ce.ZP)(!Qe.length,"Tree missing follow keys: ".concat(Qe.slice(0,100).map(function(se){return"'".concat(se,"'")}).join(", ")));var de;return Ze===!0?de=Ye(De,te,ee,Mt):de=Pe(De,Ze.halfCheckedKeys,te,ee,Mt),de}},35381:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return ce}});function ce(Ae,Fe){return Ae[Fe]}},1089:function(Re,xe,ue){"use strict";ue.d(xe,{F:function(){return ve},H8:function(){return ge},I8:function(){return se},km:function(){return Qe},oH:function(){return ee},w$:function(){return Mt},zn:function(){return te}});var ce=ue(71002),Ae=ue(74902),Fe=ue(1413),ke=ue(45987),Ye=ue(50344),Pe=ue(98423),Ue=ue(80334),tt=ue(35381),Ze=["children"];function rt(be,we){return"".concat(be,"-").concat(we)}function xt(be){return be&&be.type&&be.type.isTreeNode}function Qe(be,we){return be!=null?be:we}function Mt(be){var we=be||{},Oe=we.title,Ke=we._title,qe=we.key,lt=we.children,at=Oe||"title";return{title:at,_title:Ke||[at],key:qe||"key",children:lt||"children"}}function De(be,we){var Oe=new Map;function Ke(qe){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(qe||[]).forEach(function(at){var ft=at[we.key],pt=at[we.children];warning(ft!=null,"Tree node must have a certain key: [".concat(lt).concat(ft,"]"));var Nt=String(ft);warning(!Oe.has(Nt)||ft===null||ft===void 0,"Same 'key' exist in the Tree: ".concat(Nt)),Oe.set(Nt,!0),Ke(pt,"".concat(lt).concat(Nt," > "))})}Ke(be)}function te(be){function we(Oe){var Ke=(0,Ye.Z)(Oe);return Ke.map(function(qe){if(!xt(qe))return(0,Ue.ZP)(!qe,"Tree/TreeNode can only accept TreeNode as children."),null;var lt=qe.key,at=qe.props,ft=at.children,pt=(0,ke.Z)(at,Ze),Nt=(0,Fe.Z)({key:lt},pt),Xt=we(ft);return Xt.length&&(Nt.children=Xt),Nt}).filter(function(qe){return qe})}return we(be)}function ee(be,we,Oe){var Ke=Mt(Oe),qe=Ke._title,lt=Ke.key,at=Ke.children,ft=new Set(we===!0?[]:we),pt=[];function Nt(Xt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Xt.map(function(yn,Ln){for(var on=rt(Zt?Zt.pos:"0",Ln),Bn=Qe(yn[lt],on),Et,nt=0;nt<qe.length;nt+=1){var ot=qe[nt];if(yn[ot]!==void 0){Et=yn[ot];break}}var Jt=Object.assign((0,Pe.Z)(yn,[].concat((0,Ae.Z)(qe),[lt,at])),{title:Et,key:Bn,parent:Zt,pos:on,children:null,data:yn,isStart:[].concat((0,Ae.Z)(Zt?Zt.isStart:[]),[Ln===0]),isEnd:[].concat((0,Ae.Z)(Zt?Zt.isEnd:[]),[Ln===Xt.length-1])});return pt.push(Jt),we===!0||ft.has(Bn)?Jt.children=Nt(yn[at]||[],Jt):Jt.children=[],Jt})}return Nt(be),pt}function de(be,we,Oe){var Ke={};(0,ce.Z)(Oe)==="object"?Ke=Oe:Ke={externalGetKey:Oe},Ke=Ke||{};var qe=Ke,lt=qe.childrenPropName,at=qe.externalGetKey,ft=qe.fieldNames,pt=Mt(ft),Nt=pt.key,Xt=pt.children,Zt=lt||Xt,yn;at?typeof at=="string"?yn=function(Bn){return Bn[at]}:typeof at=="function"&&(yn=function(Bn){return at(Bn)}):yn=function(Bn,Et){return Qe(Bn[Nt],Et)};function Ln(on,Bn,Et,nt){var ot=on?on[Zt]:be,Jt=on?rt(Et.pos,Bn):"0",In=on?[].concat((0,Ae.Z)(nt),[on]):[];if(on){var Gt=yn(on,Jt),An={node:on,index:Bn,pos:Jt,key:Gt,parentPos:Et.node?Et.pos:null,level:Et.level+1,nodes:In};we(An)}ot&&ot.forEach(function(Nn,di){Ln(Nn,di,{node:on,pos:Jt,level:Et?Et.level+1:-1},In)})}Ln(null)}function se(be){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=we.initWrapper,Ke=we.processEntity,qe=we.onProcessFinished,lt=we.externalGetKey,at=we.childrenPropName,ft=we.fieldNames,pt=arguments.length>2?arguments[2]:void 0,Nt=lt||pt,Xt={},Zt={},yn={posEntities:Xt,keyEntities:Zt};return Oe&&(yn=Oe(yn)||yn),de(be,function(Ln){var on=Ln.node,Bn=Ln.index,Et=Ln.pos,nt=Ln.key,ot=Ln.parentPos,Jt=Ln.level,In=Ln.nodes,Gt={node:on,nodes:In,index:Bn,key:nt,pos:Et,level:Jt},An=Qe(nt,Et);Xt[Et]=Gt,Zt[An]=Gt,Gt.parent=Xt[ot],Gt.parent&&(Gt.parent.children=Gt.parent.children||[],Gt.parent.children.push(Gt)),Ke&&Ke(Gt,yn)},{externalGetKey:Nt,childrenPropName:at,fieldNames:ft}),qe&&qe(yn),yn}function ge(be,we){var Oe=we.expandedKeys,Ke=we.selectedKeys,qe=we.loadedKeys,lt=we.loadingKeys,at=we.checkedKeys,ft=we.halfCheckedKeys,pt=we.dragOverNodeKey,Nt=we.dropPosition,Xt=we.keyEntities,Zt=(0,tt.Z)(Xt,be),yn={eventKey:be,expanded:Oe.indexOf(be)!==-1,selected:Ke.indexOf(be)!==-1,loaded:qe.indexOf(be)!==-1,loading:lt.indexOf(be)!==-1,checked:at.indexOf(be)!==-1,halfChecked:ft.indexOf(be)!==-1,pos:String(Zt?Zt.pos:""),dragOver:pt===be&&Nt===0,dragOverGapTop:pt===be&&Nt===-1,dragOverGapBottom:pt===be&&Nt===1};return yn}function ve(be){var we=be.data,Oe=be.expanded,Ke=be.selected,qe=be.checked,lt=be.loaded,at=be.loading,ft=be.halfChecked,pt=be.dragOver,Nt=be.dragOverGapTop,Xt=be.dragOverGapBottom,Zt=be.pos,yn=be.active,Ln=be.eventKey,on=(0,Fe.Z)((0,Fe.Z)({},we),{},{expanded:Oe,selected:Ke,checked:qe,loaded:lt,loading:at,halfChecked:ft,dragOver:pt,dragOverGapTop:Nt,dragOverGapBottom:Xt,pos:Zt,active:yn,key:Ln});return"props"in on||Object.defineProperty(on,"props",{get:function(){return(0,Ue.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),be}}),on}},36356:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Ln}});var ce=ue(87462),Ae=ue(15671),Fe=ue(43144),ke=ue(97326),Ye=ue(60136),Pe=ue(29388),Ue=ue(4942),tt=ue(67294),Ze=ue(1413),rt=ue(45987),xt=ue(71002),Qe=ue(74165),Mt=ue(15861),De=ue(74902),te=ue(94184),ee=ue.n(te),de=ue(64217),se=ue(80334),ge=function(on,Bn){if(on&&Bn){var Et=Array.isArray(Bn)?Bn:Bn.split(","),nt=on.name||"",ot=on.type||"",Jt=ot.replace(/\/.*$/,"");return Et.some(function(In){var Gt=In.trim();if(/^\*(\/\*)?$/.test(In))return!0;if(Gt.charAt(0)==="."){var An=nt.toLowerCase(),Nn=Gt.toLowerCase(),di=[Nn];return(Nn===".jpg"||Nn===".jpeg")&&(di=[".jpg",".jpeg"]),di.some(function(At){return An.endsWith(At)})}return/\/\*$/.test(Gt)?Jt===Gt.replace(/\/.*$/,""):ot===Gt?!0:/^\w+$/.test(Gt)?((0,se.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Gt,"'.Skip for check.")),!0):!1})}return!0};function ve(on,Bn){var Et="cannot ".concat(on.method," ").concat(on.action," ").concat(Bn.status,"'"),nt=new Error(Et);return nt.status=Bn.status,nt.method=on.method,nt.url=on.action,nt}function be(on){var Bn=on.responseText||on.response;if(!Bn)return Bn;try{return JSON.parse(Bn)}catch(Et){return Bn}}function we(on){var Bn=new XMLHttpRequest;on.onProgress&&Bn.upload&&(Bn.upload.onprogress=function(Jt){Jt.total>0&&(Jt.percent=Jt.loaded/Jt.total*100),on.onProgress(Jt)});var Et=new FormData;on.data&&Object.keys(on.data).forEach(function(ot){var Jt=on.data[ot];if(Array.isArray(Jt)){Jt.forEach(function(In){Et.append("".concat(ot,"[]"),In)});return}Et.append(ot,Jt)}),on.file instanceof Blob?Et.append(on.filename,on.file,on.file.name):Et.append(on.filename,on.file),Bn.onerror=function(Jt){on.onError(Jt)},Bn.onload=function(){return Bn.status<200||Bn.status>=300?on.onError(ve(on,Bn),be(Bn)):on.onSuccess(be(Bn),Bn)},Bn.open(on.method,on.action,!0),on.withCredentials&&"withCredentials"in Bn&&(Bn.withCredentials=!0);var nt=on.headers||{};return nt["X-Requested-With"]!==null&&Bn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(nt).forEach(function(ot){nt[ot]!==null&&Bn.setRequestHeader(ot,nt[ot])}),Bn.send(Et),{abort:function(){Bn.abort()}}}var Oe=function(){var on=(0,Mt.Z)((0,Qe.Z)().mark(function Bn(Et,nt){var ot,Jt,In,Gt,An,Nn,di,At;return(0,Qe.Z)().wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:Nn=function(){return Nn=(0,Mt.Z)((0,Qe.Z)().mark(function jt(Je){return(0,Qe.Z)().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",new Promise(function(Xe){Je.file(function(dt){nt(dt)?(Je.fullPath&&!dt.webkitRelativePath&&(Object.defineProperties(dt,{webkitRelativePath:{writable:!0}}),dt.webkitRelativePath=Je.fullPath.replace(/^\//,""),Object.defineProperties(dt,{webkitRelativePath:{writable:!1}})),Xe(dt)):Xe(null)})}));case 1:case"end":return Le.stop()}},jt)})),Nn.apply(this,arguments)},An=function(jt){return Nn.apply(this,arguments)},Gt=function(){return Gt=(0,Mt.Z)((0,Qe.Z)().mark(function jt(Je){var Me,Le,Xe,dt,je;return(0,Qe.Z)().wrap(function(Sn){for(;;)switch(Sn.prev=Sn.next){case 0:Me=Je.createReader(),Le=[];case 2:return Sn.next=5,new Promise(function(ni){Me.readEntries(ni,function(){return ni([])})});case 5:if(Xe=Sn.sent,dt=Xe.length,dt){Sn.next=9;break}return Sn.abrupt("break",12);case 9:for(je=0;je<dt;je++)Le.push(Xe[je]);Sn.next=2;break;case 12:return Sn.abrupt("return",Le);case 13:case"end":return Sn.stop()}},jt)})),Gt.apply(this,arguments)},In=function(jt){return Gt.apply(this,arguments)},ot=[],Jt=[],Et.forEach(function(Wt){return Jt.push(Wt.webkitGetAsEntry())}),di=function(){var Wt=(0,Mt.Z)((0,Qe.Z)().mark(function jt(Je,Me){var Le,Xe;return(0,Qe.Z)().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(Je){je.next=2;break}return je.abrupt("return");case 2:if(Je.path=Me||"",!Je.isFile){je.next=10;break}return je.next=6,An(Je);case 6:Le=je.sent,Le&&ot.push(Le),je.next=15;break;case 10:if(!Je.isDirectory){je.next=15;break}return je.next=13,In(Je);case 13:Xe=je.sent,Jt.push.apply(Jt,(0,De.Z)(Xe));case 15:case"end":return je.stop()}},jt)}));return function(Je,Me){return Wt.apply(this,arguments)}}(),At=0;case 9:if(!(At<Jt.length)){$e.next=15;break}return $e.next=12,di(Jt[At]);case 12:At++,$e.next=9;break;case 15:return $e.abrupt("return",ot);case 16:case"end":return $e.stop()}},Bn)}));return function(Et,nt){return on.apply(this,arguments)}}(),Ke=Oe,qe=+new Date,lt=0;function at(){return"rc-upload-".concat(qe,"-").concat(++lt)}var ft=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],pt=function(on){(0,Ye.Z)(Et,on);var Bn=(0,Pe.Z)(Et);function Et(){var nt;(0,Ae.Z)(this,Et);for(var ot=arguments.length,Jt=new Array(ot),In=0;In<ot;In++)Jt[In]=arguments[In];return nt=Bn.call.apply(Bn,[this].concat(Jt)),(0,Ue.Z)((0,ke.Z)(nt),"state",{uid:at()}),(0,Ue.Z)((0,ke.Z)(nt),"reqs",{}),(0,Ue.Z)((0,ke.Z)(nt),"fileInput",void 0),(0,Ue.Z)((0,ke.Z)(nt),"_isMounted",void 0),(0,Ue.Z)((0,ke.Z)(nt),"onChange",function(Gt){var An=nt.props,Nn=An.accept,di=An.directory,At=Gt.target.files,Ot=(0,De.Z)(At).filter(function($e){return!di||ge($e,Nn)});nt.uploadFiles(Ot),nt.reset()}),(0,Ue.Z)((0,ke.Z)(nt),"onClick",function(Gt){var An=nt.fileInput;if(An){var Nn=Gt.target,di=nt.props.onClick;if(Nn&&Nn.tagName==="BUTTON"){var At=An.parentNode;At.focus(),Nn.blur()}An.click(),di&&di(Gt)}}),(0,Ue.Z)((0,ke.Z)(nt),"onKeyDown",function(Gt){Gt.key==="Enter"&&nt.onClick(Gt)}),(0,Ue.Z)((0,ke.Z)(nt),"onFileDrop",function(){var Gt=(0,Mt.Z)((0,Qe.Z)().mark(function An(Nn){var di,At,Ot;return(0,Qe.Z)().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:if(di=nt.props.multiple,Nn.preventDefault(),Nn.type!=="dragover"){Wt.next=4;break}return Wt.abrupt("return");case 4:if(!nt.props.directory){Wt.next=11;break}return Wt.next=7,Ke(Array.prototype.slice.call(Nn.dataTransfer.items),function(jt){return ge(jt,nt.props.accept)});case 7:At=Wt.sent,nt.uploadFiles(At),Wt.next=14;break;case 11:Ot=(0,De.Z)(Nn.dataTransfer.files).filter(function(jt){return ge(jt,nt.props.accept)}),di===!1&&(Ot=Ot.slice(0,1)),nt.uploadFiles(Ot);case 14:case"end":return Wt.stop()}},An)}));return function(An){return Gt.apply(this,arguments)}}()),(0,Ue.Z)((0,ke.Z)(nt),"uploadFiles",function(Gt){var An=(0,De.Z)(Gt),Nn=An.map(function(di){return di.uid=at(),nt.processFile(di,An)});Promise.all(Nn).then(function(di){var At=nt.props.onBatchStart;At==null||At(di.map(function(Ot){var $e=Ot.origin,Wt=Ot.parsedFile;return{file:$e,parsedFile:Wt}})),di.filter(function(Ot){return Ot.parsedFile!==null}).forEach(function(Ot){nt.post(Ot)})})}),(0,Ue.Z)((0,ke.Z)(nt),"processFile",function(){var Gt=(0,Mt.Z)((0,Qe.Z)().mark(function An(Nn,di){var At,Ot,$e,Wt,jt,Je,Me,Le,Xe;return(0,Qe.Z)().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(At=nt.props.beforeUpload,Ot=Nn,!At){je.next=14;break}return je.prev=3,je.next=6,At(Nn,di);case 6:Ot=je.sent,je.next=12;break;case 9:je.prev=9,je.t0=je.catch(3),Ot=!1;case 12:if(Ot!==!1){je.next=14;break}return je.abrupt("return",{origin:Nn,parsedFile:null,action:null,data:null});case 14:if($e=nt.props.action,typeof $e!="function"){je.next=21;break}return je.next=18,$e(Nn);case 18:Wt=je.sent,je.next=22;break;case 21:Wt=$e;case 22:if(jt=nt.props.data,typeof jt!="function"){je.next=29;break}return je.next=26,jt(Nn);case 26:Je=je.sent,je.next=30;break;case 29:Je=jt;case 30:return Me=((0,xt.Z)(Ot)==="object"||typeof Ot=="string")&&Ot?Ot:Nn,Me instanceof File?Le=Me:Le=new File([Me],Nn.name,{type:Nn.type}),Xe=Le,Xe.uid=Nn.uid,je.abrupt("return",{origin:Nn,data:Je,parsedFile:Xe,action:Wt});case 35:case"end":return je.stop()}},An,null,[[3,9]])}));return function(An,Nn){return Gt.apply(this,arguments)}}()),(0,Ue.Z)((0,ke.Z)(nt),"saveFileInput",function(Gt){nt.fileInput=Gt}),nt}return(0,Fe.Z)(Et,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(ot){var Jt=this,In=ot.data,Gt=ot.origin,An=ot.action,Nn=ot.parsedFile;if(this._isMounted){var di=this.props,At=di.onStart,Ot=di.customRequest,$e=di.name,Wt=di.headers,jt=di.withCredentials,Je=di.method,Me=Gt.uid,Le=Ot||we,Xe={action:An,filename:$e,data:In,file:Nn,headers:Wt,withCredentials:jt,method:Je||"post",onProgress:function(je){var bt=Jt.props.onProgress;bt==null||bt(je,Nn)},onSuccess:function(je,bt){var Sn=Jt.props.onSuccess;Sn==null||Sn(je,Nn,bt),delete Jt.reqs[Me]},onError:function(je,bt){var Sn=Jt.props.onError;Sn==null||Sn(je,bt,Nn),delete Jt.reqs[Me]}};At(Gt),this.reqs[Me]=Le(Xe)}}},{key:"reset",value:function(){this.setState({uid:at()})}},{key:"abort",value:function(ot){var Jt=this.reqs;if(ot){var In=ot.uid?ot.uid:ot;Jt[In]&&Jt[In].abort&&Jt[In].abort(),delete Jt[In]}else Object.keys(Jt).forEach(function(Gt){Jt[Gt]&&Jt[Gt].abort&&Jt[Gt].abort(),delete Jt[Gt]})}},{key:"render",value:function(){var ot=this.props,Jt=ot.component,In=ot.prefixCls,Gt=ot.className,An=ot.classNames,Nn=An===void 0?{}:An,di=ot.disabled,At=ot.id,Ot=ot.name,$e=ot.style,Wt=ot.styles,jt=Wt===void 0?{}:Wt,Je=ot.multiple,Me=ot.accept,Le=ot.capture,Xe=ot.children,dt=ot.directory,je=ot.openFileDialogOnClick,bt=ot.onMouseEnter,Sn=ot.onMouseLeave,ni=ot.hasControlInside,ui=(0,rt.Z)(ot,ft),vn=ee()((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},In,!0),"".concat(In,"-disabled"),di),Gt,Gt)),_n=dt?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},rn=di?{}:{onClick:je?this.onClick:function(){},onKeyDown:je?this.onKeyDown:function(){},onMouseEnter:bt,onMouseLeave:Sn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:ni?void 0:"0"};return tt.createElement(Jt,(0,ce.Z)({},rn,{className:vn,role:ni?void 0:"button",style:$e}),tt.createElement("input",(0,ce.Z)({},(0,de.Z)(ui,{aria:!0,data:!0}),{id:At,name:Ot,disabled:di,type:"file",ref:this.saveFileInput,onClick:function(ei){return ei.stopPropagation()},key:this.state.uid,style:(0,Ze.Z)({display:"none"},jt.input),className:Nn.input,accept:Me},_n,{multiple:Je,onChange:this.onChange},Le!=null?{capture:Le}:{})),Xe)}}]),Et}(tt.Component),Nt=pt;function Xt(){}var Zt=function(on){(0,Ye.Z)(Et,on);var Bn=(0,Pe.Z)(Et);function Et(){var nt;(0,Ae.Z)(this,Et);for(var ot=arguments.length,Jt=new Array(ot),In=0;In<ot;In++)Jt[In]=arguments[In];return nt=Bn.call.apply(Bn,[this].concat(Jt)),(0,Ue.Z)((0,ke.Z)(nt),"uploader",void 0),(0,Ue.Z)((0,ke.Z)(nt),"saveUploader",function(Gt){nt.uploader=Gt}),nt}return(0,Fe.Z)(Et,[{key:"abort",value:function(ot){this.uploader.abort(ot)}},{key:"render",value:function(){return tt.createElement(Nt,(0,ce.Z)({},this.props,{ref:this.saveUploader}))}}]),Et}(tt.Component);(0,Ue.Z)(Zt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Xt,onError:Xt,onSuccess:Xt,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var yn=Zt,Ln=yn},73299:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return yr}});var ce=ue(87462),Ae=ue(1413),Fe=ue(71002),ke=ue(97685),Ye=ue(4942),Pe=ue(45987),Ue=ue(67294),tt=ue(73935),Ze=ue(94184),rt=ue.n(Ze),xt=ue(48555),Qe=Ue.forwardRef(function(On,Ie){var Mn=On.height,Kn=On.offsetY,ri=On.offsetX,fi=On.children,vi=On.prefixCls,Ni=On.onInnerResize,hr=On.innerProps,un=On.rtl,hn=On.extra,Kt={},bn={display:"flex",flexDirection:"column"};if(Kn!==void 0){var Mi;Kt={height:Mn,position:"relative",overflow:"hidden"},bn=(0,Ae.Z)((0,Ae.Z)({},bn),{},(Mi={transform:"translateY(".concat(Kn,"px)")},(0,Ye.Z)(Mi,un?"marginRight":"marginLeft",-ri),(0,Ye.Z)(Mi,"position","absolute"),(0,Ye.Z)(Mi,"left",0),(0,Ye.Z)(Mi,"right",0),(0,Ye.Z)(Mi,"top",0),Mi))}return Ue.createElement("div",{style:Kt},Ue.createElement(xt.Z,{onResize:function(bi){var sn=bi.offsetHeight;sn&&Ni&&Ni()}},Ue.createElement("div",(0,ce.Z)({style:bn,className:rt()((0,Ye.Z)({},"".concat(vi,"-holder-inner"),vi)),ref:Ie},hr),fi,hn)))});Qe.displayName="Filler";var Mt=Qe,De=function(Ie){return+setTimeout(Ie,16)},te=function(Ie){return clearTimeout(Ie)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(De=function(Ie){return window.requestAnimationFrame(Ie)},te=function(Ie){return window.cancelAnimationFrame(Ie)});var ee=0,de=new Map;function se(On){de.delete(On)}var ge=function(Ie){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ee+=1;var Kn=ee;function ri(fi){if(fi===0)se(Kn),Ie();else{var vi=De(function(){ri(fi-1)});de.set(Kn,vi)}}return ri(Mn),Kn};ge.cancel=function(On){var Ie=de.get(On);return se(Ie),te(Ie)};var ve=ge;function be(On,Ie){var Mn="touches"in On?On.touches[0]:On;return Mn[Ie?"pageX":"pageY"]}var we=Ue.forwardRef(function(On,Ie){var Mn,Kn=On.prefixCls,ri=On.rtl,fi=On.scrollOffset,vi=On.scrollRange,Ni=On.onStartMove,hr=On.onStopMove,un=On.onScroll,hn=On.horizontal,Kt=On.spinSize,bn=On.containerSize,Mi=On.style,Oi=On.thumbStyle,bi=Ue.useState(!1),sn=(0,ke.Z)(bi,2),Un=sn[0],Wi=sn[1],ir=Ue.useState(null),si=(0,ke.Z)(ir,2),tn=si[0],Hi=si[1],lr=Ue.useState(null),Hr=(0,ke.Z)(lr,2),jn=Hr[0],qi=Hr[1],ao=!ri,jo=Ue.useRef(),ko=Ue.useRef(),Vi=Ue.useState(!1),Qi=(0,ke.Z)(Vi,2),sr=Qi[0],Zr=Qi[1],Io=Ue.useRef(),Si=function(){clearTimeout(Io.current),Zr(!0),Io.current=setTimeout(function(){Zr(!1)},3e3)},mr=vi-bn||0,ja=bn-Kt||0,Ha=mr>0,Sa=Ue.useMemo(function(){if(fi===0||mr===0)return 0;var so=fi/mr;return so*ja},[fi,mr,ja]),nn=function(Do){Do.stopPropagation(),Do.preventDefault()},pr=Ue.useRef({top:Sa,dragging:Un,pageY:tn,startTop:jn});pr.current={top:Sa,dragging:Un,pageY:tn,startTop:jn};var Jr=function(Do){Wi(!0),Hi(be(Do,hn)),qi(pr.current.top),Ni(),Do.stopPropagation(),Do.preventDefault()};Ue.useEffect(function(){var so=function(Rt){Rt.preventDefault()},Do=jo.current,Qn=ko.current;return Do.addEventListener("touchstart",so),Qn.addEventListener("touchstart",Jr),function(){Do.removeEventListener("touchstart",so),Qn.removeEventListener("touchstart",Jr)}},[]);var vr=Ue.useRef();vr.current=mr;var ia=Ue.useRef();ia.current=ja,Ue.useEffect(function(){if(Un){var so,Do=function(Rt){var ut=pr.current,Dn=ut.dragging,Lt=ut.pageY,Ft=ut.startTop;if(ve.cancel(so),Dn){var Yt=be(Rt,hn)-Lt,pn=Ft;!ao&&hn?pn-=Yt:pn+=Yt;var ti=vr.current,Li=ia.current,Pi=Li?pn/Li:0,Fn=Math.ceil(Pi*ti);Fn=Math.max(Fn,0),Fn=Math.min(Fn,ti),so=ve(function(){un(Fn,hn)})}},Qn=function(){Wi(!1),hr()};return window.addEventListener("mousemove",Do),window.addEventListener("touchmove",Do),window.addEventListener("mouseup",Qn),window.addEventListener("touchend",Qn),function(){window.removeEventListener("mousemove",Do),window.removeEventListener("touchmove",Do),window.removeEventListener("mouseup",Qn),window.removeEventListener("touchend",Qn),ve.cancel(so)}}},[Un]),Ue.useEffect(function(){Si()},[fi]),Ue.useImperativeHandle(Ie,function(){return{delayHidden:Si}});var vo="".concat(Kn,"-scrollbar"),Po={position:"absolute",visibility:sr&&Ha?null:"hidden"},bo={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return hn?(Po.height=8,Po.left=0,Po.right=0,Po.bottom=0,bo.height="100%",bo.width=Kt,ao?bo.left=Sa:bo.right=Sa):(Po.width=8,Po.top=0,Po.bottom=0,ao?Po.right=0:Po.left=0,bo.width="100%",bo.height=Kt,bo.top=Sa),Ue.createElement("div",{ref:jo,className:rt()(vo,(Mn={},(0,Ye.Z)(Mn,"".concat(vo,"-horizontal"),hn),(0,Ye.Z)(Mn,"".concat(vo,"-vertical"),!hn),(0,Ye.Z)(Mn,"".concat(vo,"-visible"),sr),Mn)),style:(0,Ae.Z)((0,Ae.Z)({},Po),Mi),onMouseDown:nn,onMouseMove:Si},Ue.createElement("div",{ref:ko,className:rt()("".concat(vo,"-thumb"),(0,Ye.Z)({},"".concat(vo,"-thumb-moving"),Un)),style:(0,Ae.Z)((0,Ae.Z)({},bo),Oi),onMouseDown:Jr}))}),Oe=we;function Ke(On){var Ie=On.children,Mn=On.setRef,Kn=Ue.useCallback(function(ri){Mn(ri)},[]);return Ue.cloneElement(Ie,{ref:Kn})}function qe(On,Ie,Mn,Kn,ri,fi,vi){var Ni=vi.getKey;return On.slice(Ie,Mn+1).map(function(hr,un){var hn=Ie+un,Kt=fi(hr,hn,{style:{width:Kn}}),bn=Ni(hr);return Ue.createElement(Ke,{key:bn,setRef:function(Oi){return ri(hr,Oi)}},Kt)})}function lt(On){return On instanceof HTMLElement||On instanceof SVGElement}function at(On){return lt(On)?On:On instanceof Ue.Component?tt.findDOMNode(On):null}var ft=ue(15671),pt=ue(43144),Nt=function(){function On(){(0,ft.Z)(this,On),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,pt.Z)(On,[{key:"set",value:function(Mn,Kn){this.maps[Mn]=Kn,this.id+=1}},{key:"get",value:function(Mn){return this.maps[Mn]}}]),On}(),Xt=Nt;function Zt(On,Ie,Mn){var Kn=Ue.useState(0),ri=(0,ke.Z)(Kn,2),fi=ri[0],vi=ri[1],Ni=(0,Ue.useRef)(new Map),hr=(0,Ue.useRef)(new Xt),un=(0,Ue.useRef)();function hn(){ve.cancel(un.current)}function Kt(){var Mi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;hn();var Oi=function(){Ni.current.forEach(function(sn,Un){if(sn&&sn.offsetParent){var Wi=at(sn),ir=Wi.offsetHeight;hr.current.get(Un)!==ir&&hr.current.set(Un,Wi.offsetHeight)}}),vi(function(sn){return sn+1})};Mi?Oi():un.current=ve(Oi)}function bn(Mi,Oi){var bi=On(Mi),sn=Ni.current.get(bi);Oi?(Ni.current.set(bi,Oi),Kt()):Ni.current.delete(bi),!sn!=!Oi&&(Oi?Ie==null||Ie(Mi):Mn==null||Mn(Mi))}return(0,Ue.useEffect)(function(){return hn},[]),[bn,Kt,hr.current,fi]}function yn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ln=yn()?Ue.useLayoutEffect:Ue.useEffect,on=function(Ie,Mn){var Kn=Ue.useRef(!0);Ln(function(){return Ie(Kn.current)},Mn),Ln(function(){return Kn.current=!1,function(){Kn.current=!0}},[])},Bn=function(Ie,Mn){on(function(Kn){if(!Kn)return Ie()},Mn)},Et=on;function nt(On){var Ie=Ue.useRef();Ie.current=On;var Mn=Ue.useCallback(function(){for(var Kn,ri=arguments.length,fi=new Array(ri),vi=0;vi<ri;vi++)fi[vi]=arguments[vi];return(Kn=Ie.current)===null||Kn===void 0?void 0:Kn.call.apply(Kn,[Ie].concat(fi))},[]);return Mn}function ot(On){var Ie=React.useRef(!1),Mn=React.useState(On),Kn=_slicedToArray(Mn,2),ri=Kn[0],fi=Kn[1];React.useEffect(function(){return Ie.current=!1,function(){Ie.current=!0}},[]);function vi(Ni,hr){hr&&Ie.current||fi(Ni)}return[ri,vi]}function Jt(On){return On!==void 0}function In(On,Ie){var Mn=Ie||{},Kn=Mn.defaultValue,ri=Mn.value,fi=Mn.onChange,vi=Mn.postState,Ni=useState(function(){return Jt(ri)?ri:Jt(Kn)?typeof Kn=="function"?Kn():Kn:typeof On=="function"?On():On}),hr=_slicedToArray(Ni,2),un=hr[0],hn=hr[1],Kt=ri!==void 0?ri:un,bn=vi?vi(Kt):Kt,Mi=useEvent(fi),Oi=useState([Kt]),bi=_slicedToArray(Oi,2),sn=bi[0],Un=bi[1];useLayoutUpdateEffect(function(){var ir=sn[0];un!==ir&&Mi(un,ir)},[sn]),useLayoutUpdateEffect(function(){Jt(ri)||hn(ri)},[ri]);var Wi=useEvent(function(ir,si){hn(ir,si),Un([Kt],si)});return[bn,Wi]}var Gt=ue(31461);function An(On,Ie,Mn){var Kn=React.useRef({});return(!("value"in Kn.current)||Mn(Kn.current.condition,Ie))&&(Kn.current.value=On(),Kn.current.condition=Ie),Kn.current.value}function Nn(On,Ie){typeof On=="function"?On(Ie):_typeof(On)==="object"&&On&&"current"in On&&(On.current=Ie)}function di(){for(var On=arguments.length,Ie=new Array(On),Mn=0;Mn<On;Mn++)Ie[Mn]=arguments[Mn];var Kn=Ie.filter(function(ri){return ri});return Kn.length<=1?Kn[0]:function(ri){Ie.forEach(function(fi){Nn(fi,ri)})}}function At(){for(var On=arguments.length,Ie=new Array(On),Mn=0;Mn<On;Mn++)Ie[Mn]=arguments[Mn];return useMemo(function(){return di.apply(void 0,Ie)},Ie,function(Kn,ri){return Kn.length!==ri.length||Kn.every(function(fi,vi){return fi!==ri[vi]})})}function Ot(On){var Ie,Mn,Kn=isMemo(On)?On.type.type:On.type;return!(typeof Kn=="function"&&!((Ie=Kn.prototype)!==null&&Ie!==void 0&&Ie.render)||typeof On=="function"&&!((Mn=On.prototype)!==null&&Mn!==void 0&&Mn.render))}function $e(On){return!isValidElement(On)||isFragment(On)?!1:Ot(On)}function Wt(On,Ie,Mn,Kn){if(!Ie.length)return Mn;var ri=_toArray(Ie),fi=ri[0],vi=ri.slice(1),Ni;return!On&&typeof fi=="number"?Ni=[]:Array.isArray(On)?Ni=_toConsumableArray(On):Ni=_objectSpread({},On),Kn&&Mn===void 0&&vi.length===1?delete Ni[fi][vi[0]]:Ni[fi]=Wt(Ni[fi],vi,Mn,Kn),Ni}function jt(On,Ie,Mn){var Kn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Ie.length&&Kn&&Mn===void 0&&!get(On,Ie.slice(0,-1))?On:Wt(On,Ie,Mn,Kn)}function Je(On){return _typeof(On)==="object"&&On!==null&&Object.getPrototypeOf(On)===Object.prototype}function Me(On){return Array.isArray(On)?[]:{}}var Le=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Xe(){for(var On=arguments.length,Ie=new Array(On),Mn=0;Mn<On;Mn++)Ie[Mn]=arguments[Mn];var Kn=Me(Ie[0]);return Ie.forEach(function(ri){function fi(vi,Ni){var hr=new Set(Ni),un=get(ri,vi),hn=Array.isArray(un);if(hn||Je(un)){if(!hr.has(un)){hr.add(un);var Kt=get(Kn,vi);hn?Kn=jt(Kn,vi,[]):(!Kt||_typeof(Kt)!=="object")&&(Kn=jt(Kn,vi,Me(un))),Le(un).forEach(function(bn){fi([].concat(_toConsumableArray(vi),[bn]),hr)})}}else Kn=jt(Kn,vi,un)}fi([])}),Kn}var dt={},je=[],bt=function(Ie){je.push(Ie)};function Sn(On,Ie){if(0)var Mn}function ni(On,Ie){if(0)var Mn}function ui(){dt={}}function vn(On,Ie,Mn){!Ie&&!dt[Mn]&&(On(!1,Mn),dt[Mn]=!0)}function _n(On,Ie){vn(Sn,On,Ie)}function rn(On,Ie){vn(ni,On,Ie)}_n.preMessage=bt,_n.resetWarned=ui,_n.noteOnce=rn;var oi=null,ei=10;function Ri(On,Ie,Mn,Kn,ri,fi,vi,Ni){var hr=Ue.useRef(),un=Ue.useState(null),hn=(0,ke.Z)(un,2),Kt=hn[0],bn=hn[1];return Et(function(){if(Kt&&Kt.times<ei){if(!On.current){bn(function(Si){return(0,Ae.Z)({},Si)});return}fi();var Mi=Kt.targetAlign,Oi=Kt.originAlign,bi=Kt.index,sn=Kt.offset,Un=On.current.clientHeight,Wi=!1,ir=Mi,si=null;if(Un){for(var tn=Mi||Oi,Hi=0,lr=0,Hr=0,jn=Math.min(Ie.length-1,bi),qi=0;qi<=jn;qi+=1){var ao=ri(Ie[qi]);lr=Hi;var jo=Mn.get(ao);Hr=lr+(jo===void 0?Kn:jo),Hi=Hr}for(var ko=tn==="top"?sn:Un-sn,Vi=jn;Vi>=0;Vi-=1){var Qi=ri(Ie[Vi]),sr=Mn.get(Qi);if(sr===void 0){Wi=!0;break}if(ko-=sr,ko<=0)break}switch(tn){case"top":si=lr-sn;break;case"bottom":si=Hr-Un+sn;break;default:{var Zr=On.current.scrollTop,Io=Zr+Un;lr<Zr?ir="top":Hr>Io&&(ir="bottom")}}si!==null&&vi(si),si!==Kt.lastTop&&(Wi=!0)}Wi&&bn(function(Si){return(0,Ae.Z)((0,Ae.Z)({},Si),{},{times:Si.times+1,targetAlign:ir,lastTop:si})})}},[Kt,On.current]),function(Mi){if(Mi==null){Ni();return}if(ve.cancel(hr.current),typeof Mi=="number")vi(Mi);else if(Mi&&(0,Fe.Z)(Mi)==="object"){var Oi,bi=Mi.align;"index"in Mi?Oi=Mi.index:Oi=Ie.findIndex(function(Wi){return ri(Wi)===Mi.key});var sn=Mi.offset,Un=sn===void 0?0:sn;bn({times:0,index:Oi,offset:Un,originAlign:bi})}}}function cn(On,Ie,Mn,Kn){var ri=Mn-On,fi=Ie-Mn,vi=Math.min(ri,fi)*2;if(Kn<=vi){var Ni=Math.floor(Kn/2);return Kn%2?Mn+Ni+1:Mn-Ni}return ri>fi?Mn-(Kn-fi):Mn+(Kn-ri)}function tr(On,Ie,Mn){var Kn=On.length,ri=Ie.length,fi,vi;if(Kn===0&&ri===0)return null;Kn<ri?(fi=On,vi=Ie):(fi=Ie,vi=On);var Ni={__EMPTY_ITEM__:!0};function hr(Oi){return Oi!==void 0?Mn(Oi):Ni}for(var un=null,hn=Math.abs(Kn-ri)!==1,Kt=0;Kt<vi.length;Kt+=1){var bn=hr(fi[Kt]),Mi=hr(vi[Kt]);if(bn!==Mi){un=Kt,hn=hn||bn!==hr(vi[Kt+1]);break}}return un===null?null:{index:un,multiple:hn}}function Xi(On,Ie,Mn){var Kn=Ue.useState(On),ri=(0,ke.Z)(Kn,2),fi=ri[0],vi=ri[1],Ni=Ue.useState(null),hr=(0,ke.Z)(Ni,2),un=hr[0],hn=hr[1];return Ue.useEffect(function(){var Kt=tr(fi||[],On||[],Ie);(Kt==null?void 0:Kt.index)!==void 0&&(Mn==null||Mn(Kt.index),hn(On[Kt.index])),vi(On)},[On]),[un]}var $t=(typeof navigator=="undefined"?"undefined":(0,Fe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),_e=$t,xr=function(On,Ie){var Mn=(0,Ue.useRef)(!1),Kn=(0,Ue.useRef)(null);function ri(){clearTimeout(Kn.current),Mn.current=!0,Kn.current=setTimeout(function(){Mn.current=!1},50)}var fi=(0,Ue.useRef)({top:On,bottom:Ie});return fi.current.top=On,fi.current.bottom=Ie,function(vi){var Ni=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,hr=vi<0&&fi.current.top||vi>0&&fi.current.bottom;return Ni&&hr?(clearTimeout(Kn.current),Mn.current=!1):(!hr||Mn.current)&&ri(),!Mn.current&&hr}};function er(On,Ie,Mn,Kn,ri){var fi=(0,Ue.useRef)(0),vi=(0,Ue.useRef)(null),Ni=(0,Ue.useRef)(null),hr=(0,Ue.useRef)(!1),un=xr(Ie,Mn);function hn(sn,Un){ve.cancel(vi.current),fi.current+=Un,Ni.current=Un,!un(Un)&&(_e||sn.preventDefault(),vi.current=ve(function(){var Wi=hr.current?10:1;ri(fi.current*Wi),fi.current=0}))}function Kt(sn,Un){ri(Un,!0),_e||sn.preventDefault()}var bn=(0,Ue.useRef)(null),Mi=(0,Ue.useRef)(null);function Oi(sn){if(On){ve.cancel(Mi.current),Mi.current=ve(function(){bn.current=null},2);var Un=sn.deltaX,Wi=sn.deltaY,ir=sn.shiftKey,si=Un,tn=Wi;(bn.current==="sx"||!bn.current&&ir&&Wi&&!Un)&&(si=Wi,tn=0,bn.current="sx");var Hi=Math.abs(si),lr=Math.abs(tn);bn.current===null&&(bn.current=Kn&&Hi>lr?"x":"y"),bn.current==="y"?hn(sn,tn):Kt(sn,si)}}function bi(sn){On&&(hr.current=sn.detail===Ni.current)}return[Oi,bi]}var ai=14/15;function Rr(On,Ie,Mn){var Kn=(0,Ue.useRef)(!1),ri=(0,Ue.useRef)(0),fi=(0,Ue.useRef)(null),vi=(0,Ue.useRef)(null),Ni,hr=function(bn){if(Kn.current){var Mi=Math.ceil(bn.touches[0].pageY),Oi=ri.current-Mi;ri.current=Mi,Mn(Oi)&&bn.preventDefault(),clearInterval(vi.current),vi.current=setInterval(function(){Oi*=ai,(!Mn(Oi,!0)||Math.abs(Oi)<=.1)&&clearInterval(vi.current)},16)}},un=function(){Kn.current=!1,Ni()},hn=function(bn){Ni(),bn.touches.length===1&&!Kn.current&&(Kn.current=!0,ri.current=Math.ceil(bn.touches[0].pageY),fi.current=bn.target,fi.current.addEventListener("touchmove",hr),fi.current.addEventListener("touchend",un))};Ni=function(){fi.current&&(fi.current.removeEventListener("touchmove",hr),fi.current.removeEventListener("touchend",un))},Et(function(){return On&&Ie.current.addEventListener("touchstart",hn),function(){var Kt;(Kt=Ie.current)===null||Kt===void 0||Kt.removeEventListener("touchstart",hn),Ni(),clearInterval(vi.current)}},[On])}var Lr=20;function Ii(){var On=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Mn=On/Ie*100;return isNaN(Mn)&&(Mn=0),Mn=Math.max(Mn,Lr),Mn=Math.min(Mn,On/2),Math.floor(Mn)}function ar(On,Ie,Mn,Kn){var ri=Ue.useMemo(function(){return[new Map,[]]},[On,Mn.id,Kn]),fi=(0,ke.Z)(ri,2),vi=fi[0],Ni=fi[1],hr=function(hn){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hn,bn=vi.get(hn),Mi=vi.get(Kt);if(bn===void 0||Mi===void 0)for(var Oi=On.length,bi=Ni.length;bi<Oi;bi+=1){var sn,Un=On[bi],Wi=Ie(Un);vi.set(Wi,bi);var ir=(sn=Mn.get(Wi))!==null&&sn!==void 0?sn:Kn;if(Ni[bi]=(Ni[bi-1]||0)+ir,Wi===hn&&(bn=bi),Wi===Kt&&(Mi=bi),bn!==void 0&&Mi!==void 0)break}return{top:Ni[bn-1]||0,bottom:Ni[Mi]}};return hr}var hi=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Qt=[],Wr={overflowY:"auto",overflowAnchor:"none"};function oo(On,Ie){var Mn=On.prefixCls,Kn=Mn===void 0?"rc-virtual-list":Mn,ri=On.className,fi=On.height,vi=On.itemHeight,Ni=On.fullHeight,hr=Ni===void 0?!0:Ni,un=On.style,hn=On.data,Kt=On.children,bn=On.itemKey,Mi=On.virtual,Oi=On.direction,bi=On.scrollWidth,sn=On.component,Un=sn===void 0?"div":sn,Wi=On.onScroll,ir=On.onVirtualScroll,si=On.onVisibleChange,tn=On.innerProps,Hi=On.extraRender,lr=On.styles,Hr=(0,Pe.Z)(On,hi),jn=!!(Mi!==!1&&fi&&vi),qi=jn&&hn&&(vi*hn.length>fi||!!bi),ao=Oi==="rtl",jo=rt()(Kn,(0,Ye.Z)({},"".concat(Kn,"-rtl"),ao),ri),ko=hn||Qt,Vi=(0,Ue.useRef)(),Qi=(0,Ue.useRef)(),sr=(0,Ue.useState)(0),Zr=(0,ke.Z)(sr,2),Io=Zr[0],Si=Zr[1],mr=(0,Ue.useState)(0),ja=(0,ke.Z)(mr,2),Ha=ja[0],Sa=ja[1],nn=(0,Ue.useState)(!1),pr=(0,ke.Z)(nn,2),Jr=pr[0],vr=pr[1],ia=function(){vr(!0)},vo=function(){vr(!1)},Po=Ue.useCallback(function(wr){return typeof bn=="function"?bn(wr):wr==null?void 0:wr[bn]},[bn]),bo={getKey:Po};function so(wr){Si(function($r){var ho;typeof wr=="function"?ho=wr($r):ho=wr;var _o=ji(ho);return Vi.current.scrollTop=_o,_o})}var Do=(0,Ue.useRef)({start:0,end:ko.length}),Qn=(0,Ue.useRef)(),$o=Xi(ko,Po),Rt=(0,ke.Z)($o,1),ut=Rt[0];Qn.current=ut;var Dn=Zt(Po,null,null),Lt=(0,ke.Z)(Dn,4),Ft=Lt[0],Yt=Lt[1],pn=Lt[2],ti=Lt[3],Li=Ue.useMemo(function(){if(!jn)return{scrollHeight:void 0,start:0,end:ko.length-1,offset:void 0};if(!qi){var wr;return{scrollHeight:((wr=Qi.current)===null||wr===void 0?void 0:wr.offsetHeight)||0,start:0,end:ko.length-1,offset:void 0}}for(var $r=0,ho,_o,Zi,Ea=ko.length,ca=0;ca<Ea;ca+=1){var ga=ko[ca],rs=Po(ga),us=pn.get(rs),wi=$r+(us===void 0?vi:us);wi>=Io&&ho===void 0&&(ho=ca,_o=$r),wi>Io+fi&&Zi===void 0&&(Zi=ca),$r=wi}return ho===void 0&&(ho=0,_o=0,Zi=Math.ceil(fi/vi)),Zi===void 0&&(Zi=ko.length-1),Zi=Math.min(Zi+1,ko.length-1),{scrollHeight:$r,start:ho,end:Zi,offset:_o}},[qi,jn,Io,ko,ti,fi]),Pi=Li.scrollHeight,Fn=Li.start,st=Li.end,br=Li.offset;Do.current.start=Fn,Do.current.end=st;var _r=Ue.useState({width:0,height:fi}),to=(0,ke.Z)(_r,2),lo=to[0],uo=to[1],Vr=function($r){uo({width:$r.width||$r.offsetWidth,height:$r.height||$r.offsetHeight})},Mo=(0,Ue.useRef)(),co=(0,Ue.useRef)(),Ir=Ue.useMemo(function(){return Ii(lo.width,bi)},[lo.width,bi]),or=Ue.useMemo(function(){return Ii(lo.height,Pi)},[lo.height,Pi]),Di=Pi-fi,Ci=(0,Ue.useRef)(Di);Ci.current=Di;function ji(wr){var $r=wr;return Number.isNaN(Ci.current)||($r=Math.min($r,Ci.current)),$r=Math.max($r,0),$r}var fn=Io<=0,$i=Io>=Di,Ji=xr(fn,$i),Gr=function(){return{x:ao?-Ha:Ha,y:Io}},io=(0,Ue.useRef)(Gr()),qr=nt(function(){if(ir){var wr=Gr();(io.current.x!==wr.x||io.current.y!==wr.y)&&(ir(wr),io.current=wr)}});function yo(wr,$r){var ho=wr;$r?((0,tt.flushSync)(function(){Sa(ho)}),qr()):so(ho)}function ea(wr){var $r=wr.currentTarget.scrollTop;$r!==Io&&so($r),Wi==null||Wi(wr),qr()}var Zo=function($r){var ho=$r,_o=bi-lo.width;return ho=Math.max(ho,0),ho=Math.min(ho,_o),ho},ua=nt(function(wr,$r){$r?((0,tt.flushSync)(function(){Sa(function(ho){var _o=ho+(ao?-wr:wr);return Zo(_o)})}),qr()):so(function(ho){var _o=ho+wr;return _o})}),ba=er(jn,fn,$i,!!bi,ua),an=(0,ke.Z)(ba,2),qo=an[0],fa=an[1];Rr(jn,Vi,function(wr,$r){return Ji(wr,$r)?!1:(qo({preventDefault:function(){},deltaY:wr}),!0)}),Et(function(){function wr(ho){jn&&ho.preventDefault()}var $r=Vi.current;return $r.addEventListener("wheel",qo),$r.addEventListener("DOMMouseScroll",fa),$r.addEventListener("MozMousePixelScroll",wr),function(){$r.removeEventListener("wheel",qo),$r.removeEventListener("DOMMouseScroll",fa),$r.removeEventListener("MozMousePixelScroll",wr)}},[jn]),Et(function(){bi&&Sa(function(wr){return Zo(wr)})},[lo.width,bi]);var Ra=function(){var $r,ho;($r=Mo.current)===null||$r===void 0||$r.delayHidden(),(ho=co.current)===null||ho===void 0||ho.delayHidden()},po=Ri(Vi,ko,pn,vi,Po,function(){return Yt(!0)},so,Ra);Ue.useImperativeHandle(Ie,function(){return{getScrollInfo:Gr,scrollTo:function($r){function ho(_o){return _o&&(0,Fe.Z)(_o)==="object"&&("left"in _o||"top"in _o)}ho($r)?($r.left!==void 0&&Sa(Zo($r.left)),po($r.top)):po($r)}}}),Et(function(){if(si){var wr=ko.slice(Fn,st+1);si(wr,ko)}},[Fn,st,ko]);var Xa=ar(ko,Po,pn,vi),Na=Hi==null?void 0:Hi({start:Fn,end:st,virtual:qi,offsetX:Ha,offsetY:br,rtl:ao,getSize:Xa}),qa=qe(ko,Fn,st,bi,Ft,Kt,bo),Co=null;fi&&(Co=(0,Ae.Z)((0,Ye.Z)({},hr?"height":"maxHeight",fi),Wr),jn&&(Co.overflowY="hidden",bi&&(Co.overflowX="hidden"),Jr&&(Co.pointerEvents="none")));var Go={};return ao&&(Go.dir="rtl"),Ue.createElement("div",(0,ce.Z)({style:(0,Ae.Z)((0,Ae.Z)({},un),{},{position:"relative"}),className:jo},Go,Hr),Ue.createElement(xt.Z,{onResize:Vr},Ue.createElement(Un,{className:"".concat(Kn,"-holder"),style:Co,ref:Vi,onScroll:ea,onMouseEnter:Ra},Ue.createElement(Mt,{prefixCls:Kn,height:Pi,offsetX:Ha,offsetY:br,scrollWidth:bi,onInnerResize:Yt,ref:Qi,innerProps:tn,rtl:ao,extra:Na},qa))),qi&&Pi>fi&&Ue.createElement(Oe,{ref:Mo,prefixCls:Kn,scrollOffset:Io,scrollRange:Pi,rtl:ao,onScroll:yo,onStartMove:ia,onStopMove:vo,spinSize:or,containerSize:lo.height,style:lr==null?void 0:lr.verticalScrollBar,thumbStyle:lr==null?void 0:lr.verticalScrollBarThumb}),qi&&bi&&Ue.createElement(Oe,{ref:co,prefixCls:Kn,scrollOffset:Ha,scrollRange:bi,rtl:ao,onScroll:yo,onStartMove:ia,onStopMove:vo,spinSize:Ir,containerSize:lo.width,horizontal:!0,style:lr==null?void 0:lr.horizontalScrollBar,thumbStyle:lr==null?void 0:lr.horizontalScrollBarThumb}))}var dr=Ue.forwardRef(oo);dr.displayName="List";var xo=dr,yr=xo},66392:function(Re,xe){"use strict";var ue;var ce=Symbol.for("react.element"),Ae=Symbol.for("react.portal"),Fe=Symbol.for("react.fragment"),ke=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Pe=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),tt=Symbol.for("react.server_context"),Ze=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Qe=Symbol.for("react.memo"),Mt=Symbol.for("react.lazy"),De=Symbol.for("react.offscreen"),te;te=Symbol.for("react.module.reference");function ee(de){if(typeof de=="object"&&de!==null){var se=de.$$typeof;switch(se){case ce:switch(de=de.type,de){case Fe:case Ye:case ke:case rt:case xt:return de;default:switch(de=de&&de.$$typeof,de){case tt:case Ue:case Ze:case Mt:case Qe:case Pe:return de;default:return se}}case Ae:return se}}}ue=Ue,ue=Pe,ue=ce,ue=Ze,ue=Fe,ue=Mt,ue=Qe,ue=Ae,ue=Ye,ue=ke,ue=rt,ue=xt,ue=function(){return!1},ue=function(){return!1},ue=function(de){return ee(de)===Ue},ue=function(de){return ee(de)===Pe},ue=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===ce},ue=function(de){return ee(de)===Ze},ue=function(de){return ee(de)===Fe},ue=function(de){return ee(de)===Mt},ue=function(de){return ee(de)===Qe},ue=function(de){return ee(de)===Ae},ue=function(de){return ee(de)===Ye},ue=function(de){return ee(de)===ke},ue=function(de){return ee(de)===rt},ue=function(de){return ee(de)===xt},ue=function(de){return typeof de=="string"||typeof de=="function"||de===Fe||de===Ye||de===ke||de===rt||de===xt||de===De||typeof de=="object"&&de!==null&&(de.$$typeof===Mt||de.$$typeof===Qe||de.$$typeof===Pe||de.$$typeof===Ue||de.$$typeof===Ze||de.$$typeof===te||de.getModuleId!==void 0)},ue=ee},31461:function(Re,xe,ue){"use strict";ue(66392)},91733:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Ot}});function ce($e,Wt){if($e==null)return{};var jt={};for(var Je in $e)if(Object.prototype.hasOwnProperty.call($e,Je)){if(Wt.indexOf(Je)>=0)continue;jt[Je]=$e[Je]}return jt}function Ae($e,Wt){if($e==null)return{};var jt=ce($e,Wt),Je,Me;if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols($e);for(Me=0;Me<Le.length;Me++)Je=Le[Me],!(Wt.indexOf(Je)>=0)&&Object.prototype.propertyIsEnumerable.call($e,Je)&&(jt[Je]=$e[Je])}return jt}function Fe($e,Wt){(Wt==null||Wt>$e.length)&&(Wt=$e.length);for(var jt=0,Je=new Array(Wt);jt<Wt;jt++)Je[jt]=$e[jt];return Je}function ke($e){if(Array.isArray($e))return Fe($e)}function Ye($e){if(typeof Symbol!="undefined"&&$e[Symbol.iterator]!=null||$e["@@iterator"]!=null)return Array.from($e)}function Pe($e,Wt){if($e){if(typeof $e=="string")return Fe($e,Wt);var jt=Object.prototype.toString.call($e).slice(8,-1);if(jt==="Object"&&$e.constructor&&(jt=$e.constructor.name),jt==="Map"||jt==="Set")return Array.from($e);if(jt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(jt))return Fe($e,Wt)}}function Ue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tt($e){return ke($e)||Ye($e)||Pe($e)||Ue()}function Ze($e){"@babel/helpers - typeof";return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Wt){return typeof Wt}:function(Wt){return Wt&&typeof Symbol=="function"&&Wt.constructor===Symbol&&Wt!==Symbol.prototype?"symbol":typeof Wt},Ze($e)}function rt($e,Wt){if(Ze($e)!="object"||!$e)return $e;var jt=$e[Symbol.toPrimitive];if(jt!==void 0){var Je=jt.call($e,Wt||"default");if(Ze(Je)!="object")return Je;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Wt==="string"?String:Number)($e)}function xt($e){var Wt=rt($e,"string");return Ze(Wt)=="symbol"?Wt:Wt+""}function Qe($e,Wt,jt){return Wt=xt(Wt),Wt in $e?Object.defineProperty($e,Wt,{value:jt,enumerable:!0,configurable:!0,writable:!0}):$e[Wt]=jt,$e}var Mt=ue(67294);function De(){return De=Object.assign?Object.assign.bind():function($e){for(var Wt=1;Wt<arguments.length;Wt++){var jt=arguments[Wt];for(var Je in jt)Object.prototype.hasOwnProperty.call(jt,Je)&&($e[Je]=jt[Je])}return $e},De.apply(this,arguments)}function te($e,Wt){var jt=Object.keys($e);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols($e);Wt&&(Je=Je.filter(function(Me){return Object.getOwnPropertyDescriptor($e,Me).enumerable})),jt.push.apply(jt,Je)}return jt}function ee($e){for(var Wt=1;Wt<arguments.length;Wt++){var jt=arguments[Wt]!=null?arguments[Wt]:{};Wt%2?te(Object(jt),!0).forEach(function(Je){Qe($e,Je,jt[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(jt)):te(Object(jt)).forEach(function(Je){Object.defineProperty($e,Je,Object.getOwnPropertyDescriptor(jt,Je))})}return $e}function de($e){var Wt=$e.length;if(Wt===0||Wt===1)return $e;if(Wt===2)return[$e[0],$e[1],"".concat($e[0],".").concat($e[1]),"".concat($e[1],".").concat($e[0])];if(Wt===3)return[$e[0],$e[1],$e[2],"".concat($e[0],".").concat($e[1]),"".concat($e[0],".").concat($e[2]),"".concat($e[1],".").concat($e[0]),"".concat($e[1],".").concat($e[2]),"".concat($e[2],".").concat($e[0]),"".concat($e[2],".").concat($e[1]),"".concat($e[0],".").concat($e[1],".").concat($e[2]),"".concat($e[0],".").concat($e[2],".").concat($e[1]),"".concat($e[1],".").concat($e[0],".").concat($e[2]),"".concat($e[1],".").concat($e[2],".").concat($e[0]),"".concat($e[2],".").concat($e[0],".").concat($e[1]),"".concat($e[2],".").concat($e[1],".").concat($e[0])];if(Wt>=4)return[$e[0],$e[1],$e[2],$e[3],"".concat($e[0],".").concat($e[1]),"".concat($e[0],".").concat($e[2]),"".concat($e[0],".").concat($e[3]),"".concat($e[1],".").concat($e[0]),"".concat($e[1],".").concat($e[2]),"".concat($e[1],".").concat($e[3]),"".concat($e[2],".").concat($e[0]),"".concat($e[2],".").concat($e[1]),"".concat($e[2],".").concat($e[3]),"".concat($e[3],".").concat($e[0]),"".concat($e[3],".").concat($e[1]),"".concat($e[3],".").concat($e[2]),"".concat($e[0],".").concat($e[1],".").concat($e[2]),"".concat($e[0],".").concat($e[1],".").concat($e[3]),"".concat($e[0],".").concat($e[2],".").concat($e[1]),"".concat($e[0],".").concat($e[2],".").concat($e[3]),"".concat($e[0],".").concat($e[3],".").concat($e[1]),"".concat($e[0],".").concat($e[3],".").concat($e[2]),"".concat($e[1],".").concat($e[0],".").concat($e[2]),"".concat($e[1],".").concat($e[0],".").concat($e[3]),"".concat($e[1],".").concat($e[2],".").concat($e[0]),"".concat($e[1],".").concat($e[2],".").concat($e[3]),"".concat($e[1],".").concat($e[3],".").concat($e[0]),"".concat($e[1],".").concat($e[3],".").concat($e[2]),"".concat($e[2],".").concat($e[0],".").concat($e[1]),"".concat($e[2],".").concat($e[0],".").concat($e[3]),"".concat($e[2],".").concat($e[1],".").concat($e[0]),"".concat($e[2],".").concat($e[1],".").concat($e[3]),"".concat($e[2],".").concat($e[3],".").concat($e[0]),"".concat($e[2],".").concat($e[3],".").concat($e[1]),"".concat($e[3],".").concat($e[0],".").concat($e[1]),"".concat($e[3],".").concat($e[0],".").concat($e[2]),"".concat($e[3],".").concat($e[1],".").concat($e[0]),"".concat($e[3],".").concat($e[1],".").concat($e[2]),"".concat($e[3],".").concat($e[2],".").concat($e[0]),"".concat($e[3],".").concat($e[2],".").concat($e[1]),"".concat($e[0],".").concat($e[1],".").concat($e[2],".").concat($e[3]),"".concat($e[0],".").concat($e[1],".").concat($e[3],".").concat($e[2]),"".concat($e[0],".").concat($e[2],".").concat($e[1],".").concat($e[3]),"".concat($e[0],".").concat($e[2],".").concat($e[3],".").concat($e[1]),"".concat($e[0],".").concat($e[3],".").concat($e[1],".").concat($e[2]),"".concat($e[0],".").concat($e[3],".").concat($e[2],".").concat($e[1]),"".concat($e[1],".").concat($e[0],".").concat($e[2],".").concat($e[3]),"".concat($e[1],".").concat($e[0],".").concat($e[3],".").concat($e[2]),"".concat($e[1],".").concat($e[2],".").concat($e[0],".").concat($e[3]),"".concat($e[1],".").concat($e[2],".").concat($e[3],".").concat($e[0]),"".concat($e[1],".").concat($e[3],".").concat($e[0],".").concat($e[2]),"".concat($e[1],".").concat($e[3],".").concat($e[2],".").concat($e[0]),"".concat($e[2],".").concat($e[0],".").concat($e[1],".").concat($e[3]),"".concat($e[2],".").concat($e[0],".").concat($e[3],".").concat($e[1]),"".concat($e[2],".").concat($e[1],".").concat($e[0],".").concat($e[3]),"".concat($e[2],".").concat($e[1],".").concat($e[3],".").concat($e[0]),"".concat($e[2],".").concat($e[3],".").concat($e[0],".").concat($e[1]),"".concat($e[2],".").concat($e[3],".").concat($e[1],".").concat($e[0]),"".concat($e[3],".").concat($e[0],".").concat($e[1],".").concat($e[2]),"".concat($e[3],".").concat($e[0],".").concat($e[2],".").concat($e[1]),"".concat($e[3],".").concat($e[1],".").concat($e[0],".").concat($e[2]),"".concat($e[3],".").concat($e[1],".").concat($e[2],".").concat($e[0]),"".concat($e[3],".").concat($e[2],".").concat($e[0],".").concat($e[1]),"".concat($e[3],".").concat($e[2],".").concat($e[1],".").concat($e[0])]}var se={};function ge($e){if($e.length===0||$e.length===1)return $e;var Wt=$e.join(".");return se[Wt]||(se[Wt]=de($e)),se[Wt]}function ve($e){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jt=arguments.length>2?arguments[2]:void 0,Je=$e.filter(function(Le){return Le!=="token"}),Me=ge(Je);return Me.reduce(function(Le,Xe){return ee(ee({},Le),jt[Xe])},Wt)}function be($e){return $e.join(" ")}function we($e,Wt){var jt=0;return function(Je){return jt+=1,Je.map(function(Me,Le){return Oe({node:Me,stylesheet:$e,useInlineStyles:Wt,key:"code-segment-".concat(jt,"-").concat(Le)})})}}function Oe($e){var Wt=$e.node,jt=$e.stylesheet,Je=$e.style,Me=Je===void 0?{}:Je,Le=$e.useInlineStyles,Xe=$e.key,dt=Wt.properties,je=Wt.type,bt=Wt.tagName,Sn=Wt.value;if(je==="text")return Sn;if(bt){var ni=we(jt,Le),ui;if(!Le)ui=ee(ee({},dt),{},{className:be(dt.className)});else{var vn=Object.keys(jt).reduce(function(ei,Ri){return Ri.split(".").forEach(function(cn){ei.includes(cn)||ei.push(cn)}),ei},[]),_n=dt.className&&dt.className.includes("token")?["token"]:[],rn=dt.className&&_n.concat(dt.className.filter(function(ei){return!vn.includes(ei)}));ui=ee(ee({},dt),{},{className:be(rn)||void 0,style:ve(dt.className,Object.assign({},dt.style,Me),jt)})}var oi=ni(Wt.children);return Mt.createElement(bt,De({key:Xe},ui),oi)}}var Ke=function($e,Wt){var jt=$e.listLanguages();return jt.indexOf(Wt)!==-1},qe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function lt($e,Wt){var jt=Object.keys($e);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols($e);Wt&&(Je=Je.filter(function(Me){return Object.getOwnPropertyDescriptor($e,Me).enumerable})),jt.push.apply(jt,Je)}return jt}function at($e){for(var Wt=1;Wt<arguments.length;Wt++){var jt=arguments[Wt]!=null?arguments[Wt]:{};Wt%2?lt(Object(jt),!0).forEach(function(Je){Qe($e,Je,jt[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(jt)):lt(Object(jt)).forEach(function(Je){Object.defineProperty($e,Je,Object.getOwnPropertyDescriptor(jt,Je))})}return $e}var ft=/\n/g;function pt($e){return $e.match(ft)}function Nt($e){var Wt=$e.lines,jt=$e.startingLineNumber,Je=$e.style;return Wt.map(function(Me,Le){var Xe=Le+jt;return Mt.createElement("span",{key:"line-".concat(Le),className:"react-syntax-highlighter-line-number",style:typeof Je=="function"?Je(Xe):Je},"".concat(Xe,`
|
|
|
`))})}function Xt($e){var Wt=$e.codeString,jt=$e.codeStyle,Je=$e.containerStyle,Me=Je===void 0?{float:"left",paddingRight:"10px"}:Je,Le=$e.numberStyle,Xe=Le===void 0?{}:Le,dt=$e.startingLineNumber;return Mt.createElement("code",{style:Object.assign({},jt,Me)},Nt({lines:Wt.replace(/\n$/,"").split(`
|
|
|
`),style:Xe,startingLineNumber:dt}))}function Zt($e){return"".concat($e.toString().length,".25em")}function yn($e,Wt){return{type:"element",tagName:"span",properties:{key:"line-number--".concat($e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:Wt},children:[{type:"text",value:$e}]}}function Ln($e,Wt,jt){var Je={display:"inline-block",minWidth:Zt(jt),paddingRight:"1em",textAlign:"right",userSelect:"none"},Me=typeof $e=="function"?$e(Wt):$e,Le=at(at({},Je),Me);return Le}function on($e){var Wt=$e.children,jt=$e.lineNumber,Je=$e.lineNumberStyle,Me=$e.largestLineNumber,Le=$e.showInlineLineNumbers,Xe=$e.lineProps,dt=Xe===void 0?{}:Xe,je=$e.className,bt=je===void 0?[]:je,Sn=$e.showLineNumbers,ni=$e.wrapLongLines,ui=typeof dt=="function"?dt(jt):dt;if(ui.className=bt,jt&&Le){var vn=Ln(Je,jt,Me);Wt.unshift(yn(jt,vn))}return ni&Sn&&(ui.style=at(at({},ui.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:ui,children:Wt}}function Bn($e){for(var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Je=0;Je<$e.length;Je++){var Me=$e[Je];if(Me.type==="text")jt.push(on({children:[Me],className:tt(new Set(Wt))}));else if(Me.children){var Le=Wt.concat(Me.properties.className);Bn(Me.children,Le).forEach(function(Xe){return jt.push(Xe)})}}return jt}function Et($e,Wt,jt,Je,Me,Le,Xe,dt,je){var bt,Sn=Bn($e.value),ni=[],ui=-1,vn=0;function _n(Xi,$t){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return on({children:Xi,lineNumber:$t,lineNumberStyle:dt,largestLineNumber:Xe,showInlineLineNumbers:Me,lineProps:jt,className:_e,showLineNumbers:Je,wrapLongLines:je})}function rn(Xi,$t){if(Je&&$t&&Me){var _e=Ln(dt,$t,Xe);Xi.unshift(yn($t,_e))}return Xi}function oi(Xi,$t){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Wt||_e.length>0?_n(Xi,$t,_e):rn(Xi,$t)}for(var ei=function(){var $t=Sn[vn],_e=$t.children[0].value,xr=pt(_e);if(xr){var er=_e.split(`
|
|
|
`);er.forEach(function(ai,Rr){var Lr=Je&&ni.length+Le,Ii={type:"text",value:"".concat(ai,`
|
|
|
`)};if(Rr===0){var ar=Sn.slice(ui+1,vn).concat(on({children:[Ii],className:$t.properties.className})),hi=oi(ar,Lr);ni.push(hi)}else if(Rr===er.length-1){var Qt=Sn[vn+1]&&Sn[vn+1].children&&Sn[vn+1].children[0],Wr={type:"text",value:"".concat(ai)};if(Qt){var oo=on({children:[Wr],className:$t.properties.className});Sn.splice(vn+1,0,oo)}else{var dr=[Wr],xo=oi(dr,Lr,$t.properties.className);ni.push(xo)}}else{var yr=[Ii],On=oi(yr,Lr,$t.properties.className);ni.push(On)}}),ui=vn}vn++};vn<Sn.length;)ei();if(ui!==Sn.length-1){var Ri=Sn.slice(ui+1,Sn.length);if(Ri&&Ri.length){var cn=Je&&ni.length+Le,tr=oi(Ri,cn);ni.push(tr)}}return Wt?ni:(bt=[]).concat.apply(bt,ni)}function nt($e){var Wt=$e.rows,jt=$e.stylesheet,Je=$e.useInlineStyles;return Wt.map(function(Me,Le){return Oe({node:Me,stylesheet:jt,useInlineStyles:Je,key:"code-segement".concat(Le)})})}function ot($e){return $e&&typeof $e.highlightAuto!="undefined"}function Jt($e){var Wt=$e.astGenerator,jt=$e.language,Je=$e.code,Me=$e.defaultCodeValue;if(ot(Wt)){var Le=Ke(Wt,jt);return jt==="text"?{value:Me,language:"text"}:Le?Wt.highlight(jt,Je):Wt.highlightAuto(Je)}try{return jt&&jt!=="text"?{value:Wt.highlight(Je,jt)}:{value:Me}}catch(Xe){return{value:Me}}}function In($e,Wt){return function(Je){var Me=Je.language,Le=Je.children,Xe=Je.style,dt=Xe===void 0?Wt:Xe,je=Je.customStyle,bt=je===void 0?{}:je,Sn=Je.codeTagProps,ni=Sn===void 0?{className:Me?"language-".concat(Me):void 0,style:at(at({},dt['code[class*="language-"]']),dt['code[class*="language-'.concat(Me,'"]')])}:Sn,ui=Je.useInlineStyles,vn=ui===void 0?!0:ui,_n=Je.showLineNumbers,rn=_n===void 0?!1:_n,oi=Je.showInlineLineNumbers,ei=oi===void 0?!0:oi,Ri=Je.startingLineNumber,cn=Ri===void 0?1:Ri,tr=Je.lineNumberContainerStyle,Xi=Je.lineNumberStyle,$t=Xi===void 0?{}:Xi,_e=Je.wrapLines,xr=Je.wrapLongLines,er=xr===void 0?!1:xr,ai=Je.lineProps,Rr=ai===void 0?{}:ai,Lr=Je.renderer,Ii=Je.PreTag,ar=Ii===void 0?"pre":Ii,hi=Je.CodeTag,Qt=hi===void 0?"code":hi,Wr=Je.code,oo=Wr===void 0?(Array.isArray(Le)?Le[0]:Le)||"":Wr,dr=Je.astGenerator,xo=Ae(Je,qe);dr=dr||$e;var yr=rn?Mt.createElement(Xt,{containerStyle:tr,codeStyle:ni.style||{},numberStyle:$t,startingLineNumber:cn,codeString:oo}):null,On=dt.hljs||dt['pre[class*="language-"]']||{backgroundColor:"#fff"},Ie=ot(dr)?"hljs":"prismjs",Mn=vn?Object.assign({},xo,{style:Object.assign({},On,bt)}):Object.assign({},xo,{className:xo.className?"".concat(Ie," ").concat(xo.className):Ie,style:Object.assign({},bt)});if(er?ni.style=at(at({},ni.style),{},{whiteSpace:"pre-wrap"}):ni.style=at(at({},ni.style),{},{whiteSpace:"pre"}),!dr)return Mt.createElement(ar,Mn,yr,Mt.createElement(Qt,ni,oo));(_e===void 0&&Lr||er)&&(_e=!0),Lr=Lr||nt;var Kn=[{type:"text",value:oo}],ri=Jt({astGenerator:dr,language:Me,code:oo,defaultCodeValue:Kn});ri.language===null&&(ri.value=Kn);var fi=ri.value.length+cn,vi=Et(ri,_e,Rr,rn,ei,cn,fi,$t,er);return Mt.createElement(ar,Mn,Mt.createElement(Qt,ni,!ei&&yr,Lr({rows:vi,stylesheet:dt,useInlineStyles:vn})))}}var Gt={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},An=ue(98695),Nn=ue.n(An),di=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],At=In(Nn(),Gt);At.supportedLanguages=di;var Ot=At},86032:function(Re,xe){"use strict";xe.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},75251:function(Re,xe,ue){"use strict";ue(27418);var ce=ue(67294),Ae=60103;if(xe.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var Fe=Symbol.for;Ae=Fe("react.element"),xe.Fragment=Fe("react.fragment")}var ke=ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ye=Object.prototype.hasOwnProperty,Pe={key:!0,ref:!0,__self:!0,__source:!0};function Ue(tt,Ze,rt){var xt,Qe={},Mt=null,De=null;rt!==void 0&&(Mt=""+rt),Ze.key!==void 0&&(Mt=""+Ze.key),Ze.ref!==void 0&&(De=Ze.ref);for(xt in Ze)Ye.call(Ze,xt)&&!Pe.hasOwnProperty(xt)&&(Qe[xt]=Ze[xt]);if(tt&&tt.defaultProps)for(xt in Ze=tt.defaultProps,Ze)Qe[xt]===void 0&&(Qe[xt]=Ze[xt]);return{$$typeof:Ae,type:tt,key:Mt,ref:De,props:Qe,_owner:ke.current}}xe.jsx=Ue,xe.jsxs=Ue},85893:function(Re,xe,ue){"use strict";Re.exports=ue(75251)},11215:function(Re,xe,ue){"use strict";var ce=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof ue.g=="object"?ue.g:{},Ae=we();ce.Prism={manual:!0,disableWorkerMessageHandler:!0};var Fe=ue(90871),ke=ue(57574),Ye=ue(59216),Pe=ue(2717),Ue=ue(12049),tt=ue(29726),Ze=ue(36155);Ae();var rt={}.hasOwnProperty;function xt(){}xt.prototype=Ye;var Qe=new xt;Re.exports=Qe,Qe.highlight=te,Qe.register=Mt,Qe.alias=De,Qe.registered=ee,Qe.listLanguages=de,Mt(Pe),Mt(Ue),Mt(tt),Mt(Ze),Qe.util.encode=ve,Qe.Token.stringify=se;function Mt(Oe){if(typeof Oe!="function"||!Oe.displayName)throw new Error("Expected `function` for `grammar`, got `"+Oe+"`");Qe.languages[Oe.displayName]===void 0&&Oe(Qe)}function De(Oe,Ke){var qe=Qe.languages,lt=Oe,at,ft,pt,Nt;Ke&&(lt={},lt[Oe]=Ke);for(at in lt)for(ft=lt[at],ft=typeof ft=="string"?[ft]:ft,pt=ft.length,Nt=-1;++Nt<pt;)qe[ft[Nt]]=qe[at]}function te(Oe,Ke){var qe=Ye.highlight,lt;if(typeof Oe!="string")throw new Error("Expected `string` for `value`, got `"+Oe+"`");if(Qe.util.type(Ke)==="Object")lt=Ke,Ke=null;else{if(typeof Ke!="string")throw new Error("Expected `string` for `name`, got `"+Ke+"`");if(rt.call(Qe.languages,Ke))lt=Qe.languages[Ke];else throw new Error("Unknown language: `"+Ke+"` is not registered")}return qe.call(this,Oe,lt,Ke)}function ee(Oe){if(typeof Oe!="string")throw new Error("Expected `string` for `language`, got `"+Oe+"`");return rt.call(Qe.languages,Oe)}function de(){var Oe=Qe.languages,Ke=[],qe;for(qe in Oe)rt.call(Oe,qe)&&typeof Oe[qe]=="object"&&Ke.push(qe);return Ke}function se(Oe,Ke,qe){var lt;return typeof Oe=="string"?{type:"text",value:Oe}:Qe.util.type(Oe)==="Array"?ge(Oe,Ke):(lt={type:Oe.type,content:Qe.Token.stringify(Oe.content,Ke,qe),tag:"span",classes:["token",Oe.type],attributes:{},language:Ke,parent:qe},Oe.alias&&(lt.classes=lt.classes.concat(Oe.alias)),Qe.hooks.run("wrap",lt),Fe(lt.tag+"."+lt.classes.join("."),be(lt.attributes),lt.content))}function ge(Oe,Ke){for(var qe=[],lt=Oe.length,at=-1,ft;++at<lt;)ft=Oe[at],ft!==""&&ft!==null&&ft!==void 0&&qe.push(ft);for(at=-1,lt=qe.length;++at<lt;)ft=qe[at],qe[at]=Qe.Token.stringify(ft,Ke,qe);return qe}function ve(Oe){return Oe}function be(Oe){var Ke;for(Ke in Oe)Oe[Ke]=ke(Oe[Ke]);return Oe}function we(){var Oe="Prism"in ce,Ke=Oe?ce.Prism:void 0;return qe;function qe(){Oe?ce.Prism=Ke:delete ce.Prism,Oe=void 0,Ke=void 0}}},98695:function(Re,xe,ue){"use strict";var ce=ue(11215);Re.exports=ce,ce.register(ue(36167)),ce.register(ue(68313)),ce.register(ue(5199)),ce.register(ue(89693)),ce.register(ue(24001)),ce.register(ue(18018)),ce.register(ue(36363)),ce.register(ue(35281)),ce.register(ue(10433)),ce.register(ue(84039)),ce.register(ue(71336)),ce.register(ue(4481)),ce.register(ue(2159)),ce.register(ue(60274)),ce.register(ue(18738)),ce.register(ue(58572)),ce.register(ue(28937)),ce.register(ue(78734)),ce.register(ue(6681)),ce.register(ue(53358)),ce.register(ue(81700)),ce.register(ue(37219)),ce.register(ue(6979)),ce.register(ue(46241)),ce.register(ue(94781)),ce.register(ue(62260)),ce.register(ue(36153)),ce.register(ue(59258)),ce.register(ue(62890)),ce.register(ue(15958)),ce.register(ue(61321)),ce.register(ue(77856)),ce.register(ue(90741)),ce.register(ue(83410)),ce.register(ue(65806)),ce.register(ue(33039)),ce.register(ue(85082)),ce.register(ue(79415)),ce.register(ue(62849)),ce.register(ue(55773)),ce.register(ue(32762)),ce.register(ue(43576)),ce.register(ue(71794)),ce.register(ue(1315)),ce.register(ue(80096)),ce.register(ue(99176)),ce.register(ue(61958)),ce.register(ue(90312)),ce.register(ue(65447)),ce.register(ue(4762)),ce.register(ue(78090)),ce.register(ue(40315)),ce.register(ue(7902)),ce.register(ue(28651)),ce.register(ue(55579)),ce.register(ue(93685)),ce.register(ue(13934)),ce.register(ue(93336)),ce.register(ue(13294)),ce.register(ue(38223)),ce.register(ue(97266)),ce.register(ue(77125)),ce.register(ue(36500)),ce.register(ue(30296)),ce.register(ue(50115)),ce.register(ue(20791)),ce.register(ue(11974)),ce.register(ue(8645)),ce.register(ue(84790)),ce.register(ue(4502)),ce.register(ue(66055)),ce.register(ue(34668)),ce.register(ue(95126)),ce.register(ue(90618)),ce.register(ue(63128)),ce.register(ue(37225)),ce.register(ue(16725)),ce.register(ue(95559)),ce.register(ue(82114)),ce.register(ue(6806)),ce.register(ue(12208)),ce.register(ue(62728)),ce.register(ue(81549)),ce.register(ue(6024)),ce.register(ue(13600)),ce.register(ue(3322)),ce.register(ue(53877)),ce.register(ue(60794)),ce.register(ue(20222)),ce.register(ue(51519)),ce.register(ue(94055)),ce.register(ue(43826)),ce.register(ue(29536)),ce.register(ue(82834)),ce.register(ue(58090)),ce.register(ue(95121)),ce.register(ue(59904)),ce.register(ue(9436)),ce.register(ue(60591)),ce.register(ue(76942)),ce.register(ue(60561)),ce.register(ue(49660)),ce.register(ue(30615)),ce.register(ue(93865)),ce.register(ue(51078)),ce.register(ue(91178)),ce.register(ue(40011)),ce.register(ue(12017)),ce.register(ue(65175)),ce.register(ue(14970)),ce.register(ue(30764)),ce.register(ue(87624)),ce.register(ue(15909)),ce.register(ue(36553)),ce.register(ue(9858)),ce.register(ue(11223)),ce.register(ue(57957)),ce.register(ue(66604)),ce.register(ue(77935)),ce.register(ue(46155)),ce.register(ue(47359)),ce.register(ue(25319)),ce.register(ue(45950)),ce.register(ue(50235)),ce.register(ue(80963)),ce.register(ue(79358)),ce.register(ue(96412)),ce.register(ue(39259)),ce.register(ue(32409)),ce.register(ue(35760)),ce.register(ue(19715)),ce.register(ue(27614)),ce.register(ue(82819)),ce.register(ue(42876)),ce.register(ue(2980)),ce.register(ue(41701)),ce.register(ue(42491)),ce.register(ue(34927)),ce.register(ue(3848)),ce.register(ue(41469)),ce.register(ue(73070)),ce.register(ue(35049)),ce.register(ue(8789)),ce.register(ue(59803)),ce.register(ue(86328)),ce.register(ue(33055)),ce.register(ue(90542)),ce.register(ue(93205)),ce.register(ue(27992)),ce.register(ue(91115)),ce.register(ue(606)),ce.register(ue(68582)),ce.register(ue(23388)),ce.register(ue(90596)),ce.register(ue(95721)),ce.register(ue(64262)),ce.register(ue(18190)),ce.register(ue(70896)),ce.register(ue(42242)),ce.register(ue(37943)),ce.register(ue(293)),ce.register(ue(83873)),ce.register(ue(75932)),ce.register(ue(60221)),ce.register(ue(44188)),ce.register(ue(74426)),ce.register(ue(88447)),ce.register(ue(16032)),ce.register(ue(33607)),ce.register(ue(22001)),ce.register(ue(22950)),ce.register(ue(23254)),ce.register(ue(70558)),ce.register(ue(43273)),ce.register(ue(60718)),ce.register(ue(39303)),ce.register(ue(77393)),ce.register(ue(19023)),ce.register(ue(74212)),ce.register(ue(5137)),ce.register(ue(88262)),ce.register(ue(63632)),ce.register(ue(59149)),ce.register(ue(50256)),ce.register(ue(61777)),ce.register(ue(3623)),ce.register(ue(82707)),ce.register(ue(59338)),ce.register(ue(56267)),ce.register(ue(98809)),ce.register(ue(37548)),ce.register(ue(82161)),ce.register(ue(80625)),ce.register(ue(88393)),ce.register(ue(78404)),ce.register(ue(92923)),ce.register(ue(52992)),ce.register(ue(55762)),ce.register(ue(4137)),ce.register(ue(28260)),ce.register(ue(71360)),ce.register(ue(29308)),ce.register(ue(32168)),ce.register(ue(5755)),ce.register(ue(54105)),ce.register(ue(93503)),ce.register(ue(35108)),ce.register(ue(46678)),ce.register(ue(47496)),ce.register(ue(30527)),ce.register(ue(5261)),ce.register(ue(56939)),ce.register(ue(83648)),ce.register(ue(16009)),ce.register(ue(41720)),ce.register(ue(6054)),ce.register(ue(9997)),ce.register(ue(24296)),ce.register(ue(49246)),ce.register(ue(18890)),ce.register(ue(11037)),ce.register(ue(64020)),ce.register(ue(49760)),ce.register(ue(33351)),ce.register(ue(13570)),ce.register(ue(38181)),ce.register(ue(98774)),ce.register(ue(22855)),ce.register(ue(29611)),ce.register(ue(11114)),ce.register(ue(67386)),ce.register(ue(28067)),ce.register(ue(49168)),ce.register(ue(23651)),ce.register(ue(21483)),ce.register(ue(32268)),ce.register(ue(2329)),ce.register(ue(82996)),ce.register(ue(17290)),ce.register(ue(67989)),ce.register(ue(31065)),ce.register(ue(85572)),ce.register(ue(27536)),ce.register(ue(87041)),ce.register(ue(61028)),ce.register(ue(24691)),ce.register(ue(19892)),ce.register(ue(4979)),ce.register(ue(23159)),ce.register(ue(34966)),ce.register(ue(44623)),ce.register(ue(38521)),ce.register(ue(7255)),ce.register(ue(28173)),ce.register(ue(53813)),ce.register(ue(46891)),ce.register(ue(91824)),ce.register(ue(9447)),ce.register(ue(53062)),ce.register(ue(46215)),ce.register(ue(10784)),ce.register(ue(17684)),ce.register(ue(64851)),ce.register(ue(18191)),ce.register(ue(75242)),ce.register(ue(93639)),ce.register(ue(97202)),ce.register(ue(13808)),ce.register(ue(21301)),ce.register(ue(20349)),ce.register(ue(65039)),ce.register(ue(96319)),ce.register(ue(31501))},36167:function(Re){"use strict";Re.exports=xe,xe.displayName="abap",xe.aliases=[];function xe(ue){ue.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},68313:function(Re){"use strict";Re.exports=xe,xe.displayName="abnf",xe.aliases=[];function xe(ue){(function(ce){var Ae="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";ce.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+Ae+"|<"+Ae+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(ue)}},5199:function(Re){"use strict";Re.exports=xe,xe.displayName="actionscript",xe.aliases=[];function xe(ue){ue.languages.actionscript=ue.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),ue.languages.actionscript["class-name"].alias="function",delete ue.languages.actionscript.parameter,delete ue.languages.actionscript["literal-property"],ue.languages.markup&&ue.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:ue.languages.markup}})}},89693:function(Re){"use strict";Re.exports=xe,xe.displayName="ada",xe.aliases=[];function xe(ue){ue.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},24001:function(Re){"use strict";Re.exports=xe,xe.displayName="agda",xe.aliases=[];function xe(ue){(function(ce){ce.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(ue)}},18018:function(Re){"use strict";Re.exports=xe,xe.displayName="al",xe.aliases=[];function xe(ue){ue.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},36363:function(Re){"use strict";Re.exports=xe,xe.displayName="antlr4",xe.aliases=["g4"];function xe(ue){ue.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},ue.languages.g4=ue.languages.antlr4}},35281:function(Re){"use strict";Re.exports=xe,xe.displayName="apacheconf",xe.aliases=[];function xe(ue){ue.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},10433:function(Re,xe,ue){"use strict";var ce=ue(11114);Re.exports=Ae,Ae.displayName="apex",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){var Ye=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,Pe=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return Ye.source});function Ue(Ze){return RegExp(Ze.replace(/<CLASS-NAME>/g,function(){return Pe}),"i")}var tt={keyword:Ye,punctuation:/[()\[\]{};,:.<>]/};ke.languages.apex={comment:ke.languages.clike.comment,string:ke.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:ke.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:Ue(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:tt},{pattern:Ue(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:tt},{pattern:Ue(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:tt}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:Ye,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(Fe)}},84039:function(Re){"use strict";Re.exports=xe,xe.displayName="apl",xe.aliases=[];function xe(ue){ue.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},71336:function(Re){"use strict";Re.exports=xe,xe.displayName="applescript",xe.aliases=[];function xe(ue){ue.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},4481:function(Re){"use strict";Re.exports=xe,xe.displayName="aql",xe.aliases=[];function xe(ue){ue.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},2159:function(Re,xe,ue){"use strict";var ce=ue(80096);Re.exports=Ae,Ae.displayName="arduino",Ae.aliases=["ino"];function Ae(Fe){Fe.register(ce),Fe.languages.arduino=Fe.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),Fe.languages.ino=Fe.languages.arduino}},60274:function(Re){"use strict";Re.exports=xe,xe.displayName="arff",xe.aliases=[];function xe(ue){ue.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},18738:function(Re){"use strict";Re.exports=xe,xe.displayName="asciidoc",xe.aliases=["adoc"];function xe(ue){(function(ce){var Ae={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},Fe=ce.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:Ae,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:Ae.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:Ae,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function ke(Ye){Ye=Ye.split(" ");for(var Pe={},Ue=0,tt=Ye.length;Ue<tt;Ue++)Pe[Ye[Ue]]=Fe[Ye[Ue]];return Pe}Ae.inside.interpreted.inside.rest=ke("macro inline replacement entity"),Fe["passthrough-block"].inside.rest=ke("macro"),Fe["literal-block"].inside.rest=ke("callout"),Fe.table.inside.rest=ke("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),Fe["other-block"].inside.rest=ke("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),Fe.title.inside.rest=ke("macro inline replacement entity"),ce.hooks.add("wrap",function(Ye){Ye.type==="entity"&&(Ye.attributes.title=Ye.content.value.replace(/&/,"&"))}),ce.languages.adoc=ce.languages.asciidoc})(ue)}},58572:function(Re){"use strict";Re.exports=xe,xe.displayName="asm6502",xe.aliases=[];function xe(ue){ue.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}},28937:function(Re){"use strict";Re.exports=xe,xe.displayName="asmatmel",xe.aliases=[];function xe(ue){ue.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},78734:function(Re,xe,ue){"use strict";var ce=ue(61958);Re.exports=Ae,Ae.displayName="aspnet",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.aspnet=Fe.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:Fe.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:Fe.languages.csharp}}}),Fe.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,Fe.languages.insertBefore("inside","punctuation",{directive:Fe.languages.aspnet.directive},Fe.languages.aspnet.tag.inside["attr-value"]),Fe.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),Fe.languages.insertBefore("aspnet",Fe.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:Fe.languages.csharp||{}}})}},6681:function(Re){"use strict";Re.exports=xe,xe.displayName="autohotkey",xe.aliases=[];function xe(ue){ue.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},53358:function(Re){"use strict";Re.exports=xe,xe.displayName="autoit",xe.aliases=[];function xe(ue){ue.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},81700:function(Re){"use strict";Re.exports=xe,xe.displayName="avisynth",xe.aliases=["avs"];function xe(ue){(function(ce){function Ae(Ze,rt){return Ze.replace(/<<(\d+)>>/g,function(xt,Qe){return rt[+Qe]})}function Fe(Ze,rt,xt){return RegExp(Ae(Ze,rt),xt||"")}var ke=/bool|clip|float|int|string|val/.source,Ye=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),Pe=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),Ue=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),tt=[Ye,Pe,Ue].join("|");ce.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:Fe(/\b(?:<<0>>)\s+("?)\w+\1/.source,[ke],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:Fe(/\b(?:<<0>>)\b/.source,[tt],"i"),alias:"function"},"type-cast":{pattern:Fe(/\b(?:<<0>>)(?=\s*\()/.source,[ke],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},ce.languages.avs=ce.languages.avisynth})(ue)}},37219:function(Re){"use strict";Re.exports=xe,xe.displayName="avroIdl",xe.aliases=[];function xe(ue){ue.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},ue.languages.avdl=ue.languages["avro-idl"]}},6979:function(Re){"use strict";Re.exports=xe,xe.displayName="bash",xe.aliases=["shell"];function xe(ue){(function(ce){var Ae="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",Fe={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},ke={bash:Fe,environment:{pattern:RegExp("\\$"+Ae),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+Ae),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};ce.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+Ae),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:ke},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:Fe}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:ke},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:ke.entity}}],environment:{pattern:RegExp("\\$?"+Ae),alias:"constant"},variable:ke.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},Fe.inside=ce.languages.bash;for(var Ye=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],Pe=ke.variable[1].inside,Ue=0;Ue<Ye.length;Ue++)Pe[Ye[Ue]]=ce.languages.bash[Ye[Ue]];ce.languages.shell=ce.languages.bash})(ue)}},46241:function(Re){"use strict";Re.exports=xe,xe.displayName="basic",xe.aliases=[];function xe(ue){ue.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},94781:function(Re){"use strict";Re.exports=xe,xe.displayName="batch",xe.aliases=[];function xe(ue){(function(ce){var Ae=/%%?[~:\w]+%?|!\S+!/,Fe={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},ke=/"(?:[\\"]"|[^"])*"(?!")/,Ye=/(?:\b|-)\d+\b/;ce.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:ke,parameter:Fe,variable:Ae,number:Ye,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:ke,parameter:Fe,variable:Ae,number:Ye,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:ke,parameter:Fe,variable:[Ae,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:Ye,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:ke,parameter:Fe,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:Ae,number:Ye,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(ue)}},62260:function(Re){"use strict";Re.exports=xe,xe.displayName="bbcode",xe.aliases=["shortcode"];function xe(ue){ue.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},ue.languages.shortcode=ue.languages.bbcode}},36153:function(Re){"use strict";Re.exports=xe,xe.displayName="bicep",xe.aliases=[];function xe(ue){ue.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},ue.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=ue.languages.bicep}},59258:function(Re){"use strict";Re.exports=xe,xe.displayName="birb",xe.aliases=[];function xe(ue){ue.languages.birb=ue.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),ue.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},62890:function(Re,xe,ue){"use strict";var ce=ue(65806);Re.exports=Ae,Ae.displayName="bison",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.bison=Fe.languages.extend("c",{}),Fe.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:Fe.languages.c}},comment:Fe.languages.c.comment,string:Fe.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},15958:function(Re){"use strict";Re.exports=xe,xe.displayName="bnf",xe.aliases=["rbnf"];function xe(ue){ue.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},ue.languages.rbnf=ue.languages.bnf}},61321:function(Re){"use strict";Re.exports=xe,xe.displayName="brainfuck",xe.aliases=[];function xe(ue){ue.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},77856:function(Re){"use strict";Re.exports=xe,xe.displayName="brightscript",xe.aliases=[];function xe(ue){ue.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},ue.languages.brightscript["directive-statement"].inside.expression.inside=ue.languages.brightscript}},90741:function(Re){"use strict";Re.exports=xe,xe.displayName="bro",xe.aliases=[];function xe(ue){ue.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},83410:function(Re){"use strict";Re.exports=xe,xe.displayName="bsl",xe.aliases=[];function xe(ue){ue.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},ue.languages.oscript=ue.languages.bsl}},65806:function(Re){"use strict";Re.exports=xe,xe.displayName="c",xe.aliases=[];function xe(ue){ue.languages.c=ue.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),ue.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),ue.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},ue.languages.c.string],char:ue.languages.c.char,comment:ue.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:ue.languages.c}}}}),ue.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete ue.languages.c.boolean}},33039:function(Re){"use strict";Re.exports=xe,xe.displayName="cfscript",xe.aliases=[];function xe(ue){ue.languages.cfscript=ue.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),ue.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete ue.languages.cfscript["class-name"],ue.languages.cfc=ue.languages.cfscript}},85082:function(Re,xe,ue){"use strict";var ce=ue(80096);Re.exports=Ae,Ae.displayName="chaiscript",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.chaiscript=Fe.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[Fe.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),Fe.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),Fe.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:Fe.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},79415:function(Re){"use strict";Re.exports=xe,xe.displayName="cil",xe.aliases=[];function xe(ue){ue.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},29726:function(Re){"use strict";Re.exports=xe,xe.displayName="clike",xe.aliases=[];function xe(ue){ue.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},62849:function(Re){"use strict";Re.exports=xe,xe.displayName="clojure",xe.aliases=[];function xe(ue){ue.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},55773:function(Re){"use strict";Re.exports=xe,xe.displayName="cmake",xe.aliases=[];function xe(ue){ue.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},32762:function(Re){"use strict";Re.exports=xe,xe.displayName="cobol",xe.aliases=[];function xe(ue){ue.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},43576:function(Re){"use strict";Re.exports=xe,xe.displayName="coffeescript",xe.aliases=["coffee"];function xe(ue){(function(ce){var Ae=/#(?!\{).+/,Fe={pattern:/#\{[^}]+\}/,alias:"variable"};ce.languages.coffeescript=ce.languages.extend("javascript",{comment:Ae,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:Fe}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),ce.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:Ae,interpolation:Fe}}}),ce.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:ce.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:Fe}}]}),ce.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete ce.languages.coffeescript["template-string"],ce.languages.coffee=ce.languages.coffeescript})(ue)}},71794:function(Re){"use strict";Re.exports=xe,xe.displayName="concurnas",xe.aliases=["conc"];function xe(ue){ue.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},ue.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:ue.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:ue.languages.concurnas},string:/[\s\S]+/}}}),ue.languages.conc=ue.languages.concurnas}},1315:function(Re){"use strict";Re.exports=xe,xe.displayName="coq",xe.aliases=[];function xe(ue){(function(ce){for(var Ae=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,Fe=0;Fe<2;Fe++)Ae=Ae.replace(/<self>/g,function(){return Ae});Ae=Ae.replace(/<self>/g,"[]"),ce.languages.coq={comment:RegExp(Ae),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return Ae})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(Ae),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(ue)}},80096:function(Re,xe,ue){"use strict";var ce=ue(65806);Re.exports=Ae,Ae.displayName="cpp",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){var Ye=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Pe=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return Ye.source});ke.languages.cpp=ke.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return Ye.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:Ye,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),ke.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return Pe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),ke.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:ke.languages.cpp}}}}),ke.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),ke.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:ke.languages.extend("cpp",{})}}),ke.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},ke.languages.cpp["base-clause"])}(Fe)}},99176:function(Re,xe,ue){"use strict";var ce=ue(56939);Re.exports=Ae,Ae.displayName="crystal",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.crystal=ke.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,ke.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),ke.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:ke.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:ke.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(Fe)}},61958:function(Re){"use strict";Re.exports=xe,xe.displayName="csharp",xe.aliases=["dotnet","cs"];function xe(ue){(function(ce){function Ae(Bn,Et){return Bn.replace(/<<(\d+)>>/g,function(nt,ot){return"(?:"+Et[+ot]+")"})}function Fe(Bn,Et,nt){return RegExp(Ae(Bn,Et),nt||"")}function ke(Bn,Et){for(var nt=0;nt<Et;nt++)Bn=Bn.replace(/<<self>>/g,function(){return"(?:"+Bn+")"});return Bn.replace(/<<self>>/g,"[^\\s\\S]")}var Ye={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function Pe(Bn){return"\\b(?:"+Bn.trim().replace(/ /g,"|")+")\\b"}var Ue=Pe(Ye.typeDeclaration),tt=RegExp(Pe(Ye.type+" "+Ye.typeDeclaration+" "+Ye.contextual+" "+Ye.other)),Ze=Pe(Ye.typeDeclaration+" "+Ye.contextual+" "+Ye.other),rt=Pe(Ye.type+" "+Ye.typeDeclaration+" "+Ye.other),xt=ke(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),Qe=ke(/\((?:[^()]|<<self>>)*\)/.source,2),Mt=/@?\b[A-Za-z_]\w*\b/.source,De=Ae(/<<0>>(?:\s*<<1>>)?/.source,[Mt,xt]),te=Ae(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Ze,De]),ee=/\[\s*(?:,\s*)*\]/.source,de=Ae(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[te,ee]),se=Ae(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[xt,Qe,ee]),ge=Ae(/\(<<0>>+(?:,<<0>>+)+\)/.source,[se]),ve=Ae(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[ge,te,ee]),be={keyword:tt,punctuation:/[<>()?,.:[\]]/},we=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Oe=/"(?:\\.|[^\\"\r\n])*"/.source,Ke=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;ce.languages.csharp=ce.languages.extend("clike",{string:[{pattern:Fe(/(^|[^$\\])<<0>>/.source,[Ke]),lookbehind:!0,greedy:!0},{pattern:Fe(/(^|[^@$\\])<<0>>/.source,[Oe]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:Fe(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[te]),lookbehind:!0,inside:be},{pattern:Fe(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[Mt,ve]),lookbehind:!0,inside:be},{pattern:Fe(/(\busing\s+)<<0>>(?=\s*=)/.source,[Mt]),lookbehind:!0},{pattern:Fe(/(\b<<0>>\s+)<<1>>/.source,[Ue,De]),lookbehind:!0,inside:be},{pattern:Fe(/(\bcatch\s*\(\s*)<<0>>/.source,[te]),lookbehind:!0,inside:be},{pattern:Fe(/(\bwhere\s+)<<0>>/.source,[Mt]),lookbehind:!0},{pattern:Fe(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[de]),lookbehind:!0,inside:be},{pattern:Fe(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[ve,rt,Mt]),inside:be}],keyword:tt,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),ce.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),ce.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:Fe(/([(,]\s*)<<0>>(?=\s*:)/.source,[Mt]),lookbehind:!0,alias:"punctuation"}}),ce.languages.insertBefore("csharp","class-name",{namespace:{pattern:Fe(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[Mt]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:Fe(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[Qe]),lookbehind:!0,alias:"class-name",inside:be},"return-type":{pattern:Fe(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[ve,te]),inside:be,alias:"class-name"},"constructor-invocation":{pattern:Fe(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[ve]),lookbehind:!0,inside:be,alias:"class-name"},"generic-method":{pattern:Fe(/<<0>>\s*<<1>>(?=\s*\()/.source,[Mt,xt]),inside:{function:Fe(/^<<0>>/.source,[Mt]),generic:{pattern:RegExp(xt),alias:"class-name",inside:be}}},"type-list":{pattern:Fe(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[Ue,De,Mt,ve,tt.source,Qe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:Fe(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[De,Qe]),lookbehind:!0,greedy:!0,inside:ce.languages.csharp},keyword:tt,"class-name":{pattern:RegExp(ve),greedy:!0,inside:be},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var qe=Oe+"|"+we,lt=Ae(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[qe]),at=ke(Ae(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[lt]),2),ft=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,pt=Ae(/<<0>>(?:\s*\(<<1>>*\))?/.source,[te,at]);ce.languages.insertBefore("csharp","class-name",{attribute:{pattern:Fe(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[ft,pt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:Fe(/^<<0>>(?=\s*:)/.source,[ft]),alias:"keyword"},"attribute-arguments":{pattern:Fe(/\(<<0>>*\)/.source,[at]),inside:ce.languages.csharp},"class-name":{pattern:RegExp(te),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Nt=/:[^}\r\n]+/.source,Xt=ke(Ae(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[lt]),2),Zt=Ae(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Xt,Nt]),yn=ke(Ae(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[qe]),2),Ln=Ae(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[yn,Nt]);function on(Bn,Et){return{interpolation:{pattern:Fe(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Bn]),lookbehind:!0,inside:{"format-string":{pattern:Fe(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Et,Nt]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:ce.languages.csharp}}},string:/[\s\S]+/}}ce.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:Fe(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Zt]),lookbehind:!0,greedy:!0,inside:on(Zt,Xt)},{pattern:Fe(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Ln]),lookbehind:!0,greedy:!0,inside:on(Ln,yn)}],char:{pattern:RegExp(we),greedy:!0}}),ce.languages.dotnet=ce.languages.cs=ce.languages.csharp})(ue)}},90312:function(Re,xe,ue){"use strict";var ce=ue(61958);Re.exports=Ae,Ae.displayName="cshtml",Ae.aliases=["razor"];function Ae(Fe){Fe.register(ce),function(ke){var Ye=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,Pe=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function Ue(de,se){for(var ge=0;ge<se;ge++)de=de.replace(/<self>/g,function(){return"(?:"+de+")"});return de.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+Pe+")").replace(/<comment>/g,"(?:"+Ye+")")}var tt=Ue(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),Ze=Ue(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),rt=Ue(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),xt=Ue(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),Qe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,Mt=/(?!\d)[^\s>\/=$<%]+/.source+Qe+/\s*\/?>/.source,De=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+Qe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Mt+"|"+Ue(/<\1/.source+Qe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+Mt+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+Mt+")";ke.languages.cshtml=ke.languages.extend("markup",{});var te=ke.languages.insertBefore("csharp","string",{html:{pattern:RegExp(De),greedy:!0,inside:ke.languages.cshtml}},{csharp:ke.languages.extend("csharp",{})}),ee={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:te};ke.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[rt,/(?:code|functions)\s*/.source+rt,/(?:for|foreach|lock|switch|using|while)\s*/.source+tt+/\s*/.source+rt,/do\s*/.source+rt+/\s*while\s*/.source+tt+/(?:\s*;)?/.source,/try\s*/.source+rt+/\s*catch\s*/.source+tt+/\s*/.source+rt+/\s*finally\s*/.source+rt,/if\s*/.source+tt+/\s*/.source+rt+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+tt+")?"+/\s*/.source+rt+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:ee}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:ee}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+tt+")(?:"+/[?!]?\.\w+\b/.source+"|"+tt+"|"+Ze+"|"+xt+tt+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:ee}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),ke.languages.razor=ke.languages.cshtml}(Fe)}},65447:function(Re){"use strict";Re.exports=xe,xe.displayName="csp",xe.aliases=[];function xe(ue){(function(ce){function Ae(Fe){return RegExp(/([ \t])/.source+"(?:"+Fe+")"+/(?=[\s;]|$)/.source,"i")}ce.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:Ae(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:Ae(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:Ae(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:Ae(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:Ae(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:Ae(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:Ae(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(ue)}},4762:function(Re){"use strict";Re.exports=xe,xe.displayName="cssExtras",xe.aliases=[];function xe(ue){(function(ce){var Ae=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,Fe;ce.languages.css.selector={pattern:ce.languages.css.selector.pattern,lookbehind:!0,inside:Fe={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+Ae.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[Ae,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},ce.languages.css.atrule.inside["selector-function-argument"].inside=Fe,ce.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var ke={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},Ye={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};ce.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:ke,number:Ye,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:ke,number:Ye})})(ue)}},12049:function(Re){"use strict";Re.exports=xe,xe.displayName="css",xe.aliases=[];function xe(ue){(function(ce){var Ae=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;ce.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+Ae.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+Ae.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+Ae.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:Ae,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},ce.languages.css.atrule.inside.rest=ce.languages.css;var Fe=ce.languages.markup;Fe&&(Fe.tag.addInlined("style","css"),Fe.tag.addAttribute("style","css"))})(ue)}},78090:function(Re){"use strict";Re.exports=xe,xe.displayName="csv",xe.aliases=[];function xe(ue){ue.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},40315:function(Re){"use strict";Re.exports=xe,xe.displayName="cypher",xe.aliases=[];function xe(ue){ue.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},7902:function(Re){"use strict";Re.exports=xe,xe.displayName="d",xe.aliases=[];function xe(ue){ue.languages.d=ue.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),ue.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),ue.languages.insertBefore("d","keyword",{property:/\B@\w*/}),ue.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},28651:function(Re){"use strict";Re.exports=xe,xe.displayName="dart",xe.aliases=[];function xe(ue){(function(ce){var Ae=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],Fe=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,ke={pattern:RegExp(Fe+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};ce.languages.dart=ce.languages.extend("clike",{"class-name":[ke,{pattern:RegExp(Fe+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:ke.inside}],keyword:Ae,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),ce.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:ce.languages.dart}}},string:/[\s\S]+/}},string:void 0}),ce.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),ce.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":ke,keyword:Ae,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(ue)}},55579:function(Re){"use strict";Re.exports=xe,xe.displayName="dataweave",xe.aliases=[];function xe(ue){(function(ce){ce.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(ue)}},93685:function(Re){"use strict";Re.exports=xe,xe.displayName="dax",xe.aliases=[];function xe(ue){ue.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},13934:function(Re){"use strict";Re.exports=xe,xe.displayName="dhall",xe.aliases=[];function xe(ue){ue.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},ue.languages.dhall.string.inside.interpolation.inside.expression.inside=ue.languages.dhall}},93336:function(Re){"use strict";Re.exports=xe,xe.displayName="diff",xe.aliases=[];function xe(ue){(function(ce){ce.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var Ae={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(Ae).forEach(function(Fe){var ke=Ae[Fe],Ye=[];/^\w+$/.test(Fe)||Ye.push(/\w+/.exec(Fe)[0]),Fe==="diff"&&Ye.push("bold"),ce.languages.diff[Fe]={pattern:RegExp("^(?:["+ke+`].*(?:\r
|
|
|
?|
|
|
|
|(?![\\s\\S])))+`,"m"),alias:Ye,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(Fe)[0]}}}}),Object.defineProperty(ce.languages.diff,"PREFIXES",{value:Ae})})(ue)}},13294:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="django",Ae.aliases=["jinja2"];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var Ye=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,Pe=ke.languages["markup-templating"];ke.hooks.add("before-tokenize",function(Ue){Pe.buildPlaceholders(Ue,"django",Ye)}),ke.hooks.add("after-tokenize",function(Ue){Pe.tokenizePlaceholders(Ue,"django")}),ke.languages.jinja2=ke.languages.django,ke.hooks.add("before-tokenize",function(Ue){Pe.buildPlaceholders(Ue,"jinja2",Ye)}),ke.hooks.add("after-tokenize",function(Ue){Pe.tokenizePlaceholders(Ue,"jinja2")})}(Fe)}},38223:function(Re){"use strict";Re.exports=xe,xe.displayName="dnsZoneFile",xe.aliases=[];function xe(ue){ue.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},ue.languages["dns-zone"]=ue.languages["dns-zone-file"]}},97266:function(Re){"use strict";Re.exports=xe,xe.displayName="docker",xe.aliases=["dockerfile"];function xe(ue){(function(ce){var Ae=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,Fe=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return Ae}),ke=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,Ye=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return ke}),Pe={pattern:RegExp(ke),greedy:!0},Ue={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function tt(Ze,rt){return Ze=Ze.replace(/<OPT>/g,function(){return Ye}).replace(/<SP>/g,function(){return Fe}),RegExp(Ze,rt)}ce.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:tt(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[Pe,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:tt(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:tt(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:tt(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:Ue,string:Pe,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:Ue},ce.languages.dockerfile=ce.languages.docker})(ue)}},77125:function(Re){"use strict";Re.exports=xe,xe.displayName="dot",xe.aliases=["gv"];function xe(ue){(function(ce){var Ae="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",Fe={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:ce.languages.markup}};function ke(Ye,Pe){return RegExp(Ye.replace(/<ID>/g,function(){return Ae}),Pe)}ce.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:ke(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:Fe},"attr-value":{pattern:ke(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:Fe},"attr-name":{pattern:ke(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:Fe},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:ke(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:Fe},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},ce.languages.gv=ce.languages.dot})(ue)}},36500:function(Re){"use strict";Re.exports=xe,xe.displayName="ebnf",xe.aliases=[];function xe(ue){ue.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},30296:function(Re){"use strict";Re.exports=xe,xe.displayName="editorconfig",xe.aliases=[];function xe(ue){ue.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},50115:function(Re){"use strict";Re.exports=xe,xe.displayName="eiffel",xe.aliases=[];function xe(ue){ue.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},20791:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="ejs",Ae.aliases=["eta"];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:ke.languages.javascript}},ke.hooks.add("before-tokenize",function(Ye){var Pe=/<%(?!%)[\s\S]+?%>/g;ke.languages["markup-templating"].buildPlaceholders(Ye,"ejs",Pe)}),ke.hooks.add("after-tokenize",function(Ye){ke.languages["markup-templating"].tokenizePlaceholders(Ye,"ejs")}),ke.languages.eta=ke.languages.ejs}(Fe)}},11974:function(Re){"use strict";Re.exports=xe,xe.displayName="elixir",xe.aliases=[];function xe(ue){ue.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},ue.languages.elixir.string.forEach(function(ce){ce.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:ue.languages.elixir}}}})}},8645:function(Re){"use strict";Re.exports=xe,xe.displayName="elm",xe.aliases=[];function xe(ue){ue.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},84790:function(Re,xe,ue){"use strict";var ce=ue(56939),Ae=ue(93205);Re.exports=Fe,Fe.displayName="erb",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){Ye.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:Ye.languages.ruby}},Ye.hooks.add("before-tokenize",function(Pe){var Ue=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;Ye.languages["markup-templating"].buildPlaceholders(Pe,"erb",Ue)}),Ye.hooks.add("after-tokenize",function(Pe){Ye.languages["markup-templating"].tokenizePlaceholders(Pe,"erb")})}(ke)}},4502:function(Re){"use strict";Re.exports=xe,xe.displayName="erlang",xe.aliases=[];function xe(ue){ue.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},66055:function(Re,xe,ue){"use strict";var ce=ue(59803),Ae=ue(93205);Re.exports=Fe,Fe.displayName="etlua",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){Ye.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:Ye.languages.lua}},Ye.hooks.add("before-tokenize",function(Pe){var Ue=/<%[\s\S]+?%>/g;Ye.languages["markup-templating"].buildPlaceholders(Pe,"etlua",Ue)}),Ye.hooks.add("after-tokenize",function(Pe){Ye.languages["markup-templating"].tokenizePlaceholders(Pe,"etlua")})}(ke)}},34668:function(Re){"use strict";Re.exports=xe,xe.displayName="excelFormula",xe.aliases=[];function xe(ue){ue.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},ue.languages.xlsx=ue.languages.xls=ue.languages["excel-formula"]}},95126:function(Re){"use strict";Re.exports=xe,xe.displayName="factor",xe.aliases=[];function xe(ue){(function(ce){var Ae={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},Fe={number:/\\[^\s']|%\w/},ke={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:Ae},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:Ae},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:Ae}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:Fe.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:Fe},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:Fe}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:Fe}},Ye=function(Ze){return(Ze+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},Pe=function(Ze){return new RegExp("(^|\\s)(?:"+Ze.map(Ye).join("|")+")(?=\\s|$)")},Ue={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(Ue).forEach(function(Ze){ke[Ze].pattern=Pe(Ue[Ze])});var tt=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];ke.combinators.pattern=Pe(tt),ce.languages.factor=ke})(ue)}},90618:function(Re){"use strict";Re.exports=xe,xe.displayName="$false",xe.aliases=[];function xe(ue){(function(ce){ce.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(ue)}},63128:function(Re){"use strict";Re.exports=xe,xe.displayName="firestoreSecurityRules",xe.aliases=[];function xe(ue){ue.languages["firestore-security-rules"]=ue.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete ue.languages["firestore-security-rules"]["class-name"],ue.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},37225:function(Re){"use strict";Re.exports=xe,xe.displayName="flow",xe.aliases=[];function xe(ue){(function(ce){ce.languages.flow=ce.languages.extend("javascript",{}),ce.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),ce.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete ce.languages.flow.parameter,ce.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(ce.languages.flow.keyword)||(ce.languages.flow.keyword=[ce.languages.flow.keyword]),ce.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(ue)}},16725:function(Re){"use strict";Re.exports=xe,xe.displayName="fortran",xe.aliases=[];function xe(ue){ue.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},95559:function(Re){"use strict";Re.exports=xe,xe.displayName="fsharp",xe.aliases=[];function xe(ue){ue.languages.fsharp=ue.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),ue.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),ue.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),ue.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:ue.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},82114:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="ftl",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){for(var Ye=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,Pe=0;Pe<2;Pe++)Ye=Ye.replace(/<expr>/g,function(){return Ye});Ye=Ye.replace(/<expr>/g,/[^\s\S]/.source);var Ue={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return Ye})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return Ye})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};Ue.string[1].inside.interpolation.inside.rest=Ue,ke.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:Ue}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:Ue}}}},ke.hooks.add("before-tokenize",function(tt){var Ze=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return Ye}),"gi");ke.languages["markup-templating"].buildPlaceholders(tt,"ftl",Ze)}),ke.hooks.add("after-tokenize",function(tt){ke.languages["markup-templating"].tokenizePlaceholders(tt,"ftl")})}(Fe)}},6806:function(Re){"use strict";Re.exports=xe,xe.displayName="gap",xe.aliases=[];function xe(ue){ue.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},ue.languages.gap.shell.inside.gap.inside=ue.languages.gap}},12208:function(Re){"use strict";Re.exports=xe,xe.displayName="gcode",xe.aliases=[];function xe(ue){ue.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},62728:function(Re){"use strict";Re.exports=xe,xe.displayName="gdscript",xe.aliases=[];function xe(ue){ue.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},81549:function(Re){"use strict";Re.exports=xe,xe.displayName="gedcom",xe.aliases=[];function xe(ue){ue.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},6024:function(Re){"use strict";Re.exports=xe,xe.displayName="gherkin",xe.aliases=[];function xe(ue){(function(ce){var Ae=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;ce.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+Ae+")(?:"+Ae+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(Ae),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(ue)}},13600:function(Re){"use strict";Re.exports=xe,xe.displayName="git",xe.aliases=[];function xe(ue){ue.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},3322:function(Re,xe,ue){"use strict";var ce=ue(65806);Re.exports=Ae,Ae.displayName="glsl",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.glsl=Fe.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},53877:function(Re){"use strict";Re.exports=xe,xe.displayName="gml",xe.aliases=[];function xe(ue){ue.languages.gamemakerlanguage=ue.languages.gml=ue.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},60794:function(Re){"use strict";Re.exports=xe,xe.displayName="gn",xe.aliases=["gni"];function xe(ue){ue.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},ue.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=ue.languages.gn,ue.languages.gni=ue.languages.gn}},20222:function(Re){"use strict";Re.exports=xe,xe.displayName="goModule",xe.aliases=[];function xe(ue){ue.languages["go-mod"]=ue.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},51519:function(Re){"use strict";Re.exports=xe,xe.displayName="go",xe.aliases=[];function xe(ue){ue.languages.go=ue.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),ue.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete ue.languages.go["class-name"]}},94055:function(Re){"use strict";Re.exports=xe,xe.displayName="graphql",xe.aliases=[];function xe(ue){ue.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:ue.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},ue.hooks.add("after-tokenize",function(Ae){if(Ae.language!=="graphql")return;var Fe=Ae.tokens.filter(function(ee){return typeof ee!="string"&&ee.type!=="comment"&&ee.type!=="scalar"}),ke=0;function Ye(ee){return Fe[ke+ee]}function Pe(ee,de){de=de||0;for(var se=0;se<ee.length;se++){var ge=Ye(se+de);if(!ge||ge.type!==ee[se])return!1}return!0}function Ue(ee,de){for(var se=1,ge=ke;ge<Fe.length;ge++){var ve=Fe[ge],be=ve.content;if(ve.type==="punctuation"&&typeof be=="string"){if(ee.test(be))se++;else if(de.test(be)&&(se--,se===0))return ge}}return-1}function tt(ee,de){var se=ee.alias;se?Array.isArray(se)||(ee.alias=se=[se]):ee.alias=se=[],se.push(de)}for(;ke<Fe.length;){var Ze=Fe[ke++];if(Ze.type==="keyword"&&Ze.content==="mutation"){var rt=[];if(Pe(["definition-mutation","punctuation"])&&Ye(1).content==="("){ke+=2;var xt=Ue(/^\($/,/^\)$/);if(xt===-1)continue;for(;ke<xt;ke++){var Qe=Ye(0);Qe.type==="variable"&&(tt(Qe,"variable-input"),rt.push(Qe.content))}ke=xt+1}if(Pe(["punctuation","property-query"])&&Ye(0).content==="{"&&(ke++,tt(Ye(0),"property-mutation"),rt.length>0)){var Mt=Ue(/^\{$/,/^\}$/);if(Mt===-1)continue;for(var De=ke;De<Mt;De++){var te=Fe[De];te.type==="variable"&&rt.indexOf(te.content)>=0&&tt(te,"variable-input")}}}}})}},43826:function(Re){"use strict";Re.exports=xe,xe.displayName="groovy",xe.aliases=[];function xe(ue){ue.languages.groovy=ue.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),ue.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),ue.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),ue.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),ue.hooks.add("wrap",function(ce){if(ce.language==="groovy"&&ce.type==="string"){var Ae=ce.content.value[0];if(Ae!="'"){var Fe=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;Ae==="$"&&(Fe=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),ce.content.value=ce.content.value.replace(/</g,"<").replace(/&/g,"&"),ce.content=ue.highlight(ce.content.value,{expression:{pattern:Fe,lookbehind:!0,inside:ue.languages.groovy}}),ce.classes.push(Ae==="/"?"regex":"gstring")}}})}},29536:function(Re,xe,ue){"use strict";var ce=ue(56939);Re.exports=Ae,Ae.displayName="haml",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:ke.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:ke.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:ke.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:ke.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:ke.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:ke.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:ke.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var Ye="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",Pe=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],Ue={},tt=0,Ze=Pe.length;tt<Ze;tt++){var rt=Pe[tt];rt=typeof rt=="string"?{filter:rt,language:rt}:rt,ke.languages[rt.language]&&(Ue["filter-"+rt.filter]={pattern:RegExp(Ye.replace("{{filter_name}}",function(){return rt.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[rt.language,"language-"+rt.language],inside:ke.languages[rt.language]}}})}ke.languages.insertBefore("haml","filter",Ue)}(Fe)}},82834:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="handlebars",Ae.aliases=["hbs"];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},ke.hooks.add("before-tokenize",function(Ye){var Pe=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;ke.languages["markup-templating"].buildPlaceholders(Ye,"handlebars",Pe)}),ke.hooks.add("after-tokenize",function(Ye){ke.languages["markup-templating"].tokenizePlaceholders(Ye,"handlebars")}),ke.languages.hbs=ke.languages.handlebars}(Fe)}},58090:function(Re){"use strict";Re.exports=xe,xe.displayName="haskell",xe.aliases=["hs"];function xe(ue){ue.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},ue.languages.hs=ue.languages.haskell}},95121:function(Re){"use strict";Re.exports=xe,xe.displayName="haxe",xe.aliases=[];function xe(ue){ue.languages.haxe=ue.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),ue.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:ue.languages.haxe}}},string:/[\s\S]+/}}}),ue.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:ue.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),ue.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},59904:function(Re){"use strict";Re.exports=xe,xe.displayName="hcl",xe.aliases=[];function xe(ue){ue.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},9436:function(Re,xe,ue){"use strict";var ce=ue(65806);Re.exports=Ae,Ae.displayName="hlsl",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.hlsl=Fe.languages.extend("c",{"class-name":[Fe.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},60591:function(Re){"use strict";Re.exports=xe,xe.displayName="hoon",xe.aliases=[];function xe(ue){ue.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},76942:function(Re){"use strict";Re.exports=xe,xe.displayName="hpkp",xe.aliases=[];function xe(ue){ue.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},60561:function(Re){"use strict";Re.exports=xe,xe.displayName="hsts",xe.aliases=[];function xe(ue){ue.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},49660:function(Re){"use strict";Re.exports=xe,xe.displayName="http",xe.aliases=[];function xe(ue){(function(ce){function Ae(rt){return RegExp("(^(?:"+rt+"):[ ]*(?![ ]))[^]+","i")}ce.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:ce.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:Ae(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:ce.languages.csp},{pattern:Ae(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:ce.languages.hpkp},{pattern:Ae(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:ce.languages.hsts},{pattern:Ae(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var Fe=ce.languages,ke={"application/javascript":Fe.javascript,"application/json":Fe.json||Fe.javascript,"application/xml":Fe.xml,"text/xml":Fe.xml,"text/html":Fe.html,"text/css":Fe.css,"text/plain":Fe.plain},Ye={"application/json":!0,"application/xml":!0};function Pe(rt){var xt=rt.replace(/^[a-z]+\//,""),Qe="\\w+/(?:[\\w.-]+\\+)+"+xt+"(?![+\\w.-])";return"(?:"+rt+"|"+Qe+")"}var Ue;for(var tt in ke)if(ke[tt]){Ue=Ue||{};var Ze=Ye[tt]?Pe(tt):tt;Ue[tt.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Ze+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:ke[tt]}}Ue&&ce.languages.insertBefore("http","header",Ue)})(ue)}},30615:function(Re){"use strict";Re.exports=xe,xe.displayName="ichigojam",xe.aliases=[];function xe(ue){ue.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},93865:function(Re){"use strict";Re.exports=xe,xe.displayName="icon",xe.aliases=[];function xe(ue){ue.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},51078:function(Re){"use strict";Re.exports=xe,xe.displayName="icuMessageFormat",xe.aliases=[];function xe(ue){(function(ce){function Ae(tt,Ze){return Ze<=0?/[]/.source:tt.replace(/<SELF>/g,function(){return Ae(tt,Ze-1)})}var Fe=/'[{}:=,](?:[^']|'')*'(?!')/,ke={pattern:/''/,greedy:!0,alias:"operator"},Ye={pattern:Fe,greedy:!0,inside:{escape:ke}},Pe=Ae(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return Fe.source}),8),Ue={pattern:RegExp(Pe),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};ce.languages["icu-message-format"]={argument:{pattern:RegExp(Pe),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":Ue,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":Ue,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+Ae(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:ke,string:Ye},Ue.inside.message.inside=ce.languages["icu-message-format"],ce.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=ce.languages["icu-message-format"]})(ue)}},91178:function(Re,xe,ue){"use strict";var ce=ue(58090);Re.exports=Ae,Ae.displayName="idris",Ae.aliases=["idr"];function Ae(Fe){Fe.register(ce),Fe.languages.idris=Fe.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),Fe.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),Fe.languages.idr=Fe.languages.idris}},40011:function(Re){"use strict";Re.exports=xe,xe.displayName="iecst",xe.aliases=[];function xe(ue){ue.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},12017:function(Re){"use strict";Re.exports=xe,xe.displayName="ignore",xe.aliases=["gitignore","hgignore","npmignore"];function xe(ue){(function(ce){ce.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},ce.languages.gitignore=ce.languages.ignore,ce.languages.hgignore=ce.languages.ignore,ce.languages.npmignore=ce.languages.ignore})(ue)}},65175:function(Re){"use strict";Re.exports=xe,xe.displayName="inform7",xe.aliases=[];function xe(ue){ue.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},ue.languages.inform7.string.inside.substitution.inside.rest=ue.languages.inform7,ue.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},14970:function(Re){"use strict";Re.exports=xe,xe.displayName="ini",xe.aliases=[];function xe(ue){ue.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},30764:function(Re){"use strict";Re.exports=xe,xe.displayName="io",xe.aliases=[];function xe(ue){ue.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}},87624:function(Re){"use strict";Re.exports=xe,xe.displayName="j",xe.aliases=[];function xe(ue){ue.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},15909:function(Re){"use strict";Re.exports=xe,xe.displayName="java",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,Fe=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,ke={pattern:RegExp(Fe+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};ce.languages.java=ce.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[ke,{pattern:RegExp(Fe+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:ke.inside}],keyword:Ae,function:[ce.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),ce.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),ce.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":ke,keyword:Ae,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return Ae.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(ue)}},36553:function(Re,xe,ue){"use strict";var ce=ue(15909),Ae=ue(9858);Re.exports=Fe,Fe.displayName="javadoc",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){var Pe=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,Ue=/#\s*\w+(?:\s*\([^()]*\))?/.source,tt=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return Ue});Ye.languages.javadoc=Ye.languages.extend("javadoclike",{}),Ye.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+tt+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:Ye.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:Pe,lookbehind:!0,inside:Ye.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:Pe,lookbehind:!0,inside:{tag:Ye.languages.markup.tag,entity:Ye.languages.markup.entity,code:{pattern:/.+/,inside:Ye.languages.java,alias:"language-java"}}}}}],tag:Ye.languages.markup.tag,entity:Ye.languages.markup.entity}),Ye.languages.javadoclike.addSupport("java",Ye.languages.javadoc)}(ke)}},9858:function(Re){"use strict";Re.exports=xe,xe.displayName="javadoclike",xe.aliases=[];function xe(ue){(function(ce){var Ae=ce.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function Fe(Ye,Pe){var Ue="doc-comment",tt=ce.languages[Ye];if(tt){var Ze=tt[Ue];if(!Ze){var rt={};rt[Ue]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},tt=ce.languages.insertBefore(Ye,"comment",rt),Ze=tt[Ue]}if(Ze instanceof RegExp&&(Ze=tt[Ue]={pattern:Ze}),Array.isArray(Ze))for(var xt=0,Qe=Ze.length;xt<Qe;xt++)Ze[xt]instanceof RegExp&&(Ze[xt]={pattern:Ze[xt]}),Pe(Ze[xt]);else Pe(Ze)}}function ke(Ye,Pe){typeof Ye=="string"&&(Ye=[Ye]),Ye.forEach(function(Ue){Fe(Ue,function(tt){tt.inside||(tt.inside={}),tt.inside.rest=Pe})})}Object.defineProperty(Ae,"addSupport",{value:ke}),Ae.addSupport(["java","javascript","php"],Ae)})(ue)}},36155:function(Re){"use strict";Re.exports=xe,xe.displayName="javascript",xe.aliases=["js"];function xe(ue){ue.languages.javascript=ue.languages.extend("clike",{"class-name":[ue.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),ue.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,ue.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:ue.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:ue.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:ue.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:ue.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:ue.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),ue.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:ue.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),ue.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),ue.languages.markup&&(ue.languages.markup.tag.addInlined("script","javascript"),ue.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),ue.languages.js=ue.languages.javascript}},11223:function(Re){"use strict";Re.exports=xe,xe.displayName="javastacktrace",xe.aliases=[];function xe(ue){ue.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},57957:function(Re){"use strict";Re.exports=xe,xe.displayName="jexl",xe.aliases=[];function xe(ue){ue.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},66604:function(Re){"use strict";Re.exports=xe,xe.displayName="jolie",xe.aliases=[];function xe(ue){ue.languages.jolie=ue.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),ue.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},77935:function(Re){"use strict";Re.exports=xe,xe.displayName="jq",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\\\((?:[^()]|\([^()]*\))*\)/.source,Fe=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return Ae})),ke={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+Ae),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},Ye=ce.languages.jq={comment:/#.*/,property:{pattern:RegExp(Fe.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:ke},string:{pattern:Fe,lookbehind:!0,greedy:!0,inside:ke},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};ke.interpolation.inside.content.inside=Ye})(ue)}},46155:function(Re){"use strict";Re.exports=xe,xe.displayName="jsExtras",xe.aliases=[];function xe(ue){(function(ce){ce.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+ce.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),ce.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+ce.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),ce.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function Ae(tt,Ze){return RegExp(tt.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Ze)}ce.languages.insertBefore("javascript","keyword",{imports:{pattern:Ae(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:ce.languages.javascript},exports:{pattern:Ae(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:ce.languages.javascript}}),ce.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),ce.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),ce.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:Ae(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var Fe=["function","function-variable","method","method-variable","property-access"],ke=0;ke<Fe.length;ke++){var Ye=Fe[ke],Pe=ce.languages.javascript[Ye];ce.util.type(Pe)==="RegExp"&&(Pe=ce.languages.javascript[Ye]={pattern:Pe});var Ue=Pe.inside||{};Pe.inside=Ue,Ue["maybe-class-name"]=/^[A-Z][\s\S]*/}})(ue)}},47359:function(Re){"use strict";Re.exports=xe,xe.displayName="jsTemplates",xe.aliases=[];function xe(ue){(function(ce){var Ae=ce.languages.javascript["template-string"],Fe=Ae.pattern.source,ke=Ae.inside.interpolation,Ye=ke.inside["interpolation-punctuation"],Pe=ke.pattern.source;function Ue(De,te){if(ce.languages[De])return{pattern:RegExp("((?:"+te+")\\s*)"+Fe),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:De}}}}ce.languages.javascript["template-string"]=[Ue("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),Ue("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),Ue("svg",/\bsvg/.source),Ue("markdown",/\b(?:markdown|md)/.source),Ue("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),Ue("sql",/\bsql/.source),Ae].filter(Boolean);function tt(De,te){return"___"+te.toUpperCase()+"_"+De+"___"}function Ze(De,te,ee){var de={code:De,grammar:te,language:ee};return ce.hooks.run("before-tokenize",de),de.tokens=ce.tokenize(de.code,de.grammar),ce.hooks.run("after-tokenize",de),de.tokens}function rt(De){var te={};te["interpolation-punctuation"]=Ye;var ee=ce.tokenize(De,te);if(ee.length===3){var de=[1,1];de.push.apply(de,Ze(ee[1],ce.languages.javascript,"javascript")),ee.splice.apply(ee,de)}return new ce.Token("interpolation",ee,ke.alias,De)}function xt(De,te,ee){var de=ce.tokenize(De,{interpolation:{pattern:RegExp(Pe),lookbehind:!0}}),se=0,ge={},ve=de.map(function(Ke){if(typeof Ke=="string")return Ke;for(var qe=Ke.content,lt;De.indexOf(lt=tt(se++,ee))!==-1;);return ge[lt]=qe,lt}).join(""),be=Ze(ve,te,ee),we=Object.keys(ge);se=0;function Oe(Ke){for(var qe=0;qe<Ke.length;qe++){if(se>=we.length)return;var lt=Ke[qe];if(typeof lt=="string"||typeof lt.content=="string"){var at=we[se],ft=typeof lt=="string"?lt:lt.content,pt=ft.indexOf(at);if(pt!==-1){++se;var Nt=ft.substring(0,pt),Xt=rt(ge[at]),Zt=ft.substring(pt+at.length),yn=[];if(Nt&&yn.push(Nt),yn.push(Xt),Zt){var Ln=[Zt];Oe(Ln),yn.push.apply(yn,Ln)}typeof lt=="string"?(Ke.splice.apply(Ke,[qe,1].concat(yn)),qe+=yn.length-1):lt.content=yn}}else{var on=lt.content;Array.isArray(on)?Oe(on):Oe([on])}}}return Oe(be),new ce.Token(ee,be,"language-"+ee,De)}var Qe={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};ce.hooks.add("after-tokenize",function(De){if(!(De.language in Qe))return;function te(ee){for(var de=0,se=ee.length;de<se;de++){var ge=ee[de];if(typeof ge!="string"){var ve=ge.content;if(!Array.isArray(ve)){typeof ve!="string"&&te([ve]);continue}if(ge.type==="template-string"){var be=ve[1];if(ve.length===3&&typeof be!="string"&&be.type==="embedded-code"){var we=Mt(be),Oe=be.alias,Ke=Array.isArray(Oe)?Oe[0]:Oe,qe=ce.languages[Ke];if(!qe)continue;ve[1]=xt(we,qe,Ke)}}else te(ve)}}}te(De.tokens)});function Mt(De){return typeof De=="string"?De:Array.isArray(De)?De.map(Mt).join(""):Mt(De.content)}})(ue)}},25319:function(Re,xe,ue){"use strict";var ce=ue(9858),Ae=ue(4979);Re.exports=Fe,Fe.displayName="jsdoc",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){var Pe=Ye.languages.javascript,Ue=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,tt="(@(?:arg|argument|param|property)\\s+(?:"+Ue+"\\s+)?)";Ye.languages.jsdoc=Ye.languages.extend("javadoclike",{parameter:{pattern:RegExp(tt+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),Ye.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(tt+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:Pe,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return Ue})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+Ue),lookbehind:!0,inside:{string:Pe.string,number:Pe.number,boolean:Pe.boolean,keyword:Ye.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:Pe,alias:"language-javascript"}}}}),Ye.languages.javadoclike.addSupport("javascript",Ye.languages.jsdoc)}(ke)}},45950:function(Re){"use strict";Re.exports=xe,xe.displayName="json",xe.aliases=["webmanifest"];function xe(ue){ue.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},ue.languages.webmanifest=ue.languages.json}},50235:function(Re,xe,ue){"use strict";var ce=ue(45950);Re.exports=Ae,Ae.displayName="json5",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){var Ye=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;ke.languages.json5=ke.languages.extend("json",{property:[{pattern:RegExp(Ye.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:Ye,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(Fe)}},80963:function(Re,xe,ue){"use strict";var ce=ue(45950);Re.exports=Ae,Ae.displayName="jsonp",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.jsonp=Fe.languages.extend("json",{punctuation:/[{}[\]();,.]/}),Fe.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},79358:function(Re){"use strict";Re.exports=xe,xe.displayName="jsstacktrace",xe.aliases=[];function xe(ue){ue.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},96412:function(Re){"use strict";Re.exports=xe,xe.displayName="jsx",xe.aliases=[];function xe(ue){(function(ce){var Ae=ce.util.clone(ce.languages.javascript),Fe=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,ke=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,Ye=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function Pe(Ze,rt){return Ze=Ze.replace(/<S>/g,function(){return Fe}).replace(/<BRACES>/g,function(){return ke}).replace(/<SPREAD>/g,function(){return Ye}),RegExp(Ze,rt)}Ye=Pe(Ye).source,ce.languages.jsx=ce.languages.extend("markup",Ae),ce.languages.jsx.tag.pattern=Pe(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),ce.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,ce.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,ce.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,ce.languages.jsx.tag.inside.comment=Ae.comment,ce.languages.insertBefore("inside","attr-name",{spread:{pattern:Pe(/<SPREAD>/.source),inside:ce.languages.jsx}},ce.languages.jsx.tag),ce.languages.insertBefore("inside","special-attr",{script:{pattern:Pe(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:ce.languages.jsx}}},ce.languages.jsx.tag);var Ue=function(Ze){return Ze?typeof Ze=="string"?Ze:typeof Ze.content=="string"?Ze.content:Ze.content.map(Ue).join(""):""},tt=function(Ze){for(var rt=[],xt=0;xt<Ze.length;xt++){var Qe=Ze[xt],Mt=!1;if(typeof Qe!="string"&&(Qe.type==="tag"&&Qe.content[0]&&Qe.content[0].type==="tag"?Qe.content[0].content[0].content==="</"?rt.length>0&&rt[rt.length-1].tagName===Ue(Qe.content[0].content[1])&&rt.pop():Qe.content[Qe.content.length-1].content==="/>"||rt.push({tagName:Ue(Qe.content[0].content[1]),openedBraces:0}):rt.length>0&&Qe.type==="punctuation"&&Qe.content==="{"?rt[rt.length-1].openedBraces++:rt.length>0&&rt[rt.length-1].openedBraces>0&&Qe.type==="punctuation"&&Qe.content==="}"?rt[rt.length-1].openedBraces--:Mt=!0),(Mt||typeof Qe=="string")&&rt.length>0&&rt[rt.length-1].openedBraces===0){var De=Ue(Qe);xt<Ze.length-1&&(typeof Ze[xt+1]=="string"||Ze[xt+1].type==="plain-text")&&(De+=Ue(Ze[xt+1]),Ze.splice(xt+1,1)),xt>0&&(typeof Ze[xt-1]=="string"||Ze[xt-1].type==="plain-text")&&(De=Ue(Ze[xt-1])+De,Ze.splice(xt-1,1),xt--),Ze[xt]=new ce.Token("plain-text",De,null,De)}Qe.content&&typeof Qe.content!="string"&&tt(Qe.content)}};ce.hooks.add("after-tokenize",function(Ze){Ze.language!=="jsx"&&Ze.language!=="tsx"||tt(Ze.tokens)})})(ue)}},39259:function(Re){"use strict";Re.exports=xe,xe.displayName="julia",xe.aliases=[];function xe(ue){ue.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},32409:function(Re){"use strict";Re.exports=xe,xe.displayName="keepalived",xe.aliases=[];function xe(ue){ue.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},35760:function(Re){"use strict";Re.exports=xe,xe.displayName="keyman",xe.aliases=[];function xe(ue){ue.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},19715:function(Re){"use strict";Re.exports=xe,xe.displayName="kotlin",xe.aliases=["kt","kts"];function xe(ue){(function(ce){ce.languages.kotlin=ce.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete ce.languages.kotlin["class-name"];var Ae={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:ce.languages.kotlin}};ce.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:Ae},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:Ae},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete ce.languages.kotlin.string,ce.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),ce.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),ce.languages.kt=ce.languages.kotlin,ce.languages.kts=ce.languages.kotlin})(ue)}},27614:function(Re){"use strict";Re.exports=xe,xe.displayName="kumir",xe.aliases=["kum"];function xe(ue){(function(ce){var Ae=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function Fe(ke,Ye){return RegExp(ke.replace(/<nonId>/g,Ae),Ye)}ce.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:Fe(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:Fe(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:Fe(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:Fe(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:Fe(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:Fe(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:Fe(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:Fe(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},ce.languages.kum=ce.languages.kumir})(ue)}},82819:function(Re){"use strict";Re.exports=xe,xe.displayName="kusto",xe.aliases=[];function xe(ue){ue.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},42876:function(Re){"use strict";Re.exports=xe,xe.displayName="latex",xe.aliases=["tex","context"];function xe(ue){(function(ce){var Ae=/\\(?:[^a-z()[\]]|[a-z*]+)/i,Fe={"equation-command":{pattern:Ae,alias:"regex"}};ce.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:Fe,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:Fe,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:Ae,alias:"selector"},punctuation:/[[\]{}&]/},ce.languages.tex=ce.languages.latex,ce.languages.context=ce.languages.latex})(ue)}},2980:function(Re,xe,ue){"use strict";var ce=ue(93205),Ae=ue(88262);Re.exports=Fe,Fe.displayName="latte",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){Ye.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:Ye.languages.php}};var Pe=Ye.languages.extend("markup",{});Ye.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:Ye.languages.php}}}}}},Pe.tag),Ye.hooks.add("before-tokenize",function(Ue){if(Ue.language==="latte"){var tt=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;Ye.languages["markup-templating"].buildPlaceholders(Ue,"latte",tt),Ue.grammar=Pe}}),Ye.hooks.add("after-tokenize",function(Ue){Ye.languages["markup-templating"].tokenizePlaceholders(Ue,"latte")})}(ke)}},41701:function(Re){"use strict";Re.exports=xe,xe.displayName="less",xe.aliases=[];function xe(ue){ue.languages.less=ue.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),ue.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},42491:function(Re,xe,ue){"use strict";var ce=ue(9997);Re.exports=Ae,Ae.displayName="lilypond",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){for(var Ye=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,Pe=5,Ue=0;Ue<Pe;Ue++)Ye=Ye.replace(/<expr>/g,function(){return Ye});Ye=Ye.replace(/<expr>/g,/[^\s\S]/.source);var tt=ke.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return Ye}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:ke.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};tt["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=tt,ke.languages.ly=tt}(Fe)}},34927:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="liquid",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},Fe.hooks.add("before-tokenize",function(ke){var Ye=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,Pe=!1;Fe.languages["markup-templating"].buildPlaceholders(ke,"liquid",Ye,function(Ue){var tt=/^\{%-?\s*(\w+)/.exec(Ue);if(tt){var Ze=tt[1];if(Ze==="raw"&&!Pe)return Pe=!0,!0;if(Ze==="endraw")return Pe=!1,!0}return!Pe})}),Fe.hooks.add("after-tokenize",function(ke){Fe.languages["markup-templating"].tokenizePlaceholders(ke,"liquid")})}},3848:function(Re){"use strict";Re.exports=xe,xe.displayName="lisp",xe.aliases=[];function xe(ue){(function(ce){function Ae(De){return RegExp(/(\()/.source+"(?:"+De+")"+/(?=[\s\)])/.source)}function Fe(De){return RegExp(/([\s([])/.source+"(?:"+De+")"+/(?=[\s)])/.source)}var ke=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,Ye="&"+ke,Pe="(\\()",Ue="(?=\\))",tt="(?=\\s)",Ze=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,rt={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+ke+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+ke),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+ke),alias:"property"},splice:{pattern:RegExp(",@?"+ke),alias:["symbol","variable"]},keyword:[{pattern:RegExp(Pe+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+tt),lookbehind:!0},{pattern:RegExp(Pe+"(?:append|by|collect|concat|do|finally|for|in|return)"+tt),lookbehind:!0}],declare:{pattern:Ae(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:Ae(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:Fe(/nil|t/.source),lookbehind:!0},number:{pattern:Fe(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(Pe+"def(?:const|custom|group|var)\\s+"+ke),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(ke)}},defun:{pattern:RegExp(Pe+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+ke+/\s+\(/.source+Ze+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+ke),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(Pe+"lambda\\s+\\(\\s*(?:&?"+ke+"(?:\\s+&?"+ke+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(Pe+ke),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},xt={"lisp-marker":RegExp(Ye),varform:{pattern:RegExp(/\(/.source+ke+/\s+(?=\S)/.source+Ze+/\)/.source),inside:rt},argument:{pattern:RegExp(/(^|[\s(])/.source+ke),lookbehind:!0,alias:"variable"},rest:rt},Qe="\\S+(?:\\s+\\S+)*",Mt={pattern:RegExp(Pe+Ze+Ue),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+Qe),inside:xt},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+Qe),inside:xt},keys:{pattern:RegExp("&key\\s+"+Qe+"(?:\\s+&allow-other-keys)?"),inside:xt},argument:{pattern:RegExp(ke),alias:"variable"},punctuation:/[()]/}};rt.lambda.inside.arguments=Mt,rt.defun.inside.arguments=ce.util.clone(Mt),rt.defun.inside.arguments.inside.sublist=Mt,ce.languages.lisp=rt,ce.languages.elisp=rt,ce.languages.emacs=rt,ce.languages["emacs-lisp"]=rt})(ue)}},41469:function(Re){"use strict";Re.exports=xe,xe.displayName="livescript",xe.aliases=[];function xe(ue){ue.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},ue.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=ue.languages.livescript}},73070:function(Re){"use strict";Re.exports=xe,xe.displayName="llvm",xe.aliases=[];function xe(ue){(function(ce){ce.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(ue)}},35049:function(Re){"use strict";Re.exports=xe,xe.displayName="log",xe.aliases=[];function xe(ue){ue.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:ue.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},8789:function(Re){"use strict";Re.exports=xe,xe.displayName="lolcode",xe.aliases=[];function xe(ue){ue.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},59803:function(Re){"use strict";Re.exports=xe,xe.displayName="lua",xe.aliases=[];function xe(ue){ue.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},86328:function(Re){"use strict";Re.exports=xe,xe.displayName="magma",xe.aliases=[];function xe(ue){ue.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},33055:function(Re){"use strict";Re.exports=xe,xe.displayName="makefile",xe.aliases=[];function xe(ue){ue.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},90542:function(Re){"use strict";Re.exports=xe,xe.displayName="markdown",xe.aliases=["md"];function xe(ue){(function(ce){var Ae=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function Fe(xt){return xt=xt.replace(/<inner>/g,function(){return Ae}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+xt+")")}var ke=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,Ye=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return ke}),Pe=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;ce.languages.markdown=ce.languages.extend("markup",{}),ce.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:ce.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+Ye+Pe+"(?:"+Ye+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+Ye+Pe+")(?:"+Ye+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(ke),inside:ce.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+Ye+")"+Pe+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+Ye+"$"),inside:{"table-header":{pattern:RegExp(ke),alias:"important",inside:ce.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:Fe(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:Fe(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:Fe(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:Fe(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(xt){["url","bold","italic","strike","code-snippet"].forEach(function(Qe){xt!==Qe&&(ce.languages.markdown[xt].inside.content.inside[Qe]=ce.languages.markdown[Qe])})}),ce.hooks.add("after-tokenize",function(xt){if(xt.language!=="markdown"&&xt.language!=="md")return;function Qe(Mt){if(!(!Mt||typeof Mt=="string"))for(var De=0,te=Mt.length;De<te;De++){var ee=Mt[De];if(ee.type!=="code"){Qe(ee.content);continue}var de=ee.content[1],se=ee.content[3];if(de&&se&&de.type==="code-language"&&se.type==="code-block"&&typeof de.content=="string"){var ge=de.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");ge=(/[a-z][\w-]*/i.exec(ge)||[""])[0].toLowerCase();var ve="language-"+ge;se.alias?typeof se.alias=="string"?se.alias=[se.alias,ve]:se.alias.push(ve):se.alias=[ve]}}}Qe(xt.tokens)}),ce.hooks.add("wrap",function(xt){if(xt.type==="code-block"){for(var Qe="",Mt=0,De=xt.classes.length;Mt<De;Mt++){var te=xt.classes[Mt],ee=/language-(.+)/.exec(te);if(ee){Qe=ee[1];break}}var de=ce.languages[Qe];if(de)xt.content=ce.highlight(rt(xt.content.value),de,Qe);else if(Qe&&Qe!=="none"&&ce.plugins.autoloader){var se="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);xt.attributes.id=se,ce.plugins.autoloader.loadLanguages(Qe,function(){var ge=document.getElementById(se);ge&&(ge.innerHTML=ce.highlight(ge.textContent,ce.languages[Qe],Qe))})}}});var Ue=RegExp(ce.languages.markup.tag.pattern.source,"gi"),tt={amp:"&",lt:"<",gt:">",quot:'"'},Ze=String.fromCodePoint||String.fromCharCode;function rt(xt){var Qe=xt.replace(Ue,"");return Qe=Qe.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(Mt,De){if(De=De.toLowerCase(),De[0]==="#"){var te;return De[1]==="x"?te=parseInt(De.slice(2),16):te=Number(De.slice(1)),Ze(te)}else{var ee=tt[De];return ee||Mt}}),Qe}ce.languages.md=ce.languages.markdown})(ue)}},93205:function(Re){"use strict";Re.exports=xe,xe.displayName="markupTemplating",xe.aliases=[];function xe(ue){(function(ce){function Ae(Fe,ke){return"___"+Fe.toUpperCase()+ke+"___"}Object.defineProperties(ce.languages["markup-templating"]={},{buildPlaceholders:{value:function(Fe,ke,Ye,Pe){if(Fe.language===ke){var Ue=Fe.tokenStack=[];Fe.code=Fe.code.replace(Ye,function(tt){if(typeof Pe=="function"&&!Pe(tt))return tt;for(var Ze=Ue.length,rt;Fe.code.indexOf(rt=Ae(ke,Ze))!==-1;)++Ze;return Ue[Ze]=tt,rt}),Fe.grammar=ce.languages.markup}}},tokenizePlaceholders:{value:function(Fe,ke){if(Fe.language!==ke||!Fe.tokenStack)return;Fe.grammar=ce.languages[ke];var Ye=0,Pe=Object.keys(Fe.tokenStack);function Ue(tt){for(var Ze=0;Ze<tt.length&&!(Ye>=Pe.length);Ze++){var rt=tt[Ze];if(typeof rt=="string"||rt.content&&typeof rt.content=="string"){var xt=Pe[Ye],Qe=Fe.tokenStack[xt],Mt=typeof rt=="string"?rt:rt.content,De=Ae(ke,xt),te=Mt.indexOf(De);if(te>-1){++Ye;var ee=Mt.substring(0,te),de=new ce.Token(ke,ce.tokenize(Qe,Fe.grammar),"language-"+ke,Qe),se=Mt.substring(te+De.length),ge=[];ee&&ge.push.apply(ge,Ue([ee])),ge.push(de),se&&ge.push.apply(ge,Ue([se])),typeof rt=="string"?tt.splice.apply(tt,[Ze,1].concat(ge)):rt.content=ge}}else rt.content&&Ue(rt.content)}return tt}Ue(Fe.tokens)}}})})(ue)}},2717:function(Re){"use strict";Re.exports=xe,xe.displayName="markup",xe.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function xe(ue){ue.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},ue.languages.markup.tag.inside["attr-value"].inside.entity=ue.languages.markup.entity,ue.languages.markup.doctype.inside["internal-subset"].inside=ue.languages.markup,ue.hooks.add("wrap",function(ce){ce.type==="entity"&&(ce.attributes.title=ce.content.value.replace(/&/,"&"))}),Object.defineProperty(ue.languages.markup.tag,"addInlined",{value:function(Ae,Fe){var ke={};ke["language-"+Fe]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:ue.languages[Fe]},ke.cdata=/^<!\[CDATA\[|\]\]>$/i;var Ye={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:ke}};Ye["language-"+Fe]={pattern:/[\s\S]+/,inside:ue.languages[Fe]};var Pe={};Pe[Ae]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return Ae}),"i"),lookbehind:!0,greedy:!0,inside:Ye},ue.languages.insertBefore("markup","cdata",Pe)}}),Object.defineProperty(ue.languages.markup.tag,"addAttribute",{value:function(ce,Ae){ue.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+ce+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[Ae,"language-"+Ae],inside:ue.languages[Ae]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),ue.languages.html=ue.languages.markup,ue.languages.mathml=ue.languages.markup,ue.languages.svg=ue.languages.markup,ue.languages.xml=ue.languages.extend("markup",{}),ue.languages.ssml=ue.languages.xml,ue.languages.atom=ue.languages.xml,ue.languages.rss=ue.languages.xml}},27992:function(Re){"use strict";Re.exports=xe,xe.displayName="matlab",xe.aliases=[];function xe(ue){ue.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},91115:function(Re){"use strict";Re.exports=xe,xe.displayName="maxscript",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;ce.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+Ae.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+Ae.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:Ae,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(ue)}},606:function(Re){"use strict";Re.exports=xe,xe.displayName="mel",xe.aliases=[];function xe(ue){ue.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},ue.languages.mel.code.inside.rest=ue.languages.mel}},68582:function(Re){"use strict";Re.exports=xe,xe.displayName="mermaid",xe.aliases=[];function xe(ue){ue.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},23388:function(Re){"use strict";Re.exports=xe,xe.displayName="mizar",xe.aliases=[];function xe(ue){ue.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},90596:function(Re){"use strict";Re.exports=xe,xe.displayName="mongodb",xe.aliases=[];function xe(ue){(function(ce){var Ae=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],Fe=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];Ae=Ae.map(function(Ye){return Ye.replace("$","\\$")});var ke="(?:"+Ae.join("|")+")\\b";ce.languages.mongodb=ce.languages.extend("javascript",{}),ce.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+ke+"(?:\\1)?$")}}}),ce.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},ce.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+Fe.join("|")+")\\b"),alias:"keyword"}})})(ue)}},95721:function(Re){"use strict";Re.exports=xe,xe.displayName="monkey",xe.aliases=[];function xe(ue){ue.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},64262:function(Re){"use strict";Re.exports=xe,xe.displayName="moonscript",xe.aliases=["moon"];function xe(ue){ue.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},ue.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=ue.languages.moonscript,ue.languages.moon=ue.languages.moonscript}},18190:function(Re){"use strict";Re.exports=xe,xe.displayName="n1ql",xe.aliases=[];function xe(ue){ue.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},70896:function(Re){"use strict";Re.exports=xe,xe.displayName="n4js",xe.aliases=["n4jsd"];function xe(ue){ue.languages.n4js=ue.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),ue.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),ue.languages.n4jsd=ue.languages.n4js}},42242:function(Re){"use strict";Re.exports=xe,xe.displayName="nand2tetrisHdl",xe.aliases=[];function xe(ue){ue.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},37943:function(Re){"use strict";Re.exports=xe,xe.displayName="naniscript",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\{[^\r\n\[\]{}]*\}/,Fe={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:Ae,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};ce.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:Ae,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:Fe}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:Ae,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:Fe},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},ce.languages.nani=ce.languages.naniscript,ce.hooks.add("after-tokenize",function(Pe){var Ue=Pe.tokens;Ue.forEach(function(tt){if(typeof tt!="string"&&tt.type==="generic-text"){var Ze=Ye(tt);ke(Ze)||(tt.type="bad-line",tt.content=Ze)}})});function ke(Pe){for(var Ue="[]{}",tt=[],Ze=0;Ze<Pe.length;Ze++){var rt=Pe[Ze],xt=Ue.indexOf(rt);if(xt!==-1){if(xt%2===0)tt.push(xt+1);else if(tt.pop()!==xt)return!1}}return tt.length===0}function Ye(Pe){return typeof Pe=="string"?Pe:Array.isArray(Pe)?Pe.map(Ye).join(""):Ye(Pe.content)}})(ue)}},293:function(Re){"use strict";Re.exports=xe,xe.displayName="nasm",xe.aliases=[];function xe(ue){ue.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}},83873:function(Re){"use strict";Re.exports=xe,xe.displayName="neon",xe.aliases=[];function xe(ue){ue.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},75932:function(Re){"use strict";Re.exports=xe,xe.displayName="nevod",xe.aliases=[];function xe(ue){ue.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},60221:function(Re){"use strict";Re.exports=xe,xe.displayName="nginx",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;ce.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:Ae}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:Ae}},punctuation:/[{};]/}})(ue)}},44188:function(Re){"use strict";Re.exports=xe,xe.displayName="nim",xe.aliases=[];function xe(ue){ue.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},74426:function(Re){"use strict";Re.exports=xe,xe.displayName="nix",xe.aliases=[];function xe(ue){ue.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},ue.languages.nix.string.inside.interpolation.inside=ue.languages.nix}},88447:function(Re){"use strict";Re.exports=xe,xe.displayName="nsis",xe.aliases=[];function xe(ue){ue.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},16032:function(Re,xe,ue){"use strict";var ce=ue(65806);Re.exports=Ae,Ae.displayName="objectivec",Ae.aliases=["objc"];function Ae(Fe){Fe.register(ce),Fe.languages.objectivec=Fe.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Fe.languages.objectivec["class-name"],Fe.languages.objc=Fe.languages.objectivec}},33607:function(Re){"use strict";Re.exports=xe,xe.displayName="ocaml",xe.aliases=[];function xe(ue){ue.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},22001:function(Re,xe,ue){"use strict";var ce=ue(65806);Re.exports=Ae,Ae.displayName="opencl",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.opencl=ke.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),ke.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var Ye={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};ke.languages.insertBefore("c","keyword",Ye),ke.languages.cpp&&(Ye["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},ke.languages.insertBefore("cpp","keyword",Ye))}(Fe)}},22950:function(Re){"use strict";Re.exports=xe,xe.displayName="openqasm",xe.aliases=["qasm"];function xe(ue){ue.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},ue.languages.qasm=ue.languages.openqasm}},23254:function(Re){"use strict";Re.exports=xe,xe.displayName="oz",xe.aliases=[];function xe(ue){ue.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},70558:function(Re){"use strict";Re.exports=xe,xe.displayName="parigp",xe.aliases=[];function xe(ue){ue.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var ce=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return ce=ce.map(function(Ae){return Ae.split("").join(" *")}).join("|"),RegExp("\\b(?:"+ce+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},43273:function(Re){"use strict";Re.exports=xe,xe.displayName="parser",xe.aliases=[];function xe(ue){(function(ce){var Ae=ce.languages.parser=ce.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});Ae=ce.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:Ae.keyword,variable:Ae.variable,function:Ae.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:Ae.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:Ae.punctuation}}}),ce.languages.insertBefore("inside","punctuation",{expression:Ae.expression,keyword:Ae.keyword,variable:Ae.variable,function:Ae.function,escape:Ae.escape,"parser-punctuation":{pattern:Ae.punctuation,alias:"punctuation"}},Ae.tag.inside["attr-value"])})(ue)}},60718:function(Re){"use strict";Re.exports=xe,xe.displayName="pascal",xe.aliases=["objectpascal"];function xe(ue){ue.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},ue.languages.pascal.asm.inside=ue.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),ue.languages.objectpascal=ue.languages.pascal}},39303:function(Re){"use strict";Re.exports=xe,xe.displayName="pascaligo",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,Fe=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return Ae}),ke=ce.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return Fe}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return Fe}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return Fe})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},Ye=["comment","keyword","builtin","operator","punctuation"].reduce(function(Pe,Ue){return Pe[Ue]=ke[Ue],Pe},{});ke["class-name"].forEach(function(Pe){Pe.inside=Ye})})(ue)}},77393:function(Re){"use strict";Re.exports=xe,xe.displayName="pcaxis",xe.aliases=["px"];function xe(ue){ue.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},ue.languages.px=ue.languages.pcaxis}},19023:function(Re){"use strict";Re.exports=xe,xe.displayName="peoplecode",xe.aliases=["pcode"];function xe(ue){ue.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},ue.languages.pcode=ue.languages.peoplecode}},74212:function(Re){"use strict";Re.exports=xe,xe.displayName="perl",xe.aliases=[];function xe(ue){(function(ce){var Ae=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;ce.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,Ae].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,Ae].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,Ae+/\s*/.source+Ae].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(ue)}},5137:function(Re,xe,ue){"use strict";var ce=ue(88262);Re.exports=Ae,Ae.displayName="phpExtras",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},88262:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="php",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){var Ye=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,Pe=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],Ue=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,tt=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Ze=/[{}\[\](),:;]/;ke.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:Ye,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:Pe,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:Ue,operator:tt,punctuation:Ze};var rt={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:ke.languages.php},xt=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:rt}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:rt}}];ke.languages.insertBefore("php","variable",{string:xt,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:Ye,string:xt,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:Pe,number:Ue,operator:tt,punctuation:Ze}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),ke.hooks.add("before-tokenize",function(Qe){if(/<\?/.test(Qe.code)){var Mt=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;ke.languages["markup-templating"].buildPlaceholders(Qe,"php",Mt)}}),ke.hooks.add("after-tokenize",function(Qe){ke.languages["markup-templating"].tokenizePlaceholders(Qe,"php")})}(Fe)}},63632:function(Re,xe,ue){"use strict";var ce=ue(88262),Ae=ue(9858);Re.exports=Fe,Fe.displayName="phpdoc",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){var Pe=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;Ye.languages.phpdoc=Ye.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+Pe+"\\s+)?)\\$\\w+"),lookbehind:!0}}),Ye.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+Pe),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),Ye.languages.javadoclike.addSupport("php",Ye.languages.phpdoc)}(ke)}},59149:function(Re,xe,ue){"use strict";var ce=ue(11114);Re.exports=Ae,Ae.displayName="plsql",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.plsql=Fe.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),Fe.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},50256:function(Re){"use strict";Re.exports=xe,xe.displayName="powerquery",xe.aliases=[];function xe(ue){ue.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},ue.languages.pq=ue.languages.powerquery,ue.languages.mscript=ue.languages.powerquery}},61777:function(Re){"use strict";Re.exports=xe,xe.displayName="powershell",xe.aliases=[];function xe(ue){(function(ce){var Ae=ce.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};Ae.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:Ae},boolean:Ae.boolean,variable:Ae.variable}})(ue)}},3623:function(Re){"use strict";Re.exports=xe,xe.displayName="processing",xe.aliases=[];function xe(ue){ue.languages.processing=ue.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),ue.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},82707:function(Re){"use strict";Re.exports=xe,xe.displayName="prolog",xe.aliases=[];function xe(ue){ue.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},59338:function(Re){"use strict";Re.exports=xe,xe.displayName="promql",xe.aliases=[];function xe(ue){(function(ce){var Ae=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],Fe=["on","ignoring","group_right","group_left","by","without"],ke=["offset"],Ye=Ae.concat(Fe,ke);ce.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+Fe.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+Ye.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(ue)}},56267:function(Re){"use strict";Re.exports=xe,xe.displayName="properties",xe.aliases=[];function xe(ue){ue.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},98809:function(Re){"use strict";Re.exports=xe,xe.displayName="protobuf",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;ce.languages.protobuf=ce.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),ce.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:Ae}},builtin:Ae,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(ue)}},37548:function(Re){"use strict";Re.exports=xe,xe.displayName="psl",xe.aliases=[];function xe(ue){ue.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},82161:function(Re){"use strict";Re.exports=xe,xe.displayName="pug",xe.aliases=[];function xe(ue){(function(ce){ce.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:ce.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:ce.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:ce.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:ce.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:ce.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:ce.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:ce.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:ce.languages.javascript}],punctuation:/[.\-!=|]+/};for(var Ae=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,Fe=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],ke={},Ye=0,Pe=Fe.length;Ye<Pe;Ye++){var Ue=Fe[Ye];Ue=typeof Ue=="string"?{filter:Ue,language:Ue}:Ue,ce.languages[Ue.language]&&(ke["filter-"+Ue.filter]={pattern:RegExp(Ae.replace("<filter_name>",function(){return Ue.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[Ue.language,"language-"+Ue.language],inside:ce.languages[Ue.language]}}})}ce.languages.insertBefore("pug","filter",ke)})(ue)}},80625:function(Re){"use strict";Re.exports=xe,xe.displayName="puppet",xe.aliases=[];function xe(ue){(function(ce){ce.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var Ae=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:ce.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];ce.languages.puppet.heredoc[0].inside.interpolation=Ae,ce.languages.puppet.string.inside["double-quoted"].inside.interpolation=Ae})(ue)}},88393:function(Re){"use strict";Re.exports=xe,xe.displayName="pure",xe.aliases=[];function xe(ue){(function(ce){ce.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var Ae=["c",{lang:"c++",alias:"cpp"},"fortran"],Fe=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;Ae.forEach(function(ke){var Ye=ke;if(typeof ke!="string"&&(Ye=ke.alias,ke=ke.lang),ce.languages[Ye]){var Pe={};Pe["inline-lang-"+Ye]={pattern:RegExp(Fe.replace("<lang>",ke.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:ce.util.clone(ce.languages.pure["inline-lang"].inside)},Pe["inline-lang-"+Ye].inside.rest=ce.util.clone(ce.languages[Ye]),ce.languages.insertBefore("pure","inline-lang",Pe)}}),ce.languages.c&&(ce.languages.pure["inline-lang"].inside.rest=ce.util.clone(ce.languages.c))})(ue)}},78404:function(Re){"use strict";Re.exports=xe,xe.displayName="purebasic",xe.aliases=[];function xe(ue){ue.languages.purebasic=ue.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),ue.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete ue.languages.purebasic["class-name"],delete ue.languages.purebasic.boolean,ue.languages.pbfasm=ue.languages.purebasic}},92923:function(Re,xe,ue){"use strict";var ce=ue(58090);Re.exports=Ae,Ae.displayName="purescript",Ae.aliases=["purs"];function Ae(Fe){Fe.register(ce),Fe.languages.purescript=Fe.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[Fe.languages.haskell.operator[0],Fe.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),Fe.languages.purs=Fe.languages.purescript}},52992:function(Re){"use strict";Re.exports=xe,xe.displayName="python",xe.aliases=["py"];function xe(ue){ue.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},ue.languages.python["string-interpolation"].inside.interpolation.inside.rest=ue.languages.python,ue.languages.py=ue.languages.python}},55762:function(Re){"use strict";Re.exports=xe,xe.displayName="q",xe.aliases=[];function xe(ue){ue.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},4137:function(Re){"use strict";Re.exports=xe,xe.displayName="qml",xe.aliases=[];function xe(ue){(function(ce){for(var Ae=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,Fe=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,ke=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return Ae}).replace(/<comment>/g,function(){return Fe}),Ye=0;Ye<2;Ye++)ke=ke.replace(/<expr>/g,function(){return ke});ke=ke.replace(/<expr>/g,"[^\\s\\S]"),ce.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return ke}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:ce.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return ke}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:ce.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(ue)}},28260:function(Re){"use strict";Re.exports=xe,xe.displayName="qore",xe.aliases=[];function xe(ue){ue.languages.qore=ue.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},71360:function(Re){"use strict";Re.exports=xe,xe.displayName="qsharp",xe.aliases=["qs"];function xe(ue){(function(ce){function Ae(Mt,De){return Mt.replace(/<<(\d+)>>/g,function(te,ee){return"(?:"+De[+ee]+")"})}function Fe(Mt,De,te){return RegExp(Ae(Mt,De),te||"")}function ke(Mt,De){for(var te=0;te<De;te++)Mt=Mt.replace(/<<self>>/g,function(){return"(?:"+Mt+")"});return Mt.replace(/<<self>>/g,"[^\\s\\S]")}var Ye={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function Pe(Mt){return"\\b(?:"+Mt.trim().replace(/ /g,"|")+")\\b"}var Ue=RegExp(Pe(Ye.type+" "+Ye.other)),tt=/\b[A-Za-z_]\w*\b/.source,Ze=Ae(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[tt]),rt={keyword:Ue,punctuation:/[<>()?,.:[\]]/},xt=/"(?:\\.|[^\\"])*"/.source;ce.languages.qsharp=ce.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:Fe(/(^|[^$\\])<<0>>/.source,[xt]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:Fe(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Ze]),lookbehind:!0,inside:rt},{pattern:Fe(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Ze]),lookbehind:!0,inside:rt}],keyword:Ue,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),ce.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var Qe=ke(Ae(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[xt]),2);ce.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:Fe(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[Qe]),greedy:!0,inside:{interpolation:{pattern:Fe(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[Qe]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:ce.languages.qsharp}}},string:/[\s\S]+/}}})})(ue),ue.languages.qs=ue.languages.qsharp}},29308:function(Re){"use strict";Re.exports=xe,xe.displayName="r",xe.aliases=[];function xe(ue){ue.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},32168:function(Re,xe,ue){"use strict";var ce=ue(9997);Re.exports=Ae,Ae.displayName="racket",Ae.aliases=["rkt"];function Ae(Fe){Fe.register(ce),Fe.languages.racket=Fe.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),Fe.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),Fe.languages.rkt=Fe.languages.racket}},5755:function(Re){"use strict";Re.exports=xe,xe.displayName="reason",xe.aliases=[];function xe(ue){ue.languages.reason=ue.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),ue.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete ue.languages.reason.function}},54105:function(Re){"use strict";Re.exports=xe,xe.displayName="regex",xe.aliases=[];function xe(ue){(function(ce){var Ae={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},Fe=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,ke={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},Ye={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},Pe="(?:[^\\\\-]|"+Fe.source+")",Ue=RegExp(Pe+"-"+Pe),tt={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};ce.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:Ue,inside:{escape:Fe,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":Ae,"char-set":Ye,escape:Fe}},"special-escape":Ae,"char-set":ke,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":tt}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:Fe,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":tt}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(ue)}},93503:function(Re){"use strict";Re.exports=xe,xe.displayName="rego",xe.aliases=[];function xe(ue){ue.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},35108:function(Re){"use strict";Re.exports=xe,xe.displayName="renpy",xe.aliases=["rpy"];function xe(ue){ue.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},ue.languages.rpy=ue.languages.renpy}},46678:function(Re){"use strict";Re.exports=xe,xe.displayName="rest",xe.aliases=[];function xe(ue){ue.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},47496:function(Re){"use strict";Re.exports=xe,xe.displayName="rip",xe.aliases=[];function xe(ue){ue.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},30527:function(Re){"use strict";Re.exports=xe,xe.displayName="roboconf",xe.aliases=[];function xe(ue){ue.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},5261:function(Re){"use strict";Re.exports=xe,xe.displayName="robotframework",xe.aliases=[];function xe(ue){(function(ce){var Ae={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},Fe={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function ke(tt,Ze){var rt={};rt["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var xt in Ze)rt[xt]=Ze[xt];return rt.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},rt.variable=Fe,rt.comment=Ae,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return tt}),"im"),alias:"section",inside:rt}}var Ye={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},Pe={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:Fe}},Ue={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:Fe}};ce.languages.robotframework={settings:ke("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:ke("Variables"),"test-cases":ke("Test Cases",{"test-name":Pe,documentation:Ye,property:Ue}),keywords:ke("Keywords",{"keyword-name":Pe,documentation:Ye,property:Ue}),tasks:ke("Tasks",{"task-name":Pe,documentation:Ye,property:Ue}),comment:Ae},ce.languages.robot=ce.languages.robotframework})(ue)}},56939:function(Re){"use strict";Re.exports=xe,xe.displayName="ruby",xe.aliases=["rb"];function xe(ue){(function(ce){ce.languages.ruby=ce.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),ce.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var Ae={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:ce.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete ce.languages.ruby.function;var Fe="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",ke=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;ce.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+Fe+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:Ae,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:Ae,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+ke),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+ke+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),ce.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+Fe),greedy:!0,inside:{interpolation:Ae,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:Ae,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:Ae,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+Fe),greedy:!0,inside:{interpolation:Ae,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:Ae,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete ce.languages.ruby.string,ce.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),ce.languages.rb=ce.languages.ruby})(ue)}},83648:function(Re){"use strict";Re.exports=xe,xe.displayName="rust",xe.aliases=[];function xe(ue){(function(ce){for(var Ae=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,Fe=0;Fe<2;Fe++)Ae=Ae.replace(/<self>/g,function(){return Ae});Ae=Ae.replace(/<self>/g,function(){return/[^\s\S]/.source}),ce.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+Ae),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},ce.languages.rust["closure-params"].inside.rest=ce.languages.rust,ce.languages.rust.attribute.inside.string=ce.languages.rust.string})(ue)}},16009:function(Re){"use strict";Re.exports=xe,xe.displayName="sas",xe.aliases=[];function xe(ue){(function(ce){var Ae=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,Fe=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,ke={pattern:RegExp(Ae+"[bx]"),alias:"number"},Ye={pattern:/&[a-z_]\w*/i},Pe={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},Ue={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},tt=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Ze={pattern:RegExp(Ae),greedy:!0},rt=/[$%@.(){}\[\];,\\]/,xt={pattern:/%?\b\w+(?=\()/,alias:"keyword"},Qe={function:xt,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":Ye,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:Fe,"numeric-constant":ke,punctuation:rt,string:Ze},Mt={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},De={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},te={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},ee={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},de=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,se={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return de}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return de}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:tt,function:xt,"arg-value":Qe["arg-value"],operator:Qe.operator,argument:Qe.arg,number:Fe,"numeric-constant":ke,punctuation:rt,string:Ze}},ge={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};ce.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return Ae}),"im"),alias:"language-sql",inside:ce.languages.sql},"global-statements":te,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:Fe,"numeric-constant":ke,punctuation:rt,string:Ze}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:tt,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return Ae}),"im"),lookbehind:!0,alias:"language-groovy",inside:ce.languages.groovy},keyword:ge,"submit-statement":ee,"global-statements":te,number:Fe,"numeric-constant":ke,punctuation:rt,string:Ze}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:tt,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return Ae}),"im"),lookbehind:!0,alias:"language-lua",inside:ce.languages.lua},keyword:ge,"submit-statement":ee,"global-statements":te,number:Fe,"numeric-constant":ke,punctuation:rt,string:Ze}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:tt,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:Qe}},"cas-actions":se,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:Qe},step:Ue,keyword:ge,function:xt,format:Mt,altformat:De,"global-statements":te,number:Fe,"numeric-constant":ke,punctuation:rt,string:Ze}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return Ae}),"im"),lookbehind:!0,inside:Qe},"macro-keyword":Pe,"macro-variable":Ye,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":Pe,"macro-variable":Ye,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:rt}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:tt,number:Fe,"numeric-constant":ke}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:Qe},"cas-actions":se,comment:tt,function:xt,format:Mt,altformat:De,"numeric-constant":ke,datetime:{pattern:RegExp(Ae+"(?:dt?|t)"),alias:"number"},string:Ze,step:Ue,keyword:ge,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:Fe,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:rt}})(ue)}},41720:function(Re){"use strict";Re.exports=xe,xe.displayName="sass",xe.aliases=[];function xe(ue){(function(ce){ce.languages.sass=ce.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),ce.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete ce.languages.sass.atrule;var Ae=/\$[-\w]+|#\{\$[-\w]+\}/,Fe=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];ce.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:Ae,operator:Fe}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:Ae,operator:Fe,important:ce.languages.sass.important}}}),delete ce.languages.sass.property,delete ce.languages.sass.important,ce.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(ue)}},6054:function(Re,xe,ue){"use strict";var ce=ue(15909);Re.exports=Ae,Ae.displayName="scala",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.scala=Fe.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),Fe.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:Fe.languages.scala}}},string:/[\s\S]+/}}}),delete Fe.languages.scala["class-name"],delete Fe.languages.scala.function}},9997:function(Re){"use strict";Re.exports=xe,xe.displayName="scheme",xe.aliases=[];function xe(ue){(function(ce){ce.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(Ae({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function Ae(Fe){for(var ke in Fe)Fe[ke]=Fe[ke].replace(/<[\w\s]+>/g,function(Ye){return"(?:"+Fe[Ye].trim()+")"});return Fe[ke]}})(ue)}},24296:function(Re){"use strict";Re.exports=xe,xe.displayName="scss",xe.aliases=[];function xe(ue){ue.languages.scss=ue.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),ue.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),ue.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),ue.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),ue.languages.scss.atrule.inside.rest=ue.languages.scss}},49246:function(Re,xe,ue){"use strict";var ce=ue(6979);Re.exports=Ae,Ae.displayName="shellSession",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){var Ye=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");ke.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return Ye}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:ke.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},ke.languages["sh-session"]=ke.languages.shellsession=ke.languages["shell-session"]}(Fe)}},18890:function(Re){"use strict";Re.exports=xe,xe.displayName="smali",xe.aliases=[];function xe(ue){ue.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},11037:function(Re){"use strict";Re.exports=xe,xe.displayName="smalltalk",xe.aliases=[];function xe(ue){ue.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},64020:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="smarty",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:ke.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},ke.languages.smarty["embedded-php"].inside.smarty.inside=ke.languages.smarty,ke.languages.smarty.string[0].inside.interpolation.inside.expression.inside=ke.languages.smarty;var Ye=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,Pe=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return Ye.source}),"g");ke.hooks.add("before-tokenize",function(Ue){var tt="{literal}",Ze="{/literal}",rt=!1;ke.languages["markup-templating"].buildPlaceholders(Ue,"smarty",Pe,function(xt){return xt===Ze&&(rt=!1),rt?!1:(xt===tt&&(rt=!0),!0)})}),ke.hooks.add("after-tokenize",function(Ue){ke.languages["markup-templating"].tokenizePlaceholders(Ue,"smarty")})}(Fe)}},49760:function(Re){"use strict";Re.exports=xe,xe.displayName="sml",xe.aliases=["smlnj"];function xe(ue){(function(ce){var Ae=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;ce.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return Ae.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:Ae,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},ce.languages.sml["class-name"][0].inside=ce.languages.sml,ce.languages.smlnj=ce.languages.sml})(ue)}},33351:function(Re){"use strict";Re.exports=xe,xe.displayName="solidity",xe.aliases=["sol"];function xe(ue){ue.languages.solidity=ue.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),ue.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),ue.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),ue.languages.sol=ue.languages.solidity}},13570:function(Re){"use strict";Re.exports=xe,xe.displayName="solutionFile",xe.aliases=[];function xe(ue){(function(ce){var Ae={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};ce.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:Ae}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:Ae}},guid:Ae,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},ce.languages.sln=ce.languages["solution-file"]})(ue)}},38181:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="soy",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){var Ye=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,Pe=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;ke.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:Ye,greedy:!0},number:Pe,punctuation:/[\[\].?]/}},string:{pattern:Ye,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:Pe,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},ke.hooks.add("before-tokenize",function(Ue){var tt=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Ze="{literal}",rt="{/literal}",xt=!1;ke.languages["markup-templating"].buildPlaceholders(Ue,"soy",tt,function(Qe){return Qe===rt&&(xt=!1),xt?!1:(Qe===Ze&&(xt=!0),!0)})}),ke.hooks.add("after-tokenize",function(Ue){ke.languages["markup-templating"].tokenizePlaceholders(Ue,"soy")})}(Fe)}},98774:function(Re,xe,ue){"use strict";var ce=ue(24691);Re.exports=Ae,Ae.displayName="sparql",Ae.aliases=["rq"];function Ae(Fe){Fe.register(ce),Fe.languages.sparql=Fe.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),Fe.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),Fe.languages.rq=Fe.languages.sparql}},22855:function(Re){"use strict";Re.exports=xe,xe.displayName="splunkSpl",xe.aliases=[];function xe(ue){ue.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},29611:function(Re){"use strict";Re.exports=xe,xe.displayName="sqf",xe.aliases=[];function xe(ue){ue.languages.sqf=ue.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),ue.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:ue.languages.sqf.comment}}}),delete ue.languages.sqf["class-name"]}},11114:function(Re){"use strict";Re.exports=xe,xe.displayName="sql",xe.aliases=[];function xe(ue){ue.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},67386:function(Re){"use strict";Re.exports=xe,xe.displayName="squirrel",xe.aliases=[];function xe(ue){ue.languages.squirrel=ue.languages.extend("clike",{comment:[ue.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),ue.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),ue.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},28067:function(Re){"use strict";Re.exports=xe,xe.displayName="stan",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;ce.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+Ae.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,Ae],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},ce.languages.stan.constraint.inside.expression.inside=ce.languages.stan})(ue)}},49168:function(Re){"use strict";Re.exports=xe,xe.displayName="stylus",xe.aliases=[];function xe(ue){(function(ce){var Ae={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},Fe={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},ke={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Ae,number:Fe,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Ae,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:Fe,punctuation:/[{}()\[\];:,]/};ke.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:ke}},ke.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:ke}},ce.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:ke}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:ke}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:ke}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:ke.interpolation}},rest:ke}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:ke.interpolation,comment:ke.comment,punctuation:/[{},]/}},func:ke.func,string:ke.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:ke.interpolation,punctuation:/[{}()\[\];:.]/}})(ue)}},23651:function(Re){"use strict";Re.exports=xe,xe.displayName="swift",xe.aliases=[];function xe(ue){ue.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},ue.languages.swift["string-literal"].forEach(function(ce){ce.inside.interpolation.inside=ue.languages.swift})}},21483:function(Re){"use strict";Re.exports=xe,xe.displayName="systemd",xe.aliases=[];function xe(ue){(function(ce){var Ae={pattern:/^[;#].*/m,greedy:!0},Fe=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;ce.languages.systemd={comment:Ae,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+Fe+`|(?=[^"\r
|
|
|
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+Fe+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:Ae,quoted:{pattern:RegExp(/(^|\s)/.source+Fe),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(ue)}},32268:function(Re,xe,ue){"use strict";var ce=ue(2329),Ae=ue(61958);Re.exports=Fe,Fe.displayName="t4Cs",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),ke.languages.t4=ke.languages["t4-cs"]=ke.languages["t4-templating"].createT4("csharp")}},2329:function(Re){"use strict";Re.exports=xe,xe.displayName="t4Templating",xe.aliases=[];function xe(ue){(function(ce){function Ae(ke,Ye,Pe){return{pattern:RegExp("<#"+ke+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+ke+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:Ye,alias:Pe}}}}function Fe(ke){var Ye=ce.languages[ke],Pe="language-"+ke;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:Ae("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:Ae("=",Ye,Pe),"class-feature":Ae("\\+",Ye,Pe),standard:Ae("",Ye,Pe)}}}}ce.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:Fe})})(ue)}},82996:function(Re,xe,ue){"use strict";var ce=ue(2329),Ae=ue(53813);Re.exports=Fe,Fe.displayName="t4Vb",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),ke.languages["t4-vb"]=ke.languages["t4-templating"].createT4("vbnet")}},17290:function(Re,xe,ue){"use strict";var ce=ue(65039);Re.exports=Ae,Ae.displayName="tap",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:Fe.languages.yaml,alias:"language-yaml"}}}},67989:function(Re){"use strict";Re.exports=xe,xe.displayName="tcl",xe.aliases=[];function xe(ue){ue.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},31065:function(Re){"use strict";Re.exports=xe,xe.displayName="textile",xe.aliases=[];function xe(ue){(function(ce){var Ae=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,Fe=/\)|\((?![^|()\n]+\))/.source;function ke(xt,Qe){return RegExp(xt.replace(/<MOD>/g,function(){return"(?:"+Ae+")"}).replace(/<PAR>/g,function(){return"(?:"+Fe+")"}),Qe||"")}var Ye={css:{pattern:/\{[^{}]+\}/,inside:{rest:ce.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},Pe=ce.languages.textile=ce.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:ke(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:ke(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:Ye},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:ke(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:ke(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:Ye},punctuation:/^[*#]+/}},table:{pattern:ke(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:ke(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:Ye},punctuation:/\||^\./}},inline:{pattern:ke(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:ke(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:ke(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:ke(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:ke(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:ke(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:ke(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:ke(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:ke(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:Ye},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:ke(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:ke(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:ke(/(^")<MOD>+/.source),lookbehind:!0,inside:Ye},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:ke(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:ke(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:ke(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:Ye},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),Ue=Pe.phrase.inside,tt={inline:Ue.inline,link:Ue.link,image:Ue.image,footnote:Ue.footnote,acronym:Ue.acronym,mark:Ue.mark};Pe.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Ze=Ue.inline.inside;Ze.bold.inside=tt,Ze.italic.inside=tt,Ze.inserted.inside=tt,Ze.deleted.inside=tt,Ze.span.inside=tt;var rt=Ue.table.inside;rt.inline=tt.inline,rt.link=tt.link,rt.image=tt.image,rt.footnote=tt.footnote,rt.acronym=tt.acronym,rt.mark=tt.mark})(ue)}},85572:function(Re){"use strict";Re.exports=xe,xe.displayName="toml",xe.aliases=[];function xe(ue){(function(ce){var Ae=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function Fe(ke){return ke.replace(/__/g,function(){return Ae})}ce.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(Fe(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(Fe(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(ue)}},27536:function(Re){"use strict";Re.exports=xe,xe.displayName="tremor",xe.aliases=[];function xe(ue){(function(ce){ce.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var Ae=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;ce.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+Ae+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+Ae+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(Ae),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:ce.languages.tremor}}},string:/[\s\S]+/}},ce.languages.troy=ce.languages.tremor,ce.languages.trickle=ce.languages.tremor})(ue)}},87041:function(Re,xe,ue){"use strict";var ce=ue(96412),Ae=ue(4979);Re.exports=Fe,Fe.displayName="tsx",Fe.aliases=[];function Fe(ke){ke.register(ce),ke.register(Ae),function(Ye){var Pe=Ye.util.clone(Ye.languages.typescript);Ye.languages.tsx=Ye.languages.extend("jsx",Pe),delete Ye.languages.tsx.parameter,delete Ye.languages.tsx["literal-property"];var Ue=Ye.languages.tsx.tag;Ue.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+Ue.pattern.source+")",Ue.pattern.flags),Ue.lookbehind=!0}(ke)}},61028:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="tt2",Ae.aliases=[];function Ae(Fe){Fe.register(ce),function(ke){ke.languages.tt2=ke.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),ke.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),ke.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),ke.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete ke.languages.tt2.string,ke.hooks.add("before-tokenize",function(Ye){var Pe=/\[%[\s\S]+?%\]/g;ke.languages["markup-templating"].buildPlaceholders(Ye,"tt2",Pe)}),ke.hooks.add("after-tokenize",function(Ye){ke.languages["markup-templating"].tokenizePlaceholders(Ye,"tt2")})}(Fe)}},24691:function(Re){"use strict";Re.exports=xe,xe.displayName="turtle",xe.aliases=[];function xe(ue){ue.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},ue.languages.trig=ue.languages.turtle}},19892:function(Re,xe,ue){"use strict";var ce=ue(93205);Re.exports=Ae,Ae.displayName="twig",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},Fe.hooks.add("before-tokenize",function(ke){if(ke.language==="twig"){var Ye=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;Fe.languages["markup-templating"].buildPlaceholders(ke,"twig",Ye)}}),Fe.hooks.add("after-tokenize",function(ke){Fe.languages["markup-templating"].tokenizePlaceholders(ke,"twig")})}},4979:function(Re){"use strict";Re.exports=xe,xe.displayName="typescript",xe.aliases=["ts"];function xe(ue){(function(ce){ce.languages.typescript=ce.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),ce.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete ce.languages.typescript.parameter,delete ce.languages.typescript["literal-property"];var Ae=ce.languages.extend("typescript",{});delete Ae["class-name"],ce.languages.typescript["class-name"].inside=Ae,ce.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:Ae}}}}),ce.languages.ts=ce.languages.typescript})(ue)}},23159:function(Re){"use strict";Re.exports=xe,xe.displayName="typoscript",xe.aliases=["tsconfig"];function xe(ue){(function(ce){var Ae=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;ce.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:Ae}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:Ae,number:/^\d+$/,punctuation:/[,|:]/}},keyword:Ae,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},ce.languages.tsconfig=ce.languages.typoscript})(ue)}},34966:function(Re){"use strict";Re.exports=xe,xe.displayName="unrealscript",xe.aliases=["uc","uscript"];function xe(ue){ue.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},ue.languages.uc=ue.languages.uscript=ue.languages.unrealscript}},44623:function(Re){"use strict";Re.exports=xe,xe.displayName="uorazor",xe.aliases=[];function xe(ue){ue.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},38521:function(Re){"use strict";Re.exports=xe,xe.displayName="uri",xe.aliases=["url"];function xe(ue){ue.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},ue.languages.url=ue.languages.uri}},7255:function(Re){"use strict";Re.exports=xe,xe.displayName="v",xe.aliases=[];function xe(ue){(function(ce){var Ae={pattern:/[\s\S]+/,inside:null};ce.languages.v=ce.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":Ae}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),Ae.inside=ce.languages.v,ce.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),ce.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),ce.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:ce.languages.v.generic.inside}}}})})(ue)}},28173:function(Re){"use strict";Re.exports=xe,xe.displayName="vala",xe.aliases=[];function xe(ue){ue.languages.vala=ue.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),ue.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:ue.languages.vala}},string:/[\s\S]+/}}}),ue.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:ue.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},53813:function(Re,xe,ue){"use strict";var ce=ue(46241);Re.exports=Ae,Ae.displayName="vbnet",Ae.aliases=[];function Ae(Fe){Fe.register(ce),Fe.languages.vbnet=Fe.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},46891:function(Re){"use strict";Re.exports=xe,xe.displayName="velocity",xe.aliases=[];function xe(ue){(function(ce){ce.languages.velocity=ce.languages.extend("markup",{});var Ae={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};Ae.variable.inside={string:Ae.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:Ae.number,boolean:Ae.boolean,punctuation:Ae.punctuation},ce.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:Ae}},variable:Ae.variable}),ce.languages.velocity.tag.inside["attr-value"].inside.rest=ce.languages.velocity})(ue)}},91824:function(Re){"use strict";Re.exports=xe,xe.displayName="verilog",xe.aliases=[];function xe(ue){ue.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},9447:function(Re){"use strict";Re.exports=xe,xe.displayName="vhdl",xe.aliases=[];function xe(ue){ue.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},53062:function(Re){"use strict";Re.exports=xe,xe.displayName="vim",xe.aliases=[];function xe(ue){ue.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},46215:function(Re){"use strict";Re.exports=xe,xe.displayName="visualBasic",xe.aliases=[];function xe(ue){ue.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},ue.languages.vb=ue.languages["visual-basic"],ue.languages.vba=ue.languages["visual-basic"]}},10784:function(Re){"use strict";Re.exports=xe,xe.displayName="warpscript",xe.aliases=[];function xe(ue){ue.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},17684:function(Re){"use strict";Re.exports=xe,xe.displayName="wasm",xe.aliases=[];function xe(ue){ue.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},64851:function(Re){"use strict";Re.exports=xe,xe.displayName="webIdl",xe.aliases=[];function xe(ue){(function(ce){var Ae=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,Fe="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+Ae+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,ke={};ce.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+Ae),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:ke},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+Fe),lookbehind:!0,inside:ke},{pattern:RegExp("("+/\bcallback\s+/.source+Ae+/\s*=\s*/.source+")"+Fe),lookbehind:!0,inside:ke},{pattern:RegExp(/(\btypedef\b\s*)/.source+Fe),lookbehind:!0,inside:ke},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+Ae),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+Ae),lookbehind:!0},RegExp(Ae+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+Ae),lookbehind:!0},{pattern:RegExp(Fe+"(?="+/\s*(?:\.{3}\s*)?/.source+Ae+/\s*[(),;=]/.source+")"),inside:ke}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var Ye in ce.languages["web-idl"])Ye!=="class-name"&&(ke[Ye]=ce.languages["web-idl"][Ye]);ce.languages.webidl=ce.languages["web-idl"]})(ue)}},18191:function(Re){"use strict";Re.exports=xe,xe.displayName="wiki",xe.aliases=[];function xe(ue){ue.languages.wiki=ue.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:ue.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),ue.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:ue.languages.markup.tag.inside}}}})}},75242:function(Re){"use strict";Re.exports=xe,xe.displayName="wolfram",xe.aliases=["mathematica","wl","nb"];function xe(ue){ue.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},ue.languages.mathematica=ue.languages.wolfram,ue.languages.wl=ue.languages.wolfram,ue.languages.nb=ue.languages.wolfram}},93639:function(Re){"use strict";Re.exports=xe,xe.displayName="wren",xe.aliases=[];function xe(ue){ue.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},ue.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:ue.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},97202:function(Re){"use strict";Re.exports=xe,xe.displayName="xeora",xe.aliases=["xeoracube"];function xe(ue){(function(ce){ce.languages.xeora=ce.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),ce.languages.insertBefore("inside","punctuation",{variable:ce.languages.xeora["function-inline"].inside.variable},ce.languages.xeora["function-block"]),ce.languages.xeoracube=ce.languages.xeora})(ue)}},13808:function(Re){"use strict";Re.exports=xe,xe.displayName="xmlDoc",xe.aliases=[];function xe(ue){(function(ce){function Ae(Pe,Ue){ce.languages[Pe]&&ce.languages.insertBefore(Pe,"comment",{"doc-comment":Ue})}var Fe=ce.languages.markup.tag,ke={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:Fe}},Ye={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:Fe}};Ae("csharp",ke),Ae("fsharp",ke),Ae("vbnet",Ye)})(ue)}},21301:function(Re){"use strict";Re.exports=xe,xe.displayName="xojo",xe.aliases=[];function xe(ue){ue.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},20349:function(Re){"use strict";Re.exports=xe,xe.displayName="xquery",xe.aliases=[];function xe(ue){(function(ce){ce.languages.xquery=ce.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),ce.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,ce.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,ce.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,ce.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:ce.languages.xquery,alias:"language-xquery"};var Ae=function(ke){return typeof ke=="string"?ke:typeof ke.content=="string"?ke.content:ke.content.map(Ae).join("")},Fe=function(ke){for(var Ye=[],Pe=0;Pe<ke.length;Pe++){var Ue=ke[Pe],tt=!1;if(typeof Ue!="string"&&(Ue.type==="tag"&&Ue.content[0]&&Ue.content[0].type==="tag"?Ue.content[0].content[0].content==="</"?Ye.length>0&&Ye[Ye.length-1].tagName===Ae(Ue.content[0].content[1])&&Ye.pop():Ue.content[Ue.content.length-1].content==="/>"||Ye.push({tagName:Ae(Ue.content[0].content[1]),openedBraces:0}):Ye.length>0&&Ue.type==="punctuation"&&Ue.content==="{"&&(!ke[Pe+1]||ke[Pe+1].type!=="punctuation"||ke[Pe+1].content!=="{")&&(!ke[Pe-1]||ke[Pe-1].type!=="plain-text"||ke[Pe-1].content!=="{")?Ye[Ye.length-1].openedBraces++:Ye.length>0&&Ye[Ye.length-1].openedBraces>0&&Ue.type==="punctuation"&&Ue.content==="}"?Ye[Ye.length-1].openedBraces--:Ue.type!=="comment"&&(tt=!0)),(tt||typeof Ue=="string")&&Ye.length>0&&Ye[Ye.length-1].openedBraces===0){var Ze=Ae(Ue);Pe<ke.length-1&&(typeof ke[Pe+1]=="string"||ke[Pe+1].type==="plain-text")&&(Ze+=Ae(ke[Pe+1]),ke.splice(Pe+1,1)),Pe>0&&(typeof ke[Pe-1]=="string"||ke[Pe-1].type==="plain-text")&&(Ze=Ae(ke[Pe-1])+Ze,ke.splice(Pe-1,1),Pe--),/^\s+$/.test(Ze)?ke[Pe]=Ze:ke[Pe]=new ce.Token("plain-text",Ze,null,Ze)}Ue.content&&typeof Ue.content!="string"&&Fe(Ue.content)}};ce.hooks.add("after-tokenize",function(ke){ke.language==="xquery"&&Fe(ke.tokens)})})(ue)}},65039:function(Re){"use strict";Re.exports=xe,xe.displayName="yaml",xe.aliases=["yml"];function xe(ue){(function(ce){var Ae=/[*&][^\s[\]{},]+/,Fe=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,ke="(?:"+Fe.source+"(?:[ ]+"+Ae.source+")?|"+Ae.source+"(?:[ ]+"+Fe.source+")?)",Ye=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),Pe=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function Ue(tt,Ze){Ze=(Ze||"").replace(/m/g,"")+"m";var rt=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return ke}).replace(/<<value>>/g,function(){return tt});return RegExp(rt,Ze)}ce.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return ke})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return ke}).replace(/<<key>>/g,function(){return"(?:"+Ye+"|"+Pe+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:Ue(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:Ue(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:Ue(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:Ue(Pe),lookbehind:!0,greedy:!0},number:{pattern:Ue(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:Fe,important:Ae,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},ce.languages.yml=ce.languages.yaml})(ue)}},96319:function(Re){"use strict";Re.exports=xe,xe.displayName="yang",xe.aliases=[];function xe(ue){ue.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},31501:function(Re){"use strict";Re.exports=xe,xe.displayName="zig",xe.aliases=[];function xe(ue){(function(ce){function Ae(Ze){return function(){return Ze}}var Fe=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,ke="\\b(?!"+Fe.source+")(?!\\d)\\w+\\b",Ye=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,Pe=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,Ae(Ye)),Ue=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,Ae(ke)),tt="(?!\\s)(?:!?\\s*(?:"+Pe+"\\s*)*"+Ue+")+";ce.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,Ae(tt)).replace(/<ALIGN>/g,Ae(Ye))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,Ae(tt)).replace(/<ALIGN>/g,Ae(Ye))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:Fe,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},ce.languages.zig["class-name"].forEach(function(Ze){Ze.inside===null&&(Ze.inside=ce.languages.zig)})})(ue)}},97003:function(Re,xe){"use strict";var ue;xe.Q=ke,ue=Ye;var ce=",",Ae=" ",Fe="";function ke(Pe){for(var Ue=[],tt=String(Pe||Fe),Ze=tt.indexOf(ce),rt=0,xt=!1,Qe;!xt;)Ze===-1&&(Ze=tt.length,xt=!0),Qe=tt.slice(rt,Ze).trim(),(Qe||!xt)&&Ue.push(Qe),rt=Ze+1,Ze=tt.indexOf(ce,rt);return Ue}function Ye(Pe,Ue){var tt=Ue||{},Ze=tt.padLeft===!1?Fe:Ae,rt=tt.padRight?Ae:Fe;return Pe[Pe.length-1]===Fe&&(Pe=Pe.concat(Fe)),Pe.join(rt+ce+Ze).trim()}},34995:function(Re){"use strict";Re.exports=ue;var xe=/[#.]/g;function ue(ce,Ae){for(var Fe=ce||"",ke=Ae||"div",Ye={},Pe=0,Ue,tt,Ze;Pe<Fe.length;)xe.lastIndex=Pe,Ze=xe.exec(Fe),Ue=Fe.slice(Pe,Ze?Ze.index:Fe.length),Ue&&(tt?tt==="#"?Ye.id=Ue:Ye.className?Ye.className.push(Ue):Ye.className=[Ue]:ke=Ue,Pe+=Ue.length),Ze&&(tt=Ze[0],Pe++);return{type:"element",tagName:ke,properties:Ye,children:[]}}},6509:function(Re,xe,ue){"use strict";var ce=ue(65605),Ae=ue(33343),Fe=ue(34995),ke=ue(42749).Q,Ye=ue(97003).Q;Re.exports=Ue;var Pe={}.hasOwnProperty;function Ue(te,ee,de){var se=de?De(de):null;return ge;function ge(be,we){var Oe=Fe(be,ee),Ke=Array.prototype.slice.call(arguments,2),qe=Oe.tagName.toLowerCase(),lt;if(Oe.tagName=se&&Pe.call(se,qe)?se[qe]:qe,we&&tt(we,Oe)&&(Ke.unshift(we),we=null),we)for(lt in we)ve(Oe.properties,lt,we[lt]);return rt(Oe.children,Ke),Oe.tagName==="template"&&(Oe.content={type:"root",children:Oe.children},Oe.children=[]),Oe}function ve(be,we,Oe){var Ke,qe,lt;Oe==null||Oe!==Oe||(Ke=ce(te,we),qe=Ke.property,lt=Oe,typeof lt=="string"&&(Ke.spaceSeparated?lt=ke(lt):Ke.commaSeparated?lt=Ye(lt):Ke.commaOrSpaceSeparated&&(lt=ke(Ye(lt).join(" ")))),qe==="style"&&typeof Oe!="string"&&(lt=Mt(lt)),qe==="className"&&be.className&&(lt=be.className.concat(lt)),be[qe]=xt(Ke,qe,lt))}}function tt(te,ee){return typeof te=="string"||"length"in te||Ze(ee.tagName,te)}function Ze(te,ee){var de=ee.type;return te==="input"||!de||typeof de!="string"?!1:typeof ee.children=="object"&&"length"in ee.children?!0:(de=de.toLowerCase(),te==="button"?de!=="menu"&&de!=="submit"&&de!=="reset"&&de!=="button":"value"in ee)}function rt(te,ee){var de,se;if(typeof ee=="string"||typeof ee=="number"){te.push({type:"text",value:String(ee)});return}if(typeof ee=="object"&&"length"in ee){for(de=-1,se=ee.length;++de<se;)rt(te,ee[de]);return}if(typeof ee!="object"||!("type"in ee))throw new Error("Expected node, nodes, or string, got `"+ee+"`");te.push(ee)}function xt(te,ee,de){var se,ge,ve;if(typeof de!="object"||!("length"in de))return Qe(te,ee,de);for(ge=de.length,se=-1,ve=[];++se<ge;)ve[se]=Qe(te,ee,de[se]);return ve}function Qe(te,ee,de){var se=de;return te.number||te.positiveNumber?!isNaN(se)&&se!==""&&(se=Number(se)):(te.boolean||te.overloadedBoolean)&&typeof se=="string"&&(se===""||Ae(de)===Ae(ee))&&(se=!0),se}function Mt(te){var ee=[],de;for(de in te)ee.push([de,te[de]].join(": "));return ee.join("; ")}function De(te){for(var ee=te.length,de=-1,se={},ge;++de<ee;)ge=te[de],se[ge.toLowerCase()]=ge;return se}},51575:function(Re,xe,ue){"use strict";var ce=ue(17034),Ae=ue(6509),Fe=Ae(ce,"div");Fe.displayName="html",Re.exports=Fe},90871:function(Re,xe,ue){"use strict";Re.exports=ue(51575)},59216:function(Re,xe,ue){var ce=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var Ae=function(Fe){var ke=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,Ye=0,Pe={},Ue={manual:Fe.Prism&&Fe.Prism.manual,disableWorkerMessageHandler:Fe.Prism&&Fe.Prism.disableWorkerMessageHandler,util:{encode:function se(ge){return ge instanceof tt?new tt(ge.type,se(ge.content),ge.alias):Array.isArray(ge)?ge.map(se):ge.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(se){return Object.prototype.toString.call(se).slice(8,-1)},objId:function(se){return se.__id||Object.defineProperty(se,"__id",{value:++Ye}),se.__id},clone:function se(ge,ve){ve=ve||{};var be,we;switch(Ue.util.type(ge)){case"Object":if(we=Ue.util.objId(ge),ve[we])return ve[we];be={},ve[we]=be;for(var Oe in ge)ge.hasOwnProperty(Oe)&&(be[Oe]=se(ge[Oe],ve));return be;case"Array":return we=Ue.util.objId(ge),ve[we]?ve[we]:(be=[],ve[we]=be,ge.forEach(function(Ke,qe){be[qe]=se(Ke,ve)}),be);default:return ge}},getLanguage:function(se){for(;se;){var ge=ke.exec(se.className);if(ge)return ge[1].toLowerCase();se=se.parentElement}return"none"},setLanguage:function(se,ge){se.className=se.className.replace(RegExp(ke,"gi"),""),se.classList.add("language-"+ge)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(be){var se=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(be.stack)||[])[1];if(se){var ge=document.getElementsByTagName("script");for(var ve in ge)if(ge[ve].src==se)return ge[ve]}return null}},isActive:function(se,ge,ve){for(var be="no-"+ge;se;){var we=se.classList;if(we.contains(ge))return!0;if(we.contains(be))return!1;se=se.parentElement}return!!ve}},languages:{plain:Pe,plaintext:Pe,text:Pe,txt:Pe,extend:function(se,ge){var ve=Ue.util.clone(Ue.languages[se]);for(var be in ge)ve[be]=ge[be];return ve},insertBefore:function(se,ge,ve,be){be=be||Ue.languages;var we=be[se],Oe={};for(var Ke in we)if(we.hasOwnProperty(Ke)){if(Ke==ge)for(var qe in ve)ve.hasOwnProperty(qe)&&(Oe[qe]=ve[qe]);ve.hasOwnProperty(Ke)||(Oe[Ke]=we[Ke])}var lt=be[se];return be[se]=Oe,Ue.languages.DFS(Ue.languages,function(at,ft){ft===lt&&at!=se&&(this[at]=Oe)}),Oe},DFS:function se(ge,ve,be,we){we=we||{};var Oe=Ue.util.objId;for(var Ke in ge)if(ge.hasOwnProperty(Ke)){ve.call(ge,Ke,ge[Ke],be||Ke);var qe=ge[Ke],lt=Ue.util.type(qe);lt==="Object"&&!we[Oe(qe)]?(we[Oe(qe)]=!0,se(qe,ve,null,we)):lt==="Array"&&!we[Oe(qe)]&&(we[Oe(qe)]=!0,se(qe,ve,Ke,we))}}},plugins:{},highlightAll:function(se,ge){Ue.highlightAllUnder(document,se,ge)},highlightAllUnder:function(se,ge,ve){var be={callback:ve,container:se,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};Ue.hooks.run("before-highlightall",be),be.elements=Array.prototype.slice.apply(be.container.querySelectorAll(be.selector)),Ue.hooks.run("before-all-elements-highlight",be);for(var we=0,Oe;Oe=be.elements[we++];)Ue.highlightElement(Oe,ge===!0,be.callback)},highlightElement:function(se,ge,ve){var be=Ue.util.getLanguage(se),we=Ue.languages[be];Ue.util.setLanguage(se,be);var Oe=se.parentElement;Oe&&Oe.nodeName.toLowerCase()==="pre"&&Ue.util.setLanguage(Oe,be);var Ke=se.textContent,qe={element:se,language:be,grammar:we,code:Ke};function lt(ft){qe.highlightedCode=ft,Ue.hooks.run("before-insert",qe),qe.element.innerHTML=qe.highlightedCode,Ue.hooks.run("after-highlight",qe),Ue.hooks.run("complete",qe),ve&&ve.call(qe.element)}if(Ue.hooks.run("before-sanity-check",qe),Oe=qe.element.parentElement,Oe&&Oe.nodeName.toLowerCase()==="pre"&&!Oe.hasAttribute("tabindex")&&Oe.setAttribute("tabindex","0"),!qe.code){Ue.hooks.run("complete",qe),ve&&ve.call(qe.element);return}if(Ue.hooks.run("before-highlight",qe),!qe.grammar){lt(Ue.util.encode(qe.code));return}if(ge&&Fe.Worker){var at=new Worker(Ue.filename);at.onmessage=function(ft){lt(ft.data)},at.postMessage(JSON.stringify({language:qe.language,code:qe.code,immediateClose:!0}))}else lt(Ue.highlight(qe.code,qe.grammar,qe.language))},highlight:function(se,ge,ve){var be={code:se,grammar:ge,language:ve};if(Ue.hooks.run("before-tokenize",be),!be.grammar)throw new Error('The language "'+be.language+'" has no grammar.');return be.tokens=Ue.tokenize(be.code,be.grammar),Ue.hooks.run("after-tokenize",be),tt.stringify(Ue.util.encode(be.tokens),be.language)},tokenize:function(se,ge){var ve=ge.rest;if(ve){for(var be in ve)ge[be]=ve[be];delete ge.rest}var we=new xt;return Qe(we,we.head,se),rt(se,we,ge,we.head,0),De(we)},hooks:{all:{},add:function(se,ge){var ve=Ue.hooks.all;ve[se]=ve[se]||[],ve[se].push(ge)},run:function(se,ge){var ve=Ue.hooks.all[se];if(!(!ve||!ve.length))for(var be=0,we;we=ve[be++];)we(ge)}},Token:tt};Fe.Prism=Ue;function tt(se,ge,ve,be){this.type=se,this.content=ge,this.alias=ve,this.length=(be||"").length|0}tt.stringify=function se(ge,ve){if(typeof ge=="string")return ge;if(Array.isArray(ge)){var be="";return ge.forEach(function(lt){be+=se(lt,ve)}),be}var we={type:ge.type,content:se(ge.content,ve),tag:"span",classes:["token",ge.type],attributes:{},language:ve},Oe=ge.alias;Oe&&(Array.isArray(Oe)?Array.prototype.push.apply(we.classes,Oe):we.classes.push(Oe)),Ue.hooks.run("wrap",we);var Ke="";for(var qe in we.attributes)Ke+=" "+qe+'="'+(we.attributes[qe]||"").replace(/"/g,""")+'"';return"<"+we.tag+' class="'+we.classes.join(" ")+'"'+Ke+">"+we.content+"</"+we.tag+">"};function Ze(se,ge,ve,be){se.lastIndex=ge;var we=se.exec(ve);if(we&&be&&we[1]){var Oe=we[1].length;we.index+=Oe,we[0]=we[0].slice(Oe)}return we}function rt(se,ge,ve,be,we,Oe){for(var Ke in ve)if(!(!ve.hasOwnProperty(Ke)||!ve[Ke])){var qe=ve[Ke];qe=Array.isArray(qe)?qe:[qe];for(var lt=0;lt<qe.length;++lt){if(Oe&&Oe.cause==Ke+","+lt)return;var at=qe[lt],ft=at.inside,pt=!!at.lookbehind,Nt=!!at.greedy,Xt=at.alias;if(Nt&&!at.pattern.global){var Zt=at.pattern.toString().match(/[imsuy]*$/)[0];at.pattern=RegExp(at.pattern.source,Zt+"g")}for(var yn=at.pattern||at,Ln=be.next,on=we;Ln!==ge.tail&&!(Oe&&on>=Oe.reach);on+=Ln.value.length,Ln=Ln.next){var Bn=Ln.value;if(ge.length>se.length)return;if(!(Bn instanceof tt)){var Et=1,nt;if(Nt){if(nt=Ze(yn,on,se,pt),!nt||nt.index>=se.length)break;var Gt=nt.index,ot=nt.index+nt[0].length,Jt=on;for(Jt+=Ln.value.length;Gt>=Jt;)Ln=Ln.next,Jt+=Ln.value.length;if(Jt-=Ln.value.length,on=Jt,Ln.value instanceof tt)continue;for(var In=Ln;In!==ge.tail&&(Jt<ot||typeof In.value=="string");In=In.next)Et++,Jt+=In.value.length;Et--,Bn=se.slice(on,Jt),nt.index-=on}else if(nt=Ze(yn,0,Bn,pt),!nt)continue;var Gt=nt.index,An=nt[0],Nn=Bn.slice(0,Gt),di=Bn.slice(Gt+An.length),At=on+Bn.length;Oe&&At>Oe.reach&&(Oe.reach=At);var Ot=Ln.prev;Nn&&(Ot=Qe(ge,Ot,Nn),on+=Nn.length),Mt(ge,Ot,Et);var $e=new tt(Ke,ft?Ue.tokenize(An,ft):An,Xt,An);if(Ln=Qe(ge,Ot,$e),di&&Qe(ge,Ln,di),Et>1){var Wt={cause:Ke+","+lt,reach:At};rt(se,ge,ve,Ln.prev,on,Wt),Oe&&Wt.reach>Oe.reach&&(Oe.reach=Wt.reach)}}}}}}function xt(){var se={value:null,prev:null,next:null},ge={value:null,prev:se,next:null};se.next=ge,this.head=se,this.tail=ge,this.length=0}function Qe(se,ge,ve){var be=ge.next,we={value:ve,prev:ge,next:be};return ge.next=we,be.prev=we,se.length++,we}function Mt(se,ge,ve){for(var be=ge.next,we=0;we<ve&&be!==se.tail;we++)be=be.next;ge.next=be,be.prev=ge,se.length-=we}function De(se){for(var ge=[],ve=se.head.next;ve!==se.tail;)ge.push(ve.value),ve=ve.next;return ge}if(!Fe.document)return Fe.addEventListener&&(Ue.disableWorkerMessageHandler||Fe.addEventListener("message",function(se){var ge=JSON.parse(se.data),ve=ge.language,be=ge.code,we=ge.immediateClose;Fe.postMessage(Ue.highlight(be,Ue.languages[ve],ve)),we&&Fe.close()},!1)),Ue;var te=Ue.util.currentScript();te&&(Ue.filename=te.src,te.hasAttribute("data-manual")&&(Ue.manual=!0));function ee(){Ue.manual||Ue.highlightAll()}if(!Ue.manual){var de=document.readyState;de==="loading"||de==="interactive"&&te&&te.defer?document.addEventListener("DOMContentLoaded",ee):window.requestAnimationFrame?window.requestAnimationFrame(ee):window.setTimeout(ee,16)}return Ue}(ce);Re.exports&&(Re.exports=Ae),typeof ue.g!="undefined"&&(ue.g.Prism=Ae)},65605:function(Re,xe,ue){"use strict";var ce=ue(33343),Ae=ue(3405),Fe=ue(33806),ke="data";Re.exports=tt;var Ye=/^data[-\w.:]+$/i,Pe=/-[a-z]/g,Ue=/[A-Z]/g;function tt(Mt,De){var te=ce(De),ee=De,de=Fe;return te in Mt.normal?Mt.property[Mt.normal[te]]:(te.length>4&&te.slice(0,4)===ke&&Ye.test(De)&&(De.charAt(4)==="-"?ee=Ze(De):De=rt(De),de=Ae),new de(ee,De))}function Ze(Mt){var De=Mt.slice(5).replace(Pe,Qe);return ke+De.charAt(0).toUpperCase()+De.slice(1)}function rt(Mt){var De=Mt.slice(4);return Pe.test(De)?Mt:(De=De.replace(Ue,xt),De.charAt(0)!=="-"&&(De="-"+De),ke+De)}function xt(Mt){return"-"+Mt.toLowerCase()}function Qe(Mt){return Mt.charAt(1).toUpperCase()}},17034:function(Re,xe,ue){"use strict";var ce=ue(72627),Ae=ue(9501),Fe=ue(90822),ke=ue(87109),Ye=ue(25956),Pe=ue(44330);Re.exports=ce([Fe,Ae,ke,Ye,Pe])},25956:function(Re,xe,ue){"use strict";var ce=ue(3941),Ae=ue(5260),Fe=ce.booleanish,ke=ce.number,Ye=ce.spaceSeparated;Re.exports=Ae({transform:Pe,properties:{ariaActiveDescendant:null,ariaAtomic:Fe,ariaAutoComplete:null,ariaBusy:Fe,ariaChecked:Fe,ariaColCount:ke,ariaColIndex:ke,ariaColSpan:ke,ariaControls:Ye,ariaCurrent:null,ariaDescribedBy:Ye,ariaDetails:null,ariaDisabled:Fe,ariaDropEffect:Ye,ariaErrorMessage:null,ariaExpanded:Fe,ariaFlowTo:Ye,ariaGrabbed:Fe,ariaHasPopup:null,ariaHidden:Fe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ye,ariaLevel:ke,ariaLive:null,ariaModal:Fe,ariaMultiLine:Fe,ariaMultiSelectable:Fe,ariaOrientation:null,ariaOwns:Ye,ariaPlaceholder:null,ariaPosInSet:ke,ariaPressed:Fe,ariaReadOnly:Fe,ariaRelevant:null,ariaRequired:Fe,ariaRoleDescription:Ye,ariaRowCount:ke,ariaRowIndex:ke,ariaRowSpan:ke,ariaSelected:Fe,ariaSetSize:ke,ariaSort:null,ariaValueMax:ke,ariaValueMin:ke,ariaValueNow:ke,ariaValueText:null,role:null}});function Pe(Ue,tt){return tt==="role"?tt:"aria-"+tt.slice(4).toLowerCase()}},44330:function(Re,xe,ue){"use strict";var ce=ue(3941),Ae=ue(5260),Fe=ue(86716),ke=ce.boolean,Ye=ce.overloadedBoolean,Pe=ce.booleanish,Ue=ce.number,tt=ce.spaceSeparated,Ze=ce.commaSeparated;Re.exports=Ae({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Fe,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ze,acceptCharset:tt,accessKey:tt,action:null,allow:null,allowFullScreen:ke,allowPaymentRequest:ke,allowUserMedia:ke,alt:null,as:null,async:ke,autoCapitalize:null,autoComplete:tt,autoFocus:ke,autoPlay:ke,capture:ke,charSet:null,checked:ke,cite:null,className:tt,cols:Ue,colSpan:null,content:null,contentEditable:Pe,controls:ke,controlsList:tt,coords:Ue|Ze,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ke,defer:ke,dir:null,dirName:null,disabled:ke,download:Ye,draggable:Pe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ke,formTarget:null,headers:tt,height:Ue,hidden:ke,high:Ue,href:null,hrefLang:null,htmlFor:tt,httpEquiv:tt,id:null,imageSizes:null,imageSrcSet:Ze,inputMode:null,integrity:null,is:null,isMap:ke,itemId:null,itemProp:tt,itemRef:tt,itemScope:ke,itemType:tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ke,low:Ue,manifest:null,max:null,maxLength:Ue,media:null,method:null,min:null,minLength:Ue,multiple:ke,muted:ke,name:null,nonce:null,noModule:ke,noValidate:ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ke,optimum:Ue,pattern:null,ping:tt,placeholder:null,playsInline:ke,poster:null,preload:null,readOnly:ke,referrerPolicy:null,rel:tt,required:ke,reversed:ke,rows:Ue,rowSpan:Ue,sandbox:tt,scope:null,scoped:ke,seamless:ke,selected:ke,shape:null,size:Ue,sizes:null,slot:null,span:Ue,spellCheck:Pe,src:null,srcDoc:null,srcLang:null,srcSet:Ze,start:Ue,step:null,style:null,tabIndex:Ue,target:null,title:null,translate:null,type:null,typeMustMatch:ke,useMap:null,value:Pe,width:Ue,wrap:null,align:null,aLink:null,archive:tt,axis:null,background:null,bgColor:null,border:Ue,borderColor:null,bottomMargin:Ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ke,declare:ke,event:null,face:null,frame:null,frameBorder:null,hSpace:Ue,leftMargin:Ue,link:null,longDesc:null,lowSrc:null,marginHeight:Ue,marginWidth:Ue,noResize:ke,noHref:ke,noShade:ke,noWrap:ke,object:null,profile:null,prompt:null,rev:null,rightMargin:Ue,rules:null,scheme:null,scrolling:Pe,standby:null,summary:null,text:null,topMargin:Ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ke,disableRemotePlayback:ke,prefix:null,property:null,results:Ue,security:null,unselectable:null}})},86716:function(Re,xe,ue){"use strict";var ce=ue(83532);Re.exports=Ae;function Ae(Fe,ke){return ce(Fe,ke.toLowerCase())}},83532:function(Re){"use strict";Re.exports=xe;function xe(ue,ce){return ce in ue?ue[ce]:ce}},5260:function(Re,xe,ue){"use strict";var ce=ue(33343),Ae=ue(85815),Fe=ue(3405);Re.exports=ke;function ke(Ye){var Pe=Ye.space,Ue=Ye.mustUseProperty||[],tt=Ye.attributes||{},Ze=Ye.properties,rt=Ye.transform,xt={},Qe={},Mt,De;for(Mt in Ze)De=new Fe(Mt,rt(tt,Mt),Ze[Mt],Pe),Ue.indexOf(Mt)!==-1&&(De.mustUseProperty=!0),xt[Mt]=De,Qe[ce(Mt)]=Mt,Qe[ce(De.attribute)]=Mt;return new Ae(xt,Qe,Pe)}},3405:function(Re,xe,ue){"use strict";var ce=ue(33806),Ae=ue(3941);Re.exports=Ye,Ye.prototype=new ce,Ye.prototype.defined=!0;var Fe=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],ke=Fe.length;function Ye(Ue,tt,Ze,rt){var xt=-1,Qe;for(Pe(this,"space",rt),ce.call(this,Ue,tt);++xt<ke;)Qe=Fe[xt],Pe(this,Qe,(Ze&Ae[Qe])===Ae[Qe])}function Pe(Ue,tt,Ze){Ze&&(Ue[tt]=Ze)}},33806:function(Re){"use strict";Re.exports=ue;var xe=ue.prototype;xe.space=null,xe.attribute=null,xe.property=null,xe.boolean=!1,xe.booleanish=!1,xe.overloadedBoolean=!1,xe.number=!1,xe.commaSeparated=!1,xe.spaceSeparated=!1,xe.commaOrSpaceSeparated=!1,xe.mustUseProperty=!1,xe.defined=!1;function ue(ce,Ae){this.property=ce,this.attribute=Ae}},72627:function(Re,xe,ue){"use strict";var ce=ue(47529),Ae=ue(85815);Re.exports=Fe;function Fe(ke){for(var Ye=ke.length,Pe=[],Ue=[],tt=-1,Ze,rt;++tt<Ye;)Ze=ke[tt],Pe.push(Ze.property),Ue.push(Ze.normal),rt=Ze.space;return new Ae(ce.apply(null,Pe),ce.apply(null,Ue),rt)}},85815:function(Re){"use strict";Re.exports=ue;var xe=ue.prototype;xe.space=null,xe.normal={},xe.property={};function ue(ce,Ae,Fe){this.property=ce,this.normal=Ae,Fe&&(this.space=Fe)}},3941:function(Re,xe){"use strict";var ue=0;xe.boolean=ce(),xe.booleanish=ce(),xe.overloadedBoolean=ce(),xe.number=ce(),xe.spaceSeparated=ce(),xe.commaSeparated=ce(),xe.commaOrSpaceSeparated=ce();function ce(){return Math.pow(2,++ue)}},9501:function(Re,xe,ue){"use strict";var ce=ue(5260);Re.exports=ce({space:"xlink",transform:Ae,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function Ae(Fe,ke){return"xlink:"+ke.slice(5).toLowerCase()}},90822:function(Re,xe,ue){"use strict";var ce=ue(5260);Re.exports=ce({space:"xml",transform:Ae,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ae(Fe,ke){return"xml:"+ke.slice(3).toLowerCase()}},87109:function(Re,xe,ue){"use strict";var ce=ue(5260),Ae=ue(86716);Re.exports=ce({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ae,properties:{xmlns:null,xmlnsXLink:null}})},33343:function(Re){"use strict";Re.exports=xe;function xe(ue){return ue.toLowerCase()}},42749:function(Re,xe){"use strict";var ue;xe.Q=ke,ue=Ye;var ce="",Ae=" ",Fe=/[ \t\n\r\f]+/g;function ke(Pe){var Ue=String(Pe||ce).trim();return Ue===ce?[]:Ue.split(Fe)}function Ye(Pe){return Pe.join(Ae).trim()}},5174:function(Re,xe,ue){"use strict";var ce=this&&this.__importDefault||function(ke){return ke&&ke.__esModule?ke:{default:ke}};Object.defineProperty(xe,"__esModule",{value:!0});var Ae=ce(ue(18139));function Fe(ke,Ye){var Pe=null;if(!ke||typeof ke!="string")return Pe;var Ue=(0,Ae.default)(ke),tt=typeof Ye=="function";return Ue.forEach(function(Ze){if(Ze.type==="declaration"){var rt=Ze.property,xt=Ze.value;tt?Ye(rt,xt,Ze):xt&&(Pe=Pe||{},Pe[rt]=xt)}}),Pe}xe.default=Fe},47529:function(Re){Re.exports=ue;var xe=Object.prototype.hasOwnProperty;function ue(){for(var ce={},Ae=0;Ae<arguments.length;Ae++){var Fe=arguments[Ae];for(var ke in Fe)xe.call(Fe,ke)&&(ce[ke]=Fe[ke])}return ce}},20441:function(Re,xe,ue){var ce={"./aac.svg":42414,"./amr.svg":44292,"./avi.svg":98288,"./bmp.svg":86543,"./default.svg":25696,"./doc.svg":95030,"./docx.svg":33316,"./flv.svg":42281,"./gif.svg":85105,"./jpeg.svg":7107,"./jpg.svg":64969,"./m4a.svg":31580,"./md.svg":21355,"./mkv.svg":61899,"./mov.svg":14019,"./mp3.svg":81602,"./mp4.svg":93890,"./mpeg.svg":4322,"./ogg.svg":6171,"./opus.svg":57505,"./pdf.svg":40269,"./png.svg":68550,"./ppt.svg":3312,"./pptx.svg":76343,"./txt.svg":35485,"./wav.svg":17263,"./webm.svg":1074,"./wma.svg":86837,"./wmv.svg":94530,"./wps.svg":60062,"./xls.svg":73103,"./xlsx.svg":78850};function Ae(ke){var Ye=Fe(ke);return ue(Ye)}function Fe(ke){if(!ue.o(ce,ke)){var Ye=new Error("Cannot find module '"+ke+"'");throw Ye.code="MODULE_NOT_FOUND",Ye}return ce[ke]}Ae.keys=function(){return Object.keys(ce)},Ae.resolve=Fe,Re.exports=Ae,Ae.id=20441},90034:function(Re,xe,ue){var ce={"./doc.png":63604,"./docx.png":30045,"./jpg.png":13740,"./md.png":58881,"./pdf.png":28982,"./png.png":2487,"./txt.png":3164,"./xls.png":88745,"./xlsx.png":49321};function Ae(ke){var Ye=Fe(ke);return ue(Ye)}function Fe(ke){if(!ue.o(ce,ke)){var Ye=new Error("Cannot find module '"+ke+"'");throw Ye.code="MODULE_NOT_FOUND",Ye}return ce[ke]}Ae.keys=function(){return Object.keys(ce)},Ae.resolve=Fe,Re.exports=Ae,Ae.id=90034},42414:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/aac.b3e9a3ba.svg"},44292:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/amr.ce411d51.svg"},98288:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/avi.d7b8adf7.svg"},86543:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/bmp.c62f88c4.svg"},25696:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/default.f48aef2c.svg"},95030:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/doc.e6c75d4c.svg"},33316:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/docx.150535e3.svg"},42281:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/flv.43967063.svg"},85105:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/gif.b2122741.svg"},7107:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/jpeg.fffee469.svg"},64969:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/jpg.2fb4a360.svg"},31580:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/m4a.7994dbc0.svg"},21355:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/md.1f56aa84.svg"},61899:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/mkv.f43ec502.svg"},14019:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/mov.1e1eebb7.svg"},81602:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/mp3.a7e45c91.svg"},93890:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/mp4.31a2d9d7.svg"},4322:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/mpeg.9a0dfa86.svg"},6171:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/ogg.0394dc54.svg"},57505:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/opus.faad335c.svg"},40269:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/pdf.5d12b224.svg"},68550:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/png.eacc8c1c.svg"},3312:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/ppt.d710530e.svg"},76343:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/pptx.d78add0d.svg"},35485:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/txt.53f7213d.svg"},17263:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/wav.a76e7dde.svg"},1074:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/webm.3a7e6ebc.svg"},86837:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/wma.a57b430b.svg"},94530:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/wmv.f22ee4a1.svg"},60062:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/wps.f48aef2c.svg"},73103:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/xls.0db636e2.svg"},78850:function(Re,xe,ue){"use strict";Re.exports=ue.p+"static/xlsx.5d09490a.svg"},4977:function(Re){"use strict";Re.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9Pmt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AtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},71986:function(Re){"use strict";Re.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABRCAYAAACOlsX2AAAAAXNSR0IArs4c6QAAIABJREFUeF7NmwecHlW9979nZp66fbM9vZOOJKH3FgLSNSAB5HJBEEEBr1yKF1CayEUFqVIEFQygEQg1lFAD6QXSk012N5vN9vb0KeflnHl20yEUue+E/ezDPDPnnN+/txUX/s2ZKvEeRtKfL33J7BviS7/5zbzwJfYX1AmMS8QFT6Rr4auA/WaO/G2uIhB14oePpXrI1Lt3D792+eJbOt2/c39x/iNJ2SuQWYTbBGXvtu5dIPviLgLee8P/IOWOD36b+4vzH0xIxM5H9A+UExKcf6jFg285O/K2l/U9B9/2/qTBBghYWO3qd/IiglO+Y/HUhzb6i+2uSBAsc9vdpA22CwcMNUjZsKzW20WmyvIFao9XlrpYpiRoCb4zyKAzAZ9u7nl+J9ns/V+BOO/+xB4l94eHBxhVZWCakMpI0g786a0Mv/pemPp2f/HcsODav6ezn+G6U0P85oUMx44zWV7r0h6Dn00N8spSh/59BEPLDB54I0N3Ci47LkBxjiCRgfICwfMLHT5a53LSdywSacmclT7Req4zJlsMqzCoKDRYUeeytdOjOwn79DV46xOHDU1foIQSxLn3xreJdHZl9Vp+RDDtIIvH3ra5+Nggs5c5bGr29P3Lpwa5f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Ws9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg=="},37166:function(Re){"use strict";Re.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO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IETlDj+UuaiHiz4BW3Z5nn4gaiVzGkivfrxAaCBbd3ljWshtOiRqDRnZe/jBzKgEhAay5V5vRIqyT4dELSHs/QeEBgK6zRoXkSF9ELktYvWAyECy93u95xZkUkR69EHkJH1b/mJXpwxP3J/J6+FFIgOBbbu8bFFkTIdX6IPIKe/FMaJxTEoEYyDw7kqyKLvFk516SOQEnfgPdHXJbo0jr4eR9Osqo6H0aygjGsqIHsKQPojS4oBO9ryXkfEVnTKmYUxKBfR77Jmenh3WdWy/Dons8LwdfX3rx8USBkLpxkCIDBgIkQEDITJgIEQGDITIgIEQGTAQIgMGQmTAQIgMGAiRAQMhMmAgRAYMhMiAgRAZMBAiAwZCZMBAiAwYCFG0l195bcdnBgfGxRKrgfzjYG74uqs3MRCyJvWBbO7f+FhXZ+dGPSSK1alTpyemTrxxV6oDWbt2zX0bLu0bFqKYvX785IHT75y5P9WBFCUzdt2VH5W2tjb+E6YUm4XFxakjk8fWtok3kvZA9q/s6nxm8xUbPq2fIorFkcmp5xcWlz6pgaT7PQgC0aH0XbL+mb4P9DASqtvkMd1anT47pENxJhDo7l55oH/DpUM6JKrJq0ePPXN2YfH8H7ROBfKujEz1faB3Uh/nf5NEJsVice7N/Py/p9/K94snG/VT57kXyPvm2tvbX1uxonOuo63d02OiCywsLHQsFoprCoVCVg9DdbR7AzffNDChQyusBvLsC7nsUiGT0yGRFUODWatz2OqTw4GDE1wdyApPvKPDgwP9YpH9QJ7LjUkmc5sOiWLm7R0aHBgVi6wH8vfncyNeMbNPh0Sxsv0GHawHAgcO5sb1pYaEKDb2Vw9IJJCDB3P950QmMpLp0UOiuuh7jxd7VsrwwMBAXg+tSiQQwBmtxYKMMxKqB+LobJdRm6d2yyUWCORyud75s7JbX3anHhJVydu7bqV8L4mVoyTRQEqwmiwtyai+elb43oQi6GoxpxN0QofjXSJ7BgcHJiVh/wemziNQhWOwlgAAAABJRU5ErkJggg=="},88745:function(Re){"use strict";Re.exports="data:image/png;base64,iVBORw0KGgoA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ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},52835:function(Re,xe,ue){"use strict";ue.d(xe,{ZP:function(){return be}});const ce=-1,Ae=0,Fe=1,ke=2,Ye=3,Pe=4,Ue=5,tt=6,Ze=7,rt=8,xt=typeof self=="object"?self:globalThis,Qe=(we,Oe)=>{const Ke=(lt,at)=>(we.set(at,lt),lt),qe=lt=>{if(we.has(lt))return we.get(lt);const[at,ft]=Oe[lt];switch(at){case Ae:case ce:return Ke(ft,lt);case Fe:{const pt=Ke([],lt);for(const Nt of ft)pt.push(qe(Nt));return pt}case ke:{const pt=Ke({},lt);for(const[Nt,Xt]of ft)pt[qe(Nt)]=qe(Xt);return pt}case Ye:return Ke(new Date(ft),lt);case Pe:{const{source:pt,flags:Nt}=ft;return Ke(new RegExp(pt,Nt),lt)}case Ue:{const pt=Ke(new Map,lt);for(const[Nt,Xt]of ft)pt.set(qe(Nt),qe(Xt));return pt}case tt:{const pt=Ke(new Set,lt);for(const Nt of ft)pt.add(qe(Nt));return pt}case Ze:{const{name:pt,message:Nt}=ft;return Ke(new xt[pt](Nt),lt)}case rt:return Ke(BigInt(ft),lt);case"BigInt":return Ke(Object(BigInt(ft)),lt)}return Ke(new xt[at](ft),lt)};return qe},Mt=we=>Qe(new Map,we)(0),De="",{toString:te}={},{keys:ee}=Object,de=we=>{const Oe=typeof we;if(Oe!=="object"||!we)return[Ae,Oe];const Ke=te.call(we).slice(8,-1);switch(Ke){case"Array":return[Fe,De];case"Object":return[ke,De];case"Date":return[Ye,De];case"RegExp":return[Pe,De];case"Map":return[Ue,De];case"Set":return[tt,De]}return Ke.includes("Array")?[Fe,Ke]:Ke.includes("Error")?[Ze,Ke]:[ke,Ke]},se=([we,Oe])=>we===Ae&&(Oe==="function"||Oe==="symbol"),ge=(we,Oe,Ke,qe)=>{const lt=(ft,pt)=>{const Nt=qe.push(ft)-1;return Ke.set(pt,Nt),Nt},at=ft=>{if(Ke.has(ft))return Ke.get(ft);let[pt,Nt]=de(ft);switch(pt){case Ae:{let Zt=ft;switch(Nt){case"bigint":pt=rt,Zt=ft.toString();break;case"function":case"symbol":if(we)throw new TypeError("unable to serialize "+Nt);Zt=null;break;case"undefined":return lt([ce],ft)}return lt([pt,Zt],ft)}case Fe:{if(Nt)return lt([Nt,[...ft]],ft);const Zt=[],yn=lt([pt,Zt],ft);for(const Ln of ft)Zt.push(at(Ln));return yn}case ke:{if(Nt)switch(Nt){case"BigInt":return lt([Nt,ft.toString()],ft);case"Boolean":case"Number":case"String":return lt([Nt,ft.valueOf()],ft)}if(Oe&&"toJSON"in ft)return at(ft.toJSON());const Zt=[],yn=lt([pt,Zt],ft);for(const Ln of ee(ft))(we||!se(de(ft[Ln])))&&Zt.push([at(Ln),at(ft[Ln])]);return yn}case Ye:return lt([pt,ft.toISOString()],ft);case Pe:{const{source:Zt,flags:yn}=ft;return lt([pt,{source:Zt,flags:yn}],ft)}case Ue:{const Zt=[],yn=lt([pt,Zt],ft);for(const[Ln,on]of ft)(we||!(se(de(Ln))||se(de(on))))&&Zt.push([at(Ln),at(on)]);return yn}case tt:{const Zt=[],yn=lt([pt,Zt],ft);for(const Ln of ft)(we||!se(de(Ln)))&&Zt.push(at(Ln));return yn}}const{message:Xt}=ft;return lt([pt,{name:Nt,message:Xt}],ft)};return at},ve=(we,{json:Oe,lossy:Ke}={})=>{const qe=[];return ge(!(Oe||Ke),!!Oe,new Map,qe)(we),qe};var be=typeof structuredClone=="function"?(we,Oe)=>Oe&&("json"in Oe||"lossy"in Oe)?Mt(ve(we,Oe)):structuredClone(we):(we,Oe)=>Mt(ve(we,Oe))},25668:function(Re,xe,ue){"use strict";ue.d(xe,{P:function(){return Ae},Q:function(){return ce}});function ce(Fe){const ke=[],Ye=String(Fe||"");let Pe=Ye.indexOf(","),Ue=0,tt=!1;for(;!tt;){Pe===-1&&(Pe=Ye.length,tt=!0);const Ze=Ye.slice(Ue,Pe).trim();(Ze||!tt)&&ke.push(Ze),Ue=Pe+1,Pe=Ye.indexOf(",",Ue)}return ke}function Ae(Fe,ke){const Ye=ke||{};return(Fe[Fe.length-1]===""?[...Fe,""]:Fe).join((Ye.padRight?" ":"")+","+(Ye.padLeft===!1?"":" ")).trim()}},24345:function(Re,xe,ue){"use strict";ue.d(xe,{ok:function(){return Fe},t1:function(){return ke}});function ce(Ye){return Ye}function Ae(){}function Fe(){}function ke(){}},11748:function(Re,xe,ue){"use strict";ue.d(xe,{N:function(){return Mt}});var ce=ue(55316),Ae=ue(49911);function Fe(te,ee){return ke(te,ee||{})||{type:"root",children:[]}}function ke(te,ee){const de=Ye(te,ee);return de&&ee.afterTransform&&ee.afterTransform(te,de),de}function Ye(te,ee){switch(te.nodeType){case 1:return rt(te,ee);case 3:return tt(te);case 8:return Ze(te);case 9:return Pe(te,ee);case 10:return Ue();case 11:return Pe(te,ee);default:return}}function Pe(te,ee){return{type:"root",children:xt(te,ee)}}function Ue(){return{type:"doctype"}}function tt(te){return{type:"text",value:te.nodeValue||""}}function Ze(te){return{type:"comment",value:te.nodeValue||""}}function rt(te,ee){const de=te.namespaceURI,se=de===Ae.t.svg?ce.s:ce.h,ge=de===Ae.t.html?te.tagName.toLowerCase():te.tagName,ve=de===Ae.t.html&&ge==="template"?te.content:te,be=te.getAttributeNames(),we={};let Oe=-1;for(;++Oe<be.length;)we[be[Oe]]=te.getAttribute(be[Oe])||"";return se(ge,we,xt(ve,ee))}function xt(te,ee){const de=te.childNodes,se=[];let ge=-1;for(;++ge<de.length;){const ve=ke(de[ge],ee);ve!==void 0&&se.push(ve)}return se}const Qe=new DOMParser;function Mt(te,ee){const de=ee!=null&&ee.fragment?De(te):Qe.parseFromString(te,"text/html");return Fe(de)}function De(te){const ee=document.createElement("template");return ee.innerHTML=te,ee.content}},91891:function(Re,xe,ue){"use strict";ue.d(xe,{l:function(){return se}});var ce=ue(96093);const Ae=function(ft,pt,Nt){const Xt=(0,ce.O)(Nt);if(!ft||!ft.type||!ft.children)throw new Error("Expected parent node");if(typeof pt=="number"){if(pt<0||pt===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(pt=ft.children.indexOf(pt),pt<0)throw new Error("Expected child node or index");for(;++pt<ft.children.length;)if(Xt(ft.children[pt],pt,ft))return ft.children[pt]},Fe=function(ft,pt,Nt,Xt,Zt){const yn=ke(pt);if(Nt!=null&&(typeof Nt!="number"||Nt<0||Nt===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(Xt!=null&&(!Xt.type||!Xt.children))throw new Error("Expected valid `parent`");if(Nt==null!=(Xt==null))throw new Error("Expected both `index` and `parent`");return Ze(ft)?yn.call(Zt,ft,Nt,Xt):!1},ke=function(ft){if(ft==null)return tt;if(typeof ft=="string")return Pe(ft);if(typeof ft=="object")return Ye(ft);if(typeof ft=="function")return Ue(ft);throw new Error("Expected function, string, or array as `test`")};function Ye(ft){const pt=[];let Nt=-1;for(;++Nt<ft.length;)pt[Nt]=ke(ft[Nt]);return Ue(Xt);function Xt(...Zt){let yn=-1;for(;++yn<pt.length;)if(pt[yn].apply(this,Zt))return!0;return!1}}function Pe(ft){return Ue(pt);function pt(Nt){return Nt.tagName===ft}}function Ue(ft){return pt;function pt(Nt,Xt,Zt){return!!(Ze(Nt)&&ft.call(this,Nt,typeof Xt=="number"?Xt:void 0,Zt||void 0))}}function tt(ft){return!!(ft&&typeof ft=="object"&&"type"in ft&&ft.type==="element"&&"tagName"in ft&&typeof ft.tagName=="string")}function Ze(ft){return ft!==null&&typeof ft=="object"&&"type"in ft&&"tagName"in ft}const rt=/\n/g,xt=/[\t ]+/g,Qe=ke("br"),Mt=ke(lt),De=ke("p"),te=ke("tr"),ee=ke(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",qe,at]),de=ke(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function se(ft,pt){const Nt=pt||{},Xt="children"in ft?ft.children:[],Zt=de(ft),yn=Ke(ft,{whitespace:Nt.whitespace||"normal",breakBefore:!1,breakAfter:!1}),Ln=[];(ft.type==="text"||ft.type==="comment")&&Ln.push(...be(ft,{whitespace:yn,breakBefore:!0,breakAfter:!0}));let on=-1;for(;++on<Xt.length;)Ln.push(...ge(Xt[on],ft,{whitespace:yn,breakBefore:on?void 0:Zt,breakAfter:on<Xt.length-1?Qe(Xt[on+1]):Zt}));const Bn=[];let Et;for(on=-1;++on<Ln.length;){const nt=Ln[on];typeof nt=="number"?Et!==void 0&&nt>Et&&(Et=nt):nt&&(Et!==void 0&&Et>-1&&Bn.push(`
|
|
|
`.repeat(Et)||" "),Et=-1,Bn.push(nt))}return Bn.join("")}function ge(ft,pt,Nt){return ft.type==="element"?ve(ft,pt,Nt):ft.type==="text"?Nt.whitespace==="normal"?be(ft,Nt):we(ft):[]}function ve(ft,pt,Nt){const Xt=Ke(ft,Nt),Zt=ft.children||[];let yn=-1,Ln=[];if(ee(ft))return Ln;let on,Bn;for(Qe(ft)||te(ft)&&Ae(pt,ft,te)?Bn=`
|
|
|
`:De(ft)?(on=2,Bn=2):de(ft)&&(on=1,Bn=1);++yn<Zt.length;)Ln=Ln.concat(ge(Zt[yn],ft,{whitespace:Xt,breakBefore:yn?void 0:on,breakAfter:yn<Zt.length-1?Qe(Zt[yn+1]):Bn}));return Mt(ft)&&Ae(pt,ft,Mt)&&Ln.push(" "),on&&Ln.unshift(on),Bn&&Ln.push(Bn),Ln}function be(ft,pt){const Nt=String(ft.value),Xt=[],Zt=[];let yn=0;for(;yn<=Nt.length;){rt.lastIndex=yn;const Bn=rt.exec(Nt),Et=Bn&&"index"in Bn?Bn.index:Nt.length;Xt.push(Oe(Nt.slice(yn,Et).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),yn===0?pt.breakBefore:!0,Et===Nt.length?pt.breakAfter:!0)),yn=Et+1}let Ln=-1,on;for(;++Ln<Xt.length;)Xt[Ln].charCodeAt(Xt[Ln].length-1)===8203||Ln<Xt.length-1&&Xt[Ln+1].charCodeAt(0)===8203?(Zt.push(Xt[Ln]),on=void 0):Xt[Ln]?(typeof on=="number"&&Zt.push(on),Zt.push(Xt[Ln]),on=0):(Ln===0||Ln===Xt.length-1)&&Zt.push(0);return Zt}function we(ft){return[String(ft.value)]}function Oe(ft,pt,Nt){const Xt=[];let Zt=0,yn;for(;Zt<ft.length;){xt.lastIndex=Zt;const Ln=xt.exec(ft);yn=Ln?Ln.index:ft.length,!Zt&&!yn&&Ln&&!pt&&Xt.push(""),Zt!==yn&&Xt.push(ft.slice(Zt,yn)),Zt=Ln?yn+Ln[0].length:yn}return Zt!==yn&&!Nt&&Xt.push(""),Xt.join(" ")}function Ke(ft,pt){if(ft.type==="element"){const Nt=ft.properties||{};switch(ft.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return Nt.wrap?"pre-wrap":"pre";case"td":case"th":return Nt.noWrap?"nowrap":pt.whitespace;case"textarea":return"pre-wrap";default:}}return pt.whitespace}function qe(ft){return!!(ft.properties||{}).hidden}function lt(ft){return ft.tagName==="td"||ft.tagName==="th"}function at(ft){return ft.tagName==="dialog"&&!(ft.properties||{}).open}},55316:function(Re,xe,ue){"use strict";ue.d(xe,{h:function(){return de},s:function(){return se}});var ce=ue(91634),Ae=ue(25668);const Fe=/[#.]/g;function ke(ge,ve){const be=ge||"",we={};let Oe=0,Ke,qe;for(;Oe<be.length;){Fe.lastIndex=Oe;const lt=Fe.exec(be),at=be.slice(Oe,lt?lt.index:be.length);at&&(Ke?Ke==="#"?we.id=at:Array.isArray(we.className)?we.className.push(at):we.className=[at]:qe=at,Oe+=at.length),lt&&(Ke=lt[0],Oe++)}return{type:"element",tagName:qe||ve||"div",properties:we,children:[]}}var Ye=ue(26103),Pe=ue(93859),Ue=ue(50342);const tt={}.hasOwnProperty;function Ze(ge,ve,be){const we=be&&te(be);function Oe(Ke,qe,...lt){let at=-1,ft;if(Ke==null){ft={type:"root",children:[]};const pt=qe;lt.unshift(pt)}else if(ft=ke(Ke,ve),ft.tagName=ft.tagName.toLowerCase(),we&&tt.call(we,ft.tagName)&&(ft.tagName=we[ft.tagName]),rt(qe))lt.unshift(qe);else{let pt;for(pt in qe)tt.call(qe,pt)&&xt(ge,ft.properties,pt,qe[pt])}for(;++at<lt.length;)Qe(ft.children,lt[at]);return ft.type==="element"&&ft.tagName==="template"&&(ft.content={type:"root",children:ft.children},ft.children=[]),ft}return Oe}function rt(ge){if(ge===null||typeof ge!="object"||Array.isArray(ge))return!0;if(typeof ge.type!="string")return!1;const ve=ge,be=Object.keys(ge);for(const we of be){const Oe=ve[we];if(Oe&&typeof Oe=="object"){if(!Array.isArray(Oe))return!0;const Ke=Oe;for(const qe of Ke)if(typeof qe!="number"&&typeof qe!="string")return!0}}return!!("children"in ge&&Array.isArray(ge.children))}function xt(ge,ve,be,we){const Oe=(0,Ye.s)(ge,be);let Ke=-1,qe;if(we!=null){if(typeof we=="number"){if(Number.isNaN(we))return;qe=we}else typeof we=="boolean"?qe=we:typeof we=="string"?Oe.spaceSeparated?qe=(0,Ue.Q)(we):Oe.commaSeparated?qe=(0,Ae.Q)(we):Oe.commaOrSpaceSeparated?qe=(0,Ue.Q)((0,Ae.Q)(we).join(" ")):qe=Mt(Oe,Oe.property,we):Array.isArray(we)?qe=we.concat():qe=Oe.property==="style"?De(we):String(we);if(Array.isArray(qe)){const lt=[];for(;++Ke<qe.length;){const at=Mt(Oe,Oe.property,qe[Ke]);lt[Ke]=at}qe=lt}if(Oe.property==="className"&&Array.isArray(ve.className)){const lt=qe;qe=ve.className.concat(lt)}ve[Oe.property]=qe}}function Qe(ge,ve){let be=-1;if(ve!=null)if(typeof ve=="string"||typeof ve=="number")ge.push({type:"text",value:String(ve)});else if(Array.isArray(ve))for(;++be<ve.length;)Qe(ge,ve[be]);else if(typeof ve=="object"&&"type"in ve)ve.type==="root"?Qe(ge,ve.children):ge.push(ve);else throw new Error("Expected node, nodes, or string, got `"+ve+"`")}function Mt(ge,ve,be){if(typeof be=="string"){if(ge.number&&be&&!Number.isNaN(Number(be)))return Number(be);if((ge.boolean||ge.overloadedBoolean)&&(be===""||(0,Pe.F)(be)===(0,Pe.F)(ve)))return!0}return be}function De(ge){const ve=[];let be;for(be in ge)tt.call(ge,be)&&ve.push([be,ge[be]].join(": "));return ve.join("; ")}function te(ge){const ve={};let be=-1;for(;++be<ge.length;)ve[ge[be].toLowerCase()]=ge[be];return ve}const ee=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],de=Ze(ce.dy,"div"),se=Ze(ce.YP,"g",ee)},42761:function(Re,xe,ue){"use strict";ue.d(xe,{f:function(){return Ae}});var ce=ue(15459);function Ae(Fe,ke,Ye,Pe){const Ue=Pe?Pe-1:Number.POSITIVE_INFINITY;let tt=0;return Ze;function Ze(xt){return(0,ce.xz)(xt)?(Fe.enter(Ye),rt(xt)):ke(xt)}function rt(xt){return(0,ce.xz)(xt)&&tt++<Ue?(Fe.consume(xt),rt):(Fe.exit(Ye),ke(xt))}}},15459:function(Re,xe,ue){"use strict";ue.d(xe,{AF:function(){return Pe},Av:function(){return ke},B8:function(){return Qe},Ch:function(){return tt},H$:function(){return Ae},Xh:function(){return xt},jv:function(){return ce},n9:function(){return Fe},pY:function(){return Ye},sR:function(){return Ue},xz:function(){return rt},z3:function(){return Ze}});const ce=Mt(/[A-Za-z]/),Ae=Mt(/[\dA-Za-z]/),Fe=Mt(/[#-'*+\--9=?A-Z^-~]/);function ke(De){return De!==null&&(De<32||De===127)}const Ye=Mt(/\d/),Pe=Mt(/[\dA-Fa-f]/),Ue=Mt(/[!-/:-@[-`{-~]/);function tt(De){return De!==null&&De<-2}function Ze(De){return De!==null&&(De<0||De===32)}function rt(De){return De===-2||De===-1||De===32}const xt=Mt(new RegExp("\\p{P}|\\p{S}","u")),Qe=Mt(/\s/);function Mt(De){return te;function te(ee){return ee!==null&&ee>-1&&De.test(String.fromCharCode(ee))}}},91634:function(Re,xe,ue){"use strict";ue.d(xe,{dy:function(){return ee},YP:function(){return de}});class ce{constructor(ge,ve,be){this.property=ge,this.normal=ve,be&&(this.space=be)}}ce.prototype.property={},ce.prototype.normal={},ce.prototype.space=null;function Ae(se,ge){const ve={},be={};let we=-1;for(;++we<se.length;)Object.assign(ve,se[we].property),Object.assign(be,se[we].normal);return new ce(ve,be,ge)}var Fe=ue(93859),ke=ue(75729);const Ye={}.hasOwnProperty;function Pe(se){const ge={},ve={};let be;for(be in se.properties)if(Ye.call(se.properties,be)){const we=se.properties[be],Oe=new ke.I(be,se.transform(se.attributes||{},be),we,se.space);se.mustUseProperty&&se.mustUseProperty.includes(be)&&(Oe.mustUseProperty=!0),ge[be]=Oe,ve[(0,Fe.F)(be)]=be,ve[(0,Fe.F)(Oe.attribute)]=be}return new ce(ge,ve,se.space)}const Ue=Pe({space:"xlink",transform(se,ge){return"xlink:"+ge.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tt=Pe({space:"xml",transform(se,ge){return"xml:"+ge.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ze(se,ge){return ge in se?se[ge]:ge}function rt(se,ge){return Ze(se,ge.toLowerCase())}const xt=Pe({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rt,properties:{xmlns:null,xmlnsXLink:null}});var Qe=ue(47312);const Mt=Pe({transform(se,ge){return ge==="role"?ge:"aria-"+ge.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Qe.booleanish,ariaAutoComplete:null,ariaBusy:Qe.booleanish,ariaChecked:Qe.booleanish,ariaColCount:Qe.number,ariaColIndex:Qe.number,ariaColSpan:Qe.number,ariaControls:Qe.spaceSeparated,ariaCurrent:null,ariaDescribedBy:Qe.spaceSeparated,ariaDetails:null,ariaDisabled:Qe.booleanish,ariaDropEffect:Qe.spaceSeparated,ariaErrorMessage:null,ariaExpanded:Qe.booleanish,ariaFlowTo:Qe.spaceSeparated,ariaGrabbed:Qe.booleanish,ariaHasPopup:null,ariaHidden:Qe.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qe.spaceSeparated,ariaLevel:Qe.number,ariaLive:null,ariaModal:Qe.booleanish,ariaMultiLine:Qe.booleanish,ariaMultiSelectable:Qe.booleanish,ariaOrientation:null,ariaOwns:Qe.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:Qe.number,ariaPressed:Qe.booleanish,ariaReadOnly:Qe.booleanish,ariaRelevant:null,ariaRequired:Qe.booleanish,ariaRoleDescription:Qe.spaceSeparated,ariaRowCount:Qe.number,ariaRowIndex:Qe.number,ariaRowSpan:Qe.number,ariaSelected:Qe.booleanish,ariaSetSize:Qe.number,ariaSort:null,ariaValueMax:Qe.number,ariaValueMin:Qe.number,ariaValueNow:Qe.number,ariaValueText:null,role:null}}),De=Pe({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qe.commaSeparated,acceptCharset:Qe.spaceSeparated,accessKey:Qe.spaceSeparated,action:null,allow:null,allowFullScreen:Qe.boolean,allowPaymentRequest:Qe.boolean,allowUserMedia:Qe.boolean,alt:null,as:null,async:Qe.boolean,autoCapitalize:null,autoComplete:Qe.spaceSeparated,autoFocus:Qe.boolean,autoPlay:Qe.boolean,blocking:Qe.spaceSeparated,capture:null,charSet:null,checked:Qe.boolean,cite:null,className:Qe.spaceSeparated,cols:Qe.number,colSpan:null,content:null,contentEditable:Qe.booleanish,controls:Qe.boolean,controlsList:Qe.spaceSeparated,coords:Qe.number|Qe.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qe.boolean,defer:Qe.boolean,dir:null,dirName:null,disabled:Qe.boolean,download:Qe.overloadedBoolean,draggable:Qe.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qe.boolean,formTarget:null,headers:Qe.spaceSeparated,height:Qe.number,hidden:Qe.boolean,high:Qe.number,href:null,hrefLang:null,htmlFor:Qe.spaceSeparated,httpEquiv:Qe.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:Qe.boolean,inputMode:null,integrity:null,is:null,isMap:Qe.boolean,itemId:null,itemProp:Qe.spaceSeparated,itemRef:Qe.spaceSeparated,itemScope:Qe.boolean,itemType:Qe.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qe.boolean,low:Qe.number,manifest:null,max:null,maxLength:Qe.number,media:null,method:null,min:null,minLength:Qe.number,multiple:Qe.boolean,muted:Qe.boolean,name:null,nonce:null,noModule:Qe.boolean,noValidate:Qe.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Qe.boolean,optimum:Qe.number,pattern:null,ping:Qe.spaceSeparated,placeholder:null,playsInline:Qe.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qe.boolean,referrerPolicy:null,rel:Qe.spaceSeparated,required:Qe.boolean,reversed:Qe.boolean,rows:Qe.number,rowSpan:Qe.number,sandbox:Qe.spaceSeparated,scope:null,scoped:Qe.boolean,seamless:Qe.boolean,selected:Qe.boolean,shadowRootClonable:Qe.boolean,shadowRootDelegatesFocus:Qe.boolean,shadowRootMode:null,shape:null,size:Qe.number,sizes:null,slot:null,span:Qe.number,spellCheck:Qe.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Qe.number,step:null,style:null,tabIndex:Qe.number,target:null,title:null,translate:null,type:null,typeMustMatch:Qe.boolean,useMap:null,value:Qe.booleanish,width:Qe.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Qe.spaceSeparated,axis:null,background:null,bgColor:null,border:Qe.number,borderColor:null,bottomMargin:Qe.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qe.boolean,declare:Qe.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:Qe.number,leftMargin:Qe.number,link:null,longDesc:null,lowSrc:null,marginHeight:Qe.number,marginWidth:Qe.number,noResize:Qe.boolean,noHref:Qe.boolean,noShade:Qe.boolean,noWrap:Qe.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:Qe.number,rules:null,scheme:null,scrolling:Qe.booleanish,standby:null,summary:null,text:null,topMargin:Qe.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Qe.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Qe.boolean,disableRemotePlayback:Qe.boolean,prefix:null,property:null,results:Qe.number,security:null,unselectable:null}}),te=Pe({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ze,properties:{about:Qe.commaOrSpaceSeparated,accentHeight:Qe.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Qe.number,amplitude:Qe.number,arabicForm:null,ascent:Qe.number,attributeName:null,attributeType:null,azimuth:Qe.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Qe.number,by:null,calcMode:null,capHeight:Qe.number,className:Qe.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Qe.number,diffuseConstant:Qe.number,direction:null,display:null,dur:null,divisor:Qe.number,dominantBaseline:null,download:Qe.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:Qe.number,enableBackground:null,end:null,event:null,exponent:Qe.number,externalResourcesRequired:null,fill:null,fillOpacity:Qe.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Qe.commaSeparated,g2:Qe.commaSeparated,glyphName:Qe.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Qe.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Qe.number,horizOriginX:Qe.number,horizOriginY:Qe.number,id:null,ideographic:Qe.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Qe.number,k:Qe.number,k1:Qe.number,k2:Qe.number,k3:Qe.number,k4:Qe.number,kernelMatrix:Qe.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Qe.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Qe.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Qe.number,overlineThickness:Qe.number,paintOrder:null,panose1:null,path:null,pathLength:Qe.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qe.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Qe.number,pointsAtY:Qe.number,pointsAtZ:Qe.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qe.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qe.commaOrSpaceSeparated,rev:Qe.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qe.commaOrSpaceSeparated,requiredFeatures:Qe.commaOrSpaceSeparated,requiredFonts:Qe.commaOrSpaceSeparated,requiredFormats:Qe.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Qe.number,specularExponent:Qe.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Qe.number,strikethroughThickness:Qe.number,string:null,stroke:null,strokeDashArray:Qe.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Qe.number,strokeOpacity:Qe.number,strokeWidth:null,style:null,surfaceScale:Qe.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qe.commaOrSpaceSeparated,tabIndex:Qe.number,tableValues:null,target:null,targetX:Qe.number,targetY:Qe.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qe.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Qe.number,underlineThickness:Qe.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Qe.number,values:null,vAlphabetic:Qe.number,vMathematical:Qe.number,vectorEffect:null,vHanging:Qe.number,vIdeographic:Qe.number,version:null,vertAdvY:Qe.number,vertOriginX:Qe.number,vertOriginY:Qe.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Qe.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ee=Ae([tt,Ue,xt,Mt,De],"html"),de=Ae([tt,Ue,xt,Mt,te],"svg")},26103:function(Re,xe,ue){"use strict";ue.d(xe,{s:function(){return Ue}});var ce=ue(93859),Ae=ue(75729),Fe=ue(49255);const ke=/^data[-\w.:]+$/i,Ye=/-[a-z]/g,Pe=/[A-Z]/g;function Ue(rt,xt){const Qe=(0,ce.F)(xt);let Mt=xt,De=Fe.k;if(Qe in rt.normal)return rt.property[rt.normal[Qe]];if(Qe.length>4&&Qe.slice(0,4)==="data"&&ke.test(xt)){if(xt.charAt(4)==="-"){const te=xt.slice(5).replace(Ye,Ze);Mt="data"+te.charAt(0).toUpperCase()+te.slice(1)}else{const te=xt.slice(4);if(!Ye.test(te)){let ee=te.replace(Pe,tt);ee.charAt(0)!=="-"&&(ee="-"+ee),xt="data"+ee}}De=Ae.I}return new De(Mt,xt)}function tt(rt){return"-"+rt.toLowerCase()}function Ze(rt){return rt.charAt(1).toUpperCase()}},93859:function(Re,xe,ue){"use strict";ue.d(xe,{F:function(){return ce}});function ce(Ae){return Ae.toLowerCase()}},75729:function(Re,xe,ue){"use strict";ue.d(xe,{I:function(){return ke}});var ce=ue(49255),Ae=ue(47312);const Fe=Object.keys(Ae);class ke extends ce.k{constructor(Ue,tt,Ze,rt){let xt=-1;if(super(Ue,tt),Ye(this,"space",rt),typeof Ze=="number")for(;++xt<Fe.length;){const Qe=Fe[xt];Ye(this,Fe[xt],(Ze&Ae[Qe])===Ae[Qe])}}}ke.prototype.defined=!0;function Ye(Pe,Ue,tt){tt&&(Pe[Ue]=tt)}},49255:function(Re,xe,ue){"use strict";ue.d(xe,{k:function(){return ce}});class ce{constructor(Fe,ke){this.property=Fe,this.attribute=ke}}ce.prototype.space=null,ce.prototype.boolean=!1,ce.prototype.booleanish=!1,ce.prototype.overloadedBoolean=!1,ce.prototype.number=!1,ce.prototype.commaSeparated=!1,ce.prototype.spaceSeparated=!1,ce.prototype.commaOrSpaceSeparated=!1,ce.prototype.mustUseProperty=!1,ce.prototype.defined=!1},47312:function(Re,xe,ue){"use strict";ue.r(xe),ue.d(xe,{boolean:function(){return Ae},booleanish:function(){return Fe},commaOrSpaceSeparated:function(){return tt},commaSeparated:function(){return Ue},number:function(){return Ye},overloadedBoolean:function(){return ke},spaceSeparated:function(){return Pe}});let ce=0;const Ae=Ze(),Fe=Ze(),ke=Ze(),Ye=Ze(),Pe=Ze(),Ue=Ze(),tt=Ze();function Ze(){return bE(2,++ce)}},94668:function(Re,xe,ue){"use strict";ue.d(xe,{U:function(){return wo}});var ce={};ue.r(ce),ue.d(ce,{attentionMarkers:function(){return pa},contentInitial:function(){return Ea},disable:function(){return ka},document:function(){return Zi},flow:function(){return ga},flowInitial:function(){return ca},insideSpan:function(){return wi},string:function(){return rs},text:function(){return us}});var Ae=ue(24345),Fe=ue(25668);const ke=/[$_\p{ID_Start}]/u,Ye=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,Pe=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,Ue=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ze={};function rt(Ce){return Ce?ke.test(String.fromCodePoint(Ce)):!1}function xt(Ce,ze){const et=(ze||Ze).jsx?Pe:Ye;return Ce?et.test(String.fromCodePoint(Ce)):!1}function Qe(Ce,ze){return((ze||Ze).jsx?tt:Ue).test(Ce)}const Mt=/[ \t\n\f\r]/g;function De(Ce){return typeof Ce=="object"?Ce.type==="text"?te(Ce.value):!1:te(Ce)}function te(Ce){return Ce.replace(Mt,"")===""}var ee=ue(91634),de=ue(26103);const se={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var ge=ue(50342),ve=ue(5174),be=ve.default||ve,we=ue(3980);function Oe(Ce){return!Ce||typeof Ce!="object"?"":"position"in Ce||"type"in Ce?qe(Ce.position):"start"in Ce||"end"in Ce?qe(Ce):"line"in Ce||"column"in Ce?Ke(Ce):""}function Ke(Ce){return lt(Ce&&Ce.line)+":"+lt(Ce&&Ce.column)}function qe(Ce){return Ke(Ce&&Ce.start)+"-"+Ke(Ce&&Ce.end)}function lt(Ce){return Ce&&typeof Ce=="number"?Ce:1}class at extends Error{constructor(ze,Ve,et){super(),typeof Ve=="string"&&(et=Ve,Ve=void 0);let gt="",St={},Pt=!1;if(Ve&&("line"in Ve&&"column"in Ve?St={place:Ve}:"start"in Ve&&"end"in Ve?St={place:Ve}:"type"in Ve?St={ancestors:[Ve],place:Ve.position}:St=Ks({},Ve)),typeof ze=="string"?gt=ze:!St.cause&&ze&&(Pt=!0,gt=ze.message,St.cause=ze),!St.ruleId&&!St.source&&typeof et=="string"){const xn=et.indexOf(":");xn===-1?St.ruleId=et:(St.source=et.slice(0,xn),St.ruleId=et.slice(xn+1))}if(!St.place&&St.ancestors&&St.ancestors){const xn=St.ancestors[St.ancestors.length-1];xn&&(St.place=xn.position)}const Vt=St.place&&"start"in St.place?St.place.start:St.place;this.ancestors=St.ancestors||void 0,this.cause=St.cause||void 0,this.column=Vt?Vt.column:void 0,this.fatal=void 0,this.file,this.message=gt,this.line=Vt?Vt.line:void 0,this.name=Oe(St.place)||"1:1",this.place=St.place||void 0,this.reason=this.message,this.ruleId=St.ruleId||void 0,this.source=St.source||void 0,this.stack=Pt&&St.cause&&typeof St.cause.stack=="string"?St.cause.stack:"",this.actual,this.expected,this.note,this.url}}at.prototype.file="",at.prototype.name="",at.prototype.reason="",at.prototype.message="",at.prototype.stack="",at.prototype.column=void 0,at.prototype.line=void 0,at.prototype.ancestors=void 0,at.prototype.cause=void 0,at.prototype.fatal=void 0,at.prototype.place=void 0,at.prototype.ruleId=void 0,at.prototype.source=void 0;const ft={}.hasOwnProperty,pt=new Map,Nt=/[A-Z]/g,Xt=/-([a-z])/g,Zt=new Set(["table","tbody","thead","tfoot","tr"]),yn=new Set(["td","th"]),Ln="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function on(Ce,ze){if(!ze||ze.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const Ve=ze.filePath||void 0;let et;if(ze.development){if(typeof ze.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");et=At(Ve,ze.jsxDEV)}else{if(typeof ze.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof ze.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");et=di(Ve,ze.jsx,ze.jsxs)}const gt={Fragment:ze.Fragment,ancestors:[],components:ze.components||{},create:et,elementAttributeNameCase:ze.elementAttributeNameCase||"react",evaluater:ze.createEvaluater?ze.createEvaluater():void 0,filePath:Ve,ignoreInvalidStyle:ze.ignoreInvalidStyle||!1,passKeys:ze.passKeys!==!1,passNode:ze.passNode||!1,schema:ze.space==="svg"?ee.YP:ee.dy,stylePropertyNameCase:ze.stylePropertyNameCase||"dom",tableCellAlignToStyle:ze.tableCellAlignToStyle!==!1},St=Bn(gt,Ce,void 0);return St&&typeof St!="string"?St:gt.create(Ce,gt.Fragment,{children:St||void 0},void 0)}function Bn(Ce,ze,Ve){if(ze.type==="element")return Et(Ce,ze,Ve);if(ze.type==="mdxFlowExpression"||ze.type==="mdxTextExpression")return nt(Ce,ze);if(ze.type==="mdxJsxFlowElement"||ze.type==="mdxJsxTextElement")return Jt(Ce,ze,Ve);if(ze.type==="mdxjsEsm")return ot(Ce,ze);if(ze.type==="root")return In(Ce,ze,Ve);if(ze.type==="text")return Gt(Ce,ze)}function Et(Ce,ze,Ve){const et=Ce.schema;let gt=et;ze.tagName.toLowerCase()==="svg"&&et.space==="html"&&(gt=ee.YP,Ce.schema=gt),Ce.ancestors.push(ze);const St=Me(Ce,ze.tagName,!1),Pt=Ot(Ce,ze);let Vt=Wt(Ce,ze);return Zt.has(ze.tagName)&&(Vt=Vt.filter(function(xn){return typeof xn=="string"?!De(xn):!0})),An(Ce,Pt,St,ze),Nn(Pt,Vt),Ce.ancestors.pop(),Ce.schema=et,Ce.create(ze,St,Pt,Ve)}function nt(Ce,ze){if(ze.data&&ze.data.estree&&Ce.evaluater){const et=ze.data.estree.body[0];return(0,Ae.ok)(et.type==="ExpressionStatement"),Ce.evaluater.evaluateExpression(et.expression)}Le(Ce,ze.position)}function ot(Ce,ze){if(ze.data&&ze.data.estree&&Ce.evaluater)return Ce.evaluater.evaluateProgram(ze.data.estree);Le(Ce,ze.position)}function Jt(Ce,ze,Ve){const et=Ce.schema;let gt=et;ze.name==="svg"&&et.space==="html"&&(gt=ee.YP,Ce.schema=gt),Ce.ancestors.push(ze);const St=ze.name===null?Ce.Fragment:Me(Ce,ze.name,!0),Pt=$e(Ce,ze),Vt=Wt(Ce,ze);return An(Ce,Pt,St,ze),Nn(Pt,Vt),Ce.ancestors.pop(),Ce.schema=et,Ce.create(ze,St,Pt,Ve)}function In(Ce,ze,Ve){const et={};return Nn(et,Wt(Ce,ze)),Ce.create(ze,Ce.Fragment,et,Ve)}function Gt(Ce,ze){return ze.value}function An(Ce,ze,Ve,et){typeof Ve!="string"&&Ve!==Ce.Fragment&&Ce.passNode&&(ze.node=et)}function Nn(Ce,ze){if(ze.length>0){const Ve=ze.length>1?ze:ze[0];Ve&&(Ce.children=Ve)}}function di(Ce,ze,Ve){return et;function et(gt,St,Pt,Vt){const wn=Array.isArray(Pt.children)?Ve:ze;return Vt?wn(St,Pt,Vt):wn(St,Pt)}}function At(Ce,ze){return Ve;function Ve(et,gt,St,Pt){const Vt=Array.isArray(St.children),xn=(0,we.Pk)(et);return ze(gt,St,Pt,Vt,{columnNumber:xn?xn.column-1:void 0,fileName:Ce,lineNumber:xn?xn.line:void 0},void 0)}}function Ot(Ce,ze){const Ve={};let et,gt;for(gt in ze.properties)if(gt!=="children"&&ft.call(ze.properties,gt)){const St=jt(Ce,gt,ze.properties[gt]);if(St){const[Pt,Vt]=St;Ce.tableCellAlignToStyle&&Pt==="align"&&typeof Vt=="string"&&yn.has(ze.tagName)?et=Vt:Ve[Pt]=Vt}}if(et){const St=Ve.style||(Ve.style={});St[Ce.stylePropertyNameCase==="css"?"text-align":"textAlign"]=et}return Ve}function $e(Ce,ze){const Ve={};for(const et of ze.attributes)if(et.type==="mdxJsxExpressionAttribute")if(et.data&&et.data.estree&&Ce.evaluater){const St=et.data.estree.body[0];(0,Ae.ok)(St.type==="ExpressionStatement");const Pt=St.expression;(0,Ae.ok)(Pt.type==="ObjectExpression");const Vt=Pt.properties[0];(0,Ae.ok)(Vt.type==="SpreadElement"),Object.assign(Ve,Ce.evaluater.evaluateExpression(Vt.argument))}else Le(Ce,ze.position);else{const gt=et.name;let St;if(et.value&&typeof et.value=="object")if(et.value.data&&et.value.data.estree&&Ce.evaluater){const Vt=et.value.data.estree.body[0];(0,Ae.ok)(Vt.type==="ExpressionStatement"),St=Ce.evaluater.evaluateExpression(Vt.expression)}else Le(Ce,ze.position);else St=et.value===null?!0:et.value;Ve[gt]=St}return Ve}function Wt(Ce,ze){const Ve=[];let et=-1;const gt=Ce.passKeys?new Map:pt;for(;++et<ze.children.length;){const St=ze.children[et];let Pt;if(Ce.passKeys){const xn=St.type==="element"?St.tagName:St.type==="mdxJsxFlowElement"||St.type==="mdxJsxTextElement"?St.name:void 0;if(xn){const wn=gt.get(xn)||0;Pt=xn+"-"+wn,gt.set(xn,wn+1)}}const Vt=Bn(Ce,St,Pt);Vt!==void 0&&Ve.push(Vt)}return Ve}function jt(Ce,ze,Ve){const et=(0,de.s)(Ce.schema,ze);if(!(Ve==null||typeof Ve=="number"&&Number.isNaN(Ve))){if(Array.isArray(Ve)&&(Ve=et.commaSeparated?(0,Fe.P)(Ve):(0,ge.P)(Ve)),et.property==="style"){let gt=typeof Ve=="object"?Ve:Je(Ce,String(Ve));return Ce.stylePropertyNameCase==="css"&&(gt=Xe(gt)),["style",gt]}return[Ce.elementAttributeNameCase==="react"&&et.space?se[et.property]||et.property:et.attribute,Ve]}}function Je(Ce,ze){const Ve={};try{be(ze,et)}catch(gt){if(!Ce.ignoreInvalidStyle){const St=gt,Pt=new at("Cannot parse `style` attribute",{ancestors:Ce.ancestors,cause:St,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw Pt.file=Ce.filePath||void 0,Pt.url=Ln+"#cannot-parse-style-attribute",Pt}}return Ve;function et(gt,St){let Pt=gt;Pt.slice(0,2)!=="--"&&(Pt.slice(0,4)==="-ms-"&&(Pt="ms-"+Pt.slice(4)),Pt=Pt.replace(Xt,je)),Ve[Pt]=St}}function Me(Ce,ze,Ve){let et;if(!Ve)et={type:"Literal",value:ze};else if(ze.includes(".")){const gt=ze.split(".");let St=-1,Pt;for(;++St<gt.length;){const Vt=Qe(gt[St])?{type:"Identifier",name:gt[St]}:{type:"Literal",value:gt[St]};Pt=Pt?{type:"MemberExpression",object:Pt,property:Vt,computed:!!(St&&Vt.type==="Literal"),optional:!1}:Vt}(0,Ae.ok)(Pt,"always a result"),et=Pt}else et=Qe(ze)&&!/^[a-z]/.test(ze)?{type:"Identifier",name:ze}:{type:"Literal",value:ze};if(et.type==="Literal"){const gt=et.value;return ft.call(Ce.components,gt)?Ce.components[gt]:gt}if(Ce.evaluater)return Ce.evaluater.evaluateExpression(et);Le(Ce)}function Le(Ce,ze){const Ve=new at("Cannot handle MDX estrees without `createEvaluater`",{ancestors:Ce.ancestors,place:ze,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw Ve.file=Ce.filePath||void 0,Ve.url=Ln+"#cannot-handle-mdx-estrees-without-createevaluater",Ve}function Xe(Ce){const ze={};let Ve;for(Ve in Ce)ft.call(Ce,Ve)&&(ze[dt(Ve)]=Ce[Ve]);return ze}function dt(Ce){let ze=Ce.replace(Nt,bt);return ze.slice(0,3)==="ms-"&&(ze="-"+ze),ze}function je(Ce,ze){return ze.toUpperCase()}function bt(Ce){return"-"+Ce.toLowerCase()}const Sn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ni=ue(85893);const ui={};function vn(Ce,ze){const Ve=ze||ui,et=typeof Ve.includeImageAlt=="boolean"?Ve.includeImageAlt:!0,gt=typeof Ve.includeHtml=="boolean"?Ve.includeHtml:!0;return _n(Ce,et,gt)}function _n(Ce,ze,Ve){if(oi(Ce)){if("value"in Ce)return Ce.type==="html"&&!Ve?"":Ce.value;if(ze&&"alt"in Ce&&Ce.alt)return Ce.alt;if("children"in Ce)return rn(Ce.children,ze,Ve)}return Array.isArray(Ce)?rn(Ce,ze,Ve):""}function rn(Ce,ze,Ve){const et=[];let gt=-1;for(;++gt<Ce.length;)et[gt]=_n(Ce[gt],ze,Ve);return et.join("")}function oi(Ce){return!!(Ce&&typeof Ce=="object")}function ei(Ce,ze,Ve,et){const gt=Ce.length;let St=0,Pt;if(ze<0?ze=-ze>gt?0:gt+ze:ze=ze>gt?gt:ze,Ve=Ve>0?Ve:0,et.length<1e4)Pt=Array.from(et),Pt.unshift(ze,Ve),Ce.splice(...Pt);else for(Ve&&Ce.splice(ze,Ve);St<et.length;)Pt=et.slice(St,St+1e4),Pt.unshift(ze,0),Ce.splice(...Pt),St+=1e4,ze+=1e4}function Ri(Ce,ze){return Ce.length>0?(ei(Ce,Ce.length,0,ze),Ce):ze}class cn{constructor(ze){this.left=ze?[...ze]:[],this.right=[]}get(ze){if(ze<0||ze>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+ze+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ze<this.left.length?this.left[ze]:this.right[this.right.length-ze+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(ze,Ve){const et=Ve==null?Number.POSITIVE_INFINITY:Ve;return et<this.left.length?this.left.slice(ze,et):ze>this.left.length?this.right.slice(this.right.length-et+this.left.length,this.right.length-ze+this.left.length).reverse():this.left.slice(ze).concat(this.right.slice(this.right.length-et+this.left.length).reverse())}splice(ze,Ve,et){const gt=Ve||0;this.setCursor(Math.trunc(ze));const St=this.right.splice(this.right.length-gt,Number.POSITIVE_INFINITY);return et&&tr(this.left,et),St.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(ze){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(ze)}pushMany(ze){this.setCursor(Number.POSITIVE_INFINITY),tr(this.left,ze)}unshift(ze){this.setCursor(0),this.right.push(ze)}unshiftMany(ze){this.setCursor(0),tr(this.right,ze.reverse())}setCursor(ze){if(!(ze===this.left.length||ze>this.left.length&&this.right.length===0||ze<0&&this.left.length===0))if(ze<this.left.length){const Ve=this.left.splice(ze,Number.POSITIVE_INFINITY);tr(this.right,Ve.reverse())}else{const Ve=this.right.splice(this.left.length+this.right.length-ze,Number.POSITIVE_INFINITY);tr(this.left,Ve.reverse())}}}function tr(Ce,ze){let Ve=0;if(ze.length<1e4)Ce.push(...ze);else for(;Ve<ze.length;)Ce.push(...ze.slice(Ve,Ve+1e4)),Ve+=1e4}function Xi(Ce){const ze={};let Ve=-1,et,gt,St,Pt,Vt,xn,wn;const dn=new cn(Ce);for(;++Ve<dn.length;){for(;Ve in ze;)Ve=ze[Ve];if(et=dn.get(Ve),Ve&&et[1].type==="chunkFlow"&&dn.get(Ve-1)[1].type==="listItemPrefix"&&(xn=et[1]._tokenizer.events,St=0,St<xn.length&&xn[St][1].type==="lineEndingBlank"&&(St+=2),St<xn.length&&xn[St][1].type==="content"))for(;++St<xn.length&&xn[St][1].type!=="content";)xn[St][1].type==="chunkText"&&(xn[St][1]._isInFirstContentOfListItem=!0,St++);if(et[0]==="enter")et[1].contentType&&(Object.assign(ze,$t(dn,Ve)),Ve=ze[Ve],wn=!0);else if(et[1]._container){for(St=Ve,gt=void 0;St--&&(Pt=dn.get(St),Pt[1].type==="lineEnding"||Pt[1].type==="lineEndingBlank");)Pt[0]==="enter"&&(gt&&(dn.get(gt)[1].type="lineEndingBlank"),Pt[1].type="lineEnding",gt=St);gt&&(et[1].end=Object.assign({},dn.get(gt)[1].start),Vt=dn.slice(gt,Ve),Vt.unshift(et),dn.splice(gt,Ve-gt+1,Vt))}}return ei(Ce,0,Number.POSITIVE_INFINITY,dn.slice(0)),!wn}function $t(Ce,ze){const Ve=Ce.get(ze)[1],et=Ce.get(ze)[2];let gt=ze-1;const St=[],Pt=Ve._tokenizer||et.parser[Ve.contentType](Ve.start),Vt=Pt.events,xn=[],wn={};let dn,Gn,Wn=-1,Pn=Ve,le=0,pe=0;const Ge=[pe];for(;Pn;){for(;Ce.get(++gt)[1]!==Pn;);St.push(gt),Pn._tokenizer||(dn=et.sliceStream(Pn),Pn.next||dn.push(null),Gn&&Pt.defineSkip(Pn.start),Pn._isInFirstContentOfListItem&&(Pt._gfmTasklistFirstContentOfListItem=!0),Pt.write(dn),Pn._isInFirstContentOfListItem&&(Pt._gfmTasklistFirstContentOfListItem=void 0)),Gn=Pn,Pn=Pn.next}for(Pn=Ve;++Wn<Vt.length;)Vt[Wn][0]==="exit"&&Vt[Wn-1][0]==="enter"&&Vt[Wn][1].type===Vt[Wn-1][1].type&&Vt[Wn][1].start.line!==Vt[Wn][1].end.line&&(pe=Wn+1,Ge.push(pe),Pn._tokenizer=void 0,Pn.previous=void 0,Pn=Pn.next);for(Pt.events=[],Pn?(Pn._tokenizer=void 0,Pn.previous=void 0):Ge.pop(),Wn=Ge.length;Wn--;){const Ct=Vt.slice(Ge[Wn],Ge[Wn+1]),gn=St.pop();xn.push([gn,gn+Ct.length-1]),Ce.splice(gn,2,Ct)}for(xn.reverse(),Wn=-1;++Wn<xn.length;)wn[le+xn[Wn][0]]=le+xn[Wn][1],le+=xn[Wn][1]-xn[Wn][0]-1;return wn}function _e(Ce){for(;!Xi(Ce););return Ce}const xr={}.hasOwnProperty;function er(Ce){const ze={};let Ve=-1;for(;++Ve<Ce.length;)ai(ze,Ce[Ve]);return ze}function ai(Ce,ze){let Ve;for(Ve in ze){const gt=(xr.call(Ce,Ve)?Ce[Ve]:void 0)||(Ce[Ve]={}),St=ze[Ve];let Pt;if(St)for(Pt in St){xr.call(gt,Pt)||(gt[Pt]=[]);const Vt=St[Pt];Rr(gt[Pt],Array.isArray(Vt)?Vt:Vt?[Vt]:[])}}}function Rr(Ce,ze){let Ve=-1;const et=[];for(;++Ve<ze.length;)(ze[Ve].add==="after"?Ce:et).push(ze[Ve]);ei(Ce,0,0,et)}function Lr(Ce){const ze={};let Ve=-1;for(;++Ve<Ce.length;)Ii(ze,Ce[Ve]);return ze}function Ii(Ce,ze){let Ve;for(Ve in ze){const gt=(xr.call(Ce,Ve)?Ce[Ve]:void 0)||(Ce[Ve]={}),St=ze[Ve];let Pt;if(St)for(Pt in St)gt[Pt]=St[Pt]}}var ar=ue(42761),hi=ue(15459);const Qt={tokenize:Wr};function Wr(Ce){const ze=Ce.attempt(this.parser.constructs.contentInitial,et,gt);let Ve;return ze;function et(Vt){if(Vt===null){Ce.consume(Vt);return}return Ce.enter("lineEnding"),Ce.consume(Vt),Ce.exit("lineEnding"),(0,ar.f)(Ce,ze,"linePrefix")}function gt(Vt){return Ce.enter("paragraph"),St(Vt)}function St(Vt){const xn=Ce.enter("chunkText",{contentType:"text",previous:Ve});return Ve&&(Ve.next=xn),Ve=xn,Pt(Vt)}function Pt(Vt){if(Vt===null){Ce.exit("chunkText"),Ce.exit("paragraph"),Ce.consume(Vt);return}return(0,hi.Ch)(Vt)?(Ce.consume(Vt),Ce.exit("chunkText"),St):(Ce.consume(Vt),Pt)}}const oo={tokenize:xo},dr={tokenize:yr};function xo(Ce){const ze=this,Ve=[];let et=0,gt,St,Pt;return Vt;function Vt(Cn){if(et<Ve.length){const ci=Ve[et];return ze.containerState=ci[1],Ce.attempt(ci[0].continuation,xn,wn)(Cn)}return wn(Cn)}function xn(Cn){if(et++,ze.containerState._closeFlow){ze.containerState._closeFlow=void 0,gt&&gn();const ci=ze.events.length;let Ei=ci,ii;for(;Ei--;)if(ze.events[Ei][0]==="exit"&&ze.events[Ei][1].type==="chunkFlow"){ii=ze.events[Ei][1].end;break}Ct(et);let Br=ci;for(;Br<ze.events.length;)ze.events[Br][1].end=Object.assign({},ii),Br++;return ei(ze.events,Ei+1,0,ze.events.slice(ci)),ze.events.length=Br,wn(Cn)}return Vt(Cn)}function wn(Cn){if(et===Ve.length){if(!gt)return Wn(Cn);if(gt.currentConstruct&>.currentConstruct.concrete)return le(Cn);ze.interrupt=!!(gt.currentConstruct&&!gt._gfmTableDynamicInterruptHack)}return ze.containerState={},Ce.check(dr,dn,Gn)(Cn)}function dn(Cn){return gt&&gn(),Ct(et),Wn(Cn)}function Gn(Cn){return ze.parser.lazy[ze.now().line]=et!==Ve.length,Pt=ze.now().offset,le(Cn)}function Wn(Cn){return ze.containerState={},Ce.attempt(dr,Pn,le)(Cn)}function Pn(Cn){return et++,Ve.push([ze.currentConstruct,ze.containerState]),Wn(Cn)}function le(Cn){if(Cn===null){gt&&gn(),Ct(0),Ce.consume(Cn);return}return gt=gt||ze.parser.flow(ze.now()),Ce.enter("chunkFlow",{contentType:"flow",previous:St,_tokenizer:gt}),pe(Cn)}function pe(Cn){if(Cn===null){Ge(Ce.exit("chunkFlow"),!0),Ct(0),Ce.consume(Cn);return}return(0,hi.Ch)(Cn)?(Ce.consume(Cn),Ge(Ce.exit("chunkFlow")),et=0,ze.interrupt=void 0,Vt):(Ce.consume(Cn),pe)}function Ge(Cn,ci){const Ei=ze.sliceStream(Cn);if(ci&&Ei.push(null),Cn.previous=St,St&&(St.next=Cn),St=Cn,gt.defineSkip(Cn.start),gt.write(Ei),ze.parser.lazy[Cn.start.line]){let ii=gt.events.length;for(;ii--;)if(gt.events[ii][1].start.offset<Pt&&(!gt.events[ii][1].end||gt.events[ii][1].end.offset>Pt))return;const Br=ze.events.length;let Yo=Br,No,ha;for(;Yo--;)if(ze.events[Yo][0]==="exit"&&ze.events[Yo][1].type==="chunkFlow"){if(No){ha=ze.events[Yo][1].end;break}No=!0}for(Ct(et),ii=Br;ii<ze.events.length;)ze.events[ii][1].end=Object.assign({},ha),ii++;ei(ze.events,Yo+1,0,ze.events.slice(Br)),ze.events.length=ii}}function Ct(Cn){let ci=Ve.length;for(;ci-- >Cn;){const Ei=Ve[ci];ze.containerState=Ei[1],Ei[0].exit.call(ze,Ce)}Ve.length=Cn}function gn(){gt.write([null]),St=void 0,gt=void 0,ze.containerState._closeFlow=void 0}}function yr(Ce,ze,Ve){return(0,ar.f)(Ce,Ce.attempt(this.parser.constructs.document,ze,Ve),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const On={tokenize:Ie,partial:!0};function Ie(Ce,ze,Ve){return et;function et(St){return(0,hi.xz)(St)?(0,ar.f)(Ce,gt,"linePrefix")(St):gt(St)}function gt(St){return St===null||(0,hi.Ch)(St)?ze(St):Ve(St)}}const Mn={tokenize:fi,resolve:ri},Kn={tokenize:vi,partial:!0};function ri(Ce){return Xi(Ce),Ce}function fi(Ce,ze){let Ve;return et;function et(Vt){return Ce.enter("content"),Ve=Ce.enter("chunkContent",{contentType:"content"}),gt(Vt)}function gt(Vt){return Vt===null?St(Vt):(0,hi.Ch)(Vt)?Ce.check(Kn,Pt,St)(Vt):(Ce.consume(Vt),gt)}function St(Vt){return Ce.exit("chunkContent"),Ce.exit("content"),ze(Vt)}function Pt(Vt){return Ce.consume(Vt),Ce.exit("chunkContent"),Ve.next=Ce.enter("chunkContent",{contentType:"content",previous:Ve}),Ve=Ve.next,gt}}function vi(Ce,ze,Ve){const et=this;return gt;function gt(Pt){return Ce.exit("chunkContent"),Ce.enter("lineEnding"),Ce.consume(Pt),Ce.exit("lineEnding"),(0,ar.f)(Ce,St,"linePrefix")}function St(Pt){if(Pt===null||(0,hi.Ch)(Pt))return Ve(Pt);const Vt=et.events[et.events.length-1];return!et.parser.constructs.disable.null.includes("codeIndented")&&Vt&&Vt[1].type==="linePrefix"&&Vt[2].sliceSerialize(Vt[1],!0).length>=4?ze(Pt):Ce.interrupt(et.parser.constructs.flow,Ve,ze)(Pt)}}const Ni={tokenize:hr};function hr(Ce){const ze=this,Ve=Ce.attempt(On,et,Ce.attempt(this.parser.constructs.flowInitial,gt,(0,ar.f)(Ce,Ce.attempt(this.parser.constructs.flow,gt,Ce.attempt(Mn,gt)),"linePrefix")));return Ve;function et(St){if(St===null){Ce.consume(St);return}return Ce.enter("lineEndingBlank"),Ce.consume(St),Ce.exit("lineEndingBlank"),ze.currentConstruct=void 0,Ve}function gt(St){if(St===null){Ce.consume(St);return}return Ce.enter("lineEnding"),Ce.consume(St),Ce.exit("lineEnding"),ze.currentConstruct=void 0,Ve}}const un={resolveAll:Mi()},hn=bn("string"),Kt=bn("text");function bn(Ce){return{tokenize:ze,resolveAll:Mi(Ce==="text"?Oi:void 0)};function ze(Ve){const et=this,gt=this.parser.constructs[Ce],St=Ve.attempt(gt,Pt,Vt);return Pt;function Pt(dn){return wn(dn)?St(dn):Vt(dn)}function Vt(dn){if(dn===null){Ve.consume(dn);return}return Ve.enter("data"),Ve.consume(dn),xn}function xn(dn){return wn(dn)?(Ve.exit("data"),St(dn)):(Ve.consume(dn),xn)}function wn(dn){if(dn===null)return!0;const Gn=gt[dn];let Wn=-1;if(Gn)for(;++Wn<Gn.length;){const Pn=Gn[Wn];if(!Pn.previous||Pn.previous.call(et,et.previous))return!0}return!1}}}function Mi(Ce){return ze;function ze(Ve,et){let gt=-1,St;for(;++gt<=Ve.length;)St===void 0?Ve[gt]&&Ve[gt][1].type==="data"&&(St=gt,gt++):(!Ve[gt]||Ve[gt][1].type!=="data")&&(gt!==St+2&&(Ve[St][1].end=Ve[gt-1][1].end,Ve.splice(St+2,gt-St-2),gt=St+2),St=void 0);return Ce?Ce(Ve,et):Ve}}function Oi(Ce,ze){let Ve=0;for(;++Ve<=Ce.length;)if((Ve===Ce.length||Ce[Ve][1].type==="lineEnding")&&Ce[Ve-1][1].type==="data"){const et=Ce[Ve-1][1],gt=ze.sliceStream(et);let St=gt.length,Pt=-1,Vt=0,xn;for(;St--;){const wn=gt[St];if(typeof wn=="string"){for(Pt=wn.length;wn.charCodeAt(Pt-1)===32;)Vt++,Pt--;if(Pt)break;Pt=-1}else if(wn===-2)xn=!0,Vt++;else if(wn!==-1){St++;break}}if(Vt){const wn={type:Ve===Ce.length||xn||Vt<2?"lineSuffix":"hardBreakTrailing",start:{line:et.end.line,column:et.end.column-Vt,offset:et.end.offset-Vt,_index:et.start._index+St,_bufferIndex:St?Pt:et.start._bufferIndex+Pt},end:Object.assign({},et.end)};et.end=Object.assign({},wn.start),et.start.offset===et.end.offset?Object.assign(et,wn):(Ce.splice(Ve,0,["enter",wn,ze],["exit",wn,ze]),Ve+=2)}Ve++}return Ce}function bi(Ce,ze,Ve){const et=[];let gt=-1;for(;++gt<Ce.length;){const St=Ce[gt].resolveAll;St&&!et.includes(St)&&(ze=St(ze,Ve),et.push(St))}return ze}function sn(Ce,ze,Ve){let et=Object.assign(Ve?Object.assign({},Ve):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const gt={},St=[];let Pt=[],Vt=[],xn=!0;const wn={consume:ci,enter:Ei,exit:ii,attempt:No(Br),check:No(Yo),interrupt:No(Yo,{interrupt:!0})},dn={previous:null,code:null,containerState:{},events:[],parser:Ce,sliceStream:pe,sliceSerialize:le,now:Ge,defineSkip:Ct,write:Pn};let Gn=ze.tokenize.call(dn,wn),Wn;return ze.resolveAll&&St.push(ze),dn;function Pn(rr){return Pt=Ri(Pt,rr),gn(),Pt[Pt.length-1]!==null?[]:(ha(ze,0),dn.events=bi(St,dn.events,dn),dn.events)}function le(rr,Ko){return Wi(pe(rr),Ko)}function pe(rr){return Un(Pt,rr)}function Ge(){const{line:rr,column:Ko,offset:Xr,_index:Ta,_bufferIndex:Da}=et;return{line:rr,column:Ko,offset:Xr,_index:Ta,_bufferIndex:Da}}function Ct(rr){gt[rr.line]=rr.column,Ca()}function gn(){let rr;for(;et._index<Pt.length;){const Ko=Pt[et._index];if(typeof Ko=="string")for(rr=et._index,et._bufferIndex<0&&(et._bufferIndex=0);et._index===rr&&et._bufferIndex<Ko.length;)Cn(Ko.charCodeAt(et._bufferIndex));else Cn(Ko)}}function Cn(rr){xn=void 0,Wn=rr,Gn=Gn(rr)}function ci(rr){(0,hi.Ch)(rr)?(et.line++,et.column=1,et.offset+=rr===-3?2:1,Ca()):rr!==-1&&(et.column++,et.offset++),et._bufferIndex<0?et._index++:(et._bufferIndex++,et._bufferIndex===Pt[et._index].length&&(et._bufferIndex=-1,et._index++)),dn.previous=rr,xn=!0}function Ei(rr,Ko){const Xr=Ko||{};return Xr.type=rr,Xr.start=Ge(),dn.events.push(["enter",Xr,dn]),Vt.push(Xr),Xr}function ii(rr){const Ko=Vt.pop();return Ko.end=Ge(),dn.events.push(["exit",Ko,dn]),Ko}function Br(rr,Ko){ha(rr,Ko.from)}function Yo(rr,Ko){Ko.restore()}function No(rr,Ko){return Xr;function Xr(Ta,Da,Ya){let qs,Hn,Ms,Ua;return Array.isArray(Ta)?Rs(Ta):"tokenize"in Ta?Rs([Ta]):Xn(Ta);function Xn(Ka){return Ql;function Ql(ps){const ol=ps!==null&&Ka[ps],Hl=ps!==null&&Ka.null,au=[...Array.isArray(ol)?ol:ol?[ol]:[],...Array.isArray(Hl)?Hl:Hl?[Hl]:[]];return Rs(au)(ps)}}function Rs(Ka){return qs=Ka,Hn=0,Ka.length===0?Ya:Xl(Ka[Hn])}function Xl(Ka){return Ql;function Ql(ps){return Ua=Qa(),Ms=Ka,Ka.partial||(dn.currentConstruct=Ka),Ka.name&&dn.parser.constructs.disable.null.includes(Ka.name)?Ou(ps):Ka.tokenize.call(Ko?Object.assign(Object.create(dn),Ko):dn,wn,wc,Ou)(ps)}}function wc(Ka){return xn=!0,rr(Ms,Ua),Da}function Ou(Ka){return xn=!0,Ua.restore(),++Hn<qs.length?Xl(qs[Hn]):Ya}}}function ha(rr,Ko){rr.resolveAll&&!St.includes(rr)&&St.push(rr),rr.resolve&&ei(dn.events,Ko,dn.events.length-Ko,rr.resolve(dn.events.slice(Ko),dn)),rr.resolveTo&&(dn.events=rr.resolveTo(dn.events,dn))}function Qa(){const rr=Ge(),Ko=dn.previous,Xr=dn.currentConstruct,Ta=dn.events.length,Da=Array.from(Vt);return{restore:Ya,from:Ta};function Ya(){et=rr,dn.previous=Ko,dn.currentConstruct=Xr,dn.events.length=Ta,Vt=Da,Ca()}}function Ca(){et.line in gt&&et.column<2&&(et.column=gt[et.line],et.offset+=gt[et.line]-1)}}function Un(Ce,ze){const Ve=ze.start._index,et=ze.start._bufferIndex,gt=ze.end._index,St=ze.end._bufferIndex;let Pt;if(Ve===gt)Pt=[Ce[Ve].slice(et,St)];else{if(Pt=Ce.slice(Ve,gt),et>-1){const Vt=Pt[0];typeof Vt=="string"?Pt[0]=Vt.slice(et):Pt.shift()}St>0&&Pt.push(Ce[gt].slice(0,St))}return Pt}function Wi(Ce,ze){let Ve=-1;const et=[];let gt;for(;++Ve<Ce.length;){const St=Ce[Ve];let Pt;if(typeof St=="string")Pt=St;else switch(St){case-5:{Pt="\r";break}case-4:{Pt=`
|
|
|
`;break}case-3:{Pt=`\r
|
|
|
`;break}case-2:{Pt=ze?" ":" ";break}case-1:{if(!ze&>)continue;Pt=" ";break}default:Pt=String.fromCharCode(St)}gt=St===-2,et.push(Pt)}return et.join("")}const ir={name:"thematicBreak",tokenize:si};function si(Ce,ze,Ve){let et=0,gt;return St;function St(wn){return Ce.enter("thematicBreak"),Pt(wn)}function Pt(wn){return gt=wn,Vt(wn)}function Vt(wn){return wn===gt?(Ce.enter("thematicBreakSequence"),xn(wn)):et>=3&&(wn===null||(0,hi.Ch)(wn))?(Ce.exit("thematicBreak"),ze(wn)):Ve(wn)}function xn(wn){return wn===gt?(Ce.consume(wn),et++,xn):(Ce.exit("thematicBreakSequence"),(0,hi.xz)(wn)?(0,ar.f)(Ce,Vt,"whitespace")(wn):Vt(wn))}}const tn={name:"list",tokenize:Hr,continuation:{tokenize:jn},exit:ao},Hi={tokenize:jo,partial:!0},lr={tokenize:qi,partial:!0};function Hr(Ce,ze,Ve){const et=this,gt=et.events[et.events.length-1];let St=gt&>[1].type==="linePrefix"?gt[2].sliceSerialize(gt[1],!0).length:0,Pt=0;return Vt;function Vt(Pn){const le=et.containerState.type||(Pn===42||Pn===43||Pn===45?"listUnordered":"listOrdered");if(le==="listUnordered"?!et.containerState.marker||Pn===et.containerState.marker:(0,hi.pY)(Pn)){if(et.containerState.type||(et.containerState.type=le,Ce.enter(le,{_container:!0})),le==="listUnordered")return Ce.enter("listItemPrefix"),Pn===42||Pn===45?Ce.check(ir,Ve,wn)(Pn):wn(Pn);if(!et.interrupt||Pn===49)return Ce.enter("listItemPrefix"),Ce.enter("listItemValue"),xn(Pn)}return Ve(Pn)}function xn(Pn){return(0,hi.pY)(Pn)&&++Pt<10?(Ce.consume(Pn),xn):(!et.interrupt||Pt<2)&&(et.containerState.marker?Pn===et.containerState.marker:Pn===41||Pn===46)?(Ce.exit("listItemValue"),wn(Pn)):Ve(Pn)}function wn(Pn){return Ce.enter("listItemMarker"),Ce.consume(Pn),Ce.exit("listItemMarker"),et.containerState.marker=et.containerState.marker||Pn,Ce.check(On,et.interrupt?Ve:dn,Ce.attempt(Hi,Wn,Gn))}function dn(Pn){return et.containerState.initialBlankLine=!0,St++,Wn(Pn)}function Gn(Pn){return(0,hi.xz)(Pn)?(Ce.enter("listItemPrefixWhitespace"),Ce.consume(Pn),Ce.exit("listItemPrefixWhitespace"),Wn):Ve(Pn)}function Wn(Pn){return et.containerState.size=St+et.sliceSerialize(Ce.exit("listItemPrefix"),!0).length,ze(Pn)}}function jn(Ce,ze,Ve){const et=this;return et.containerState._closeFlow=void 0,Ce.check(On,gt,St);function gt(Vt){return et.containerState.furtherBlankLines=et.containerState.furtherBlankLines||et.containerState.initialBlankLine,(0,ar.f)(Ce,ze,"listItemIndent",et.containerState.size+1)(Vt)}function St(Vt){return et.containerState.furtherBlankLines||!(0,hi.xz)(Vt)?(et.containerState.furtherBlankLines=void 0,et.containerState.initialBlankLine=void 0,Pt(Vt)):(et.containerState.furtherBlankLines=void 0,et.containerState.initialBlankLine=void 0,Ce.attempt(lr,ze,Pt)(Vt))}function Pt(Vt){return et.containerState._closeFlow=!0,et.interrupt=void 0,(0,ar.f)(Ce,Ce.attempt(tn,ze,Ve),"linePrefix",et.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Vt)}}function qi(Ce,ze,Ve){const et=this;return(0,ar.f)(Ce,gt,"listItemIndent",et.containerState.size+1);function gt(St){const Pt=et.events[et.events.length-1];return Pt&&Pt[1].type==="listItemIndent"&&Pt[2].sliceSerialize(Pt[1],!0).length===et.containerState.size?ze(St):Ve(St)}}function ao(Ce){Ce.exit(this.containerState.type)}function jo(Ce,ze,Ve){const et=this;return(0,ar.f)(Ce,gt,"listItemPrefixWhitespace",et.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function gt(St){const Pt=et.events[et.events.length-1];return!(0,hi.xz)(St)&&Pt&&Pt[1].type==="listItemPrefixWhitespace"?ze(St):Ve(St)}}const ko={name:"blockQuote",tokenize:Vi,continuation:{tokenize:Qi},exit:sr};function Vi(Ce,ze,Ve){const et=this;return gt;function gt(Pt){if(Pt===62){const Vt=et.containerState;return Vt.open||(Ce.enter("blockQuote",{_container:!0}),Vt.open=!0),Ce.enter("blockQuotePrefix"),Ce.enter("blockQuoteMarker"),Ce.consume(Pt),Ce.exit("blockQuoteMarker"),St}return Ve(Pt)}function St(Pt){return(0,hi.xz)(Pt)?(Ce.enter("blockQuotePrefixWhitespace"),Ce.consume(Pt),Ce.exit("blockQuotePrefixWhitespace"),Ce.exit("blockQuotePrefix"),ze):(Ce.exit("blockQuotePrefix"),ze(Pt))}}function Qi(Ce,ze,Ve){const et=this;return gt;function gt(Pt){return(0,hi.xz)(Pt)?(0,ar.f)(Ce,St,"linePrefix",et.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Pt):St(Pt)}function St(Pt){return Ce.attempt(ko,ze,Ve)(Pt)}}function sr(Ce){Ce.exit("blockQuote")}function Zr(Ce,ze,Ve,et,gt,St,Pt,Vt,xn){const wn=xn||Number.POSITIVE_INFINITY;let dn=0;return Gn;function Gn(Ct){return Ct===60?(Ce.enter(et),Ce.enter(gt),Ce.enter(St),Ce.consume(Ct),Ce.exit(St),Wn):Ct===null||Ct===32||Ct===41||(0,hi.Av)(Ct)?Ve(Ct):(Ce.enter(et),Ce.enter(Pt),Ce.enter(Vt),Ce.enter("chunkString",{contentType:"string"}),pe(Ct))}function Wn(Ct){return Ct===62?(Ce.enter(St),Ce.consume(Ct),Ce.exit(St),Ce.exit(gt),Ce.exit(et),ze):(Ce.enter(Vt),Ce.enter("chunkString",{contentType:"string"}),Pn(Ct))}function Pn(Ct){return Ct===62?(Ce.exit("chunkString"),Ce.exit(Vt),Wn(Ct)):Ct===null||Ct===60||(0,hi.Ch)(Ct)?Ve(Ct):(Ce.consume(Ct),Ct===92?le:Pn)}function le(Ct){return Ct===60||Ct===62||Ct===92?(Ce.consume(Ct),Pn):Pn(Ct)}function pe(Ct){return!dn&&(Ct===null||Ct===41||(0,hi.z3)(Ct))?(Ce.exit("chunkString"),Ce.exit(Vt),Ce.exit(Pt),Ce.exit(et),ze(Ct)):dn<wn&&Ct===40?(Ce.consume(Ct),dn++,pe):Ct===41?(Ce.consume(Ct),dn--,pe):Ct===null||Ct===32||Ct===40||(0,hi.Av)(Ct)?Ve(Ct):(Ce.consume(Ct),Ct===92?Ge:pe)}function Ge(Ct){return Ct===40||Ct===41||Ct===92?(Ce.consume(Ct),pe):pe(Ct)}}function Io(Ce,ze,Ve,et,gt,St){const Pt=this;let Vt=0,xn;return wn;function wn(Pn){return Ce.enter(et),Ce.enter(gt),Ce.consume(Pn),Ce.exit(gt),Ce.enter(St),dn}function dn(Pn){return Vt>999||Pn===null||Pn===91||Pn===93&&!xn||Pn===94&&!Vt&&"_hiddenFootnoteSupport"in Pt.parser.constructs?Ve(Pn):Pn===93?(Ce.exit(St),Ce.enter(gt),Ce.consume(Pn),Ce.exit(gt),Ce.exit(et),ze):(0,hi.Ch)(Pn)?(Ce.enter("lineEnding"),Ce.consume(Pn),Ce.exit("lineEnding"),dn):(Ce.enter("chunkString",{contentType:"string"}),Gn(Pn))}function Gn(Pn){return Pn===null||Pn===91||Pn===93||(0,hi.Ch)(Pn)||Vt++>999?(Ce.exit("chunkString"),dn(Pn)):(Ce.consume(Pn),xn||(xn=!(0,hi.xz)(Pn)),Pn===92?Wn:Gn)}function Wn(Pn){return Pn===91||Pn===92||Pn===93?(Ce.consume(Pn),Vt++,Gn):Gn(Pn)}}function Si(Ce,ze,Ve,et,gt,St){let Pt;return Vt;function Vt(Wn){return Wn===34||Wn===39||Wn===40?(Ce.enter(et),Ce.enter(gt),Ce.consume(Wn),Ce.exit(gt),Pt=Wn===40?41:Wn,xn):Ve(Wn)}function xn(Wn){return Wn===Pt?(Ce.enter(gt),Ce.consume(Wn),Ce.exit(gt),Ce.exit(et),ze):(Ce.enter(St),wn(Wn))}function wn(Wn){return Wn===Pt?(Ce.exit(St),xn(Pt)):Wn===null?Ve(Wn):(0,hi.Ch)(Wn)?(Ce.enter("lineEnding"),Ce.consume(Wn),Ce.exit("lineEnding"),(0,ar.f)(Ce,wn,"linePrefix")):(Ce.enter("chunkString",{contentType:"string"}),dn(Wn))}function dn(Wn){return Wn===Pt||Wn===null||(0,hi.Ch)(Wn)?(Ce.exit("chunkString"),wn(Wn)):(Ce.consume(Wn),Wn===92?Gn:dn)}function Gn(Wn){return Wn===Pt||Wn===92?(Ce.consume(Wn),dn):dn(Wn)}}function mr(Ce,ze){let Ve;return et;function et(gt){return(0,hi.Ch)(gt)?(Ce.enter("lineEnding"),Ce.consume(gt),Ce.exit("lineEnding"),Ve=!0,et):(0,hi.xz)(gt)?(0,ar.f)(Ce,et,Ve?"linePrefix":"lineSuffix")(gt):ze(gt)}}function ja(Ce){return Ce.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ha={name:"definition",tokenize:nn},Sa={tokenize:pr,partial:!0};function nn(Ce,ze,Ve){const et=this;let gt;return St;function St(Pn){return Ce.enter("definition"),Pt(Pn)}function Pt(Pn){return Io.call(et,Ce,Vt,Ve,"definitionLabel","definitionLabelMarker","definitionLabelString")(Pn)}function Vt(Pn){return gt=ja(et.sliceSerialize(et.events[et.events.length-1][1]).slice(1,-1)),Pn===58?(Ce.enter("definitionMarker"),Ce.consume(Pn),Ce.exit("definitionMarker"),xn):Ve(Pn)}function xn(Pn){return(0,hi.z3)(Pn)?mr(Ce,wn)(Pn):wn(Pn)}function wn(Pn){return Zr(Ce,dn,Ve,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(Pn)}function dn(Pn){return Ce.attempt(Sa,Gn,Gn)(Pn)}function Gn(Pn){return(0,hi.xz)(Pn)?(0,ar.f)(Ce,Wn,"whitespace")(Pn):Wn(Pn)}function Wn(Pn){return Pn===null||(0,hi.Ch)(Pn)?(Ce.exit("definition"),et.parser.defined.push(gt),ze(Pn)):Ve(Pn)}}function pr(Ce,ze,Ve){return et;function et(Vt){return(0,hi.z3)(Vt)?mr(Ce,gt)(Vt):Ve(Vt)}function gt(Vt){return Si(Ce,St,Ve,"definitionTitle","definitionTitleMarker","definitionTitleString")(Vt)}function St(Vt){return(0,hi.xz)(Vt)?(0,ar.f)(Ce,Pt,"whitespace")(Vt):Pt(Vt)}function Pt(Vt){return Vt===null||(0,hi.Ch)(Vt)?ze(Vt):Ve(Vt)}}const Jr={name:"codeIndented",tokenize:ia},vr={tokenize:vo,partial:!0};function ia(Ce,ze,Ve){const et=this;return gt;function gt(wn){return Ce.enter("codeIndented"),(0,ar.f)(Ce,St,"linePrefix",5)(wn)}function St(wn){const dn=et.events[et.events.length-1];return dn&&dn[1].type==="linePrefix"&&dn[2].sliceSerialize(dn[1],!0).length>=4?Pt(wn):Ve(wn)}function Pt(wn){return wn===null?xn(wn):(0,hi.Ch)(wn)?Ce.attempt(vr,Pt,xn)(wn):(Ce.enter("codeFlowValue"),Vt(wn))}function Vt(wn){return wn===null||(0,hi.Ch)(wn)?(Ce.exit("codeFlowValue"),Pt(wn)):(Ce.consume(wn),Vt)}function xn(wn){return Ce.exit("codeIndented"),ze(wn)}}function vo(Ce,ze,Ve){const et=this;return gt;function gt(Pt){return et.parser.lazy[et.now().line]?Ve(Pt):(0,hi.Ch)(Pt)?(Ce.enter("lineEnding"),Ce.consume(Pt),Ce.exit("lineEnding"),gt):(0,ar.f)(Ce,St,"linePrefix",5)(Pt)}function St(Pt){const Vt=et.events[et.events.length-1];return Vt&&Vt[1].type==="linePrefix"&&Vt[2].sliceSerialize(Vt[1],!0).length>=4?ze(Pt):(0,hi.Ch)(Pt)?gt(Pt):Ve(Pt)}}const Po={name:"headingAtx",tokenize:so,resolve:bo};function bo(Ce,ze){let Ve=Ce.length-2,et=3,gt,St;return Ce[et][1].type==="whitespace"&&(et+=2),Ve-2>et&&Ce[Ve][1].type==="whitespace"&&(Ve-=2),Ce[Ve][1].type==="atxHeadingSequence"&&(et===Ve-1||Ve-4>et&&Ce[Ve-2][1].type==="whitespace")&&(Ve-=et+1===Ve?2:4),Ve>et&&(gt={type:"atxHeadingText",start:Ce[et][1].start,end:Ce[Ve][1].end},St={type:"chunkText",start:Ce[et][1].start,end:Ce[Ve][1].end,contentType:"text"},ei(Ce,et,Ve-et+1,[["enter",gt,ze],["enter",St,ze],["exit",St,ze],["exit",gt,ze]])),Ce}function so(Ce,ze,Ve){let et=0;return gt;function gt(dn){return Ce.enter("atxHeading"),St(dn)}function St(dn){return Ce.enter("atxHeadingSequence"),Pt(dn)}function Pt(dn){return dn===35&&et++<6?(Ce.consume(dn),Pt):dn===null||(0,hi.z3)(dn)?(Ce.exit("atxHeadingSequence"),Vt(dn)):Ve(dn)}function Vt(dn){return dn===35?(Ce.enter("atxHeadingSequence"),xn(dn)):dn===null||(0,hi.Ch)(dn)?(Ce.exit("atxHeading"),ze(dn)):(0,hi.xz)(dn)?(0,ar.f)(Ce,Vt,"whitespace")(dn):(Ce.enter("atxHeadingText"),wn(dn))}function xn(dn){return dn===35?(Ce.consume(dn),xn):(Ce.exit("atxHeadingSequence"),Vt(dn))}function wn(dn){return dn===null||dn===35||(0,hi.z3)(dn)?(Ce.exit("atxHeadingText"),Vt(dn)):(Ce.consume(dn),wn)}}const Do={name:"setextUnderline",tokenize:$o,resolveTo:Qn};function Qn(Ce,ze){let Ve=Ce.length,et,gt,St;for(;Ve--;)if(Ce[Ve][0]==="enter"){if(Ce[Ve][1].type==="content"){et=Ve;break}Ce[Ve][1].type==="paragraph"&&(gt=Ve)}else Ce[Ve][1].type==="content"&&Ce.splice(Ve,1),!St&&Ce[Ve][1].type==="definition"&&(St=Ve);const Pt={type:"setextHeading",start:Object.assign({},Ce[gt][1].start),end:Object.assign({},Ce[Ce.length-1][1].end)};return Ce[gt][1].type="setextHeadingText",St?(Ce.splice(gt,0,["enter",Pt,ze]),Ce.splice(St+1,0,["exit",Ce[et][1],ze]),Ce[et][1].end=Object.assign({},Ce[St][1].end)):Ce[et][1]=Pt,Ce.push(["exit",Pt,ze]),Ce}function $o(Ce,ze,Ve){const et=this;let gt;return St;function St(wn){let dn=et.events.length,Gn;for(;dn--;)if(et.events[dn][1].type!=="lineEnding"&&et.events[dn][1].type!=="linePrefix"&&et.events[dn][1].type!=="content"){Gn=et.events[dn][1].type==="paragraph";break}return!et.parser.lazy[et.now().line]&&(et.interrupt||Gn)?(Ce.enter("setextHeadingLine"),gt=wn,Pt(wn)):Ve(wn)}function Pt(wn){return Ce.enter("setextHeadingLineSequence"),Vt(wn)}function Vt(wn){return wn===gt?(Ce.consume(wn),Vt):(Ce.exit("setextHeadingLineSequence"),(0,hi.xz)(wn)?(0,ar.f)(Ce,xn,"lineSuffix")(wn):xn(wn))}function xn(wn){return wn===null||(0,hi.Ch)(wn)?(Ce.exit("setextHeadingLine"),ze(wn)):Ve(wn)}}const Rt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ut=["pre","script","style","textarea"],Dn={name:"htmlFlow",tokenize:pn,resolveTo:Yt,concrete:!0},Lt={tokenize:Li,partial:!0},Ft={tokenize:ti,partial:!0};function Yt(Ce){let ze=Ce.length;for(;ze--&&!(Ce[ze][0]==="enter"&&Ce[ze][1].type==="htmlFlow"););return ze>1&&Ce[ze-2][1].type==="linePrefix"&&(Ce[ze][1].start=Ce[ze-2][1].start,Ce[ze+1][1].start=Ce[ze-2][1].start,Ce.splice(ze-2,2)),Ce}function pn(Ce,ze,Ve){const et=this;let gt,St,Pt,Vt,xn;return wn;function wn(Xn){return dn(Xn)}function dn(Xn){return Ce.enter("htmlFlow"),Ce.enter("htmlFlowData"),Ce.consume(Xn),Gn}function Gn(Xn){return Xn===33?(Ce.consume(Xn),Wn):Xn===47?(Ce.consume(Xn),St=!0,pe):Xn===63?(Ce.consume(Xn),gt=3,et.interrupt?ze:Hn):(0,hi.jv)(Xn)?(Ce.consume(Xn),Pt=String.fromCharCode(Xn),Ge):Ve(Xn)}function Wn(Xn){return Xn===45?(Ce.consume(Xn),gt=2,Pn):Xn===91?(Ce.consume(Xn),gt=5,Vt=0,le):(0,hi.jv)(Xn)?(Ce.consume(Xn),gt=4,et.interrupt?ze:Hn):Ve(Xn)}function Pn(Xn){return Xn===45?(Ce.consume(Xn),et.interrupt?ze:Hn):Ve(Xn)}function le(Xn){const Rs="CDATA[";return Xn===Rs.charCodeAt(Vt++)?(Ce.consume(Xn),Vt===Rs.length?et.interrupt?ze:Ca:le):Ve(Xn)}function pe(Xn){return(0,hi.jv)(Xn)?(Ce.consume(Xn),Pt=String.fromCharCode(Xn),Ge):Ve(Xn)}function Ge(Xn){if(Xn===null||Xn===47||Xn===62||(0,hi.z3)(Xn)){const Rs=Xn===47,Xl=Pt.toLowerCase();return!Rs&&!St&&ut.includes(Xl)?(gt=1,et.interrupt?ze(Xn):Ca(Xn)):Rt.includes(Pt.toLowerCase())?(gt=6,Rs?(Ce.consume(Xn),Ct):et.interrupt?ze(Xn):Ca(Xn)):(gt=7,et.interrupt&&!et.parser.lazy[et.now().line]?Ve(Xn):St?gn(Xn):Cn(Xn))}return Xn===45||(0,hi.H$)(Xn)?(Ce.consume(Xn),Pt+=String.fromCharCode(Xn),Ge):Ve(Xn)}function Ct(Xn){return Xn===62?(Ce.consume(Xn),et.interrupt?ze:Ca):Ve(Xn)}function gn(Xn){return(0,hi.xz)(Xn)?(Ce.consume(Xn),gn):ha(Xn)}function Cn(Xn){return Xn===47?(Ce.consume(Xn),ha):Xn===58||Xn===95||(0,hi.jv)(Xn)?(Ce.consume(Xn),ci):(0,hi.xz)(Xn)?(Ce.consume(Xn),Cn):ha(Xn)}function ci(Xn){return Xn===45||Xn===46||Xn===58||Xn===95||(0,hi.H$)(Xn)?(Ce.consume(Xn),ci):Ei(Xn)}function Ei(Xn){return Xn===61?(Ce.consume(Xn),ii):(0,hi.xz)(Xn)?(Ce.consume(Xn),Ei):Cn(Xn)}function ii(Xn){return Xn===null||Xn===60||Xn===61||Xn===62||Xn===96?Ve(Xn):Xn===34||Xn===39?(Ce.consume(Xn),xn=Xn,Br):(0,hi.xz)(Xn)?(Ce.consume(Xn),ii):Yo(Xn)}function Br(Xn){return Xn===xn?(Ce.consume(Xn),xn=null,No):Xn===null||(0,hi.Ch)(Xn)?Ve(Xn):(Ce.consume(Xn),Br)}function Yo(Xn){return Xn===null||Xn===34||Xn===39||Xn===47||Xn===60||Xn===61||Xn===62||Xn===96||(0,hi.z3)(Xn)?Ei(Xn):(Ce.consume(Xn),Yo)}function No(Xn){return Xn===47||Xn===62||(0,hi.xz)(Xn)?Cn(Xn):Ve(Xn)}function ha(Xn){return Xn===62?(Ce.consume(Xn),Qa):Ve(Xn)}function Qa(Xn){return Xn===null||(0,hi.Ch)(Xn)?Ca(Xn):(0,hi.xz)(Xn)?(Ce.consume(Xn),Qa):Ve(Xn)}function Ca(Xn){return Xn===45&>===2?(Ce.consume(Xn),Ta):Xn===60&>===1?(Ce.consume(Xn),Da):Xn===62&>===4?(Ce.consume(Xn),Ms):Xn===63&>===3?(Ce.consume(Xn),Hn):Xn===93&>===5?(Ce.consume(Xn),qs):(0,hi.Ch)(Xn)&&(gt===6||gt===7)?(Ce.exit("htmlFlowData"),Ce.check(Lt,Ua,rr)(Xn)):Xn===null||(0,hi.Ch)(Xn)?(Ce.exit("htmlFlowData"),rr(Xn)):(Ce.consume(Xn),Ca)}function rr(Xn){return Ce.check(Ft,Ko,Ua)(Xn)}function Ko(Xn){return Ce.enter("lineEnding"),Ce.consume(Xn),Ce.exit("lineEnding"),Xr}function Xr(Xn){return Xn===null||(0,hi.Ch)(Xn)?rr(Xn):(Ce.enter("htmlFlowData"),Ca(Xn))}function Ta(Xn){return Xn===45?(Ce.consume(Xn),Hn):Ca(Xn)}function Da(Xn){return Xn===47?(Ce.consume(Xn),Pt="",Ya):Ca(Xn)}function Ya(Xn){if(Xn===62){const Rs=Pt.toLowerCase();return ut.includes(Rs)?(Ce.consume(Xn),Ms):Ca(Xn)}return(0,hi.jv)(Xn)&&Pt.length<8?(Ce.consume(Xn),Pt+=String.fromCharCode(Xn),Ya):Ca(Xn)}function qs(Xn){return Xn===93?(Ce.consume(Xn),Hn):Ca(Xn)}function Hn(Xn){return Xn===62?(Ce.consume(Xn),Ms):Xn===45&>===2?(Ce.consume(Xn),Hn):Ca(Xn)}function Ms(Xn){return Xn===null||(0,hi.Ch)(Xn)?(Ce.exit("htmlFlowData"),Ua(Xn)):(Ce.consume(Xn),Ms)}function Ua(Xn){return Ce.exit("htmlFlow"),ze(Xn)}}function ti(Ce,ze,Ve){const et=this;return gt;function gt(Pt){return(0,hi.Ch)(Pt)?(Ce.enter("lineEnding"),Ce.consume(Pt),Ce.exit("lineEnding"),St):Ve(Pt)}function St(Pt){return et.parser.lazy[et.now().line]?Ve(Pt):ze(Pt)}}function Li(Ce,ze,Ve){return et;function et(gt){return Ce.enter("lineEnding"),Ce.consume(gt),Ce.exit("lineEnding"),Ce.attempt(On,ze,Ve)}}const Pi={tokenize:br,partial:!0},Fn={name:"codeFenced",tokenize:st,concrete:!0};function st(Ce,ze,Ve){const et=this,gt={tokenize:Ei,partial:!0};let St=0,Pt=0,Vt;return xn;function xn(ii){return wn(ii)}function wn(ii){const Br=et.events[et.events.length-1];return St=Br&&Br[1].type==="linePrefix"?Br[2].sliceSerialize(Br[1],!0).length:0,Vt=ii,Ce.enter("codeFenced"),Ce.enter("codeFencedFence"),Ce.enter("codeFencedFenceSequence"),dn(ii)}function dn(ii){return ii===Vt?(Pt++,Ce.consume(ii),dn):Pt<3?Ve(ii):(Ce.exit("codeFencedFenceSequence"),(0,hi.xz)(ii)?(0,ar.f)(Ce,Gn,"whitespace")(ii):Gn(ii))}function Gn(ii){return ii===null||(0,hi.Ch)(ii)?(Ce.exit("codeFencedFence"),et.interrupt?ze(ii):Ce.check(Pi,pe,ci)(ii)):(Ce.enter("codeFencedFenceInfo"),Ce.enter("chunkString",{contentType:"string"}),Wn(ii))}function Wn(ii){return ii===null||(0,hi.Ch)(ii)?(Ce.exit("chunkString"),Ce.exit("codeFencedFenceInfo"),Gn(ii)):(0,hi.xz)(ii)?(Ce.exit("chunkString"),Ce.exit("codeFencedFenceInfo"),(0,ar.f)(Ce,Pn,"whitespace")(ii)):ii===96&&ii===Vt?Ve(ii):(Ce.consume(ii),Wn)}function Pn(ii){return ii===null||(0,hi.Ch)(ii)?Gn(ii):(Ce.enter("codeFencedFenceMeta"),Ce.enter("chunkString",{contentType:"string"}),le(ii))}function le(ii){return ii===null||(0,hi.Ch)(ii)?(Ce.exit("chunkString"),Ce.exit("codeFencedFenceMeta"),Gn(ii)):ii===96&&ii===Vt?Ve(ii):(Ce.consume(ii),le)}function pe(ii){return Ce.attempt(gt,ci,Ge)(ii)}function Ge(ii){return Ce.enter("lineEnding"),Ce.consume(ii),Ce.exit("lineEnding"),Ct}function Ct(ii){return St>0&&(0,hi.xz)(ii)?(0,ar.f)(Ce,gn,"linePrefix",St+1)(ii):gn(ii)}function gn(ii){return ii===null||(0,hi.Ch)(ii)?Ce.check(Pi,pe,ci)(ii):(Ce.enter("codeFlowValue"),Cn(ii))}function Cn(ii){return ii===null||(0,hi.Ch)(ii)?(Ce.exit("codeFlowValue"),gn(ii)):(Ce.consume(ii),Cn)}function ci(ii){return Ce.exit("codeFenced"),ze(ii)}function Ei(ii,Br,Yo){let No=0;return ha;function ha(Xr){return ii.enter("lineEnding"),ii.consume(Xr),ii.exit("lineEnding"),Qa}function Qa(Xr){return ii.enter("codeFencedFence"),(0,hi.xz)(Xr)?(0,ar.f)(ii,Ca,"linePrefix",et.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Xr):Ca(Xr)}function Ca(Xr){return Xr===Vt?(ii.enter("codeFencedFenceSequence"),rr(Xr)):Yo(Xr)}function rr(Xr){return Xr===Vt?(No++,ii.consume(Xr),rr):No>=Pt?(ii.exit("codeFencedFenceSequence"),(0,hi.xz)(Xr)?(0,ar.f)(ii,Ko,"whitespace")(Xr):Ko(Xr)):Yo(Xr)}function Ko(Xr){return Xr===null||(0,hi.Ch)(Xr)?(ii.exit("codeFencedFence"),Br(Xr)):Yo(Xr)}}}function br(Ce,ze,Ve){const et=this;return gt;function gt(Pt){return Pt===null?Ve(Pt):(Ce.enter("lineEnding"),Ce.consume(Pt),Ce.exit("lineEnding"),St)}function St(Pt){return et.parser.lazy[et.now().line]?Ve(Pt):ze(Pt)}}const _r=document.createElement("i");function to(Ce){const ze="&"+Ce+";";_r.innerHTML=ze;const Ve=_r.textContent;return Ve.charCodeAt(Ve.length-1)===59&&Ce!=="semi"||Ve===ze?!1:Ve}const lo={name:"characterReference",tokenize:uo};function uo(Ce,ze,Ve){const et=this;let gt=0,St,Pt;return Vt;function Vt(Gn){return Ce.enter("characterReference"),Ce.enter("characterReferenceMarker"),Ce.consume(Gn),Ce.exit("characterReferenceMarker"),xn}function xn(Gn){return Gn===35?(Ce.enter("characterReferenceMarkerNumeric"),Ce.consume(Gn),Ce.exit("characterReferenceMarkerNumeric"),wn):(Ce.enter("characterReferenceValue"),St=31,Pt=hi.H$,dn(Gn))}function wn(Gn){return Gn===88||Gn===120?(Ce.enter("characterReferenceMarkerHexadecimal"),Ce.consume(Gn),Ce.exit("characterReferenceMarkerHexadecimal"),Ce.enter("characterReferenceValue"),St=6,Pt=hi.AF,dn):(Ce.enter("characterReferenceValue"),St=7,Pt=hi.pY,dn(Gn))}function dn(Gn){if(Gn===59&>){const Wn=Ce.exit("characterReferenceValue");return Pt===hi.H$&&!to(et.sliceSerialize(Wn))?Ve(Gn):(Ce.enter("characterReferenceMarker"),Ce.consume(Gn),Ce.exit("characterReferenceMarker"),Ce.exit("characterReference"),ze)}return Pt(Gn)&>++<St?(Ce.consume(Gn),dn):Ve(Gn)}}const Vr={name:"characterEscape",tokenize:Mo};function Mo(Ce,ze,Ve){return et;function et(St){return Ce.enter("characterEscape"),Ce.enter("escapeMarker"),Ce.consume(St),Ce.exit("escapeMarker"),gt}function gt(St){return(0,hi.sR)(St)?(Ce.enter("characterEscapeValue"),Ce.consume(St),Ce.exit("characterEscapeValue"),Ce.exit("characterEscape"),ze):Ve(St)}}const co={name:"lineEnding",tokenize:Ir};function Ir(Ce,ze){return Ve;function Ve(et){return Ce.enter("lineEnding"),Ce.consume(et),Ce.exit("lineEnding"),(0,ar.f)(Ce,ze,"linePrefix")}}const or={name:"labelEnd",tokenize:Ji,resolveTo:$i,resolveAll:fn},Di={tokenize:Gr},Ci={tokenize:io},ji={tokenize:qr};function fn(Ce){let ze=-1;for(;++ze<Ce.length;){const Ve=Ce[ze][1];(Ve.type==="labelImage"||Ve.type==="labelLink"||Ve.type==="labelEnd")&&(Ce.splice(ze+1,Ve.type==="labelImage"?4:2),Ve.type="data",ze++)}return Ce}function $i(Ce,ze){let Ve=Ce.length,et=0,gt,St,Pt,Vt;for(;Ve--;)if(gt=Ce[Ve][1],St){if(gt.type==="link"||gt.type==="labelLink"&>._inactive)break;Ce[Ve][0]==="enter"&>.type==="labelLink"&&(gt._inactive=!0)}else if(Pt){if(Ce[Ve][0]==="enter"&&(gt.type==="labelImage"||gt.type==="labelLink")&&!gt._balanced&&(St=Ve,gt.type!=="labelLink")){et=2;break}}else gt.type==="labelEnd"&&(Pt=Ve);const xn={type:Ce[St][1].type==="labelLink"?"link":"image",start:Object.assign({},Ce[St][1].start),end:Object.assign({},Ce[Ce.length-1][1].end)},wn={type:"label",start:Object.assign({},Ce[St][1].start),end:Object.assign({},Ce[Pt][1].end)},dn={type:"labelText",start:Object.assign({},Ce[St+et+2][1].end),end:Object.assign({},Ce[Pt-2][1].start)};return Vt=[["enter",xn,ze],["enter",wn,ze]],Vt=Ri(Vt,Ce.slice(St+1,St+et+3)),Vt=Ri(Vt,[["enter",dn,ze]]),Vt=Ri(Vt,bi(ze.parser.constructs.insideSpan.null,Ce.slice(St+et+4,Pt-3),ze)),Vt=Ri(Vt,[["exit",dn,ze],Ce[Pt-2],Ce[Pt-1],["exit",wn,ze]]),Vt=Ri(Vt,Ce.slice(Pt+1)),Vt=Ri(Vt,[["exit",xn,ze]]),ei(Ce,St,Ce.length,Vt),Ce}function Ji(Ce,ze,Ve){const et=this;let gt=et.events.length,St,Pt;for(;gt--;)if((et.events[gt][1].type==="labelImage"||et.events[gt][1].type==="labelLink")&&!et.events[gt][1]._balanced){St=et.events[gt][1];break}return Vt;function Vt(Wn){return St?St._inactive?Gn(Wn):(Pt=et.parser.defined.includes(ja(et.sliceSerialize({start:St.end,end:et.now()}))),Ce.enter("labelEnd"),Ce.enter("labelMarker"),Ce.consume(Wn),Ce.exit("labelMarker"),Ce.exit("labelEnd"),xn):Ve(Wn)}function xn(Wn){return Wn===40?Ce.attempt(Di,dn,Pt?dn:Gn)(Wn):Wn===91?Ce.attempt(Ci,dn,Pt?wn:Gn)(Wn):Pt?dn(Wn):Gn(Wn)}function wn(Wn){return Ce.attempt(ji,dn,Gn)(Wn)}function dn(Wn){return ze(Wn)}function Gn(Wn){return St._balanced=!0,Ve(Wn)}}function Gr(Ce,ze,Ve){return et;function et(Gn){return Ce.enter("resource"),Ce.enter("resourceMarker"),Ce.consume(Gn),Ce.exit("resourceMarker"),gt}function gt(Gn){return(0,hi.z3)(Gn)?mr(Ce,St)(Gn):St(Gn)}function St(Gn){return Gn===41?dn(Gn):Zr(Ce,Pt,Vt,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(Gn)}function Pt(Gn){return(0,hi.z3)(Gn)?mr(Ce,xn)(Gn):dn(Gn)}function Vt(Gn){return Ve(Gn)}function xn(Gn){return Gn===34||Gn===39||Gn===40?Si(Ce,wn,Ve,"resourceTitle","resourceTitleMarker","resourceTitleString")(Gn):dn(Gn)}function wn(Gn){return(0,hi.z3)(Gn)?mr(Ce,dn)(Gn):dn(Gn)}function dn(Gn){return Gn===41?(Ce.enter("resourceMarker"),Ce.consume(Gn),Ce.exit("resourceMarker"),Ce.exit("resource"),ze):Ve(Gn)}}function io(Ce,ze,Ve){const et=this;return gt;function gt(Vt){return Io.call(et,Ce,St,Pt,"reference","referenceMarker","referenceString")(Vt)}function St(Vt){return et.parser.defined.includes(ja(et.sliceSerialize(et.events[et.events.length-1][1]).slice(1,-1)))?ze(Vt):Ve(Vt)}function Pt(Vt){return Ve(Vt)}}function qr(Ce,ze,Ve){return et;function et(St){return Ce.enter("reference"),Ce.enter("referenceMarker"),Ce.consume(St),Ce.exit("referenceMarker"),gt}function gt(St){return St===93?(Ce.enter("referenceMarker"),Ce.consume(St),Ce.exit("referenceMarker"),Ce.exit("reference"),ze):Ve(St)}}const yo={name:"labelStartImage",tokenize:ea,resolveAll:or.resolveAll};function ea(Ce,ze,Ve){const et=this;return gt;function gt(Vt){return Ce.enter("labelImage"),Ce.enter("labelImageMarker"),Ce.consume(Vt),Ce.exit("labelImageMarker"),St}function St(Vt){return Vt===91?(Ce.enter("labelMarker"),Ce.consume(Vt),Ce.exit("labelMarker"),Ce.exit("labelImage"),Pt):Ve(Vt)}function Pt(Vt){return Vt===94&&"_hiddenFootnoteSupport"in et.parser.constructs?Ve(Vt):ze(Vt)}}function Zo(Ce){if(Ce===null||(0,hi.z3)(Ce)||(0,hi.B8)(Ce))return 1;if((0,hi.Xh)(Ce))return 2}const ua={name:"attention",tokenize:an,resolveAll:ba};function ba(Ce,ze){let Ve=-1,et,gt,St,Pt,Vt,xn,wn,dn;for(;++Ve<Ce.length;)if(Ce[Ve][0]==="enter"&&Ce[Ve][1].type==="attentionSequence"&&Ce[Ve][1]._close){for(et=Ve;et--;)if(Ce[et][0]==="exit"&&Ce[et][1].type==="attentionSequence"&&Ce[et][1]._open&&ze.sliceSerialize(Ce[et][1]).charCodeAt(0)===ze.sliceSerialize(Ce[Ve][1]).charCodeAt(0)){if((Ce[et][1]._close||Ce[Ve][1]._open)&&(Ce[Ve][1].end.offset-Ce[Ve][1].start.offset)%3&&!((Ce[et][1].end.offset-Ce[et][1].start.offset+Ce[Ve][1].end.offset-Ce[Ve][1].start.offset)%3))continue;xn=Ce[et][1].end.offset-Ce[et][1].start.offset>1&&Ce[Ve][1].end.offset-Ce[Ve][1].start.offset>1?2:1;const Gn=Object.assign({},Ce[et][1].end),Wn=Object.assign({},Ce[Ve][1].start);qo(Gn,-xn),qo(Wn,xn),Pt={type:xn>1?"strongSequence":"emphasisSequence",start:Gn,end:Object.assign({},Ce[et][1].end)},Vt={type:xn>1?"strongSequence":"emphasisSequence",start:Object.assign({},Ce[Ve][1].start),end:Wn},St={type:xn>1?"strongText":"emphasisText",start:Object.assign({},Ce[et][1].end),end:Object.assign({},Ce[Ve][1].start)},gt={type:xn>1?"strong":"emphasis",start:Object.assign({},Pt.start),end:Object.assign({},Vt.end)},Ce[et][1].end=Object.assign({},Pt.start),Ce[Ve][1].start=Object.assign({},Vt.end),wn=[],Ce[et][1].end.offset-Ce[et][1].start.offset&&(wn=Ri(wn,[["enter",Ce[et][1],ze],["exit",Ce[et][1],ze]])),wn=Ri(wn,[["enter",gt,ze],["enter",Pt,ze],["exit",Pt,ze],["enter",St,ze]]),wn=Ri(wn,bi(ze.parser.constructs.insideSpan.null,Ce.slice(et+1,Ve),ze)),wn=Ri(wn,[["exit",St,ze],["enter",Vt,ze],["exit",Vt,ze],["exit",gt,ze]]),Ce[Ve][1].end.offset-Ce[Ve][1].start.offset?(dn=2,wn=Ri(wn,[["enter",Ce[Ve][1],ze],["exit",Ce[Ve][1],ze]])):dn=0,ei(Ce,et-1,Ve-et+3,wn),Ve=et+wn.length-dn-2;break}}for(Ve=-1;++Ve<Ce.length;)Ce[Ve][1].type==="attentionSequence"&&(Ce[Ve][1].type="data");return Ce}function an(Ce,ze){const Ve=this.parser.constructs.attentionMarkers.null,et=this.previous,gt=Zo(et);let St;return Pt;function Pt(xn){return St=xn,Ce.enter("attentionSequence"),Vt(xn)}function Vt(xn){if(xn===St)return Ce.consume(xn),Vt;const wn=Ce.exit("attentionSequence"),dn=Zo(xn),Gn=!dn||dn===2&>||Ve.includes(xn),Wn=!gt||gt===2&&dn||Ve.includes(et);return wn._open=!!(St===42?Gn:Gn&&(gt||!Wn)),wn._close=!!(St===42?Wn:Wn&&(dn||!Gn)),ze(xn)}}function qo(Ce,ze){Ce.column+=ze,Ce.offset+=ze,Ce._bufferIndex+=ze}const fa={name:"autolink",tokenize:Ra};function Ra(Ce,ze,Ve){let et=0;return gt;function gt(Pn){return Ce.enter("autolink"),Ce.enter("autolinkMarker"),Ce.consume(Pn),Ce.exit("autolinkMarker"),Ce.enter("autolinkProtocol"),St}function St(Pn){return(0,hi.jv)(Pn)?(Ce.consume(Pn),Pt):Pn===64?Ve(Pn):wn(Pn)}function Pt(Pn){return Pn===43||Pn===45||Pn===46||(0,hi.H$)(Pn)?(et=1,Vt(Pn)):wn(Pn)}function Vt(Pn){return Pn===58?(Ce.consume(Pn),et=0,xn):(Pn===43||Pn===45||Pn===46||(0,hi.H$)(Pn))&&et++<32?(Ce.consume(Pn),Vt):(et=0,wn(Pn))}function xn(Pn){return Pn===62?(Ce.exit("autolinkProtocol"),Ce.enter("autolinkMarker"),Ce.consume(Pn),Ce.exit("autolinkMarker"),Ce.exit("autolink"),ze):Pn===null||Pn===32||Pn===60||(0,hi.Av)(Pn)?Ve(Pn):(Ce.consume(Pn),xn)}function wn(Pn){return Pn===64?(Ce.consume(Pn),dn):(0,hi.n9)(Pn)?(Ce.consume(Pn),wn):Ve(Pn)}function dn(Pn){return(0,hi.H$)(Pn)?Gn(Pn):Ve(Pn)}function Gn(Pn){return Pn===46?(Ce.consume(Pn),et=0,dn):Pn===62?(Ce.exit("autolinkProtocol").type="autolinkEmail",Ce.enter("autolinkMarker"),Ce.consume(Pn),Ce.exit("autolinkMarker"),Ce.exit("autolink"),ze):Wn(Pn)}function Wn(Pn){if((Pn===45||(0,hi.H$)(Pn))&&et++<63){const le=Pn===45?Wn:Gn;return Ce.consume(Pn),le}return Ve(Pn)}}const po={name:"htmlText",tokenize:Xa};function Xa(Ce,ze,Ve){const et=this;let gt,St,Pt;return Vt;function Vt(Hn){return Ce.enter("htmlText"),Ce.enter("htmlTextData"),Ce.consume(Hn),xn}function xn(Hn){return Hn===33?(Ce.consume(Hn),wn):Hn===47?(Ce.consume(Hn),Ei):Hn===63?(Ce.consume(Hn),Cn):(0,hi.jv)(Hn)?(Ce.consume(Hn),Yo):Ve(Hn)}function wn(Hn){return Hn===45?(Ce.consume(Hn),dn):Hn===91?(Ce.consume(Hn),St=0,le):(0,hi.jv)(Hn)?(Ce.consume(Hn),gn):Ve(Hn)}function dn(Hn){return Hn===45?(Ce.consume(Hn),Pn):Ve(Hn)}function Gn(Hn){return Hn===null?Ve(Hn):Hn===45?(Ce.consume(Hn),Wn):(0,hi.Ch)(Hn)?(Pt=Gn,Da(Hn)):(Ce.consume(Hn),Gn)}function Wn(Hn){return Hn===45?(Ce.consume(Hn),Pn):Gn(Hn)}function Pn(Hn){return Hn===62?Ta(Hn):Hn===45?Wn(Hn):Gn(Hn)}function le(Hn){const Ms="CDATA[";return Hn===Ms.charCodeAt(St++)?(Ce.consume(Hn),St===Ms.length?pe:le):Ve(Hn)}function pe(Hn){return Hn===null?Ve(Hn):Hn===93?(Ce.consume(Hn),Ge):(0,hi.Ch)(Hn)?(Pt=pe,Da(Hn)):(Ce.consume(Hn),pe)}function Ge(Hn){return Hn===93?(Ce.consume(Hn),Ct):pe(Hn)}function Ct(Hn){return Hn===62?Ta(Hn):Hn===93?(Ce.consume(Hn),Ct):pe(Hn)}function gn(Hn){return Hn===null||Hn===62?Ta(Hn):(0,hi.Ch)(Hn)?(Pt=gn,Da(Hn)):(Ce.consume(Hn),gn)}function Cn(Hn){return Hn===null?Ve(Hn):Hn===63?(Ce.consume(Hn),ci):(0,hi.Ch)(Hn)?(Pt=Cn,Da(Hn)):(Ce.consume(Hn),Cn)}function ci(Hn){return Hn===62?Ta(Hn):Cn(Hn)}function Ei(Hn){return(0,hi.jv)(Hn)?(Ce.consume(Hn),ii):Ve(Hn)}function ii(Hn){return Hn===45||(0,hi.H$)(Hn)?(Ce.consume(Hn),ii):Br(Hn)}function Br(Hn){return(0,hi.Ch)(Hn)?(Pt=Br,Da(Hn)):(0,hi.xz)(Hn)?(Ce.consume(Hn),Br):Ta(Hn)}function Yo(Hn){return Hn===45||(0,hi.H$)(Hn)?(Ce.consume(Hn),Yo):Hn===47||Hn===62||(0,hi.z3)(Hn)?No(Hn):Ve(Hn)}function No(Hn){return Hn===47?(Ce.consume(Hn),Ta):Hn===58||Hn===95||(0,hi.jv)(Hn)?(Ce.consume(Hn),ha):(0,hi.Ch)(Hn)?(Pt=No,Da(Hn)):(0,hi.xz)(Hn)?(Ce.consume(Hn),No):Ta(Hn)}function ha(Hn){return Hn===45||Hn===46||Hn===58||Hn===95||(0,hi.H$)(Hn)?(Ce.consume(Hn),ha):Qa(Hn)}function Qa(Hn){return Hn===61?(Ce.consume(Hn),Ca):(0,hi.Ch)(Hn)?(Pt=Qa,Da(Hn)):(0,hi.xz)(Hn)?(Ce.consume(Hn),Qa):No(Hn)}function Ca(Hn){return Hn===null||Hn===60||Hn===61||Hn===62||Hn===96?Ve(Hn):Hn===34||Hn===39?(Ce.consume(Hn),gt=Hn,rr):(0,hi.Ch)(Hn)?(Pt=Ca,Da(Hn)):(0,hi.xz)(Hn)?(Ce.consume(Hn),Ca):(Ce.consume(Hn),Ko)}function rr(Hn){return Hn===gt?(Ce.consume(Hn),gt=void 0,Xr):Hn===null?Ve(Hn):(0,hi.Ch)(Hn)?(Pt=rr,Da(Hn)):(Ce.consume(Hn),rr)}function Ko(Hn){return Hn===null||Hn===34||Hn===39||Hn===60||Hn===61||Hn===96?Ve(Hn):Hn===47||Hn===62||(0,hi.z3)(Hn)?No(Hn):(Ce.consume(Hn),Ko)}function Xr(Hn){return Hn===47||Hn===62||(0,hi.z3)(Hn)?No(Hn):Ve(Hn)}function Ta(Hn){return Hn===62?(Ce.consume(Hn),Ce.exit("htmlTextData"),Ce.exit("htmlText"),ze):Ve(Hn)}function Da(Hn){return Ce.exit("htmlTextData"),Ce.enter("lineEnding"),Ce.consume(Hn),Ce.exit("lineEnding"),Ya}function Ya(Hn){return(0,hi.xz)(Hn)?(0,ar.f)(Ce,qs,"linePrefix",et.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Hn):qs(Hn)}function qs(Hn){return Ce.enter("htmlTextData"),Pt(Hn)}}const Na={name:"labelStartLink",tokenize:qa,resolveAll:or.resolveAll};function qa(Ce,ze,Ve){const et=this;return gt;function gt(Pt){return Ce.enter("labelLink"),Ce.enter("labelMarker"),Ce.consume(Pt),Ce.exit("labelMarker"),Ce.exit("labelLink"),St}function St(Pt){return Pt===94&&"_hiddenFootnoteSupport"in et.parser.constructs?Ve(Pt):ze(Pt)}}const Co={name:"hardBreakEscape",tokenize:Go};function Go(Ce,ze,Ve){return et;function et(St){return Ce.enter("hardBreakEscape"),Ce.consume(St),gt}function gt(St){return(0,hi.Ch)(St)?(Ce.exit("hardBreakEscape"),ze(St)):Ve(St)}}const wr={name:"codeText",tokenize:_o,resolve:$r,previous:ho};function $r(Ce){let ze=Ce.length-4,Ve=3,et,gt;if((Ce[Ve][1].type==="lineEnding"||Ce[Ve][1].type==="space")&&(Ce[ze][1].type==="lineEnding"||Ce[ze][1].type==="space")){for(et=Ve;++et<ze;)if(Ce[et][1].type==="codeTextData"){Ce[Ve][1].type="codeTextPadding",Ce[ze][1].type="codeTextPadding",Ve+=2,ze-=2;break}}for(et=Ve-1,ze++;++et<=ze;)gt===void 0?et!==ze&&Ce[et][1].type!=="lineEnding"&&(gt=et):(et===ze||Ce[et][1].type==="lineEnding")&&(Ce[gt][1].type="codeTextData",et!==gt+2&&(Ce[gt][1].end=Ce[et-1][1].end,Ce.splice(gt+2,et-gt-2),ze-=et-gt-2,et=gt+2),gt=void 0);return Ce}function ho(Ce){return Ce!==96||this.events[this.events.length-1][1].type==="characterEscape"}function _o(Ce,ze,Ve){const et=this;let gt=0,St,Pt;return Vt;function Vt(Wn){return Ce.enter("codeText"),Ce.enter("codeTextSequence"),xn(Wn)}function xn(Wn){return Wn===96?(Ce.consume(Wn),gt++,xn):(Ce.exit("codeTextSequence"),wn(Wn))}function wn(Wn){return Wn===null?Ve(Wn):Wn===32?(Ce.enter("space"),Ce.consume(Wn),Ce.exit("space"),wn):Wn===96?(Pt=Ce.enter("codeTextSequence"),St=0,Gn(Wn)):(0,hi.Ch)(Wn)?(Ce.enter("lineEnding"),Ce.consume(Wn),Ce.exit("lineEnding"),wn):(Ce.enter("codeTextData"),dn(Wn))}function dn(Wn){return Wn===null||Wn===32||Wn===96||(0,hi.Ch)(Wn)?(Ce.exit("codeTextData"),wn(Wn)):(Ce.consume(Wn),dn)}function Gn(Wn){return Wn===96?(Ce.consume(Wn),St++,Gn):St===gt?(Ce.exit("codeTextSequence"),Ce.exit("codeText"),ze(Wn)):(Pt.type="codeTextData",dn(Wn))}}const Zi={42:tn,43:tn,45:tn,48:tn,49:tn,50:tn,51:tn,52:tn,53:tn,54:tn,55:tn,56:tn,57:tn,62:ko},Ea={91:Ha},ca={[-2]:Jr,[-1]:Jr,32:Jr},ga={35:Po,42:ir,45:[Do,ir],60:Dn,61:Do,95:ir,96:Fn,126:Fn},rs={38:lo,92:Vr},us={[-5]:co,[-4]:co,[-3]:co,33:yo,38:lo,42:ua,60:[fa,po],91:Na,92:[Co,Vr],93:or,95:ua,96:wr},wi={null:[ua,un]},pa={null:[42,95]},ka={null:[]};function fs(Ce){const Ve=er([ce,...(Ce||{}).extensions||[]]),et={defined:[],lazy:{},constructs:Ve,content:gt(Qt),document:gt(oo),flow:gt(Ni),string:gt(hn),text:gt(Kt)};return et;function gt(St){return Pt;function Pt(Vt){return sn(et,St,Vt)}}}const wa=/[\0\t\n\r]/g;function ts(){let Ce=1,ze="",Ve=!0,et;return gt;function gt(St,Pt,Vt){const xn=[];let wn,dn,Gn,Wn,Pn;for(St=ze+(typeof St=="string"?St.toString():new TextDecoder(Pt||void 0).decode(St)),Gn=0,ze="",Ve&&(St.charCodeAt(0)===65279&&Gn++,Ve=void 0);Gn<St.length;){if(wa.lastIndex=Gn,wn=wa.exec(St),Wn=wn&&wn.index!==void 0?wn.index:St.length,Pn=St.charCodeAt(Wn),!wn){ze=St.slice(Gn);break}if(Pn===10&&Gn===Wn&&et)xn.push(-3),et=void 0;else switch(et&&(xn.push(-5),et=void 0),Gn<Wn&&(xn.push(St.slice(Gn,Wn)),Ce+=Wn-Gn),Pn){case 0:{xn.push(65533),Ce++;break}case 9:{for(dn=Math.ceil(Ce/4)*4,xn.push(-2);Ce++<dn;)xn.push(-1);break}case 10:{xn.push(-4),Ce=1;break}default:et=!0,Ce=1}Gn=Wn+1}return Vt&&(et&&xn.push(-5),ze&&xn.push(ze),xn.push(null)),xn}}function Yr(Ce,ze){const Ve=Number.parseInt(Ce,ze);return Ve<9||Ve===11||Ve>13&&Ve<32||Ve>126&&Ve<160||Ve>55295&&Ve<57344||Ve>64975&&Ve<65008||(Ve&65535)===65535||(Ve&65535)===65534||Ve>1114111?"\uFFFD":String.fromCodePoint(Ve)}const Is=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ba(Ce){return Ce.replace(Is,ns)}function ns(Ce,ze,Ve){if(ze)return ze;if(Ve.charCodeAt(0)===35){const gt=Ve.charCodeAt(1),St=gt===120||gt===88;return Yr(Ve.slice(St?2:1),St?16:10)}return to(Ve)||Ce}const ws={}.hasOwnProperty;function tl(Ce,ze,Ve){return typeof ze!="string"&&(Ve=ze,ze=void 0),Fl(Ve)(_e(fs(Ve).document().write(ts()(Ce,ze,!0))))}function Fl(Ce){const ze={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:St(Jl),autolinkProtocol:No,autolinkEmail:No,atxHeading:St(Cc),blockQuote:St(Ql),characterEscape:No,characterReference:No,codeFenced:St(ps),codeFencedFenceInfo:Pt,codeFencedFenceMeta:Pt,codeIndented:St(ps,Pt),codeText:St(ol,Pt),codeTextData:No,data:No,codeFlowValue:No,definition:St(Hl),definitionDestinationString:Pt,definitionLabelString:Pt,definitionTitleString:Pt,emphasis:St(au),hardBreakEscape:St(cc),hardBreakTrailing:St(cc),htmlFlow:St(Uc,Pt),htmlFlowData:No,htmlText:St(Uc,Pt),htmlTextData:No,image:St(Qu),label:Pt,link:St(Jl),listItem:St(Ju),listItemValue:Wn,listOrdered:St(dc,Gn),listUnordered:St(dc),paragraph:St(as),reference:Xn,referenceString:Pt,resourceDestinationString:Pt,resourceTitleString:Pt,setextHeading:St(Cc),strong:St(al),thematicBreak:St(Du)},exit:{atxHeading:xn(),atxHeadingSequence:Ei,autolink:xn(),autolinkEmail:Ka,autolinkProtocol:Ou,blockQuote:xn(),characterEscapeValue:ha,characterReferenceMarkerHexadecimal:Xl,characterReferenceMarkerNumeric:Xl,characterReferenceValue:wc,codeFenced:xn(Ge),codeFencedFence:pe,codeFencedFenceInfo:Pn,codeFencedFenceMeta:le,codeFlowValue:ha,codeIndented:xn(Ct),codeText:xn(Xr),codeTextData:ha,data:ha,definition:xn(),definitionDestinationString:ci,definitionLabelString:gn,definitionTitleString:Cn,emphasis:xn(),hardBreakEscape:xn(Ca),hardBreakTrailing:xn(Ca),htmlFlow:xn(rr),htmlFlowData:ha,htmlText:xn(Ko),htmlTextData:ha,image:xn(Da),label:qs,labelText:Ya,lineEnding:Qa,link:xn(Ta),listItem:xn(),listOrdered:xn(),listUnordered:xn(),paragraph:xn(),referenceString:Rs,resourceDestinationString:Hn,resourceTitleString:Ms,resource:Ua,setextHeading:xn(Yo),setextHeadingLineSequence:Br,setextHeadingText:ii,strong:xn(),thematicBreak:xn()}};za(ze,(Ce||{}).mdastExtensions||[]);const Ve={};return et;function et(Gi){let Pr={type:"root",children:[]};const ta={stack:[Pr],tokenStack:[],config:ze,enter:Vt,exit:wn,buffer:Pt,resume:dn,data:Ve},Pa=[];let Vo=-1;for(;++Vo<Gi.length;)if(Gi[Vo][1].type==="listOrdered"||Gi[Vo][1].type==="listUnordered")if(Gi[Vo][0]==="enter")Pa.push(Vo);else{const gl=Pa.pop();Vo=gt(Gi,gl,Vo)}for(Vo=-1;++Vo<Gi.length;){const gl=ze[Gi[Vo][0]];ws.call(gl,Gi[Vo][1].type)&&gl[Gi[Vo][1].type].call(Object.assign({sliceSerialize:Gi[Vo][2].sliceSerialize},ta),Gi[Vo][1])}if(ta.tokenStack.length>0){const gl=ta.tokenStack[ta.tokenStack.length-1];(gl[1]||Yu).call(ta,void 0,gl[0])}for(Pr.position={start:os(Gi.length>0?Gi[0][1].start:{line:1,column:1,offset:0}),end:os(Gi.length>0?Gi[Gi.length-2][1].end:{line:1,column:1,offset:0})},Vo=-1;++Vo<ze.transforms.length;)Pr=ze.transforms[Vo](Pr)||Pr;return Pr}function gt(Gi,Pr,ta){let Pa=Pr-1,Vo=-1,gl=!1,pl,ms,wl,xu;for(;++Pa<=ta;){const Os=Gi[Pa];switch(Os[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Os[0]==="enter"?Vo++:Vo--,xu=void 0;break}case"lineEndingBlank":{Os[0]==="enter"&&(pl&&!xu&&!Vo&&!wl&&(wl=Pa),xu=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:xu=void 0}if(!Vo&&Os[0]==="enter"&&Os[1].type==="listItemPrefix"||Vo===-1&&Os[0]==="exit"&&(Os[1].type==="listUnordered"||Os[1].type==="listOrdered")){if(pl){let Fu=Pa;for(ms=void 0;Fu--;){const sl=Gi[Fu];if(sl[1].type==="lineEnding"||sl[1].type==="lineEndingBlank"){if(sl[0]==="exit")continue;ms&&(Gi[ms][1].type="lineEndingBlank",gl=!0),sl[1].type="lineEnding",ms=Fu}else if(!(sl[1].type==="linePrefix"||sl[1].type==="blockQuotePrefix"||sl[1].type==="blockQuotePrefixWhitespace"||sl[1].type==="blockQuoteMarker"||sl[1].type==="listItemIndent"))break}wl&&(!ms||wl<ms)&&(pl._spread=!0),pl.end=Object.assign({},ms?Gi[ms][1].start:Os[1].end),Gi.splice(ms||Pa,0,["exit",pl,Os[2]]),Pa++,ta++}if(Os[1].type==="listItemPrefix"){const Fu={type:"listItem",_spread:!1,start:Object.assign({},Os[1].start),end:void 0};pl=Fu,Gi.splice(Pa,0,["enter",Fu,Os[2]]),Pa++,ta++,wl=void 0,xu=!0}}}return Gi[Pr][1]._spread=gl,ta}function St(Gi,Pr){return ta;function ta(Pa){Vt.call(this,Gi(Pa),Pa),Pr&&Pr.call(this,Pa)}}function Pt(){this.stack.push({type:"fragment",children:[]})}function Vt(Gi,Pr,ta){this.stack[this.stack.length-1].children.push(Gi),this.stack.push(Gi),this.tokenStack.push([Pr,ta]),Gi.position={start:os(Pr.start),end:void 0}}function xn(Gi){return Pr;function Pr(ta){Gi&&Gi.call(this,ta),wn.call(this,ta)}}function wn(Gi,Pr){const ta=this.stack.pop(),Pa=this.tokenStack.pop();if(Pa)Pa[0].type!==Gi.type&&(Pr?Pr.call(this,Gi,Pa[0]):(Pa[1]||Yu).call(this,Gi,Pa[0]));else throw new Error("Cannot close `"+Gi.type+"` ("+Oe({start:Gi.start,end:Gi.end})+"): it\u2019s not open");ta.position.end=os(Gi.end)}function dn(){return vn(this.stack.pop())}function Gn(){this.data.expectingFirstListItemValue=!0}function Wn(Gi){if(this.data.expectingFirstListItemValue){const Pr=this.stack[this.stack.length-2];Pr.start=Number.parseInt(this.sliceSerialize(Gi),10),this.data.expectingFirstListItemValue=void 0}}function Pn(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.lang=Gi}function le(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.meta=Gi}function pe(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function Ge(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.value=Gi.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function Ct(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.value=Gi.replace(/(\r?\n|\r)$/g,"")}function gn(Gi){const Pr=this.resume(),ta=this.stack[this.stack.length-1];ta.label=Pr,ta.identifier=ja(this.sliceSerialize(Gi)).toLowerCase()}function Cn(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.title=Gi}function ci(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.url=Gi}function Ei(Gi){const Pr=this.stack[this.stack.length-1];if(!Pr.depth){const ta=this.sliceSerialize(Gi).length;Pr.depth=ta}}function ii(){this.data.setextHeadingSlurpLineEnding=!0}function Br(Gi){const Pr=this.stack[this.stack.length-1];Pr.depth=this.sliceSerialize(Gi).codePointAt(0)===61?1:2}function Yo(){this.data.setextHeadingSlurpLineEnding=void 0}function No(Gi){const ta=this.stack[this.stack.length-1].children;let Pa=ta[ta.length-1];(!Pa||Pa.type!=="text")&&(Pa=Eu(),Pa.position={start:os(Gi.start),end:void 0},ta.push(Pa)),this.stack.push(Pa)}function ha(Gi){const Pr=this.stack.pop();Pr.value+=this.sliceSerialize(Gi),Pr.position.end=os(Gi.end)}function Qa(Gi){const Pr=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ta=Pr.children[Pr.children.length-1];ta.position.end=os(Gi.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&ze.canContainEols.includes(Pr.type)&&(No.call(this,Gi),ha.call(this,Gi))}function Ca(){this.data.atHardBreak=!0}function rr(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.value=Gi}function Ko(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.value=Gi}function Xr(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.value=Gi}function Ta(){const Gi=this.stack[this.stack.length-1];if(this.data.inReference){const Pr=this.data.referenceType||"shortcut";Gi.type+="Reference",Gi.referenceType=Pr,delete Gi.url,delete Gi.title}else delete Gi.identifier,delete Gi.label;this.data.referenceType=void 0}function Da(){const Gi=this.stack[this.stack.length-1];if(this.data.inReference){const Pr=this.data.referenceType||"shortcut";Gi.type+="Reference",Gi.referenceType=Pr,delete Gi.url,delete Gi.title}else delete Gi.identifier,delete Gi.label;this.data.referenceType=void 0}function Ya(Gi){const Pr=this.sliceSerialize(Gi),ta=this.stack[this.stack.length-2];ta.label=Ba(Pr),ta.identifier=ja(Pr).toLowerCase()}function qs(){const Gi=this.stack[this.stack.length-1],Pr=this.resume(),ta=this.stack[this.stack.length-1];if(this.data.inReference=!0,ta.type==="link"){const Pa=Gi.children;ta.children=Pa}else ta.alt=Pr}function Hn(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.url=Gi}function Ms(){const Gi=this.resume(),Pr=this.stack[this.stack.length-1];Pr.title=Gi}function Ua(){this.data.inReference=void 0}function Xn(){this.data.referenceType="collapsed"}function Rs(Gi){const Pr=this.resume(),ta=this.stack[this.stack.length-1];ta.label=Pr,ta.identifier=ja(this.sliceSerialize(Gi)).toLowerCase(),this.data.referenceType="full"}function Xl(Gi){this.data.characterReferenceType=Gi.type}function wc(Gi){const Pr=this.sliceSerialize(Gi),ta=this.data.characterReferenceType;let Pa;ta?(Pa=Yr(Pr,ta==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Pa=to(Pr);const Vo=this.stack.pop();Vo.value+=Pa,Vo.position.end=os(Gi.end)}function Ou(Gi){ha.call(this,Gi);const Pr=this.stack[this.stack.length-1];Pr.url=this.sliceSerialize(Gi)}function Ka(Gi){ha.call(this,Gi);const Pr=this.stack[this.stack.length-1];Pr.url="mailto:"+this.sliceSerialize(Gi)}function Ql(){return{type:"blockquote",children:[]}}function ps(){return{type:"code",lang:null,meta:null,value:""}}function ol(){return{type:"inlineCode",value:""}}function Hl(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function au(){return{type:"emphasis",children:[]}}function Cc(){return{type:"heading",depth:0,children:[]}}function cc(){return{type:"break"}}function Uc(){return{type:"html",value:""}}function Qu(){return{type:"image",title:null,url:"",alt:null}}function Jl(){return{type:"link",title:null,url:"",children:[]}}function dc(Gi){return{type:"list",ordered:Gi.type==="listOrdered",start:null,spread:Gi._spread,children:[]}}function Ju(Gi){return{type:"listItem",spread:Gi._spread,checked:null,children:[]}}function as(){return{type:"paragraph",children:[]}}function al(){return{type:"strong",children:[]}}function Eu(){return{type:"text",value:""}}function Du(){return{type:"thematicBreak"}}}function os(Ce){return{line:Ce.line,column:Ce.column,offset:Ce.offset}}function za(Ce,ze){let Ve=-1;for(;++Ve<ze.length;){const et=ze[Ve];Array.isArray(et)?za(Ce,et):mu(Ce,et)}}function mu(Ce,ze){let Ve;for(Ve in ze)if(ws.call(ze,Ve))switch(Ve){case"canContainEols":{const et=ze[Ve];et&&Ce[Ve].push(...et);break}case"transforms":{const et=ze[Ve];et&&Ce[Ve].push(...et);break}case"enter":case"exit":{const et=ze[Ve];et&&Object.assign(Ce[Ve],et);break}}}function Yu(Ce,ze){throw Ce?new Error("Cannot close `"+Ce.type+"` ("+Oe({start:Ce.start,end:Ce.end})+"): a different token (`"+ze.type+"`, "+Oe({start:ze.start,end:ze.end})+") is open"):new Error("Cannot close document, a token (`"+ze.type+"`, "+Oe({start:ze.start,end:ze.end})+") is still open")}function Kl(Ce){const ze=this;ze.parser=Ve;function Ve(et){return tl(et,Kf(Ks(Ks({},ze.data("settings")),Ce),{extensions:ze.data("micromarkExtensions")||[],mdastExtensions:ze.data("fromMarkdownExtensions")||[]}))}}var Zl=ue(52835);function Bs(Ce,ze){const Ve=encode(As(Ce||""));if(!ze)return Ve;const et=Ve.indexOf(":"),gt=Ve.indexOf("?"),St=Ve.indexOf("#"),Pt=Ve.indexOf("/");return et<0||Pt>-1&&et>Pt||gt>-1&&et>gt||St>-1&&et>St||ze.test(Ve.slice(0,et))?Ve:""}function As(Ce){const ze=[];let Ve=-1,et=0,gt=0;for(;++Ve<Ce.length;){const St=Ce.charCodeAt(Ve);let Pt="";if(St===37&&(0,hi.H$)(Ce.charCodeAt(Ve+1))&&(0,hi.H$)(Ce.charCodeAt(Ve+2)))gt=2;else if(St<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(St))||(Pt=String.fromCharCode(St));else if(St>55295&&St<57344){const Vt=Ce.charCodeAt(Ve+1);St<56320&&Vt>56319&&Vt<57344?(Pt=String.fromCharCode(St,Vt),gt=1):Pt="\uFFFD"}else Pt=String.fromCharCode(St);Pt&&(ze.push(Ce.slice(et,Ve),encodeURIComponent(Pt)),et=Ve+gt+1,Pt=""),gt&&(Ve+=gt,gt=0)}return ze.join("")+Ce.slice(et)}function hl(Ce,ze){const Ve=[{type:"text",value:"\u21A9"}];return ze>1&&Ve.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(ze)}]}),Ve}function Bl(Ce,ze){return"Back to reference "+(Ce+1)+(ze>1?"-"+ze:"")}function sc(Ce){const ze=typeof Ce.options.clobberPrefix=="string"?Ce.options.clobberPrefix:"user-content-",Ve=Ce.options.footnoteBackContent||hl,et=Ce.options.footnoteBackLabel||Bl,gt=Ce.options.footnoteLabel||"Footnotes",St=Ce.options.footnoteLabelTagName||"h2",Pt=Ce.options.footnoteLabelProperties||{className:["sr-only"]},Vt=[];let xn=-1;for(;++xn<Ce.footnoteOrder.length;){const wn=Ce.footnoteById.get(Ce.footnoteOrder[xn]);if(!wn)continue;const dn=Ce.all(wn),Gn=String(wn.identifier).toUpperCase(),Wn=As(Gn.toLowerCase());let Pn=0;const le=[],pe=Ce.footnoteCounts.get(Gn);for(;pe!==void 0&&++Pn<=pe;){le.length>0&&le.push({type:"text",value:" "});let gn=typeof Ve=="string"?Ve:Ve(xn,Pn);typeof gn=="string"&&(gn={type:"text",value:gn}),le.push({type:"element",tagName:"a",properties:{href:"#"+ze+"fnref-"+Wn+(Pn>1?"-"+Pn:""),dataFootnoteBackref:"",ariaLabel:typeof et=="string"?et:et(xn,Pn),className:["data-footnote-backref"]},children:Array.isArray(gn)?gn:[gn]})}const Ge=dn[dn.length-1];if(Ge&&Ge.type==="element"&&Ge.tagName==="p"){const gn=Ge.children[Ge.children.length-1];gn&&gn.type==="text"?gn.value+=" ":Ge.children.push({type:"text",value:" "}),Ge.children.push(...le)}else dn.push(...le);const Ct={type:"element",tagName:"li",properties:{id:ze+"fn-"+Wn},children:Ce.wrap(dn,!0)};Ce.patch(wn,Ct),Vt.push(Ct)}if(Vt.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:St,properties:Kf(Ks({},(0,Zl.ZP)(Pt)),{id:"footnote-label"}),children:[{type:"text",value:gt}]},{type:"text",value:`
|
|
|
`},{type:"element",tagName:"ol",properties:{},children:Ce.wrap(Vt,!0)},{type:"text",value:`
|
|
|
`}]}}var ku=ue(21623);function Ku(Ce,ze){const Ve={type:"element",tagName:"blockquote",properties:{},children:Ce.wrap(Ce.all(ze),!0)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function $a(Ce,ze){const Ve={type:"element",tagName:"br",properties:{},children:[]};return Ce.patch(ze,Ve),[Ce.applyData(ze,Ve),{type:"text",value:`
|
|
|
`}]}function Fc(Ce,ze){const Ve=ze.value?ze.value+`
|
|
|
`:"",et={};ze.lang&&(et.className=["language-"+ze.lang]);let gt={type:"element",tagName:"code",properties:et,children:[{type:"text",value:Ve}]};return ze.meta&&(gt.data={meta:ze.meta}),Ce.patch(ze,gt),gt=Ce.applyData(ze,gt),gt={type:"element",tagName:"pre",properties:{},children:[gt]},Ce.patch(ze,gt),gt}function Bc(Ce,ze){const Ve={type:"element",tagName:"del",properties:{},children:Ce.all(ze)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function Iu(Ce,ze){const Ve={type:"element",tagName:"em",properties:{},children:Ce.all(ze)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function Zn(Ce,ze){const Ve=typeof Ce.options.clobberPrefix=="string"?Ce.options.clobberPrefix:"user-content-",et=String(ze.identifier).toUpperCase(),gt=As(et.toLowerCase()),St=Ce.footnoteOrder.indexOf(et);let Pt,Vt=Ce.footnoteCounts.get(et);Vt===void 0?(Vt=0,Ce.footnoteOrder.push(et),Pt=Ce.footnoteOrder.length):Pt=St+1,Vt+=1,Ce.footnoteCounts.set(et,Vt);const xn={type:"element",tagName:"a",properties:{href:"#"+Ve+"fn-"+gt,id:Ve+"fnref-"+gt+(Vt>1?"-"+Vt:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(Pt)}]};Ce.patch(ze,xn);const wn={type:"element",tagName:"sup",properties:{},children:[xn]};return Ce.patch(ze,wn),Ce.applyData(ze,wn)}function Sr(Ce,ze){const Ve={type:"element",tagName:"h"+ze.depth,properties:{},children:Ce.all(ze)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function Kr(Ce,ze){if(Ce.options.allowDangerousHtml){const Ve={type:"raw",value:ze.value};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}}function no(Ce,ze){const Ve=ze.referenceType;let et="]";if(Ve==="collapsed"?et+="[]":Ve==="full"&&(et+="["+(ze.label||ze.identifier)+"]"),ze.type==="imageReference")return[{type:"text",value:"!["+ze.alt+et}];const gt=Ce.all(ze),St=gt[0];St&&St.type==="text"?St.value="["+St.value:gt.unshift({type:"text",value:"["});const Pt=gt[gt.length-1];return Pt&&Pt.type==="text"?Pt.value+=et:gt.push({type:"text",value:et}),gt}function Lo(Ce,ze){const Ve=String(ze.identifier).toUpperCase(),et=Ce.definitionById.get(Ve);if(!et)return no(Ce,ze);const gt={src:As(et.url||""),alt:ze.alt};et.title!==null&&et.title!==void 0&&(gt.title=et.title);const St={type:"element",tagName:"img",properties:gt,children:[]};return Ce.patch(ze,St),Ce.applyData(ze,St)}function Xo(Ce,ze){const Ve={src:As(ze.url)};ze.alt!==null&&ze.alt!==void 0&&(Ve.alt=ze.alt),ze.title!==null&&ze.title!==void 0&&(Ve.title=ze.title);const et={type:"element",tagName:"img",properties:Ve,children:[]};return Ce.patch(ze,et),Ce.applyData(ze,et)}function La(Ce,ze){const Ve={type:"text",value:ze.value.replace(/\r?\n|\r/g," ")};Ce.patch(ze,Ve);const et={type:"element",tagName:"code",properties:{},children:[Ve]};return Ce.patch(ze,et),Ce.applyData(ze,et)}function Wo(Ce,ze){const Ve=String(ze.identifier).toUpperCase(),et=Ce.definitionById.get(Ve);if(!et)return no(Ce,ze);const gt={href:As(et.url||"")};et.title!==null&&et.title!==void 0&&(gt.title=et.title);const St={type:"element",tagName:"a",properties:gt,children:Ce.all(ze)};return Ce.patch(ze,St),Ce.applyData(ze,St)}function vs(Ce,ze){const Ve={href:As(ze.url)};ze.title!==null&&ze.title!==void 0&&(Ve.title=ze.title);const et={type:"element",tagName:"a",properties:Ve,children:Ce.all(ze)};return Ce.patch(ze,et),Ce.applyData(ze,et)}function Ia(Ce,ze,Ve){const et=Ce.all(ze),gt=Ve?gs(Ve):cr(ze),St={},Pt=[];if(typeof ze.checked=="boolean"){const dn=et[0];let Gn;dn&&dn.type==="element"&&dn.tagName==="p"?Gn=dn:(Gn={type:"element",tagName:"p",properties:{},children:[]},et.unshift(Gn)),Gn.children.length>0&&Gn.children.unshift({type:"text",value:" "}),Gn.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:ze.checked,disabled:!0},children:[]}),St.className=["task-list-item"]}let Vt=-1;for(;++Vt<et.length;){const dn=et[Vt];(gt||Vt!==0||dn.type!=="element"||dn.tagName!=="p")&&Pt.push({type:"text",value:`
|
|
|
`}),dn.type==="element"&&dn.tagName==="p"&&!gt?Pt.push(...dn.children):Pt.push(dn)}const xn=et[et.length-1];xn&&(gt||xn.type!=="element"||xn.tagName!=="p")&&Pt.push({type:"text",value:`
|
|
|
`});const wn={type:"element",tagName:"li",properties:St,children:Pt};return Ce.patch(ze,wn),Ce.applyData(ze,wn)}function gs(Ce){let ze=!1;if(Ce.type==="list"){ze=Ce.spread||!1;const Ve=Ce.children;let et=-1;for(;!ze&&++et<Ve.length;)ze=cr(Ve[et])}return ze}function cr(Ce){const ze=Ce.spread;return ze==null?Ce.children.length>1:ze}function _l(Ce,ze){const Ve={},et=Ce.all(ze);let gt=-1;for(typeof ze.start=="number"&&ze.start!==1&&(Ve.start=ze.start);++gt<et.length;){const Pt=et[gt];if(Pt.type==="element"&&Pt.tagName==="li"&&Pt.properties&&Array.isArray(Pt.properties.className)&&Pt.properties.className.includes("task-list-item")){Ve.className=["contains-task-list"];break}}const St={type:"element",tagName:ze.ordered?"ol":"ul",properties:Ve,children:Ce.wrap(et,!0)};return Ce.patch(ze,St),Ce.applyData(ze,St)}function Ht(Ce,ze){const Ve={type:"element",tagName:"p",properties:{},children:Ce.all(ze)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function Jn(Ce,ze){const Ve={type:"root",children:Ce.wrap(Ce.all(ze))};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function vu(Ce,ze){const Ve={type:"element",tagName:"strong",properties:{},children:Ce.all(ze)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function Mu(Ce,ze){const Ve=Ce.all(ze),et=Ve.shift(),gt=[];if(et){const Pt={type:"element",tagName:"thead",properties:{},children:Ce.wrap([et],!0)};Ce.patch(ze.children[0],Pt),gt.push(Pt)}if(Ve.length>0){const Pt={type:"element",tagName:"tbody",properties:{},children:Ce.wrap(Ve,!0)},Vt=(0,we.Pk)(ze.children[1]),xn=(0,we.rb)(ze.children[ze.children.length-1]);Vt&&xn&&(Pt.position={start:Vt,end:xn}),gt.push(Pt)}const St={type:"element",tagName:"table",properties:{},children:Ce.wrap(gt,!0)};return Ce.patch(ze,St),Ce.applyData(ze,St)}function Ul(Ce,ze,Ve){const et=Ve?Ve.children:void 0,St=(et?et.indexOf(ze):1)===0?"th":"td",Pt=Ve&&Ve.type==="table"?Ve.align:void 0,Vt=Pt?Pt.length:ze.children.length;let xn=-1;const wn=[];for(;++xn<Vt;){const Gn=ze.children[xn],Wn={},Pn=Pt?Pt[xn]:void 0;Pn&&(Wn.align=Pn);let le={type:"element",tagName:St,properties:Wn,children:[]};Gn&&(le.children=Ce.all(Gn),Ce.patch(Gn,le),le=Ce.applyData(Gn,le)),wn.push(le)}const dn={type:"element",tagName:"tr",properties:{},children:Ce.wrap(wn,!0)};return Ce.patch(ze,dn),Ce.applyData(ze,dn)}function nl(Ce,ze){const Ve={type:"element",tagName:"td",properties:{},children:Ce.all(ze)};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}const Js=9,_s=32;function il(Ce){const ze=String(Ce),Ve=/\r?\n|\r/g;let et=Ve.exec(ze),gt=0;const St=[];for(;et;)St.push(_a(ze.slice(gt,et.index),gt>0,!0),et[0]),gt=et.index+et[0].length,et=Ve.exec(ze);return St.push(_a(ze.slice(gt),gt>0,!1)),St.join("")}function _a(Ce,ze,Ve){let et=0,gt=Ce.length;if(ze){let St=Ce.codePointAt(et);for(;St===Js||St===_s;)et++,St=Ce.codePointAt(et)}if(Ve){let St=Ce.codePointAt(gt-1);for(;St===Js||St===_s;)gt--,St=Ce.codePointAt(gt-1)}return gt>et?Ce.slice(et,gt):""}function eo(Ce,ze){const Ve={type:"text",value:il(String(ze.value))};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}function Zs(Ce,ze){const Ve={type:"element",tagName:"hr",properties:{},children:[]};return Ce.patch(ze,Ve),Ce.applyData(ze,Ve)}const bl={blockquote:Ku,break:$a,code:Fc,delete:Bc,emphasis:Iu,footnoteReference:Zn,heading:Sr,html:Kr,imageReference:Lo,image:Xo,inlineCode:La,linkReference:Wo,link:vs,listItem:Ia,list:_l,paragraph:Ht,root:Jn,strong:vu,table:Mu,tableCell:nl,tableRow:Ul,text:eo,thematicBreak:Zs,toml:Ga,yaml:Ga,definition:Ga,footnoteDefinition:Ga};function Ga(){}const Ho={}.hasOwnProperty,ys={};function rl(Ce,ze){const Ve=ze||ys,et=new Map,gt=new Map,St=new Map,Pt=Ks(Ks({},bl),Ve.handlers),Vt={all:wn,applyData:fl,definitionById:et,footnoteById:gt,footnoteCounts:St,footnoteOrder:[],handlers:Pt,one:xn,options:Ve,patch:Wa,wrap:yu};return(0,ku.Vn)(Ce,function(dn){if(dn.type==="definition"||dn.type==="footnoteDefinition"){const Gn=dn.type==="definition"?et:gt,Wn=String(dn.identifier).toUpperCase();Gn.has(Wn)||Gn.set(Wn,dn)}}),Vt;function xn(dn,Gn){const Wn=dn.type,Pn=Vt.handlers[Wn];if(Ho.call(Vt.handlers,Wn)&&Pn)return Pn(Vt,dn,Gn);if(Vt.options.passThrough&&Vt.options.passThrough.includes(Wn)){if("children"in dn){const pe=dn,{children:Ge}=pe,Ct=wE(pe,["children"]),gn=(0,Zl.ZP)(Ct);return gn.children=Vt.all(dn),gn}return(0,Zl.ZP)(dn)}return(Vt.options.unknownHandler||Us)(Vt,dn,Gn)}function wn(dn){const Gn=[];if("children"in dn){const Wn=dn.children;let Pn=-1;for(;++Pn<Wn.length;){const le=Vt.one(Wn[Pn],dn);if(le){if(Pn&&Wn[Pn-1].type==="break"&&(!Array.isArray(le)&&le.type==="text"&&(le.value=da(le.value)),!Array.isArray(le)&&le.type==="element")){const pe=le.children[0];pe&&pe.type==="text"&&(pe.value=da(pe.value))}Array.isArray(le)?Gn.push(...le):Gn.push(le)}}}return Gn}}function Wa(Ce,ze){Ce.position&&(ze.position=(0,we.FK)(Ce))}function fl(Ce,ze){let Ve=ze;if(Ce&&Ce.data){const et=Ce.data.hName,gt=Ce.data.hChildren,St=Ce.data.hProperties;if(typeof et=="string")if(Ve.type==="element")Ve.tagName=et;else{const Pt="children"in Ve?Ve.children:[Ve];Ve={type:"element",tagName:et,properties:{},children:Pt}}Ve.type==="element"&&St&&Object.assign(Ve.properties,(0,Zl.ZP)(St)),"children"in Ve&&Ve.children&>!==null&>!==void 0&&(Ve.children=gt)}return Ve}function Us(Ce,ze){const Ve=ze.data||{},et="value"in ze&&!(Ho.call(Ve,"hProperties")||Ho.call(Ve,"hChildren"))?{type:"text",value:ze.value}:{type:"element",tagName:"div",properties:{},children:Ce.all(ze)};return Ce.patch(ze,et),Ce.applyData(ze,et)}function yu(Ce,ze){const Ve=[];let et=-1;for(ze&&Ve.push({type:"text",value:`
|
|
|
`});++et<Ce.length;)et&&Ve.push({type:"text",value:`
|
|
|
`}),Ve.push(Ce[et]);return ze&&Ce.length>0&&Ve.push({type:"text",value:`
|
|
|
`}),Ve}function da(Ce){let ze=0,Ve=Ce.charCodeAt(ze);for(;Ve===9||Ve===32;)ze++,Ve=Ce.charCodeAt(ze);return Ce.slice(ze)}function Vs(Ce,ze){const Ve=rl(Ce,ze),et=Ve.one(Ce,void 0),gt=sc(Ve),St=Array.isArray(et)?{type:"root",children:et}:et||{type:"root",children:[]};return gt&&((0,Ae.ok)("children"in St),St.children.push({type:"text",value:`
|
|
|
`},gt)),St}function Qo(Ce,ze){return Ce&&"run"in Ce?function(Ve,et){return CE(this,null,function*(){const gt=Vs(Ve,Ks({file:et},ze));yield Ce.run(gt,et)})}:function(Ve,et){return Vs(Ve,Ks({file:et},ze||Ce))}}function Oa(Ce){if(Ce)throw Ce}var Va=ue(94470);function is(Ce){if(typeof Ce!="object"||Ce===null)return!1;const ze=Object.getPrototypeOf(Ce);return(ze===null||ze===Object.prototype||Object.getPrototypeOf(ze)===null)&&!(Symbol.toStringTag in Ce)&&!(Symbol.iterator in Ce)}function va(){const Ce=[],ze={run:Ve,use:et};return ze;function Ve(...gt){let St=-1;const Pt=gt.pop();if(typeof Pt!="function")throw new TypeError("Expected function as last argument, not "+Pt);Vt(null,...gt);function Vt(xn,...wn){const dn=Ce[++St];let Gn=-1;if(xn){Pt(xn);return}for(;++Gn<gt.length;)(wn[Gn]===null||wn[Gn]===void 0)&&(wn[Gn]=gt[Gn]);gt=wn,dn?lc(dn,Vt)(...wn):Pt(null,...wn)}}function et(gt){if(typeof gt!="function")throw new TypeError("Expected `middelware` to be a function, not "+gt);return Ce.push(gt),ze}}function lc(Ce,ze){let Ve;return et;function et(...Pt){const Vt=Ce.length>Pt.length;let xn;Vt&&Pt.push(gt);try{xn=Ce.apply(this,Pt)}catch(wn){const dn=wn;if(Vt&&Ve)throw dn;return gt(dn)}Vt||(xn&&xn.then&&typeof xn.then=="function"?xn.then(St,gt):xn instanceof Error?gt(xn):St(xn))}function gt(Pt,...Vt){Ve||(Ve=!0,ze(Pt,...Vt))}function St(Pt){gt(null,Pt)}}const Or={basename:Md,dirname:ra,extname:Rd,join:uc,sep:"/"};function Md(Ce,ze){if(ze!==void 0&&typeof ze!="string")throw new TypeError('"ext" argument must be a string');Ru(Ce);let Ve=0,et=-1,gt=Ce.length,St;if(ze===void 0||ze.length===0||ze.length>Ce.length){for(;gt--;)if(Ce.codePointAt(gt)===47){if(St){Ve=gt+1;break}}else et<0&&(St=!0,et=gt+1);return et<0?"":Ce.slice(Ve,et)}if(ze===Ce)return"";let Pt=-1,Vt=ze.length-1;for(;gt--;)if(Ce.codePointAt(gt)===47){if(St){Ve=gt+1;break}}else Pt<0&&(St=!0,Pt=gt+1),Vt>-1&&(Ce.codePointAt(gt)===ze.codePointAt(Vt--)?Vt<0&&(et=gt):(Vt=-1,et=Pt));return Ve===et?et=Pt:et<0&&(et=Ce.length),Ce.slice(Ve,et)}function ra(Ce){if(Ru(Ce),Ce.length===0)return".";let ze=-1,Ve=Ce.length,et;for(;--Ve;)if(Ce.codePointAt(Ve)===47){if(et){ze=Ve;break}}else et||(et=!0);return ze<0?Ce.codePointAt(0)===47?"/":".":ze===1&&Ce.codePointAt(0)===47?"//":Ce.slice(0,ze)}function Rd(Ce){Ru(Ce);let ze=Ce.length,Ve=-1,et=0,gt=-1,St=0,Pt;for(;ze--;){const Vt=Ce.codePointAt(ze);if(Vt===47){if(Pt){et=ze+1;break}continue}Ve<0&&(Pt=!0,Ve=ze+1),Vt===46?gt<0?gt=ze:St!==1&&(St=1):gt>-1&&(St=-1)}return gt<0||Ve<0||St===0||St===1&>===Ve-1&>===et+1?"":Ce.slice(gt,Ve)}function uc(...Ce){let ze=-1,Ve;for(;++ze<Ce.length;)Ru(Ce[ze]),Ce[ze]&&(Ve=Ve===void 0?Ce[ze]:Ve+"/"+Ce[ze]);return Ve===void 0?".":_c(Ve)}function _c(Ce){Ru(Ce);const ze=Ce.codePointAt(0)===47;let Ve=fd(Ce,!ze);return Ve.length===0&&!ze&&(Ve="."),Ve.length>0&&Ce.codePointAt(Ce.length-1)===47&&(Ve+="/"),ze?"/"+Ve:Ve}function fd(Ce,ze){let Ve="",et=0,gt=-1,St=0,Pt=-1,Vt,xn;for(;++Pt<=Ce.length;){if(Pt<Ce.length)Vt=Ce.codePointAt(Pt);else{if(Vt===47)break;Vt=47}if(Vt===47){if(!(gt===Pt-1||St===1))if(gt!==Pt-1&&St===2){if(Ve.length<2||et!==2||Ve.codePointAt(Ve.length-1)!==46||Ve.codePointAt(Ve.length-2)!==46){if(Ve.length>2){if(xn=Ve.lastIndexOf("/"),xn!==Ve.length-1){xn<0?(Ve="",et=0):(Ve=Ve.slice(0,xn),et=Ve.length-1-Ve.lastIndexOf("/")),gt=Pt,St=0;continue}}else if(Ve.length>0){Ve="",et=0,gt=Pt,St=0;continue}}ze&&(Ve=Ve.length>0?Ve+"/..":"..",et=2)}else Ve.length>0?Ve+="/"+Ce.slice(gt+1,Pt):Ve=Ce.slice(gt+1,Pt),et=Pt-gt-1;gt=Pt,St=0}else Vt===46&&St>-1?St++:St=-1}return Ve}function Ru(Ce){if(typeof Ce!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(Ce))}const Su={cwd:Zu};function Zu(){return"/"}function ya(Ce){return!!(Ce!==null&&typeof Ce=="object"&&"href"in Ce&&Ce.href&&"protocol"in Ce&&Ce.protocol&&Ce.auth===void 0)}function Xu(Ce){if(typeof Ce=="string")Ce=new URL(Ce);else if(!ya(Ce)){const ze=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+Ce+"`");throw ze.code="ERR_INVALID_ARG_TYPE",ze}if(Ce.protocol!=="file:"){const ze=new TypeError("The URL must be of scheme file");throw ze.code="ERR_INVALID_URL_SCHEME",ze}return ht(Ce)}function ht(Ce){if(Ce.hostname!==""){const et=new TypeError('File URL host must be "localhost" or empty on darwin');throw et.code="ERR_INVALID_FILE_URL_HOST",et}const ze=Ce.pathname;let Ve=-1;for(;++Ve<ze.length;)if(ze.codePointAt(Ve)===37&&ze.codePointAt(Ve+1)===50){const et=ze.codePointAt(Ve+2);if(et===70||et===102){const gt=new TypeError("File URL path must not include encoded / characters");throw gt.code="ERR_INVALID_FILE_URL_PATH",gt}}return decodeURIComponent(ze)}const Dt=["history","path","basename","stem","extname","dirname"];class _t{constructor(ze){let Ve;ze?ya(ze)?Ve={path:ze}:typeof ze=="string"||Tn(ze)?Ve={value:ze}:Ve=ze:Ve={},this.cwd=Su.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let et=-1;for(;++et<Dt.length;){const St=Dt[et];St in Ve&&Ve[St]!==void 0&&Ve[St]!==null&&(this[St]=St==="history"?[...Ve[St]]:Ve[St])}let gt;for(gt in Ve)Dt.includes(gt)||(this[gt]=Ve[gt])}get basename(){return typeof this.path=="string"?Or.basename(this.path):void 0}set basename(ze){ln(ze,"basename"),zt(ze,"basename"),this.path=Or.join(this.dirname||"",ze)}get dirname(){return typeof this.path=="string"?Or.dirname(this.path):void 0}set dirname(ze){En(this.basename,"dirname"),this.path=Or.join(ze||"",this.basename)}get extname(){return typeof this.path=="string"?Or.extname(this.path):void 0}set extname(ze){if(zt(ze,"extname"),En(this.dirname,"extname"),ze){if(ze.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(ze.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Or.join(this.dirname,this.stem+(ze||""))}get path(){return this.history[this.history.length-1]}set path(ze){ya(ze)&&(ze=Xu(ze)),ln(ze,"path"),this.path!==ze&&this.history.push(ze)}get stem(){return typeof this.path=="string"?Or.basename(this.path,this.extname):void 0}set stem(ze){ln(ze,"stem"),zt(ze,"stem"),this.path=Or.join(this.dirname||"",ze+(this.extname||""))}fail(ze,Ve,et){const gt=this.message(ze,Ve,et);throw gt.fatal=!0,gt}info(ze,Ve,et){const gt=this.message(ze,Ve,et);return gt.fatal=void 0,gt}message(ze,Ve,et){const gt=new at(ze,Ve,et);return this.path&&(gt.name=this.path+":"+gt.name,gt.file=this.path),gt.fatal=!1,this.messages.push(gt),gt}toString(ze){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(ze||void 0).decode(this.value)}}function zt(Ce,ze){if(Ce&&Ce.includes(Or.sep))throw new Error("`"+ze+"` cannot be a path: did not expect `"+Or.sep+"`")}function ln(Ce,ze){if(!Ce)throw new Error("`"+ze+"` cannot be empty")}function En(Ce,ze){if(!Ce)throw new Error("Setting `"+ze+"` requires `path` to be set too")}function Tn(Ce){return!!(Ce&&typeof Ce=="object"&&"byteLength"in Ce&&"byteOffset"in Ce)}const Vn=function(Ce){const et=this.constructor.prototype,gt=et[Ce],St=function(){return gt.apply(St,arguments)};Object.setPrototypeOf(St,et);const Pt=Object.getOwnPropertyNames(gt);for(const Vt of Pt){const xn=Object.getOwnPropertyDescriptor(gt,Vt);xn&&Object.defineProperty(St,Vt,xn)}return St},mi={}.hasOwnProperty;class li extends Vn{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=va()}copy(){const ze=new li;let Ve=-1;for(;++Ve<this.attachers.length;){const et=this.attachers[Ve];ze.use(...et)}return ze.data(Va(!0,{},this.namespace)),ze}data(ze,Ve){return typeof ze=="string"?arguments.length===2?(xi("data",this.frozen),this.namespace[ze]=Ve,this):mi.call(this.namespace,ze)&&this.namespace[ze]||void 0:ze?(xi("data",this.frozen),this.namespace=ze,this):this.namespace}freeze(){if(this.frozen)return this;const ze=this;for(;++this.freezeIndex<this.attachers.length;){const[Ve,...et]=this.attachers[this.freezeIndex];if(et[0]===!1)continue;et[0]===!0&&(et[0]=void 0);const gt=Ve.call(ze,...et);typeof gt=="function"&&this.transformers.use(gt)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(ze){this.freeze();const Ve=Nr(ze),et=this.parser||this.Parser;return gi("parse",et),et(String(Ve),Ve)}process(ze,Ve){const et=this;return this.freeze(),gi("process",this.parser||this.Parser),Ai("process",this.compiler||this.Compiler),Ve?gt(void 0,Ve):new Promise(gt);function gt(St,Pt){const Vt=Nr(ze),xn=et.parse(Vt);et.run(xn,Vt,function(dn,Gn,Wn){if(dn||!Gn||!Wn)return wn(dn);const Pn=Gn,le=et.stringify(Pn,Wn);Yi(le)?Wn.value=le:Wn.result=le,wn(dn,Wn)});function wn(dn,Gn){dn||!Gn?Pt(dn):St?St(Gn):((0,Ae.ok)(Ve,"`done` is defined if `resolve` is not"),Ve(void 0,Gn))}}}processSync(ze){let Ve=!1,et;return this.freeze(),gi("processSync",this.parser||this.Parser),Ai("processSync",this.compiler||this.Compiler),this.process(ze,gt),fr("processSync","process",Ve),(0,Ae.ok)(et,"we either bailed on an error or have a tree"),et;function gt(St,Pt){Ve=!0,Oa(St),et=Pt}}run(ze,Ve,et){zi(ze),this.freeze();const gt=this.transformers;return!et&&typeof Ve=="function"&&(et=Ve,Ve=void 0),et?St(void 0,et):new Promise(St);function St(Pt,Vt){(0,Ae.ok)(typeof Ve!="function","`file` can\u2019t be a `done` anymore, we checked");const xn=Nr(Ve);gt.run(ze,xn,wn);function wn(dn,Gn,Wn){const Pn=Gn||ze;dn?Vt(dn):Pt?Pt(Pn):((0,Ae.ok)(et,"`done` is defined if `resolve` is not"),et(void 0,Pn,Wn))}}}runSync(ze,Ve){let et=!1,gt;return this.run(ze,Ve,St),fr("runSync","run",et),(0,Ae.ok)(gt,"we either bailed on an error or have a tree"),gt;function St(Pt,Vt){Oa(Pt),gt=Vt,et=!0}}stringify(ze,Ve){this.freeze();const et=Nr(Ve),gt=this.compiler||this.Compiler;return Ai("stringify",gt),zi(ze),gt(ze,et)}use(ze,...Ve){const et=this.attachers,gt=this.namespace;if(xi("use",this.frozen),ze!=null)if(typeof ze=="function")xn(ze,Ve);else if(typeof ze=="object")Array.isArray(ze)?Vt(ze):Pt(ze);else throw new TypeError("Expected usable value, not `"+ze+"`");return this;function St(wn){if(typeof wn=="function")xn(wn,[]);else if(typeof wn=="object")if(Array.isArray(wn)){const[dn,...Gn]=wn;xn(dn,Gn)}else Pt(wn);else throw new TypeError("Expected usable value, not `"+wn+"`")}function Pt(wn){if(!("plugins"in wn)&&!("settings"in wn))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");Vt(wn.plugins),wn.settings&&(gt.settings=Va(!0,gt.settings,wn.settings))}function Vt(wn){let dn=-1;if(wn!=null)if(Array.isArray(wn))for(;++dn<wn.length;){const Gn=wn[dn];St(Gn)}else throw new TypeError("Expected a list of plugins, not `"+wn+"`")}function xn(wn,dn){let Gn=-1,Wn=-1;for(;++Gn<et.length;)if(et[Gn][0]===wn){Wn=Gn;break}if(Wn===-1)et.push([wn,...dn]);else if(dn.length>0){let[Pn,...le]=dn;const pe=et[Wn][1];is(pe)&&is(Pn)&&(Pn=Va(!0,pe,Pn)),et[Wn]=[wn,Pn,...le]}}}}const Fi=new li().freeze();function gi(Ce,ze){if(typeof ze!="function")throw new TypeError("Cannot `"+Ce+"` without `parser`")}function Ai(Ce,ze){if(typeof ze!="function")throw new TypeError("Cannot `"+Ce+"` without `compiler`")}function xi(Ce,ze){if(ze)throw new Error("Cannot call `"+Ce+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zi(Ce){if(!is(Ce)||typeof Ce.type!="string")throw new TypeError("Expected node, got `"+Ce+"`")}function fr(Ce,ze,Ve){if(!Ve)throw new Error("`"+Ce+"` finished async. Use `"+ze+"` instead")}function Nr(Ce){return zr(Ce)?Ce:new _t(Ce)}function zr(Ce){return!!(Ce&&typeof Ce=="object"&&"message"in Ce&&"messages"in Ce)}function Yi(Ce){return typeof Ce=="string"||Tr(Ce)}function Tr(Ce){return!!(Ce&&typeof Ce=="object"&&"byteLength"in Ce&&"byteOffset"in Ce)}const ur="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ur=[],mo={allowDangerousHtml:!0},Fr=/^(https?|ircs?|mailto|xmpp)$/i,Uo=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function wo(Ce){const ze=Ce.allowedElements,Ve=Ce.allowElement,et=Ce.children||"",gt=Ce.className,St=Ce.components,Pt=Ce.disallowedElements,Vt=Ce.rehypePlugins||Ur,xn=Ce.remarkPlugins||Ur,wn=Ce.remarkRehypeOptions?Ks(Ks({},Ce.remarkRehypeOptions),mo):mo,dn=Ce.skipHtml,Gn=Ce.unwrapDisallowed,Wn=Ce.urlTransform||Jo,Pn=Fi().use(Kl).use(xn).use(Qo,wn).use(Vt),le=new _t;typeof et=="string"?le.value=et:(0,Ae.t1)("Unexpected value `"+et+"` for `children` prop, expected `string`"),ze&&Pt&&(0,Ae.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");for(const gn of Uo)Object.hasOwn(Ce,gn.from)&&(0,Ae.t1)("Unexpected `"+gn.from+"` prop, "+(gn.to?"use `"+gn.to+"` instead":"remove it")+" (see <"+ur+"#"+gn.id+"> for more info)");const pe=Pn.parse(le);let Ge=Pn.runSync(pe,le);return gt&&(Ge={type:"element",tagName:"div",properties:{className:gt},children:Ge.type==="root"?Ge.children:[Ge]}),(0,ku.Vn)(Ge,Ct),on(Ge,{Fragment:ni.Fragment,components:St,ignoreInvalidStyle:!0,jsx:ni.jsx,jsxs:ni.jsxs,passKeys:!0,passNode:!0});function Ct(gn,Cn,ci){if(gn.type==="raw"&&ci&&typeof Cn=="number")return dn?ci.children.splice(Cn,1):ci.children[Cn]={type:"text",value:gn.value},Cn;if(gn.type==="element"){let Ei;for(Ei in Sn)if(Object.hasOwn(Sn,Ei)&&Object.hasOwn(gn.properties,Ei)){const ii=gn.properties[Ei],Br=Sn[Ei];(Br===null||Br.includes(gn.tagName))&&(gn.properties[Ei]=Wn(String(ii||""),Ei,gn))}}if(gn.type==="element"){let Ei=ze?!ze.includes(gn.tagName):Pt?Pt.includes(gn.tagName):!1;if(!Ei&&Ve&&typeof Cn=="number"&&(Ei=!Ve(gn,Cn,ci)),Ei&&ci&&typeof Cn=="number")return Gn&&gn.children?ci.children.splice(Cn,1,...gn.children):ci.children.splice(Cn,1),Cn}}}function Jo(Ce){const ze=Ce.indexOf(":"),Ve=Ce.indexOf("?"),et=Ce.indexOf("#"),gt=Ce.indexOf("/");return ze<0||gt>-1&&ze>gt||Ve>-1&&ze>Ve||et>-1&&ze>et||Fr.test(Ce.slice(0,ze))?Ce:""}},17274:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return Pn}});var ce=ue(52835),Ae=ue(24345),Fe=ue(55316),ke=ue(91634),Ye=ue(26103);function Pe(le){const pe=String(le),Ge=[];return{toOffset:gn,toPoint:Ct};function Ct(Cn){if(typeof Cn=="number"&&Cn>-1&&Cn<=pe.length){let ci=0;for(;;){let Ei=Ge[ci];if(Ei===void 0){const ii=Ue(pe,Ge[ci-1]);Ei=ii===-1?pe.length+1:ii+1,Ge[ci]=Ei}if(Ei>Cn)return{line:ci+1,column:Cn-(ci>0?Ge[ci-1]:0)+1,offset:Cn};ci++}}}function gn(Cn){if(Cn&&typeof Cn.line=="number"&&typeof Cn.column=="number"&&!Number.isNaN(Cn.line)&&!Number.isNaN(Cn.column)){for(;Ge.length<Cn.line;){const Ei=Ge[Ge.length-1],ii=Ue(pe,Ei),Br=ii===-1?pe.length+1:ii+1;if(Ei===Br)break;Ge.push(Br)}const ci=(Cn.line>1?Ge[Cn.line-2]:0)+Cn.column-1;if(ci<Ge[Cn.line-1])return ci}}}function Ue(le,pe){const Ge=le.indexOf("\r",pe),Ct=le.indexOf(`
|
|
|
`,pe);return Ct===-1?Ge:Ge===-1||Ge+1===Ct?Ct:Ge<Ct?Ge:Ct}var tt=ue(49911);const Ze={}.hasOwnProperty,rt=Object.prototype;function xt(le,pe){const Ge=pe||{};return Qe({file:Ge.file||void 0,location:!1,schema:Ge.space==="svg"?ke.YP:ke.dy,verbose:Ge.verbose||!1},le)}function Qe(le,pe){let Ge;switch(pe.nodeName){case"#comment":{const Ct=pe;return Ge={type:"comment",value:Ct.data},te(le,Ct,Ge),Ge}case"#document":case"#document-fragment":{const Ct=pe,gn="mode"in Ct?Ct.mode==="quirks"||Ct.mode==="limited-quirks":!1;if(Ge={type:"root",children:Mt(le,pe.childNodes),data:{quirksMode:gn}},le.file&&le.location){const Cn=String(le.file),ci=Pe(Cn),Ei=ci.toPoint(0),ii=ci.toPoint(Cn.length);(0,Ae.ok)(Ei,"expected `start`"),(0,Ae.ok)(ii,"expected `end`"),Ge.position={start:Ei,end:ii}}return Ge}case"#documentType":{const Ct=pe;return Ge={type:"doctype"},te(le,Ct,Ge),Ge}case"#text":{const Ct=pe;return Ge={type:"text",value:Ct.value},te(le,Ct,Ge),Ge}default:return Ge=De(le,pe),Ge}}function Mt(le,pe){let Ge=-1;const Ct=[];for(;++Ge<pe.length;){const gn=Qe(le,pe[Ge]);Ct.push(gn)}return Ct}function De(le,pe){const Ge=le.schema;le.schema=pe.namespaceURI===tt.t.svg?ke.YP:ke.dy;let Ct=-1;const gn={};for(;++Ct<pe.attrs.length;){const Ei=pe.attrs[Ct],ii=(Ei.prefix?Ei.prefix+":":"")+Ei.name;Ze.call(rt,ii)||(gn[ii]=Ei.value)}const ci=(le.schema.space==="svg"?Fe.s:Fe.h)(pe.tagName,gn,Mt(le,pe.childNodes));if(te(le,pe,ci),ci.tagName==="template"){const Ei=pe,ii=Ei.sourceCodeLocation,Br=ii&&ii.startTag&&de(ii.startTag),Yo=ii&&ii.endTag&&de(ii.endTag),No=Qe(le,Ei.content);Br&&Yo&&le.file&&(No.position={start:Br.end,end:Yo.start}),ci.content=No}return le.schema=Ge,ci}function te(le,pe,Ge){if("sourceCodeLocation"in pe&&pe.sourceCodeLocation&&le.file){const Ct=ee(le,Ge,pe.sourceCodeLocation);Ct&&(le.location=!0,Ge.position=Ct)}}function ee(le,pe,Ge){const Ct=de(Ge);if(pe.type==="element"){const gn=pe.children[pe.children.length-1];if(Ct&&!Ge.endTag&&gn&&gn.position&&gn.position.end&&(Ct.end=Object.assign({},gn.position.end)),le.verbose){const Cn={};let ci;if(Ge.attrs)for(ci in Ge.attrs)Ze.call(Ge.attrs,ci)&&(Cn[(0,Ye.s)(le.schema,ci).property]=de(Ge.attrs[ci]));(0,Ae.ok)(Ge.startTag,"a start tag should exist");const Ei=de(Ge.startTag),ii=Ge.endTag?de(Ge.endTag):void 0,Br={opening:Ei};ii&&(Br.closing=ii),Br.properties=Cn,pe.data={position:Br}}}return Ct}function de(le){const pe=se({line:le.startLine,column:le.startCol,offset:le.startOffset}),Ge=se({line:le.endLine,column:le.endCol,offset:le.endOffset});return pe||Ge?{start:pe,end:Ge}:void 0}function se(le){return le.line&&le.column?le:void 0}var ge=ue(25668),ve=ue(50342);const be={}.hasOwnProperty;function we(le,pe){const Ge=pe||{};function Ct(gn,...Cn){let ci=Ct.invalid;const Ei=Ct.handlers;if(gn&&be.call(gn,le)){const ii=String(gn[le]);ci=be.call(Ei,ii)?Ei[ii]:Ct.unknown}if(ci)return ci.call(this,gn,...Cn)}return Ct.handlers=Ge.handlers||{},Ct.invalid=Ge.invalid,Ct.unknown=Ge.unknown,Ct}const Oe={},Ke={}.hasOwnProperty,qe=we("type",{handlers:{root:at,element:Zt,text:Nt,comment:Xt,doctype:pt}});function lt(le,pe){const Ct=(pe||Oe).space;return qe(le,Ct==="svg"?ke.YP:ke.dy)}function at(le,pe){const Ge={nodeName:"#document",mode:(le.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return Ge.childNodes=Ln(le.children,Ge,pe),on(le,Ge),Ge}function ft(le,pe){const Ge={nodeName:"#document-fragment",childNodes:[]};return Ge.childNodes=Ln(le.children,Ge,pe),on(le,Ge),Ge}function pt(le){const pe={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return on(le,pe),pe}function Nt(le){const pe={nodeName:"#text",value:le.value,parentNode:null};return on(le,pe),pe}function Xt(le){const pe={nodeName:"#comment",data:le.value,parentNode:null};return on(le,pe),pe}function Zt(le,pe){const Ge=pe;let Ct=Ge;le.type==="element"&&le.tagName.toLowerCase()==="svg"&&Ge.space==="html"&&(Ct=ke.YP);const gn=[];let Cn;if(le.properties){for(Cn in le.properties)if(Cn!=="children"&&Ke.call(le.properties,Cn)){const ii=yn(Ct,Cn,le.properties[Cn]);ii&&gn.push(ii)}}const ci=Ct.space;(0,Ae.ok)(ci);const Ei={nodeName:le.tagName,tagName:le.tagName,attrs:gn,namespaceURI:tt.t[ci],childNodes:[],parentNode:null};return Ei.childNodes=Ln(le.children,Ei,Ct),on(le,Ei),le.tagName==="template"&&le.content&&(Ei.content=ft(le.content,Ct)),Ei}function yn(le,pe,Ge){const Ct=(0,Ye.s)(le,pe);if(Ge===!1||Ge===null||Ge===void 0||typeof Ge=="number"&&Number.isNaN(Ge)||!Ge&&Ct.boolean)return;Array.isArray(Ge)&&(Ge=Ct.commaSeparated?(0,ge.P)(Ge):(0,ve.P)(Ge));const gn={name:Ct.attribute,value:Ge===!0?"":String(Ge)};if(Ct.space&&Ct.space!=="html"&&Ct.space!=="svg"){const Cn=gn.name.indexOf(":");Cn<0?gn.prefix="":(gn.name=gn.name.slice(Cn+1),gn.prefix=Ct.attribute.slice(0,Cn)),gn.namespace=tt.t[Ct.space]}return gn}function Ln(le,pe,Ge){let Ct=-1;const gn=[];if(le)for(;++Ct<le.length;){const Cn=qe(le[Ct],Ge);Cn.parentNode=pe,gn.push(Cn)}return gn}function on(le,pe){const Ge=le.position;Ge&&Ge.start&&Ge.end&&((0,Ae.ok)(typeof Ge.start.offset=="number"),(0,Ae.ok)(typeof Ge.end.offset=="number"),pe.sourceCodeLocation={startLine:Ge.start.line,startCol:Ge.start.column,startOffset:Ge.start.offset,endLine:Ge.end.line,endCol:Ge.end.column,endOffset:Ge.end.offset})}const Bn=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Et=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),nt="\uFFFD";var ot;(function(le){le[le.EOF=-1]="EOF",le[le.NULL=0]="NULL",le[le.TABULATION=9]="TABULATION",le[le.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",le[le.LINE_FEED=10]="LINE_FEED",le[le.FORM_FEED=12]="FORM_FEED",le[le.SPACE=32]="SPACE",le[le.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",le[le.QUOTATION_MARK=34]="QUOTATION_MARK",le[le.NUMBER_SIGN=35]="NUMBER_SIGN",le[le.AMPERSAND=38]="AMPERSAND",le[le.APOSTROPHE=39]="APOSTROPHE",le[le.HYPHEN_MINUS=45]="HYPHEN_MINUS",le[le.SOLIDUS=47]="SOLIDUS",le[le.DIGIT_0=48]="DIGIT_0",le[le.DIGIT_9=57]="DIGIT_9",le[le.SEMICOLON=59]="SEMICOLON",le[le.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",le[le.EQUALS_SIGN=61]="EQUALS_SIGN",le[le.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",le[le.QUESTION_MARK=63]="QUESTION_MARK",le[le.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",le[le.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",le[le.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",le[le.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",le[le.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",le[le.GRAVE_ACCENT=96]="GRAVE_ACCENT",le[le.LATIN_SMALL_A=97]="LATIN_SMALL_A",le[le.LATIN_SMALL_F=102]="LATIN_SMALL_F",le[le.LATIN_SMALL_X=120]="LATIN_SMALL_X",le[le.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",le[le.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(ot=ot||(ot={}));const Jt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function In(le){return le>=55296&&le<=57343}function Gt(le){return le>=56320&&le<=57343}function An(le,pe){return(le-55296)*1024+9216+pe}function Nn(le){return le!==32&&le!==10&&le!==13&&le!==9&&le!==12&&le>=1&&le<=31||le>=127&&le<=159}function di(le){return le>=64976&&le<=65007||Et.has(le)}var At;(function(le){le.controlCharacterInInputStream="control-character-in-input-stream",le.noncharacterInInputStream="noncharacter-in-input-stream",le.surrogateInInputStream="surrogate-in-input-stream",le.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",le.endTagWithAttributes="end-tag-with-attributes",le.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",le.unexpectedSolidusInTag="unexpected-solidus-in-tag",le.unexpectedNullCharacter="unexpected-null-character",le.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",le.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",le.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",le.missingEndTagName="missing-end-tag-name",le.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",le.unknownNamedCharacterReference="unknown-named-character-reference",le.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",le.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",le.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",le.eofBeforeTagName="eof-before-tag-name",le.eofInTag="eof-in-tag",le.missingAttributeValue="missing-attribute-value",le.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",le.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",le.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",le.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",le.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",le.missingDoctypePublicIdentifier="missing-doctype-public-identifier",le.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",le.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",le.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",le.cdataInHtmlContent="cdata-in-html-content",le.incorrectlyOpenedComment="incorrectly-opened-comment",le.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",le.eofInDoctype="eof-in-doctype",le.nestedComment="nested-comment",le.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",le.eofInComment="eof-in-comment",le.incorrectlyClosedComment="incorrectly-closed-comment",le.eofInCdata="eof-in-cdata",le.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",le.nullCharacterReference="null-character-reference",le.surrogateCharacterReference="surrogate-character-reference",le.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",le.controlCharacterReference="control-character-reference",le.noncharacterCharacterReference="noncharacter-character-reference",le.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",le.missingDoctypeName="missing-doctype-name",le.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",le.duplicateAttribute="duplicate-attribute",le.nonConformingDoctype="non-conforming-doctype",le.missingDoctype="missing-doctype",le.misplacedDoctype="misplaced-doctype",le.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",le.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",le.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",le.openElementsLeftAfterEof="open-elements-left-after-eof",le.abandonedHeadElementChild="abandoned-head-element-child",le.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",le.nestedNoscriptInHead="nested-noscript-in-head",le.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(At=At||(At={}));const Ot=65536;class $e{constructor(pe){this.handler=pe,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Ot,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(pe){const{line:Ge,col:Ct,offset:gn}=this;return{code:pe,startLine:Ge,endLine:Ge,startCol:Ct,endCol:Ct,startOffset:gn,endOffset:gn}}_err(pe){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(pe)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(pe){if(this.pos!==this.html.length-1){const Ge=this.html.charCodeAt(this.pos+1);if(Gt(Ge))return this.pos++,this._addGap(),An(pe,Ge)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ot.EOF;return this._err(At.surrogateInInputStream),pe}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(pe,Ge){this.html.length>0?this.html+=pe:this.html=pe,this.endOfChunkHit=!1,this.lastChunkWritten=Ge}insertHtmlAtCurrentPos(pe){this.html=this.html.substring(0,this.pos+1)+pe+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(pe,Ge){if(this.pos+pe.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(Ge)return this.html.startsWith(pe,this.pos);for(let Ct=0;Ct<pe.length;Ct++)if((this.html.charCodeAt(this.pos+Ct)|32)!==pe.charCodeAt(Ct))return!1;return!0}peek(pe){const Ge=this.pos+pe;if(Ge>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ot.EOF;const Ct=this.html.charCodeAt(Ge);return Ct===ot.CARRIAGE_RETURN?ot.LINE_FEED:Ct}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ot.EOF;let pe=this.html.charCodeAt(this.pos);return pe===ot.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,ot.LINE_FEED):pe===ot.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,In(pe)&&(pe=this._processSurrogate(pe)),this.handler.onParseError===null||pe>31&&pe<127||pe===ot.LINE_FEED||pe===ot.CARRIAGE_RETURN||pe>159&&pe<64976||this._checkForProblematicCharacters(pe),pe)}_checkForProblematicCharacters(pe){Nn(pe)?this._err(At.controlCharacterInInputStream):di(pe)&&this._err(At.noncharacterInInputStream)}retreat(pe){for(this.pos-=pe;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Wt;(function(le){le[le.CHARACTER=0]="CHARACTER",le[le.NULL_CHARACTER=1]="NULL_CHARACTER",le[le.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",le[le.START_TAG=3]="START_TAG",le[le.END_TAG=4]="END_TAG",le[le.COMMENT=5]="COMMENT",le[le.DOCTYPE=6]="DOCTYPE",le[le.EOF=7]="EOF",le[le.HIBERNATION=8]="HIBERNATION"})(Wt=Wt||(Wt={}));function jt(le,pe){for(let Ge=le.attrs.length-1;Ge>=0;Ge--)if(le.attrs[Ge].name===pe)return le.attrs[Ge].value;return null}var Je=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(le=>le.charCodeAt(0))),Me=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(le=>le.charCodeAt(0))),Le;const Xe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),dt=(Le=String.fromCodePoint)!==null&&Le!==void 0?Le:function(le){let pe="";return le>65535&&(le-=65536,pe+=String.fromCharCode(le>>>10&1023|55296),le=56320|le&1023),pe+=String.fromCharCode(le),pe};function je(le){var pe;return le>=55296&&le<=57343||le>1114111?65533:(pe=Xe.get(le))!==null&&pe!==void 0?pe:le}function bt(le){return dt(je(le))}var Sn;(function(le){le[le.NUM=35]="NUM",le[le.SEMI=59]="SEMI",le[le.ZERO=48]="ZERO",le[le.NINE=57]="NINE",le[le.LOWER_A=97]="LOWER_A",le[le.LOWER_F=102]="LOWER_F",le[le.LOWER_X=120]="LOWER_X",le[le.To_LOWER_BIT=32]="To_LOWER_BIT"})(Sn||(Sn={}));var ni;(function(le){le[le.VALUE_LENGTH=49152]="VALUE_LENGTH",le[le.BRANCH_LENGTH=16256]="BRANCH_LENGTH",le[le.JUMP_TABLE=127]="JUMP_TABLE"})(ni||(ni={}));function ui(le){return function(Ge,Ct){let gn="",Cn=0,ci=0;for(;(ci=Ge.indexOf("&",ci))>=0;){if(gn+=Ge.slice(Cn,ci),Cn=ci,ci+=1,Ge.charCodeAt(ci)===Sn.NUM){let No=ci+1,ha=10,Qa=Ge.charCodeAt(No);(Qa|Sn.To_LOWER_BIT)===Sn.LOWER_X&&(ha=16,ci+=1,No+=1);do Qa=Ge.charCodeAt(++ci);while(Qa>=Sn.ZERO&&Qa<=Sn.NINE||ha===16&&(Qa|Sn.To_LOWER_BIT)>=Sn.LOWER_A&&(Qa|Sn.To_LOWER_BIT)<=Sn.LOWER_F);if(No!==ci){const Ca=Ge.substring(No,ci),rr=parseInt(Ca,ha);if(Ge.charCodeAt(ci)===Sn.SEMI)ci+=1;else if(Ct)continue;gn+=bt(rr),Cn=ci}continue}let Ei=0,ii=1,Br=0,Yo=le[Br];for(;ci<Ge.length&&(Br=vn(le,Yo,Br+1,Ge.charCodeAt(ci)),!(Br<0));ci++,ii++){Yo=le[Br];const No=Yo&ni.VALUE_LENGTH;if(No){(!Ct||Ge.charCodeAt(ci)===Sn.SEMI)&&(Ei=Br,ii=0);const ha=(No>>14)-1;if(ha===0)break;Br+=ha}}if(Ei!==0){const No=(le[Ei]&ni.VALUE_LENGTH)>>14;gn+=No===1?String.fromCharCode(le[Ei]&~ni.VALUE_LENGTH):No===2?String.fromCharCode(le[Ei+1]):String.fromCharCode(le[Ei+1],le[Ei+2]),Cn=ci-ii+1}}return gn+Ge.slice(Cn)}}function vn(le,pe,Ge,Ct){const gn=(pe&ni.BRANCH_LENGTH)>>7,Cn=pe&ni.JUMP_TABLE;if(gn===0)return Cn!==0&&Ct===Cn?Ge:-1;if(Cn){const ii=Ct-Cn;return ii<0||ii>=gn?-1:le[Ge+ii]-1}let ci=Ge,Ei=ci+gn-1;for(;ci<=Ei;){const ii=ci+Ei>>>1,Br=le[ii];if(Br<Ct)ci=ii+1;else if(Br>Ct)Ei=ii-1;else return le[ii+gn]}return-1}const _n=ui(Je),rn=ui(Me);function oi(le){return _n(le,!1)}function ei(le){return _n(le,!0)}function Ri(le){return rn(le,!0)}var cn;(function(le){le.HTML="http://www.w3.org/1999/xhtml",le.MATHML="http://www.w3.org/1998/Math/MathML",le.SVG="http://www.w3.org/2000/svg",le.XLINK="http://www.w3.org/1999/xlink",le.XML="http://www.w3.org/XML/1998/namespace",le.XMLNS="http://www.w3.org/2000/xmlns/"})(cn=cn||(cn={}));var tr;(function(le){le.TYPE="type",le.ACTION="action",le.ENCODING="encoding",le.PROMPT="prompt",le.NAME="name",le.COLOR="color",le.FACE="face",le.SIZE="size"})(tr=tr||(tr={}));var Xi;(function(le){le.NO_QUIRKS="no-quirks",le.QUIRKS="quirks",le.LIMITED_QUIRKS="limited-quirks"})(Xi=Xi||(Xi={}));var $t;(function(le){le.A="a",le.ADDRESS="address",le.ANNOTATION_XML="annotation-xml",le.APPLET="applet",le.AREA="area",le.ARTICLE="article",le.ASIDE="aside",le.B="b",le.BASE="base",le.BASEFONT="basefont",le.BGSOUND="bgsound",le.BIG="big",le.BLOCKQUOTE="blockquote",le.BODY="body",le.BR="br",le.BUTTON="button",le.CAPTION="caption",le.CENTER="center",le.CODE="code",le.COL="col",le.COLGROUP="colgroup",le.DD="dd",le.DESC="desc",le.DETAILS="details",le.DIALOG="dialog",le.DIR="dir",le.DIV="div",le.DL="dl",le.DT="dt",le.EM="em",le.EMBED="embed",le.FIELDSET="fieldset",le.FIGCAPTION="figcaption",le.FIGURE="figure",le.FONT="font",le.FOOTER="footer",le.FOREIGN_OBJECT="foreignObject",le.FORM="form",le.FRAME="frame",le.FRAMESET="frameset",le.H1="h1",le.H2="h2",le.H3="h3",le.H4="h4",le.H5="h5",le.H6="h6",le.HEAD="head",le.HEADER="header",le.HGROUP="hgroup",le.HR="hr",le.HTML="html",le.I="i",le.IMG="img",le.IMAGE="image",le.INPUT="input",le.IFRAME="iframe",le.KEYGEN="keygen",le.LABEL="label",le.LI="li",le.LINK="link",le.LISTING="listing",le.MAIN="main",le.MALIGNMARK="malignmark",le.MARQUEE="marquee",le.MATH="math",le.MENU="menu",le.META="meta",le.MGLYPH="mglyph",le.MI="mi",le.MO="mo",le.MN="mn",le.MS="ms",le.MTEXT="mtext",le.NAV="nav",le.NOBR="nobr",le.NOFRAMES="noframes",le.NOEMBED="noembed",le.NOSCRIPT="noscript",le.OBJECT="object",le.OL="ol",le.OPTGROUP="optgroup",le.OPTION="option",le.P="p",le.PARAM="param",le.PLAINTEXT="plaintext",le.PRE="pre",le.RB="rb",le.RP="rp",le.RT="rt",le.RTC="rtc",le.RUBY="ruby",le.S="s",le.SCRIPT="script",le.SECTION="section",le.SELECT="select",le.SOURCE="source",le.SMALL="small",le.SPAN="span",le.STRIKE="strike",le.STRONG="strong",le.STYLE="style",le.SUB="sub",le.SUMMARY="summary",le.SUP="sup",le.TABLE="table",le.TBODY="tbody",le.TEMPLATE="template",le.TEXTAREA="textarea",le.TFOOT="tfoot",le.TD="td",le.TH="th",le.THEAD="thead",le.TITLE="title",le.TR="tr",le.TRACK="track",le.TT="tt",le.U="u",le.UL="ul",le.SVG="svg",le.VAR="var",le.WBR="wbr",le.XMP="xmp"})($t=$t||($t={}));var _e;(function(le){le[le.UNKNOWN=0]="UNKNOWN",le[le.A=1]="A",le[le.ADDRESS=2]="ADDRESS",le[le.ANNOTATION_XML=3]="ANNOTATION_XML",le[le.APPLET=4]="APPLET",le[le.AREA=5]="AREA",le[le.ARTICLE=6]="ARTICLE",le[le.ASIDE=7]="ASIDE",le[le.B=8]="B",le[le.BASE=9]="BASE",le[le.BASEFONT=10]="BASEFONT",le[le.BGSOUND=11]="BGSOUND",le[le.BIG=12]="BIG",le[le.BLOCKQUOTE=13]="BLOCKQUOTE",le[le.BODY=14]="BODY",le[le.BR=15]="BR",le[le.BUTTON=16]="BUTTON",le[le.CAPTION=17]="CAPTION",le[le.CENTER=18]="CENTER",le[le.CODE=19]="CODE",le[le.COL=20]="COL",le[le.COLGROUP=21]="COLGROUP",le[le.DD=22]="DD",le[le.DESC=23]="DESC",le[le.DETAILS=24]="DETAILS",le[le.DIALOG=25]="DIALOG",le[le.DIR=26]="DIR",le[le.DIV=27]="DIV",le[le.DL=28]="DL",le[le.DT=29]="DT",le[le.EM=30]="EM",le[le.EMBED=31]="EMBED",le[le.FIELDSET=32]="FIELDSET",le[le.FIGCAPTION=33]="FIGCAPTION",le[le.FIGURE=34]="FIGURE",le[le.FONT=35]="FONT",le[le.FOOTER=36]="FOOTER",le[le.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",le[le.FORM=38]="FORM",le[le.FRAME=39]="FRAME",le[le.FRAMESET=40]="FRAMESET",le[le.H1=41]="H1",le[le.H2=42]="H2",le[le.H3=43]="H3",le[le.H4=44]="H4",le[le.H5=45]="H5",le[le.H6=46]="H6",le[le.HEAD=47]="HEAD",le[le.HEADER=48]="HEADER",le[le.HGROUP=49]="HGROUP",le[le.HR=50]="HR",le[le.HTML=51]="HTML",le[le.I=52]="I",le[le.IMG=53]="IMG",le[le.IMAGE=54]="IMAGE",le[le.INPUT=55]="INPUT",le[le.IFRAME=56]="IFRAME",le[le.KEYGEN=57]="KEYGEN",le[le.LABEL=58]="LABEL",le[le.LI=59]="LI",le[le.LINK=60]="LINK",le[le.LISTING=61]="LISTING",le[le.MAIN=62]="MAIN",le[le.MALIGNMARK=63]="MALIGNMARK",le[le.MARQUEE=64]="MARQUEE",le[le.MATH=65]="MATH",le[le.MENU=66]="MENU",le[le.META=67]="META",le[le.MGLYPH=68]="MGLYPH",le[le.MI=69]="MI",le[le.MO=70]="MO",le[le.MN=71]="MN",le[le.MS=72]="MS",le[le.MTEXT=73]="MTEXT",le[le.NAV=74]="NAV",le[le.NOBR=75]="NOBR",le[le.NOFRAMES=76]="NOFRAMES",le[le.NOEMBED=77]="NOEMBED",le[le.NOSCRIPT=78]="NOSCRIPT",le[le.OBJECT=79]="OBJECT",le[le.OL=80]="OL",le[le.OPTGROUP=81]="OPTGROUP",le[le.OPTION=82]="OPTION",le[le.P=83]="P",le[le.PARAM=84]="PARAM",le[le.PLAINTEXT=85]="PLAINTEXT",le[le.PRE=86]="PRE",le[le.RB=87]="RB",le[le.RP=88]="RP",le[le.RT=89]="RT",le[le.RTC=90]="RTC",le[le.RUBY=91]="RUBY",le[le.S=92]="S",le[le.SCRIPT=93]="SCRIPT",le[le.SECTION=94]="SECTION",le[le.SELECT=95]="SELECT",le[le.SOURCE=96]="SOURCE",le[le.SMALL=97]="SMALL",le[le.SPAN=98]="SPAN",le[le.STRIKE=99]="STRIKE",le[le.STRONG=100]="STRONG",le[le.STYLE=101]="STYLE",le[le.SUB=102]="SUB",le[le.SUMMARY=103]="SUMMARY",le[le.SUP=104]="SUP",le[le.TABLE=105]="TABLE",le[le.TBODY=106]="TBODY",le[le.TEMPLATE=107]="TEMPLATE",le[le.TEXTAREA=108]="TEXTAREA",le[le.TFOOT=109]="TFOOT",le[le.TD=110]="TD",le[le.TH=111]="TH",le[le.THEAD=112]="THEAD",le[le.TITLE=113]="TITLE",le[le.TR=114]="TR",le[le.TRACK=115]="TRACK",le[le.TT=116]="TT",le[le.U=117]="U",le[le.UL=118]="UL",le[le.SVG=119]="SVG",le[le.VAR=120]="VAR",le[le.WBR=121]="WBR",le[le.XMP=122]="XMP"})(_e=_e||(_e={}));const xr=new Map([[$t.A,_e.A],[$t.ADDRESS,_e.ADDRESS],[$t.ANNOTATION_XML,_e.ANNOTATION_XML],[$t.APPLET,_e.APPLET],[$t.AREA,_e.AREA],[$t.ARTICLE,_e.ARTICLE],[$t.ASIDE,_e.ASIDE],[$t.B,_e.B],[$t.BASE,_e.BASE],[$t.BASEFONT,_e.BASEFONT],[$t.BGSOUND,_e.BGSOUND],[$t.BIG,_e.BIG],[$t.BLOCKQUOTE,_e.BLOCKQUOTE],[$t.BODY,_e.BODY],[$t.BR,_e.BR],[$t.BUTTON,_e.BUTTON],[$t.CAPTION,_e.CAPTION],[$t.CENTER,_e.CENTER],[$t.CODE,_e.CODE],[$t.COL,_e.COL],[$t.COLGROUP,_e.COLGROUP],[$t.DD,_e.DD],[$t.DESC,_e.DESC],[$t.DETAILS,_e.DETAILS],[$t.DIALOG,_e.DIALOG],[$t.DIR,_e.DIR],[$t.DIV,_e.DIV],[$t.DL,_e.DL],[$t.DT,_e.DT],[$t.EM,_e.EM],[$t.EMBED,_e.EMBED],[$t.FIELDSET,_e.FIELDSET],[$t.FIGCAPTION,_e.FIGCAPTION],[$t.FIGURE,_e.FIGURE],[$t.FONT,_e.FONT],[$t.FOOTER,_e.FOOTER],[$t.FOREIGN_OBJECT,_e.FOREIGN_OBJECT],[$t.FORM,_e.FORM],[$t.FRAME,_e.FRAME],[$t.FRAMESET,_e.FRAMESET],[$t.H1,_e.H1],[$t.H2,_e.H2],[$t.H3,_e.H3],[$t.H4,_e.H4],[$t.H5,_e.H5],[$t.H6,_e.H6],[$t.HEAD,_e.HEAD],[$t.HEADER,_e.HEADER],[$t.HGROUP,_e.HGROUP],[$t.HR,_e.HR],[$t.HTML,_e.HTML],[$t.I,_e.I],[$t.IMG,_e.IMG],[$t.IMAGE,_e.IMAGE],[$t.INPUT,_e.INPUT],[$t.IFRAME,_e.IFRAME],[$t.KEYGEN,_e.KEYGEN],[$t.LABEL,_e.LABEL],[$t.LI,_e.LI],[$t.LINK,_e.LINK],[$t.LISTING,_e.LISTING],[$t.MAIN,_e.MAIN],[$t.MALIGNMARK,_e.MALIGNMARK],[$t.MARQUEE,_e.MARQUEE],[$t.MATH,_e.MATH],[$t.MENU,_e.MENU],[$t.META,_e.META],[$t.MGLYPH,_e.MGLYPH],[$t.MI,_e.MI],[$t.MO,_e.MO],[$t.MN,_e.MN],[$t.MS,_e.MS],[$t.MTEXT,_e.MTEXT],[$t.NAV,_e.NAV],[$t.NOBR,_e.NOBR],[$t.NOFRAMES,_e.NOFRAMES],[$t.NOEMBED,_e.NOEMBED],[$t.NOSCRIPT,_e.NOSCRIPT],[$t.OBJECT,_e.OBJECT],[$t.OL,_e.OL],[$t.OPTGROUP,_e.OPTGROUP],[$t.OPTION,_e.OPTION],[$t.P,_e.P],[$t.PARAM,_e.PARAM],[$t.PLAINTEXT,_e.PLAINTEXT],[$t.PRE,_e.PRE],[$t.RB,_e.RB],[$t.RP,_e.RP],[$t.RT,_e.RT],[$t.RTC,_e.RTC],[$t.RUBY,_e.RUBY],[$t.S,_e.S],[$t.SCRIPT,_e.SCRIPT],[$t.SECTION,_e.SECTION],[$t.SELECT,_e.SELECT],[$t.SOURCE,_e.SOURCE],[$t.SMALL,_e.SMALL],[$t.SPAN,_e.SPAN],[$t.STRIKE,_e.STRIKE],[$t.STRONG,_e.STRONG],[$t.STYLE,_e.STYLE],[$t.SUB,_e.SUB],[$t.SUMMARY,_e.SUMMARY],[$t.SUP,_e.SUP],[$t.TABLE,_e.TABLE],[$t.TBODY,_e.TBODY],[$t.TEMPLATE,_e.TEMPLATE],[$t.TEXTAREA,_e.TEXTAREA],[$t.TFOOT,_e.TFOOT],[$t.TD,_e.TD],[$t.TH,_e.TH],[$t.THEAD,_e.THEAD],[$t.TITLE,_e.TITLE],[$t.TR,_e.TR],[$t.TRACK,_e.TRACK],[$t.TT,_e.TT],[$t.U,_e.U],[$t.UL,_e.UL],[$t.SVG,_e.SVG],[$t.VAR,_e.VAR],[$t.WBR,_e.WBR],[$t.XMP,_e.XMP]]);function er(le){var pe;return(pe=xr.get(le))!==null&&pe!==void 0?pe:_e.UNKNOWN}const ai=_e,Rr={[cn.HTML]:new Set([ai.ADDRESS,ai.APPLET,ai.AREA,ai.ARTICLE,ai.ASIDE,ai.BASE,ai.BASEFONT,ai.BGSOUND,ai.BLOCKQUOTE,ai.BODY,ai.BR,ai.BUTTON,ai.CAPTION,ai.CENTER,ai.COL,ai.COLGROUP,ai.DD,ai.DETAILS,ai.DIR,ai.DIV,ai.DL,ai.DT,ai.EMBED,ai.FIELDSET,ai.FIGCAPTION,ai.FIGURE,ai.FOOTER,ai.FORM,ai.FRAME,ai.FRAMESET,ai.H1,ai.H2,ai.H3,ai.H4,ai.H5,ai.H6,ai.HEAD,ai.HEADER,ai.HGROUP,ai.HR,ai.HTML,ai.IFRAME,ai.IMG,ai.INPUT,ai.LI,ai.LINK,ai.LISTING,ai.MAIN,ai.MARQUEE,ai.MENU,ai.META,ai.NAV,ai.NOEMBED,ai.NOFRAMES,ai.NOSCRIPT,ai.OBJECT,ai.OL,ai.P,ai.PARAM,ai.PLAINTEXT,ai.PRE,ai.SCRIPT,ai.SECTION,ai.SELECT,ai.SOURCE,ai.STYLE,ai.SUMMARY,ai.TABLE,ai.TBODY,ai.TD,ai.TEMPLATE,ai.TEXTAREA,ai.TFOOT,ai.TH,ai.THEAD,ai.TITLE,ai.TR,ai.TRACK,ai.UL,ai.WBR,ai.XMP]),[cn.MATHML]:new Set([ai.MI,ai.MO,ai.MN,ai.MS,ai.MTEXT,ai.ANNOTATION_XML]),[cn.SVG]:new Set([ai.TITLE,ai.FOREIGN_OBJECT,ai.DESC]),[cn.XLINK]:new Set,[cn.XML]:new Set,[cn.XMLNS]:new Set};function Lr(le){return le===ai.H1||le===ai.H2||le===ai.H3||le===ai.H4||le===ai.H5||le===ai.H6}const Ii=new Set([$t.STYLE,$t.SCRIPT,$t.XMP,$t.IFRAME,$t.NOEMBED,$t.NOFRAMES,$t.PLAINTEXT]);function ar(le,pe){return Ii.has(le)||pe&&le===$t.NOSCRIPT}const hi=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Qt;(function(le){le[le.DATA=0]="DATA",le[le.RCDATA=1]="RCDATA",le[le.RAWTEXT=2]="RAWTEXT",le[le.SCRIPT_DATA=3]="SCRIPT_DATA",le[le.PLAINTEXT=4]="PLAINTEXT",le[le.TAG_OPEN=5]="TAG_OPEN",le[le.END_TAG_OPEN=6]="END_TAG_OPEN",le[le.TAG_NAME=7]="TAG_NAME",le[le.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",le[le.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",le[le.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",le[le.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",le[le.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",le[le.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",le[le.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",le[le.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",le[le.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",le[le.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",le[le.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",le[le.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",le[le.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",le[le.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",le[le.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",le[le.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",le[le.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",le[le.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",le[le.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",le[le.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",le[le.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",le[le.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",le[le.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",le[le.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",le[le.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",le[le.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",le[le.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",le[le.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",le[le.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",le[le.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",le[le.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",le[le.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",le[le.BOGUS_COMMENT=40]="BOGUS_COMMENT",le[le.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",le[le.COMMENT_START=42]="COMMENT_START",le[le.COMMENT_START_DASH=43]="COMMENT_START_DASH",le[le.COMMENT=44]="COMMENT",le[le.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",le[le.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",le[le.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",le[le.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",le[le.COMMENT_END_DASH=49]="COMMENT_END_DASH",le[le.COMMENT_END=50]="COMMENT_END",le[le.COMMENT_END_BANG=51]="COMMENT_END_BANG",le[le.DOCTYPE=52]="DOCTYPE",le[le.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",le[le.DOCTYPE_NAME=54]="DOCTYPE_NAME",le[le.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",le[le.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",le[le.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",le[le.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",le[le.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",le[le.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",le[le.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",le[le.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",le[le.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",le[le.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",le[le.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",le[le.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",le[le.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",le[le.CDATA_SECTION=68]="CDATA_SECTION",le[le.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",le[le.CDATA_SECTION_END=70]="CDATA_SECTION_END",le[le.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",le[le.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",le[le.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",le[le.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",le[le.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",le[le.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",le[le.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",le[le.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(Qt||(Qt={}));const Wr={DATA:Qt.DATA,RCDATA:Qt.RCDATA,RAWTEXT:Qt.RAWTEXT,SCRIPT_DATA:Qt.SCRIPT_DATA,PLAINTEXT:Qt.PLAINTEXT,CDATA_SECTION:Qt.CDATA_SECTION};function oo(le){return le>=ot.DIGIT_0&&le<=ot.DIGIT_9}function dr(le){return le>=ot.LATIN_CAPITAL_A&&le<=ot.LATIN_CAPITAL_Z}function xo(le){return le>=ot.LATIN_SMALL_A&&le<=ot.LATIN_SMALL_Z}function yr(le){return xo(le)||dr(le)}function On(le){return yr(le)||oo(le)}function Ie(le){return le>=ot.LATIN_CAPITAL_A&&le<=ot.LATIN_CAPITAL_F}function Mn(le){return le>=ot.LATIN_SMALL_A&&le<=ot.LATIN_SMALL_F}function Kn(le){return oo(le)||Ie(le)||Mn(le)}function ri(le){return le+32}function fi(le){return le===ot.SPACE||le===ot.LINE_FEED||le===ot.TABULATION||le===ot.FORM_FEED}function vi(le){return le===ot.EQUALS_SIGN||On(le)}function Ni(le){return fi(le)||le===ot.SOLIDUS||le===ot.GREATER_THAN_SIGN}class hr{constructor(pe,Ge){this.options=pe,this.handler=Ge,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Qt.DATA,this.returnState=Qt.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new $e(Ge),this.currentLocation=this.getCurrentLocation(-1)}_err(pe){var Ge,Ct;(Ct=(Ge=this.handler).onParseError)===null||Ct===void 0||Ct.call(Ge,this.preprocessor.getError(pe))}getCurrentLocation(pe){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-pe,startOffset:this.preprocessor.offset-pe,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const pe=this._consume();this._ensureHibernation()||this._callState(pe)}this.inLoop=!1}}pause(){this.paused=!0}resume(pe){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||pe==null||pe())}write(pe,Ge,Ct){this.active=!0,this.preprocessor.write(pe,Ge),this._runParsingLoop(),this.paused||Ct==null||Ct()}insertHtmlAtCurrentPos(pe){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(pe),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(pe){this.consumedAfterSnapshot-=pe,this.preprocessor.retreat(pe)}_reconsumeInState(pe,Ge){this.state=pe,this._callState(Ge)}_advanceBy(pe){this.consumedAfterSnapshot+=pe;for(let Ge=0;Ge<pe;Ge++)this.preprocessor.advance()}_consumeSequenceIfMatch(pe,Ge){return this.preprocessor.startsWith(pe,Ge)?(this._advanceBy(pe.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Wt.START_TAG,tagName:"",tagID:_e.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Wt.END_TAG,tagName:"",tagID:_e.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(pe){this.currentToken={type:Wt.COMMENT,data:"",location:this.getCurrentLocation(pe)}}_createDoctypeToken(pe){this.currentToken={type:Wt.DOCTYPE,name:pe,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(pe,Ge){this.currentCharacterToken={type:pe,chars:Ge,location:this.currentLocation}}_createAttr(pe){this.currentAttr={name:pe,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var pe,Ge;const Ct=this.currentToken;if(jt(Ct,this.currentAttr.name)===null){if(Ct.attrs.push(this.currentAttr),Ct.location&&this.currentLocation){const gn=(pe=(Ge=Ct.location).attrs)!==null&&pe!==void 0?pe:Ge.attrs=Object.create(null);gn[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(At.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(pe){this._emitCurrentCharacterToken(pe.location),this.currentToken=null,pe.location&&(pe.location.endLine=this.preprocessor.line,pe.location.endCol=this.preprocessor.col+1,pe.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const pe=this.currentToken;this.prepareToken(pe),pe.tagID=er(pe.tagName),pe.type===Wt.START_TAG?(this.lastStartTagName=pe.tagName,this.handler.onStartTag(pe)):(pe.attrs.length>0&&this._err(At.endTagWithAttributes),pe.selfClosing&&this._err(At.endTagWithTrailingSolidus),this.handler.onEndTag(pe)),this.preprocessor.dropParsedChunk()}emitCurrentComment(pe){this.prepareToken(pe),this.handler.onComment(pe),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(pe){this.prepareToken(pe),this.handler.onDoctype(pe),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(pe){if(this.currentCharacterToken){switch(pe&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=pe.startLine,this.currentCharacterToken.location.endCol=pe.startCol,this.currentCharacterToken.location.endOffset=pe.startOffset),this.currentCharacterToken.type){case Wt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Wt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Wt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const pe=this.getCurrentLocation(0);pe&&(pe.endLine=pe.startLine,pe.endCol=pe.startCol,pe.endOffset=pe.startOffset),this._emitCurrentCharacterToken(pe),this.handler.onEof({type:Wt.EOF,location:pe}),this.active=!1}_appendCharToCurrentCharacterToken(pe,Ge){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==pe)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=Ge;return}this._createCharacterToken(pe,Ge)}_emitCodePoint(pe){const Ge=fi(pe)?Wt.WHITESPACE_CHARACTER:pe===ot.NULL?Wt.NULL_CHARACTER:Wt.CHARACTER;this._appendCharToCurrentCharacterToken(Ge,String.fromCodePoint(pe))}_emitChars(pe){this._appendCharToCurrentCharacterToken(Wt.CHARACTER,pe)}_matchNamedCharacterReference(pe){let Ge=null,Ct=0,gn=!1;for(let Cn=0,ci=Je[0];Cn>=0&&(Cn=vn(Je,ci,Cn+1,pe),!(Cn<0));pe=this._consume()){Ct+=1,ci=Je[Cn];const Ei=ci&ni.VALUE_LENGTH;if(Ei){const ii=(Ei>>14)-1;if(pe!==ot.SEMICOLON&&this._isCharacterReferenceInAttribute()&&vi(this.preprocessor.peek(1))?(Ge=[ot.AMPERSAND],Cn+=ii):(Ge=ii===0?[Je[Cn]&~ni.VALUE_LENGTH]:ii===1?[Je[++Cn]]:[Je[++Cn],Je[++Cn]],Ct=0,gn=pe!==ot.SEMICOLON),ii===0){this._consume();break}}}return this._unconsume(Ct),gn&&!this.preprocessor.endOfChunkHit&&this._err(At.missingSemicolonAfterCharacterReference),this._unconsume(1),Ge}_isCharacterReferenceInAttribute(){return this.returnState===Qt.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Qt.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Qt.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(pe){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(pe):this._emitCodePoint(pe)}_callState(pe){switch(this.state){case Qt.DATA:{this._stateData(pe);break}case Qt.RCDATA:{this._stateRcdata(pe);break}case Qt.RAWTEXT:{this._stateRawtext(pe);break}case Qt.SCRIPT_DATA:{this._stateScriptData(pe);break}case Qt.PLAINTEXT:{this._statePlaintext(pe);break}case Qt.TAG_OPEN:{this._stateTagOpen(pe);break}case Qt.END_TAG_OPEN:{this._stateEndTagOpen(pe);break}case Qt.TAG_NAME:{this._stateTagName(pe);break}case Qt.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(pe);break}case Qt.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(pe);break}case Qt.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(pe);break}case Qt.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(pe);break}case Qt.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(pe);break}case Qt.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(pe);break}case Qt.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(pe);break}case Qt.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(pe);break}case Qt.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(pe);break}case Qt.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(pe);break}case Qt.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(pe);break}case Qt.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(pe);break}case Qt.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(pe);break}case Qt.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(pe);break}case Qt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(pe);break}case Qt.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(pe);break}case Qt.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(pe);break}case Qt.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(pe);break}case Qt.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(pe);break}case Qt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(pe);break}case Qt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(pe);break}case Qt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(pe);break}case Qt.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(pe);break}case Qt.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(pe);break}case Qt.ATTRIBUTE_NAME:{this._stateAttributeName(pe);break}case Qt.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(pe);break}case Qt.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(pe);break}case Qt.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(pe);break}case Qt.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(pe);break}case Qt.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(pe);break}case Qt.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(pe);break}case Qt.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(pe);break}case Qt.BOGUS_COMMENT:{this._stateBogusComment(pe);break}case Qt.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(pe);break}case Qt.COMMENT_START:{this._stateCommentStart(pe);break}case Qt.COMMENT_START_DASH:{this._stateCommentStartDash(pe);break}case Qt.COMMENT:{this._stateComment(pe);break}case Qt.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(pe);break}case Qt.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(pe);break}case Qt.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(pe);break}case Qt.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(pe);break}case Qt.COMMENT_END_DASH:{this._stateCommentEndDash(pe);break}case Qt.COMMENT_END:{this._stateCommentEnd(pe);break}case Qt.COMMENT_END_BANG:{this._stateCommentEndBang(pe);break}case Qt.DOCTYPE:{this._stateDoctype(pe);break}case Qt.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(pe);break}case Qt.DOCTYPE_NAME:{this._stateDoctypeName(pe);break}case Qt.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(pe);break}case Qt.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(pe);break}case Qt.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(pe);break}case Qt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(pe);break}case Qt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(pe);break}case Qt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(pe);break}case Qt.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(pe);break}case Qt.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(pe);break}case Qt.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(pe);break}case Qt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(pe);break}case Qt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(pe);break}case Qt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(pe);break}case Qt.BOGUS_DOCTYPE:{this._stateBogusDoctype(pe);break}case Qt.CDATA_SECTION:{this._stateCdataSection(pe);break}case Qt.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(pe);break}case Qt.CDATA_SECTION_END:{this._stateCdataSectionEnd(pe);break}case Qt.CHARACTER_REFERENCE:{this._stateCharacterReference(pe);break}case Qt.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(pe);break}case Qt.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(pe);break}case Qt.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(pe);break}case Qt.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(pe);break}case Qt.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(pe);break}case Qt.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(pe);break}case Qt.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(pe);break}default:throw new Error("Unknown state")}}_stateData(pe){switch(pe){case ot.LESS_THAN_SIGN:{this.state=Qt.TAG_OPEN;break}case ot.AMPERSAND:{this.returnState=Qt.DATA,this.state=Qt.CHARACTER_REFERENCE;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitCodePoint(pe);break}case ot.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateRcdata(pe){switch(pe){case ot.AMPERSAND:{this.returnState=Qt.RCDATA,this.state=Qt.CHARACTER_REFERENCE;break}case ot.LESS_THAN_SIGN:{this.state=Qt.RCDATA_LESS_THAN_SIGN;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitChars(nt);break}case ot.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateRawtext(pe){switch(pe){case ot.LESS_THAN_SIGN:{this.state=Qt.RAWTEXT_LESS_THAN_SIGN;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitChars(nt);break}case ot.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateScriptData(pe){switch(pe){case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_LESS_THAN_SIGN;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitChars(nt);break}case ot.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_statePlaintext(pe){switch(pe){case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitChars(nt);break}case ot.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateTagOpen(pe){if(yr(pe))this._createStartTagToken(),this.state=Qt.TAG_NAME,this._stateTagName(pe);else switch(pe){case ot.EXCLAMATION_MARK:{this.state=Qt.MARKUP_DECLARATION_OPEN;break}case ot.SOLIDUS:{this.state=Qt.END_TAG_OPEN;break}case ot.QUESTION_MARK:{this._err(At.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Qt.BOGUS_COMMENT,this._stateBogusComment(pe);break}case ot.EOF:{this._err(At.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(At.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Qt.DATA,this._stateData(pe)}}_stateEndTagOpen(pe){if(yr(pe))this._createEndTagToken(),this.state=Qt.TAG_NAME,this._stateTagName(pe);else switch(pe){case ot.GREATER_THAN_SIGN:{this._err(At.missingEndTagName),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(At.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Qt.BOGUS_COMMENT,this._stateBogusComment(pe)}}_stateTagName(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this.state=Qt.BEFORE_ATTRIBUTE_NAME;break}case ot.SOLIDUS:{this.state=Qt.SELF_CLOSING_START_TAG;break}case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentTagToken();break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.tagName+=nt;break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:Ge.tagName+=String.fromCodePoint(dr(pe)?ri(pe):pe)}}_stateRcdataLessThanSign(pe){pe===ot.SOLIDUS?this.state=Qt.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Qt.RCDATA,this._stateRcdata(pe))}_stateRcdataEndTagOpen(pe){yr(pe)?(this.state=Qt.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(pe)):(this._emitChars("</"),this.state=Qt.RCDATA,this._stateRcdata(pe))}handleSpecialEndTag(pe){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const Ge=this.currentToken;switch(Ge.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Qt.BEFORE_ATTRIBUTE_NAME,!1;case ot.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Qt.SELF_CLOSING_START_TAG,!1;case ot.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Qt.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(pe){this.handleSpecialEndTag(pe)&&(this._emitChars("</"),this.state=Qt.RCDATA,this._stateRcdata(pe))}_stateRawtextLessThanSign(pe){pe===ot.SOLIDUS?this.state=Qt.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Qt.RAWTEXT,this._stateRawtext(pe))}_stateRawtextEndTagOpen(pe){yr(pe)?(this.state=Qt.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(pe)):(this._emitChars("</"),this.state=Qt.RAWTEXT,this._stateRawtext(pe))}_stateRawtextEndTagName(pe){this.handleSpecialEndTag(pe)&&(this._emitChars("</"),this.state=Qt.RAWTEXT,this._stateRawtext(pe))}_stateScriptDataLessThanSign(pe){switch(pe){case ot.SOLIDUS:{this.state=Qt.SCRIPT_DATA_END_TAG_OPEN;break}case ot.EXCLAMATION_MARK:{this.state=Qt.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=Qt.SCRIPT_DATA,this._stateScriptData(pe)}}_stateScriptDataEndTagOpen(pe){yr(pe)?(this.state=Qt.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(pe)):(this._emitChars("</"),this.state=Qt.SCRIPT_DATA,this._stateScriptData(pe))}_stateScriptDataEndTagName(pe){this.handleSpecialEndTag(pe)&&(this._emitChars("</"),this.state=Qt.SCRIPT_DATA,this._stateScriptData(pe))}_stateScriptDataEscapeStart(pe){pe===ot.HYPHEN_MINUS?(this.state=Qt.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Qt.SCRIPT_DATA,this._stateScriptData(pe))}_stateScriptDataEscapeStartDash(pe){pe===ot.HYPHEN_MINUS?(this.state=Qt.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Qt.SCRIPT_DATA,this._stateScriptData(pe))}_stateScriptDataEscaped(pe){switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitChars(nt);break}case ot.EOF:{this._err(At.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateScriptDataEscapedDash(pe){switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.state=Qt.SCRIPT_DATA_ESCAPED,this._emitChars(nt);break}case ot.EOF:{this._err(At.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Qt.SCRIPT_DATA_ESCAPED,this._emitCodePoint(pe)}}_stateScriptDataEscapedDashDash(pe){switch(pe){case ot.HYPHEN_MINUS:{this._emitChars("-");break}case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case ot.GREATER_THAN_SIGN:{this.state=Qt.SCRIPT_DATA,this._emitChars(">");break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.state=Qt.SCRIPT_DATA_ESCAPED,this._emitChars(nt);break}case ot.EOF:{this._err(At.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Qt.SCRIPT_DATA_ESCAPED,this._emitCodePoint(pe)}}_stateScriptDataEscapedLessThanSign(pe){pe===ot.SOLIDUS?this.state=Qt.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:yr(pe)?(this._emitChars("<"),this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(pe)):(this._emitChars("<"),this.state=Qt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(pe))}_stateScriptDataEscapedEndTagOpen(pe){yr(pe)?(this.state=Qt.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(pe)):(this._emitChars("</"),this.state=Qt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(pe))}_stateScriptDataEscapedEndTagName(pe){this.handleSpecialEndTag(pe)&&(this._emitChars("</"),this.state=Qt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(pe))}_stateScriptDataDoubleEscapeStart(pe){if(this.preprocessor.startsWith(Jt.SCRIPT,!1)&&Ni(this.preprocessor.peek(Jt.SCRIPT.length))){this._emitCodePoint(pe);for(let Ge=0;Ge<Jt.SCRIPT.length;Ge++)this._emitCodePoint(this._consume());this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Qt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(pe))}_stateScriptDataDoubleEscaped(pe){switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this._emitChars(nt);break}case ot.EOF:{this._err(At.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateScriptDataDoubleEscapedDash(pe){switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nt);break}case ot.EOF:{this._err(At.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(pe)}}_stateScriptDataDoubleEscapedDashDash(pe){switch(pe){case ot.HYPHEN_MINUS:{this._emitChars("-");break}case ot.LESS_THAN_SIGN:{this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case ot.GREATER_THAN_SIGN:{this.state=Qt.SCRIPT_DATA,this._emitChars(">");break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nt);break}case ot.EOF:{this._err(At.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(pe)}}_stateScriptDataDoubleEscapedLessThanSign(pe){pe===ot.SOLIDUS?(this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(pe))}_stateScriptDataDoubleEscapeEnd(pe){if(this.preprocessor.startsWith(Jt.SCRIPT,!1)&&Ni(this.preprocessor.peek(Jt.SCRIPT.length))){this._emitCodePoint(pe);for(let Ge=0;Ge<Jt.SCRIPT.length;Ge++)this._emitCodePoint(this._consume());this.state=Qt.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Qt.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(pe))}_stateBeforeAttributeName(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.SOLIDUS:case ot.GREATER_THAN_SIGN:case ot.EOF:{this.state=Qt.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(pe);break}case ot.EQUALS_SIGN:{this._err(At.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Qt.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=Qt.ATTRIBUTE_NAME,this._stateAttributeName(pe)}}_stateAttributeName(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:case ot.SOLIDUS:case ot.GREATER_THAN_SIGN:case ot.EOF:{this._leaveAttrName(),this.state=Qt.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(pe);break}case ot.EQUALS_SIGN:{this._leaveAttrName(),this.state=Qt.BEFORE_ATTRIBUTE_VALUE;break}case ot.QUOTATION_MARK:case ot.APOSTROPHE:case ot.LESS_THAN_SIGN:{this._err(At.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(pe);break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.currentAttr.name+=nt;break}default:this.currentAttr.name+=String.fromCodePoint(dr(pe)?ri(pe):pe)}}_stateAfterAttributeName(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.SOLIDUS:{this.state=Qt.SELF_CLOSING_START_TAG;break}case ot.EQUALS_SIGN:{this.state=Qt.BEFORE_ATTRIBUTE_VALUE;break}case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentTagToken();break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=Qt.ATTRIBUTE_NAME,this._stateAttributeName(pe)}}_stateBeforeAttributeValue(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.QUOTATION_MARK:{this.state=Qt.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{this.state=Qt.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case ot.GREATER_THAN_SIGN:{this._err(At.missingAttributeValue),this.state=Qt.DATA,this.emitCurrentTagToken();break}default:this.state=Qt.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(pe)}}_stateAttributeValueDoubleQuoted(pe){switch(pe){case ot.QUOTATION_MARK:{this.state=Qt.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case ot.AMPERSAND:{this.returnState=Qt.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Qt.CHARACTER_REFERENCE;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.currentAttr.value+=nt;break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(pe)}}_stateAttributeValueSingleQuoted(pe){switch(pe){case ot.APOSTROPHE:{this.state=Qt.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case ot.AMPERSAND:{this.returnState=Qt.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Qt.CHARACTER_REFERENCE;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.currentAttr.value+=nt;break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(pe)}}_stateAttributeValueUnquoted(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this._leaveAttrValue(),this.state=Qt.BEFORE_ATTRIBUTE_NAME;break}case ot.AMPERSAND:{this.returnState=Qt.ATTRIBUTE_VALUE_UNQUOTED,this.state=Qt.CHARACTER_REFERENCE;break}case ot.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Qt.DATA,this.emitCurrentTagToken();break}case ot.NULL:{this._err(At.unexpectedNullCharacter),this.currentAttr.value+=nt;break}case ot.QUOTATION_MARK:case ot.APOSTROPHE:case ot.LESS_THAN_SIGN:case ot.EQUALS_SIGN:case ot.GRAVE_ACCENT:{this._err(At.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(pe);break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(pe)}}_stateAfterAttributeValueQuoted(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this._leaveAttrValue(),this.state=Qt.BEFORE_ATTRIBUTE_NAME;break}case ot.SOLIDUS:{this._leaveAttrValue(),this.state=Qt.SELF_CLOSING_START_TAG;break}case ot.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=Qt.DATA,this.emitCurrentTagToken();break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:this._err(At.missingWhitespaceBetweenAttributes),this.state=Qt.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(pe)}}_stateSelfClosingStartTag(pe){switch(pe){case ot.GREATER_THAN_SIGN:{const Ge=this.currentToken;Ge.selfClosing=!0,this.state=Qt.DATA,this.emitCurrentTagToken();break}case ot.EOF:{this._err(At.eofInTag),this._emitEOFToken();break}default:this._err(At.unexpectedSolidusInTag),this.state=Qt.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(pe)}}_stateBogusComment(pe){const Ge=this.currentToken;switch(pe){case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentComment(Ge);break}case ot.EOF:{this.emitCurrentComment(Ge),this._emitEOFToken();break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.data+=nt;break}default:Ge.data+=String.fromCodePoint(pe)}}_stateMarkupDeclarationOpen(pe){this._consumeSequenceIfMatch(Jt.DASH_DASH,!0)?(this._createCommentToken(Jt.DASH_DASH.length+1),this.state=Qt.COMMENT_START):this._consumeSequenceIfMatch(Jt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Jt.DOCTYPE.length+1),this.state=Qt.DOCTYPE):this._consumeSequenceIfMatch(Jt.CDATA_START,!0)?this.inForeignNode?this.state=Qt.CDATA_SECTION:(this._err(At.cdataInHtmlContent),this._createCommentToken(Jt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=Qt.BOGUS_COMMENT):this._ensureHibernation()||(this._err(At.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Qt.BOGUS_COMMENT,this._stateBogusComment(pe))}_stateCommentStart(pe){switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.COMMENT_START_DASH;break}case ot.GREATER_THAN_SIGN:{this._err(At.abruptClosingOfEmptyComment),this.state=Qt.DATA;const Ge=this.currentToken;this.emitCurrentComment(Ge);break}default:this.state=Qt.COMMENT,this._stateComment(pe)}}_stateCommentStartDash(pe){const Ge=this.currentToken;switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.COMMENT_END;break}case ot.GREATER_THAN_SIGN:{this._err(At.abruptClosingOfEmptyComment),this.state=Qt.DATA,this.emitCurrentComment(Ge);break}case ot.EOF:{this._err(At.eofInComment),this.emitCurrentComment(Ge),this._emitEOFToken();break}default:Ge.data+="-",this.state=Qt.COMMENT,this._stateComment(pe)}}_stateComment(pe){const Ge=this.currentToken;switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.COMMENT_END_DASH;break}case ot.LESS_THAN_SIGN:{Ge.data+="<",this.state=Qt.COMMENT_LESS_THAN_SIGN;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.data+=nt;break}case ot.EOF:{this._err(At.eofInComment),this.emitCurrentComment(Ge),this._emitEOFToken();break}default:Ge.data+=String.fromCodePoint(pe)}}_stateCommentLessThanSign(pe){const Ge=this.currentToken;switch(pe){case ot.EXCLAMATION_MARK:{Ge.data+="!",this.state=Qt.COMMENT_LESS_THAN_SIGN_BANG;break}case ot.LESS_THAN_SIGN:{Ge.data+="<";break}default:this.state=Qt.COMMENT,this._stateComment(pe)}}_stateCommentLessThanSignBang(pe){pe===ot.HYPHEN_MINUS?this.state=Qt.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Qt.COMMENT,this._stateComment(pe))}_stateCommentLessThanSignBangDash(pe){pe===ot.HYPHEN_MINUS?this.state=Qt.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Qt.COMMENT_END_DASH,this._stateCommentEndDash(pe))}_stateCommentLessThanSignBangDashDash(pe){pe!==ot.GREATER_THAN_SIGN&&pe!==ot.EOF&&this._err(At.nestedComment),this.state=Qt.COMMENT_END,this._stateCommentEnd(pe)}_stateCommentEndDash(pe){const Ge=this.currentToken;switch(pe){case ot.HYPHEN_MINUS:{this.state=Qt.COMMENT_END;break}case ot.EOF:{this._err(At.eofInComment),this.emitCurrentComment(Ge),this._emitEOFToken();break}default:Ge.data+="-",this.state=Qt.COMMENT,this._stateComment(pe)}}_stateCommentEnd(pe){const Ge=this.currentToken;switch(pe){case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentComment(Ge);break}case ot.EXCLAMATION_MARK:{this.state=Qt.COMMENT_END_BANG;break}case ot.HYPHEN_MINUS:{Ge.data+="-";break}case ot.EOF:{this._err(At.eofInComment),this.emitCurrentComment(Ge),this._emitEOFToken();break}default:Ge.data+="--",this.state=Qt.COMMENT,this._stateComment(pe)}}_stateCommentEndBang(pe){const Ge=this.currentToken;switch(pe){case ot.HYPHEN_MINUS:{Ge.data+="--!",this.state=Qt.COMMENT_END_DASH;break}case ot.GREATER_THAN_SIGN:{this._err(At.incorrectlyClosedComment),this.state=Qt.DATA,this.emitCurrentComment(Ge);break}case ot.EOF:{this._err(At.eofInComment),this.emitCurrentComment(Ge),this._emitEOFToken();break}default:Ge.data+="--!",this.state=Qt.COMMENT,this._stateComment(pe)}}_stateDoctype(pe){switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this.state=Qt.BEFORE_DOCTYPE_NAME;break}case ot.GREATER_THAN_SIGN:{this.state=Qt.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(pe);break}case ot.EOF:{this._err(At.eofInDoctype),this._createDoctypeToken(null);const Ge=this.currentToken;Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingWhitespaceBeforeDoctypeName),this.state=Qt.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(pe)}}_stateBeforeDoctypeName(pe){if(dr(pe))this._createDoctypeToken(String.fromCharCode(ri(pe))),this.state=Qt.DOCTYPE_NAME;else switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.NULL:{this._err(At.unexpectedNullCharacter),this._createDoctypeToken(nt),this.state=Qt.DOCTYPE_NAME;break}case ot.GREATER_THAN_SIGN:{this._err(At.missingDoctypeName),this._createDoctypeToken(null);const Ge=this.currentToken;Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofInDoctype),this._createDoctypeToken(null);const Ge=this.currentToken;Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(pe)),this.state=Qt.DOCTYPE_NAME}}_stateDoctypeName(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this.state=Qt.AFTER_DOCTYPE_NAME;break}case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.name+=nt;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:Ge.name+=String.fromCodePoint(dr(pe)?ri(pe):pe)}}_stateAfterDoctypeName(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Jt.PUBLIC,!1)?this.state=Qt.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Jt.SYSTEM,!1)?this.state=Qt.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(At.invalidCharacterSequenceAfterDoctypeName),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe))}}_stateAfterDoctypePublicKeyword(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this.state=Qt.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case ot.QUOTATION_MARK:{this._err(At.missingWhitespaceAfterDoctypePublicKeyword),Ge.publicId="",this.state=Qt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{this._err(At.missingWhitespaceAfterDoctypePublicKeyword),Ge.publicId="",this.state=Qt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case ot.GREATER_THAN_SIGN:{this._err(At.missingDoctypePublicIdentifier),Ge.forceQuirks=!0,this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingQuoteBeforeDoctypePublicIdentifier),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateBeforeDoctypePublicIdentifier(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.QUOTATION_MARK:{Ge.publicId="",this.state=Qt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{Ge.publicId="",this.state=Qt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case ot.GREATER_THAN_SIGN:{this._err(At.missingDoctypePublicIdentifier),Ge.forceQuirks=!0,this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingQuoteBeforeDoctypePublicIdentifier),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateDoctypePublicIdentifierDoubleQuoted(pe){const Ge=this.currentToken;switch(pe){case ot.QUOTATION_MARK:{this.state=Qt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.publicId+=nt;break}case ot.GREATER_THAN_SIGN:{this._err(At.abruptDoctypePublicIdentifier),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:Ge.publicId+=String.fromCodePoint(pe)}}_stateDoctypePublicIdentifierSingleQuoted(pe){const Ge=this.currentToken;switch(pe){case ot.APOSTROPHE:{this.state=Qt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.publicId+=nt;break}case ot.GREATER_THAN_SIGN:{this._err(At.abruptDoctypePublicIdentifier),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:Ge.publicId+=String.fromCodePoint(pe)}}_stateAfterDoctypePublicIdentifier(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this.state=Qt.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.QUOTATION_MARK:{this._err(At.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{this._err(At.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingQuoteBeforeDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateBetweenDoctypePublicAndSystemIdentifiers(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.QUOTATION_MARK:{Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingQuoteBeforeDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateAfterDoctypeSystemKeyword(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:{this.state=Qt.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case ot.QUOTATION_MARK:{this._err(At.missingWhitespaceAfterDoctypeSystemKeyword),Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{this._err(At.missingWhitespaceAfterDoctypeSystemKeyword),Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case ot.GREATER_THAN_SIGN:{this._err(At.missingDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingQuoteBeforeDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateBeforeDoctypeSystemIdentifier(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.QUOTATION_MARK:{Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case ot.APOSTROPHE:{Ge.systemId="",this.state=Qt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case ot.GREATER_THAN_SIGN:{this._err(At.missingDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.state=Qt.DATA,this.emitCurrentDoctype(Ge);break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.missingQuoteBeforeDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateDoctypeSystemIdentifierDoubleQuoted(pe){const Ge=this.currentToken;switch(pe){case ot.QUOTATION_MARK:{this.state=Qt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.systemId+=nt;break}case ot.GREATER_THAN_SIGN:{this._err(At.abruptDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:Ge.systemId+=String.fromCodePoint(pe)}}_stateDoctypeSystemIdentifierSingleQuoted(pe){const Ge=this.currentToken;switch(pe){case ot.APOSTROPHE:{this.state=Qt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case ot.NULL:{this._err(At.unexpectedNullCharacter),Ge.systemId+=nt;break}case ot.GREATER_THAN_SIGN:{this._err(At.abruptDoctypeSystemIdentifier),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:Ge.systemId+=String.fromCodePoint(pe)}}_stateAfterDoctypeSystemIdentifier(pe){const Ge=this.currentToken;switch(pe){case ot.SPACE:case ot.LINE_FEED:case ot.TABULATION:case ot.FORM_FEED:break;case ot.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.EOF:{this._err(At.eofInDoctype),Ge.forceQuirks=!0,this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:this._err(At.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Qt.BOGUS_DOCTYPE,this._stateBogusDoctype(pe)}}_stateBogusDoctype(pe){const Ge=this.currentToken;switch(pe){case ot.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Ge),this.state=Qt.DATA;break}case ot.NULL:{this._err(At.unexpectedNullCharacter);break}case ot.EOF:{this.emitCurrentDoctype(Ge),this._emitEOFToken();break}default:}}_stateCdataSection(pe){switch(pe){case ot.RIGHT_SQUARE_BRACKET:{this.state=Qt.CDATA_SECTION_BRACKET;break}case ot.EOF:{this._err(At.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(pe)}}_stateCdataSectionBracket(pe){pe===ot.RIGHT_SQUARE_BRACKET?this.state=Qt.CDATA_SECTION_END:(this._emitChars("]"),this.state=Qt.CDATA_SECTION,this._stateCdataSection(pe))}_stateCdataSectionEnd(pe){switch(pe){case ot.GREATER_THAN_SIGN:{this.state=Qt.DATA;break}case ot.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=Qt.CDATA_SECTION,this._stateCdataSection(pe)}}_stateCharacterReference(pe){pe===ot.NUMBER_SIGN?this.state=Qt.NUMERIC_CHARACTER_REFERENCE:On(pe)?(this.state=Qt.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(pe)):(this._flushCodePointConsumedAsCharacterReference(ot.AMPERSAND),this._reconsumeInState(this.returnState,pe))}_stateNamedCharacterReference(pe){const Ge=this._matchNamedCharacterReference(pe);if(!this._ensureHibernation())if(Ge){for(let Ct=0;Ct<Ge.length;Ct++)this._flushCodePointConsumedAsCharacterReference(Ge[Ct]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(ot.AMPERSAND),this.state=Qt.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(pe){On(pe)?this._flushCodePointConsumedAsCharacterReference(pe):(pe===ot.SEMICOLON&&this._err(At.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,pe))}_stateNumericCharacterReference(pe){this.charRefCode=0,pe===ot.LATIN_SMALL_X||pe===ot.LATIN_CAPITAL_X?this.state=Qt.HEXADEMICAL_CHARACTER_REFERENCE_START:oo(pe)?(this.state=Qt.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(pe)):(this._err(At.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(ot.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(ot.NUMBER_SIGN),this._reconsumeInState(this.returnState,pe))}_stateHexademicalCharacterReferenceStart(pe){Kn(pe)?(this.state=Qt.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(pe)):(this._err(At.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(ot.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(ot.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(pe){Ie(pe)?this.charRefCode=this.charRefCode*16+pe-55:Mn(pe)?this.charRefCode=this.charRefCode*16+pe-87:oo(pe)?this.charRefCode=this.charRefCode*16+pe-48:pe===ot.SEMICOLON?this.state=Qt.NUMERIC_CHARACTER_REFERENCE_END:(this._err(At.missingSemicolonAfterCharacterReference),this.state=Qt.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(pe))}_stateDecimalCharacterReference(pe){oo(pe)?this.charRefCode=this.charRefCode*10+pe-48:pe===ot.SEMICOLON?this.state=Qt.NUMERIC_CHARACTER_REFERENCE_END:(this._err(At.missingSemicolonAfterCharacterReference),this.state=Qt.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(pe))}_stateNumericCharacterReferenceEnd(pe){if(this.charRefCode===ot.NULL)this._err(At.nullCharacterReference),this.charRefCode=ot.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(At.characterReferenceOutsideUnicodeRange),this.charRefCode=ot.REPLACEMENT_CHARACTER;else if(In(this.charRefCode))this._err(At.surrogateCharacterReference),this.charRefCode=ot.REPLACEMENT_CHARACTER;else if(di(this.charRefCode))this._err(At.noncharacterCharacterReference);else if(Nn(this.charRefCode)||this.charRefCode===ot.CARRIAGE_RETURN){this._err(At.controlCharacterReference);const Ge=hi.get(this.charRefCode);Ge!==void 0&&(this.charRefCode=Ge)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,pe)}}const un=new Set([_e.DD,_e.DT,_e.LI,_e.OPTGROUP,_e.OPTION,_e.P,_e.RB,_e.RP,_e.RT,_e.RTC]),hn=new Set([...un,_e.CAPTION,_e.COLGROUP,_e.TBODY,_e.TD,_e.TFOOT,_e.TH,_e.THEAD,_e.TR]),Kt=new Map([[_e.APPLET,cn.HTML],[_e.CAPTION,cn.HTML],[_e.HTML,cn.HTML],[_e.MARQUEE,cn.HTML],[_e.OBJECT,cn.HTML],[_e.TABLE,cn.HTML],[_e.TD,cn.HTML],[_e.TEMPLATE,cn.HTML],[_e.TH,cn.HTML],[_e.ANNOTATION_XML,cn.MATHML],[_e.MI,cn.MATHML],[_e.MN,cn.MATHML],[_e.MO,cn.MATHML],[_e.MS,cn.MATHML],[_e.MTEXT,cn.MATHML],[_e.DESC,cn.SVG],[_e.FOREIGN_OBJECT,cn.SVG],[_e.TITLE,cn.SVG]]),bn=[_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6],Mi=[_e.TR,_e.TEMPLATE,_e.HTML],Oi=[_e.TBODY,_e.TFOOT,_e.THEAD,_e.TEMPLATE,_e.HTML],bi=[_e.TABLE,_e.TEMPLATE,_e.HTML],sn=[_e.TD,_e.TH];class Un{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(pe,Ge,Ct){this.treeAdapter=Ge,this.handler=Ct,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=_e.UNKNOWN,this.current=pe}_indexOf(pe){return this.items.lastIndexOf(pe,this.stackTop)}_isInTemplate(){return this.currentTagId===_e.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===cn.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(pe,Ge){this.stackTop++,this.items[this.stackTop]=pe,this.current=pe,this.tagIDs[this.stackTop]=Ge,this.currentTagId=Ge,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(pe,Ge,!0)}pop(){const pe=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(pe,!0)}replace(pe,Ge){const Ct=this._indexOf(pe);this.items[Ct]=Ge,Ct===this.stackTop&&(this.current=Ge)}insertAfter(pe,Ge,Ct){const gn=this._indexOf(pe)+1;this.items.splice(gn,0,Ge),this.tagIDs.splice(gn,0,Ct),this.stackTop++,gn===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,gn===this.stackTop)}popUntilTagNamePopped(pe){let Ge=this.stackTop+1;do Ge=this.tagIDs.lastIndexOf(pe,Ge-1);while(Ge>0&&this.treeAdapter.getNamespaceURI(this.items[Ge])!==cn.HTML);this.shortenToLength(Ge<0?0:Ge)}shortenToLength(pe){for(;this.stackTop>=pe;){const Ge=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(Ge,this.stackTop<pe)}}popUntilElementPopped(pe){const Ge=this._indexOf(pe);this.shortenToLength(Ge<0?0:Ge)}popUntilPopped(pe,Ge){const Ct=this._indexOfTagNames(pe,Ge);this.shortenToLength(Ct<0?0:Ct)}popUntilNumberedHeaderPopped(){this.popUntilPopped(bn,cn.HTML)}popUntilTableCellPopped(){this.popUntilPopped(sn,cn.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(pe,Ge){for(let Ct=this.stackTop;Ct>=0;Ct--)if(pe.includes(this.tagIDs[Ct])&&this.treeAdapter.getNamespaceURI(this.items[Ct])===Ge)return Ct;return-1}clearBackTo(pe,Ge){const Ct=this._indexOfTagNames(pe,Ge);this.shortenToLength(Ct+1)}clearBackToTableContext(){this.clearBackTo(bi,cn.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Oi,cn.HTML)}clearBackToTableRowContext(){this.clearBackTo(Mi,cn.HTML)}remove(pe){const Ge=this._indexOf(pe);Ge>=0&&(Ge===this.stackTop?this.pop():(this.items.splice(Ge,1),this.tagIDs.splice(Ge,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(pe,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===_e.BODY?this.items[1]:null}contains(pe){return this._indexOf(pe)>-1}getCommonAncestor(pe){const Ge=this._indexOf(pe)-1;return Ge>=0?this.items[Ge]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===_e.HTML}hasInScope(pe){for(let Ge=this.stackTop;Ge>=0;Ge--){const Ct=this.tagIDs[Ge],gn=this.treeAdapter.getNamespaceURI(this.items[Ge]);if(Ct===pe&&gn===cn.HTML)return!0;if(Kt.get(Ct)===gn)return!1}return!0}hasNumberedHeaderInScope(){for(let pe=this.stackTop;pe>=0;pe--){const Ge=this.tagIDs[pe],Ct=this.treeAdapter.getNamespaceURI(this.items[pe]);if(Lr(Ge)&&Ct===cn.HTML)return!0;if(Kt.get(Ge)===Ct)return!1}return!0}hasInListItemScope(pe){for(let Ge=this.stackTop;Ge>=0;Ge--){const Ct=this.tagIDs[Ge],gn=this.treeAdapter.getNamespaceURI(this.items[Ge]);if(Ct===pe&&gn===cn.HTML)return!0;if((Ct===_e.UL||Ct===_e.OL)&&gn===cn.HTML||Kt.get(Ct)===gn)return!1}return!0}hasInButtonScope(pe){for(let Ge=this.stackTop;Ge>=0;Ge--){const Ct=this.tagIDs[Ge],gn=this.treeAdapter.getNamespaceURI(this.items[Ge]);if(Ct===pe&&gn===cn.HTML)return!0;if(Ct===_e.BUTTON&&gn===cn.HTML||Kt.get(Ct)===gn)return!1}return!0}hasInTableScope(pe){for(let Ge=this.stackTop;Ge>=0;Ge--){const Ct=this.tagIDs[Ge];if(this.treeAdapter.getNamespaceURI(this.items[Ge])===cn.HTML){if(Ct===pe)return!0;if(Ct===_e.TABLE||Ct===_e.TEMPLATE||Ct===_e.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let pe=this.stackTop;pe>=0;pe--){const Ge=this.tagIDs[pe];if(this.treeAdapter.getNamespaceURI(this.items[pe])===cn.HTML){if(Ge===_e.TBODY||Ge===_e.THEAD||Ge===_e.TFOOT)return!0;if(Ge===_e.TABLE||Ge===_e.HTML)return!1}}return!0}hasInSelectScope(pe){for(let Ge=this.stackTop;Ge>=0;Ge--){const Ct=this.tagIDs[Ge];if(this.treeAdapter.getNamespaceURI(this.items[Ge])===cn.HTML){if(Ct===pe)return!0;if(Ct!==_e.OPTION&&Ct!==_e.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;un.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;hn.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(pe){for(;this.currentTagId!==pe&&hn.has(this.currentTagId);)this.pop()}}const Wi=3;var ir;(function(le){le[le.Marker=0]="Marker",le[le.Element=1]="Element"})(ir=ir||(ir={}));const si={type:ir.Marker};class tn{constructor(pe){this.treeAdapter=pe,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(pe,Ge){const Ct=[],gn=Ge.length,Cn=this.treeAdapter.getTagName(pe),ci=this.treeAdapter.getNamespaceURI(pe);for(let Ei=0;Ei<this.entries.length;Ei++){const ii=this.entries[Ei];if(ii.type===ir.Marker)break;const{element:Br}=ii;if(this.treeAdapter.getTagName(Br)===Cn&&this.treeAdapter.getNamespaceURI(Br)===ci){const Yo=this.treeAdapter.getAttrList(Br);Yo.length===gn&&Ct.push({idx:Ei,attrs:Yo})}}return Ct}_ensureNoahArkCondition(pe){if(this.entries.length<Wi)return;const Ge=this.treeAdapter.getAttrList(pe),Ct=this._getNoahArkConditionCandidates(pe,Ge);if(Ct.length<Wi)return;const gn=new Map(Ge.map(ci=>[ci.name,ci.value]));let Cn=0;for(let ci=0;ci<Ct.length;ci++){const Ei=Ct[ci];Ei.attrs.every(ii=>gn.get(ii.name)===ii.value)&&(Cn+=1,Cn>=Wi&&this.entries.splice(Ei.idx,1))}}insertMarker(){this.entries.unshift(si)}pushElement(pe,Ge){this._ensureNoahArkCondition(pe),this.entries.unshift({type:ir.Element,element:pe,token:Ge})}insertElementAfterBookmark(pe,Ge){const Ct=this.entries.indexOf(this.bookmark);this.entries.splice(Ct,0,{type:ir.Element,element:pe,token:Ge})}removeEntry(pe){const Ge=this.entries.indexOf(pe);Ge>=0&&this.entries.splice(Ge,1)}clearToLastMarker(){const pe=this.entries.indexOf(si);pe>=0?this.entries.splice(0,pe+1):this.entries.length=0}getElementEntryInScopeWithTagName(pe){const Ge=this.entries.find(Ct=>Ct.type===ir.Marker||this.treeAdapter.getTagName(Ct.element)===pe);return Ge&&Ge.type===ir.Element?Ge:null}getElementEntry(pe){return this.entries.find(Ge=>Ge.type===ir.Element&&Ge.element===pe)}}function Hi(le){return{nodeName:"#text",value:le,parentNode:null}}const lr={createDocument(){return{nodeName:"#document",mode:Xi.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(le,pe,Ge){return{nodeName:le,tagName:le,attrs:Ge,namespaceURI:pe,childNodes:[],parentNode:null}},createCommentNode(le){return{nodeName:"#comment",data:le,parentNode:null}},appendChild(le,pe){le.childNodes.push(pe),pe.parentNode=le},insertBefore(le,pe,Ge){const Ct=le.childNodes.indexOf(Ge);le.childNodes.splice(Ct,0,pe),pe.parentNode=le},setTemplateContent(le,pe){le.content=pe},getTemplateContent(le){return le.content},setDocumentType(le,pe,Ge,Ct){const gn=le.childNodes.find(Cn=>Cn.nodeName==="#documentType");if(gn)gn.name=pe,gn.publicId=Ge,gn.systemId=Ct;else{const Cn={nodeName:"#documentType",name:pe,publicId:Ge,systemId:Ct,parentNode:null};lr.appendChild(le,Cn)}},setDocumentMode(le,pe){le.mode=pe},getDocumentMode(le){return le.mode},detachNode(le){if(le.parentNode){const pe=le.parentNode.childNodes.indexOf(le);le.parentNode.childNodes.splice(pe,1),le.parentNode=null}},insertText(le,pe){if(le.childNodes.length>0){const Ge=le.childNodes[le.childNodes.length-1];if(lr.isTextNode(Ge)){Ge.value+=pe;return}}lr.appendChild(le,Hi(pe))},insertTextBefore(le,pe,Ge){const Ct=le.childNodes[le.childNodes.indexOf(Ge)-1];Ct&&lr.isTextNode(Ct)?Ct.value+=pe:lr.insertBefore(le,Hi(pe),Ge)},adoptAttributes(le,pe){const Ge=new Set(le.attrs.map(Ct=>Ct.name));for(let Ct=0;Ct<pe.length;Ct++)Ge.has(pe[Ct].name)||le.attrs.push(pe[Ct])},getFirstChild(le){return le.childNodes[0]},getChildNodes(le){return le.childNodes},getParentNode(le){return le.parentNode},getAttrList(le){return le.attrs},getTagName(le){return le.tagName},getNamespaceURI(le){return le.namespaceURI},getTextNodeContent(le){return le.value},getCommentNodeContent(le){return le.data},getDocumentTypeNodeName(le){return le.name},getDocumentTypeNodePublicId(le){return le.publicId},getDocumentTypeNodeSystemId(le){return le.systemId},isTextNode(le){return le.nodeName==="#text"},isCommentNode(le){return le.nodeName==="#comment"},isDocumentTypeNode(le){return le.nodeName==="#documentType"},isElementNode(le){return Object.prototype.hasOwnProperty.call(le,"tagName")},setNodeSourceCodeLocation(le,pe){le.sourceCodeLocation=pe},getNodeSourceCodeLocation(le){return le.sourceCodeLocation},updateNodeSourceCodeLocation(le,pe){le.sourceCodeLocation=Ks(Ks({},le.sourceCodeLocation),pe)}},Hr="html",jn="about:legacy-compat",qi="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ao=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],jo=[...ao,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ko=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Vi=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Qi=[...Vi,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function sr(le,pe){return pe.some(Ge=>le.startsWith(Ge))}function Zr(le){return le.name===Hr&&le.publicId===null&&(le.systemId===null||le.systemId===jn)}function Io(le){if(le.name!==Hr)return Xi.QUIRKS;const{systemId:pe}=le;if(pe&&pe.toLowerCase()===qi)return Xi.QUIRKS;let{publicId:Ge}=le;if(Ge!==null){if(Ge=Ge.toLowerCase(),ko.has(Ge))return Xi.QUIRKS;let Ct=pe===null?jo:ao;if(sr(Ge,Ct))return Xi.QUIRKS;if(Ct=pe===null?Vi:Qi,sr(Ge,Ct))return Xi.LIMITED_QUIRKS}return Xi.NO_QUIRKS}const Si={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},mr="definitionurl",ja="definitionURL",Ha=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(le=>[le.toLowerCase(),le])),Sa=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:cn.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:cn.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:cn.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:cn.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:cn.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:cn.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:cn.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:cn.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:cn.XML}],["xml:space",{prefix:"xml",name:"space",namespace:cn.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:cn.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:cn.XMLNS}]]),nn=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(le=>[le.toLowerCase(),le])),pr=new Set([_e.B,_e.BIG,_e.BLOCKQUOTE,_e.BODY,_e.BR,_e.CENTER,_e.CODE,_e.DD,_e.DIV,_e.DL,_e.DT,_e.EM,_e.EMBED,_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6,_e.HEAD,_e.HR,_e.I,_e.IMG,_e.LI,_e.LISTING,_e.MENU,_e.META,_e.NOBR,_e.OL,_e.P,_e.PRE,_e.RUBY,_e.S,_e.SMALL,_e.SPAN,_e.STRONG,_e.STRIKE,_e.SUB,_e.SUP,_e.TABLE,_e.TT,_e.U,_e.UL,_e.VAR]);function Jr(le){const pe=le.tagID;return pe===_e.FONT&&le.attrs.some(({name:Ct})=>Ct===tr.COLOR||Ct===tr.SIZE||Ct===tr.FACE)||pr.has(pe)}function vr(le){for(let pe=0;pe<le.attrs.length;pe++)if(le.attrs[pe].name===mr){le.attrs[pe].name=ja;break}}function ia(le){for(let pe=0;pe<le.attrs.length;pe++){const Ge=Ha.get(le.attrs[pe].name);Ge!=null&&(le.attrs[pe].name=Ge)}}function vo(le){for(let pe=0;pe<le.attrs.length;pe++){const Ge=Sa.get(le.attrs[pe].name);Ge&&(le.attrs[pe].prefix=Ge.prefix,le.attrs[pe].name=Ge.name,le.attrs[pe].namespace=Ge.namespace)}}function Po(le){const pe=nn.get(le.tagName);pe!=null&&(le.tagName=pe,le.tagID=er(le.tagName))}function bo(le,pe){return pe===cn.MATHML&&(le===_e.MI||le===_e.MO||le===_e.MN||le===_e.MS||le===_e.MTEXT)}function so(le,pe,Ge){if(pe===cn.MATHML&&le===_e.ANNOTATION_XML){for(let Ct=0;Ct<Ge.length;Ct++)if(Ge[Ct].name===tr.ENCODING){const gn=Ge[Ct].value.toLowerCase();return gn===Si.TEXT_HTML||gn===Si.APPLICATION_XML}}return pe===cn.SVG&&(le===_e.FOREIGN_OBJECT||le===_e.DESC||le===_e.TITLE)}function Do(le,pe,Ge,Ct){return(!Ct||Ct===cn.HTML)&&so(le,pe,Ge)||(!Ct||Ct===cn.MATHML)&&bo(le,pe)}const Qn="hidden",$o=8,Rt=3;var ut;(function(le){le[le.INITIAL=0]="INITIAL",le[le.BEFORE_HTML=1]="BEFORE_HTML",le[le.BEFORE_HEAD=2]="BEFORE_HEAD",le[le.IN_HEAD=3]="IN_HEAD",le[le.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",le[le.AFTER_HEAD=5]="AFTER_HEAD",le[le.IN_BODY=6]="IN_BODY",le[le.TEXT=7]="TEXT",le[le.IN_TABLE=8]="IN_TABLE",le[le.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",le[le.IN_CAPTION=10]="IN_CAPTION",le[le.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",le[le.IN_TABLE_BODY=12]="IN_TABLE_BODY",le[le.IN_ROW=13]="IN_ROW",le[le.IN_CELL=14]="IN_CELL",le[le.IN_SELECT=15]="IN_SELECT",le[le.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",le[le.IN_TEMPLATE=17]="IN_TEMPLATE",le[le.AFTER_BODY=18]="AFTER_BODY",le[le.IN_FRAMESET=19]="IN_FRAMESET",le[le.AFTER_FRAMESET=20]="AFTER_FRAMESET",le[le.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",le[le.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(ut||(ut={}));const Dn={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Lt=new Set([_e.TABLE,_e.TBODY,_e.TFOOT,_e.THEAD,_e.TR]),Ft={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:lr,onParseError:null};class Yt{constructor(pe,Ge,Ct=null,gn=null){this.fragmentContext=Ct,this.scriptHandler=gn,this.currentToken=null,this.stopped=!1,this.insertionMode=ut.INITIAL,this.originalInsertionMode=ut.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=Ks(Ks({},Ft),pe),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=Ge!=null?Ge:this.treeAdapter.createDocument(),this.tokenizer=new hr(this.options,this),this.activeFormattingElements=new tn(this.treeAdapter),this.fragmentContextID=Ct?er(this.treeAdapter.getTagName(Ct)):_e.UNKNOWN,this._setContextModes(Ct!=null?Ct:this.document,this.fragmentContextID),this.openElements=new Un(this.document,this.treeAdapter,this)}static parse(pe,Ge){const Ct=new this(Ge);return Ct.tokenizer.write(pe,!0),Ct.document}static getFragmentParser(pe,Ge){const Ct=Ks(Ks({},Ft),Ge);pe!=null||(pe=Ct.treeAdapter.createElement($t.TEMPLATE,cn.HTML,[]));const gn=Ct.treeAdapter.createElement("documentmock",cn.HTML,[]),Cn=new this(Ct,gn,pe);return Cn.fragmentContextID===_e.TEMPLATE&&Cn.tmplInsertionModeStack.unshift(ut.IN_TEMPLATE),Cn._initTokenizerForFragmentParsing(),Cn._insertFakeRootElement(),Cn._resetInsertionMode(),Cn._findFormInFragmentContext(),Cn}getFragment(){const pe=this.treeAdapter.getFirstChild(this.document),Ge=this.treeAdapter.createDocumentFragment();return this._adoptNodes(pe,Ge),Ge}_err(pe,Ge,Ct){var gn;if(!this.onParseError)return;const Cn=(gn=pe.location)!==null&&gn!==void 0?gn:Dn,ci={code:Ge,startLine:Cn.startLine,startCol:Cn.startCol,startOffset:Cn.startOffset,endLine:Ct?Cn.startLine:Cn.endLine,endCol:Ct?Cn.startCol:Cn.endCol,endOffset:Ct?Cn.startOffset:Cn.endOffset};this.onParseError(ci)}onItemPush(pe,Ge,Ct){var gn,Cn;(Cn=(gn=this.treeAdapter).onItemPush)===null||Cn===void 0||Cn.call(gn,pe),Ct&&this.openElements.stackTop>0&&this._setContextModes(pe,Ge)}onItemPop(pe,Ge){var Ct,gn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(pe,this.currentToken),(gn=(Ct=this.treeAdapter).onItemPop)===null||gn===void 0||gn.call(Ct,pe,this.openElements.current),Ge){let Cn,ci;this.openElements.stackTop===0&&this.fragmentContext?(Cn=this.fragmentContext,ci=this.fragmentContextID):{current:Cn,currentTagId:ci}=this.openElements,this._setContextModes(Cn,ci)}}_setContextModes(pe,Ge){const Ct=pe===this.document||this.treeAdapter.getNamespaceURI(pe)===cn.HTML;this.currentNotInHTML=!Ct,this.tokenizer.inForeignNode=!Ct&&!this._isIntegrationPoint(Ge,pe)}_switchToTextParsing(pe,Ge){this._insertElement(pe,cn.HTML),this.tokenizer.state=Ge,this.originalInsertionMode=this.insertionMode,this.insertionMode=ut.TEXT}switchToPlaintextParsing(){this.insertionMode=ut.TEXT,this.originalInsertionMode=ut.IN_BODY,this.tokenizer.state=Wr.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let pe=this.fragmentContext;for(;pe;){if(this.treeAdapter.getTagName(pe)===$t.FORM){this.formElement=pe;break}pe=this.treeAdapter.getParentNode(pe)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==cn.HTML))switch(this.fragmentContextID){case _e.TITLE:case _e.TEXTAREA:{this.tokenizer.state=Wr.RCDATA;break}case _e.STYLE:case _e.XMP:case _e.IFRAME:case _e.NOEMBED:case _e.NOFRAMES:case _e.NOSCRIPT:{this.tokenizer.state=Wr.RAWTEXT;break}case _e.SCRIPT:{this.tokenizer.state=Wr.SCRIPT_DATA;break}case _e.PLAINTEXT:{this.tokenizer.state=Wr.PLAINTEXT;break}default:}}_setDocumentType(pe){const Ge=pe.name||"",Ct=pe.publicId||"",gn=pe.systemId||"";if(this.treeAdapter.setDocumentType(this.document,Ge,Ct,gn),pe.location){const ci=this.treeAdapter.getChildNodes(this.document).find(Ei=>this.treeAdapter.isDocumentTypeNode(Ei));ci&&this.treeAdapter.setNodeSourceCodeLocation(ci,pe.location)}}_attachElementToTree(pe,Ge){if(this.options.sourceCodeLocationInfo){const Ct=Ge&&Kf(Ks({},Ge),{startTag:Ge});this.treeAdapter.setNodeSourceCodeLocation(pe,Ct)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(pe);else{const Ct=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Ct,pe)}}_appendElement(pe,Ge){const Ct=this.treeAdapter.createElement(pe.tagName,Ge,pe.attrs);this._attachElementToTree(Ct,pe.location)}_insertElement(pe,Ge){const Ct=this.treeAdapter.createElement(pe.tagName,Ge,pe.attrs);this._attachElementToTree(Ct,pe.location),this.openElements.push(Ct,pe.tagID)}_insertFakeElement(pe,Ge){const Ct=this.treeAdapter.createElement(pe,cn.HTML,[]);this._attachElementToTree(Ct,null),this.openElements.push(Ct,Ge)}_insertTemplate(pe){const Ge=this.treeAdapter.createElement(pe.tagName,cn.HTML,pe.attrs),Ct=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Ge,Ct),this._attachElementToTree(Ge,pe.location),this.openElements.push(Ge,pe.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ct,null)}_insertFakeRootElement(){const pe=this.treeAdapter.createElement($t.HTML,cn.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(pe,null),this.treeAdapter.appendChild(this.openElements.current,pe),this.openElements.push(pe,_e.HTML)}_appendCommentNode(pe,Ge){const Ct=this.treeAdapter.createCommentNode(pe.data);this.treeAdapter.appendChild(Ge,Ct),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ct,pe.location)}_insertCharacters(pe){let Ge,Ct;if(this._shouldFosterParentOnInsertion()?({parent:Ge,beforeElement:Ct}=this._findFosterParentingLocation(),Ct?this.treeAdapter.insertTextBefore(Ge,pe.chars,Ct):this.treeAdapter.insertText(Ge,pe.chars)):(Ge=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(Ge,pe.chars)),!pe.location)return;const gn=this.treeAdapter.getChildNodes(Ge),Cn=Ct?gn.lastIndexOf(Ct):gn.length,ci=gn[Cn-1];if(this.treeAdapter.getNodeSourceCodeLocation(ci)){const{endLine:ii,endCol:Br,endOffset:Yo}=pe.location;this.treeAdapter.updateNodeSourceCodeLocation(ci,{endLine:ii,endCol:Br,endOffset:Yo})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ci,pe.location)}_adoptNodes(pe,Ge){for(let Ct=this.treeAdapter.getFirstChild(pe);Ct;Ct=this.treeAdapter.getFirstChild(pe))this.treeAdapter.detachNode(Ct),this.treeAdapter.appendChild(Ge,Ct)}_setEndLocation(pe,Ge){if(this.treeAdapter.getNodeSourceCodeLocation(pe)&&Ge.location){const Ct=Ge.location,gn=this.treeAdapter.getTagName(pe),Cn=Ge.type===Wt.END_TAG&&gn===Ge.tagName?{endTag:Ks({},Ct),endLine:Ct.endLine,endCol:Ct.endCol,endOffset:Ct.endOffset}:{endLine:Ct.startLine,endCol:Ct.startCol,endOffset:Ct.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(pe,Cn)}}shouldProcessStartTagTokenInForeignContent(pe){if(!this.currentNotInHTML)return!1;let Ge,Ct;return this.openElements.stackTop===0&&this.fragmentContext?(Ge=this.fragmentContext,Ct=this.fragmentContextID):{current:Ge,currentTagId:Ct}=this.openElements,pe.tagID===_e.SVG&&this.treeAdapter.getTagName(Ge)===$t.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(Ge)===cn.MATHML?!1:this.tokenizer.inForeignNode||(pe.tagID===_e.MGLYPH||pe.tagID===_e.MALIGNMARK)&&!this._isIntegrationPoint(Ct,Ge,cn.HTML)}_processToken(pe){switch(pe.type){case Wt.CHARACTER:{this.onCharacter(pe);break}case Wt.NULL_CHARACTER:{this.onNullCharacter(pe);break}case Wt.COMMENT:{this.onComment(pe);break}case Wt.DOCTYPE:{this.onDoctype(pe);break}case Wt.START_TAG:{this._processStartTag(pe);break}case Wt.END_TAG:{this.onEndTag(pe);break}case Wt.EOF:{this.onEof(pe);break}case Wt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(pe);break}}}_isIntegrationPoint(pe,Ge,Ct){const gn=this.treeAdapter.getNamespaceURI(Ge),Cn=this.treeAdapter.getAttrList(Ge);return Do(pe,gn,Cn,Ct)}_reconstructActiveFormattingElements(){const pe=this.activeFormattingElements.entries.length;if(pe){const Ge=this.activeFormattingElements.entries.findIndex(gn=>gn.type===ir.Marker||this.openElements.contains(gn.element)),Ct=Ge<0?pe-1:Ge-1;for(let gn=Ct;gn>=0;gn--){const Cn=this.activeFormattingElements.entries[gn];this._insertElement(Cn.token,this.treeAdapter.getNamespaceURI(Cn.element)),Cn.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ut.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(_e.P),this.openElements.popUntilTagNamePopped(_e.P)}_resetInsertionMode(){for(let pe=this.openElements.stackTop;pe>=0;pe--)switch(pe===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[pe]){case _e.TR:{this.insertionMode=ut.IN_ROW;return}case _e.TBODY:case _e.THEAD:case _e.TFOOT:{this.insertionMode=ut.IN_TABLE_BODY;return}case _e.CAPTION:{this.insertionMode=ut.IN_CAPTION;return}case _e.COLGROUP:{this.insertionMode=ut.IN_COLUMN_GROUP;return}case _e.TABLE:{this.insertionMode=ut.IN_TABLE;return}case _e.BODY:{this.insertionMode=ut.IN_BODY;return}case _e.FRAMESET:{this.insertionMode=ut.IN_FRAMESET;return}case _e.SELECT:{this._resetInsertionModeForSelect(pe);return}case _e.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case _e.HTML:{this.insertionMode=this.headElement?ut.AFTER_HEAD:ut.BEFORE_HEAD;return}case _e.TD:case _e.TH:{if(pe>0){this.insertionMode=ut.IN_CELL;return}break}case _e.HEAD:{if(pe>0){this.insertionMode=ut.IN_HEAD;return}break}}this.insertionMode=ut.IN_BODY}_resetInsertionModeForSelect(pe){if(pe>0)for(let Ge=pe-1;Ge>0;Ge--){const Ct=this.openElements.tagIDs[Ge];if(Ct===_e.TEMPLATE)break;if(Ct===_e.TABLE){this.insertionMode=ut.IN_SELECT_IN_TABLE;return}}this.insertionMode=ut.IN_SELECT}_isElementCausesFosterParenting(pe){return Lt.has(pe)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let pe=this.openElements.stackTop;pe>=0;pe--){const Ge=this.openElements.items[pe];switch(this.openElements.tagIDs[pe]){case _e.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(Ge)===cn.HTML)return{parent:this.treeAdapter.getTemplateContent(Ge),beforeElement:null};break}case _e.TABLE:{const Ct=this.treeAdapter.getParentNode(Ge);return Ct?{parent:Ct,beforeElement:Ge}:{parent:this.openElements.items[pe-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(pe){const Ge=this._findFosterParentingLocation();Ge.beforeElement?this.treeAdapter.insertBefore(Ge.parent,pe,Ge.beforeElement):this.treeAdapter.appendChild(Ge.parent,pe)}_isSpecialElement(pe,Ge){const Ct=this.treeAdapter.getNamespaceURI(pe);return Rr[Ct].has(Ge)}onCharacter(pe){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Rd(this,pe);return}switch(this.insertionMode){case ut.INITIAL:{Mo(this,pe);break}case ut.BEFORE_HTML:{or(this,pe);break}case ut.BEFORE_HEAD:{ji(this,pe);break}case ut.IN_HEAD:{Gr(this,pe);break}case ut.IN_HEAD_NO_SCRIPT:{yo(this,pe);break}case ut.AFTER_HEAD:{ua(this,pe);break}case ut.IN_BODY:case ut.IN_CAPTION:case ut.IN_CELL:case ut.IN_TEMPLATE:{qo(this,pe);break}case ut.TEXT:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:{this._insertCharacters(pe);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{Zn(this,pe);break}case ut.IN_TABLE_TEXT:{Ht(this,pe);break}case ut.IN_COLUMN_GROUP:{_s(this,pe);break}case ut.AFTER_BODY:{Qo(this,pe);break}case ut.AFTER_AFTER_BODY:{Or(this,pe);break}default:}}onNullCharacter(pe){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ra(this,pe);return}switch(this.insertionMode){case ut.INITIAL:{Mo(this,pe);break}case ut.BEFORE_HTML:{or(this,pe);break}case ut.BEFORE_HEAD:{ji(this,pe);break}case ut.IN_HEAD:{Gr(this,pe);break}case ut.IN_HEAD_NO_SCRIPT:{yo(this,pe);break}case ut.AFTER_HEAD:{ua(this,pe);break}case ut.TEXT:{this._insertCharacters(pe);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{Zn(this,pe);break}case ut.IN_COLUMN_GROUP:{_s(this,pe);break}case ut.AFTER_BODY:{Qo(this,pe);break}case ut.AFTER_AFTER_BODY:{Or(this,pe);break}default:}}onComment(pe){if(this.skipNextNewLine=!1,this.currentNotInHTML){_r(this,pe);return}switch(this.insertionMode){case ut.INITIAL:case ut.BEFORE_HTML:case ut.BEFORE_HEAD:case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:case ut.IN_BODY:case ut.IN_TABLE:case ut.IN_CAPTION:case ut.IN_COLUMN_GROUP:case ut.IN_TABLE_BODY:case ut.IN_ROW:case ut.IN_CELL:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:case ut.IN_TEMPLATE:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:{_r(this,pe);break}case ut.IN_TABLE_TEXT:{Jn(this,pe);break}case ut.AFTER_BODY:{to(this,pe);break}case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{lo(this,pe);break}default:}}onDoctype(pe){switch(this.skipNextNewLine=!1,this.insertionMode){case ut.INITIAL:{Vr(this,pe);break}case ut.BEFORE_HEAD:case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:{this._err(pe,At.misplacedDoctype);break}case ut.IN_TABLE_TEXT:{Jn(this,pe);break}default:}}onStartTag(pe){this.skipNextNewLine=!1,this.currentToken=pe,this._processStartTag(pe),pe.selfClosing&&!pe.ackSelfClosing&&this._err(pe,At.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(pe){this.shouldProcessStartTagTokenInForeignContent(pe)?_c(this,pe):this._startTagOutsideForeignContent(pe)}_startTagOutsideForeignContent(pe){switch(this.insertionMode){case ut.INITIAL:{Mo(this,pe);break}case ut.BEFORE_HTML:{co(this,pe);break}case ut.BEFORE_HEAD:{Di(this,pe);break}case ut.IN_HEAD:{fn(this,pe);break}case ut.IN_HEAD_NO_SCRIPT:{io(this,pe);break}case ut.AFTER_HEAD:{ea(this,pe);break}case ut.IN_BODY:{za(this,pe);break}case ut.IN_TABLE:{Ia(this,pe);break}case ut.IN_TABLE_TEXT:{Jn(this,pe);break}case ut.IN_CAPTION:{Mu(this,pe);break}case ut.IN_COLUMN_GROUP:{nl(this,pe);break}case ut.IN_TABLE_BODY:{il(this,pe);break}case ut.IN_ROW:{eo(this,pe);break}case ut.IN_CELL:{bl(this,pe);break}case ut.IN_SELECT:{Ho(this,pe);break}case ut.IN_SELECT_IN_TABLE:{rl(this,pe);break}case ut.IN_TEMPLATE:{fl(this,pe);break}case ut.AFTER_BODY:{da(this,pe);break}case ut.IN_FRAMESET:{Oa(this,pe);break}case ut.AFTER_FRAMESET:{is(this,pe);break}case ut.AFTER_AFTER_BODY:{lc(this,pe);break}case ut.AFTER_AFTER_FRAMESET:{Md(this,pe);break}default:}}onEndTag(pe){this.skipNextNewLine=!1,this.currentToken=pe,this.currentNotInHTML?fd(this,pe):this._endTagOutsideForeignContent(pe)}_endTagOutsideForeignContent(pe){switch(this.insertionMode){case ut.INITIAL:{Mo(this,pe);break}case ut.BEFORE_HTML:{Ir(this,pe);break}case ut.BEFORE_HEAD:{Ci(this,pe);break}case ut.IN_HEAD:{$i(this,pe);break}case ut.IN_HEAD_NO_SCRIPT:{qr(this,pe);break}case ut.AFTER_HEAD:{Zo(this,pe);break}case ut.IN_BODY:{$a(this,pe);break}case ut.TEXT:{Bc(this,pe);break}case ut.IN_TABLE:{gs(this,pe);break}case ut.IN_TABLE_TEXT:{Jn(this,pe);break}case ut.IN_CAPTION:{Ul(this,pe);break}case ut.IN_COLUMN_GROUP:{Js(this,pe);break}case ut.IN_TABLE_BODY:{_a(this,pe);break}case ut.IN_ROW:{Zs(this,pe);break}case ut.IN_CELL:{Ga(this,pe);break}case ut.IN_SELECT:{ys(this,pe);break}case ut.IN_SELECT_IN_TABLE:{Wa(this,pe);break}case ut.IN_TEMPLATE:{Us(this,pe);break}case ut.AFTER_BODY:{Vs(this,pe);break}case ut.IN_FRAMESET:{Va(this,pe);break}case ut.AFTER_FRAMESET:{va(this,pe);break}case ut.AFTER_AFTER_BODY:{Or(this,pe);break}default:}}onEof(pe){switch(this.insertionMode){case ut.INITIAL:{Mo(this,pe);break}case ut.BEFORE_HTML:{or(this,pe);break}case ut.BEFORE_HEAD:{ji(this,pe);break}case ut.IN_HEAD:{Gr(this,pe);break}case ut.IN_HEAD_NO_SCRIPT:{yo(this,pe);break}case ut.AFTER_HEAD:{ua(this,pe);break}case ut.IN_BODY:case ut.IN_TABLE:case ut.IN_CAPTION:case ut.IN_COLUMN_GROUP:case ut.IN_TABLE_BODY:case ut.IN_ROW:case ut.IN_CELL:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:{Fc(this,pe);break}case ut.TEXT:{Iu(this,pe);break}case ut.IN_TABLE_TEXT:{Jn(this,pe);break}case ut.IN_TEMPLATE:{yu(this,pe);break}case ut.AFTER_BODY:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{uo(this,pe);break}default:}}onWhitespaceCharacter(pe){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,pe.chars.charCodeAt(0)===ot.LINE_FEED)){if(pe.chars.length===1)return;pe.chars=pe.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(pe);return}switch(this.insertionMode){case ut.IN_HEAD:case ut.IN_HEAD_NO_SCRIPT:case ut.AFTER_HEAD:case ut.TEXT:case ut.IN_COLUMN_GROUP:case ut.IN_SELECT:case ut.IN_SELECT_IN_TABLE:case ut.IN_FRAMESET:case ut.AFTER_FRAMESET:{this._insertCharacters(pe);break}case ut.IN_BODY:case ut.IN_CAPTION:case ut.IN_CELL:case ut.IN_TEMPLATE:case ut.AFTER_BODY:case ut.AFTER_AFTER_BODY:case ut.AFTER_AFTER_FRAMESET:{an(this,pe);break}case ut.IN_TABLE:case ut.IN_TABLE_BODY:case ut.IN_ROW:{Zn(this,pe);break}case ut.IN_TABLE_TEXT:{_l(this,pe);break}default:}}}function pn(le,pe){let Ge=le.activeFormattingElements.getElementEntryInScopeWithTagName(pe.tagName);return Ge?le.openElements.contains(Ge.element)?le.openElements.hasInScope(pe.tagID)||(Ge=null):(le.activeFormattingElements.removeEntry(Ge),Ge=null):Ku(le,pe),Ge}function ti(le,pe){let Ge=null,Ct=le.openElements.stackTop;for(;Ct>=0;Ct--){const gn=le.openElements.items[Ct];if(gn===pe.element)break;le._isSpecialElement(gn,le.openElements.tagIDs[Ct])&&(Ge=gn)}return Ge||(le.openElements.shortenToLength(Ct<0?0:Ct),le.activeFormattingElements.removeEntry(pe)),Ge}function Li(le,pe,Ge){let Ct=pe,gn=le.openElements.getCommonAncestor(pe);for(let Cn=0,ci=gn;ci!==Ge;Cn++,ci=gn){gn=le.openElements.getCommonAncestor(ci);const Ei=le.activeFormattingElements.getElementEntry(ci),ii=Ei&&Cn>=Rt;!Ei||ii?(ii&&le.activeFormattingElements.removeEntry(Ei),le.openElements.remove(ci)):(ci=Pi(le,Ei),Ct===pe&&(le.activeFormattingElements.bookmark=Ei),le.treeAdapter.detachNode(Ct),le.treeAdapter.appendChild(ci,Ct),Ct=ci)}return Ct}function Pi(le,pe){const Ge=le.treeAdapter.getNamespaceURI(pe.element),Ct=le.treeAdapter.createElement(pe.token.tagName,Ge,pe.token.attrs);return le.openElements.replace(pe.element,Ct),pe.element=Ct,Ct}function Fn(le,pe,Ge){const Ct=le.treeAdapter.getTagName(pe),gn=er(Ct);if(le._isElementCausesFosterParenting(gn))le._fosterParentElement(Ge);else{const Cn=le.treeAdapter.getNamespaceURI(pe);gn===_e.TEMPLATE&&Cn===cn.HTML&&(pe=le.treeAdapter.getTemplateContent(pe)),le.treeAdapter.appendChild(pe,Ge)}}function st(le,pe,Ge){const Ct=le.treeAdapter.getNamespaceURI(Ge.element),{token:gn}=Ge,Cn=le.treeAdapter.createElement(gn.tagName,Ct,gn.attrs);le._adoptNodes(pe,Cn),le.treeAdapter.appendChild(pe,Cn),le.activeFormattingElements.insertElementAfterBookmark(Cn,gn),le.activeFormattingElements.removeEntry(Ge),le.openElements.remove(Ge.element),le.openElements.insertAfter(pe,Cn,gn.tagID)}function br(le,pe){for(let Ge=0;Ge<$o;Ge++){const Ct=pn(le,pe);if(!Ct)break;const gn=ti(le,Ct);if(!gn)break;le.activeFormattingElements.bookmark=Ct;const Cn=Li(le,gn,Ct.element),ci=le.openElements.getCommonAncestor(Ct.element);le.treeAdapter.detachNode(Cn),ci&&Fn(le,ci,Cn),st(le,gn,Ct)}}function _r(le,pe){le._appendCommentNode(pe,le.openElements.currentTmplContentOrNode)}function to(le,pe){le._appendCommentNode(pe,le.openElements.items[0])}function lo(le,pe){le._appendCommentNode(pe,le.document)}function uo(le,pe){if(le.stopped=!0,pe.location){const Ge=le.fragmentContext?0:2;for(let Ct=le.openElements.stackTop;Ct>=Ge;Ct--)le._setEndLocation(le.openElements.items[Ct],pe);if(!le.fragmentContext&&le.openElements.stackTop>=0){const Ct=le.openElements.items[0],gn=le.treeAdapter.getNodeSourceCodeLocation(Ct);if(gn&&!gn.endTag&&(le._setEndLocation(Ct,pe),le.openElements.stackTop>=1)){const Cn=le.openElements.items[1],ci=le.treeAdapter.getNodeSourceCodeLocation(Cn);ci&&!ci.endTag&&le._setEndLocation(Cn,pe)}}}}function Vr(le,pe){le._setDocumentType(pe);const Ge=pe.forceQuirks?Xi.QUIRKS:Io(pe);Zr(pe)||le._err(pe,At.nonConformingDoctype),le.treeAdapter.setDocumentMode(le.document,Ge),le.insertionMode=ut.BEFORE_HTML}function Mo(le,pe){le._err(pe,At.missingDoctype,!0),le.treeAdapter.setDocumentMode(le.document,Xi.QUIRKS),le.insertionMode=ut.BEFORE_HTML,le._processToken(pe)}function co(le,pe){pe.tagID===_e.HTML?(le._insertElement(pe,cn.HTML),le.insertionMode=ut.BEFORE_HEAD):or(le,pe)}function Ir(le,pe){const Ge=pe.tagID;(Ge===_e.HTML||Ge===_e.HEAD||Ge===_e.BODY||Ge===_e.BR)&&or(le,pe)}function or(le,pe){le._insertFakeRootElement(),le.insertionMode=ut.BEFORE_HEAD,le._processToken(pe)}function Di(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.HEAD:{le._insertElement(pe,cn.HTML),le.headElement=le.openElements.current,le.insertionMode=ut.IN_HEAD;break}default:ji(le,pe)}}function Ci(le,pe){const Ge=pe.tagID;Ge===_e.HEAD||Ge===_e.BODY||Ge===_e.HTML||Ge===_e.BR?ji(le,pe):le._err(pe,At.endTagWithoutMatchingOpenElement)}function ji(le,pe){le._insertFakeElement($t.HEAD,_e.HEAD),le.headElement=le.openElements.current,le.insertionMode=ut.IN_HEAD,le._processToken(pe)}function fn(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.BASE:case _e.BASEFONT:case _e.BGSOUND:case _e.LINK:case _e.META:{le._appendElement(pe,cn.HTML),pe.ackSelfClosing=!0;break}case _e.TITLE:{le._switchToTextParsing(pe,Wr.RCDATA);break}case _e.NOSCRIPT:{le.options.scriptingEnabled?le._switchToTextParsing(pe,Wr.RAWTEXT):(le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_HEAD_NO_SCRIPT);break}case _e.NOFRAMES:case _e.STYLE:{le._switchToTextParsing(pe,Wr.RAWTEXT);break}case _e.SCRIPT:{le._switchToTextParsing(pe,Wr.SCRIPT_DATA);break}case _e.TEMPLATE:{le._insertTemplate(pe),le.activeFormattingElements.insertMarker(),le.framesetOk=!1,le.insertionMode=ut.IN_TEMPLATE,le.tmplInsertionModeStack.unshift(ut.IN_TEMPLATE);break}case _e.HEAD:{le._err(pe,At.misplacedStartTagForHeadElement);break}default:Gr(le,pe)}}function $i(le,pe){switch(pe.tagID){case _e.HEAD:{le.openElements.pop(),le.insertionMode=ut.AFTER_HEAD;break}case _e.BODY:case _e.BR:case _e.HTML:{Gr(le,pe);break}case _e.TEMPLATE:{Ji(le,pe);break}default:le._err(pe,At.endTagWithoutMatchingOpenElement)}}function Ji(le,pe){le.openElements.tmplCount>0?(le.openElements.generateImpliedEndTagsThoroughly(),le.openElements.currentTagId!==_e.TEMPLATE&&le._err(pe,At.closingOfElementWithOpenChildElements),le.openElements.popUntilTagNamePopped(_e.TEMPLATE),le.activeFormattingElements.clearToLastMarker(),le.tmplInsertionModeStack.shift(),le._resetInsertionMode()):le._err(pe,At.endTagWithoutMatchingOpenElement)}function Gr(le,pe){le.openElements.pop(),le.insertionMode=ut.AFTER_HEAD,le._processToken(pe)}function io(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.BASEFONT:case _e.BGSOUND:case _e.HEAD:case _e.LINK:case _e.META:case _e.NOFRAMES:case _e.STYLE:{fn(le,pe);break}case _e.NOSCRIPT:{le._err(pe,At.nestedNoscriptInHead);break}default:yo(le,pe)}}function qr(le,pe){switch(pe.tagID){case _e.NOSCRIPT:{le.openElements.pop(),le.insertionMode=ut.IN_HEAD;break}case _e.BR:{yo(le,pe);break}default:le._err(pe,At.endTagWithoutMatchingOpenElement)}}function yo(le,pe){const Ge=pe.type===Wt.EOF?At.openElementsLeftAfterEof:At.disallowedContentInNoscriptInHead;le._err(pe,Ge),le.openElements.pop(),le.insertionMode=ut.IN_HEAD,le._processToken(pe)}function ea(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.BODY:{le._insertElement(pe,cn.HTML),le.framesetOk=!1,le.insertionMode=ut.IN_BODY;break}case _e.FRAMESET:{le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_FRAMESET;break}case _e.BASE:case _e.BASEFONT:case _e.BGSOUND:case _e.LINK:case _e.META:case _e.NOFRAMES:case _e.SCRIPT:case _e.STYLE:case _e.TEMPLATE:case _e.TITLE:{le._err(pe,At.abandonedHeadElementChild),le.openElements.push(le.headElement,_e.HEAD),fn(le,pe),le.openElements.remove(le.headElement);break}case _e.HEAD:{le._err(pe,At.misplacedStartTagForHeadElement);break}default:ua(le,pe)}}function Zo(le,pe){switch(pe.tagID){case _e.BODY:case _e.HTML:case _e.BR:{ua(le,pe);break}case _e.TEMPLATE:{Ji(le,pe);break}default:le._err(pe,At.endTagWithoutMatchingOpenElement)}}function ua(le,pe){le._insertFakeElement($t.BODY,_e.BODY),le.insertionMode=ut.IN_BODY,ba(le,pe)}function ba(le,pe){switch(pe.type){case Wt.CHARACTER:{qo(le,pe);break}case Wt.WHITESPACE_CHARACTER:{an(le,pe);break}case Wt.COMMENT:{_r(le,pe);break}case Wt.START_TAG:{za(le,pe);break}case Wt.END_TAG:{$a(le,pe);break}case Wt.EOF:{Fc(le,pe);break}default:}}function an(le,pe){le._reconstructActiveFormattingElements(),le._insertCharacters(pe)}function qo(le,pe){le._reconstructActiveFormattingElements(),le._insertCharacters(pe),le.framesetOk=!1}function fa(le,pe){le.openElements.tmplCount===0&&le.treeAdapter.adoptAttributes(le.openElements.items[0],pe.attrs)}function Ra(le,pe){const Ge=le.openElements.tryPeekProperlyNestedBodyElement();Ge&&le.openElements.tmplCount===0&&(le.framesetOk=!1,le.treeAdapter.adoptAttributes(Ge,pe.attrs))}function po(le,pe){const Ge=le.openElements.tryPeekProperlyNestedBodyElement();le.framesetOk&&Ge&&(le.treeAdapter.detachNode(Ge),le.openElements.popAllUpToHtmlElement(),le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_FRAMESET)}function Xa(le,pe){le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._insertElement(pe,cn.HTML)}function Na(le,pe){le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),Lr(le.openElements.currentTagId)&&le.openElements.pop(),le._insertElement(pe,cn.HTML)}function qa(le,pe){le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._insertElement(pe,cn.HTML),le.skipNextNewLine=!0,le.framesetOk=!1}function Co(le,pe){const Ge=le.openElements.tmplCount>0;(!le.formElement||Ge)&&(le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._insertElement(pe,cn.HTML),Ge||(le.formElement=le.openElements.current))}function Go(le,pe){le.framesetOk=!1;const Ge=pe.tagID;for(let Ct=le.openElements.stackTop;Ct>=0;Ct--){const gn=le.openElements.tagIDs[Ct];if(Ge===_e.LI&&gn===_e.LI||(Ge===_e.DD||Ge===_e.DT)&&(gn===_e.DD||gn===_e.DT)){le.openElements.generateImpliedEndTagsWithExclusion(gn),le.openElements.popUntilTagNamePopped(gn);break}if(gn!==_e.ADDRESS&&gn!==_e.DIV&&gn!==_e.P&&le._isSpecialElement(le.openElements.items[Ct],gn))break}le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._insertElement(pe,cn.HTML)}function wr(le,pe){le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._insertElement(pe,cn.HTML),le.tokenizer.state=Wr.PLAINTEXT}function $r(le,pe){le.openElements.hasInScope(_e.BUTTON)&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilTagNamePopped(_e.BUTTON)),le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML),le.framesetOk=!1}function ho(le,pe){const Ge=le.activeFormattingElements.getElementEntryInScopeWithTagName($t.A);Ge&&(br(le,pe),le.openElements.remove(Ge.element),le.activeFormattingElements.removeEntry(Ge)),le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML),le.activeFormattingElements.pushElement(le.openElements.current,pe)}function _o(le,pe){le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML),le.activeFormattingElements.pushElement(le.openElements.current,pe)}function Zi(le,pe){le._reconstructActiveFormattingElements(),le.openElements.hasInScope(_e.NOBR)&&(br(le,pe),le._reconstructActiveFormattingElements()),le._insertElement(pe,cn.HTML),le.activeFormattingElements.pushElement(le.openElements.current,pe)}function Ea(le,pe){le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML),le.activeFormattingElements.insertMarker(),le.framesetOk=!1}function ca(le,pe){le.treeAdapter.getDocumentMode(le.document)!==Xi.QUIRKS&&le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._insertElement(pe,cn.HTML),le.framesetOk=!1,le.insertionMode=ut.IN_TABLE}function ga(le,pe){le._reconstructActiveFormattingElements(),le._appendElement(pe,cn.HTML),le.framesetOk=!1,pe.ackSelfClosing=!0}function rs(le){const pe=jt(le,tr.TYPE);return pe!=null&&pe.toLowerCase()===Qn}function us(le,pe){le._reconstructActiveFormattingElements(),le._appendElement(pe,cn.HTML),rs(pe)||(le.framesetOk=!1),pe.ackSelfClosing=!0}function wi(le,pe){le._appendElement(pe,cn.HTML),pe.ackSelfClosing=!0}function pa(le,pe){le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._appendElement(pe,cn.HTML),le.framesetOk=!1,pe.ackSelfClosing=!0}function ka(le,pe){pe.tagName=$t.IMG,pe.tagID=_e.IMG,ga(le,pe)}function fs(le,pe){le._insertElement(pe,cn.HTML),le.skipNextNewLine=!0,le.tokenizer.state=Wr.RCDATA,le.originalInsertionMode=le.insertionMode,le.framesetOk=!1,le.insertionMode=ut.TEXT}function wa(le,pe){le.openElements.hasInButtonScope(_e.P)&&le._closePElement(),le._reconstructActiveFormattingElements(),le.framesetOk=!1,le._switchToTextParsing(pe,Wr.RAWTEXT)}function ts(le,pe){le.framesetOk=!1,le._switchToTextParsing(pe,Wr.RAWTEXT)}function Yr(le,pe){le._switchToTextParsing(pe,Wr.RAWTEXT)}function Is(le,pe){le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML),le.framesetOk=!1,le.insertionMode=le.insertionMode===ut.IN_TABLE||le.insertionMode===ut.IN_CAPTION||le.insertionMode===ut.IN_TABLE_BODY||le.insertionMode===ut.IN_ROW||le.insertionMode===ut.IN_CELL?ut.IN_SELECT_IN_TABLE:ut.IN_SELECT}function Ba(le,pe){le.openElements.currentTagId===_e.OPTION&&le.openElements.pop(),le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML)}function ns(le,pe){le.openElements.hasInScope(_e.RUBY)&&le.openElements.generateImpliedEndTags(),le._insertElement(pe,cn.HTML)}function ws(le,pe){le.openElements.hasInScope(_e.RUBY)&&le.openElements.generateImpliedEndTagsWithExclusion(_e.RTC),le._insertElement(pe,cn.HTML)}function tl(le,pe){le._reconstructActiveFormattingElements(),vr(pe),vo(pe),pe.selfClosing?le._appendElement(pe,cn.MATHML):le._insertElement(pe,cn.MATHML),pe.ackSelfClosing=!0}function Fl(le,pe){le._reconstructActiveFormattingElements(),ia(pe),vo(pe),pe.selfClosing?le._appendElement(pe,cn.SVG):le._insertElement(pe,cn.SVG),pe.ackSelfClosing=!0}function os(le,pe){le._reconstructActiveFormattingElements(),le._insertElement(pe,cn.HTML)}function za(le,pe){switch(pe.tagID){case _e.I:case _e.S:case _e.B:case _e.U:case _e.EM:case _e.TT:case _e.BIG:case _e.CODE:case _e.FONT:case _e.SMALL:case _e.STRIKE:case _e.STRONG:{_o(le,pe);break}case _e.A:{ho(le,pe);break}case _e.H1:case _e.H2:case _e.H3:case _e.H4:case _e.H5:case _e.H6:{Na(le,pe);break}case _e.P:case _e.DL:case _e.OL:case _e.UL:case _e.DIV:case _e.DIR:case _e.NAV:case _e.MAIN:case _e.MENU:case _e.ASIDE:case _e.CENTER:case _e.FIGURE:case _e.FOOTER:case _e.HEADER:case _e.HGROUP:case _e.DIALOG:case _e.DETAILS:case _e.ADDRESS:case _e.ARTICLE:case _e.SECTION:case _e.SUMMARY:case _e.FIELDSET:case _e.BLOCKQUOTE:case _e.FIGCAPTION:{Xa(le,pe);break}case _e.LI:case _e.DD:case _e.DT:{Go(le,pe);break}case _e.BR:case _e.IMG:case _e.WBR:case _e.AREA:case _e.EMBED:case _e.KEYGEN:{ga(le,pe);break}case _e.HR:{pa(le,pe);break}case _e.RB:case _e.RTC:{ns(le,pe);break}case _e.RT:case _e.RP:{ws(le,pe);break}case _e.PRE:case _e.LISTING:{qa(le,pe);break}case _e.XMP:{wa(le,pe);break}case _e.SVG:{Fl(le,pe);break}case _e.HTML:{fa(le,pe);break}case _e.BASE:case _e.LINK:case _e.META:case _e.STYLE:case _e.TITLE:case _e.SCRIPT:case _e.BGSOUND:case _e.BASEFONT:case _e.TEMPLATE:{fn(le,pe);break}case _e.BODY:{Ra(le,pe);break}case _e.FORM:{Co(le,pe);break}case _e.NOBR:{Zi(le,pe);break}case _e.MATH:{tl(le,pe);break}case _e.TABLE:{ca(le,pe);break}case _e.INPUT:{us(le,pe);break}case _e.PARAM:case _e.TRACK:case _e.SOURCE:{wi(le,pe);break}case _e.IMAGE:{ka(le,pe);break}case _e.BUTTON:{$r(le,pe);break}case _e.APPLET:case _e.OBJECT:case _e.MARQUEE:{Ea(le,pe);break}case _e.IFRAME:{ts(le,pe);break}case _e.SELECT:{Is(le,pe);break}case _e.OPTION:case _e.OPTGROUP:{Ba(le,pe);break}case _e.NOEMBED:{Yr(le,pe);break}case _e.FRAMESET:{po(le,pe);break}case _e.TEXTAREA:{fs(le,pe);break}case _e.NOSCRIPT:{le.options.scriptingEnabled?Yr(le,pe):os(le,pe);break}case _e.PLAINTEXT:{wr(le,pe);break}case _e.COL:case _e.TH:case _e.TD:case _e.TR:case _e.HEAD:case _e.FRAME:case _e.TBODY:case _e.TFOOT:case _e.THEAD:case _e.CAPTION:case _e.COLGROUP:break;default:os(le,pe)}}function mu(le,pe){if(le.openElements.hasInScope(_e.BODY)&&(le.insertionMode=ut.AFTER_BODY,le.options.sourceCodeLocationInfo)){const Ge=le.openElements.tryPeekProperlyNestedBodyElement();Ge&&le._setEndLocation(Ge,pe)}}function Yu(le,pe){le.openElements.hasInScope(_e.BODY)&&(le.insertionMode=ut.AFTER_BODY,Vs(le,pe))}function Kl(le,pe){const Ge=pe.tagID;le.openElements.hasInScope(Ge)&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilTagNamePopped(Ge))}function Zl(le){const pe=le.openElements.tmplCount>0,{formElement:Ge}=le;pe||(le.formElement=null),(Ge||pe)&&le.openElements.hasInScope(_e.FORM)&&(le.openElements.generateImpliedEndTags(),pe?le.openElements.popUntilTagNamePopped(_e.FORM):Ge&&le.openElements.remove(Ge))}function Bs(le){le.openElements.hasInButtonScope(_e.P)||le._insertFakeElement($t.P,_e.P),le._closePElement()}function As(le){le.openElements.hasInListItemScope(_e.LI)&&(le.openElements.generateImpliedEndTagsWithExclusion(_e.LI),le.openElements.popUntilTagNamePopped(_e.LI))}function hl(le,pe){const Ge=pe.tagID;le.openElements.hasInScope(Ge)&&(le.openElements.generateImpliedEndTagsWithExclusion(Ge),le.openElements.popUntilTagNamePopped(Ge))}function Bl(le){le.openElements.hasNumberedHeaderInScope()&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilNumberedHeaderPopped())}function sc(le,pe){const Ge=pe.tagID;le.openElements.hasInScope(Ge)&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilTagNamePopped(Ge),le.activeFormattingElements.clearToLastMarker())}function ku(le){le._reconstructActiveFormattingElements(),le._insertFakeElement($t.BR,_e.BR),le.openElements.pop(),le.framesetOk=!1}function Ku(le,pe){const Ge=pe.tagName,Ct=pe.tagID;for(let gn=le.openElements.stackTop;gn>0;gn--){const Cn=le.openElements.items[gn],ci=le.openElements.tagIDs[gn];if(Ct===ci&&(Ct!==_e.UNKNOWN||le.treeAdapter.getTagName(Cn)===Ge)){le.openElements.generateImpliedEndTagsWithExclusion(Ct),le.openElements.stackTop>=gn&&le.openElements.shortenToLength(gn);break}if(le._isSpecialElement(Cn,ci))break}}function $a(le,pe){switch(pe.tagID){case _e.A:case _e.B:case _e.I:case _e.S:case _e.U:case _e.EM:case _e.TT:case _e.BIG:case _e.CODE:case _e.FONT:case _e.NOBR:case _e.SMALL:case _e.STRIKE:case _e.STRONG:{br(le,pe);break}case _e.P:{Bs(le);break}case _e.DL:case _e.UL:case _e.OL:case _e.DIR:case _e.DIV:case _e.NAV:case _e.PRE:case _e.MAIN:case _e.MENU:case _e.ASIDE:case _e.BUTTON:case _e.CENTER:case _e.FIGURE:case _e.FOOTER:case _e.HEADER:case _e.HGROUP:case _e.DIALOG:case _e.ADDRESS:case _e.ARTICLE:case _e.DETAILS:case _e.SECTION:case _e.SUMMARY:case _e.LISTING:case _e.FIELDSET:case _e.BLOCKQUOTE:case _e.FIGCAPTION:{Kl(le,pe);break}case _e.LI:{As(le);break}case _e.DD:case _e.DT:{hl(le,pe);break}case _e.H1:case _e.H2:case _e.H3:case _e.H4:case _e.H5:case _e.H6:{Bl(le);break}case _e.BR:{ku(le);break}case _e.BODY:{mu(le,pe);break}case _e.HTML:{Yu(le,pe);break}case _e.FORM:{Zl(le);break}case _e.APPLET:case _e.OBJECT:case _e.MARQUEE:{sc(le,pe);break}case _e.TEMPLATE:{Ji(le,pe);break}default:Ku(le,pe)}}function Fc(le,pe){le.tmplInsertionModeStack.length>0?yu(le,pe):uo(le,pe)}function Bc(le,pe){var Ge;pe.tagID===_e.SCRIPT&&((Ge=le.scriptHandler)===null||Ge===void 0||Ge.call(le,le.openElements.current)),le.openElements.pop(),le.insertionMode=le.originalInsertionMode}function Iu(le,pe){le._err(pe,At.eofInElementThatCanContainOnlyText),le.openElements.pop(),le.insertionMode=le.originalInsertionMode,le.onEof(pe)}function Zn(le,pe){if(Lt.has(le.openElements.currentTagId))switch(le.pendingCharacterTokens.length=0,le.hasNonWhitespacePendingCharacterToken=!1,le.originalInsertionMode=le.insertionMode,le.insertionMode=ut.IN_TABLE_TEXT,pe.type){case Wt.CHARACTER:{Ht(le,pe);break}case Wt.WHITESPACE_CHARACTER:{_l(le,pe);break}}else cr(le,pe)}function Sr(le,pe){le.openElements.clearBackToTableContext(),le.activeFormattingElements.insertMarker(),le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_CAPTION}function Kr(le,pe){le.openElements.clearBackToTableContext(),le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_COLUMN_GROUP}function no(le,pe){le.openElements.clearBackToTableContext(),le._insertFakeElement($t.COLGROUP,_e.COLGROUP),le.insertionMode=ut.IN_COLUMN_GROUP,nl(le,pe)}function Lo(le,pe){le.openElements.clearBackToTableContext(),le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_TABLE_BODY}function Xo(le,pe){le.openElements.clearBackToTableContext(),le._insertFakeElement($t.TBODY,_e.TBODY),le.insertionMode=ut.IN_TABLE_BODY,il(le,pe)}function La(le,pe){le.openElements.hasInTableScope(_e.TABLE)&&(le.openElements.popUntilTagNamePopped(_e.TABLE),le._resetInsertionMode(),le._processStartTag(pe))}function Wo(le,pe){rs(pe)?le._appendElement(pe,cn.HTML):cr(le,pe),pe.ackSelfClosing=!0}function vs(le,pe){!le.formElement&&le.openElements.tmplCount===0&&(le._insertElement(pe,cn.HTML),le.formElement=le.openElements.current,le.openElements.pop())}function Ia(le,pe){switch(pe.tagID){case _e.TD:case _e.TH:case _e.TR:{Xo(le,pe);break}case _e.STYLE:case _e.SCRIPT:case _e.TEMPLATE:{fn(le,pe);break}case _e.COL:{no(le,pe);break}case _e.FORM:{vs(le,pe);break}case _e.TABLE:{La(le,pe);break}case _e.TBODY:case _e.TFOOT:case _e.THEAD:{Lo(le,pe);break}case _e.INPUT:{Wo(le,pe);break}case _e.CAPTION:{Sr(le,pe);break}case _e.COLGROUP:{Kr(le,pe);break}default:cr(le,pe)}}function gs(le,pe){switch(pe.tagID){case _e.TABLE:{le.openElements.hasInTableScope(_e.TABLE)&&(le.openElements.popUntilTagNamePopped(_e.TABLE),le._resetInsertionMode());break}case _e.TEMPLATE:{Ji(le,pe);break}case _e.BODY:case _e.CAPTION:case _e.COL:case _e.COLGROUP:case _e.HTML:case _e.TBODY:case _e.TD:case _e.TFOOT:case _e.TH:case _e.THEAD:case _e.TR:break;default:cr(le,pe)}}function cr(le,pe){const Ge=le.fosterParentingEnabled;le.fosterParentingEnabled=!0,ba(le,pe),le.fosterParentingEnabled=Ge}function _l(le,pe){le.pendingCharacterTokens.push(pe)}function Ht(le,pe){le.pendingCharacterTokens.push(pe),le.hasNonWhitespacePendingCharacterToken=!0}function Jn(le,pe){let Ge=0;if(le.hasNonWhitespacePendingCharacterToken)for(;Ge<le.pendingCharacterTokens.length;Ge++)cr(le,le.pendingCharacterTokens[Ge]);else for(;Ge<le.pendingCharacterTokens.length;Ge++)le._insertCharacters(le.pendingCharacterTokens[Ge]);le.insertionMode=le.originalInsertionMode,le._processToken(pe)}const vu=new Set([_e.CAPTION,_e.COL,_e.COLGROUP,_e.TBODY,_e.TD,_e.TFOOT,_e.TH,_e.THEAD,_e.TR]);function Mu(le,pe){const Ge=pe.tagID;vu.has(Ge)?le.openElements.hasInTableScope(_e.CAPTION)&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilTagNamePopped(_e.CAPTION),le.activeFormattingElements.clearToLastMarker(),le.insertionMode=ut.IN_TABLE,Ia(le,pe)):za(le,pe)}function Ul(le,pe){const Ge=pe.tagID;switch(Ge){case _e.CAPTION:case _e.TABLE:{le.openElements.hasInTableScope(_e.CAPTION)&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilTagNamePopped(_e.CAPTION),le.activeFormattingElements.clearToLastMarker(),le.insertionMode=ut.IN_TABLE,Ge===_e.TABLE&&gs(le,pe));break}case _e.BODY:case _e.COL:case _e.COLGROUP:case _e.HTML:case _e.TBODY:case _e.TD:case _e.TFOOT:case _e.TH:case _e.THEAD:case _e.TR:break;default:$a(le,pe)}}function nl(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.COL:{le._appendElement(pe,cn.HTML),pe.ackSelfClosing=!0;break}case _e.TEMPLATE:{fn(le,pe);break}default:_s(le,pe)}}function Js(le,pe){switch(pe.tagID){case _e.COLGROUP:{le.openElements.currentTagId===_e.COLGROUP&&(le.openElements.pop(),le.insertionMode=ut.IN_TABLE);break}case _e.TEMPLATE:{Ji(le,pe);break}case _e.COL:break;default:_s(le,pe)}}function _s(le,pe){le.openElements.currentTagId===_e.COLGROUP&&(le.openElements.pop(),le.insertionMode=ut.IN_TABLE,le._processToken(pe))}function il(le,pe){switch(pe.tagID){case _e.TR:{le.openElements.clearBackToTableBodyContext(),le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_ROW;break}case _e.TH:case _e.TD:{le.openElements.clearBackToTableBodyContext(),le._insertFakeElement($t.TR,_e.TR),le.insertionMode=ut.IN_ROW,eo(le,pe);break}case _e.CAPTION:case _e.COL:case _e.COLGROUP:case _e.TBODY:case _e.TFOOT:case _e.THEAD:{le.openElements.hasTableBodyContextInTableScope()&&(le.openElements.clearBackToTableBodyContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE,Ia(le,pe));break}default:Ia(le,pe)}}function _a(le,pe){const Ge=pe.tagID;switch(pe.tagID){case _e.TBODY:case _e.TFOOT:case _e.THEAD:{le.openElements.hasInTableScope(Ge)&&(le.openElements.clearBackToTableBodyContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE);break}case _e.TABLE:{le.openElements.hasTableBodyContextInTableScope()&&(le.openElements.clearBackToTableBodyContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE,gs(le,pe));break}case _e.BODY:case _e.CAPTION:case _e.COL:case _e.COLGROUP:case _e.HTML:case _e.TD:case _e.TH:case _e.TR:break;default:gs(le,pe)}}function eo(le,pe){switch(pe.tagID){case _e.TH:case _e.TD:{le.openElements.clearBackToTableRowContext(),le._insertElement(pe,cn.HTML),le.insertionMode=ut.IN_CELL,le.activeFormattingElements.insertMarker();break}case _e.CAPTION:case _e.COL:case _e.COLGROUP:case _e.TBODY:case _e.TFOOT:case _e.THEAD:case _e.TR:{le.openElements.hasInTableScope(_e.TR)&&(le.openElements.clearBackToTableRowContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE_BODY,il(le,pe));break}default:Ia(le,pe)}}function Zs(le,pe){switch(pe.tagID){case _e.TR:{le.openElements.hasInTableScope(_e.TR)&&(le.openElements.clearBackToTableRowContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE_BODY);break}case _e.TABLE:{le.openElements.hasInTableScope(_e.TR)&&(le.openElements.clearBackToTableRowContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE_BODY,_a(le,pe));break}case _e.TBODY:case _e.TFOOT:case _e.THEAD:{(le.openElements.hasInTableScope(pe.tagID)||le.openElements.hasInTableScope(_e.TR))&&(le.openElements.clearBackToTableRowContext(),le.openElements.pop(),le.insertionMode=ut.IN_TABLE_BODY,_a(le,pe));break}case _e.BODY:case _e.CAPTION:case _e.COL:case _e.COLGROUP:case _e.HTML:case _e.TD:case _e.TH:break;default:gs(le,pe)}}function bl(le,pe){const Ge=pe.tagID;vu.has(Ge)?(le.openElements.hasInTableScope(_e.TD)||le.openElements.hasInTableScope(_e.TH))&&(le._closeTableCell(),eo(le,pe)):za(le,pe)}function Ga(le,pe){const Ge=pe.tagID;switch(Ge){case _e.TD:case _e.TH:{le.openElements.hasInTableScope(Ge)&&(le.openElements.generateImpliedEndTags(),le.openElements.popUntilTagNamePopped(Ge),le.activeFormattingElements.clearToLastMarker(),le.insertionMode=ut.IN_ROW);break}case _e.TABLE:case _e.TBODY:case _e.TFOOT:case _e.THEAD:case _e.TR:{le.openElements.hasInTableScope(Ge)&&(le._closeTableCell(),Zs(le,pe));break}case _e.BODY:case _e.CAPTION:case _e.COL:case _e.COLGROUP:case _e.HTML:break;default:$a(le,pe)}}function Ho(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.OPTION:{le.openElements.currentTagId===_e.OPTION&&le.openElements.pop(),le._insertElement(pe,cn.HTML);break}case _e.OPTGROUP:{le.openElements.currentTagId===_e.OPTION&&le.openElements.pop(),le.openElements.currentTagId===_e.OPTGROUP&&le.openElements.pop(),le._insertElement(pe,cn.HTML);break}case _e.INPUT:case _e.KEYGEN:case _e.TEXTAREA:case _e.SELECT:{le.openElements.hasInSelectScope(_e.SELECT)&&(le.openElements.popUntilTagNamePopped(_e.SELECT),le._resetInsertionMode(),pe.tagID!==_e.SELECT&&le._processStartTag(pe));break}case _e.SCRIPT:case _e.TEMPLATE:{fn(le,pe);break}default:}}function ys(le,pe){switch(pe.tagID){case _e.OPTGROUP:{le.openElements.stackTop>0&&le.openElements.currentTagId===_e.OPTION&&le.openElements.tagIDs[le.openElements.stackTop-1]===_e.OPTGROUP&&le.openElements.pop(),le.openElements.currentTagId===_e.OPTGROUP&&le.openElements.pop();break}case _e.OPTION:{le.openElements.currentTagId===_e.OPTION&&le.openElements.pop();break}case _e.SELECT:{le.openElements.hasInSelectScope(_e.SELECT)&&(le.openElements.popUntilTagNamePopped(_e.SELECT),le._resetInsertionMode());break}case _e.TEMPLATE:{Ji(le,pe);break}default:}}function rl(le,pe){const Ge=pe.tagID;Ge===_e.CAPTION||Ge===_e.TABLE||Ge===_e.TBODY||Ge===_e.TFOOT||Ge===_e.THEAD||Ge===_e.TR||Ge===_e.TD||Ge===_e.TH?(le.openElements.popUntilTagNamePopped(_e.SELECT),le._resetInsertionMode(),le._processStartTag(pe)):Ho(le,pe)}function Wa(le,pe){const Ge=pe.tagID;Ge===_e.CAPTION||Ge===_e.TABLE||Ge===_e.TBODY||Ge===_e.TFOOT||Ge===_e.THEAD||Ge===_e.TR||Ge===_e.TD||Ge===_e.TH?le.openElements.hasInTableScope(Ge)&&(le.openElements.popUntilTagNamePopped(_e.SELECT),le._resetInsertionMode(),le.onEndTag(pe)):ys(le,pe)}function fl(le,pe){switch(pe.tagID){case _e.BASE:case _e.BASEFONT:case _e.BGSOUND:case _e.LINK:case _e.META:case _e.NOFRAMES:case _e.SCRIPT:case _e.STYLE:case _e.TEMPLATE:case _e.TITLE:{fn(le,pe);break}case _e.CAPTION:case _e.COLGROUP:case _e.TBODY:case _e.TFOOT:case _e.THEAD:{le.tmplInsertionModeStack[0]=ut.IN_TABLE,le.insertionMode=ut.IN_TABLE,Ia(le,pe);break}case _e.COL:{le.tmplInsertionModeStack[0]=ut.IN_COLUMN_GROUP,le.insertionMode=ut.IN_COLUMN_GROUP,nl(le,pe);break}case _e.TR:{le.tmplInsertionModeStack[0]=ut.IN_TABLE_BODY,le.insertionMode=ut.IN_TABLE_BODY,il(le,pe);break}case _e.TD:case _e.TH:{le.tmplInsertionModeStack[0]=ut.IN_ROW,le.insertionMode=ut.IN_ROW,eo(le,pe);break}default:le.tmplInsertionModeStack[0]=ut.IN_BODY,le.insertionMode=ut.IN_BODY,za(le,pe)}}function Us(le,pe){pe.tagID===_e.TEMPLATE&&Ji(le,pe)}function yu(le,pe){le.openElements.tmplCount>0?(le.openElements.popUntilTagNamePopped(_e.TEMPLATE),le.activeFormattingElements.clearToLastMarker(),le.tmplInsertionModeStack.shift(),le._resetInsertionMode(),le.onEof(pe)):uo(le,pe)}function da(le,pe){pe.tagID===_e.HTML?za(le,pe):Qo(le,pe)}function Vs(le,pe){var Ge;if(pe.tagID===_e.HTML){if(le.fragmentContext||(le.insertionMode=ut.AFTER_AFTER_BODY),le.options.sourceCodeLocationInfo&&le.openElements.tagIDs[0]===_e.HTML){le._setEndLocation(le.openElements.items[0],pe);const Ct=le.openElements.items[1];Ct&&!(!((Ge=le.treeAdapter.getNodeSourceCodeLocation(Ct))===null||Ge===void 0)&&Ge.endTag)&&le._setEndLocation(Ct,pe)}}else Qo(le,pe)}function Qo(le,pe){le.insertionMode=ut.IN_BODY,ba(le,pe)}function Oa(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.FRAMESET:{le._insertElement(pe,cn.HTML);break}case _e.FRAME:{le._appendElement(pe,cn.HTML),pe.ackSelfClosing=!0;break}case _e.NOFRAMES:{fn(le,pe);break}default:}}function Va(le,pe){pe.tagID===_e.FRAMESET&&!le.openElements.isRootHtmlElementCurrent()&&(le.openElements.pop(),!le.fragmentContext&&le.openElements.currentTagId!==_e.FRAMESET&&(le.insertionMode=ut.AFTER_FRAMESET))}function is(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.NOFRAMES:{fn(le,pe);break}default:}}function va(le,pe){pe.tagID===_e.HTML&&(le.insertionMode=ut.AFTER_AFTER_FRAMESET)}function lc(le,pe){pe.tagID===_e.HTML?za(le,pe):Or(le,pe)}function Or(le,pe){le.insertionMode=ut.IN_BODY,ba(le,pe)}function Md(le,pe){switch(pe.tagID){case _e.HTML:{za(le,pe);break}case _e.NOFRAMES:{fn(le,pe);break}default:}}function ra(le,pe){pe.chars=nt,le._insertCharacters(pe)}function Rd(le,pe){le._insertCharacters(pe),le.framesetOk=!1}function uc(le){for(;le.treeAdapter.getNamespaceURI(le.openElements.current)!==cn.HTML&&!le._isIntegrationPoint(le.openElements.currentTagId,le.openElements.current);)le.openElements.pop()}function _c(le,pe){if(Jr(pe))uc(le),le._startTagOutsideForeignContent(pe);else{const Ge=le._getAdjustedCurrentElement(),Ct=le.treeAdapter.getNamespaceURI(Ge);Ct===cn.MATHML?vr(pe):Ct===cn.SVG&&(Po(pe),ia(pe)),vo(pe),pe.selfClosing?le._appendElement(pe,Ct):le._insertElement(pe,Ct),pe.ackSelfClosing=!0}}function fd(le,pe){if(pe.tagID===_e.P||pe.tagID===_e.BR){uc(le),le._endTagOutsideForeignContent(pe);return}for(let Ge=le.openElements.stackTop;Ge>0;Ge--){const Ct=le.openElements.items[Ge];if(le.treeAdapter.getNamespaceURI(Ct)===cn.HTML){le._endTagOutsideForeignContent(pe);break}const gn=le.treeAdapter.getTagName(Ct);if(gn.toLowerCase()===pe.tagName){pe.tagName=gn,le.openElements.shortenToLength(Ge);break}}}const Ru=/["&'<>$\x80-\uFFFF]/g,Su=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Zu=String.prototype.codePointAt!=null?(le,pe)=>le.codePointAt(pe):(le,pe)=>(le.charCodeAt(pe)&64512)===55296?(le.charCodeAt(pe)-55296)*1024+le.charCodeAt(pe+1)-56320+65536:le.charCodeAt(pe);function ya(le){let pe="",Ge=0,Ct;for(;(Ct=Ru.exec(le))!==null;){const gn=Ct.index,Cn=le.charCodeAt(gn),ci=Su.get(Cn);ci!==void 0?(pe+=le.substring(Ge,gn)+ci,Ge=gn+1):(pe+=`${le.substring(Ge,gn)}&#x${Zu(le,gn).toString(16)};`,Ge=Ru.lastIndex+=+((Cn&64512)===55296))}return pe+le.substr(Ge)}const Xu=null;function ht(le,pe){return function(Ct){let gn,Cn=0,ci="";for(;gn=le.exec(Ct);)Cn!==gn.index&&(ci+=Ct.substring(Cn,gn.index)),ci+=pe.get(gn[0].charCodeAt(0)),Cn=gn.index+1;return ci+Ct.substring(Cn)}}const Dt=ht(/[&<>'"]/g,Su),_t=ht(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),zt=ht(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),ln=new Set([$t.AREA,$t.BASE,$t.BASEFONT,$t.BGSOUND,$t.BR,$t.COL,$t.EMBED,$t.FRAME,$t.HR,$t.IMG,$t.INPUT,$t.KEYGEN,$t.LINK,$t.META,$t.PARAM,$t.SOURCE,$t.TRACK,$t.WBR]);function En(le,pe){return pe.treeAdapter.isElementNode(le)&&pe.treeAdapter.getNamespaceURI(le)===NS.HTML&&ln.has(pe.treeAdapter.getTagName(le))}const Tn={treeAdapter:lr,scriptingEnabled:!0};function Vn(le,pe){const Ge=Ks(Ks({},Tn),pe);return En(le,Ge)?"":li(le,Ge)}function mi(le,pe){const Ge=Ks(Ks({},Tn),pe);return Fi(le,Ge)}function li(le,pe){let Ge="";const Ct=pe.treeAdapter.isElementNode(le)&&pe.treeAdapter.getTagName(le)===$.TEMPLATE&&pe.treeAdapter.getNamespaceURI(le)===NS.HTML?pe.treeAdapter.getTemplateContent(le):le,gn=pe.treeAdapter.getChildNodes(Ct);if(gn)for(const Cn of gn)Ge+=Fi(Cn,pe);return Ge}function Fi(le,pe){return pe.treeAdapter.isElementNode(le)?gi(le,pe):pe.treeAdapter.isTextNode(le)?xi(le,pe):pe.treeAdapter.isCommentNode(le)?zi(le,pe):pe.treeAdapter.isDocumentTypeNode(le)?fr(le,pe):""}function gi(le,pe){const Ge=pe.treeAdapter.getTagName(le);return`<${Ge}${Ai(le,pe)}>${En(le,pe)?"":`${li(le,pe)}</${Ge}>`}`}function Ai(le,{treeAdapter:pe}){let Ge="";for(const Ct of pe.getAttrList(le)){if(Ge+=" ",!Ct.namespace)Ge+=Ct.name;else switch(Ct.namespace){case NS.XML:{Ge+=`xml:${Ct.name}`;break}case NS.XMLNS:{Ct.name!=="xmlns"&&(Ge+="xmlns:"),Ge+=Ct.name;break}case NS.XLINK:{Ge+=`xlink:${Ct.name}`;break}default:Ge+=`${Ct.prefix}:${Ct.name}`}Ge+=`="${escapeAttribute(Ct.value)}"`}return Ge}function xi(le,pe){const{treeAdapter:Ge}=pe,Ct=Ge.getTextNodeContent(le),gn=Ge.getParentNode(le),Cn=gn&&Ge.isElementNode(gn)&&Ge.getTagName(gn);return Cn&&Ge.getNamespaceURI(gn)===NS.HTML&&hasUnescapedText(Cn,pe.scriptingEnabled)?Ct:escapeText(Ct)}function zi(le,{treeAdapter:pe}){return`<!--${pe.getCommentNodeContent(le)}-->`}function fr(le,{treeAdapter:pe}){return`<!DOCTYPE ${pe.getDocumentTypeNodeName(le)}>`}function Nr(le,pe){return Parser.parse(le,pe)}function zr(le,pe,Ge){typeof le=="string"&&(Ge=pe,pe=le,le=null);const Ct=Parser.getFragmentParser(le,Ge);return Ct.tokenizer.write(pe,!0),Ct.getFragment()}var Yi=ue(3980),Tr=ue(21623);const ur=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Ur=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),mo={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Fr(le,pe){const Ge=dn(le),Ct=we("type",{handlers:{root:wo,element:Jo,text:Ce,comment:et,doctype:ze,raw:gt},unknown:St}),gn={parser:Ge?new Yt(mo):Yt.getFragmentParser(void 0,mo),handle(Ei){Ct(Ei,gn)},stitches:!1,options:pe||{}};Ct(le,gn),Pt(gn,(0,Yi.Pk)());const Cn=Ge?gn.parser.document:gn.parser.getFragment(),ci=xt(Cn,{file:gn.options.file});return gn.stitches&&(0,Tr.Vn)(ci,"comment",function(Ei,ii,Br){const Yo=Ei;if(Yo.value.stitch&&Br&&ii!==void 0){const No=Br.children;return No[ii]=Yo.value.stitch,ii}}),ci.type==="root"&&ci.children.length===1&&ci.children[0].type===le.type?ci.children[0]:ci}function Uo(le,pe){let Ge=-1;if(le)for(;++Ge<le.length;)pe.handle(le[Ge])}function wo(le,pe){Uo(le.children,pe)}function Jo(le,pe){xn(le,pe),Uo(le.children,pe),wn(le,pe)}function Ce(le,pe){pe.parser.tokenizer.state>4&&(pe.parser.tokenizer.state=0);const Ge={type:Wt.CHARACTER,chars:le.value,location:Gn(le)};Pt(pe,(0,Yi.Pk)(le)),pe.parser.currentToken=Ge,pe.parser._processToken(pe.parser.currentToken)}function ze(le,pe){const Ge={type:Wt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Gn(le)};Pt(pe,(0,Yi.Pk)(le)),pe.parser.currentToken=Ge,pe.parser._processToken(pe.parser.currentToken)}function Ve(le,pe){pe.stitches=!0;const Ge=Wn(le);if("children"in le&&"children"in Ge){const Ct=Fr({type:"root",children:le.children},pe.options);Ge.children=Ct.children}et({type:"comment",value:{stitch:Ge}},pe)}function et(le,pe){const Ge=le.value,Ct={type:Wt.COMMENT,data:Ge,location:Gn(le)};Pt(pe,(0,Yi.Pk)(le)),pe.parser.currentToken=Ct,pe.parser._processToken(pe.parser.currentToken)}function gt(le,pe){if(pe.parser.tokenizer.preprocessor.html="",pe.parser.tokenizer.preprocessor.pos=-1,pe.parser.tokenizer.preprocessor.lastGapPos=-2,pe.parser.tokenizer.preprocessor.gapStack=[],pe.parser.tokenizer.preprocessor.skipNextNewLine=!1,pe.parser.tokenizer.preprocessor.lastChunkWritten=!1,pe.parser.tokenizer.preprocessor.endOfChunkHit=!1,pe.parser.tokenizer.preprocessor.isEol=!1,Vt(pe,(0,Yi.Pk)(le)),pe.parser.tokenizer.write(pe.options.tagfilter?le.value.replace(ur,"<$1$2"):le.value,!1),pe.parser.tokenizer._runParsingLoop(),pe.parser.tokenizer.state===72||pe.parser.tokenizer.state===78){pe.parser.tokenizer.preprocessor.lastChunkWritten=!0;const Ge=pe.parser.tokenizer._consume();pe.parser.tokenizer._callState(Ge)}}function St(le,pe){const Ge=le;if(pe.options.passThrough&&pe.options.passThrough.includes(Ge.type))Ve(Ge,pe);else{let Ct="";throw Ur.has(Ge.type)&&(Ct=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+Ge.type+"` node"+Ct)}}function Pt(le,pe){Vt(le,pe);const Ge=le.parser.tokenizer.currentCharacterToken;Ge&&Ge.location&&(Ge.location.endLine=le.parser.tokenizer.preprocessor.line,Ge.location.endCol=le.parser.tokenizer.preprocessor.col+1,Ge.location.endOffset=le.parser.tokenizer.preprocessor.offset+1,le.parser.currentToken=Ge,le.parser._processToken(le.parser.currentToken)),le.parser.tokenizer.paused=!1,le.parser.tokenizer.inLoop=!1,le.parser.tokenizer.active=!1,le.parser.tokenizer.returnState=Wr.DATA,le.parser.tokenizer.charRefCode=-1,le.parser.tokenizer.consumedAfterSnapshot=-1,le.parser.tokenizer.currentLocation=null,le.parser.tokenizer.currentCharacterToken=null,le.parser.tokenizer.currentToken=null,le.parser.tokenizer.currentAttr={name:"",value:""}}function Vt(le,pe){if(pe&&pe.offset!==void 0){const Ge={startLine:pe.line,startCol:pe.column,startOffset:pe.offset,endLine:-1,endCol:-1,endOffset:-1};le.parser.tokenizer.preprocessor.lineStartPos=-pe.column+1,le.parser.tokenizer.preprocessor.droppedBufferSize=pe.offset,le.parser.tokenizer.preprocessor.line=pe.line,le.parser.tokenizer.currentLocation=Ge}}function xn(le,pe){const Ge=le.tagName.toLowerCase();if(pe.parser.tokenizer.state===Wr.PLAINTEXT)return;Pt(pe,(0,Yi.Pk)(le));const Ct=pe.parser.openElements.current;let gn="namespaceURI"in Ct?Ct.namespaceURI:tt.t.html;gn===tt.t.html&&Ge==="svg"&&(gn=tt.t.svg);const Cn=lt(Kf(Ks({},le),{children:[]}),{space:gn===tt.t.svg?"svg":"html"}),ci={type:Wt.START_TAG,tagName:Ge,tagID:er(Ge),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in Cn?Cn.attrs:[],location:Gn(le)};pe.parser.currentToken=ci,pe.parser._processToken(pe.parser.currentToken),pe.parser.tokenizer.lastStartTagName=Ge}function wn(le,pe){const Ge=le.tagName.toLowerCase();if(!pe.parser.tokenizer.inForeignNode&&Bn.includes(Ge)||pe.parser.tokenizer.state===Wr.PLAINTEXT)return;Pt(pe,(0,Yi.rb)(le));const Ct={type:Wt.END_TAG,tagName:Ge,tagID:er(Ge),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Gn(le)};pe.parser.currentToken=Ct,pe.parser._processToken(pe.parser.currentToken),Ge===pe.parser.tokenizer.lastStartTagName&&(pe.parser.tokenizer.state===Wr.RCDATA||pe.parser.tokenizer.state===Wr.RAWTEXT||pe.parser.tokenizer.state===Wr.SCRIPT_DATA)&&(pe.parser.tokenizer.state=Wr.DATA)}function dn(le){const pe=le.type==="root"?le.children[0]:le;return!!(pe&&(pe.type==="doctype"||pe.type==="element"&&pe.tagName.toLowerCase()==="html"))}function Gn(le){const pe=(0,Yi.Pk)(le)||{line:void 0,column:void 0,offset:void 0},Ge=(0,Yi.rb)(le)||{line:void 0,column:void 0,offset:void 0};return{startLine:pe.line,startCol:pe.column,startOffset:pe.offset,endLine:Ge.line,endCol:Ge.column,endOffset:Ge.offset}}function Wn(le){return"children"in le?(0,ce.ZP)(Kf(Ks({},le),{children:[]})):(0,ce.ZP)(le)}function Pn(le){return function(pe,Ge){return Fr(pe,Kf(Ks({},le),{file:Ge}))}}},67127:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return rt}});function ce(xt){if(typeof xt!="string")throw new TypeError("Expected a string");return xt.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Ae=ue(88718),Fe=ue(96093);function ke(xt,Qe,Mt){const De=Mt||{},te=(0,Fe.O)(De.ignore||[]),ee=Ye(Qe);let de=-1;for(;++de<ee.length;)(0,Ae.S4)(xt,"text",se);function se(ve,be){let we=-1,Oe;for(;++we<be.length;){const Ke=be[we],qe=Oe?Oe.children:void 0;if(te(Ke,qe?qe.indexOf(Ke):void 0,Oe))return;Oe=Ke}if(Oe)return ge(ve,be)}function ge(ve,be){const we=be[be.length-1],Oe=ee[de][0],Ke=ee[de][1];let qe=0;const at=we.children.indexOf(ve);let ft=!1,pt=[];Oe.lastIndex=0;let Nt=Oe.exec(ve.value);for(;Nt;){const Xt=Nt.index,Zt={index:Nt.index,input:Nt.input,stack:[...be,ve]};let yn=Ke(...Nt,Zt);if(typeof yn=="string"&&(yn=yn.length>0?{type:"text",value:yn}:void 0),yn===!1?Oe.lastIndex=Xt+1:(qe!==Xt&&pt.push({type:"text",value:ve.value.slice(qe,Xt)}),Array.isArray(yn)?pt.push(...yn):yn&&pt.push(yn),qe=Xt+Nt[0].length,ft=!0),!Oe.global)break;Nt=Oe.exec(ve.value)}return ft?(qe<ve.value.length&&pt.push({type:"text",value:ve.value.slice(qe)}),we.children.splice(at,1,...pt)):pt=[ve],at+pt.length}}function Ye(xt){const Qe=[];if(!Array.isArray(xt))throw new TypeError("Expected find and replace tuple or list of tuples");const Mt=!xt[0]||Array.isArray(xt[0])?xt:[xt];let De=-1;for(;++De<Mt.length;){const te=Mt[De];Qe.push([Pe(te[0]),Ue(te[1])])}return Qe}function Pe(xt){return typeof xt=="string"?new RegExp(ce(xt),"g"):xt}function Ue(xt){return typeof xt=="function"?xt:function(){return xt}}function tt(xt){ke(xt,[/\r?\n|\r/g,Ze])}function Ze(){return{type:"break"}}function rt(){return function(xt){tt(xt)}}},41807:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return ee}});var ce=ue(24345);function Ae(de,se){const ge=String(de);let ve=ge.indexOf(se),be=ve,we=0,Oe=0;if(typeof se!="string")throw new TypeError("Expected substring");for(;ve!==-1;)ve===be?++we>Oe&&(Oe=we):we=1,be=ve+se.length,ve=ge.indexOf(se,be);return Oe}function Fe(){return{enter:{mathFlow:de,mathFlowFenceMeta:se,mathText:we},exit:{mathFlow:be,mathFlowFence:ve,mathFlowFenceMeta:ge,mathFlowValue:Ke,mathText:Oe,mathTextData:Ke}};function de(qe){const lt={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[lt]}},qe)}function se(){this.buffer()}function ge(){const qe=this.resume(),lt=this.stack[this.stack.length-1];(0,ce.ok)(lt.type==="math"),lt.meta=qe}function ve(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function be(qe){const lt=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),at=this.stack[this.stack.length-1];(0,ce.ok)(at.type==="math"),this.exit(qe),at.value=lt;const ft=at.data.hChildren[0];(0,ce.ok)(ft.type==="element"),(0,ce.ok)(ft.tagName==="code"),ft.children.push({type:"text",value:lt}),this.data.mathFlowInside=void 0}function we(qe){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},qe),this.buffer()}function Oe(qe){const lt=this.resume(),at=this.stack[this.stack.length-1];(0,ce.ok)(at.type==="inlineMath"),this.exit(qe),at.value=lt,at.data.hChildren.push({type:"text",value:lt})}function Ke(qe){this.config.enter.data.call(this,qe),this.config.exit.data.call(this,qe)}}function ke(de){let se=(de||{}).singleDollarTextMath;return se==null&&(se=!0),ve.peek=be,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
|
`,inConstruct:"mathFlowMeta"},{character:"$",after:se?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:ge,inlineMath:ve}};function ge(we,Oe,Ke,qe){const lt=we.value||"",at=Ke.createTracker(qe),ft="$".repeat(Math.max(Ae(lt,"$")+1,2)),pt=Ke.enter("mathFlow");let Nt=at.move(ft);if(we.meta){const Xt=Ke.enter("mathFlowMeta");Nt+=at.move(Ke.safe(we.meta,Ks({after:`
|
|
|
`,before:Nt,encode:["$"]},at.current()))),Xt()}return Nt+=at.move(`
|
|
|
`),lt&&(Nt+=at.move(lt+`
|
|
|
`)),Nt+=at.move(ft),pt(),Nt}function ve(we,Oe,Ke){let qe=we.value||"",lt=1;for(se||lt++;new RegExp("(^|[^$])"+"\\$".repeat(lt)+"([^$]|$)").test(qe);)lt++;const at="$".repeat(lt);/[^ \r\n]/.test(qe)&&(/^[ \r\n]/.test(qe)&&/[ \r\n]$/.test(qe)||/^\$|\$$/.test(qe))&&(qe=" "+qe+" ");let ft=-1;for(;++ft<Ke.unsafe.length;){const pt=Ke.unsafe[ft];if(!pt.atBreak)continue;const Nt=Ke.compilePattern(pt);let Xt;for(;Xt=Nt.exec(qe);){let Zt=Xt.index;qe.codePointAt(Zt)===10&&qe.codePointAt(Zt-1)===13&&Zt--,qe=qe.slice(0,Zt)+" "+qe.slice(Xt.index+1)}}return at+qe+at}function be(){return"$"}}var Ye=ue(42761),Pe=ue(15459);const Ue={tokenize:Ze,concrete:!0,name:"mathFlow"},tt={tokenize:rt,partial:!0};function Ze(de,se,ge){const ve=this,be=ve.events[ve.events.length-1],we=be&&be[1].type==="linePrefix"?be[2].sliceSerialize(be[1],!0).length:0;let Oe=0;return Ke;function Ke(on){return de.enter("mathFlow"),de.enter("mathFlowFence"),de.enter("mathFlowFenceSequence"),qe(on)}function qe(on){return on===36?(de.consume(on),Oe++,qe):Oe<2?ge(on):(de.exit("mathFlowFenceSequence"),(0,Ye.f)(de,lt,"whitespace")(on))}function lt(on){return on===null||(0,Pe.Ch)(on)?ft(on):(de.enter("mathFlowFenceMeta"),de.enter("chunkString",{contentType:"string"}),at(on))}function at(on){return on===null||(0,Pe.Ch)(on)?(de.exit("chunkString"),de.exit("mathFlowFenceMeta"),ft(on)):on===36?ge(on):(de.consume(on),at)}function ft(on){return de.exit("mathFlowFence"),ve.interrupt?se(on):de.attempt(tt,pt,yn)(on)}function pt(on){return de.attempt({tokenize:Ln,partial:!0},yn,Nt)(on)}function Nt(on){return(we?(0,Ye.f)(de,Xt,"linePrefix",we+1):Xt)(on)}function Xt(on){return on===null?yn(on):(0,Pe.Ch)(on)?de.attempt(tt,pt,yn)(on):(de.enter("mathFlowValue"),Zt(on))}function Zt(on){return on===null||(0,Pe.Ch)(on)?(de.exit("mathFlowValue"),Xt(on)):(de.consume(on),Zt)}function yn(on){return de.exit("mathFlow"),se(on)}function Ln(on,Bn,Et){let nt=0;return(0,Ye.f)(on,ot,"linePrefix",ve.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ot(Gt){return on.enter("mathFlowFence"),on.enter("mathFlowFenceSequence"),Jt(Gt)}function Jt(Gt){return Gt===36?(nt++,on.consume(Gt),Jt):nt<Oe?Et(Gt):(on.exit("mathFlowFenceSequence"),(0,Ye.f)(on,In,"whitespace")(Gt))}function In(Gt){return Gt===null||(0,Pe.Ch)(Gt)?(on.exit("mathFlowFence"),Bn(Gt)):Et(Gt)}}}function rt(de,se,ge){const ve=this;return be;function be(Oe){return Oe===null?se(Oe):(de.enter("lineEnding"),de.consume(Oe),de.exit("lineEnding"),we)}function we(Oe){return ve.parser.lazy[ve.now().line]?ge(Oe):se(Oe)}}function xt(de){let ge=(de||{}).singleDollarTextMath;return ge==null&&(ge=!0),{tokenize:ve,resolve:Qe,previous:Mt,name:"mathText"};function ve(be,we,Oe){const Ke=this;let qe=0,lt,at;return ft;function ft(yn){return be.enter("mathText"),be.enter("mathTextSequence"),pt(yn)}function pt(yn){return yn===36?(be.consume(yn),qe++,pt):qe<2&&!ge?Oe(yn):(be.exit("mathTextSequence"),Nt(yn))}function Nt(yn){return yn===null?Oe(yn):yn===36?(at=be.enter("mathTextSequence"),lt=0,Zt(yn)):yn===32?(be.enter("space"),be.consume(yn),be.exit("space"),Nt):(0,Pe.Ch)(yn)?(be.enter("lineEnding"),be.consume(yn),be.exit("lineEnding"),Nt):(be.enter("mathTextData"),Xt(yn))}function Xt(yn){return yn===null||yn===32||yn===36||(0,Pe.Ch)(yn)?(be.exit("mathTextData"),Nt(yn)):(be.consume(yn),Xt)}function Zt(yn){return yn===36?(be.consume(yn),lt++,Zt):lt===qe?(be.exit("mathTextSequence"),be.exit("mathText"),we(yn)):(at.type="mathTextData",Xt(yn))}}}function Qe(de){let se=de.length-4,ge=3,ve,be;if((de[ge][1].type==="lineEnding"||de[ge][1].type==="space")&&(de[se][1].type==="lineEnding"||de[se][1].type==="space")){for(ve=ge;++ve<se;)if(de[ve][1].type==="mathTextData"){de[se][1].type="mathTextPadding",de[ge][1].type="mathTextPadding",ge+=2,se-=2;break}}for(ve=ge-1,se++;++ve<=se;)be===void 0?ve!==se&&de[ve][1].type!=="lineEnding"&&(be=ve):(ve===se||de[ve][1].type==="lineEnding")&&(de[be][1].type="mathTextData",ve!==be+2&&(de[be][1].end=de[ve-1][1].end,de.splice(be+2,ve-be-2),se-=ve-be-2,ve=be+2),be=void 0);return de}function Mt(de){return de!==36||this.events[this.events.length-1][1].type==="characterEscape"}function De(de){return{flow:{36:Ue},text:{36:xt(de)}}}const te={};function ee(de){const se=this,ge=de||te,ve=se.data(),be=ve.micromarkExtensions||(ve.micromarkExtensions=[]),we=ve.fromMarkdownExtensions||(ve.fromMarkdownExtensions=[]),Oe=ve.toMarkdownExtensions||(ve.toMarkdownExtensions=[]);be.push(De(ge)),we.push(Fe()),Oe.push(ke(ge))}},17423:function(Re,xe,ue){"use strict";ue.d(xe,{Z:function(){return tt}});const ce=Ze=>typeof Ze=="object"&&Ze!=null&&Ze.nodeType===1,Ae=(Ze,rt)=>(!rt||Ze!=="hidden")&&Ze!=="visible"&&Ze!=="clip",Fe=(Ze,rt)=>{if(Ze.clientHeight<Ze.scrollHeight||Ze.clientWidth<Ze.scrollWidth){const xt=getComputedStyle(Ze,null);return Ae(xt.overflowY,rt)||Ae(xt.overflowX,rt)||(Qe=>{const Mt=(De=>{if(!De.ownerDocument||!De.ownerDocument.defaultView)return null;try{return De.ownerDocument.defaultView.frameElement}catch(te){return null}})(Qe);return!!Mt&&(Mt.clientHeight<Qe.scrollHeight||Mt.clientWidth<Qe.scrollWidth)})(Ze)}return!1},ke=(Ze,rt,xt,Qe,Mt,De,te,ee)=>De<Ze&&te>rt||De>Ze&&te<rt?0:De<=Ze&&ee<=xt||te>=rt&&ee>=xt?De-Ze-Qe:te>rt&&ee<xt||De<Ze&&ee>xt?te-rt+Mt:0,Ye=Ze=>{const rt=Ze.parentElement;return rt==null?Ze.getRootNode().host||null:rt},Pe=(Ze,rt)=>{var xt,Qe,Mt,De;if(typeof document=="undefined")return[];const{scrollMode:te,block:ee,inline:de,boundary:se,skipOverflowHiddenElements:ge}=rt,ve=typeof se=="function"?se:In=>In!==se;if(!ce(Ze))throw new TypeError("Invalid target");const be=document.scrollingElement||document.documentElement,we=[];let Oe=Ze;for(;ce(Oe)&&ve(Oe);){if(Oe=Ye(Oe),Oe===be){we.push(Oe);break}Oe!=null&&Oe===document.body&&Fe(Oe)&&!Fe(document.documentElement)||Oe!=null&&Fe(Oe,ge)&&we.push(Oe)}const Ke=(Qe=(xt=window.visualViewport)==null?void 0:xt.width)!=null?Qe:innerWidth,qe=(De=(Mt=window.visualViewport)==null?void 0:Mt.height)!=null?De:innerHeight,{scrollX:lt,scrollY:at}=window,{height:ft,width:pt,top:Nt,right:Xt,bottom:Zt,left:yn}=Ze.getBoundingClientRect(),{top:Ln,right:on,bottom:Bn,left:Et}=(In=>{const Gt=window.getComputedStyle(In);return{top:parseFloat(Gt.scrollMarginTop)||0,right:parseFloat(Gt.scrollMarginRight)||0,bottom:parseFloat(Gt.scrollMarginBottom)||0,left:parseFloat(Gt.scrollMarginLeft)||0}})(Ze);let nt=ee==="start"||ee==="nearest"?Nt-Ln:ee==="end"?Zt+Bn:Nt+ft/2-Ln+Bn,ot=de==="center"?yn+pt/2-Et+on:de==="end"?Xt+on:yn-Et;const Jt=[];for(let In=0;In<we.length;In++){const Gt=we[In],{height:An,width:Nn,top:di,right:At,bottom:Ot,left:$e}=Gt.getBoundingClientRect();if(te==="if-needed"&&Nt>=0&&yn>=0&&Zt<=qe&&Xt<=Ke&&Nt>=di&&Zt<=Ot&&yn>=$e&&Xt<=At)return Jt;const Wt=getComputedStyle(Gt),jt=parseInt(Wt.borderLeftWidth,10),Je=parseInt(Wt.borderTopWidth,10),Me=parseInt(Wt.borderRightWidth,10),Le=parseInt(Wt.borderBottomWidth,10);let Xe=0,dt=0;const je="offsetWidth"in Gt?Gt.offsetWidth-Gt.clientWidth-jt-Me:0,bt="offsetHeight"in Gt?Gt.offsetHeight-Gt.clientHeight-Je-Le:0,Sn="offsetWidth"in Gt?Gt.offsetWidth===0?0:Nn/Gt.offsetWidth:0,ni="offsetHeight"in Gt?Gt.offsetHeight===0?0:An/Gt.offsetHeight:0;if(be===Gt)Xe=ee==="start"?nt:ee==="end"?nt-qe:ee==="nearest"?ke(at,at+qe,qe,Je,Le,at+nt,at+nt+ft,ft):nt-qe/2,dt=de==="start"?ot:de==="center"?ot-Ke/2:de==="end"?ot-Ke:ke(lt,lt+Ke,Ke,jt,Me,lt+ot,lt+ot+pt,pt),Xe=Math.max(0,Xe+at),dt=Math.max(0,dt+lt);else{Xe=ee==="start"?nt-di-Je:ee==="end"?nt-Ot+Le+bt:ee==="nearest"?ke(di,Ot,An,Je,Le+bt,nt,nt+ft,ft):nt-(di+An/2)+bt/2,dt=de==="start"?ot-$e-jt:de==="center"?ot-($e+Nn/2)+je/2:de==="end"?ot-At+Me+je:ke($e,At,Nn,jt,Me+je,ot,ot+pt,pt);const{scrollLeft:ui,scrollTop:vn}=Gt;Xe=ni===0?0:Math.max(0,Math.min(vn+Xe/ni,Gt.scrollHeight-An/ni+bt)),dt=Sn===0?0:Math.max(0,Math.min(ui+dt/Sn,Gt.scrollWidth-Nn/Sn+je)),nt+=vn-Xe,ot+=ui-dt}Jt.push({el:Gt,top:Xe,left:dt})}return Jt},Ue=Ze=>Ze===!1?{block:"end",inline:"nearest"}:(rt=>rt===Object(rt)&&Object.keys(rt).length!==0)(Ze)?Ze:{block:"start",inline:"nearest"};function tt(Ze,rt){if(!Ze.isConnected||!(Mt=>{let De=Mt;for(;De&&De.parentNode;){if(De.parentNode===document)return!0;De=De.parentNode instanceof ShadowRoot?De.parentNode.host:De.parentNode}return!1})(Ze))return;const xt=(Mt=>{const De=window.getComputedStyle(Mt);return{top:parseFloat(De.scrollMarginTop)||0,right:parseFloat(De.scrollMarginRight)||0,bottom:parseFloat(De.scrollMarginBottom)||0,left:parseFloat(De.scrollMarginLeft)||0}})(Ze);if((Mt=>typeof Mt=="object"&&typeof Mt.behavior=="function")(rt))return rt.behavior(Pe(Ze,rt));const Qe=typeof rt=="boolean"||rt==null?void 0:rt.behavior;for(const{el:Mt,top:De,left:te}of Pe(Ze,Ue(rt))){const ee=De-xt.top+xt.bottom,de=te-xt.left+xt.right;Mt.scroll({top:ee,left:de,behavior:Qe})}}},50342:function(Re,xe,ue){"use strict";ue.d(xe,{P:function(){return Ae},Q:function(){return ce}});function ce(Fe){const ke=String(Fe||"").trim();return ke?ke.split(/[ \t\n\r\f]+/g):[]}function Ae(Fe){return Fe.join(" ").trim()}},96093:function(Re,xe,ue){"use strict";ue.d(xe,{O:function(){return Ae}});const ce=function(Ze,rt,xt,Qe,Mt){const De=Ae(rt);if(xt!=null&&(typeof xt!="number"||xt<0||xt===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(Qe!=null&&(!ce(Qe)||!Qe.children))throw new Error("Expected parent node");if(Qe==null!=(xt==null))throw new Error("Expected both parent and index");return tt(Ze)?De.call(Mt,Ze,xt,Qe):!1},Ae=function(Ze){if(Ze==null)return Ue;if(typeof Ze=="function")return Pe(Ze);if(typeof Ze=="object")return Array.isArray(Ze)?Fe(Ze):ke(Ze);if(typeof Ze=="string")return Ye(Ze);throw new Error("Expected function, string, or object as test")};function Fe(Ze){const rt=[];let xt=-1;for(;++xt<Ze.length;)rt[xt]=Ae(Ze[xt]);return Pe(Qe);function Qe(...Mt){let De=-1;for(;++De<rt.length;)if(rt[De].apply(this,Mt))return!0;return!1}}function ke(Ze){const rt=Ze;return Pe(xt);function xt(Qe){const Mt=Qe;let De;for(De in Ze)if(Mt[De]!==rt[De])return!1;return!0}}function Ye(Ze){return Pe(rt);function rt(xt){return xt&&xt.type===Ze}}function Pe(Ze){return rt;function rt(xt,Qe,Mt){return!!(tt(xt)&&Ze.call(this,xt,typeof Qe=="number"?Qe:void 0,Mt||void 0))}}function Ue(){return!0}function tt(Ze){return Ze!==null&&typeof Ze=="object"&&"type"in Ze}},3980:function(Re,xe,ue){"use strict";ue.d(xe,{FK:function(){return ke},Pk:function(){return Ae},rb:function(){return ce}});const ce=Fe("end"),Ae=Fe("start");function Fe(Ye){return Pe;function Pe(Ue){const tt=Ue&&Ue.position&&Ue.position[Ye]||{};if(typeof tt.line=="number"&&tt.line>0&&typeof tt.column=="number"&&tt.column>0)return{line:tt.line,column:tt.column,offset:typeof tt.offset=="number"&&tt.offset>-1?tt.offset:void 0}}}function ke(Ye){const Pe=Ae(Ye),Ue=ce(Ye);if(Pe&&Ue)return{start:Pe,end:Ue}}},88718:function(Re,xe,ue){"use strict";ue.d(xe,{AM:function(){return Pe},S4:function(){return Ue}});var ce=ue(96093);function Ae(Ze){return Ze}const Fe=[],ke=!0,Ye=!1,Pe="skip";function Ue(Ze,rt,xt,Qe){let Mt;typeof rt=="function"&&typeof xt!="function"?(Qe=xt,xt=rt):Mt=rt;const De=(0,ce.O)(Mt),te=Qe?-1:1;ee(Ze,void 0,[])();function ee(de,se,ge){const ve=de&&typeof de=="object"?de:{};if(typeof ve.type=="string"){const we=typeof ve.tagName=="string"?ve.tagName:typeof ve.name=="string"?ve.name:void 0;Object.defineProperty(be,"name",{value:"node ("+(de.type+(we?"<"+we+">":""))+")"})}return be;function be(){let we=Fe,Oe,Ke,qe;if((!rt||De(de,se,ge[ge.length-1]||void 0))&&(we=tt(xt(de,ge)),we[0]===Ye))return we;if("children"in de&&de.children){const lt=de;if(lt.children&&we[0]!==Pe)for(Ke=(Qe?lt.children.length:-1)+te,qe=ge.concat(lt);Ke>-1&&Ke<lt.children.length;){const at=lt.children[Ke];if(Oe=ee(at,Ke,qe)(),Oe[0]===Ye)return Oe;Ke=typeof Oe[1]=="number"?Oe[1]:Ke+te}}return we}}}function tt(Ze){return Array.isArray(Ze)?Ze:typeof Ze=="number"?[ke,Ze]:Ze==null?Fe:[Ze]}},21623:function(Re,xe,ue){"use strict";ue.d(xe,{Vn:function(){return Ae}});var ce=ue(88718);function Ae(Fe,ke,Ye,Pe){let Ue,tt,Ze;typeof ke=="function"&&typeof Ye!="function"?(tt=void 0,Ze=ke,Ue=Ye):(tt=ke,Ze=Ye,Ue=Pe),(0,ce.S4)(Fe,tt,rt,Ue);function rt(xt,Qe){const Mt=Qe[Qe.length-1],De=Mt?Mt.children.indexOf(xt):void 0;return Ze(xt,De,Mt)}}},49911:function(Re,xe,ue){"use strict";ue.d(xe,{t:function(){return ce}});const ce={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},93580:function(Re){"use strict";Re.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},21922:function(Re){"use strict";Re.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')}}]);
|
|
|
}()); |