|
|
(self.webpackChunk=self.webpackChunk||[]).push([[60673,4977,48999,38541],{15378:function(){"use strict";function e(e,t,n,a){void 0===n&&(n=0),void 0===a&&(a=1/0),this._name=e,this._defaultValue=t,this._minimum=n,this._maximum=a}Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){if("string"!=typeof e||""===e)throw new Error("Shape name must be a valid string.");this._name=e}}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(e){if("number"!=typeof e||isNaN(e))throw new Error("The default value must be a real number, not: "+e);this._defaultValue=e}}),Object.defineProperty(e.prototype,"minimum",{get:function(){return this._minimum},set:function(e){if("number"!=typeof e||isNaN(e))throw new Error("Minimum must be a real number, not: "+e);this._minimum=e}}),Object.defineProperty(e.prototype,"maximum",{get:function(){return this._maximum},set:function(e){if("number"!=typeof e||isNaN(e))throw new Error("Maximum must be a real number, not: "+e);this._maximum=e}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(e,t){var n=go.Shape._FigureParameters[e];return n?n[t]:null},go.Shape.setFigureParameter=function(t,n,a){if(!(a instanceof e))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var o=go.Shape._FigureParameters[t];o||(o=[],go.Shape._FigureParameters[t]=o),o[n]=a};var t=[];function n(e,n){var a=t.pop();return void 0===a?new go.Point(e,n):(a.x=e,a.y=n,a)}function a(){var e=t.pop();return void 0===e?new go.Point:e}function o(e){t.push(e)}function g(e,t,n,a,o,g,i,r,d){d||(d=new go.Point);var h,m,s,S=e-n,P=o-i,l=NaN,c=NaN;0===S?0===P?e===n&&(l=e,c=t):c=(m=(g-r)/P)*(l=e)+(g-m*o):c=0===P?(h=(t-a)/S)*(l=o)+(s=t-h*e):(h=(t-a)/S)*(l=(g-(m=(g-r)/P)*o-(s=t-h*e))/(h-m))+s;return d.x=l,d.y=c,d}function i(e,t,n,a,o,g,i,r,d,h,m,s,S,P){var l=1-d,c=e*l+n*d,u=t*l+a*d,w=n*l+o*d,p=a*l+g*d,f=o*l+i*d,v=g*l+r*d,L=c*l+w*d,A=u*l+p*d,y=w*l+f*d,x=p*l+v*d,B=L*l+y*d,F=A*l+x*d;h.x=c,h.y=u,m.x=L,m.y=A,s.x=B,s.y=F,S.x=y,S.y=x,P.x=f,P.y=v}var r=new go.Spot(.156,.156),d=new go.Spot(.844,.844),h=(Math.sqrt(2)-1)/3*4;go.Shape.setFigureParameter("RoundedRectangle",0,new e("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=5),a=Math.min(a,t/3);var o=(a=Math.min(a,n/3))*h,g=(new go.Geometry).add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,t-a,0)).add(new go.PathSegment(go.PathSegment.Bezier,t,a,t-o,0,t,o)).add(new go.PathSegment(go.PathSegment.Line,t,n-a)).add(new go.PathSegment(go.PathSegment.Bezier,t-a,n,t,n-o,t-o,n)).add(new go.PathSegment(go.PathSegment.Line,a,n)).add(new go.PathSegment(go.PathSegment.Bezier,0,n-a,o,n,0,n-o)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Bezier,a,0,0,o,o,0).close()));return o>1&&(g.spot1=new go.Spot(0,0,o,o),g.spot2=new go.Spot(1,1,-o,-o)),g})),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())).setSpots(0,.25,.5,.75)})),go.Shape.defineFigureGenerator("TriangleDown",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,.5*t,n).close())).setSpots(.25,0,.75,.5)})),go.Shape.defineFigureGenerator("TriangleLeft",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(t,n).add(new go.PathSegment(go.PathSegment.Line,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,t,0).close())).setSpots(.5,.25,1,.75)})),go.Shape.defineFigureGenerator("TriangleUp",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(t,n).add(new go.PathSegment(go.PathSegment.Line,0,n)).add(new go.PathSegment(go.PathSegment.Line,.5*t,0).close())).setSpots(.25,.5,.75,1)})),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.5*t,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,.5*t,n)).add(new go.PathSegment(go.PathSegment.Line,t,.5*n).close())).setSpots(.25,.25,.75,.75)})),go.Shape.defineFigureGenerator("LineH",(function(e,t,n){var a=new go.Geometry(go.Geometry.Line);return a.startX=0,a.startY=n/2,a.endX=t,a.endY=n/2,a})),go.Shape.defineFigureGenerator("LineV",(function(e,t,n){var a=new go.Geometry(go.Geometry.Line);return a.startX=t/2,a.startY=0,a.endX=t/2,a.endY=n,a})),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,n/2,!1).add(new go.PathSegment(go.PathSegment.Line,t,n/2)).add(new go.PathSegment(go.PathSegment.Move,t/2,0)).add(new go.PathSegment(go.PathSegment.Line,t/2,n)))})),go.Shape.defineFigureGenerator("XLine",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,n,!1).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)))})),go.Shape.defineFigureGenerator("LineRight",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.25*t,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,.25*t,n)))})),go.Shape.defineFigureGenerator("LineDown",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,.25*n,!1).add(new go.PathSegment(go.PathSegment.Line,.5*t,.75*n)).add(new go.PathSegment(go.PathSegment.Line,t,.25*n)))})),go.Shape.defineFigureGenerator("LineLeft",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.75*t,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,.75*t,n)))})),go.Shape.defineFigureGenerator("LineUp",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,.75*n,!1).add(new go.PathSegment(go.PathSegment.Line,.5*t,.25*n)).add(new go.PathSegment(go.PathSegment.Line,t,.75*n)))})),go.Shape.defineFigureGenerator("AsteriskLine",(function(e,t,n){var a=.2/Math.SQRT2;return(new go.Geometry).add(new go.PathFigure(a*t,(1-a)*n,!1).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,a*n)).add(new go.PathSegment(go.PathSegment.Move,a*t,a*n)).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,(1-a)*n)).add(new go.PathSegment(go.PathSegment.Move,0,n/2)).add(new go.PathSegment(go.PathSegment.Line,t,n/2)).add(new go.PathSegment(go.PathSegment.Move,t/2,0)).add(new go.PathSegment(go.PathSegment.Line,t/2,n)))})),go.Shape.defineFigureGenerator("CircleLine",(function(e,t,n){var a=t/2,o=(new go.Geometry).add(new go.PathFigure(t,t/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,a,a,a,a).close()));return o.spot1=r,o.spot2=d,o.defaultStretch=go.GraphObject.Uniform,o})),go.Shape.defineFigureGenerator("Line1",(function(e,t,n){var a=new go.Geometry(go.Geometry.Line);return a.startX=0,a.startY=0,a.endX=t,a.endY=n,a})),go.Shape.defineFigureGenerator("Line2",(function(e,t,n){var a=new go.Geometry(go.Geometry.Line);return a.startX=t,a.startY=0,a.endX=0,a.endY=n,a})),go.Shape.defineFigureGenerator("Curve1",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,t,n,h*t,0,t,(1-h)*n)))})),go.Shape.defineFigureGenerator("Curve2",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,t,n,0,h*n,(1-h)*t,n)))})),go.Shape.defineFigureGenerator("Curve3",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(t,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,n,t,h*n,h*t,n)))})),go.Shape.defineFigureGenerator("Curve4",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(t,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,n,(1-h)*t,0,0,(1-h)*n)))})),go.Shape.defineFigureGenerator("TriangleDownLeft",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())).setSpots(0,.5,.5,1)})),go.Shape.defineFigureGenerator("TriangleDownRight",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(t,0,!0).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())).setSpots(.5,.5,1,1)})),go.Shape.defineFigureGenerator("TriangleUpLeft",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())).setSpots(0,0,.5,.5)})),go.Shape.defineFigureGenerator("TriangleUpRight",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t,n).close())).setSpots(.5,0,1,.5)})),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new e("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)?a=.1:a<-1?a=-1:a>1&&(a=1);var o=Math.abs(a)*t;if(0===a)return(g=new go.Geometry(go.Geometry.Rectangle)).startX=0,g.startY=0,g.endX=t,g.endY=n,g;var g=new go.Geometry;return a>0?g.add(new go.PathFigure(o,0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t-o,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())):g.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t-o,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,o,n).close())),o<t/2&&g.setSpots(o/t,0,(t-o)/t,1),g})),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new e("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)?a=10:a<-t?a=-t:a>t&&(a=t);var o=Math.abs(a);if(0===a)return(g=new go.Geometry(go.Geometry.Rectangle)).startX=0,g.startY=0,g.endX=t,g.endY=n,g;var g=new go.Geometry;return a>0?g.add(new go.PathFigure(o,0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t-o,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())):g.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t-o,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,o,n).close())),o<t/2&&g.setSpots(o/t,0,(t-o)/t,1),g})),go.Shape.setFigureParameter("Trapezoid1",0,new e("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)?a=.2:a<.5?a=-.5:a>.5&&(a=.5);var o=Math.abs(a)*t;if(0===a)return(g=new go.Geometry(go.Geometry.Rectangle)).startX=0,g.startY=0,g.endX=t,g.endY=n,g;var g=new go.Geometry;return a>0?g.add(new go.PathFigure(o,0).add(new go.PathSegment(go.PathSegment.Line,t-o,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())):g.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t-o,n)).add(new go.PathSegment(go.PathSegment.Line,o,n).close())),o<t/2&&g.setSpots(o/t,0,(t-o)/t,1),g})),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new e("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)?a=20:a<-t?a=-t/2:a>t&&(a=t/2);var o=Math.abs(a);if(0===a)return(g=new go.Geometry(go.Geometry.Rectangle)).startX=0,g.startY=0,g.endX=t,g.endY=n,g;var g=new go.Geometry;return a>0?g.add(new go.PathFigure(o,0).add(new go.PathSegment(go.PathSegment.Line,t-o,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())):g.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t-o,n)).add(new go.PathSegment(go.PathSegment.Line,o,n).close())),o<t/2&&g.setSpots(o/t,0,(t-o)/t,1),g})),go.Shape.setFigureParameter("ManualOperation",0,new e("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)?a=10:a<-t?a=-t/2:a>t&&(a=t/2);var o=Math.abs(a);if(0===a)return(g=new go.Geometry(go.Geometry.Rectangle)).startX=0,g.startY=0,g.endX=t,g.endY=n,g;var g=new go.Geometry;return a>0?g.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t-o,n)).add(new go.PathSegment(go.PathSegment.Line,o,n).close())):g.add(new go.PathFigure(o,0).add(new go.PathSegment(go.PathSegment.Line,t-o,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close())),o<t/2&&g.setSpots(o/t,0,(t-o)/t,1),g}));var m=[];function s(){var e=m.pop();return void 0===e?[]:e}function S(e){e.length=0,m.push(e)}function P(e){for(var t=s(),n=1.5*Math.PI,a=0,o=0;o<e;o++)a=2*Math.PI/e*o+n,t[o]=new go.Point(.5+.5*Math.cos(a),.5+.5*Math.sin(a));return t.push(t[0]),t}function l(e){var t=c(e),n=s();n[0]=t[0];for(var a=1,o=1;a<t.length;a+=2,o+=3)n[o]=t[a],n[o+1]=t[a],n[o+2]=t[a+1];return S(t),n}function c(e){for(var t=P(e),n=s(),a=Math.floor(t.length/2),o=t.length-1,i=e%2==0?2:1,r=0;r<o;r++){var d=t[r],h=t[r+1],m=t[(a+r-1)%o],l=t[(a+r+i)%o];n[2*r]=d,n[2*r+1]=g(d.x,d.y,m.x,m.y,h.x,h.y,l.x,l.y,new go.Point)}return n[n.length]=n[0],S(t),n}go.Shape.defineFigureGenerator("Pentagon",(function(e,t,n){var a=P(5),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<5;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.2,.22),o.spot2=new go.Spot(.8,.9),o})),go.Shape.defineFigureGenerator("Hexagon",(function(e,t,n){var a=P(6),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<6;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.07,.25),o.spot2=new go.Spot(.93,.75),o})),go.Shape.defineFigureGenerator("Heptagon",(function(e,t,n){var a=P(7),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<7;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.2,.15),o.spot2=new go.Spot(.8,.85),o})),go.Shape.defineFigureGenerator("Octagon",(function(e,t,n){var a=P(8),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<8;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.15,.15),o.spot2=new go.Spot(.85,.85),o})),go.Shape.defineFigureGenerator("Nonagon",(function(e,t,n){var a=P(9),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<9;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.17,.13),o.spot2=new go.Spot(.82,.82),o})),go.Shape.defineFigureGenerator("Decagon",(function(e,t,n){var a=P(10),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<10;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.16,.16),o.spot2=new go.Spot(.84,.84),o})),go.Shape.defineFigureGenerator("Dodecagon",(function(e,t,n){var a=P(12),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<12;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.16,.16),o.spot2=new go.Spot(.84,.84),o})),go.Shape.defineFigureGenerator("FivePointedStar",(function(e,t,n){var a=c(5),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<10;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.266,.333),o.spot2=new go.Spot(.733,.733),o})),go.Shape.defineFigureGenerator("SixPointedStar",(function(e,t,n){var a=c(6),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<12;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.17,.25),o.spot2=new go.Spot(.83,.75),o})),go.Shape.defineFigureGenerator("SevenPointedStar",(function(e,t,n){var a=c(7),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<14;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.222,.277),o.spot2=new go.Spot(.777,.666),o})),go.Shape.defineFigureGenerator("EightPointedStar",(function(e,t,n){var a=c(8),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<16;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.25,.25),o.spot2=new go.Spot(.75,.75),o})),go.Shape.defineFigureGenerator("NinePointedStar",(function(e,t,n){var a=c(9),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<18;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.222,.277),o.spot2=new go.Spot(.777,.666),o})),go.Shape.defineFigureGenerator("TenPointedStar",(function(e,t,n){var a=c(10),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<20;i++)g.add(new go.PathSegment(go.PathSegment.Line,a[i].x*t,a[i].y*n));return g.add(new go.PathSegment(go.PathSegment.Line,a[0].x*t,a[0].y*n).close()),S(a),o.spot1=new go.Spot(.281,.261),o.spot2=new go.Spot(.723,.748),o})),go.Shape.defineFigureGenerator("FivePointedBurst",(function(e,t,n){var a=l(5),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<a.length;i+=3)g.add(new go.PathSegment(go.PathSegment.Bezier,a[i+2].x*t,a[i+2].y*n,a[i].x*t,a[i].y*n,a[i+1].x*t,a[i+1].y*n));return g.segments.last().close(),S(a),o.spot1=new go.Spot(.222,.277),o.spot2=new go.Spot(.777,.777),o})),go.Shape.defineFigureGenerator("SixPointedBurst",(function(e,t,n){var a=l(6),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<a.length;i+=3)g.add(new go.PathSegment(go.PathSegment.Bezier,a[i+2].x*t,a[i+2].y*n,a[i].x*t,a[i].y*n,a[i+1].x*t,a[i+1].y*n));return g.segments.last().close(),S(a),o.spot1=new go.Spot(.17,.222),o.spot2=new go.Spot(.833,.777),o})),go.Shape.defineFigureGenerator("SevenPointedBurst",(function(e,t,n){var a=l(7),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<a.length;i+=3)g.add(new go.PathSegment(go.PathSegment.Bezier,a[i+2].x*t,a[i+2].y*n,a[i].x*t,a[i].y*n,a[i+1].x*t,a[i+1].y*n));return g.segments.last().close(),S(a),o.spot1=new go.Spot(.222,.222),o.spot2=new go.Spot(.777,.777),o})),go.Shape.defineFigureGenerator("EightPointedBurst",(function(e,t,n){var a=l(8),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<a.length;i+=3)g.add(new go.PathSegment(go.PathSegment.Bezier,a[i+2].x*t,a[i+2].y*n,a[i].x*t,a[i].y*n,a[i+1].x*t,a[i+1].y*n));return g.segments.last().close(),S(a),o.spot1=new go.Spot(.222,.222),o.spot2=new go.Spot(.777,.777),o})),go.Shape.defineFigureGenerator("NinePointedBurst",(function(e,t,n){var a=l(9),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<a.length;i+=3)g.add(new go.PathSegment(go.PathSegment.Bezier,a[i+2].x*t,a[i+2].y*n,a[i].x*t,a[i].y*n,a[i+1].x*t,a[i+1].y*n));return g.segments.last().close(),S(a),o.spot1=new go.Spot(.222,.222),o.spot2=new go.Spot(.777,.777),o})),go.Shape.defineFigureGenerator("TenPointedBurst",(function(e,t,n){var a=l(10),o=new go.Geometry,g=new go.PathFigure(a[0].x*t,a[0].y*n,!0);o.add(g);for(var i=1;i<a.length;i+=3)g.add(new go.PathSegment(go.PathSegment.Bezier,a[i+2].x*t,a[i+2].y*n,a[i].x*t,a[i].y*n,a[i+1].x*t,a[i+1].y*n));return g.segments.last().close(),S(a),o.spot1=new go.Spot(.222,.222),o.spot2=new go.Spot(.777,.777),o})),go.Shape.setFigureParameter("FramedRectangle",0,new e("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new e("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",(function(e,t,n){var a=e?e.parameter1:NaN,o=e?e.parameter2:NaN;isNaN(a)&&(a=8),isNaN(o)&&(o=8);var g=new go.Geometry,i=new go.PathFigure(0,0,!0);return g.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,0)),i.add(new go.PathSegment(go.PathSegment.Line,t,n)),i.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a<t/2&&o<n/2&&(i.add(new go.PathSegment(go.PathSegment.Move,a,o)),i.add(new go.PathSegment(go.PathSegment.Line,a,n-o)),i.add(new go.PathSegment(go.PathSegment.Line,t-a,n-o)),i.add(new go.PathSegment(go.PathSegment.Line,t-a,o).close())),g.setSpots(0,0,1,1,a,o,-a,-o),g})),go.Shape.setFigureParameter("Ring",0,new e("Thickness",8)),go.Shape.defineFigureGenerator("Ring",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=8);var o=t/2,g=new go.Geometry,i=new go.PathFigure(t,t/2,!0);g.add(i),i.add(new go.PathSegment(go.PathSegment.Arc,0,360,o,o,o,o).close());var h=Math.max(o-a,0);return h>0&&(i.add(new go.PathSegment(go.PathSegment.Move,t/2+h,t/2)),i.add(new go.PathSegment(go.PathSegment.Arc,0,-360,o,o,h,h).close())),g.spot1=r,g.spot2=d,g.defaultStretch=go.GraphObject.Uniform,g})),go.Shape.defineFigureGenerator("Cloud",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.08034461*t,.1944299*n,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*t,.05349299*n,-.09239631*t,.07836421*n,.1406031*t,-.0542823*n)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*t,.074219*n,.2450511*t,-.00697547*n,.3776197*t,-.01112067*n)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*t,.07004196*n,.4539471*t,0,.6066018*t,-.02526587*n)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*t,.08370865*n,.6914277*t,-.01904177*n,.8921095*t,-.01220843*n)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*t,.3194596*n,1.036446*t,.04105738*n,1.020377*t,.3022052*n)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*t,.562044*n,1.04448*t,.360238*n,.992256*t,.5219009*n)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*t,.8217117*n,1.032337*t,.5771781*n,1.018411*t,.8120651*n)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*t,.9156953*n,1.028411*t,.9571472*n,.8556702*t,1.052487*n)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*t,.9310455*n,.7431877*t,1.009325*n,.5624123*t,1.021761*n)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*t,.9344623*n,.4820677*t,1.031761*n,.3030112*t,1.002796*n)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*t,.870098*n,.2329994*t,1.01518*n,.03213784*t,1.01518*n)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*t,.6545475*n,-.02812061*t,.9032597*n,-.01205169*t,.6835638*n)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*t,.4265613*n,-.01812061*t,.6089503*n,-.00606892*t,.4555777*n)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*t,.1944299*n,-.01606892*t,.3892545*n,-.01205169*t,.1944299*n))).setSpots(.1,.1,.9,.9)})),go.Shape.defineFigureGenerator("StopSign",(function(e,t,n){var a=1/(Math.SQRT2+2);return(new go.Geometry).add(new go.PathFigure(a*t,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,0)).add(new go.PathSegment(go.PathSegment.Line,t,a*n)).add(new go.PathSegment(go.PathSegment.Line,t,(1-a)*n)).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,n)).add(new go.PathSegment(go.PathSegment.Line,a*t,n)).add(new go.PathSegment(go.PathSegment.Line,0,(1-a)*n)).add(new go.PathSegment(go.PathSegment.Line,0,a*n).close())).setSpots(a/2,a/2,1-a/2,1-a/2)})),go.Shape.setFigureParameter("Pie",0,new e("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new e("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",(function(e,t,n){var a=e?e.parameter1:NaN,o=e?e.parameter2:NaN;isNaN(a)&&(a=0),isNaN(o)&&(o=315);var g=a%360;g<0&&(g+=360);var i=o%360,r=Math.min(t,n)/2;return(new go.Geometry).add(new go.PathFigure(r,r).add(new go.PathSegment(go.PathSegment.Arc,g,i,r,r,r,r).close()))})),go.Shape.defineFigureGenerator("PiePiece",(function(e,t,n){var a=h/Math.SQRT2*.5,o=Math.SQRT2/2,g=1-Math.SQRT2/2;return(new go.Geometry).add(new go.PathFigure(t,n,!0).add(new go.PathSegment(go.PathSegment.Bezier,o*t,g*n,t,(1-a)*n,(o+a)*t,(g+a)*n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close()))})),go.Shape.setFigureParameter("ThickCross",0,new e("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=30);var o=Math.min(a,t)/2,g=t/2,i=n/2;return(new go.Geometry).add(new go.PathFigure(g-o,0,!0).add(new go.PathSegment(go.PathSegment.Line,g+o,0)).add(new go.PathSegment(go.PathSegment.Line,g+o,i-o)).add(new go.PathSegment(go.PathSegment.Line,t,i-o)).add(new go.PathSegment(go.PathSegment.Line,t,i+o)).add(new go.PathSegment(go.PathSegment.Line,g+o,i+o)).add(new go.PathSegment(go.PathSegment.Line,g+o,n)).add(new go.PathSegment(go.PathSegment.Line,g-o,n)).add(new go.PathSegment(go.PathSegment.Line,g-o,i+o)).add(new go.PathSegment(go.PathSegment.Line,0,i+o)).add(new go.PathSegment(go.PathSegment.Line,0,i-o)).add(new go.PathSegment(go.PathSegment.Line,g-o,i-o).close()))})),go.Shape.setFigureParameter("ThinCross",0,new e("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=10);var o=Math.min(a,t)/2,g=t/2,i=n/2;return(new go.Geometry).add(new go.PathFigure(g-o,0,!0).add(new go.PathSegment(go.PathSegment.Line,g+o,0)).add(new go.PathSegment(go.PathSegment.Line,g+o,i-o)).add(new go.PathSegment(go.PathSegment.Line,t,i-o)).add(new go.PathSegment(go.PathSegment.Line,t,i+o)).add(new go.PathSegment(go.PathSegment.Line,g+o,i+o)).add(new go.PathSegment(go.PathSegment.Line,g+o,n)).add(new go.PathSegment(go.PathSegment.Line,g-o,n)).add(new go.PathSegment(go.PathSegment.Line,g-o,i+o)).add(new go.PathSegment(go.PathSegment.Line,0,i+o)).add(new go.PathSegment(go.PathSegment.Line,0,i-o)).add(new go.PathSegment(go.PathSegment.Line,g-o,i-o).close()))})),go.Shape.setFigureParameter("ThickX",0,new e("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",(function(e,t,n){var a=e?e.parameter1:NaN;if((isNaN(a)||a<0)&&(a=30),0===t||0===n)return(h=new go.Geometry(go.Geometry.Rectangle)).startX=0,h.startY=0,h.endX=t,h.endY=n,h;var o=t/2,g=n/2,i=Math.atan2(n,t),r=a-Math.min(Math.cos(i)*a/2,o),d=a-Math.min(Math.sin(i)*a/2,g),h=new go.Geometry,m=new go.PathFigure(r,0,!0);return h.add(m),m.add(new go.PathSegment(go.PathSegment.Line,o,.2*n)),m.add(new go.PathSegment(go.PathSegment.Line,t-r,0)),m.add(new go.PathSegment(go.PathSegment.Line,t,d)),m.add(new go.PathSegment(go.PathSegment.Line,.8*t,g)),m.add(new go.PathSegment(go.PathSegment.Line,t,n-d)),m.add(new go.PathSegment(go.PathSegment.Line,t-r,n)),m.add(new go.PathSegment(go.PathSegment.Line,o,.8*n)),m.add(new go.PathSegment(go.PathSegment.Line,r,n)),m.add(new go.PathSegment(go.PathSegment.Line,0,n-d)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,g)),m.add(new go.PathSegment(go.PathSegment.Line,0,d).close()),h})),go.Shape.setFigureParameter("ThinX",0,new e("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=10);var o=new go.Geometry,g=new go.PathFigure(.1*t,0,!0);return o.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.6*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.9*n)),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.9*n)),g.add(new go.PathSegment(go.PathSegment.Line,.4*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.1*n).close()),o})),go.Shape.setFigureParameter("SquareIBeam",0,new e("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=.2);var o=new go.Geometry,g=new go.PathFigure(0,0,!0);return o.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,a*n)),g.add(new go.PathSegment(go.PathSegment.Line,(.5+a/2)*t,a*n)),g.add(new go.PathSegment(go.PathSegment.Line,(.5+a/2)*t,(1-a)*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,(1-a)*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,(1-a)*n)),g.add(new go.PathSegment(go.PathSegment.Line,(.5-a/2)*t,(1-a)*n)),g.add(new go.PathSegment(go.PathSegment.Line,(.5-a/2)*t,a*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,a*n).close()),o})),go.Shape.setFigureParameter("RoundedIBeam",0,new e("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=.5);var o=new go.Geometry,g=new go.PathFigure(0,0,!0);return o.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Bezier,t,n,Math.abs(1-a)*t,.25*n,Math.abs(1-a)*t,.75*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n)),g.add(new go.PathSegment(go.PathSegment.Bezier,0,0,a*t,.75*n,a*t,.25*n).close()),o})),go.Shape.defineFigureGenerator("HalfEllipse",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,h*t,0,t,(.5-h/2)*n)).add(new go.PathSegment(go.PathSegment.Bezier,0,n,t,(.5+h/2)*n,h*t,n).close())).setSpots(0,.156,.844,.844)})),go.Shape.defineFigureGenerator("Crescent",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,n,t,0,t,n)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*t,.75*n,.5*t,.25*n).close())).setSpots(.311,.266,.744,.744)})),go.Shape.defineFigureGenerator("Heart",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.5*t,n,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*n,.1*t,.8*n,0,.5*n)).add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.3*n,0,0,.45*t,0)).add(new go.PathSegment(go.PathSegment.Bezier,t,.3*n,.55*t,0,t,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,.5*n,.9*t,.8*n).close())).setSpots(.14,.29,.86,.78)})),go.Shape.defineFigureGenerator("Spade",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.5*t,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*t,.01*n)).add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,.6*t,.2*n,t,.25*n)).add(new go.PathSegment(go.PathSegment.Bezier,.55*t,.7*n,t,.8*n,.6*t,.8*n)).add(new go.PathSegment(go.PathSegment.Bezier,.75*t,n,.5*t,.75*n,.55*t,.95*n)).add(new go.PathSegment(go.PathSegment.Line,.25*t,n)).add(new go.PathSegment(go.PathSegment.Bezier,.45*t,.7*n,.45*t,.95*n,.5*t,.75*n)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*n,.4*t,.8*n,0,.8*n)).add(new go.PathSegment(go.PathSegment.Bezier,.49*t,.01*n,0,.25*n,.4*t,.2*n).close())).setSpots(.14,.26,.86,.78)})),go.Shape.defineFigureGenerator("Club",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.4*t,.6*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,.15*t,n,.5*t,.75*n,.45*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.6*t,.6*n,.55*t,.95*n,.5*t,.75*n));var g=.2,i=.3,r=0,d=g*h;return o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+i)*t,(.5+g+r)*n,(.5-g+i)*t,(.5+d+r)*n,(.5-d+i)*t,(.5+g+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+g+i)*t,(.5+r)*n,(.5+d+i)*t,(.5+g+r)*n,(.5+g+i)*t,(.5+d+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+i)*t,(.5-g+r)*n,(.5+g+i)*t,(.5-d+r)*n,(.5+d+i)*t,(.5-g+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.65*t,.36771243*n,(.5-d+i)*t,(.5-g+r)*n,(.5-g+i+.05)*t,(.5-d+r-.02)*n)),i=0,r=-.3,d=(g=.2)*h,o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+g+i)*t,(.5+r)*n,(.5+d+i)*t,(.5+g+r)*n,(.5+g+i)*t,(.5+d+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+i)*t,(.5-g+r)*n,(.5+g+i)*t,(.5-d+r)*n,(.5+d+i)*t,(.5-g+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5-g+i)*t,(.5+r)*n,(.5-d+i)*t,(.5-g+r)*n,(.5-g+i)*t,(.5-d+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5-d+i)*t,(.5+g+r)*n,(.5-g+i)*t,(.5+d+r)*n,(.5-d+i)*t,(.5+g+r)*n)),i=-.3,r=0,d=(g=.2)*h,o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+i)*t,(.5-g+r)*n,(.5+g+i-.05)*t,(.5-d+r-.02)*n,(.5+d+i)*t,(.5-g+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5-g+i)*t,(.5+r)*n,(.5-d+i)*t,(.5-g+r)*n,(.5-g+i)*t,(.5-d+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,(.5+i)*t,(.5+g+r)*n,(.5-g+i)*t,(.5+d+r)*n,(.5-d+i)*t,(.5+g+r)*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.4*t,.6*n,(.5+d+i)*t,(.5+g+r)*n,(.5+g+i)*t,(.5+d+r)*n).close()),a.setSpots(.06,.33,.93,.68),a})),go.Shape.defineFigureGenerator("YinYang",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Arc,270,180,.5*t,.5*t,.5*t,.5*t)),o.add(new go.PathSegment(go.PathSegment.Arc,90,-180,.5*t,.75*t,.25*t,.25*t)),o.add(new go.PathSegment(go.PathSegment.Arc,90,180,.5*t,.25*t,.25*t,.25*t));var g=.1,i=.5,r=.25;return o.add(new go.PathSegment(go.PathSegment.Move,.6*t,r*n)),o.add(new go.PathSegment(go.PathSegment.Arc,0,-360,t*i,n*r,g*t,g*t).close()),o=new go.PathFigure(.5*t,0,!1),a.add(o),o.add(new go.PathSegment(go.PathSegment.Arc,270,-180,.5*t,.5*t,.5*t,.5*t)),r=.75,o=new go.PathFigure(.6*t,r*n,!0),a.add(o),o.add(new go.PathSegment(go.PathSegment.Arc,0,360,t*i,n*r,g*t,g*t).close()),a.defaultStretch=go.GraphObject.Uniform,a})),go.Shape.defineFigureGenerator("Peace",(function(e,t,n){var a=.8535533905932737,o=.5*t,g=.5*n;return(new go.Geometry).add(new go.PathFigure(o,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,o,g,o,g)).add(new go.PathSegment(go.PathSegment.Line,o,n)).add(new go.PathSegment(go.PathSegment.Move,o,g)).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,a*n)).add(new go.PathSegment(go.PathSegment.Move,o,g)).add(new go.PathSegment(go.PathSegment.Line,a*t,a*n)))})),go.Shape.defineFigureGenerator("NotAllowed",(function(e,t,n){var g=new go.Geometry,r=.5*h,d=.5,m=.5,s=.5,S=new go.PathFigure(m*t,(s-d)*n);g.add(S),S.add(new go.PathSegment(go.PathSegment.Bezier,(m-d)*t,s*n,(m-r)*t,(s-d)*n,(m-d)*t,(s-r)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+d)*n,(m-d)*t,(s+r)*n,(m-r)*t,(s+d)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(m+d)*t,s*n,(m+r)*t,(s+d)*n,(m+d)*t,(s+r)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s-d)*n,(m+d)*t,(s-r)*n,(m+r)*t,(s-d)*n)),d=.4,r=.4*h;var P=a(),l=a(),c=a(),u=a();i(m,s-d,m+r,s-d,m+d,s-r,m+d,s,.42,P,l,c,u,u);var w=a(),p=a(),f=a();i(m,s-d,m+r,s-d,m+d,s-r,m+d,s,.58,u,u,f,w,p);var v=a(),L=a(),A=a();i(m,s+d,m-r,s+d,m-d,s+r,m-d,s,.42,v,L,A,u,u);var y=a(),x=a(),B=a();return i(m,s+d,m-r,s+d,m-d,s+r,m-d,s,.58,u,u,B,y,x),S.add(new go.PathSegment(go.PathSegment.Move,B.x*t,B.y*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(m-d)*t,s*n,y.x*t,y.y*n,x.x*t,x.y*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s-d)*n,(m-d)*t,(s-r)*n,(m-r)*t,(s-d)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,c.x*t,c.y*n,P.x*t,P.y*n,l.x*t,l.y*n)),S.add(new go.PathSegment(go.PathSegment.Line,B.x*t,B.y*n).close()),S.add(new go.PathSegment(go.PathSegment.Move,A.x*t,A.y*n)),S.add(new go.PathSegment(go.PathSegment.Line,f.x*t,f.y*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(m+d)*t,s*n,w.x*t,w.y*n,p.x*t,p.y*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+d)*n,(m+d)*t,(s+r)*n,(m+r)*t,(s+d)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,A.x*t,A.y*n,v.x*t,v.y*n,L.x*t,L.y*n).close()),o(P),o(l),o(c),o(u),o(w),o(p),o(f),o(v),o(L),o(A),o(y),o(x),o(B),g.defaultStretch=go.GraphObject.Uniform,g})),go.Shape.defineFigureGenerator("Fragile",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*t,0)).add(new go.PathSegment(go.PathSegment.Line,.2*t,.15*n)).add(new go.PathSegment(go.PathSegment.Line,.3*t,.25*n)).add(new go.PathSegment(go.PathSegment.Line,.29*t,.33*n)).add(new go.PathSegment(go.PathSegment.Line,.35*t,.25*n)).add(new go.PathSegment(go.PathSegment.Line,.3*t,.15*n)).add(new go.PathSegment(go.PathSegment.Line,.4*t,0)).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*t,.5*n,t,.25*n,.75*t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,.55*t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.7*t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.7*t,n)).add(new go.PathSegment(go.PathSegment.Line,.3*t,n)).add(new go.PathSegment(go.PathSegment.Line,.3*t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.45*t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.45*t,.5*n)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*t,.5*n,0,.25*n).close()))})),go.Shape.setFigureParameter("HourGlass",0,new e("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=30),a>t&&(a=t);var o=(t-a)/2,g=o+a;return(new go.Geometry).add(new go.PathFigure(g,.5*n).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n)).add(new go.PathSegment(go.PathSegment.Line,o,.5*n)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,t,0).close()))})),go.Shape.defineFigureGenerator("Lightning",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,.55*n).add(new go.PathSegment(go.PathSegment.Line,.6*t,0)).add(new go.PathSegment(go.PathSegment.Line,.3*t,.45*n)).add(new go.PathSegment(go.PathSegment.Line,t,.45*n)).add(new go.PathSegment(go.PathSegment.Line,.4*t,n)).add(new go.PathSegment(go.PathSegment.Line,.7*t,.55*n).close()))})),go.Shape.defineFigureGenerator("GenderMale",(function(e,t,g){var r=new go.Geometry,d=.4*h,m=.4,s=.5,S=.5,P=a(),l=a(),c=a(),u=a(),w=new go.PathFigure((s-m)*t,S*g,!1);r.add(w),w.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S-m)*g,(s-m)*t,(S-d)*g,(s-d)*t,(S-m)*g)),i(s,S-m,s+d,S-m,s+m,S-d,s+m,S,.44,c,u,l,P,P),w.add(new go.PathSegment(go.PathSegment.Bezier,l.x*t,l.y*g,c.x*t,c.y*g,u.x*t,u.y*g));var p=n(l.x,l.y);i(s,S-m,s+d,S-m,s+m,S-d,s+m,S,.56,P,P,l,c,u);var f=n(l.x,l.y);w.add(new go.PathSegment(go.PathSegment.Line,(.1*p.x+.855)*t,.1*p.y*g)),w.add(new go.PathSegment(go.PathSegment.Line,.85*t,.1*p.y*g)),w.add(new go.PathSegment(go.PathSegment.Line,.85*t,0)),w.add(new go.PathSegment(go.PathSegment.Line,t,0)),w.add(new go.PathSegment(go.PathSegment.Line,t,.15*g)),w.add(new go.PathSegment(go.PathSegment.Line,(.1*f.x+.9)*t,.15*g)),w.add(new go.PathSegment(go.PathSegment.Line,(.1*f.x+.9)*t,(.1*f.y+.05*.9)*g)),w.add(new go.PathSegment(go.PathSegment.Line,f.x*t,f.y*g)),w.add(new go.PathSegment(go.PathSegment.Bezier,(s+m)*t,S*g,c.x*t,c.y*g,u.x*t,u.y*g)),w.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S+m)*g,(s+m)*t,(S+d)*g,(s+d)*t,(S+m)*g)),w.add(new go.PathSegment(go.PathSegment.Bezier,(s-m)*t,S*g,(s-d)*t,(S+m)*g,(s-m)*t,(S+d)*g)),m=.35,d=.35*h;var v=new go.PathFigure(s*t,(S-m)*g,!1);r.add(v),v.add(new go.PathSegment(go.PathSegment.Bezier,(s-m)*t,S*g,(s-d)*t,(S-m)*g,(s-m)*t,(S-d)*g)),v.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S+m)*g,(s-m)*t,(S+d)*g,(s-d)*t,(S+m)*g)),v.add(new go.PathSegment(go.PathSegment.Bezier,(s+m)*t,S*g,(s+d)*t,(S+m)*g,(s+m)*t,(S+d)*g)),v.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S-m)*g,(s+m)*t,(S-d)*g,(s+d)*t,(S-m)*g));var L=new go.PathFigure((s-m)*t,S*g,!1);return r.add(L),o(P),o(l),o(c),o(u),o(p),o(f),r.spot1=new go.Spot(.202,.257),r.spot2=new go.Spot(.792,.739),r.defaultStretch=go.GraphObject.Uniform,r})),go.Shape.defineFigureGenerator("GenderFemale",(function(e,t,n){var a=new go.Geometry,o=.375,g=0,i=-.125,r=o*h,d=new go.PathFigure((.525+g)*t,(.5+o+i)*n,!1);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5+o+g)*t,(.5+i)*n,(.5+r+g)*t,(.5+o+i)*n,(.5+o+g)*t,(.5+r+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5+g)*t,(.5-o+i)*n,(.5+o+g)*t,(.5-r+i)*n,(.5+r+g)*t,(.5-o+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5-o+g)*t,(.5+i)*n,(.5-r+g)*t,(.5-o+i)*n,(.5-o+g)*t,(.5-r+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(.475+g)*t,(.5+o+i)*n,(.5-o+g)*t,(.5+r+i)*n,(.5-r+g)*t,(.5+o+i)*n)),d.add(new go.PathSegment(go.PathSegment.Line,.475*t,.85*n)),d.add(new go.PathSegment(go.PathSegment.Line,.425*t,.85*n)),d.add(new go.PathSegment(go.PathSegment.Line,.425*t,.9*n)),d.add(new go.PathSegment(go.PathSegment.Line,.475*t,.9*n)),d.add(new go.PathSegment(go.PathSegment.Line,.475*t,n)),d.add(new go.PathSegment(go.PathSegment.Line,.525*t,n)),d.add(new go.PathSegment(go.PathSegment.Line,.525*t,.9*n)),d.add(new go.PathSegment(go.PathSegment.Line,.575*t,.9*n)),d.add(new go.PathSegment(go.PathSegment.Line,.575*t,.85*n)),d.add(new go.PathSegment(go.PathSegment.Line,.525*t,.85*n).close()),g=0,i=-.125,r=(o=.325)*h;d=new go.PathFigure((.5+o+g)*t,(.5+i)*n,!1);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5+g)*t,(.5+o+i)*n,(.5+o+g)*t,(.5+r+i)*n,(.5+r+g)*t,(.5+o+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5-o+g)*t,(.5+i)*n,(.5-r+g)*t,(.5+o+i)*n,(.5-o+g)*t,(.5+r+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5+g)*t,(.5-o+i)*n,(.5-o+g)*t,(.5-r+i)*n,(.5-r+g)*t,(.5-o+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(.5+o+g)*t,(.5+i)*n,(.5+r+g)*t,(.5-o+i)*n,(.5+o+g)*t,(.5-r+i)*n));d=new go.PathFigure((.525+g)*t,(.5+o+i)*n,!1);return a.add(d),a.spot1=new go.Spot(.232,.136),a.spot2=new go.Spot(.682,.611),a.defaultStretch=go.GraphObject.Uniform,a})),go.Shape.defineFigureGenerator("LogicImplies",(function(e,t,n){var a=e?e.parameter1:NaN;return isNaN(a)&&(a=.2),(new go.Geometry).add(new go.PathFigure((1-a)*t,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,n)).add(new go.PathSegment(go.PathSegment.Move,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,t,.5*n))).setSpots(0,0,.8,.5)})),go.Shape.defineFigureGenerator("LogicIff",(function(e,t,n){var a=e?e.parameter1:NaN;return isNaN(a)&&(a=.2),(new go.Geometry).add(new go.PathFigure((1-a)*t,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,(1-a)*t,n)).add(new go.PathSegment(go.PathSegment.Move,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Move,a*t,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,a*t,n))).setSpots(.2,0,.8,.5)})),go.Shape.defineFigureGenerator("LogicNot",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)))})),go.Shape.defineFigureGenerator("LogicAnd",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,n,!1).add(new go.PathSegment(go.PathSegment.Line,.5*t,0)).add(new go.PathSegment(go.PathSegment.Line,t,n))).setSpots(.25,.5,.75,1)})),go.Shape.defineFigureGenerator("LogicOr",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*t,n)).add(new go.PathSegment(go.PathSegment.Line,t,0))).setSpots(.219,0,.78,.409)})),go.Shape.defineFigureGenerator("LogicXor",(function(e,t,n){var a=(new go.Geometry).add(new go.PathFigure(.5*t,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*t,n)).add(new go.PathSegment(go.PathSegment.Move,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*t,.5*n,.5*t,.5*n)));return a.defaultStretch=go.GraphObject.Uniform,a})),go.Shape.defineFigureGenerator("LogicTruth",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Move,.5*t,0)).add(new go.PathSegment(go.PathSegment.Line,.5*t,n)))})),go.Shape.defineFigureGenerator("LogicFalsity",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,n,!1).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Move,.5*t,n)).add(new go.PathSegment(go.PathSegment.Line,.5*t,0)))})),go.Shape.defineFigureGenerator("LogicThereExists",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,0,.5*n)).add(new go.PathSegment(go.PathSegment.Move,t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n)))})),go.Shape.defineFigureGenerator("LogicForAll",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*t,n)).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Move,.25*t,.5*n)).add(new go.PathSegment(go.PathSegment.Line,.75*t,.5*n))).setSpots(.25,0,.75,.5)})),go.Shape.defineFigureGenerator("LogicIsDefinedAs",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*n)).add(new go.PathSegment(go.PathSegment.Line,t,.5*n)).add(new go.PathSegment(go.PathSegment.Move,0,n)).add(new go.PathSegment(go.PathSegment.Line,t,n))).setSpots(.01,.01,.99,.49)})),go.Shape.defineFigureGenerator("LogicIntersect",(function(e,t,n){var a=.5;return(new go.Geometry).add(new go.PathFigure(0,n,!1).add(new go.PathSegment(go.PathSegment.Line,0,a*n)).add(new go.PathSegment(go.PathSegment.Arc,180,180,a*t,a*n,a*t,a*n)).add(new go.PathSegment(go.PathSegment.Line,t,n))).setSpots(0,.5,1,1)})),go.Shape.defineFigureGenerator("LogicUnion",(function(e,t,n){var a=.5;return(new go.Geometry).add(new go.PathFigure(t,0,!1).add(new go.PathSegment(go.PathSegment.Line,t,a*n)).add(new go.PathSegment(go.PathSegment.Arc,0,180,a*t,a*n,a*t,a*n)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)})),go.Shape.setFigureParameter("Arrow",0,new e("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new e("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=.3);var r=e?e.parameter2:NaN;isNaN(r)&&(r=.3);var d=(1-i)*t,h=(.5-r/2)*n,m=(.5+r/2)*n,s=new go.Geometry,S=new go.PathFigure(0,h,!0);s.add(S),S.add(new go.PathSegment(go.PathSegment.Line,d,h)),S.add(new go.PathSegment(go.PathSegment.Line,d,0)),S.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),S.add(new go.PathSegment(go.PathSegment.Line,d,n)),S.add(new go.PathSegment(go.PathSegment.Line,d,m)),S.add(new go.PathSegment(go.PathSegment.Line,0,m).close()),s.spot1=new go.Spot(0,h/n);var P=g(0,m/n,1,m/n,d/t,1,1,.5,a());return s.spot2=new go.Spot(P.x,P.y),o(P),s})),go.Shape.setFigureParameter("Arrow2",0,new e("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new e("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=30),i>t&&(i=t);var r=e?e.parameter2:NaN;isNaN(r)&&(r=30);var d=t-i,h=(n-(r=Math.min(r,n/2)))/2,m=h+r,s=new go.Geometry,S=new go.PathFigure(0,h,!0);s.add(S),S.add(new go.PathSegment(go.PathSegment.Line,d,h)),S.add(new go.PathSegment(go.PathSegment.Line,d,0)),S.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),S.add(new go.PathSegment(go.PathSegment.Line,d,n)),S.add(new go.PathSegment(go.PathSegment.Line,d,m)),S.add(new go.PathSegment(go.PathSegment.Line,0,m).close()),s.spot1=new go.Spot(0,h/n);var P=g(0,m/n,1,m/n,d/t,1,1,.5,a());return s.spot2=new go.Spot(P.x,P.y),o(P),s})),go.Shape.defineFigureGenerator("Chevron",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n).close()),a})),go.Shape.defineFigureGenerator("DoubleArrow",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.214*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.786*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,1*n).close()),a})),go.Shape.setFigureParameter("DoubleEndArrow",0,new e("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=.3);var r=(.5-i/2)*n,d=(.5+i/2)*n,h=new go.Geometry,m=new go.PathFigure(t,.5*n,!0);h.add(m),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,d)),m.add(new go.PathSegment(go.PathSegment.Line,.3*t,d)),m.add(new go.PathSegment(go.PathSegment.Line,.3*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,0,.5*n)),m.add(new go.PathSegment(go.PathSegment.Line,.3*t,0)),m.add(new go.PathSegment(go.PathSegment.Line,.3*t,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,0).close());var s=g(0,.5,.3,0,0,r/n,.1,r/n,a());return h.spot1=new go.Spot(s.x,s.y),s=g(.7,1,1,.5,0,d/n,1,d/n,s),h.spot2=new go.Spot(s.x,s.y),o(s),h})),go.Shape.setFigureParameter("DoubleEndArrow2",0,new e("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new e("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=40);var r=e?e.parameter2:NaN;isNaN(r)&&(r=100);var d=(n-i)/2,h=d+i,m=(n-r)/2,s=m+r;(i>n||r>n)&&(r>i?(h=(d=(n-(i=i*n/r))/2)+i,m=0,s=n):(d=0,h=n,m=0,s=n));var S=new go.Geometry,P=new go.PathFigure(t,.5*n,!0);S.add(P),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,s)),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,h)),P.add(new go.PathSegment(go.PathSegment.Line,.3*t,h)),P.add(new go.PathSegment(go.PathSegment.Line,.3*t,s)),P.add(new go.PathSegment(go.PathSegment.Line,0,.5*n)),P.add(new go.PathSegment(go.PathSegment.Line,.3*t,m)),P.add(new go.PathSegment(go.PathSegment.Line,.3*t,d)),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,d)),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,m).close());var l=g(0,.5,.3,m/n,0,d/n,1,d/n,a());return S.spot1=new go.Spot(l.x,l.y),l=g(.7,s/n,1,.5,0,h/n,1,h/n,l),S.spot2=new go.Spot(l.x,l.y),o(l),S})),go.Shape.setFigureParameter("IBeamArrow",0,new e("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=.3);var r=(.5-i/2)*n,d=(.5+i/2)*n,h=new go.Geometry,m=new go.PathFigure(t,.5*n,!0);h.add(m),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,d)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,d)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,0,n)),m.add(new go.PathSegment(go.PathSegment.Line,0,0)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,0)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,0).close()),h.spot1=new go.Spot(0,r/n);var s=g(.7,1,1,.5,0,d/n,1,d/n,a());return h.spot2=new go.Spot(s.x,s.y),o(s),h})),go.Shape.setFigureParameter("IBeamArrow2",0,new e("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new e("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=40);var r=e?e.parameter2:NaN;isNaN(r)&&(r=100);var d=(n-i)/2,h=d+i,m=(n-r)/2,s=m+r;(i>n||r>n)&&(r>i?(h=(d=(n-(i=i*n/r))/2)+i,m=0,s=n):(d=0,h=n,m=0,s=n));var S=new go.Geometry,P=new go.PathFigure(t,.5*n,!0);S.add(P),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,s)),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,h)),P.add(new go.PathSegment(go.PathSegment.Line,.2*t,h)),P.add(new go.PathSegment(go.PathSegment.Line,.2*t,s)),P.add(new go.PathSegment(go.PathSegment.Line,0,s)),P.add(new go.PathSegment(go.PathSegment.Line,0,m)),P.add(new go.PathSegment(go.PathSegment.Line,.2*t,m)),P.add(new go.PathSegment(go.PathSegment.Line,.2*t,d)),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,d)),P.add(new go.PathSegment(go.PathSegment.Line,.7*t,m).close()),S.spot1=new go.Spot(0,d/n);var l=g(.7,s/n,1,.5,0,h/n,1,h/n,a());return S.spot2=new go.Spot(l.x,l.y),o(l),S})),go.Shape.setFigureParameter("Pointer",0,new e("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=.1);var r=new go.Geometry,d=new go.PathFigure(t,.5*n,!0);r.add(d),d.add(new go.PathSegment(go.PathSegment.Line,0,n)),d.add(new go.PathSegment(go.PathSegment.Line,i*t,.5*n)),d.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),r.spot1=new go.Spot(i,.35);var h=g(.2,.65,1,.65,0,1,1,.5,a());return r.spot2=new go.Spot(h.x,h.y),o(h),r})),go.Shape.setFigureParameter("RoundedPointer",0,new e("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=.3);var r=new go.Geometry,d=new go.PathFigure(t,.5*n,!0);r.add(d),d.add(new go.PathSegment(go.PathSegment.Line,0,n)),d.add(new go.PathSegment(go.PathSegment.Bezier,0,0,i*t,.75*n,i*t,.25*n).close()),r.spot1=new go.Spot(i,.35);var h=g(0,.65,1,.65,0,1,1,.5,a());return r.spot2=new go.Spot(h.x,h.y),o(h),r})),go.Shape.setFigureParameter("SplitEndArrow",0,new e("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=.4);var r=(.5-i/2)*n,d=(.5+i/2)*n,h=new go.Geometry,m=new go.PathFigure(t,.5*n,!0);h.add(m),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,d)),m.add(new go.PathSegment(go.PathSegment.Line,0,d)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,.5*n)),m.add(new go.PathSegment(go.PathSegment.Line,0,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,0).close()),h.spot1=new go.Spot(.2,.3);var s=g(.7,1,1,.5,0,d/n,1,d/n,a());return h.spot2=new go.Spot(s.x,s.y),o(s),h})),go.Shape.setFigureParameter("SplitEndArrow2",0,new e("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",(function(e,t,n){var i=e?e.parameter1:NaN;isNaN(i)&&(i=50);var r=(n-i)/2,d=r+i;i>n&&(r=0,d=n);var h=new go.Geometry,m=new go.PathFigure(t,.5*n,!0);h.add(m),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,d)),m.add(new go.PathSegment(go.PathSegment.Line,0,d)),m.add(new go.PathSegment(go.PathSegment.Line,.2*t,.5*n)),m.add(new go.PathSegment(go.PathSegment.Line,0,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,r)),m.add(new go.PathSegment(go.PathSegment.Line,.7*t,0).close()),h.spot1=new go.Spot(.2,r/n);var s=g(.7,1,1,.5,0,d/n,1,d/n,a());return h.spot2=new go.Spot(s.x,s.y),o(s),h})),go.Shape.setFigureParameter("SquareArrow",0,new e("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=.7);var o=new go.Geometry,g=new go.PathFigure(t,.5*n,!0);return o.add(g),g.add(new go.PathSegment(go.PathSegment.Line,a*t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,0)),g.add(new go.PathSegment(go.PathSegment.Line,a*t,0).close()),o.spot1=go.Spot.TopLeft,o.spot2=new go.Spot(a,1),o})),go.Shape.defineFigureGenerator("Cone1",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.1*h,i=new go.PathFigure(0,.9*n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),i.add(new go.PathSegment(go.PathSegment.Line,t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,(.9+g)*n,(.5+o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*n,(.5-o)*t,n,0,(.9+g)*n).close()),a.spot1=new go.Spot(.25,.5),a.spot2=new go.Spot(.75,.97),a})),go.Shape.defineFigureGenerator("Cone2",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.9*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,t,.9*n,(1-.85/.9)*t,n,.85/.9*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,0,.9*n).close());var g=new go.PathFigure(0,.9*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Bezier,t,.9*n,(1-.85/.9)*t,.8*n,.85/.9*t,.8*n)),a.spot1=new go.Spot(.25,.5),a.spot2=new go.Spot(.75,.82),a})),go.Shape.defineFigureGenerator("Cube1",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.15*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,0,.15*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.85*n).close());var g=new go.PathFigure(.5*t,n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.15*n)),g.add(new go.PathSegment(go.PathSegment.Move,.5*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.15*n)),a.spot1=new go.Spot(0,.3),a.spot2=new go.Spot(.5,.85),a})),go.Shape.defineFigureGenerator("Cube2",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.3*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,0).close());var g=new go.PathFigure(0,.3*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.7*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Move,.7*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),a.spot1=new go.Spot(0,.3),a.spot2=new go.Spot(.7,1),a})),go.Shape.defineFigureGenerator("Cylinder1",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=5),a=Math.min(a,n/3);var o=new go.Geometry,g=.5*h,i=new go.PathFigure(0,a,!0);o.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,0,h*a,(.5-g)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,1*t,a,(.5+g)*t,0,1*t,h*a)),i.add(new go.PathSegment(go.PathSegment.Line,t,n-a)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,1*n,1*t,n-h*a,(.5+g)*t,1*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,n-a,(.5-g)*t,1*n,0,n-h*a)),i.add(new go.PathSegment(go.PathSegment.Line,0,a));var r=new go.PathFigure(t,a,!1);return o.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,2*a,1*t,2*a-h*a,(.5+g)*t,2*a)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,a,(.5-g)*t,2*a,0,2*a-h*a)),o.spot1=new go.Spot(0,0,0,2*a),o.spot2=new go.Spot(1,1),o})),go.Shape.defineFigureGenerator("Cylinder2",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=5),a=Math.min(a,n/3);var o=new go.Geometry,g=.5*h,i=new go.PathFigure(0,n-a,!0);o.add(i),i.add(new go.PathSegment(go.PathSegment.Line,0,a)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,0,h*a,(.5-g)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,a,(.5+g)*t,0,t,h*a)),i.add(new go.PathSegment(go.PathSegment.Line,t,n-a)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,n-h*a,(.5+g)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,n-a,(.5-g)*t,n,0,n-h*a));var r=new go.PathFigure(0,n-a,!1);return o.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n-2*a,0,n-a-h*a,(.5-g)*t,n-2*a)),r.add(new go.PathSegment(go.PathSegment.Bezier,t,n-a,(.5+g)*t,n-2*a,t,n-a-h*a)),o.spot1=new go.Spot(0,0),o.spot2=new go.Spot(1,1,0,-2*a),o})),go.Shape.defineFigureGenerator("Cylinder3",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=5),a=Math.min(a,t/3);var o=new go.Geometry,g=.5*h,i=new go.PathFigure(a,0,!0);o.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t-a,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,t-h*a,0,t,(.5-g)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,t-a,n,t,(.5+g)*n,t-h*a,n)),i.add(new go.PathSegment(go.PathSegment.Line,a,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*n,h*a,n,0,(.5+g)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,a,0,0,(.5-g)*n,h*a,0));var r=new go.PathFigure(a,0,!1);return o.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,2*a,.5*n,a+h*a,0,2*a,(.5-g)*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,a,n,2*a,(.5+g)*n,a+h*a,n)),o.spot1=new go.Spot(0,0,2*a,0),o.spot2=new go.Spot(1,1),o})),go.Shape.defineFigureGenerator("Cylinder4",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=5),a=Math.min(a,t/3);var o=new go.Geometry,g=.5*h,i=new go.PathFigure(t-a,0,!0);o.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,t-h*a,0,t,(.5-g)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,t-a,n,t,(.5+g)*n,t-h*a,n)),i.add(new go.PathSegment(go.PathSegment.Line,a,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*n,h*a,n,0,(.5+g)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,a,0,0,(.5-g)*n,h*a,0)),i.add(new go.PathSegment(go.PathSegment.Line,t-a,0));var r=new go.PathFigure(t-a,0,!1);return o.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,t-2*a,.5*n,t-a-h*a,0,t-2*a,(.5-g)*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,t-a,n,t-2*a,(.5+g)*n,t-a-h*a,n)),o.spot1=new go.Spot(0,0),o.spot2=new go.Spot(1,1,-2*a,0),o})),go.Shape.defineFigureGenerator("Prism1",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.25*t,.25*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var g=new go.PathFigure(.25*t,.25*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),a.spot1=new go.Spot(.408,.172),a.spot2=new go.Spot(.833,.662),a})),go.Shape.defineFigureGenerator("Prism2",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.25*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var g=new go.PathFigure(0,n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.25*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.25*n)),g.add(new go.PathSegment(go.PathSegment.Move,0,.25*n)),g.add(new go.PathSegment(go.PathSegment.Line,.25*t,.5*n)),a.spot1=new go.Spot(.25,.5),a.spot2=new go.Spot(.75,.75),a})),go.Shape.defineFigureGenerator("Pyramid1",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.75*n).close());var g=new go.PathFigure(.5*t,0,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),a.spot1=new go.Spot(.25,.367),a.spot2=new go.Spot(.75,.875),a})),go.Shape.defineFigureGenerator("Pyramid2",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.85*n).close());var g=new go.PathFigure(.5*t,0,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.7*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.85*n)),g.add(new go.PathSegment(go.PathSegment.Move,.5*t,.7*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.85*n)),a.spot1=new go.Spot(.25,.367),a.spot2=new go.Spot(.75,.875),a})),go.Shape.defineFigureGenerator("Actor",(function(e,t,n){var a=new go.Geometry,o=.2,g=.1,i=h*o,r=h*g,d=.5,m=.1,s=new go.PathFigure(d*t,(m+g)*n,!0);a.add(s),s.add(new go.PathSegment(go.PathSegment.Bezier,(d-o)*t,m*n,(d-i)*t,(m+g)*n,(d-o)*t,(m+r)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-g)*n,(d-o)*t,(m-r)*n,(d-i)*t,(m-g)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,(d+o)*t,m*n,(d+i)*t,(m-g)*n,(d+o)*t,(m-r)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m+g)*n,(d+o)*t,(m+r)*n,(d+i)*t,(m+g)*n));var S=.05,P=h*S;d=.05,m=.25;var l=new go.PathFigure(.5*t,.2*n,!0);return a.add(l),l.add(new go.PathSegment(go.PathSegment.Line,.95*t,.2*n)),d=.95,m=.25,l.add(new go.PathSegment(go.PathSegment.Bezier,(d+S)*t,m*n,(d+P)*t,(m-S)*n,(d+S)*t,(m-P)*n)),l.add(new go.PathSegment(go.PathSegment.Line,t,.6*n)),l.add(new go.PathSegment(go.PathSegment.Line,.85*t,.6*n)),l.add(new go.PathSegment(go.PathSegment.Line,.85*t,.35*n)),P=h*(S=.025),d=.825,m=.35,l.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-S)*n,(d+S)*t,(m-P)*n,(d+P)*t,(m-S)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(d-S)*t,m*n,(d-P)*t,(m-S)*n,(d-S)*t,(m-P)*n)),l.add(new go.PathSegment(go.PathSegment.Line,.8*t,n)),l.add(new go.PathSegment(go.PathSegment.Line,.55*t,n)),l.add(new go.PathSegment(go.PathSegment.Line,.55*t,.7*n)),P=h*(S=.05),d=.5,m=.7,l.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-S)*n,(d+S)*t,(m-P)*n,(d+P)*t,(m-S)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(d-S)*t,m*n,(d-P)*t,(m-S)*n,(d-S)*t,(m-P)*n)),l.add(new go.PathSegment(go.PathSegment.Line,.45*t,n)),l.add(new go.PathSegment(go.PathSegment.Line,.2*t,n)),l.add(new go.PathSegment(go.PathSegment.Line,.2*t,.35*n)),P=h*(S=.025),d=.175,m=.35,l.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-S)*n,(d+S)*t,(m-P)*n,(d+P)*t,(m-S)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(d-S)*t,m*n,(d-P)*t,(m-S)*n,(d-S)*t,(m-P)*n)),l.add(new go.PathSegment(go.PathSegment.Line,.15*t,.6*n)),l.add(new go.PathSegment(go.PathSegment.Line,0,.6*n)),l.add(new go.PathSegment(go.PathSegment.Line,0,.25*n)),P=h*(S=.05),d=.05,m=.25,l.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-S)*n,(d-S)*t,(m-P)*n,(d-P)*t,(m-S)*n)),l.add(new go.PathSegment(go.PathSegment.Line,.5*t,.2*n)),a.spot1=new go.Spot(.2,.2),a.spot2=new go.Spot(.8,.65),a})),go.Shape.setFigureParameter("Card",0,new e("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",(function(e,t,n){var a=e?e.parameter1:NaN;isNaN(a)&&(a=.2);var o=new go.Geometry,g=new go.PathFigure(t,0,!0);return o.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,a*n)),g.add(new go.PathSegment(go.PathSegment.Line,a*t,0).close()),o.spot1=new go.Spot(0,a),o.spot2=go.Spot.BottomRight,o})),go.Shape.defineFigureGenerator("Collate",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,.5*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n));var g=new go.PathFigure(.5*t,.5*n,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),a.spot1=new go.Spot(.25,0),a.spot2=new go.Spot(.75,.25),a})),go.Shape.defineFigureGenerator("CreateRequest",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.1);var g=new go.PathFigure(0,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var i=new go.PathFigure(0,o*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,o*n)),i.add(new go.PathSegment(go.PathSegment.Move,0,(1-o)*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,(1-o)*n)),a})),go.Shape.defineFigureGenerator("Database",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.1*h,i=new go.PathFigure(t,.1*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,(.9+g)*n,(.5+o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*n,(.5-o)*t,n,0,(.9+g)*n)),i.add(new go.PathSegment(go.PathSegment.Line,0,.1*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,0,(.1-g)*n,(.5-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.1*n,(.5+o)*t,0,t,(.1-g)*n));var r=new go.PathFigure(t,.1*n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.2*n,t,(.1+g)*n,(.5+o)*t,.2*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*n,(.5-o)*t,.2*n,0,(.1+g)*n)),r.add(new go.PathSegment(go.PathSegment.Move,t,.2*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.3*n,t,(.2+g)*n,(.5+o)*t,.3*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*n,(.5-o)*t,.3*n,0,(.2+g)*n)),r.add(new go.PathSegment(go.PathSegment.Move,t,.3*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.4*n,t,(.3+g)*n,(.5+o)*t,.4*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*n,(.5-o)*t,.4*n,0,(.3+g)*n)),a.spot1=new go.Spot(0,.4),a.spot2=new go.Spot(1,.9),a})),go.Shape.defineFigureGenerator("DataStorage",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,.75*t,n,t,0,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*t,.9*n,.25*t,.1*n).close()),a.spot1=new go.Spot(.226,0),a.spot2=new go.Spot(.81,1),a})),go.Shape.defineFigureGenerator("DiskStorage",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.1*h,i=new go.PathFigure(t,.1*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,(.9+g)*n,(.5+o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*n,(.5-o)*t,n,0,(.9+g)*n)),i.add(new go.PathSegment(go.PathSegment.Line,0,.1*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,0,(.1-g)*n,(.5-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.1*n,(.5+o)*t,0,t,(.1-g)*n));var r=new go.PathFigure(t,.1*n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.2*n,t,(.1+g)*n,(.5+o)*t,.2*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*n,(.5-o)*t,.2*n,0,(.1+g)*n)),r.add(new go.PathSegment(go.PathSegment.Move,t,.2*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.3*n,t,(.2+g)*n,(.5+o)*t,.3*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*n,(.5-o)*t,.3*n,0,(.2+g)*n)),a.spot1=new go.Spot(0,.3),a.spot2=new go.Spot(1,.9),a})),go.Shape.defineFigureGenerator("Display",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.25*t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,.75*t,n,t,0,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.5*n).close()),a.spot1=new go.Spot(.25,0),a.spot2=new go.Spot(.75,1),a})),go.Shape.defineFigureGenerator("DividedEvent",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)?o=.2:o<.15&&(o=.15);var g=.2*h,i=new go.PathFigure(0,.2*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,.2*t,0,0,(.2-g)*n,(.2-g)*t,0)),i.add(new go.PathSegment(go.PathSegment.Line,.8*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.2*n,(.8+g)*t,0,t,(.2-g)*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,.8*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,n,t,(.8+g)*n,(.8+g)*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,.2*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*n,(.2-g)*t,n,0,(.8+g)*n)),i.add(new go.PathSegment(go.PathSegment.Line,0,.2*n));var r=new go.PathFigure(0,o*n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,t,o*n)),a})),go.Shape.defineFigureGenerator("DividedProcess",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;(isNaN(o)||o<.1)&&(o=.1);var g=new go.PathFigure(0,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var i=new go.PathFigure(0,o*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,o*n)),a})),go.Shape.defineFigureGenerator("Document",(function(e,t,n){var a=new go.Geometry;n/=.8;var o=new go.PathFigure(0,.7*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*n,.5*t,.4*n,.5*t,n).close()),a.spot1=go.Spot.TopLeft,a.spot2=new go.Spot(1,.6),a})),go.Shape.defineFigureGenerator("ExternalOrganization",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;(isNaN(o)||o<.2)&&(o=.2);var g=new go.PathFigure(0,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var i=new go.PathFigure(o*t,0,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,0,o*n)),i.add(new go.PathSegment(go.PathSegment.Move,t,o*n)),i.add(new go.PathSegment(go.PathSegment.Line,(1-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Move,0,(1-o)*n)),i.add(new go.PathSegment(go.PathSegment.Line,o*t,n)),i.add(new go.PathSegment(go.PathSegment.Move,(1-o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,t,(1-o)*n)),a})),go.Shape.defineFigureGenerator("ExternalProcess",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.5*n).close());var g=new go.PathFigure(.1*t,.4*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Move,.9*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Move,.6*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.4*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Move,.4*t,.9*n)),g.add(new go.PathSegment(go.PathSegment.Line,.6*t,.9*n)),a.spot1=new go.Spot(.25,.25),a.spot2=new go.Spot(.75,.75),a})),go.Shape.defineFigureGenerator("File",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var g=new go.PathFigure(.75*t,0,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.75*t,.25*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.25*n)),a.spot1=new go.Spot(0,.25),a.spot2=go.Spot.BottomRight,a})),go.Shape.defineFigureGenerator("Interrupt",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(t,.5*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n));var g=new go.PathFigure(t,.5*n,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,n));var i=new go.PathFigure(t,.5*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,0)),a.spot1=new go.Spot(0,.25),a.spot2=new go.Spot(.5,.75),a})),go.Shape.defineFigureGenerator("InternalStorage",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN,g=e?e.parameter2:NaN;isNaN(o)&&(o=.1),isNaN(g)&&(g=.1);var i=new go.PathFigure(0,0,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,0)),i.add(new go.PathSegment(go.PathSegment.Line,t,n)),i.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var r=new go.PathFigure(o*t,0,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,o*t,n)),r.add(new go.PathSegment(go.PathSegment.Move,0,g*n)),r.add(new go.PathSegment(go.PathSegment.Line,t,g*n)),a})),go.Shape.defineFigureGenerator("Junction",(function(e,t,n){var a=new go.Geometry,o=1/Math.SQRT2,g=(1-1/Math.SQRT2)/2,i=.5*h,r=.5,d=new go.PathFigure(t,r*n,!0);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,r*t,n,t,(r+i)*n,(r+i)*t,n)),d.add(new go.PathSegment(go.PathSegment.Bezier,0,r*n,(r-i)*t,n,0,(r+i)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,r*t,0,0,(r-i)*n,(r-i)*t,0)),d.add(new go.PathSegment(go.PathSegment.Bezier,t,r*n,(r+i)*t,0,t,(r-i)*n));var m=new go.PathFigure((g+o)*t,(g+o)*n,!1);return a.add(m),m.add(new go.PathSegment(go.PathSegment.Line,g*t,g*n)),m.add(new go.PathSegment(go.PathSegment.Move,g*t,(g+o)*n)),m.add(new go.PathSegment(go.PathSegment.Line,(g+o)*t,g*n)),a})),go.Shape.defineFigureGenerator("LinedDocument",(function(e,t,n){var a=new go.Geometry;n/=.8;var o=new go.PathFigure(0,.7*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*n,.5*t,.4*n,.5*t,n).close());var g=new go.PathFigure(.1*t,0,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,.75*n)),a.spot1=new go.Spot(.1,0),a.spot2=new go.Spot(1,.6),a})),go.Shape.defineFigureGenerator("LoopLimit",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n).close()),a.spot1=new go.Spot(0,.25),a.spot2=go.Spot.BottomRight,a})),go.Shape.defineFigureGenerator("MagneticTape",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=new go.PathFigure(.5*t,n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,0,g*n,(g-o)*t,n,0,(g+o)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,g*t,0,0,(g-o)*n,(g-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,g*n,(g+o)*t,0,t,(g-o)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.6*t,.9*n,t,(g+o)*n,(g+o)*t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,n)),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),a.spot1=new go.Spot(.15,.15),a.spot2=new go.Spot(.85,.8),a})),go.Shape.defineFigureGenerator("ManualInput",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.25*n).close()),a.spot1=new go.Spot(0,.25),a.spot2=go.Spot.BottomRight,a})),go.Shape.defineFigureGenerator("MessageFromUser",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.7);var g=new go.PathFigure(0,0,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,o*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a.spot1=go.Spot.TopLeft,a})),go.Shape.defineFigureGenerator("MicroformProcessing",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.25);var g=new go.PathFigure(0,0,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,o*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,(1-o)*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a})),go.Shape.defineFigureGenerator("MicroformRecording",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.15*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a.spot1=new go.Spot(0,.25),a.spot2=new go.Spot(1,.75),a})),go.Shape.defineFigureGenerator("MultiDocument",(function(e,t,n){var a=new go.Geometry;n/=.8;var o=new go.PathFigure(t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.9*t,.44*n,.96*t,.47*n,.93*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.54*n,.86*t,.57*n,.83*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*n,.4*t,.4*n,.4*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,0).close());var g=new go.PathFigure(.1*t,.2*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.2*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.54*n)),g.add(new go.PathSegment(go.PathSegment.Move,.2*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,.44*n)),a.spot1=new go.Spot(0,.25),a.spot2=new go.Spot(.8,.77),a})),go.Shape.defineFigureGenerator("MultiProcess",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.1*t,.1*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.2*n).close());var g=new go.PathFigure(.2*t,.1*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.9*t,.8*n)),g.add(new go.PathSegment(go.PathSegment.Move,.1*t,.2*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.2*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.9*n)),a.spot1=new go.Spot(0,.2),a.spot2=new go.Spot(.8,1),a})),go.Shape.defineFigureGenerator("OfflineStorage",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.1);var g=new go.PathFigure(0,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,n).close());var i=new go.PathFigure(.5*o*t,o*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,(1-.5*o)*t,o*n)),a})),go.Shape.defineFigureGenerator("OffPageConnector",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a.spot1=go.Spot.TopLeft,a.spot2=new go.Spot(.75,1),a})),go.Shape.defineFigureGenerator("Or",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=new go.PathFigure(t,g*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,g*t,n,t,(g+o)*n,(g+o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,g*n,(g-o)*t,n,0,(g+o)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,g*t,0,0,(g-o)*n,(g-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,g*n,(g+o)*t,0,t,(g-o)*n));var r=new go.PathFigure(t,.5*n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,0,.5*n)),r.add(new go.PathSegment(go.PathSegment.Move,.5*t,n)),r.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),a})),go.Shape.defineFigureGenerator("PaperTape",(function(e,t,n){var a=new go.Geometry;n/=.8;var o=new go.PathFigure(0,.7*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.3*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,t,.3*n,.5*t,.6*n,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*n,.5*t,.4*n,.5*t,n).close()),a.spot1=new go.Spot(0,.49),a.spot2=new go.Spot(1,.75),a})),go.Shape.defineFigureGenerator("PrimitiveFromCall",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN,g=e?e.parameter2:NaN;isNaN(o)&&(o=.1),isNaN(g)&&(g=.3);var i=new go.PathFigure(0,0,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,0)),i.add(new go.PathSegment(go.PathSegment.Line,(1-g)*t,.5*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,n)),i.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a})),go.Shape.defineFigureGenerator("PrimitiveToCall",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN,g=e?e.parameter2:NaN;isNaN(o)&&(o=.1),isNaN(g)&&(g=.3);var i=new go.PathFigure(0,0,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,(1-g)*t,0)),i.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),i.add(new go.PathSegment(go.PathSegment.Line,(1-g)*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a})),go.Shape.defineFigureGenerator("Procedure",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.1);var g=new go.PathFigure(0,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var i=new go.PathFigure((1-o)*t,0,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,(1-o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Move,o*t,0)),i.add(new go.PathSegment(go.PathSegment.Line,o*t,n)),a})),go.Shape.defineFigureGenerator("Process",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.1);var g=new go.PathFigure(0,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var i=new go.PathFigure(o*t,0,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,o*t,n)),a.spot2=go.Spot.BottomRight,a})),go.Shape.defineFigureGenerator("Sort",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.5*n).close());var g=new go.PathFigure(0,.5*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),a.spot1=new go.Spot(.25,.25),a.spot2=new go.Spot(.75,.5),a})),go.Shape.defineFigureGenerator("Start",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.25);var g=new go.PathFigure(o*t,0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*t,.5*n,.25*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*t,.5*n,.25*t,.5*n));var i=new go.PathFigure(o*t,0,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,o*t,n)),i.add(new go.PathSegment(go.PathSegment.Move,(1-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Line,(1-o)*t,n)),a.spot1=new go.Spot(o,0),a.spot2=new go.Spot(1-o,1),a})),go.Shape.defineFigureGenerator("Terminator",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.25*t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*t,.5*n,.25*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*t,.5*n,.25*t,.5*n)),a.spot1=new go.Spot(.23,0),a.spot2=new go.Spot(.77,1),a})),go.Shape.defineFigureGenerator("TransmittalTape",(function(e,t,n){var a=new go.Geometry,o=e?e.parameter1:NaN;isNaN(o)&&(o=.1);var g=new go.PathFigure(0,0,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,.75*t,(1-o)*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,(1-o)*n).close()),a.spot1=go.Spot.TopLeft,a})),go.Shape.defineFigureGenerator("AndGate",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=new go.PathFigure(0,0,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),g.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,(.5+o)*t,0,t,(.5-o)*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,(.5+o)*n,(.5+o)*t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a.spot1=go.Spot.TopLeft,a.spot2=new go.Spot(.55,1),a})),go.Shape.defineFigureGenerator("Buffer",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a.spot1=new go.Spot(0,.25),a.spot2=new go.Spot(.5,.75),a})),go.Shape.defineFigureGenerator("Clock",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=new go.PathFigure(t,g*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,g*t,n,t,(g+o)*n,(g+o)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,g*n,(g-o)*t,n,0,(g+o)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,g*t,0,0,(g-o)*n,(g-o)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,g*n,(g+o)*t,0,t,(g-o)*n));var r=new go.PathFigure(t,g*n,!1);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,t,g*n));var d=new go.PathFigure(.8*t,.75*n,!1);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,.8*t,.25*n)),d.add(new go.PathSegment(go.PathSegment.Line,.6*t,.25*n)),d.add(new go.PathSegment(go.PathSegment.Line,.6*t,.75*n)),d.add(new go.PathSegment(go.PathSegment.Line,.4*t,.75*n)),d.add(new go.PathSegment(go.PathSegment.Line,.4*t,.25*n)),d.add(new go.PathSegment(go.PathSegment.Line,.2*t,.25*n)),d.add(new go.PathSegment(go.PathSegment.Line,.2*t,.75*n)),a})),go.Shape.defineFigureGenerator("Ground",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Move,.2*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Move,.3*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Move,.4*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,n)),a})),go.Shape.defineFigureGenerator("Inverter",(function(e,t,n){var a=new go.Geometry,o=.1*h,g=.9,i=.5,r=new go.PathFigure(.8*t,.5*n,!0);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,0,n)),r.add(new go.PathSegment(go.PathSegment.Line,0,0)),r.add(new go.PathSegment(go.PathSegment.Line,.8*t,.5*n));var d=new go.PathFigure(1*t,i*n,!0);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,g*t,.6*n,1*t,(i+o)*n,(g+o)*t,.6*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,i*n,(g-o)*t,.6*n,.8*t,(i+o)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,g*t,.4*n,.8*t,(i-o)*n,(g-o)*t,.4*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,1*t,i*n,(g+o)*t,.4*n,1*t,(i-o)*n)),a.spot1=new go.Spot(0,.25),a.spot2=new go.Spot(.4,.75),a})),go.Shape.defineFigureGenerator("NandGate",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.4*h,i=.1*h,r=.9,d=.5,m=new go.PathFigure(.8*t,.5*n,!0);a.add(m),m.add(new go.PathSegment(go.PathSegment.Bezier,.4*t,n,.8*t,(.5+g)*n,(.4+o)*t,n)),m.add(new go.PathSegment(go.PathSegment.Line,0,n)),m.add(new go.PathSegment(go.PathSegment.Line,0,0)),m.add(new go.PathSegment(go.PathSegment.Line,.4*t,0)),m.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.5*n,(.4+o)*t,0,.8*t,(.5-g)*n));var s=new go.PathFigure(1*t,d*n,!0);return a.add(s),s.add(new go.PathSegment(go.PathSegment.Bezier,r*t,.6*n,1*t,(d+i)*n,(r+i)*t,.6*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,d*n,(r-i)*t,.6*n,.8*t,(d+i)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,r*t,.4*n,.8*t,(d-i)*n,(r-i)*t,.4*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,1*t,d*n,(r+i)*t,.4*n,1*t,(d-i)*n)),a.spot1=new go.Spot(0,.05),a.spot2=new go.Spot(.55,.95),a})),go.Shape.defineFigureGenerator("NorGate",(function(e,t,n){var a=new go.Geometry,o=.5,g=h*o,i=0,r=.5,d=new go.PathFigure(.8*t,.5*n,!0);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,0,n,.7*t,(r+g)*n,(i+g)*t,(r+o)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*t,.75*n,.25*t,.25*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.5*n,(i+g)*t,(r-o)*n,.7*t,(r-g)*n)),o=.1,g=.1*h,i=.9,r=.5;var m=new go.PathFigure((i-o)*t,r*n,!0);return a.add(m),m.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r-o)*n,(i-o)*t,(r-g)*n,(i-g)*t,(r-o)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,(i+o)*t,r*n,(i+g)*t,(r-o)*n,(i+o)*t,(r-g)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r+o)*n,(i+o)*t,(r+g)*n,(i+g)*t,(r+o)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,(i-o)*t,r*n,(i-g)*t,(r+o)*n,(i-o)*t,(r+g)*n)),a.spot1=new go.Spot(.2,.25),a.spot2=new go.Spot(.6,.75),a})),go.Shape.defineFigureGenerator("OrGate",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=new go.PathFigure(0,0,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,(0+o+o)*t,0*n,.8*t,(g-o)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,n,.8*t,(g+o)*n,(0+o+o)*t,1*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*t,.75*n,.25*t,.25*n).close()),a.spot1=new go.Spot(.2,.25),a.spot2=new go.Spot(.75,.75),a})),go.Shape.defineFigureGenerator("XnorGate",(function(e,t,n){var a=new go.Geometry,o=.5,g=h*o,i=.2,r=.5,d=new go.PathFigure(.1*t,0,!1);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,.1*t,n,.35*t,.25*n,.35*t,.75*n));var m=new go.PathFigure(.8*t,.5*n,!0);a.add(m),m.add(new go.PathSegment(go.PathSegment.Bezier,.2*t,n,.7*t,(r+g)*n,(i+g)*t,(r+o)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,.2*t,0,.45*t,.75*n,.45*t,.25*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.5*n,(i+g)*t,(r-o)*n,.7*t,(r-g)*n)),o=.1,g=.1*h,i=.9,r=.5;var s=new go.PathFigure((i-o)*t,r*n,!0);return a.add(s),s.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r-o)*n,(i-o)*t,(r-g)*n,(i-g)*t,(r-o)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,(i+o)*t,r*n,(i+g)*t,(r-o)*n,(i+o)*t,(r-g)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r+o)*n,(i+o)*t,(r+g)*n,(i+g)*t,(r+o)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,(i-o)*t,r*n,(i-g)*t,(r+o)*n,(i-o)*t,(r+g)*n)),a.spot1=new go.Spot(.4,.25),a.spot2=new go.Spot(.65,.75),a})),go.Shape.defineFigureGenerator("XorGate",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=new go.PathFigure(.1*t,0,!1);a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,.1*t,n,.35*t,.25*n,.35*t,.75*n));var r=new go.PathFigure(.2*t,0,!0);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,(.2+o)*t,0*n,.9*t,(g-o)*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,.2*t,n,.9*t,(g+o)*n,(.2+o)*t,1*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,.2*t,0,.45*t,.75*n,.45*t,.25*n).close()),a.spot1=new go.Spot(.4,.25),a.spot2=new go.Spot(.8,.75),a})),go.Shape.defineFigureGenerator("Capacitor",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Move,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),a})),go.Shape.defineFigureGenerator("Resistor",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.5*n,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,.5*n)),a})),go.Shape.defineFigureGenerator("Inductor",(function(e,t,n){var a=new go.Geometry,o=.1*h,g=.1,i=.1,r=new go.PathFigure((i-.5*o)*t,n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t,0,(i-o)*t,n,(i-g)*t,0)),i=.3,r.add(new go.PathSegment(go.PathSegment.Bezier,i*t,n,(i+g)*t,0,(i+o)*t,n)),r.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t,0,(i-o)*t,n,(i-g)*t,0)),i=.5,r.add(new go.PathSegment(go.PathSegment.Bezier,i*t,n,(i+g)*t,0,(i+o)*t,n)),r.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t,0,(i-o)*t,n,(i-g)*t,0)),i=.7,r.add(new go.PathSegment(go.PathSegment.Bezier,i*t,n,(i+g)*t,0,(i+o)*t,n)),r.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t,0,(i-o)*t,n,(i-g)*t,0)),i=.9,r.add(new go.PathSegment(go.PathSegment.Bezier,(i+.5*o)*t,n,(i+g)*t,0,(i+o)*t,n)),a})),go.Shape.defineFigureGenerator("ACvoltageSource",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=.5,r=new go.PathFigure(0*t,i*n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,g*t,0*n,0*t,(i-o)*n,(g-o)*t,0*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,1*t,i*n,(g+o)*t,0*n,1*t,(i-o)*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,g*t,1*n,1*t,(i+o)*n,(g+o)*t,1*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0*t,i*n,(g-o)*t,1*n,0*t,(i+o)*n)),r.add(new go.PathSegment(go.PathSegment.Move,.1*t,i*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,.9*t,i*n,g*t,0*n,g*t,1*n)),a})),go.Shape.defineFigureGenerator("DCvoltageSource",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.75*n,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.25*n)),o.add(new go.PathSegment(go.PathSegment.Move,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),a})),go.Shape.defineFigureGenerator("Diode",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(t,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),a.spot1=new go.Spot(0,.25),a.spot2=new go.Spot(.5,.75),a})),go.Shape.defineFigureGenerator("Wifi",(function(e,t,n){var a=new go.Geometry,o=.8*h,g=.8,i=0,r=.5,d=(t-(t*=.38))/2,m=(n-(n*=.6))/2,s=new go.PathFigure(i*t+d,(r+g)*n+m,!0);a.add(s),s.add(new go.PathSegment(go.PathSegment.Bezier,(i-g)*t+d,r*n+m,(i-o)*t+d,(r+g)*n+m,(i-g)*t+d,(r+o)*n+m)),s.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r-g)*n+m,(i-g)*t+d,(r-o)*n+m,(i-o)*t+d,(r-g)*n+m)),s.add(new go.PathSegment(go.PathSegment.Bezier,(i-g+.5*o)*t+d,r*n+m,i*t+d,(r-g)*n+m,(i-g+.5*o)*t+d,(r-o)*n+m)),s.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r+g)*n+m,(i-g+.5*o)*t+d,(r+o)*n+m,i*t+d,(r+g)*n+m).close()),o=.4*h,g=.4,i=.2,r=.5;var S=new go.PathFigure(i*t+d,(r+g)*n+m,!0);a.add(S),S.add(new go.PathSegment(go.PathSegment.Bezier,(i-g)*t+d,r*n+m,(i-o)*t+d,(r+g)*n+m,(i-g)*t+d,(r+o)*n+m)),S.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r-g)*n+m,(i-g)*t+d,(r-o)*n+m,(i-o)*t+d,(r-g)*n+m)),S.add(new go.PathSegment(go.PathSegment.Bezier,(i-g+.5*o)*t+d,r*n+m,i*t+d,(r-g)*n+m,(i-g+.5*o)*t+d,(r-o)*n+m)),S.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r+g)*n+m,(i-g+.5*o)*t+d,(r+o)*n+m,i*t+d,(r+g)*n+m).close()),o=.2*h,g=.2,i=.5,r=.5;var P=new go.PathFigure((i-g)*t+d,r*n+m,!0);a.add(P),P.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r-g)*n+m,(i-g)*t+d,(r-o)*n+m,(i-o)*t+d,(r-g)*n+m)),P.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t+d,r*n+m,(i+o)*t+d,(r-g)*n+m,(i+g)*t+d,(r-o)*n+m)),P.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r+g)*n+m,(i+g)*t+d,(r+o)*n+m,(i+o)*t+d,(r+g)*n+m)),P.add(new go.PathSegment(go.PathSegment.Bezier,(i-g)*t+d,r*n+m,(i-o)*t+d,(r+g)*n+m,(i-g)*t+d,(r+o)*n+m)),o=.4*h,g=.4,i=.8,r=.5;var l=new go.PathFigure(i*t+d,(r-g)*n+m,!0);a.add(l),l.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t+d,r*n+m,(i+o)*t+d,(r-g)*n+m,(i+g)*t+d,(r-o)*n+m)),l.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r+g)*n+m,(i+g)*t+d,(r+o)*n+m,(i+o)*t+d,(r+g)*n+m)),l.add(new go.PathSegment(go.PathSegment.Bezier,(i+g-.5*o)*t+d,r*n+m,i*t+d,(r+g)*n+m,(i+g-.5*o)*t+d,(r+o)*n+m)),l.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r-g)*n+m,(i+g-.5*o)*t+d,(r-o)*n+m,i*t+d,(r-g)*n+m).close()),o=.8*h,g=.8,i=1,r=.5;var c=new go.PathFigure(i*t+d,(r-g)*n+m,!0);return a.add(c),c.add(new go.PathSegment(go.PathSegment.Bezier,(i+g)*t+d,r*n+m,(i+o)*t+d,(r-g)*n+m,(i+g)*t+d,(r-o)*n+m)),c.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r+g)*n+m,(i+g)*t+d,(r+o)*n+m,(i+o)*t+d,(r+g)*n+m)),c.add(new go.PathSegment(go.PathSegment.Bezier,(i+g-.5*o)*t+d,r*n+m,i*t+d,(r+g)*n+m,(i+g-.5*o)*t+d,(r+o)*n+m)),c.add(new go.PathSegment(go.PathSegment.Bezier,i*t+d,(r-g)*n+m,(i+g-.5*o)*t+d,(r-o)*n+m,i*t+d,(r-g)*n+m).close()),a})),go.Shape.defineFigureGenerator("Email",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var g=new go.PathFigure(0,0,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,0)),g.add(new go.PathSegment(go.PathSegment.Move,0,n)),g.add(new go.PathSegment(go.PathSegment.Line,.45*t,.54*n)),g.add(new go.PathSegment(go.PathSegment.Move,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,.55*t,.54*n)),a})),go.Shape.defineFigureGenerator("Ethernet",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.35*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,0).close());var g=new go.PathFigure(.1*t,n,!0,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.4*t,n)),g.add(new go.PathSegment(go.PathSegment.Line,.4*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,n).close());var i=new go.PathFigure(.6*t,n,!0,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.9*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,.9*t,.6*n)),i.add(new go.PathSegment(go.PathSegment.Line,.6*t,.6*n)),i.add(new go.PathSegment(go.PathSegment.Line,.6*t,n).close());var r=new go.PathFigure(0,.5*n,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),r.add(new go.PathSegment(go.PathSegment.Move,.5*t,.5*n)),r.add(new go.PathSegment(go.PathSegment.Line,.5*t,.4*n)),r.add(new go.PathSegment(go.PathSegment.Move,.75*t,.5*n)),r.add(new go.PathSegment(go.PathSegment.Line,.75*t,.6*n)),r.add(new go.PathSegment(go.PathSegment.Move,.25*t,.5*n)),r.add(new go.PathSegment(go.PathSegment.Line,.25*t,.6*n)),a})),go.Shape.defineFigureGenerator("Power",(function(e,t,g){var r=new go.Geometry,d=.4*h,m=.4,s=.5,S=.5,P=a(),l=a(),c=a(),u=a();i(s,S-m,s+d,S-m,s+m,S-d,s+m,S,.5,P,P,l,c,u);var w=n(l.x,l.y),p=new go.PathFigure(l.x*t,l.y*g,!0);r.add(p),p.add(new go.PathSegment(go.PathSegment.Bezier,(s+m)*t,S*g,c.x*t,c.y*g,u.x*t,u.y*g)),p.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S+m)*g,(s+m)*t,(S+d)*g,(s+d)*t,(S+m)*g)),p.add(new go.PathSegment(go.PathSegment.Bezier,(s-m)*t,S*g,(s-d)*t,(S+m)*g,(s-m)*t,(S+d)*g)),i(s-m,S,s-m,S-d,s-d,S-m,s,S-m,.5,c,u,l,P,P),p.add(new go.PathSegment(go.PathSegment.Bezier,l.x*t,l.y*g,c.x*t,c.y*g,u.x*t,u.y*g)),i(s-(m=.3),S,s-m,S-(d=.3*h),s-d,S-m,s,S-m,.5,c,u,l,P,P),p.add(new go.PathSegment(go.PathSegment.Line,l.x*t,l.y*g)),p.add(new go.PathSegment(go.PathSegment.Bezier,(s-m)*t,S*g,u.x*t,u.y*g,c.x*t,c.y*g)),p.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S+m)*g,(s-m)*t,(S+d)*g,(s-d)*t,(S+m)*g)),p.add(new go.PathSegment(go.PathSegment.Bezier,(s+m)*t,S*g,(s+d)*t,(S+m)*g,(s+m)*t,(S+d)*g)),i(s,S-m,s+d,S-m,s+m,S-d,s+m,S,.5,P,P,l,c,u),p.add(new go.PathSegment(go.PathSegment.Bezier,l.x*t,l.y*g,u.x*t,u.y*g,c.x*t,c.y*g).close());p=new go.PathFigure(.45*t,0,!0);return r.add(p),p.add(new go.PathSegment(go.PathSegment.Line,.45*t,.5*g)),p.add(new go.PathSegment(go.PathSegment.Line,.55*t,.5*g)),p.add(new go.PathSegment(go.PathSegment.Line,.55*t,0).close()),o(P),o(l),o(c),o(u),o(w),r.spot1=new go.Spot(.25,.45),r.spot2=new go.Spot(.75,.8),r})),go.Shape.defineFigureGenerator("Fallout",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n/2,!0);function g(e,a,o){e.add(new go.PathSegment(go.PathSegment.Move,(.3+a)*t,(.8+o)*n)),e.add(new go.PathSegment(go.PathSegment.Line,(.5+a)*t,(.5+o)*n)),e.add(new go.PathSegment(go.PathSegment.Line,(.1+a)*t,(.5+o)*n)),e.add(new go.PathSegment(go.PathSegment.Line,(.3+a)*t,(.8+o)*n).close())}return a.add(o),o.add(new go.PathSegment(go.PathSegment.Arc,180,360,t/2,n/2,t/2,n/2)),g(o,0,0),g(o,.4,0),g(o,.2,-.3),a})),go.Shape.defineFigureGenerator("IrritationHazard",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.2*t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.3*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.2*n).close()),a.spot1=new go.Spot(.3,.3),a.spot2=new go.Spot(.7,.7),a})),go.Shape.defineFigureGenerator("ElectricalHazard",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.37*t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.11*n)),o.add(new go.PathSegment(go.PathSegment.Line,.77*t,.04*n)),o.add(new go.PathSegment(go.PathSegment.Line,.33*t,.49*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.37*n)),o.add(new go.PathSegment(go.PathSegment.Line,.63*t,.86*n)),o.add(new go.PathSegment(go.PathSegment.Line,.77*t,.91*n)),o.add(new go.PathSegment(go.PathSegment.Line,.34*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.34*t,.78*n)),o.add(new go.PathSegment(go.PathSegment.Line,.44*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,.56*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.68*n).close()),a})),go.Shape.defineFigureGenerator("FireHazard",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.1*t,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,.29*t,0,-.25*t,.63*n,.45*t,.44*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.51*t,.42*n,.48*t,.17*n,.54*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.59*t,.18*n,.59*t,.29*n,.58*t,.28*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.75*t,.6*n,.8*t,.34*n,.88*t,.43*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.88*t,.31*n,.87*t,.48*n,.88*t,.43*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.9*t,n,1.17*t,.76*n,.82*t,.8*n).close()),a.spot1=new go.Spot(.07,.445),a.spot2=new go.Spot(.884,.958),a})),go.Shape.defineFigureGenerator("BpmnActivityLoop",(function(e,t,n){var a=new go.Geometry,o=.5,g=o*h,i=.4*Math.SQRT2/2+.5,r=.5-.5*Math.SQRT2/2,d=new go.PathFigure(i*t,(1-r)*n,!1);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,1*t,.5*n,1*t,.7*n,1*t,.5*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0*n,1*t,(.5-g+0)*n,(.5+g+0)*t,0*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,0*t,.5*n,(.5-g+0)*t,0*n,0*t,(.5-g+0)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,.35*t,.9*n,0*t,(.5+g+0)*n,(.5-g+0)*t,.9*n)),d.add(new go.PathSegment(go.PathSegment.Move,.25*t,.8*n)),d.add(new go.PathSegment(go.PathSegment.Line,.35*t,.9*n)),d.add(new go.PathSegment(go.PathSegment.Line,.2*t,.95*n)),a})),go.Shape.defineFigureGenerator("BpmnActivityParallel",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Move,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),a})),go.Shape.defineFigureGenerator("BpmnActivitySequential",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Move,0,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Move,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),a})),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);a.add(o);var g=new go.PathFigure(t,n,!1);a.add(g);var i=new go.PathFigure(0,.5*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.5*n,.2*t,.35*n,.3*t,.35*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,.7*t,.65*n,.8*t,.65*n)),a})),go.Shape.defineFigureGenerator("BpmnActivityCompensation",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.5*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n).close()),a})),go.Shape.defineFigureGenerator("BpmnTaskMessage",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.2*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.8*n).close());o=new go.PathFigure(0,.2*n,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.2*n)),a})),go.Shape.defineFigureGenerator("BpmnTaskScript",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.7*t,n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.3*t,0,.6*t,.5*n,0,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,.7*t,n,.4*t,.5*n,t,.5*n).close());var g=new go.PathFigure(.45*t,.73*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.7*t,.73*n)),g.add(new go.PathSegment(go.PathSegment.Move,.38*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,.63*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Move,.31*t,.27*n)),g.add(new go.PathSegment(go.PathSegment.Line,.56*t,.27*n)),a})),go.Shape.defineFigureGenerator("BpmnTaskUser",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);a.add(o);var g=new go.PathFigure(.335*t,(1-.555)*n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.335*t,.595*n)),g.add(new go.PathSegment(go.PathSegment.Line,.665*t,.595*n)),g.add(new go.PathSegment(go.PathSegment.Line,.665*t,(1-.555)*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,t,.68*n,.88*t,.46*n,.98*t,.54*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.68*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.335*t,(1-.555)*n,.02*t,.54*n,.12*t,.46*n)),g.add(new go.PathSegment(go.PathSegment.Line,.365*t,.405*n));var i=.5-.285,r=.5,d=i,h=Math.PI/4,m=4*(1-Math.cos(h))/(3*Math.sin(h)),s=i,S=i,P=m*s,l=m*S;g.add(new go.PathSegment(go.PathSegment.Bezier,.285*t,d*n,(r-(P+s)/2)*t,(d+(S+l)/2)*n,.285*t,(d+l)*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,r*t,0*n,.285*t,(d-l)*n,(r-P)*t,0*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,(r+s)*t,d*n,(r+P)*t,0*n,(r+s)*t,(d-l)*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.635*t,.405*n,(r+s)*t,(d+l)*n,(r+(P+s)/2)*t,(d+(S+l)/2)*n)),g.add(new go.PathSegment(go.PathSegment.Line,.635*t,.405*n)),g.add(new go.PathSegment(go.PathSegment.Line,.665*t,(1-.555)*n)),g.add(new go.PathSegment(go.PathSegment.Line,.665*t,.595*n)),g.add(new go.PathSegment(go.PathSegment.Line,.335*t,.595*n));var c=new go.PathFigure(.2*t,n,!1);a.add(c),c.add(new go.PathSegment(go.PathSegment.Line,.2*t,.8*n));var u=new go.PathFigure(.8*t,n,!1);return a.add(u),u.add(new go.PathSegment(go.PathSegment.Line,.8*t,.8*n)),a})),go.Shape.defineFigureGenerator("BpmnEventConditional",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.1*t,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,n).close());var g=new go.PathFigure(.2*t,.2*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.2*n)),g.add(new go.PathSegment(go.PathSegment.Move,.2*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Move,.2*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Move,.2*t,.8*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.8*n)),a})),go.Shape.defineFigureGenerator("BpmnEventError",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.33*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.33*t,.5*n).close()),a})),go.Shape.defineFigureGenerator("BpmnEventEscalation",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);a.add(o);var g=new go.PathFigure(t,n,!1);a.add(g);var i=new go.PathFigure(.1*t,n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),i.add(new go.PathSegment(go.PathSegment.Line,.9*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n).close()),a})),go.Shape.defineFigureGenerator("Caution",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.05*t,n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,.1*t,.8*n,0,n,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.55*t,.1*n,.5*t,0,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.95*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.9*t,n,t,n,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.05*t,n));var g=.05;return o.add(new go.PathSegment(go.PathSegment.Move,.45*t,.875*n)),o.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*t,.875*n,g*t,g*n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.325*n,.575*t,.725*n,.625*t,.375*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.75*n,.375*t,.375*n,.425*t,.725*n)),a})),go.Shape.defineFigureGenerator("Recycle",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.45*t,.95*n,!1);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.185*t,.85*n,.17*t,.95*n,.15*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.235*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.625*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Line,.275*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.05*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.05*t,.575*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.1875*t,.95*n,0,.675*n,0,.7*n)),o.add(new go.PathSegment(go.PathSegment.Move,.45*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.775*n)),o.add(new go.PathSegment(go.PathSegment.Line,.22*t,.775*n));var g=new go.PathFigure(.475*t,.2*n,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.4*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,.225*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Line,.275*t,.175*n)),g.add(new go.PathSegment(go.PathSegment.Line,.325*t,.05*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.4*t,.05*n,.35*t,0,.375*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,.575*t,.375*n)),g.add(new go.PathSegment(go.PathSegment.Line,.525*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,.75*t,.475*n)),g.add(new go.PathSegment(go.PathSegment.Line,.85*t,.315*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.32*n)),g.add(new go.PathSegment(go.PathSegment.Line,.65*t,.05*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.575*t,0,.65*t,.05*n,.625*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,.38*t,.0105*n));var i=new go.PathFigure(.675*t,.575*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.875*t,.525*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,.775*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,.85*t,.95*n,t,.8*n,t,.85*n)),i.add(new go.PathSegment(go.PathSegment.Line,.65*t,.95*n)),i.add(new go.PathSegment(go.PathSegment.Line,.65*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,.55*t,.85*n)),i.add(new go.PathSegment(go.PathSegment.Line,.65*t,.725*n)),i.add(new go.PathSegment(go.PathSegment.Line,.65*t,.775*n)),i.add(new go.PathSegment(go.PathSegment.Line,.7*t,.775*n)),i.add(new go.PathSegment(go.PathSegment.Line,t,.775*n)),i.add(new go.PathSegment(go.PathSegment.Move,.675*t,.575*n)),i.add(new go.PathSegment(go.PathSegment.Line,.775*t,.775*n)),a})),go.Shape.defineFigureGenerator("BpmnEventTimer",(function(e,t,n){var a=new go.Geometry,o=.5,g=.5*h,i=new go.PathFigure(t,o*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Bezier,o*t,n,t,(o+g)*n,(o+g)*t,n)),i.add(new go.PathSegment(go.PathSegment.Bezier,0,o*n,(o-g)*t,n,0,(o+g)*n)),i.add(new go.PathSegment(go.PathSegment.Bezier,o*t,0,0,(o-g)*n,(o-g)*t,0)),i.add(new go.PathSegment(go.PathSegment.Bezier,t,o*n,(o+g)*t,0,t,(o-g)*n));var r=new go.PathFigure(o*t,0,!1);return a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,o*t,.15*n)),r.add(new go.PathSegment(go.PathSegment.Move,o*t,n)),r.add(new go.PathSegment(go.PathSegment.Line,o*t,.85*n)),r.add(new go.PathSegment(go.PathSegment.Move,0,o*n)),r.add(new go.PathSegment(go.PathSegment.Line,.15*t,o*n)),r.add(new go.PathSegment(go.PathSegment.Move,t,o*n)),r.add(new go.PathSegment(go.PathSegment.Line,.85*t,o*n)),r.add(new go.PathSegment(go.PathSegment.Move,o*t,o*n)),r.add(new go.PathSegment(go.PathSegment.Line,.58*t,.1*n)),r.add(new go.PathSegment(go.PathSegment.Move,o*t,o*n)),r.add(new go.PathSegment(go.PathSegment.Line,.78*t,.54*n)),a})),go.Shape.defineFigureGenerator("Package",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.15*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,.15*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close());var g=new go.PathFigure(0,.15*n,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,0,0)),g.add(new go.PathSegment(go.PathSegment.Line,.6*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,.65*t,.15*n).close()),a.spot1=new go.Spot(0,.1),a.spot2=new go.Spot(1,1),a})),go.Shape.defineFigureGenerator("Class",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var g=new go.PathFigure(0,.2*n,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,.2*n).close());var i=new go.PathFigure(0,.5*n,!1);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,t,.5*n).close()),a})),go.Shape.defineFigureGenerator("Component",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(t,n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n).close());var g=new go.PathFigure(0,.2*n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.45*t,.2*n)),g.add(new go.PathSegment(go.PathSegment.Line,.45*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.2*n).close());var i=new go.PathFigure(0,.6*n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.45*t,.6*n)),i.add(new go.PathSegment(go.PathSegment.Line,.45*t,.8*n)),i.add(new go.PathSegment(go.PathSegment.Line,0,.8*n)),i.add(new go.PathSegment(go.PathSegment.Line,0,.6*n).close()),a})),go.Shape.defineFigureGenerator("Boat Shipment",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.15*t,.6*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.6*n));var g=new go.PathFigure(.15*t,.6*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.85*t,.6*n)),a})),go.Shape.defineFigureGenerator("Customer/Supplier",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(t,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,.33*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.33*t,.33*n)),o.add(new go.PathSegment(go.PathSegment.Line,.33*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,0,.33*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n).close()),a})),go.Shape.defineFigureGenerator("Workcell",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),a})),go.Shape.defineFigureGenerator("Supermarket",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.33*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.33*n)),o.add(new go.PathSegment(go.PathSegment.Move,t,.33*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.66*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.66*n)),o.add(new go.PathSegment(go.PathSegment.Move,t,.66*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),a})),go.Shape.defineFigureGenerator("TruckShipment",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var g=new go.PathFigure(t,.8*n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,.6*t,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,.6*t,.8*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.8*n).close());var i=.1,r=.1*h,d=.2,m=.9,s=new go.PathFigure((d-i)*t,m*n,!0);a.add(s),s.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-i)*n,(d-i)*t,(m-r)*n,(d-r)*t,(m-i)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,(d+i)*t,m*n,(d+r)*t,(m-i)*n,(d+i)*t,(m-r)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m+i)*n,(d+i)*t,(m+r)*n,(d+r)*t,(m+i)*n)),s.add(new go.PathSegment(go.PathSegment.Bezier,(d-i)*t,m*n,(d-r)*t,(m+i)*n,(d-i)*t,(m+r)*n).close()),i=.1,r=.1*h,d=.8,m=.9;var S=new go.PathFigure((d-i)*t,m*n,!0);return a.add(S),S.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m-i)*n,(d-i)*t,(m-r)*n,(d-r)*t,(m-i)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(d+i)*t,m*n,(d+r)*t,(m-i)*n,(d+i)*t,(m-r)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,d*t,(m+i)*n,(d+i)*t,(m+r)*n,(d+r)*t,(m+i)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(d-i)*t,m*n,(d-r)*t,(m+i)*n,(d-i)*t,(m+r)*n).close()),a})),go.Shape.defineFigureGenerator("KanbanPost",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.2*t,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,0)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,n)),a})),go.Shape.defineFigureGenerator("Forklift",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,0,0));var g=new go.PathFigure(0,.5*n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,0,.8*n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.8*n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,0,.5*n));var i=new go.PathFigure(.5*t,.8*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,.1*n)),i.add(new go.PathSegment(go.PathSegment.Line,.55*t,.1*n)),i.add(new go.PathSegment(go.PathSegment.Line,.55*t,.8*n)),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,.8*n));var r=new go.PathFigure(.5*t,.7*n,!1);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,t,.7*n));var d=.1,m=.1*h,s=.1,S=.9,P=new go.PathFigure((s-d)*t,S*n,!0);a.add(P),P.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S-d)*n,(s-d)*t,(S-m)*n,(s-m)*t,(S-d)*n)),P.add(new go.PathSegment(go.PathSegment.Bezier,(s+d)*t,S*n,(s+m)*t,(S-d)*n,(s+d)*t,(S-m)*n)),P.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S+d)*n,(s+d)*t,(S+m)*n,(s+m)*t,(S+d)*n)),P.add(new go.PathSegment(go.PathSegment.Bezier,(s-d)*t,S*n,(s-m)*t,(S+d)*n,(s-d)*t,(S+m)*n)),d=.1,m=.1*h,s=.4,S=.9;var l=new go.PathFigure((s-d)*t,S*n,!0);return a.add(l),l.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S-d)*n,(s-d)*t,(S-m)*n,(s-m)*t,(S-d)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(s+d)*t,S*n,(s+m)*t,(S-d)*n,(s+d)*t,(S-m)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,s*t,(S+d)*n,(s+d)*t,(S+m)*n,(s+m)*t,(S+d)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(s-d)*t,S*n,(s-m)*t,(S+d)*n,(s-d)*t,(S+m)*n)),a})),go.Shape.defineFigureGenerator("RailShipment",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.1*t,.4*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.4*n).close());var g=new go.PathFigure(.45*t,.7*n,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.55*t,.7*n));var i=new go.PathFigure(.55*t,.4*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.9*t,.4*n)),i.add(new go.PathSegment(go.PathSegment.Line,.9*t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Line,.55*t,.9*n)),i.add(new go.PathSegment(go.PathSegment.Line,.55*t,.4*n).close());var r=.05,d=.05*h,m=.175,s=.95,S=new go.PathFigure((m-r)*t,s*n,!0);a.add(S),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s-r)*n,(m-r)*t,(s-d)*n,(m-d)*t,(s-r)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(m+r)*t,s*n,(m+d)*t,(s-r)*n,(m+r)*t,(s-d)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+r)*n,(m+r)*t,(s+d)*n,(m+d)*t,(s+r)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(m-r)*t,s*n,(m-d)*t,(s+r)*n,(m-r)*t,(s+d)*n));r=.05,d=.05*h,m=.375,s=.95;var P=new go.PathFigure((m-r)*t,s*n,!0);a.add(P),P.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s-r)*n,(m-r)*t,(s-d)*n,(m-d)*t,(s-r)*n)),P.add(new go.PathSegment(go.PathSegment.Bezier,(m+r)*t,s*n,(m+d)*t,(s-r)*n,(m+r)*t,(s-d)*n)),P.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+r)*n,(m+r)*t,(s+d)*n,(m+d)*t,(s+r)*n)),P.add(new go.PathSegment(go.PathSegment.Bezier,(m-r)*t,s*n,(m-d)*t,(s+r)*n,(m-r)*t,(s+d)*n));r=.05,d=.05*h,m=.625,s=.95;var l=new go.PathFigure((m-r)*t,s*n,!0);a.add(l),l.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s-r)*n,(m-r)*t,(s-d)*n,(m-d)*t,(s-r)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(m+r)*t,s*n,(m+d)*t,(s-r)*n,(m+r)*t,(s-d)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+r)*n,(m+r)*t,(s+d)*n,(m+d)*t,(s+r)*n)),l.add(new go.PathSegment(go.PathSegment.Bezier,(m-r)*t,s*n,(m-d)*t,(s+r)*n,(m-r)*t,(s+d)*n));r=.05,d=.05*h,m=.825,s=.95;var c=new go.PathFigure((m-r)*t,s*n,!0);a.add(c),c.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s-r)*n,(m-r)*t,(s-d)*n,(m-d)*t,(s-r)*n)),c.add(new go.PathSegment(go.PathSegment.Bezier,(m+r)*t,s*n,(m+d)*t,(s-r)*n,(m+r)*t,(s-d)*n)),c.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+r)*n,(m+r)*t,(s+d)*n,(m+d)*t,(s+r)*n)),c.add(new go.PathSegment(go.PathSegment.Bezier,(m-r)*t,s*n,(m-d)*t,(s+r)*n,(m-r)*t,(s+d)*n).close());var u=new go.PathFigure(0,n,!1);return a.add(u),u.add(new go.PathSegment(go.PathSegment.Line,t,n).close()),a})),go.Shape.defineFigureGenerator("Warehouse",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var g=new go.PathFigure(0,.2*n,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,.2*n).close());var i=new go.PathFigure(.15*t,n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.15*t,.5*n)),i.add(new go.PathSegment(go.PathSegment.Line,.4*t,.5*n)),i.add(new go.PathSegment(go.PathSegment.Line,.4*t,n)),i.add(new go.PathSegment(go.PathSegment.Line,.15*t,n).close());var r=.05,d=.05*h,m=.35,s=.775,S=new go.PathFigure(.3*t,s*n,!0);return a.add(S),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,.725*n,.3*t,(s-d)*n,(m-d)*t,.725*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,(m+r)*t,s*n,(m+d)*t,.725*n,(m+r)*t,(s-d)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,m*t,(s+r)*n,(m+r)*t,(s+d)*n,(m+d)*t,(s+r)*n)),S.add(new go.PathSegment(go.PathSegment.Bezier,.3*t,s*n,(m-d)*t,(s+r)*n,.3*t,(s+d)*n).close()),a})),go.Shape.defineFigureGenerator("ControlCenter",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Move,.1*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.8*n).close()),a})),go.Shape.defineFigureGenerator("Bluetooth",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.75*n,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.25*n)),a})),go.Shape.defineFigureGenerator("Bookmark",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Move,.2*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Move,.2*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.4*n)),a})),go.Shape.defineFigureGenerator("Bookmark",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),o.add(new go.PathSegment(go.PathSegment.Line,0,0)),o.add(new go.PathSegment(go.PathSegment.Move,.2*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Move,.2*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.4*n)),a})),go.Shape.defineFigureGenerator("Globe",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Move,0,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,t,.5*n,.75*t,0,t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,t,.75*n,.75*t,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*n,.25*t,n,0,.75*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,0,.25*n,.25*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,n,.15*t,.25*n,.15*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,.85*t,.75*n,.85*t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Move,.1675*t,.15*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.8325*t,.15*n,.35*t,.3*n,.65*t,.3*n)),o.add(new go.PathSegment(go.PathSegment.Move,.1675*t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.8325*t,.85*n,.35*t,.7*n,.65*t,.7*n)),a})),go.Shape.defineFigureGenerator("Wave",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.25*n,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,.3*t,.25*n,.1*t,0,.2*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,.7*t,.25*n,.425*t,.5*n,.575*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,t,.25*n,.8*t,0,.9*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Move,0,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.75*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.3*t,.75*n,.1*t,.5*n,.2*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.7*t,.75*n,.425*t,n,.575*t,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,t,.75*n,.8*t,.5*n,.9*t,.5*n)),a})),go.Shape.defineFigureGenerator("Operator",(function(e,t,n){var a=new go.Geometry,o=.3,g=.3*h,i=.5,r=.7,d=new go.PathFigure(.2*t,r*n,!0);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r-o)*n,.2*t,(r-g)*n,(i-g)*t,(r-o)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,r*n,(i+g)*t,(r-o)*n,.8*t,(r-g)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,i*t,1*n,.8*t,(r+g)*n,(i+g)*t,1*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,.2*t,r*n,(i-g)*t,1*n,.2*t,(r+g)*n));var m=new go.PathFigure(0,.7*n,!1);return a.add(m),m.add(new go.PathSegment(go.PathSegment.Bezier,t,.7*n,0,0,t,0)),a})),go.Shape.defineFigureGenerator("TripleFanBlades",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.65*n,.65*t,.3*n,.65*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,.35*t,.5*n,.35*t,.3*n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,n,.3*t,.6*n,.1*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.65*n,.2*t,n,.35*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,t,n,.7*t,.6*n,.9*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.65*n,.8*t,n,.65*t,.95*n)),a})),go.Shape.defineFigureGenerator("CentrifugalPump",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(t,0,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*n,0,.075*n,0,.5*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.4*t,n,0,n,.4*t,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.4*n,.8*t,n,.85*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,0)),a})),go.Shape.defineFigureGenerator("Battery",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Move,.4*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.1*n));var g=new go.PathFigure(0,.6*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Move,0,.4*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,.4*n)),a})),go.Shape.defineFigureGenerator("Delete",(function(e,t,n){var a=new go.Geometry,o=.5*h,g=.5,i=.5,r=new go.PathFigure(0*t,i*n,!0);a.add(r),r.add(new go.PathSegment(go.PathSegment.Bezier,g*t,0*n,0*t,(i-o)*n,(g-o)*t,0*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,1*t,i*n,(g+o)*t,0*n,1*t,(i-o)*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,g*t,1*n,1*t,(i+o)*n,(g+o)*t,1*n)),r.add(new go.PathSegment(go.PathSegment.Bezier,0*t,i*n,(g-o)*t,1*n,0*t,(i+o)*n));var d=new go.PathFigure(.15*t,.5*n,!1);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,.85*t,.5*n)),a})),go.Shape.defineFigureGenerator("Flag",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.1*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Move,0,.1*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.1*n,.15*t,0,.35*t,0)),o.add(new go.PathSegment(go.PathSegment.Bezier,t,.1*n,.65*t,.2*n,.85*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.5*n,.85*t,.6*n,.65*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*n,.35*t,.4*n,.15*t,.4*n).close()),a})),go.Shape.defineFigureGenerator("Help",(function(e,t,n){var a=new go.Geometry,o=.5,g=.5*h,i=.5,r=.5,d=new go.PathFigure((i-o)*t,r*n,!1);a.add(d),d.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r-o)*n,(i-o)*t,(r-g)*n,(i-g)*t,(r-o)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(i+o)*t,r*n,(i+g)*t,(r-o)*n,(i+o)*t,(r-g)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r+o)*n,(i+o)*t,(r+g)*n,(i+g)*t,(r+o)*n)),d.add(new go.PathSegment(go.PathSegment.Bezier,(i-o)*t,r*n,(i-g)*t,(r+o)*n,(i-o)*t,(r+g)*n).close()),o=.05,g=.05*h,i=.5,r=.8;var m=new go.PathFigure((i-o)*t,r*n,!1);return a.add(m),m.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r-o)*n,(i-o)*t,(r-g)*n,(i-g)*t,(r-o)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,(i+o)*t,r*n,(i+g)*t,(r-o)*n,(i+o)*t,(r-g)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,i*t,(r+o)*n,(i+o)*t,(r+g)*n,(i+g)*t,(r+o)*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,(i-o)*t,r*n,(i-g)*t,(r+o)*n,(i-o)*t,(r+g)*n).close()),m.add(new go.PathSegment(go.PathSegment.Move,.5*t,.7*n)),m.add(new go.PathSegment(go.PathSegment.Line,.5*t,.5*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,.5*t,.2*n,.75*t,.475*n,.75*t,.225*n)),m.add(new go.PathSegment(go.PathSegment.Bezier,.3*t,.35*n,.4*t,.2*n,.3*t,.25*n)),a})),go.Shape.defineFigureGenerator("Location",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.5*t,n,!0).add(new go.PathSegment(go.PathSegment.Line,.75*t,.5*n)).add(new go.PathSegment(go.PathSegment.Bezier,.5*t,0,.975*t,.025*n,.5*t,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*t,.5*n,.5*t,0,.025*t,.025*n).close()).add(new go.PathSegment(go.PathSegment.Move,.5*t,.2*n)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*t,.3*n,.1*t,.1*n).close()))})),go.Shape.defineFigureGenerator("Lock",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.5*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.5*n));var g=new go.PathFigure(.2*t,.5*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Move,.2*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,.2*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.3*n,.25*t,0,.75*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.3*n)),a})),go.Shape.defineFigureGenerator("Unlocked",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.5*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.5*n));var g=new go.PathFigure(.2*t,.5*n,!1);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Move,.2*t,.5*n)),g.add(new go.PathSegment(go.PathSegment.Line,.2*t,.3*n)),g.add(new go.PathSegment(go.PathSegment.Bezier,.8*t,.3*n,.25*t,0,.75*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.35*n)),a})),go.Shape.defineFigureGenerator("Gear",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(.9375*t,.56246875*n,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*t,.4375*n)).add(new go.PathSegment(go.PathSegment.Line,.80621875*t,.4375*n)).add(new go.PathSegment(go.PathSegment.Bezier,.763*t,.3316875*n,.79840625*t,.39915625*n,.7834375*t,.3635*n)).add(new go.PathSegment(go.PathSegment.Line,.8566875*t,.23796875*n)).add(new go.PathSegment(go.PathSegment.Line,.76825*t,.14959375*n)).add(new go.PathSegment(go.PathSegment.Line,.67596875*t,.24184375*n)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*t,.19378125*n,.64228125*t,.2188125*n,.603875*t,.2021875*n)).add(new go.PathSegment(go.PathSegment.Line,.5625*t,.0625*n)).add(new go.PathSegment(go.PathSegment.Line,.4375*t,.0625*n)).add(new go.PathSegment(go.PathSegment.Line,.4375*t,.19378125*n)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*t,.239375*n,.39759375*t,.20190625*n,.36053125*t,.2176875*n)).add(new go.PathSegment(go.PathSegment.Line,.2379375*t,.14959375*n)).add(new go.PathSegment(go.PathSegment.Line,.14953125*t,.2379375*n)).add(new go.PathSegment(go.PathSegment.Line,.23934375*t,.3278125*n)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*t,.4375*n,.21765625*t,.36059375*n,.201875*t,.397625*n)).add(new go.PathSegment(go.PathSegment.Line,.0625*t,.4375*n)).add(new go.PathSegment(go.PathSegment.Line,.0625*t,.5625*n)).add(new go.PathSegment(go.PathSegment.Line,.1938125*t,.5625*n)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*t,.67596875*n,.20221875*t,.603875*n,.21884375*t,.64228125*n)).add(new go.PathSegment(go.PathSegment.Line,.1495625*t,.76825*n)).add(new go.PathSegment(go.PathSegment.Line,.238*t,.8566875*n)).add(new go.PathSegment(go.PathSegment.Line,.3316875*t,.76296875*n)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*t,.80621875*n,.36353125*t,.78340625*n,.3991875*t,.79840625*n)).add(new go.PathSegment(go.PathSegment.Line,.43753125*t,.9375*n)).add(new go.PathSegment(go.PathSegment.Line,.5625*t,.9375*n)).add(new go.PathSegment(go.PathSegment.Line,.5625*t,.80621875*n)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*t,.760625*n,.602375*t,.79809375*n,.63946875*t,.78234375*n)).add(new go.PathSegment(go.PathSegment.Line,.76828125*t,.8566875*n)).add(new go.PathSegment(go.PathSegment.Line,.85671875*t,.76825*n)).add(new go.PathSegment(go.PathSegment.Line,.76065625*t,.67221875*n)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*t,.56246875*n,.78234375*t,.63940625*n,.798125*t,.602375*n)).add(new go.PathSegment(go.PathSegment.Line,.9375*t,.56246875*n).close()).add(new go.PathSegment(go.PathSegment.Move,.5*t,.6*n)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*t,.5*n,.1*t,.1*n).close()))})),go.Shape.defineFigureGenerator("Hand",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.5*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Bezier,.1*t,.3*n,0,.375*n,.05*t,.325*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.45*t,.075*n,.3*t,.225*n,.4*t,.175*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.525*t,.075*n,.46*t,.05*n,.525*t,.05*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.3*t,.4*n,.525*t,.275*n,.475*t,.325*n)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.9*t,.55*n,t,.4*n,t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.425*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.6*t,.7*n,.675*t,.55*n,.675*t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Line,.575*t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.575*t,.85*n,.65*t,.7*n,.65*t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,.525*t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.535*t,n,.61*t,.85*n,.61*t,n)),o.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*n,.435*t,n,0,n).close()),a})),go.Shape.defineFigureGenerator("Map",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,.2*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,n).close()),o.add(new go.PathSegment(go.PathSegment.Move,.25*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Move,.5*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,n)),o.add(new go.PathSegment(go.PathSegment.Move,.75*t,0)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.8*n)),a})),go.Shape.defineFigureGenerator("Eject",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,t,n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.7*n).close());var g=new go.PathFigure(0,.6*n,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,.6*n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,0).close()),a})),go.Shape.defineFigureGenerator("Pencil",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*t,.1*n)).add(new go.PathSegment(go.PathSegment.Line,t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.9*t,n)).add(new go.PathSegment(go.PathSegment.Line,.1*t,.2*n).close()))})),go.Shape.defineFigureGenerator("Building",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(1*t,1*n,!1);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,.046*t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,.046*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.3*n)),o.add(new go.PathSegment(go.PathSegment.Line,.046*t,.3*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.954*t,.3*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.3*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.954*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.954*t,.85*n)),o.add(new go.PathSegment(go.PathSegment.Line,t,.85*n).close());var g=new go.PathFigure(.126*t,.85*n,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.126*t,.45*n)),g.add(new go.PathSegment(go.PathSegment.Line,.322*t,.45*n)),g.add(new go.PathSegment(go.PathSegment.Line,.322*t,.85*n).close());var i=new go.PathFigure(.402*t,.85*n,!1);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.402*t,.45*n)),i.add(new go.PathSegment(go.PathSegment.Line,.598*t,.45*n)),i.add(new go.PathSegment(go.PathSegment.Line,.598*t,.85*n).close());var r=new go.PathFigure(.678*t,.85*n,!1);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,.678*t,.45*n)),r.add(new go.PathSegment(go.PathSegment.Line,.874*t,.45*n)),r.add(new go.PathSegment(go.PathSegment.Line,.874*t,.85*n).close());var d=new go.PathFigure(.5*t,.1*n,!1);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,.196*t,.3*n)),d.add(new go.PathSegment(go.PathSegment.Line,.804*t,.3*n).close()),a})),go.Shape.defineFigureGenerator("Staircase",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,1*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,.15*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.15*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.95*n).close()),a})),go.Shape.defineFigureGenerator("5Bars",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,1*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.184*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.184*t,n*(1-.184)).close());var g=new go.PathFigure(.204*t,n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.204*t,n*(1-.184))),g.add(new go.PathSegment(go.PathSegment.Line,.388*t,.632*n)),g.add(new go.PathSegment(go.PathSegment.Line,.388*t,1*n).close());var i=new go.PathFigure(.408*t,n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.408*t,.632*n)),i.add(new go.PathSegment(go.PathSegment.Line,.592*t,n*(1-.552))),i.add(new go.PathSegment(go.PathSegment.Line,.592*t,1*n).close());var r=new go.PathFigure(.612*t,n,!0);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,.612*t,n*(1-.552))),r.add(new go.PathSegment(go.PathSegment.Line,.796*t,.264*n)),r.add(new go.PathSegment(go.PathSegment.Line,.796*t,1*n).close());var d=new go.PathFigure(.816*t,n,!0);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,.816*t,.264*n)),d.add(new go.PathSegment(go.PathSegment.Line,1*t,n*(1-.184*5))),d.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n).close()),a})),go.Shape.defineFigureGenerator("PC",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,0,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,0).close());var g=new go.PathFigure(.055*t,.07*n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.245*t,.07*n)),g.add(new go.PathSegment(go.PathSegment.Line,.245*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.055*t,.1*n).close());var i=new go.PathFigure(.055*t,.13*n,!0);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.245*t,.13*n)),i.add(new go.PathSegment(go.PathSegment.Line,.245*t,.16*n)),i.add(new go.PathSegment(go.PathSegment.Line,.055*t,.16*n).close());var r=new go.PathFigure(.055*t,.18*n,!0);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,.245*t,.18*n)),r.add(new go.PathSegment(go.PathSegment.Line,.245*t,.21*n)),r.add(new go.PathSegment(go.PathSegment.Line,.055*t,.21*n).close());var d=new go.PathFigure(1*t,0,!0);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,.4*t,0)),d.add(new go.PathSegment(go.PathSegment.Line,.4*t,.65*n)),d.add(new go.PathSegment(go.PathSegment.Line,1*t,.65*n).close()),a})),go.Shape.defineFigureGenerator("Plane",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.55*t,n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,.7*n)),o.add(new go.PathSegment(go.PathSegment.Line,.1*t,.475*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.35*t,.525*n,0,.4*n,.225*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.4*t,.475*n)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.325*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.325*n)),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Bezier,.9*t,.2*n,.975*t,0,t,.08*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,n).close()),a})),go.Shape.defineFigureGenerator("Key",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(1*t,.5*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.4*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.2*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,0,.65*n)),o.add(new go.PathSegment(go.PathSegment.Line,.15*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.8*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,.6*n)),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,.575*n)),o.add(new go.PathSegment(go.PathSegment.Line,.9*t,.6*n).close()),o.add(new go.PathSegment(go.PathSegment.Move,.17*t,.425*n)),o.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*t,.5*n,.075*t,.075*n).close()),a})),go.Shape.defineFigureGenerator("FilmTape",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0,0,!1);a.add(o),o.add(new go.PathSegment(go.PathSegment.Arc,270,180,0*t,.3*t,.055*t)),o.add(new go.PathSegment(go.PathSegment.Line,0,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.08*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.08*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.136*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.136*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.192*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.192*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.248*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.248*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.304*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.304*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.28),.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.28),1*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.336),1*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.336),.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.392),.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.392),1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.528*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.528*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.584*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.584*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.64*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.64*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.696*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,.696*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.752*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.752*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.728),.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.728),1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.864*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.864*t,.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.84),.95*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(.08+.84),1*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n));var g=new go.PathFigure(0,0,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,1*t,0*n)),g.add(new go.PathSegment(go.PathSegment.Arc,270,-180,1*t,.3*t,.055*t)),g.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n));var i=new go.PathFigure(.11*t,.1*n,!1);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.35133333*t,.1*n)),i.add(new go.PathSegment(go.PathSegment.Line,.35133333*t,.8*n)),i.add(new go.PathSegment(go.PathSegment.Line,.11*t,.8*n).close());var r=new go.PathFigure(.37933333*t,.1*n,!1);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,.62066666*t,.1*n)),r.add(new go.PathSegment(go.PathSegment.Line,.62066666*t,.8*n)),r.add(new go.PathSegment(go.PathSegment.Line,.37933333*t,.8*n).close());var d=new go.PathFigure(t*(.59266666+.056),.1*n,!1);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,t*(.83399999+.056),.1*n)),d.add(new go.PathSegment(go.PathSegment.Line,t*(.83399999+.056),.8*n)),d.add(new go.PathSegment(go.PathSegment.Line,t*(.59266666+.056),.8*n).close()),a})),go.Shape.defineFigureGenerator("FloppyDisk",(function(e,t,n){var a=new go.Geometry,o=8*h,g=new go.PathFigure(8,0,!1);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.86*t,0)),g.add(new go.PathSegment(go.PathSegment.Line,1*t,.14*n)),g.add(new go.PathSegment(go.PathSegment.Line,t,n-8)),g.add(new go.PathSegment(go.PathSegment.Bezier,t-8,n,t,n-o,t-o,n)),g.add(new go.PathSegment(go.PathSegment.Line,8,n)),g.add(new go.PathSegment(go.PathSegment.Bezier,0,n-8,o,n,0,n-o)),g.add(new go.PathSegment(go.PathSegment.Line,0,8)),g.add(new go.PathSegment(go.PathSegment.Bezier,8,0,0,o,o,0).close());var i=new go.PathFigure(.83*t,0,!1);a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.83*t,.3*n)),i.add(new go.PathSegment(go.PathSegment.Line,.17*t,.3*n)),i.add(new go.PathSegment(go.PathSegment.Line,.17*t,0*n).close());var r=new go.PathFigure(.83*t,1*n,!1);a.add(r),r.add(new go.PathSegment(go.PathSegment.Line,.83*t,.5*n)),r.add(new go.PathSegment(go.PathSegment.Line,.17*t,.5*n)),r.add(new go.PathSegment(go.PathSegment.Line,.17*t,1*n).close());var d=new go.PathFigure(.78*t,.05*n,!1);return a.add(d),d.add(new go.PathSegment(go.PathSegment.Line,.66*t,.05*n)),d.add(new go.PathSegment(go.PathSegment.Line,.66*t,.25*n)),d.add(new go.PathSegment(go.PathSegment.Line,.78*t,.25*n).close()),a})),go.Shape.defineFigureGenerator("SpeechBubble",(function(e,t,n){var a=e?e.parameter1:NaN;(isNaN(a)||a<0)&&(a=15),a=Math.min(a,t/3);var o=(a=Math.min(a,n/3))*h,g=.8*n,i=new go.Geometry,r=new go.PathFigure(a,0,!0);return i.add(r),r.add(new go.PathSegment(go.PathSegment.Line,t-a,0)),r.add(new go.PathSegment(go.PathSegment.Bezier,t,a,t-o,0,t,o)),r.add(new go.PathSegment(go.PathSegment.Line,t,g-a)),r.add(new go.PathSegment(go.PathSegment.Bezier,t-a,g,t,g-o,t-o,g)),r.add(new go.PathSegment(go.PathSegment.Line,.7*t,g)),r.add(new go.PathSegment(go.PathSegment.Line,.7*t,n)),r.add(new go.PathSegment(go.PathSegment.Line,.55*t,g)),r.add(new go.PathSegment(go.PathSegment.Line,a,g)),r.add(new go.PathSegment(go.PathSegment.Bezier,0,g-a,o,g,0,g-o)),r.add(new go.PathSegment(go.PathSegment.Line,0,a)),r.add(new go.PathSegment(go.PathSegment.Bezier,a,0,0,o,o,0).close()),o>1?(i.spot1=new go.Spot(0,0,o,o),i.spot2=new go.Spot(1,.8,-o,-o)):(i.spot1=go.Spot.TopLeft,i.spot2=new go.Spot(1,.8)),i})),go.Shape.defineFigureGenerator("Repeat",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0*t,.45*n,!0);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.6*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.2*t,.45*n).close());var g=new go.PathFigure(1*t,.55*n,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.75*t,1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.5*t,.55*n)),g.add(new go.PathSegment(go.PathSegment.Line,.7*t,.55*n)),g.add(new go.PathSegment(go.PathSegment.Line,.7*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.4*t,.1*n)),g.add(new go.PathSegment(go.PathSegment.Line,.35*t,0*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,0*n)),g.add(new go.PathSegment(go.PathSegment.Line,.8*t,.55*n).close()),a})),go.Shape.defineFigureGenerator("Windows",(function(e,t,n){return(new go.Geometry).add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,t,0)).add(new go.PathSegment(go.PathSegment.Line,t,n)).add(new go.PathSegment(go.PathSegment.Line,0,n).close()).add(new go.PathSegment(go.PathSegment.Move,.4*t,.4*n)).add(new go.PathSegment(go.PathSegment.Line,.4*t,.8*n)).add(new go.PathSegment(go.PathSegment.Line,.9*t,.8*n)).add(new go.PathSegment(go.PathSegment.Line,.9*t,.4*n).close()).add(new go.PathSegment(go.PathSegment.Move,.2*t,.1*n)).add(new go.PathSegment(go.PathSegment.Line,.2*t,.6*n)).add(new go.PathSegment(go.PathSegment.Line,.7*t,.6*n)).add(new go.PathSegment(go.PathSegment.Line,.7*t,.1*n).close()).add(new go.PathSegment(go.PathSegment.Move,.1*t,.6*n)).add(new go.PathSegment(go.PathSegment.Line,.1*t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.5*t,.9*n)).add(new go.PathSegment(go.PathSegment.Line,.5*t,.6*n).close()))})),go.Shape.defineFigureGenerator("Terminal",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0*t,.1*n,!1);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,1*t,.1*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,.9*n)),o.add(new go.PathSegment(go.PathSegment.Line,0*t,.9*n).close());var g=new go.PathFigure(.1*t,.2*n,!0);a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,.25*n)),g.add(new go.PathSegment(go.PathSegment.Line,.22*t,.285*n)),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,.32*n)),g.add(new go.PathSegment(go.PathSegment.Line,.1*t,.37*n)),g.add(new go.PathSegment(go.PathSegment.Line,.275*t,.32*n)),g.add(new go.PathSegment(go.PathSegment.Line,.275*t,.25*n).close());var i=new go.PathFigure(.28*t,.37*n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.45*t,.37*n)),i.add(new go.PathSegment(go.PathSegment.Line,.45*t,.41*n)),i.add(new go.PathSegment(go.PathSegment.Line,.28*t,.41*n).close()),a})),go.Shape.defineFigureGenerator("Beaker",(function(e,t,n){var a=new go.Geometry,o=15*h,g=new go.PathFigure(.62*t,.475*n,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,t,n-15)),g.add(new go.PathSegment(go.PathSegment.Bezier,t-15,n,t,n-o,t-o,n)),g.add(new go.PathSegment(go.PathSegment.Line,15,n)),g.add(new go.PathSegment(go.PathSegment.Bezier,0,n-15,o,n,0,n-o)),g.add(new go.PathSegment(go.PathSegment.Line,.38*t,.475*n)),g.add(new go.PathSegment(go.PathSegment.Line,.38*t,.03*n)),g.add(new go.PathSegment(go.PathSegment.Line,.36*t,0*n)),g.add(new go.PathSegment(go.PathSegment.Line,.64*t,0*n)),g.add(new go.PathSegment(go.PathSegment.Line,.62*t,.03*n).close()),o>1?(a.spot1=new go.Spot(0,0,o,o),a.spot2=new go.Spot(1,1,-o,-o)):(a.spot1=go.Spot.TopLeft,a.spot2=go.Spot.BottomRight),a})),go.Shape.defineFigureGenerator("Download",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0*t,1*n,!0);a.add(o);var g=.1/.3;o.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,.755*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,.93*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.64*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.61*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.39*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.36*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.07*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.245*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.66),.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.66),0*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.8),0*n)),o.add(new go.PathSegment(go.PathSegment.Line,0*t,n*(1-g)).close());var i=new go.PathFigure(.4*t,0*n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.4*t,.44*n)),i.add(new go.PathSegment(go.PathSegment.Line,.26*t,.44*n)),i.add(new go.PathSegment(go.PathSegment.Line,.5*t,.66*n)),i.add(new go.PathSegment(go.PathSegment.Line,.74*t,.44*n)),i.add(new go.PathSegment(go.PathSegment.Line,.6*t,.44*n)),i.add(new go.PathSegment(go.PathSegment.Line,.6*t,0*n).close()),a})),go.Shape.defineFigureGenerator("Bin",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0*t,1*n,!0);a.add(o);var g=.1/.3;return o.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,.755*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,.93*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.64*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.61*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.39*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.36*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.07*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.245*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.66),.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.66),0*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.8),0*n)),o.add(new go.PathSegment(go.PathSegment.Line,0*t,n*(1-g)).close()),a})),go.Shape.defineFigureGenerator("Upload",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(0*t,1*n,!0);a.add(o);var g=.1/.3;o.add(new go.PathSegment(go.PathSegment.Line,1*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.8*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.66*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,.755*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,.93*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.64*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.61*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.39*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.36*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.07*t,n*(1-g))),o.add(new go.PathSegment(go.PathSegment.Line,.245*t,.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.66),.055*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.66),0*n)),o.add(new go.PathSegment(go.PathSegment.Line,t*(1-.8),0*n)),o.add(new go.PathSegment(go.PathSegment.Line,0*t,n*(1-g)).close());var i=new go.PathFigure(.5*t,0*n,!0);return a.add(i),i.add(new go.PathSegment(go.PathSegment.Line,.26*t,.25*n)),i.add(new go.PathSegment(go.PathSegment.Line,.4*t,.25*n)),i.add(new go.PathSegment(go.PathSegment.Line,.4*t,.63*n)),i.add(new go.PathSegment(go.PathSegment.Line,.6*t,.63*n)),i.add(new go.PathSegment(go.PathSegment.Line,.6*t,.25*n)),i.add(new go.PathSegment(go.PathSegment.Line,.74*t,.25*n).close()),a})),go.Shape.defineFigureGenerator("EmptyDrink",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.15*t,0*n,!1);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,1*n).close()),a})),go.Shape.defineFigureGenerator("Drink",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.15*t,0*n,!1);a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.85*t,0*n)),o.add(new go.PathSegment(go.PathSegment.Line,.7*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.3*t,1*n).close());var g=new go.PathFigure(.235*t,.28*n,!0);return a.add(g),g.add(new go.PathSegment(go.PathSegment.Line,.765*t,.28*n)),g.add(new go.PathSegment(go.PathSegment.Line,.655*t,.97*n)),g.add(new go.PathSegment(go.PathSegment.Line,.345*t,.97*n).close()),a})),go.Shape.defineFigureGenerator("4Arrows",(function(e,t,n){var a=new go.Geometry,o=new go.PathFigure(.5*t,0*n,!0);return a.add(o),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,1*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Line,.75*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.55*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.65*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.5*t,1*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.75*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,.55*n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,.65*n)),o.add(new go.PathSegment(go.PathSegment.Line,0*t,.5*n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,.35*n)),o.add(new go.PathSegment(go.PathSegment.Line,.25*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.45*n)),o.add(new go.PathSegment(go.PathSegment.Line,.45*t,.25*n)),o.add(new go.PathSegment(go.PathSegment.Line,.35*t,.25*n).close()),a})),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")},47503:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(31468).default;(function(){if("function"!=typeof window.GGBApplet){var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var e={},t="5.0",n={},a=null,o=!1,g=!1,i=null,r=!1,d=null,h=null,m=0;m<arguments.length;m++){var s=arguments[m];if(null!==s)switch(_typeof(s)){case"number":t=s.toFixed(1);break;case"string":s.match(new RegExp("^[0-9]\\.[0-9]+$"))?t=s:i=s;break;case"object":void 0!==s.is3D?a=s:n=s;break;case"boolean":o=s,g=!0}}null===a&&(a={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},void 0===n.material_id||g||(o=!0)),null!==i&&void 0===n.id&&(n.id=i);var S="",P=!1,l=null,c=null,u=null,w=!1,p=null,f=null,v=null;void 0!==n.height&&(n.height=Math.round(n.height)),void 0!==n.width&&(n.width=Math.round(n.width));var L=function(e){return parseFloat(e)>4?parseFloat(e):5};function A(){try{return window.self!==window.top}catch(e){return!0}}function y(){return(!n.hasOwnProperty("screenshotGenerator")||!n.screenshotGenerator)&&Math.max(screen.width,screen.height)<800}e.setHTML5Codebase=function(e,t){h=e,D(e,t)},e.setJavaCodebase=e.setJavaCodebaseVersion=e.isCompiledInstalled=e.setPreCompiledScriptPath=e.setPreCompiledResourcePath=function(){},e.setHTML5CodebaseVersion=function(e,t){var n=parseFloat(e);NaN!==n&&n<5?console.log("The GeoGebra HTML5 codebase version "+n+" is deprecated. Using version latest instead."):(d=e,E(e,t))},e.getHTML5CodebaseVersion=function(){return c},e.getParameters=function(){return n},e.setFontsCSSURL=function(e){v=e},e.setGiacJSURL=function(e){},e.setJNLPFile=function(e){e},e.setJNLPBaseDir=function(e){},e.inject=function(){function t(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var a,o="auto",g=n.id,i=!1,d=0;d<arguments.length;d++){var h=arguments[d];"string"==typeof h?(h=h.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?o=h:g=arguments[d]:"boolean"==typeof h?i=h:h instanceof HTMLElement&&(a=h)}function m(){if(r){o=M(o);var d=a||document.getElementById(g);if(d)if(e.removeExistingApplet(d,!1),void 0===n.width&&d.clientWidth&&(n.width=d.clientWidth),void 0===n.height&&d.clientHeight&&(n.height=d.clientHeight),n.width&&n.height||"html5"!==o||(delete n.width,delete n.height),l=o,"screenshot"===o)z(d,n);else{var h=!1;n.hasOwnProperty("playButton")&&n.playButton||n.hasOwnProperty("clickToLoad")&&n.clickToLoad?h=!0:n.hasOwnProperty("playButtonAutoDecide")&&n.playButtonAutoDecide&&(h=(!A()||t())&&y()),h?(l="screenshot",C(d,n,i,o)):G(d,n,i)}else console.log("possibly bug on ajax loading? ")}else setTimeout(m,200)}m()},e.getViews=function(){return a},e.isJavaInstalled=function(){return!1};var x=function(t){var o=function(){n.onError&&n.onError(),I("Error: Fetching material (id "+n.material_id+") failed.",n)},g=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",i="/materials/"+n.material_id+"?scope=basic";F("https://"+g+"/api/proxy.php?path="+encodeURIComponent(i),(function(g){var i=JSON.parse(g),r=i.elements?i.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:i;if(r&&r.url){n.fileName=r.url,B(r.settings||{}),a.is3D=!0;var d="https://www.geogebra.org/images/";e.setPreviewImage(p||r.previewUrl,d+"GeoGebra_loading.png",d+"applet_play.png"),t()}else o()}),o)};function B(e){["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach((function(t){e[t]=!!e[t]})),["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"].forEach((function(t){void 0===n[t]&&void 0!==e[t]&&(n[t]=e[t])})),void 0===n.showToolBarHelp&&(n.showToolBarHelp=n.showToolBar)}function F(e,t,n){var a=new XMLHttpRequest;a.open("GET",e),a.onload=function(){t(a.responseText)},a.onerror=n,a.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return l},e.setPreviewImage=function(e,t,n){p=e,f=t,n},e.removeExistingApplet=function(e,t){var a;"string"==typeof e&&(e=document.getElementById(e)),l=null;var o=null;for(a=0;a<e.childNodes.length;a++){var g=e.childNodes[a],i=g.className;"applet_screenshot"===i?t?(g.style.display="block",l="screenshot"):g.style.display="none":"applet_scaler prerender"!==i&&(e.removeChild(g),o=i&&-1!=i.indexOf("appletParameters")?g.id:null,a--)}var r=void 0!==n.id?n.id:o,d=window[r];d&&"function"==typeof d.getBase64&&(d.remove(),window[r]=null)},e.refreshHitPoints=function(){if(L(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var t=e.getAppletObject();return!(!t||"function"!=typeof t.recalculateEnvironments)&&(t.recalculateEnvironments(),!0)},e.startAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.startAnimation)&&(t.startAnimation(),!0)},e.stopAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.stopAnimation)&&(t.stopAnimation(),!0)},e.getAppletObject=function(){var e=void 0!==n.id?n.id:"ggbApplet";return window[e]},e.resize=function(){};var b=function(e){return e&&"false"!==e},G=function(t,n,a){L(c)<=4.2&&(a=!0);var o=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==c||ggbHTML5LoadedCodebaseIsWebSimple&&!w)&&(o=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var g=document.createElement("div");g.classList.add("appletParameters","notranslate");var i=n.width,r=n.height;if(n.disableAutoScale=void 0===n.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():n.disableAutoScale,void 0!==n.width)if(L(c)<=4.4)b(n.showToolBar)&&(n.height-=7),b(n.showAlgebraInput)&&(n.height-=37),n.width<605&&b(n.showToolBar)&&(n.width=605,i=605);else{var m=100;(b(n.showToolBar)||b(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),m=b(n.showMenuBar)?245:155),i<m&&(n.width=m,i=m)}for(var s in g.style.border="none",g.style.display="inline-block",n)n.hasOwnProperty(s)&&"appletOnLoad"!==s&&g.setAttribute("data-param-"+s,n[s]);v&&g.setAttribute("data-param-fontscssurl",v),e.resize=function(){GGBAppletUtils.responsiveResize(t,n)},window.addEventListener("resize",(function(t){e.resize()}));var P="function"==typeof n.appletOnLoad?n.appletOnLoad:function(){};if(a||void 0===n.width){var l=document.createElement("div");l.className="applet_scaler",l.style.position="relative",l.style.display="block",l.appendChild(g),t.appendChild(l),n.appletOnLoad=function(t){e.resize(),P(t)}}else{n.hasOwnProperty("showSplash")||g.setAttribute("data-param-showSplash","false");var p=t.querySelector(".applet_scaler.prerender"),f=null!==p;if(f)A=p.querySelector(".ggb_preview");else{var A=k(i,r,n.borderColor,!1);(p=document.createElement("div")).className="applet_scaler",p.style.position="relative",p.style.display="block",p.style.width=i+"px",p.style.height=r+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(p,"66%"),L(c)>=5?(n.appletOnLoad=function(e){var n=t.querySelector(".ggb_preview");n&&n.parentNode.removeChild(n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(p),window.GGBT_wsf_view&&$(window).trigger("resize"),P(e)},f||p.appendChild(A)):g.appendChild(A),p.appendChild(g),f||t.appendChild(p),setTimeout((function(){e.resize()}),1)}function y(e,t){t&&"function"==typeof t.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,t.appletOnLoad):renderGGBElement(e),I("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",t)}function x(e,t){"undefined"==typeof renderGGBElement?(null===html5AppletsToProcess&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:e,params:t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,null!==html5AppletsToProcess&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach((function(e){y(e.article,e.params)})),html5AppletsToProcess=null)},L(c)<5&&(e.className+=" geogebraweb")):y(e,t)}if(o){scriptLoadStarted=!0;for(var B=0;B<g.childNodes.length;B++){"TABLE"===g.childNodes[B].tagName&&(g.removeChild(g.childNodes[B]),B--)}if(null!==ggbHTML5LoadedScript){var F=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=F&&F.parentNode.removeChild(F)}var G=document.createElement("script"),z=function(){x(g,n)};G.src=S+u,ggbHTML5LoadedCodebaseIsWebSimple=w,ggbHTML5LoadedCodebaseVersion=c,ggbHTML5LoadedScript=G.src,I("GeoGebra HTML5 codebase loaded: '"+S+"'.",n),h||d&&"5.0"!=d?S.requirejs?__webpack_require__.e(32721).then(function(){var e=[__webpack_require__(32721)];z.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(G.onload=z,t.appendChild(G)):(w?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),z())}else x(g,n);n.height=r,n.width=i},z=function(t,n,a){var o=k(n.width,n.height,n.borderColor,a),g=document.createElement("div");g.style.position="relative",g.style.display="block",g.style.width=n.width+"px",g.style.height=n.height+"px",g.className="applet_screenshot applet_scaler"+(a?" applet_screenshot_play":""),g.appendChild(o);var i=GGBAppletUtils.getScale(n,t,a);a?(t.appendChild(j()),window.GGBT_wsf_view||(t.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(g,"66%"),t.appendChild(g),1===i||isNaN(i)||(GGBAppletUtils.scaleElement(g,i),g.style.width=n.width+"px",g.style.height=n.height+"px",g.parentNode.style.width=n.width*i+"px",g.parentNode.style.height=n.height*i+"px"),e.resize=function(){N(t,o,g,a)},window.addEventListener("resize",(function(t){e.resize()})),e.resize()};function N(e,t,a,o){if(e.contains(t)){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if("fullscreencontent"!==e.id)return;window.GGBT_wsf_view.setCloseBtnPosition(e)}var g=GGBAppletUtils.getScale(n,e,o);null!==a.parentNode&&(isNaN(g)||1===g?(GGBAppletUtils.scaleElement(a,1),a.parentNode.style.width=n.width+"px",a.parentNode.style.height=n.height+"px"):(GGBAppletUtils.scaleElement(a,g),a.parentNode.style.width=n.width*g+"px",a.parentNode.style.height=n.height*g+"px")),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(e),"object"===_typeof(window.GGBT_ws_header_footer)&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}e.onExitFullscreen=function(e,t){t.appendChild(e)};var C=function(e,t,n,a){z(e,t,!0);for(var o=function(){var n=[];for(i=0;i<e.childNodes.length;i++)n.push(e.childNodes[i]);if(window.GGBT_wsf_view){var o=window.GGBT_wsf_view.renderFullScreen(e,t.id),g=document.getElementById("fullscreencontainer"),r=jQuery(e).find(".fullscreencontent");r.length>0?(o.remove(),r.attr("id","fullscreencontent").show(),jQuery(g).append(r),window.dispatchEvent(new Event("resize"))):G(o,t,!1),window.GGBT_wsf_view.launchFullScreen(g)}else l=a,G(e,t,!1);if(!window.GGBT_wsf_view)for(i=0;i<n.length;i++)e.removeChild(n[i])},g=e.getElementsByClassName("ggb_preview_play"),i=0;i<g.length;i++)g[i].addEventListener("click",o,!1),g[i].addEventListener("ontouchstart",o,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),y()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},j=function(){var e=document.createElement("div");if(e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var t='.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");}',n=document.createElement("style");n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(n)}return e},k=function(e,t,n,a){var o=document.createElement("div");o.className="ggb_preview",o.style.position="absolute",o.style.zIndex="90",o.style.width=e-2+"px",o.style.height=t-2+"px",o.style.top="0px",o.style.left="0px",o.style.overflow="hidden",o.style.backgroundColor="white";var g="lightgrey";void 0!==n&&(g="none"===n?"transparent":n),o.style.border="1px solid "+g;var i,r,d,h=document.createElement("img");if((h.style.position="relative",h.style.zIndex="1000",h.style.top="-1px",h.style.left="-1px",null!==p&&h.setAttribute("src",p),h.style.opacity=.7,null!==f)&&!a){(i=document.createElement("img")).style.position="absolute",i.style.zIndex="1001",i.style.opacity=1,h.style.opacity=.3,(r=360)>e/4*3&&(r=e/4*3),d=r/5.8,i.setAttribute("src",f),i.setAttribute("width",r),i.setAttribute("height",d);var m=(e-r)/2,s=(t-d)/2;i.style.left=m+"px",i.style.top=s+"px",o.appendChild(i)}return o.appendChild(h),o},M=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},T=["web","webSimple","web3d","tablet","tablet3d","phone"],E=function(e,t){if(c=e,t)D(c,!0);else{var g,i,r=!o;if(r){var d=L(c);!isNaN(d)&&d<4.4&&(r=!1)}g="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var h=c.indexOf("//");for(var m in i=h>0?c:0===h?g+c:"https://www.geogebra.org/apps/5.2.814.0/",T)if(c.slice(-1*T[m].length)===T[m]||c.slice(-1*(T[m].length+1))===T[m]+"/")return void D(i,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!r||a.is3D||a.AV||a.SV||a.CV||a.EV2||a.CP||a.PC||a.DA||a.FI||a.PV||b(n.showToolBar)||b(n.showMenuBar)||b(n.showAlgebraInput)||b(n.enableRightClick)||n.appName&&"classic"!=n.appName?i+="web3d/":i+="webSimple/",D(i,!1)}},D=function(e,t){if(e.requirejs)S=e;else{"/"!==e.slice(-1)&&(e+="/"),S=e,null===t&&(t=-1===e.indexOf("http")),P=t,u="web.nocache.js",w=!1;var n=S.split("/");n.length>1&&(t||"webSimple"!==n[n.length-2]?T.indexOf(n[n.length-2])>=0&&(u=n[n.length-2]+".nocache.js"):(u="webSimple.nocache.js",w=!0)),n=e.split("/"),"test"===(c=n[n.length-3]).substr(0,4)?c=c.substr(4,1)+"."+c.substr(5,1):"war"!==c.substr(0,3)&&"beta"!==c.substr(0,4)||(c="5.0");var a=parseFloat(c);NaN!==a&&a<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+a+" is deprecated. Using version latest instead."),E("5.0",t))}},I=function(e,t){window.console&&window.console.log&&(!t||void 0===t.showLogging||t.showLogging&&"false"!==t.showLogging)&&console.log(e)};function O(){var e=t;null!==d?e=d:parseFloat(e)<5&&(e="5.0"),E(e,!1),null!==h&&D(h,P),r=!0}return void 0!==n.material_id?x(O):O(),e},GGBAppletUtils=function(){"use strict";function e(){return void 0!==window.GGBT_wsf_edit}function t(e,t){1!=t?(e.style.transformOrigin="0% 0% 0px",e.style.webkitTransformOrigin="0% 0% 0px",e.style.transform="scale("+t+","+t+")",e.style.webkitTransform="scale("+t+","+t+")",e.style.maxWidth="initial",null!==e.querySelector(".ggb_preview")&&(e.querySelector(".ggb_preview").style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[0]&&(e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[1]&&(e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(e.style.transform="none",e.style.webkitTransform="none")}function n(e,t,n,a,o){if(e.isScreenshoGenerator)return 1;var g,i=void 0!==a&&a,r=null!=e.noScaleMargin&&e.noScaleMargin,d=(g=e.autoHeight)&&"false"!==g,h=function(e,t,n,a,o,g){var i=null;if(null!=g&&""!=g)for(var r=e.parentNode;null!=r;){if((" "+r.className+" ").indexOf(" "+g+" ")>-1){i=r;break}r=r.parentNode}var d=0,h=0,m=0,s=0,S=0,P=0,l=0;if(i)d=i.offsetWidth,h=Math.max(a?i.offsetWidth:0,i.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(d=Math.min(window.innerWidth,document.documentElement.clientWidth),h=Math.min(window.innerHeight,document.documentElement.clientHeight),m=d):(d=window.innerWidth,h=window.innerHeight,m=window.innerWidth),e){var c=e.getBoundingClientRect();c.left>0&&c.left<=d&&(void 0===o||!o)&&("rtl"===document.dir?(S=d-c.width-c.left,P=m<=480?10:30):(P=c.left,S=m<=480?10:30),s=P+S)}e&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(e.getBoundingClientRect(),"closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(s=40,l=0):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(s=0,l=40))}return e&&((void 0===n||!n)&&t>0&&t+s<d?d=t:d-=s,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==n&&n||(h-=l)),{width:d,height:h}}(t,e.width,n,d,i&&window.GGBT_wsf_view||r,o),m=parseInt(h.width),s=e.width,S=e.height;if(void 0===s){var P=t.querySelector(".appletParameters");P&&(s=P.offsetWidth,S=P.offsetHeight)}var l=m/s,c=i?1:h.height/S;return void 0===n||n||(l=Math.min(1,l),c=Math.min(1,c)),Math.min(l,c)}function a(e,t,a){var o,g=1,i=!1;return e.hasOwnProperty("allowUpscale")&&(i=e.allowUpscale),e.hasOwnProperty("scale")&&(g=parseFloat(e.scale),(isNaN(g)||null===g||0===g)&&(g=1),g>1&&(i=!0)),t&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(i=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?g:(o=n(e,t,i,a,e.scaleContainerClass),!i||e.hasOwnProperty("scale")&&1!==g?Math.min(g,o):o)}function o(e){var t=Math.min(window.innerWidth,document.documentElement.clientWidth),n=Math.min(window.innerHeight,document.documentElement.clientHeight),a=e.getBoundingClientRect(),o=(t-a.width)/2,g=(n-a.height)/2;g<0&&(g=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=o<40?"40px":o+"px",e.style.top=g+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=g<40?"40px":g+"px",e.style.left=o+"px")}return{responsiveResize:function(n,g){var i=n.querySelector(".appletParameters");if(i){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(g.id!==i.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(n)}if(i.parentElement&&/fullscreen/.test(i.parentElement.className))return;var r=a(g,n);e()&&i.setAttribute("data-param-scale",r);for(var d=null,h=0;h<n.childNodes.length;h++)if(void 0!==n.childNodes[h].className&&n.childNodes[h].className.match(/^applet_scaler/)){d=n.childNodes[h];break}if(null!==d&&null!==d.querySelector(".noscale"))return;var m=void 0!==g.id?g.id:"ggbApplet",s=window[m];null!=s&&s.recalculateEnvironments||null===d||d.className.match(/fullscreen/)||(d.parentNode.style.transform="",isNaN(r)||1===r?(t(d,1),d.parentNode.style.width=g.width+"px",d.parentNode.style.height=g.height+"px"):(d.parentNode.style.width=g.width*r+"px",d.parentNode.style.height=g.height*r+"px",t(d,r))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&o(n),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(i).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:o,getScale:a,scaleElement:t}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(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 e=n.location.search;return-1!=e.indexOf(J)||-1!=e.indexOf(K)}function q(e,t){}q(H,I),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||{},t;function u(){return v(),t}function v(){if(!t){var e=o.createElement(Q);if(e.id=L,e.style.cssText=R+S,e.tabIndex=-1,o.body.appendChild(e),t=e.contentWindow.document,-1==navigator.userAgent.indexOf(T)){t.open();var n=document.compatMode==U?V:W;t.write(n+X),t.close()}}}function w(e){q(cb,eb),function(e){function t(){return _typeof(o.readyState)==Y?_typeof(o.body)!=Y&&null!=o.body:/loaded|complete/.test(o.readyState)}var n=t();if(n)e();else{o.addEventListener&&o.addEventListener(Z,g,!1);var a=setInterval((function(){g()}),$)}function g(){if(!n){if(!t())return;n=!0,e(),o.removeEventListener&&o.removeEventListener(Z,g,!1),a&&clearInterval(a)}}}((function(){var t,n,a,o;t=e,n=u(),a=n.body,(o=n.createElement(_)).language=ab,o.crossOrigin=W,o.src=t,webModule.__errFn&&(o.onerror=function(){webModule.__errFn(L,new Error(bb+t))}),a.appendChild(o),q(cb,db)}))}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(e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(e){var t=c[e];return null==t?null:t},r=d,webModule.__errFn=e}function B(){function e(e){var t=e.lastIndexOf(rb);-1==t&&(t=e.length);var n=e.indexOf(sb);-1==n&&(n=e.length);var a=e.lastIndexOf(tb,Math.min(n,t));return a>=O?e.substring(O,a+P):W}var t,n=null!=(t=__gwt_getMetaProperty(wb))?t:W;return n==W&&(n=function(){for(var t=o.getElementsByTagName(_),n=O;n<t.length;++n)if(-1!=t[n].src.indexOf(xb))return e(t[n].src);return W}()),n==W&&(n=function(){var e=o.getElementsByTagName(yb);return e.length>O?e[e.length-P].href:W}()),n==W&&function(){var e=o.location;return e.href==e.protocol+zb+e.host+e.pathname+e.search+e.hash}()&&(n=e(o.location.href)),n=function(t){if(t.match(/^\w+:\/\//));else{var n=o.createElement(ub);n.src=t+vb,t=e(n.src)}return t}(n),n}function C(e){return e.match(/^\//)||e.match(/^[a-zA-Z]+:\/\//)?e:webModule.__moduleBase+e}function D(){var e,t=O,a=[],o=[];function g(e){var t=o[e](),n=a[e];if(t in n)return t;var g=[];for(var i in n)g[n[i]]=i;throw r&&r(e,g,t),null}if(__gwt_isKnownPropertyValue=function(e,t){return t in a[e]},webModule.__getPropMap=function(){var e={};for(var t in a)a.hasOwnProperty(t)&&(e[t]=g(t));return e},webModule.__computePropValue=g,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var i=(e=Cb).indexOf(Db);-1!=i&&(t=parseInt(e.substring(i+P),$),e=e.substring(O,i))}catch(e){}return webModule.__softPermutationId=t,C(e+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}s[L]={moduleName:L},webModule.__moduleStartupDone=function(e){var t=s[L].bindings;s[L].bindings=function(){for(var n=t?t():{},a=e[webModule.__softPermutationId],o=O;o<a.length;o++){var g=a[o];n[g[O]]=g[P]}return n}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var t=u(),n=t.body,a=t.createElement(_);a.language=ab,a.text=e,n.appendChild(a),n.removeChild(a)},A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},"function"!=typeof window.web3d&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),"function"!=typeof window.webSimple&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet}else console.warn("deployggb.js was loaded twice")})()},43799:function(e,t,n){"use strict";n.d(t,{$Y:function(){return V},A0:function(){return H},EP:function(){return r},F_:function(){return m},Fk:function(){return J},G9:function(){return h},GB:function(){return O},GR:function(){return v},GW:function(){return W},Hh:function(){return $},Hp:function(){return c},Ir:function(){return o},N$:function(){return R},NZ:function(){return k},Nv:function(){return Y},OA:function(){return _},OJ:function(){return E},QF:function(){return ne},RS:function(){return B},RY:function(){return ee},Rj:function(){return M},SX:function(){return G},Tp:function(){return K},Ui:function(){return Z},V1:function(){return I},Vn:function(){return b},dL:function(){return q},fo:function(){return z},gG:function(){return N},gK:function(){return f},hK:function(){return u},i3:function(){return S},ib:function(){return w},lS:function(){return p},m5:function(){return d},n4:function(){return a},n_:function(){return P},oP:function(){return X},p2:function(){return U},pl:function(){return j},rM:function(){return y},sM:function(){return l},t2:function(){return F},tD:function(){return L},u8:function(){return A},um:function(){return te},vm:function(){return Q},wQ:function(){return s},wj:function(){return D},wt:function(){return C},yS:function(){return x},yi:function(){return g},ym:function(){return T},z2:function(){return i}});var a="FETCH_TASK_START",o="FETCH_TASK_FAILURE",g="FETCH_TASK_SUCCESS",i="UPDATE_TASK_DATA",r="HIDE_EVALUATE_RESULT",d="SHOW_EVALUATE_RESULT",h="UPDATE_TIMESTRAP",m="MOVE_X",s="MOVE_Y",S="TRIGGER_RIGHT_PANEL_MASK ",P="SET_ACTIVE_INDEX",l="GET_TASK_LIST",c="SHOW_TASK_LIST",u="HIDE_TASK_LIST",w="SET_TASK_STAR",p="TRIGGER_ENLARGE_UNITY3D ",f="TRIGGER_TAB_FIXED ",v="GET_DISCUSSES",L="SHOW_DISCUSSES_LOADING",A="TOP_OR_DOWN_DISCUSS",y="PLUS_DISCUSS",x="SET_ACTION_TYPE",B="SHOW_REWARD_DIALOG",F="CANCEL_REWARD_DIALOG",b="SET_REWARD",G="ACTIVE_DISCUSS_INDEX",z="DISABLE_DISCUSS",N="CHANGE_PAGE",C="SHOW_ANSWER_LOADING",j="FETCH_ANSWER_INFO",k="HIGH_TIP_MODAL",M="SHOW_TIP_MODAL",T="SELECT_UNLOCK_ANSWER",E="SET_CHOOSE_ANSWERS",D="EVAL_CHOOSE_START",I="EVAL_CHOOSE_END",O="FETCH_REP_CONTENT",R="EDIT_REP_CONTENT",Z="SHOW_EVALUATE_LOADING",H="HIDE_EVALUATE_LOADING",U="SET_EVALUATE_MESSAGE",W="SET_SHOW_DIR",V="SET_EDITOR_THEME",K="SET_EDITOR_FONTSIZE",X="SET_REPOS",_="HIDE_PICTURE_VIEW",Q="SHOW_PICTURE_VIEW",q="SHOW_NOTICE",Y="HIDE_NOTICE",J="SHOW_CASE_NOTICE",$="HIDE_CASE_NOTICE",ee="SET_VNC_LOADING ",te="ON_TAB_TO_SPACE ",ne="ON_AUTO_FORMAT "},37318:function(e,t,n){"use strict";function a(e){var t=!0;if(e.length>0){for(var n=0;n<e.length;n++)if(0==e[n].compile_success||!e[n].compile_success){t=!1;break}}else t=!1;return t}function o(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],a=0;a<e.length;a++){var o=e[a],g=t?"".concat(t,"/").concat(o.name):"".concat(o.name);n.push({title:o.name,type:o.type,isLeaf:"tree"!==o.type,key:g})}return n}function g(e,t,n){for(var a=0;a<e.length;a++){var o=e[a];if(o.key===t){o.children=n;break}o.children&&g(o.children,t,n)}return e}function i(e,t,n){var a;return function(){var o=this,g=arguments,i=function(){a=null,n||e.apply(o,g)},r=n&&!a;clearTimeout(a),a=setTimeout(i,t),r&&e.apply(o,g)}}n.d(t,{Ax:function(){return g},Ds:function(){return i},KI:function(){return r},SI:function(){return o},f1:function(){return a}});var r=n(69423).Z.API_SERVER},72428:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var a=n(82242),o=n.n(a),g=n(7557),i=n.n(g),r=n(41498),d=n.n(r),h=n(79800),m=n.n(h),s=n(39647),S=n.n(s),P=n(3113),l=n(59301),c=n(37712),u=["children"],w=function(e){var t=e.children,n=S()(e,u),a=(0,l.useState)(!1),g=m()(a,2),r=g[0],h=g[1];return(0,c.jsx)(P.ZP,o()(o()({},n),{},{loading:r,onClick:function(){var e=d()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,h(!0),e.next=4,n.onClick(t);case 4:h(!1),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0),h(!1);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),children:t}))}},46898:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(79800),o=n.n(a),g=n(59301),i=n(3113),r=n(8591),d=n(24645),h=n(96830),m=n(33130),s=n(69423),S="img___BgL9D",P=n(37712),l=function(e){var t=e.value,n=e.onChange,a=e.getFileProgress,l=(0,g.useState)(!1),c=o()(l,2),u=c[0],w=c[1],p=(0,P.jsx)(i.ZP,{loading:u,icon:(0,P.jsx)(h.Z,{}),children:"选择上传文件"});return(0,P.jsx)(g.Fragment,{children:t?(0,P.jsxs)("div",{className:S,children:[(0,P.jsx)("img",{src:s.Z.API_SERVER+"/api/attachments/"+t,alt:"avatar",style:{width:288}}),(0,P.jsx)("div",{children:(0,P.jsx)(m.Z,{onClick:function(){return n("")},style:{fontSize:"16px",color:"red"}})})]}):(0,P.jsxs)("div",{children:[(0,P.jsx)(d.Z,{withCredentials:!0,name:"file",showUploadList:!1,action:"".concat(s.Z.API_SERVER,"/api/attachments.json"),onChange:function(e){if(a&&a(e),"uploading"!==e.file.status){if("done"===e.file.status){var t,o,g;if(w(!1),"done"===e.file.status&&-1===(null===(t=e.file)||void 0===t||null===(t=t.response)||void 0===t?void 0:t.status))return void r.ZP.error(null===(g=e.file)||void 0===g||null===(g=g.response)||void 0===g?void 0:g.message);n(null==e||null===(o=e.file)||void 0===o||null===(o=o.response)||void 0===o?void 0:o.id)}}else w(!0)},accept:"image/*",children:p}),(0,P.jsx)("div",{className:"mt20 c-light-black",children:"说明:支持上传jpg/png等格式文件,文件大小不能超过2M,建议使用288*158像素;"}),(0,P.jsx)("div",{className:"c-light-black",children:"如不上传,默认使用系统图片。"})]})})}},12840:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var a=n(7557),o=n.n(a),g=n(41498),i=n.n(g),r=n(79800),d=n.n(r),h=n(59301),m="imageDimensions___a7crR",s="img___Kroat",S="fullWidth___c492T",P=n(92310),l=n.n(P),c=n(71418),u=n(2859),w=n(82710),p=n(95972),f=n(37712),v=function(e){var t=e.data,n=e.className,a=e.fullWidth,g=e.style,r=void 0===g?{}:g,P=e.onClose,v=e.onOk,L=e.showFullTools,A=e.noAssociationId,y=(0,h.useRef)(null),x=(0,h.useRef)(null),B=(0,h.useRef)(null),F=(0,h.useRef)(null),b=(0,h.useState)(!1),G=d()(b,2),z=G[0],N=G[1],C=(0,h.useState)("正在加载中"),j=d()(C,2),k=j[0],M=j[1];(0,h.useEffect)((function(){B.current||(B.current=document.createElement("style"),document.head.appendChild(B.current)),null!=t&&t.visible?(document.body.setAttribute("data-custom","y-hidden"),B.current.innerHTML=" html { overflow-y: hidden; }",null!=t&&t.src&&T()):(document.body.removeAttribute("data-custom"),B.current&&(document.head.removeChild(B.current),B.current=null))}),[null==t?void 0:t.visible]);var T=function(){var e=i()(o()().mark((function e(){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(!0),M("正在加载中"),e.next=4,(0,p.ZJ)(null==t?void 0:t.src);case 4:n=e.sent,y.current.src="",y.current.src=n,y.current.onload=function(){D()},N(!1),M("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){var e=i()(o()().mark((function e(n){var a;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(!0),M("正在保存中"),e.next=4,(0,w.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:t.title,file:n.dataUrl}});case 4:if(null==(a=e.sent)||!a.id||A){e.next=12;break}return e.next=8,(0,w.ZP)("/api/attachments/".concat(t.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==a?void 0:a.id,settings:JSON.stringify(n.state)}});case 8:0===e.sent.status&&v(),e.next=13;break;case 12:null!=a&&a.id&&v(a);case 13:N(!1),M("");case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=function(){x.current=new u.hP(y.current),x.current.targetRoot=F.current,x.current.addEventListener("render",E),x.current.addEventListener("beforeclose",P),L&&(x.current.availableMarkerTypes=x.current.ALL_MARKER_TYPES,x.current.uiStyleSettings.redoButtonVisible=!0,x.current.uiStyleSettings.notesButtonVisible=!0,x.current.uiStyleSettings.zoomButtonVisible=!0,x.current.uiStyleSettings.zoomOutButtonVisible=!0,x.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=x.current.uiStyleSettings,x.current.show(),null!=t&&t.snapshotData&&x.current.restoreState(t.snapshotData),setTimeout((function(){var e;window.scrollTo(0,0),(e=document.querySelector('a[href="https://markerjs.com/"]'))&&e.parentNode&&(e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"选择"},{name:'[data-action="delete"]',title:"删除元素"},{name:'[data-action="undo"]',title:"撤销"},{name:'[data-type-name="FrameMarker"]',title:"矩形"},{name:'[data-type-name="FreehandMarker"]',title:"画线"},{name:'[data-type-name="ArrowMarker"]',title:"箭头"},{name:'[data-type-name="TextMarker"]',title:"文本"},{name:'[data-type-name="EllipseMarker"]',title:"椭圆"},{name:'[data-type-name="HighlightMarker"]',title:"方块"},{name:'[data-type-name="CalloutMarker"]',title:"注释"},{name:'[data-action="render"]',title:"保存"},{name:'[data-action="close"]',title:"退出"}].forEach((function(e){var t=document.querySelector(e.name);t&&t.setAttribute("title",e.title)}))}),300)};return(0,f.jsx)(h.Fragment,{children:(null==t?void 0:t.visible)&&(0,f.jsx)(c.Z,{spinning:z,tip:k,style:{position:"absolute"},children:(0,f.jsx)("div",{ref:F,className:l()(m,n,a?S:""),style:r,children:(0,f.jsx)("img",{className:s,ref:y})})})})}},26056:function(e,t,n){"use strict";n.d(t,{z:function(){return F},Z:function(){return b}});var a=n(7557),o=n.n(a),g=n(41498),i=n.n(g),r=n(82242),d=n.n(r),h=n(37205),m=n.n(h),s=n(79800),S=n.n(s),P=n(59301),l=n(24645),c=n(8591),u=n(43418),w=n(3113),p=n(69423),f=n(64602),v=n(37712),L=" ";function A(e){if(0==e)return"0 Byte";var t=parseInt(""+Math.floor(Math.log(e)/Math.log(1024)),10);return(e/Math.pow(1024,t)).toFixed(1)+" "+["Bytes","KB","MB","GB","TB"][t]}var y=n(76298),x=n(89392);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var B=l.Z.Dragger;function F(e){var t=[];return e&&e.length>0&&(t=e.map((function(e){return{uid:e.id,id:e.id,name:e.title+L+e.filesize,url:e.url,filesize:e.filesize,status:"done",response:{id:e.id}}}))),t}var b=function(e){var t=e.value,n=e.onChange,a=e.action,g=e.data,r=e.className,h=e.maxSize,s=void 0===h?150:h,F=e.title,b=void 0===F?"上传附件":F,G=e.showRemoveModal,z=void 0!==G&&G,N=e.accept,C=void 0===N?"":N,j=e.additionalText,k=e.isDragger,M=e.number,T=void 0===M?1e3:M,E=e.aloneClear,D=void 0!==E&&E,I=e.realTimeRemove,O=void 0===I||I,R=e.uploadText,Z=e.setFileProgress,H=e.showFileProgress,U=(0,P.useState)(!1),W=S()(U,2),V=W[0],K=W[1],X=(0,P.useState)(t||[]),_=S()(X,2),Q=_[0],q=_[1],Y=(0,P.useState)(1),J=S()(Y,2),$=J[0],ee=J[1];(0,P.useEffect)((function(){t&&(1===$&&q(m()(t)),ee(2),T===(null==t?void 0:t.length)&&K(!0))}),[t]);var te=function(){setTimeout((function(){Q.pop(),q(m()(Q))}),500)};H&&Z(Q.some((function(e){return"uploading"===e.status})));var ne,ae={multiple:!0,disabled:V,accept:C,withCredentials:!0,fileList:Q,beforeUpload:function(e,t){var n=e.size/1024/1024;return Q.concat(t).length>T?(Q.pop(),q(m()(Q)),c.ZP.error("最多只能上传".concat(T,"个文件")),D?Promise.reject():(te(),!1)):n<s||(c.ZP.error("该文件无法上传。超过文件大小限制(".concat(s,"MB).")),D?Promise.reject():(te(),!1))},data:g,action:a||"".concat(p.Z.API_SERVER,"/api/attachments.json"),onChange:function(e){var t,a;(Q="removed"===e.file.status?e.fileList:(0,x.uniqBy)([].concat(m()(e.fileList),m()(Q)),"uid"),"done"!==e.file.status||-1!==(null===(t=e.file)||void 0===t||null===(t=t.response)||void 0===t?void 0:t.status))?(Q.length>=T?K(!0):K(!1),q(m()(Q)),Q=Q.map((function(e){var t,n;null!=e&&null!==(t=e.response)&&void 0!==t&&t.id&&(e.url=null==e||null===(n=e.response)||void 0===n?void 0:n.url);return-1===e.name.indexOf(L)&&(e.name="".concat(e.name).concat(L).concat(A(e.size))),d()({},e)})),console.log("info:",e,Q),n(Q)):c.ZP.error(null===(a=e.file)||void 0===a||null===(a=a.response)||void 0===a?void 0:a.message)},onRemove:(ne=i()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O){e.next=2;break}return e.abrupt("return",!0);case 2:if(n=function(){var e=i()(o()().mark((function e(){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.response?t.response.id:t.id)){e.next=8;break}return e.next=4,(0,f.JZ)(t.response?t.response.id:t.uid);case 4:return n=e.sent,e.abrupt("return",Promise.resolve(n));case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!z){e.next=7;break}return e.abrupt("return",new Promise((function(e,t){var a;u.Z.confirm({centered:!0,width:530,okText:"确定",cancelText:"取消",title:"提示",content:(0,v.jsx)("div",{className:"tc font16",children:"是否确认删除?"}),onOk:(a=i()(o()().mark((function t(){return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n();case 2:t.sent,c.ZP.success("删除成功"),e(!0);case 5:case"end":return t.stop()}}),t)}))),function(){return a.apply(this,arguments)}),onCancel:function(){return e(!1)}})})));case 7:return e.next=9,n();case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)}))),function(e){return ne.apply(this,arguments)})};return(0,v.jsxs)("div",{className:"multi-upload ".concat(r||""),children:[k&&(0,v.jsxs)(B,d()(d()({},ae),{},{children:[(0,v.jsx)("p",{className:"ant-upload-drag-icon",children:(0,v.jsx)(y.Z,{})}),(0,v.jsxs)("p",{className:"ant-upload-text",children:["点击上传图标,选择要上传的文件或将文件拖拽到此",(0,v.jsx)("br",{}),"(单个文件最大限制为",s,"MB)"," "]}),j]})),!k&&(0,v.jsxs)(l.Z,d()(d()({},ae),{},{children:[(0,v.jsxs)(w.ZP,{disabled:V,className:"upload_button",children:[(0,v.jsx)("img",{className:"aBtn_img",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4="}),b]}),(0,v.jsx)("span",{onClick:function(e){e.preventDefault(),e.stopPropagation()},className:"upload_text",children:R||"(单个文件最大".concat(s,"MB)")})]}))]})}},43851:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var a=n(79800),o=n.n(a),g=n(59301),i=n(34837),r=n(54139),d=n(37712),h=function(){var e=(0,g.useState)(""),t=o()(e,2),n=t[0],a=t[1],h=(0,g.useState)(0),m=o()(h,2),s=(m[0],m[1]),S=(0,g.useState)(),P=o()(S,2),l=(P[0],P[1]),c=(0,g.useState)(),u=o()(c,2),w=(u[0],u[1]),p=(0,g.useState)(!1),f=o()(p,2),v=(f[0],f[1],(0,g.useRef)(""));function L(e){27==e.keyCode&&v.current&&A()}function A(){document.body.style.overflow="auto",l(void 0),w(void 0),s(0),a("")}(0,g.useEffect)((function(){return i.Z.subscribe("preview-image",(function(e){a(e),console.log(x.current),document.body.style.overflow="hidden"}))}),[]),(0,g.useEffect)((function(){return document.addEventListener("keydown",L),function(){document.removeEventListener("keydown",L)}}),[]),(0,g.useEffect)((function(){v.current=n}),[n]);(0,g.useRef)();var y=(0,g.useRef)(),x=(0,g.useRef)();return(0,d.jsx)(g.Fragment,{children:n?(0,d.jsx)("div",{children:(0,d.jsx)("div",{className:"preview-wrp-group",ref:y,children:(0,d.jsx)(r.Z,{className:"image-preview",src:n,style:{display:"none"},preview:{visible:!0,src:n,movable:!1,onVisibleChange:function(e){a("")}},alt:"预览大图"})})}):null})}},18890:function(e,t,n){"use strict";n.d(t,{h:function(){return w}});var a=n(82242),o=n.n(a),g=n(79800),i=n.n(g),r=n(59301),d=n(57809),h=n(78241),m=n(3113),s=n(89780),S=n.n(s),P=(n(79906),n(44383),n(37712)),l=d.default.Option,c={labelCol:{span:4},wrapperCol:{span:20}},u={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"]};function w(e){var t=e.value,n=e.onChange,a=e.mode,g=e.options,d=void 0===g?{}:g,h=(0,r.useRef)(),m=(0,r.useState)(),s=i()(m,2),l=s[0],c=s[1];return(0,r.useEffect)((function(){if(l){var e=function(e){var t=e.getValue();n&&n(t)};return l.on("change",e),function(){l.off("change",e)}}}),[l,n]),(0,r.useEffect)((function(){l&&l.setOption("mode",a)}),[l,a]),(0,r.useEffect)((function(){l&&(t===l.getValue()&&""!==t||setTimeout((function(){l.setValue(t||"")}),300))}),[l,t]),(0,r.useEffect)((function(){if(h.current&&!l){var e=S().fromTextArea(h.current,o()({mode:a,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},d));c(e)}}),[h.current,l]),(0,P.jsx)("div",{className:"my-codemirror-container",children:(0,P.jsx)("textarea",{ref:h})})}t.Z=function(e){var t=e.callback,n=e.onCancel,a=(0,r.useState)("python"),g=i()(a,2),s=g[0],S=g[1];return(0,P.jsxs)(h.Z,o()(o()({},c),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){t(e)},style:{width:500},children:[(0,P.jsx)(h.Z.Item,{label:"代码语言",name:"language",children:(0,P.jsx)(d.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){S(u[e][1])},children:Object.keys(u).map((function(e){return(0,P.jsx)(l,{value:e,children:u[e][0]},e)}))})}),(0,P.jsx)(h.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,P.jsx)(w,{mode:s})}),(0,P.jsxs)("div",{className:"flex-container flex-end",children:[(0,P.jsx)(m.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,P.jsx)(m.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))}},85654:function(e,t,n){"use strict";n.d(t,{Z:function(){return ve}});var a=n(91232),o=n.n(a),g=n(79800),i=n.n(g),r=n(85573),d=n.n(r),h=n(59301),m=n(89780),s=n.n(m),S=n(76374),P=(n(79906),n(6313),n(25717),n(99498),n(25419),n(67549),n(501)),l=n(37712),c=function(e){var t=e.value,n=void 0===t?"":t,a=(e.className,e.showTextOnly,e.showLines,e.style,(0,h.useMemo)((function(){return""}),[n]));return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})})},u=n(82242),w=n.n(u),p=[{title:"粗体",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"斜体",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"无序列表",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"有序列表",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"行内代码",icon:"md-iconfont icon-code",actionName:"code"},{title:"代码块(多语言风格)",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"链接",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"行内公式",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"数学图像",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"多行公式",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"添加图片",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"插入画图",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"插入流程图",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"表格",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"换行",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"清空",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function f(e){var t=e.onActionCallback,n=e.title,a=e.icon,o=e.actionName,g=e.className,i=void 0===g?"":g,r=e.children;return(0,l.jsxs)("a",{title:n,className:i,onClick:function(){t(o)},children:[(0,l.jsx)("i",{className:"".concat(a)}),r]})}var v=function(e){var t=e.watch,n=e.showNullButton,a=e.showNullProgramButton,o=e.onActionCallback,g=e.fullScreen,i=e.insertTemp,r=e.hidetoolBar,d=e.extraUse,h=[].concat(p,[{title:"".concat(t?"关闭实时预览":"开启实时预览"),icon:"".concat(t?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,l.jsxs)("ul",{className:"markdown-toolbar-container",children:[!r&&h.map((function(e,t){return(0,l.jsx)("li",{children:e.actionName?(0,l.jsx)(f,w()(w()({},e),{},{onActionCallback:o})):(0,l.jsx)("span",{className:"v-line"})},t)})),n?(0,l.jsx)("li",{children:(0,l.jsx)(f,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-null-ch",onActionCallback:o,children:(0,l.jsx)("span",{className:"fill-tip",children:"点击插入\b填空项"})})}):null,a?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("li",{children:(0,l.jsx)(f,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:o,children:(0,l.jsx)("span",{className:"fill-tip",children:"+单行填空项"})})}),(0,l.jsx)("li",{children:(0,l.jsx)(f,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:o,children:(0,l.jsx)("span",{className:"fill-tip",children:"+多行填空项"})})})]}):null,i&&(0,l.jsx)("li",{children:(0,l.jsx)(f,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(i),onActionCallback:o,children:(0,l.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),d&&(0,l.jsx)("li",{children:d}),(0,l.jsx)("li",{className:"btn-full-screen",children:(0,l.jsx)(f,{icon:"".concat(g?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:g?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:o})})]})},L=n(32552),A=n(78241),y=n(92832),x=n(3113),B={labelCol:{span:4},wrapperCol:{span:20}},F=function(e){var t=e.callback,n=e.onCancel;return(0,l.jsxs)(A.Z,w()(w()({},B),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){t(e)},style:{width:500},children:[(0,l.jsx)(A.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,l.jsx)(y.Z,{})}),(0,l.jsx)(A.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,l.jsx)(y.Z,{})}),(0,l.jsxs)("div",{className:"flex-container flex-end",children:[(0,l.jsx)(x.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,l.jsx)(x.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},b=n(18890),G=n(48347),z=n(43418),N=n(95237),C=n(12840),j=function(e){var t=e.callback,n=e.onCancel,a=document.createElement("canvas"),o=a.getContext("2d");a.width=1e3,a.height=800,o.fillStyle="#ffffff",o.fillRect(0,0,a.width,a.height);var g=a.toDataURL("image/png");return(0,l.jsx)(z.Z,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1,children:(0,l.jsx)(N.Z,{style:{height:"100vh"},children:(0,l.jsx)(C.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:g,visible:!0,title:String(Date.now())},onOk:function(e){t({src:e.url})},onClose:n})})})},k=n(7557),M=n.n(k),T=n(41498),E=n.n(T),D=n(37205),I=n.n(D),O=n(12378);function R(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(R,go.CommandHandler),R.prototype.canAlignSelection=function(){var e=this.diagram;return null!==e&&!e.isReadOnly&&!e.isModelReadOnly&&!(e.selection.count<2)},R.prototype.alignLeft=function(){var e=this.diagram;e.startTransaction("aligning left");var t=1/0;e.selection.each((function(e){e instanceof go.Link||(t=Math.min(e.position.x,t))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t,e.position.y))})),e.commitTransaction("aligning left")},R.prototype.alignRight=function(){var e=this.diagram;e.startTransaction("aligning right");var t=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.x+e.actualBounds.width;t=Math.max(n,t)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t-e.actualBounds.width,e.position.y))})),e.commitTransaction("aligning right")},R.prototype.alignTop=function(){var e=this.diagram;e.startTransaction("alignTop");var t=1/0;e.selection.each((function(e){e instanceof go.Link||(t=Math.min(e.position.y,t))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.position.x,t))})),e.commitTransaction("alignTop")},R.prototype.alignBottom=function(){var e=this.diagram;e.startTransaction("aligning bottom");var t=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.y+e.actualBounds.height;t=Math.max(n,t)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,t-e.actualBounds.height))})),e.commitTransaction("aligning bottom")},R.prototype.alignCenterX=function(){var e=this.diagram,t=e.selection.first();if(t){e.startTransaction("aligning Center X");var n=t.actualBounds.x+t.actualBounds.width/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(n-e.actualBounds.width/2,e.actualBounds.y))})),e.commitTransaction("aligning Center X")}},R.prototype.alignCenterY=function(){var e=this.diagram,t=e.selection.first();if(t){e.startTransaction("aligning Center Y");var n=t.actualBounds.y+t.actualBounds.height/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,n-e.actualBounds.height/2))})),e.commitTransaction("aligning Center Y")}},R.prototype.alignColumn=function(e){var t=this.diagram;t.startTransaction("align Column"),void 0===e&&(e=0),e=parseFloat(e);var n=new Array;t.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var a=0;a<n.length-1;a++){var o=n[a],g=o.actualBounds.y+o.actualBounds.height+e;n[a+1].move(new go.Point(o.actualBounds.x,g))}t.commitTransaction("align Column")},R.prototype.alignRow=function(e){void 0===e&&(e=0),e=parseFloat(e);var t=this.diagram;t.startTransaction("align Row");var n=new Array;t.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var a=0;a<n.length-1;a++){var o=n[a],g=o.actualBounds.x+o.actualBounds.width+e;n[a+1].move(new go.Point(g,o.actualBounds.y))}t.commitTransaction("align Row")},R.prototype.canRotate=function(e){var t=this.diagram;return null!==t&&!t.isReadOnly&&!t.isModelReadOnly&&!(t.selection.count<1)},R.prototype.rotate=function(e){var t;void 0===e&&(e=90),(t=this.diagram).startTransaction("rotate "+e.toString()),(t=this.diagram).selection.each((function(t){t instanceof go.Link||t instanceof go.Group||(t.angle+=e)})),t.commitTransaction("rotate "+e.toString())},R.prototype.pullToFront=function(){var e=this.diagram;e.startTransaction("pullToFront");var t=new go.Map;e.selection.each((function(e){t.set(e.layer,0)})),t.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var t=e.zOrder;isNaN(t)?e.zOrder=0:n=Math.max(n,t)}})),t.set(e,n)})),e.selection.each((function(e){R._assignZOrder(e,t.get(e.layer)+1)})),e.commitTransaction("pullToFront")},R.prototype.pushToBack=function(){var e=this.diagram;e.startTransaction("pushToBack");var t=new go.Map;e.selection.each((function(e){t.set(e.layer,0)})),t.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var t=e.zOrder;isNaN(t)?e.zOrder=0:n=Math.min(n,t)}})),t.set(e,n)})),e.selection.each((function(e){R._assignZOrder(e,t.get(e.layer)-1-R._findGroupDepth(e))})),e.commitTransaction("pushToBack")},R._assignZOrder=function(e,t,n){void 0===n&&(n=e),e.layer===n.layer&&(e.zOrder=t),e instanceof go.Group&&e.memberParts.each((function(e){R._assignZOrder(e,t+1,n)}))},R._findGroupDepth=function(e){if(e instanceof go.Group){var t=0;return e.memberParts.each((function(e){t=Math.max(t,R._findGroupDepth(e))})),t+1}return 0},R.prototype.doKeyDown=function(){var e=this.diagram;if(null!==e){var t=e.lastInput;if("Up"===t.key||"Down"===t.key||"Left"===t.key||"Right"===t.key){var n=this.arrowKeyBehavior;if("none"===n)return;if("select"===n)return void this._arrowKeySelect();if("move"===n)return void this._arrowKeyMove();if("tree"===n)return void this._arrowKeyTree()}go.CommandHandler.prototype.doKeyDown.call(this)}},R.prototype._getAllParts=function(){var e=new Array;return this.diagram.nodes.each((function(t){e.push(t)})),this.diagram.parts.each((function(t){e.push(t)})),e},R.prototype._arrowKeyMove=function(){var e=this.diagram,t=e.lastInput,n=0,a=0;if(t.control||t.meta)n=1,a=1;else if(null!==e.grid){var o=e.grid.gridCellSize;a=o.width,n=o.height}e.startTransaction("arrowKeyMove"),e.selection.each((function(e){"Up"===t.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y-n)):"Down"===t.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y+n)):"Left"===t.key?e.move(new go.Point(e.actualBounds.x-a,e.actualBounds.y)):"Right"===t.key&&e.move(new go.Point(e.actualBounds.x+a,e.actualBounds.y))})),e.commitTransaction("arrowKeyMove")},R.prototype._arrowKeySelect=function(){var e=this.diagram,t=e.lastInput,n=null;"Up"===t.key?n=this._findNearestPartTowards(270):"Down"===t.key?n=this._findNearestPartTowards(90):"Left"===t.key?n=this._findNearestPartTowards(180):"Right"===t.key&&(n=this._findNearestPartTowards(0)),null!==n&&(t.shift?n.isSelected=!0:t.control||t.meta?n.isSelected=!n.isSelected:e.select(n))},R.prototype._findNearestPartTowards=function(e){var t=this.diagram.selection.first();if(null===t)return null;for(var n=t.actualBounds.center,a=this._getAllParts(),o=1/0,g=t,i=0;i<a.length;i++){var r=a[i];if(r!==t&&r.canSelect()){var d=r.actualBounds.center,h=n.directionPoint(d),m=this._angleCloseness(h,e);if(m<=45){var s=n.distanceSquaredPoint(d);(s*=1+Math.sin(m*Math.PI/180))<o&&(o=s,g=r)}}}return g},R.prototype._angleCloseness=function(e,t){return Math.min(Math.abs(t-e),Math.min(Math.abs(t+360-e),Math.abs(t-360-e)))},R.prototype._arrowKeyTree=function(){var e=this.diagram,t=e.selection.first();if(t instanceof go.Node){var n=e.lastInput;if("Right"===n.key)if(t.isTreeLeaf);else if(t.isTreeExpanded){null!==(o=this._sortTreeChildrenByY(t).first())&&e.select(o)}else e.commandHandler.canExpandTree(t)&&e.commandHandler.expandTree(t);else if("Left"===n.key){if(!t.isTreeLeaf&&t.isTreeExpanded)e.commandHandler.canCollapseTree(t)&&e.commandHandler.collapseTree(t);else null!==(g=t.findTreeParentNode())&&e.select(g)}else if("Up"===n.key){if(null!==(g=t.findTreeParentNode()))if((r=(i=this._sortTreeChildrenByY(g)).indexOf(t))>0){for(var a=i.elt(r-1);null!==a&&a.isTreeExpanded&&!a.isTreeLeaf;){a=this._sortTreeChildrenByY(a).last()}null!==a&&e.select(a)}else e.select(g)}else if("Down"===n.key){var o;if(t.isTreeExpanded&&!t.isTreeLeaf)null!==(o=this._sortTreeChildrenByY(t).first())&&e.select(o);else for(;null!==t;){var g,i,r;if(null===(g=t.findTreeParentNode()))break;if((r=(i=this._sortTreeChildrenByY(g)).indexOf(t))<i.length-1){e.select(i.elt(r+1));break}t=g}}var d=e.selection.first();null!==d&&e.scrollToRect(d.actualBounds)}},R.prototype._sortTreeChildrenByY=function(e){var t=(new go.List).addAll(e.findTreeChildrenNodes());return t.sort((function(e,t){var n=e.location,a=t.location;return n.y<a.y?-1:n.y>a.y?1:n.x<a.x?-1:n.x>a.x?1:0})),t},R.prototype.copyToClipboard=function(e){go.CommandHandler.prototype.copyToClipboard.call(this,e),this._lastPasteOffset.set(this.pasteOffset)},R.prototype.pasteFromClipboard=function(){var e=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(e,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),e},Object.defineProperty(R.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(e){if("move"!==e&&"select"!==e&&"scroll"!==e&&"tree"!==e&&"none"!==e)throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+e);this._arrowKeyBehavior=e}}),Object.defineProperty(R.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(e){if(!(e instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+e);this._pasteOffset.set(e)}});var Z=R,H=(n(15378),n(43604)),U=n(82710),W="myPaletteDiv___Xjz2I",V="flowChartWrp____f45r",K="maxH60___Pd4Re";var X=function(e){var t=e.onCancel,n=e.callback,a=(0,h.useRef)(),o=(0,h.useRef)(),g=(0,h.useRef)(),r=(0,h.useRef)(!1),d=(0,h.useRef)(!1),m=(0,h.useState)(0),s=i()(m,2),S=s[0],P=s[1],c=function(){var e=E()(M()().mark((function e(){var t,o;return M()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.current.makeImage(),e.next=3,(0,U.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:t.src}});case 3:o=e.sent,n({src:o.url});case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,h.useEffect)((function(){return setTimeout((function(){!function(){var e=O.bx.make,t="#ff3333",n="#3358ff",i="#25ad23",r="#d533ff",d="#7d33ff",h="#ff6233",m="#ffffff",s="#000000",S="#fffcd5",P="#d5ebff",l="#f2dfe0",c="#a5d2fa",u="#cccccc",w="#b3e6b3",p="#fcbbbd";function f(t,n){var a=function(e,n){e.handled=!0,e.diagram.model.commit((function(a){var o=n.part.adornedPart,g=(new O.E9).setRectSpot(o.actualBounds,t);g.subtract(o.location),g.scale(2,2),g.x+=130*Math.sign(g.x),g.y+=130*Math.sign(g.y),g.add(o.location),g.snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize);var i=a.copyNodeData(o.data);a.setGroupKeyForNodeData(i,a.getGroupKeyForNodeData(o.data)),a.addNodeData(i);var r={from:o.key,to:a.getKeyForNodeData(i)};a.addLinkData(r);var d=e.diagram.findNodeForData(i);d.location=g,e.diagram.select(d),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)}))};return e(O.bn,{figure:n,alignment:t,alignmentFocus:t.opposite(),width:t.equals(O.z6.Top)||t.equals(O.z6.Bottom)?25:18,height:t.equals(O.z6.Top)||t.equals(O.z6.Bottom)?18:25,fill:"orange",stroke:m,strokeWidth:4,mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="orange"},isActionable:!0,click:a,contextClick:a})}function v(t){return e(O.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:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="orange"},click:function(e,t){e.diagram.commandHandler.showContextMenu(t.part.adornedPart)}},t||{})}function L(e,t){return function(n,a){n.handled=!0,n.diagram.model.commit((function(n){n.set(a.part.adornedPart.data,e,t)}))}}function A(t,n){return n||(n="color"),e(O.bn,{width:16,height:16,stroke:"lightgray",fill:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.stroke="dodgerblue"},mouseLeave:function(e,t){return t.stroke="lightgray"},click:L(n,t),contextClick:L(n,t)})}function y(){return[e("ContextMenuButton",e(O.s_,"Horizontal",A(m,"fill"),A(S,"fill"),A(P,"fill"),A(l,"fill"))),e("ContextMenuButton",e(O.s_,"Horizontal",A(u,"fill"),A(w,"fill"),A(c,"fill"),A(p,"fill")))]}function x(){return[e("ContextMenuButton",e(O.s_,"Horizontal",A(s),A(i),A(n),A(t))),e("ContextMenuButton",e(O.s_,"Horizontal",A(m),A(r),A(d),A(h)))]}function B(t,n){return n||(n="thickness"),e(O.bn,"LineH",{width:16,height:16,strokeWidth:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:L(n,t),contextClick:L(n,t)})}function F(t,n){return n||(n="dash"),e(O.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:L(n,t),contextClick:L(n,t)})}function b(){return[e("ContextMenuButton",e(O.s_,"Horizontal",B(1),B(2),B(3),B(4))),e("ContextMenuButton",e(O.s_,"Horizontal",F(null),F([2,4]),F([4,4])))]}function G(t,n){return n||(n="figure"),e(O.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="lightgray"},click:L(n,t),contextClick:L(n,t)})}function z(t){return e(O.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(t+4).toString()+" H3"})}function N(t){var n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return 0===t?n="M0 0 M16 16 M0 8 L16 8":2===t&&(n="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),e(O.bn,{geometryString:n,margin:2,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:L("dir",t),contextClick:L("dir",t)})}function C(t){var n=function(e,n){e.handled=!0,e.diagram.model.commit((function(e){var a=n.part.adornedPart;e.set(a.data,t?"toSpot":"fromSpot",O.z6.stringify(O.z6.AllSides)),(t?a.toNode:a.fromNode).invalidateConnectedLinks()}))};return e(O.bn,{width:12,height:12,fill:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:n,contextClick:n})}function j(t,n){var a=0,o=O.z6.RightSide;t.equals(O.z6.Top)?(a=270,o=O.z6.TopSide):t.equals(O.z6.Left)?(a=180,o=O.z6.LeftSide):t.equals(O.z6.Bottom)&&(a=90,o=O.z6.BottomSide),n||(a-=180);var g=function(e,t){e.handled=!0,e.diagram.model.commit((function(e){var a=t.part.adornedPart;e.set(a.data,n?"toSpot":"fromSpot",O.z6.stringify(o)),(n?a.toNode:a.fromNode).invalidateConnectedLinks()}))};return e(O.bn,{alignment:t,alignmentFocus:t.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:a,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:g,contextClick:g})}a.current=new O.S0(o.current,{padding:20,grid:e(O.s_,"Grid",e(O.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(O.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:function(e){e.diagram.commandHandler.addTopLevelParts(e.diagram.selection,!0)||e.diagram.currentTool.doCancel()},commandHandler:e(Z),"clickCreatingTool.archetypeNodeData":{text:"未命名",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:function(e){var t=e.subject;t.location=t.location.copy().snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:function(e){e.subject,setTimeout((function(){e.diagram.commandHandler.editTextBlock()}))},LinkRelinked:function(e){e.parameter.part.invalidateConnectedLinks();var t=e.subject;e.diagram.toolManager.linkingTool.isForwards?t.toNode.invalidateConnectedLinks():t.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),a.current.nodeTemplate=e(O.NB,"Auto",{locationSpot:O.z6.Center,locationObjectName:"SHAPE",desiredSize:new O.$u(120,60),minSize:new O.$u(40,40),resizable:!0,resizeCellSize:new O.$u(10,10),rotatable:!0},new O.KX("location","loc",O.E9.parse).makeTwoWay(O.E9.stringify),new O.KX("desiredSize","size",O.$u.parse).makeTwoWay(O.$u.stringify),e(O.bn,{name:"SHAPE",fill:m,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:O.z6.AllSides,toSpot:O.z6.AllSides},new O.KX("figure"),new O.KX("fill"),new O.KX("stroke","borderColor"),new O.KX("strokeWidth","thickness"),new O.KX("strokeDashArray","dash")),e(O.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),e(O.al,{margin:1,textAlign:"center",overflow:O.al.OverflowEllipsis,editable:!0},new O.KX("text").makeTwoWay(),new O.KX("stroke","color"))),a.current.nodeTemplate.toolTip=e("ToolTip",e(O.s_,"Vertical",{maxSize:new O.$u(200,NaN)},e(O.al,{font:"bold 10pt sans-serif",textAlign:"center"},new O.KX("text")),e(O.al,{font:"10pt sans-serif",textAlign:"center"},new O.KX("text","details")))),a.current.nodeTemplate.selectionAdornmentTemplate=e(O.uz,"Spot",e(O.Vm,{padding:10}),f(O.z6.Top,"TriangleUp"),f(O.z6.Left,"TriangleLeft"),f(O.z6.Right,"TriangleRight"),f(O.z6.Bottom,"TriangleDown"),v({alignment:new O.z6(.75,0)})),a.current.nodeTemplate.contextMenu=e("ContextMenu",e("ContextMenuButton",e(O.s_,"Horizontal",G("Rectangle"),G("RoundedRectangle"),G("Ellipse"),G("Diamond"))),e("ContextMenuButton",e(O.s_,"Horizontal",G("Parallelogram2"),G("ManualOperation"),G("Procedure"),G("Cylinder1"))),e("ContextMenuButton",e(O.s_,"Horizontal",G("Terminator"),G("CreateRequest"),G("Document"),G("TriangleDown"))),y(),x(),b()),a.current.groupTemplate=e(O.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:O.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:function(e,t){t.addMembers(t.diagram.selection,!0)||t.diagram.currentTool.doCancel()},avoidable:!1},new O.KX("location","loc",O.E9.parse).makeTwoWay(O.E9.stringify),e(O.s_,"Auto",{name:"BODY"},e(O.bn,{parameter1:10,fill:m,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:O.z6.AllSides,toSpot:O.z6.AllSides},new O.KX("fill"),new O.KX("stroke","color"),new O.KX("strokeWidth","thickness"),new O.KX("strokeDashArray","dash")),e(O.Vm,{background:"transparent",margin:20})),e(O.al,{alignment:O.z6.Top,alignmentFocus:O.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new O.KX("text"),new O.KX("stroke","color"))),a.current.groupTemplate.selectionAdornmentTemplate=e(O.uz,"Spot",e(O.s_,"Auto",e(O.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),e(O.Vm,{margin:1.5})),v({alignment:O.z6.TopRight,alignmentFocus:O.z6.BottomRight})),a.current.groupTemplate.contextMenu=e("ContextMenu",y(),x(),b()),a.current.linkTemplate=e(O.rU,{layerName:"Foreground",routing:O.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new O.KX("fromSpot","fromSpot",O.z6.parse),new O.KX("toSpot","toSpot",O.z6.parse),new O.KX("fromShortLength","dir",(function(e){return e>=1?10:0})),new O.KX("toShortLength","dir",(function(e){return e>=1?10:0})),new O.KX("points").makeTwoWay(),e(O.bn,{strokeWidth:2},new O.KX("stroke","color"),new O.KX("strokeWidth","thickness"),new O.KX("strokeDashArray","dash")),e(O.bn,{segmentIndex:0,segmentOffset:new O.E9(15,0),segmentOrientation:O.rU.OrientAlong,alignmentFocus:O.z6.Right,figure:"circle",width:10,strokeWidth:0},new O.KX("fill","color"),new O.KX("visible","dir",(function(e){return 1===e}))),e(O.bn,{segmentIndex:-1,segmentOffset:new O.E9(-10,6),segmentOrientation:O.rU.OrientPlus90,alignmentFocus:O.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new O.KX("fill","color"),new O.KX("visible","dir",(function(e){return e>=1})),new O.KX("width","thickness",(function(e){return 7+3*e})),new O.KX("height","thickness",(function(e){return 7+3*e})),new O.KX("segmentOffset","thickness",(function(e){return new O.E9(-15,4+1.5*e)}))),e(O.bn,{segmentIndex:0,segmentOffset:new O.E9(15,-6),segmentOrientation:O.rU.OrientMinus90,alignmentFocus:O.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new O.KX("fill","color"),new O.KX("visible","dir",(function(e){return 2===e})),new O.KX("width","thickness",(function(e){return 7+3*e})),new O.KX("height","thickness",(function(e){return 7+3*e})),new O.KX("segmentOffset","thickness",(function(e){return new O.E9(-15,4+1.5*e)}))),e(O.al,{alignmentFocus:new O.z6(0,1,-4,0),editable:!0},new O.KX("text").makeTwoWay(),new O.KX("stroke","color"))),a.current.linkTemplate.selectionAdornmentTemplate=e(O.uz,e(O.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:z(2)},new O.KX("pathPattern","thickness",z)),v({alignmentFocus:new O.z6(0,0,-6,-4)})),a.current.linkTemplate.contextMenu=e("ContextMenu",x(),b(),e("ContextMenuButton",e(O.s_,"Horizontal",N(0),N(1),N(2))),e("ContextMenuButton",e(O.s_,"Horizontal",e(O.s_,"Spot",C(!1),j(O.z6.Top,!1),j(O.z6.Left,!1),j(O.z6.Right,!1),j(O.z6.Bottom,!1)),e(O.s_,"Spot",{margin:new O.Zt(0,0,0,2)},C(!0),j(O.z6.Top,!0),j(O.z6.Left,!0),j(O.z6.Right,!0),j(O.z6.Bottom,!0)))));var k=new O.YI(g.current,{maxSelectionCount:1,linkTemplate:e(O.rU,{locationSpot:O.z6.Center,selectionAdornmentTemplate:e(O.uz,"Link",{locationSpot:O.z6.Center},e(O.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),e(O.bn,{toArrow:"Standard",stroke:null}))},{routing:O.rU.AvoidsNodes,curve:O.rU.JumpOver,corner:5,toShortLength:4},new O.KX("points"),e(O.bn,{isPanelMain:!0,strokeWidth:2}),e(O.bn,{toArrow:"Standard",stroke:null})),model:new O.FJ([{text:"未命名",size:"100 100",fill:null,stroke:"#000"}].concat(I()(O.bn.getFigureGenerators().toArray().map((function(e){return{text:"未命名",size:"100 100",figure:e.key,fill:"white",stroke:"#666",borderColor:"#000"}})))))});a.current.addDiagramListener("TextEdited",(function(e){var t,n=e.subject.part,o=null===(t=document.activeElement)||void 0===t?void 0:t.value;"string"==typeof o&&""===o.trim()&&a.current.model.commit((function(e){e.set(n.data,"text","未命名"),a.current.commandHandler.stopCommand()}),"increment")})),k.nodeTemplate=e(O.NB,"Auto",{locationSpot:O.z6.Center},new O.KX("location","location",O.E9.parse).makeTwoWay(O.E9.stringify),e(O.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 O.KX("stroke").makeTwoWay(),new O.KX("fill").makeTwoWay(),new O.KX("figure")),e(O.al,{margin:new O.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new O.$u(16,16),maxSize:new O.$u(10,NaN),textAlign:"center",editable:!0},new O.KX("key").makeTwoWay())),setTimeout((function(){a.current.grid=e(O.s_,"Grid",e(O.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(O.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),a.current.grid.visible=!0,a.current.grid.gridCellStroke="darkgray",a.current.grid.gridCellStrokeWidth=1}),300),window.myDiagrams=a.current,a.current}()}),500),P(S+1),function(){a.current=null}}),[]),(0,l.jsx)("div",{ref:d,className:r.current?"".concat(K," body-overflow-initial"):"body-overflow-initial",children:(0,l.jsx)(z.Z,{width:1200,icon:null,footer:null,closable:!0,visible:!!S,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:(0,l.jsxs)(N.Z,{children:[(0,l.jsx)(H.Z,{flex:1,children:"插入流程图"}),(0,l.jsx)(H.Z,{onClick:function(){var e=a.current.selection.first();if(r.current=!r.current,document.activeElement&&e){var t,n=null===(t=document.activeElement)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.trim();"string"==typeof n&&a.current.model.commit((function(t){t.set(e.data,"text",n||"未命名"),a.current.commandHandler.stopCommand()}),"increment")}P(S+1)},children:(0,l.jsx)("span",{className:"current c-blue mr30",style:{fontWeight:400},children:"展开/收起"})})]}),onCancel:t,children:(0,l.jsxs)("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:V,children:[(0,l.jsxs)("div",{style:{display:"flex",height:"100%"},children:[(0,l.jsxs)("div",{style:{width:"300px",height:"100%"},children:[(0,l.jsx)("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"},children:"图形库"}),(0,l.jsx)("div",{style:{height:"calc(100% - 50px)"},className:W,ref:g})]}),(0,l.jsx)("div",{style:{flex:1,position:"relative"},children:(0,l.jsx)("div",{ref:o,style:{height:"80vh"}})})]}),(0,l.jsx)("div",{className:"tr",children:(0,l.jsx)(x.ZP,{size:"large",onClick:c,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary",children:"保存到编辑器"})})]})})})},_=n(5112),Q=n(88897),q=_.ZP.Group,Y={margin:"0 8px"},J=function(e){var t=e.callback,n=e.onCancel;return(0,l.jsxs)(A.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){t(e)},children:[(0,l.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,l.jsx)("span",{style:Y,children:"单元格数:"}),(0,l.jsx)("span",{style:Y,children:"行数"}),(0,l.jsx)(A.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,l.jsx)(Q.Z,{})}),(0,l.jsx)("span",{style:Y,children:"列数"}),(0,l.jsx)(A.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,l.jsx)(Q.Z,{})})]}),(0,l.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,l.jsx)("span",{style:Y,children:"对齐方式:"}),(0,l.jsx)(A.Z.Item,{name:"align",children:(0,l.jsxs)(q,{children:[(0,l.jsx)(_.ZP,{value:"default",children:(0,l.jsx)("i",{className:"fa fa-align-justify"})}),(0,l.jsx)(_.ZP,{value:"left",children:(0,l.jsx)("i",{className:"fa fa-align-left"})}),(0,l.jsx)(_.ZP,{value:"center",children:(0,l.jsx)("i",{className:"fa fa-align-center"})}),(0,l.jsx)(_.ZP,{value:"right",children:(0,l.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,l.jsxs)("div",{className:"flex-container flex-end",children:[(0,l.jsx)(x.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,l.jsx)(x.ZP,{type:"ghost",onClick:n,children:"取消"})]})]})},$=n(78673),ee=n(47503),te=n.n(ee),ne=(0,h.forwardRef)((function(e,t){var n=e.use3d,a=e.width,o=e.height,g=e.callback,r=(e.showSaveButton,(0,h.useRef)()),d=(0,h.useRef)(),m=(0,h.useState)(!1),s=i()(m,2),S=s[0],P=s[1],c=(0,h.useRef)({id:r,appName:"graphing",width:a||1e3,height:o||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,h.useEffect)((function(){d.current=new(te())(c.current,!0),window.onload=function(){d.current.inject("applet_container")}}),[]);var u=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return g&&g(e),e};return(0,h.useEffect)((function(){c.current.appName=S?"3D":"graphing",d.current.inject("applet_container")}),[S]),(0,h.useEffect)((function(){P(n)}),[n]),(0,h.useImperativeHandle)(t,(function(){return{getImgData:u}})),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:r}),(0,l.jsxs)(N.Z,{align:"middle",children:[(0,l.jsx)(H.Z,{flex:1,children:(0,l.jsx)($.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:S,onChange:function(e){return P(e)}})}),(0,l.jsx)(H.Z,{children:(0,l.jsx)(x.ZP,{size:"large",onClick:u,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),ae=n(46246),oe=n(8591),ge="link",ie="upload-image",re="add-flowchart",de="draw-image",he="code-block",me="add-table",se="------------",Se={default:se,left:":".concat(se),center:":".concat(se,":"),right:"".concat(se,":")},Pe=n(4027);var le="@▁▁@",ce=["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 ue(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var we=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",pe=d()(d()({},we+"-B","bold"),we+"-I","italic"),fe=d()(d()(d()(d()(d()(d()(d()(d()({},ge,"添加链接"),he,"添加代码块"),ie,"添加图片"),de,"添加画图"),re,"插入流程图"),me,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),ve=function(e){var t=e.defaultValue,n=void 0===t?"":t,a=e.onChange,g=e.width,r=void 0===g?"100%":g,m=e.height,u=void 0===m?400:m,w=e.miniToolbar,p=void 0!==w&&w,f=e.isFocus,A=void 0!==f&&f,y=e.watch,x=e.insertTemp,B=e.mode,N=void 0===B?"markdown":B,C=e.id,k=void 0===C?"markdown-editor-id":C,M=e.showResizeBar,T=void 0!==M&&M,E=e.noStorage,D=void 0!==E&&E,I=e.showNullButton,O=void 0!==I&&I,R=e.showNullProgramButton,Z=void 0!==R&&R,H=e.hidetoolBar,U=void 0!==H&&H,W=e.fullScreen,V=void 0!==W&&W,K=e.onBlur,_=e.onCMBeforeChange,Q=e.onFullScreen,q=e.className,Y=void 0===q?"":q,$=e.disablePaste,ee=void 0!==$&&$,te=e.disabled,se=void 0!==te&&te,we=e.disabledFill,ve=void 0!==we&&we,Le=e.placeholder,Ae=void 0===Le?"":Le,ye=e.values,xe=void 0===ye?"":ye,Be=e.extraUse,Fe=(0,h.useState)(null),be=i()(Fe,2),Ge=be[0],ze=be[1],Ne=(0,h.useState)(n),Ce=i()(Ne,2),je=Ce[0],ke=Ce[1],Me=(0,h.useState)(y),Te=i()(Me,2),Ee=Te[0],De=Te[1],Ie=(0,h.useState)(V),Oe=i()(Ie,2),Re=Oe[0],Ze=Oe[1],He=(0,h.useState)(""),Ue=i()(He,2),We=Ue[0],Ve=Ue[1],Ke=(0,h.useState)(0),Xe=i()(Ke,2),_e=Xe[0],Qe=Xe[1],qe=(0,h.useState)(u),Ye=i()(qe,2),Je=Ye[0],$e=Ye[1],et=(0,h.useState)(!1),tt=i()(et,2),nt=(tt[0],tt[1]),at=(0,h.useState)(0),ot=i()(at,2),gt=ot[0],it=ot[1],rt=(0,h.useState)(0),dt=i()(rt,2),ht=dt[0],mt=dt[1],st=(0,h.useRef)(),St=(0,h.useRef)(),Pt=(0,h.useRef)(),lt=(0,h.useRef)();(0,h.useEffect)((function(){var e=window.scrollY||window.pageYOffset;ke(xe),null==Ge||Ge.setValue(xe),window.scrollTo(0,e)}),[xe]),(0,h.useEffect)((function(){null==Q||Q(Re)}),[Re]),(0,h.useEffect)((function(){if(st.current){var e=function(e,n){if(!ee){var a=n.clipboardData;if(a){var o=a.types.toString(),g=a.items;if("Files"===o||a.types.indexOf("Files")>-1){if(n.preventDefault(),"stex"==N)return;try{var i,r=g[1];"file"===(null===(i=g[0])||void 0===i?void 0:i.kind)&&(r=g[0]);var d=r.getAsFile(),h=d.name.split(".").pop();(0,G.I)(d,(function(e){var n,a,o;e.id?(null==d||null===(n=d.type)||void 0===n?void 0:n.indexOf("image"))>-1?t.replaceSelection(".concat(e.content_type,")")):(null==d||null===(a=d.type)||void 0===a?void 0:a.indexOf("video"))>-1?t.replaceSelection('<video width="100%" controls src="/api/attachments/'.concat(e.id,'"></video>')):(null==d||null===(o=d.type)||void 0===o?void 0:o.indexOf("pdf"))>-1?t.replaceSelection('<a href="/api/attachments/'.concat(e.id,"?type=").concat(d.type,'&disposition=inline" target="_blank">').concat(d.name,"</a>")):ce.includes(h)?t.replaceSelection('<a href="/api/attachments/'.concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(d.name,"</a>")):t.replaceSelection("[".concat(d.name,"](/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}))}catch(n){oe.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}n.preventDefault()},t=s().fromTextArea(st.current,{mode:N,lineNumbers:!p,lineWrapping:!0,value:n,autoCloseTags:!0,autoCloseBrackets:!0});return t.on("keyup",(function(e,n){8===n.keyCode&&(""==e.getValue()?t.setOption("placeholder",Ae):t.setOption("placeholder",null))})),t.on("keydown",(function(e,t){if(8===t.keyCode){var n=function(e,t){var n=e.getDoc(),a=n.getCursor(),o=n.getLine(a.line),g=o.charAt(a.ch-1),i=o.lastIndexOf("@▁@",a.ch),r=o.lastIndexOf("@▁▁@",a.ch),d=i>r?i:r,h=i>r?3:4;if(-1===le.indexOf(g))return null;if(console.log("change1:",t,e,o,a,d,i,r,g),d>=0&&a.ch-d<5){var m=d+h;return n.replaceRange("",{line:a.line,ch:d},{line:a.line,ch:m}),{line:a.line,ch:m}}return null}(e);n&&t.preventDefault()}})),A&&t.focus(),t.on("paste",e),se&&t.on("beforeChange",(function(e,t){"paste"!==t.origin&&"+input"!==t.origin||t.cancel()})),ze(t),function(){t.off("paste",e)}}}),[]);var ct=(0,h.useCallback)((function(){St.current}),[Je,St,Re]);(0,h.useEffect)((function(){if(Ge){var e=function(){var e=new S.Z((function(e){var t,n=o()(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;(a.target.offsetHeight>0||a.target.offsetWidth>0)&&(ct(),Ge.setSize("100%","100%"),Ge.refresh())}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(st.current.parentElement),e}();return function(){var t,n;null!==(t=st.current)&&void 0!==t&&t.parentElement&&e.unobserve(null===(n=st.current)||void 0===n?void 0:n.parentElement)}}}),[Ge,ct]),(0,h.useEffect)((function(){if(Ge){for(var e=[],t=function(){var t=i()(a[n],2),o=t[0],g=t[1],r=d()({},o,(function(){ut(g)}));e.push(r),Ge.addKeyMap(r)},n=0,a=Object.entries(pe);n<a.length;n++)t();return function(){for(var t=0,n=e;t<n.length;t++){var a=n[t];Ge.removeKeyMap(a)}}}}),[Ge]),(0,h.useEffect)((function(){V!==Re&&Ze(V)}),[V]),(0,Pe.Z)((function(){if(!D&&_e>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(k);e>=_e+1e4&&(!t||t!==je)&&(window.sessionStorage.setItem(k,je),nt(!0))}}),1e4),(0,h.useEffect)((function(){De(y)}),[Ge,y]),(0,h.useEffect)((function(){Ge&&A&&Ge.focus()}),[Ge,A]),(0,h.useEffect)((function(){if(Ee&&Ge){var e=function(e){var t=e.target;if(lt.current){var n=t.scrollTop/t.scrollHeight;lt.current.scrollTop=lt.current.scrollHeight*n}},t=Ge.getScrollerElement();return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}}),[Ge,Ee]),(0,h.useEffect)((function(){if(Ge&&_){var e=function(e,t){_(e,t)};return Ge.on("beforeChange",e),function(){Ge.off("beforeChange",e)}}}),[Ge,_]),(0,h.useEffect)((function(){if(Ge&&K){var e=function(){K(Ge.getValue())};return Ge.on("blur",e),function(){Ge.off("blur",e)}}}),[Ge,K]),(0,h.useEffect)((function(){if(Ge){var e=function(e,t){var n=e.getValue();ke(n),Qe((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),a&&(Z?a(n,Lt(n)):a(n))};return Ge.on("change",e),function(){Ge.off("change",e)}}}),[Ge,a]),(0,h.useEffect)((function(){if(Ge)if(null==n)Ge.setValue(""),ke("");else{var e=window.scrollY||window.pageYOffset;n!==Ge.getValue()&&(Ge.setValue(n),ke(n),Ge.setCursor(se?1:Ge.lineCount(),0),window.scrollTo(0,e))}}),[Ge,n]);var ut=(0,h.useCallback)((function(e){var t=Ge.getCursor(),n=Ge.getSelection(),a=n.split("\n");switch(e){case"bold":return Ge.replaceSelection("**"+n+"**"),""===n&&Ge.setCursor(t.line,t.ch+2),Ge.focus();case"italic":return Ge.replaceSelection("*"+n+"*"),""===n&&Ge.setCursor(t.line,t.ch+1),Ge.focus();case"code":return Ge.replaceSelection("`"+n+"`"),""===n&&Ge.setCursor(t.line,t.ch+1),Ge.focus();case"inline-latex":return Ve("inline-latex"),Ge.focus();case"latex":return Ge.replaceSelection("```latex\n"+n+"\n```"),Ge.setCursor(t.line+1,n.length+1),Ge.focus();case"line-break":return Ge.replaceSelection("<br/>\n"),Ge.focus();case"list-ul":return""===n?Ge.replaceSelection("- "+n):Ge.replaceSelection(a.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Ge.focus();case"list-ol":return""===n?Ge.replaceSelection("1. "+n):Ge.replaceSelection(a.map((function(e,t){return""===e?"":"".concat(t+1,". ").concat(e)})).join("\n")),Ge.focus();case"add-null-ch":return""===n&&Ge.setCursor(t.line,t.ch),Ge.replaceSelection("▁"),Ge.focus();case"add-signal":return""===n&&Ge.setCursor(t.line,t.ch),Ge.replaceSelection("@▁@"),Ge.focus();case"add-multiple":return""===n&&Ge.setCursor(t.line,t.ch),Ge.replaceSelection(le),Ge.focus();case"inster-template-1":return""===n&&Ge.setCursor(t.line,t.ch),Ge.replaceSelection("\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作"),Ge.focus();case"eraser":return Ge.setValue(""),Ge.focus();case"trigger-watch":return De(!Ee),Ge.focus();case"trigger-full-screen":return Ze(!Re),Ge.focus();case ge:return void Ve(ge);case he:return void Ve(he);case ie:return void Ve(ie);case de:return void Ve(de);case"maths-latex":return void Ve("maths-latex");case re:return void Ve(re);case me:return void Ve(me);default:throw new Error}}),[Ge,Ee,Re]),wt=(0,h.useCallback)((function(e,t){var n,a,o,g,i;switch(Ve(""),We){case ge:var r=e.title,d=e.link;return Ge.replaceSelection("[".concat(r,"](").concat(d,")")),Ge.focus();case he:var h=e.language,m=e.content;return Ge.replaceSelection(["```"+h,m,"```"].join("\n")),Ge.focus();case"maths-latex":for(var s=atob(e),S=new Uint8Array(s.length),P=0;P<s.length;P++)S[P]=s.charCodeAt(P);var l=new Blob([S],{type:"image/png"});(0,G.I)(l,(function(e){e.id?Ge.replaceSelection(".concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":Ge.replaceSelection("`$$"+e+"$$`");break;case ie:case de:case"add-flowchart":var c=e.src,u=e.alt,w=t,p=null==w||null===(n=w.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(a=n.pop)||void 0===a?void 0:a.call(n);return(null==w||null===(o=w.type)||void 0===o?void 0:o.indexOf("image"))>-1||null==w||!w.type?u?Ge.replaceSelection(".concat(c,' "').concat(u,'" )')):Ge.replaceSelection("")):(null==w||null===(g=w.type)||void 0===g?void 0:g.indexOf("video"))>-1?Ge.replaceSelection('<video width="100%" controls src="'.concat(c,'"></video>')):(null==w||null===(i=w.type)||void 0===i?void 0:i.indexOf("pdf"))>-1?Ge.replaceSelection('<a href="'.concat(c,"?type=").concat(w.type,'&disposition=inline" target="_blank">').concat(w.name,"</a>")):ce.includes(p)?Ge.replaceSelection('<a href="'.concat(c,'?type=office&disposition=inline" target="_blank">').concat(w.name,"</a>")):Ge.replaceSelection("[".concat(w.name,"](").concat(c,")")),Ge.focus();case me:for(var f=e.row,v=e.col,L=e.align,A="\n",y=0;y<f;y++){for(var x=[],B=[],F=0;F<v;F++)1===y&&B.push(Se[L]),x.push(" ");1===y&&(A+="| ".concat(B.join(" | ")," |\n")),A+="| ".concat(x.join(1===v?"":" | ")," |\n")}return Ge.replaceSelection(A+"\n"),Ge.focus();default:throw new Error}}),[Ge,We]),pt=(0,h.useMemo)((function(){switch(We){case ge:return(0,l.jsx)(F,{callback:wt,onCancel:ft});case he:return(0,l.jsx)(b.Z,{callback:wt,onCancel:ft});case ie:return(0,l.jsx)(G.Z,{callback:wt,onCancel:ft});case re:return(0,l.jsx)(X,{callback:wt,onCancel:ft});case me:return(0,l.jsx)(J,{callback:wt,onCancel:ft});case"maths-latex":return(0,l.jsx)(ne,{showSaveButton:!0,callback:wt});case"inline-latex":return(0,l.jsx)(ae.Z,{showSaveButton:!0,callback:wt});default:return null}}),[We]);function ft(){Ve("")}(0,h.useEffect)((function(){if(Pt.current){var e=function(e){o=!0,g=e.pageY},t=function(){o=!1},n=function(e){if(o){var t=e.pageY-g;t<0&&(t=0),t>300&&(t=300),$e(u+t+"px")}},a=Pt.current,o=!1,g=0;return a.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),function(){a.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)}}}),[Ge,Pt]),(0,h.useEffect)((function(){$e(u)}),[u]);var vt={width:ue(r),height:ue(Je)},Lt=((0,h.useMemo)((function(){if(_e){var e=new Date(_e),t=e.getHours(),n=e.getMinutes(),a=e.getSeconds();return n=n<10?"0"+n:n,a=a<10?"0"+a:a,"".concat(t=t<10?"0"+t:t,":").concat(n,":").concat(a)}return 0}),[_e]),function(e){var t=[];if(Z){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,n,a){t.push({multiLine:!("@▁@"===e)})}))}return t});(0,h.useEffect)((function(){fe[We]&&We!==de&&We!==re&&setTimeout((function(){var e=document.getElementsByClassName("markdown-popup-form")[0],t=window.innerWidth/2-e.offsetWidth/2,n=window.innerHeight/2-e.offsetHeight/2;it(t),mt(n)}),0)}),[We]);var At=function(e,t,n,a){var o=document.body.clientHeight,g=document.body.clientWidth;return!(e<20&&n>e||e>g-20&&n<e||t<20&&a>t||t>o-20&&a<t)||(document.body.onmousemove=null,document.body.onmouseup=null,!1)};return(0,l.jsxs)(h.Fragment,{children:[(0,l.jsx)("div",{className:"markdown-editor-wrapper",ref:St,children:(0,l.jsxs)("div",{className:"markdown-editor-container ".concat(Y," ").concat(Ee?"on-preview":""," ").concat(p?"mini":""," ").concat(Re?"full-screen":""),style:vt,children:[(0,l.jsx)(v,{insertTemp:x,watch:Ee,fullScreen:Re,showNullButton:O,showNullProgramButton:Z,onActionCallback:ut,hidetoolBar:U,extraUse:Be}),(0,l.jsxs)("div",{className:"markdown-editor-body",children:[(0,l.jsx)("div",{className:"codemirror-container",children:(0,l.jsx)("textarea",{ref:st,placeholder:Ae})}),Ee?(0,l.jsxs)("div",{ref:lt,className:"preview-container",children:["stex"===N&&(0,l.jsx)(c,{value:je}),"stex"!==N&&(0,l.jsx)(P.Z,{disabledFill:ve,showProgramFill:Z,value:je})]}):null]})]})}),T?(0,l.jsx)("a",{ref:Pt,className:"editor-resize"}):null,We===de&&(0,l.jsx)(j,{callback:wt,onCancel:ft}),We===re&&(0,l.jsx)(X,{callback:wt,onCancel:ft}),(0,l.jsx)(L.Z,{children:fe[We]&&We!==de&&We!==re?(0,l.jsx)(z.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:gt,top:ht},title:(0,l.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var t=e.clientX-gt,n=e.clientY-ht;document.body.onmousemove=function(e){var a=e.clientX-t,o=e.clientY-n,g=document.getElementsByClassName("markdown-popup-form")[0],i=window.innerWidth-g.offsetWidth,r=window.innerHeight-g.offsetHeight;a=Math.max(0,Math.min(a,i)),o=Math.max(0,Math.min(o,r)),At(e.clientX,e.clientY,t,n)&&(it(a),mt(o))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:fe[We]}),open:!0,onCancel:ft,footer:null,destroyOnClose:!0,width:We===re?"1200px":null,height:We===re?"80vh":null,className:"markdown-popup-form",children:pt}):null})]})}},48347:function(e,t,n){"use strict";n.d(t,{Z:function(){return w},I:function(){return f}});var a=n(82242),o=n.n(a),g=n(79800),i=n.n(g),r=n(78241),d=n(8591),h=n(92832),m=n(3113),s=n(37318),S=n(59301),P=n(37712),l=r.Z.useForm,c={width:280,marginRight:10},u={labelCol:{span:5},wrapperCol:{span:19}},w=function(e){var t=e.callback,n=e.onCancel,a=l(),g=i()(a,1)[0],s=(0,S.useRef)();function w(e,t){-1!==e.status?g.setFieldsValue({src:"/api/attachments/".concat(e.id),type:t.type}):d.ZP.error(e.message)}return(0,P.jsxs)(r.Z,o()(o()({form:g},u),{},{className:"upload-image-panel",onFinish:function(e){t(e,s.current)},style:{width:470,overflow:"hidden"},children:[(0,P.jsx)(r.Z.Item,{label:"图片地址",required:!0,children:(0,P.jsxs)("div",{className:"flex-container",children:[(0,P.jsx)(r.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,P.jsx)(h.Z,{style:c})}),(0,P.jsx)(p,{onFileChange:function(e){var t=e.target.files[0];s.current=t,f(t,w)}})]})}),(0,P.jsx)(r.Z.Item,{label:"图片描述",name:"alt",children:(0,P.jsx)(h.Z,{style:{width:264}})}),(0,P.jsxs)(r.Z.Item,{style:{textAlign:"right"},children:[(0,P.jsx)(m.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,P.jsx)(m.ZP,{type:"default",onClick:n,children:"取消"})]})]}))};function p(e){var t=e.onFileChange;return(0,P.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,P.jsx)("input",{type:"file",onChange:t})]})}function f(e,t){if(!e)throw new String("没有文件");var n=new FormData;n.append("editormd-image-file",e),n.append("file_param_name","editormd-image-file"),n.append("byxhr","true");var a=new window.XMLHttpRequest;a.withCredentials=!0,a.addEventListener("load",(function(n){t(JSON.parse(n.target.responseText),e)}),!1),a.addEventListener("error",(function(e){console.error(e)}),!1),a.open("POST","".concat(s.KI,"/api/attachments.json")),a.send(n)}},32552:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var a=n(82100),o=n.n(a),g=n(29186),i=n.n(g),r=n(80619),d=n.n(r),h=n(47074),m=n.n(h),s=n(59301),S=n(4676),P=function(e){d()(n,e);var t=m()(n);function n(e){var a;o()(this,n),a=t.call(this,e);var g=window.document;return a.node=g.createElement("div"),g.body.appendChild(a.node),a}return i()(n,[{key:"render",value:function(){var e=this.props.children;return(0,S.createPortal)(e,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),n}(s.Component)},48999:function(e,t,n){"use strict";n.d(t,{jL:function(){return d},w9:function(){return Le},QD:function(){return tt},cQ:function(){return fe},op:function(){return _e},O5:function(){return mt},_b:function(){return it},t7:function(){return T},Gi:function(){return Be},YG:function(){return xe},qp:function(){return x},vr:function(){return at},qE:function(){return Ye},Je:function(){return I},wb:function(){return ge},cq:function(){return Ee},tp:function(){return b}});var a=n(59301),o="banner___PoUBO",g="content___XoDjy",i="btns___Pb35j",r=n(37712),d=function(e){var t=e.dataSource,n=void 0===t?[]:t,a=e.img,d=e.imgWidth,h=void 0===d?346:d,m=e.title,s=e.sunTitle,S=e.bannerExtraContent;return(0,r.jsx)("div",{className:o,children:(0,r.jsxs)("div",{className:g,children:[(0,r.jsxs)("aside",{children:[(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:m}),(0,r.jsx)("span",{children:s})]}),n.length>0&&(0,r.jsx)("div",{className:i,children:n.map((function(e,t){return(0,r.jsxs)("div",{onClick:e.click,children:[e.name,e.sign?(0,r.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZX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49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",width:39}):null]},t)}))}),S]}),a&&(0,r.jsx)("img",{style:{marginTop:33,marginRight:38},src:a,width:h})]})})},h=n(79800),m=n.n(h),s="row___aXJjm",S="title___HUKL0",P="tagsWrap___XB2W3",l="action___VdHb1",c="bar___t1kKC",u="tag___V7Eft",w="name___Hk1Ip",p="num___xQpcH",f="active___XryTX",v="tagsBorderWrap___OMxjs",L=n(92310),A=n.n(L),y=n(89392),x=function(e){var t=e.dataSource,n=void 0===t?[]:t,o=e.value,g=e.onChange,i=e.onTitleChange,d=e.className,h=e.title,L=e.titleWidth,x=void 0===L?41:L,B=e.style,F=void 0===B?{}:B,b=e.fontColor,G=void 0===b?"#6A7283":b,z=e.showCount,N=(0,a.useState)(0),C=m()(N,2),j=C[0],k=C[1],M=(0,a.useState)(!1),T=m()(M,2),E=T[0],D=T[1],I=(0,a.useRef)(null),O=(0,a.useRef)(null);return(0,a.useEffect)((function(){var e;0!==n.length&&((null==I||null===(e=I.current)||void 0===e?void 0:e.clientHeight)>97?k(1):k(0));0===n.length&&k(0),D(!1)}),[n]),(0,r.jsxs)("div",{className:A()(s,d),style:F,children:[(0,r.jsx)("div",{onClick:(0,y.throttle)((function(){return null==i?void 0:i()}),2e3),style:{width:x,marginTop:E?12:4},className:"".concat(S," ").concat(i?"current":""),children:h}),(0,r.jsxs)("div",{className:E?"".concat(P," ").concat(v):P,children:[(0,r.jsx)("div",{className:c,ref:O,style:j>0?{height:1===j?97:"auto",overflow:1===j?"hidden":"auto",paddingRight:55}:{paddingRight:0},children:(0,r.jsx)("div",{className:u,ref:I,children:null==n?void 0:n.map((function(e){return(0,r.jsxs)("span",{onClick:function(){return g(e.id)},style:{color:G},className:o===e.id?f:"",children:[(0,r.jsx)("span",{title:e.name,className:w,children:e.name}),!!z&&(0,r.jsx)("span",{className:p,children:e.count})]},e.id)}))})}),!!j&&(0,r.jsx)(a.Fragment,{children:1===j?(0,r.jsxs)("div",{onClick:function(){var e;k(2),(null==I||null===(e=I.current)||void 0===e?void 0:e.clientHeight)>245?D(!0):D(!1)},className:l,children:["展开",(0,r.jsx)("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})]}):(0,r.jsxs)("div",{onClick:function(){O.current.scrollTop=0,k(1),D(!1)},className:l,children:["收起",(0,r.jsx)("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})]})})]})]})},B="tabs___GTqPV",F="active___F26E8",b=function(e){var t=e.dataSource,n=void 0===t?[]:t,a=e.value,o=e.onChange,g=e.className,i=e.style,d=void 0===i?{}:i;return(0,r.jsx)("div",{style:d,className:A()(B,g),children:n.map((function(e){return(0,r.jsx)("span",{onClick:function(){return o(e.id)},className:a===e.id?F:"",children:e.name},e.id)}))})},G="input___PW2zI",z="dropdown___vSy8B",N="menu___NiyBu",C="text___Grueu",j="b1___ZKryM",k="b2___aKyGa",M=n(92832),T=function(e){var t,n=e.dataSource,o=void 0===n?[]:n,g=e.value,i=void 0===g?"":g,d=e.onChange,h=e.onInputChange,s=void 0===h?function(){}:h,S=e.className,P=e.style,l=void 0===P?{}:P,c=e.placeholder,u=(e.allowClear,(0,a.useState)("")),w=m()(u,2),p=w[0],f=w[1],v=(0,a.useState)(""),L=m()(v,2),y=L[0],x=L[1];(0,a.useEffect)((function(){var e,t=i;null!==(e=JSON.stringify(i))&&void 0!==e&&e.includes("{")&&(f(i.id),t=i.value||"");try{x(decodeURIComponent(t||""))}catch(e){x(decodeURIComponent(t||""))}}),[i]);var B=function(){d(encodeURIComponent(y),p||null)};return(0,r.jsxs)("div",{className:A()(G,S),style:l,children:[!!o.length&&(0,r.jsxs)("div",{className:z,children:[(0,r.jsxs)("div",{className:C,children:[null===(t=o.find((function(e){return e.id===p})))||void 0===t?void 0:t.name,(0,r.jsx)("i",{className:"iconfont icon-zhankai4"}),(0,r.jsx)("b",{className:j}),(0,r.jsx)("b",{className:k})]}),(0,r.jsx)("div",{className:N,children:o.map((function(e,t){return(0,r.jsx)("div",{onClick:function(){var t;(t=e.id)!==p&&(f(t),d(encodeURIComponent(y),t))},children:e.name},t)}))})]}),(0,r.jsx)(M.Z,{onPressEnter:B,value:y,onChange:function(e){x(e.target.value),s(encodeURIComponent(e.target.value),p||null)},bordered:!1,placeholder:c}),(0,r.jsx)("i",{onClick:B,className:"iconfont icon-sousuo9 font14 pl10 current"})]})},E="quickPager___GM30J",D="disabled___Ozc8I",I=function(e){var t=e.value,n=e.onChange,a=e.className,o=e.total,g=e.pageSize,i=e.style,d=void 0===i?{}:i,h=t<2,m=t>=Math.ceil(o/g);return o<=g?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)("div",{className:A()(E,a),style:d,children:[(0,r.jsx)("div",{onClick:function(){h||n(t-1,"prev")},className:h?D:"",children:"上一页"}),(0,r.jsx)("div",{onClick:function(){m||n(t+1,"next")},className:m?D:"",children:"下一页"})]})},O="list___oOsiS",R="wrap___G6T7F",Z="lockWrap___Rl79E",H="li___oZZ7l",U="cover___b2bYW",W="img___IQX7w",V="sign___HkT6C",K="name___SsJx8",X="e___TMqq0",_="tags___bcjyo",Q="rate___YACg7",q=n(71418),Y=n(6848),J=n(39978),$=n(69423),ee=n(95972),te=n(96908),ne=n(57177),ae=n(81378),oe=n(63017),ge=function(e){var t=e.className,n=e.dataSource,a=void 0===n?[]:n,o=e.col,g=void 0===o?4:o,i=e.right,d=e.bottom,h=void 0===d?23:d,m=e.precision,s=void 0===m?0:m,S=e.wrapWidth,P=void 0===S?1200:S,l=e.trackEventItems,c=e.loading,u=Math.floor((P-(g-1)*i)/g);return(0,r.jsx)(q.Z,{spinning:c,children:(0,r.jsxs)("div",{className:A()(O,t),children:[!!a.length&&a.map((function(e,t){var n=e.name,a=e.id,o=e.identifier,d=e.power,m=(e.cover_image_id,e.pic);return(0,r.jsxs)("div",{className:R,style:{width:u,marginRight:(1+t)%g==0?0:i+s,marginBottom:h},children:[(0,r.jsxs)("a",{target:"_blank",href:"/shixuns/".concat(o,"/challenges"),className:H,onClick:function(e){e.preventDefault(),l&&(0,ee.L9)([l]),d&&(0,ee.xg)("/shixuns/".concat(o,"/challenges"))},children:[(0,r.jsxs)("div",{className:W,children:[(0,r.jsx)("img",{className:U,src:"".concat(m)}),e.is_jupyter&&(0,r.jsx)("img",{className:V,src:te}),e.is_jupyter_lab&&(0,r.jsx)("img",{className:V,src:ne}),e.is_unity_3d&&(0,r.jsx)("img",{className:V,src:ae})]}),(0,r.jsx)("div",{className:K,children:(0,r.jsx)(Y.Z,{title:n||"实践项目名称-未填写",children:(0,r.jsx)("span",{className:X,children:n||"实践项目名称-未填写"})})}),(0,r.jsxs)("div",{className:_,children:[(0,r.jsx)(Y.Z,{placement:"bottom",title:"关卡数",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),(0,r.jsx)("span",{children:e.challenges_count})]})}),!!e.myshixuns_count&&(0,r.jsx)(Y.Z,{placement:"bottom",title:"学习人数",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-chengyuan font14 mr2"}),(0,r.jsx)("span",{children:e.myshixuns_count})]})}),(0,r.jsx)(Y.Z,{placement:"bottom",title:"难度等级",children:(0,r.jsx)("span",{children:(0,r.jsx)("span",{children:e.level})})}),(0,r.jsxs)("div",{className:Q,children:[(0,r.jsx)(J.Z,{allowHalf:!0,disabled:!0,defaultValue:e.score_info}),(0,r.jsxs)("span",{children:[" ",e.score_info?"".concat(e.score_info,"分"):"5分"]})]})]})]}),!d&&(0,r.jsxs)("div",{className:Z,children:[(0,r.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,r.jsx)("span",{className:"mt15 font16 c-white",children:"定向开放内容,需要授权"})]})]},a)})),!a.length&&(0,r.jsx)(oe.Z,{})]})})},ie="list___jb2Ay",re="wrap___VsQDr",de="li___IxCLC",he="cover___Mu8wr",me="img___IpFLA",se="movebq___mF7wt",Se="bq___Bil0T",Pe="sign___DXJ4d",le="name___l7FoJ",ce="e___pXQUG",ue="unit___wCIFR",we="tags___w_Mil",pe=n(64118),fe=function(e){var t=e.className,n=e.dataSource,a=void 0===n?[]:n,o=e.col,g=void 0===o?4:o,i=e.right,d=e.bottom,h=void 0===d?23:d,m=e.precision,s=void 0===m?0:m,S=e.wrapWidth,P=void 0===S?1200:S,l=e.trackEventItems,c=e.loading,u=e.onRemove,w=void 0===u?function(){}:u,p=e.isCurrent,f=void 0===p||p,v=e.showAlias,L=void 0!==v&&v,y=Math.floor((P-(g-1)*i)/g),x=[{name:"推荐自学",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101计划",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"国家一流",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"省级一流",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"精品课程",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"军队一流",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"新型教材",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return(0,r.jsx)(q.Z,{spinning:c,children:(0,r.jsxs)("div",{className:A()(ie,t),children:[!(null==a||!a.length)&&(null==a?void 0:a.map((function(e,t){var n,a=e.name,o=e.id,d=e.identifier,m=(e.featured,e.school_name),S=e.image_url;e.excellent,e.is_plan;return(0,r.jsx)("div",{className:re,style:{width:y,marginRight:(1+t)%g==0?0:i+s,marginBottom:h},children:(0,r.jsxs)("a",{className:de,onClick:function(e){e.preventDefault(),e.stopPropagation(),l&&(0,ee.L9)([l]),(0,ee.xg)("/paths/".concat(d))},children:[(0,r.jsxs)("div",{className:me,children:[(0,r.jsx)("img",{className:he,src:"".concat(S)}),f&&(0,pe.bg)()&&(null==e?void 0:e.studying)&&(0,r.jsxs)("div",{className:"".concat(se," user-path-items"),onClick:function(t){t.stopPropagation(),w(e)},children:[(0,r.jsx)("i",{className:"iconfont icon-yichu1 mr5 c-red"}),(0,r.jsx)("span",{className:"c-red",children:"移除"})]}),null==e||null===(n=e.subject_tags)||void 0===n?void 0:n.map((function(e,t){var n;if(0===t){var a,o=null===(a=x.find((function(t){return t.name==e})))||void 0===a?void 0:a.swimg;return(0,r.jsx)("img",{className:Pe,src:o,style:{left:"-4px"}})}var g=null===(n=x.find((function(t){return t.name==e})))||void 0===n?void 0:n.ptimg;return(0,r.jsx)("img",{className:Pe,src:g,style:{left:"".concat(48+52*(t-1)+2*t,"px")}})})),(0,r.jsx)("div",{style:{position:"absolute",top:"150px",left:"4px"},children:(null==e?void 0:e.excellent)&&(0,r.jsx)("div",{className:Se,children:"开放课程"})})]}),(0,r.jsx)("div",{className:le,children:(0,r.jsx)(Y.Z,{title:L&&null!=e&&e.excellent_alias_name?(0,r.jsxs)("span",{children:["课程原名:".concat(a),(0,r.jsx)("br",{}),(0,r.jsx)("span",{children:"课程别名:".concat(null==e?void 0:e.excellent_alias_name)})]}):a,children:(0,r.jsx)("span",{className:ce,children:L&&(null==e?void 0:e.excellent_alias_name)||a})})}),(0,r.jsx)(Y.Z,{title:"发布单位:".concat(m),children:(0,r.jsxs)("div",{className:ue,children:[(0,r.jsx)("i",{className:"iconfont icon-danwei1 font14 mr3"}),m]})}),(0,r.jsx)("div",{className:we,children:(0,r.jsxs)("div",{children:[(0,r.jsx)(Y.Z,{placement:"bottom",title:"章节数",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),(0,r.jsx)("span",{children:e.stages_count})]})}),(0,r.jsx)(Y.Z,{placement:"bottom",title:"学习人数",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-chengyuan font14 mr3"}),(0,r.jsx)("span",{children:e.members_count})]})})]})})]})},o)}))),!a.length&&(0,r.jsx)(oe.Z,{})]})})},ve={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"},Le=function(e){var t=e.className,n=e.dataSource,a=void 0===n?[]:n,o=e.col,g=void 0===o?4:o,i=e.right,d=e.bottom,h=void 0===d?23:d,m=e.precision,s=void 0===m?0:m,S=e.wrapWidth,P=void 0===S?1200:S,l=e.trackEventItems,c=e.loading,u=Math.floor((P-(g-1)*i)/g);return(0,r.jsx)(q.Z,{spinning:c,children:(0,r.jsxs)("div",{className:A()(ve.list,t),children:[!!a.length&&a.map((function(e,t){var n=e.subject_identifier,a=e.id,o=(e.identifier,e.power,0!=e.is_public&&e.is_public);return(0,r.jsxs)("div",{className:ve.wrap,style:{width:u,marginRight:(1+t)%g==0?0:i+s,marginBottom:h},children:[(0,r.jsxs)("a",{className:ve.li,onClick:function(t){t.preventDefault(),l&&(0,ee.L9)([l]),(0,ee.xg)(e.first_category_url)},children:[(0,r.jsxs)("div",{className:ve.top,children:[(0,r.jsx)(Y.Z,{title:e.name,children:(0,r.jsx)("div",{className:ve.name,children:e.name})}),(0,r.jsx)("img",{className:ve.img,src:$.Z.IMG_SERVER+"/images/"+e.avatar_url}),(0,r.jsx)("div",{className:ve.text,title:e.creator,children:e.creator}),n&&(0,r.jsxs)("div",{className:ve.btns,children:[(0,r.jsx)("div",{children:"开放课程"}),(0,r.jsx)("aside",{children:"开放课堂"})]}),o&&(0,r.jsx)("div",{className:ve.sign,children:"公开"})]}),(0,r.jsxs)("div",{className:ve.bottom,children:[e.visits>0&&(0,r.jsx)(Y.Z,{title:"访问量",placement:"bottom",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-liulanyan"}),(0,r.jsx)("span",{children:e.visits})]})}),e.course_members_count>0&&(0,r.jsx)(Y.Z,{title:"成员",placement:"bottom",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-chengyuan"}),e.course_members_count]})}),e.tasks_count>0&&(0,r.jsx)(Y.Z,{title:"作业",placement:"bottom",children:(0,r.jsxs)("span",{children:[(0,r.jsx)("i",{className:"iconfont icon-zuoye"}),e.tasks_count]})}),e.is_end?(0,r.jsx)("div",{style:{color:"#6B758B"},children:"已结束"}):(0,r.jsx)("div",{style:{color:"#00B187"},children:"进行中"})]})]}),!e.is_accessible&&(0,r.jsxs)("div",{className:ve.lockWrap,children:[(0,r.jsx)("img",{src:"".concat($.Z.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),(0,r.jsx)("span",{className:"mt15 font16 c-white",children:"非课堂成员不可进入"})]})]},a)})),!a.length&&(0,r.jsx)(oe.Z,{})]})})},Ae={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"},ye=n(79265),xe=function(e){var t=e.dataSource,n=void 0===t?[]:t,a=e.value,o=e.onChange,g=e.className,i=e.style,d=void 0===i?{}:i,h=e.tabBarExtraContent;return(0,r.jsxs)("div",{className:A()(Ae.tabs,g),style:d,children:[(0,r.jsx)("div",{className:Ae.tabsWrap,children:n.map((function(e,t){return(0,r.jsxs)("aside",{className:Ae.tab,onClick:function(){o(e.id),e.link&&ye.history.push(e.link)},children:[(0,r.jsx)("div",{className:a===e.id?Ae.active:"",children:e.name}),null==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,r.jsxs)("span",{children:["(",null==e?void 0:e.total,")"]}),void 0!==(null==e?void 0:e.resetCount)&&void 0!==(null==e?void 0:e.total)&&(0,r.jsx)(Y.Z,{title:null!=(null==e?void 0:e.tip)?null==e?void 0:e.tip:"",children:(0,r.jsxs)("span",{style:{color:"#9096A3"},children:["(",(0,r.jsx)("span",{style:{color:"#000"},children:null==e?void 0:e.resetCount}),"/",(0,r.jsx)("span",{children:null==e?void 0:e.total}),")"]})})]},t)}))}),(0,r.jsx)("div",{className:Ae.tabBar,children:h})]})},Be=function(e){var t=e.className,n=e.style,a=void 0===n?{}:n,o=e.children;return(0,r.jsx)("div",{className:A()(t),style:a,children:o})},Fe="orderWrap___ZfyGX",be="orderIconWrap___XTB_O",Ge="orderAsc___KWHmA",ze="orderDesc___rHdbB",Ne="active___a7eSP",Ce="cursorPointer___gs9kL",je="orderTextWrap___teAKn",ke=n(38854),Me=n(20834),Te=[{id:"updated_at",name:"最新动态"},{id:"created_at",name:"最新创建"},{id:"name",name:"名称排序"}],Ee=function(e){var t,n=e.sortValue,a=e.dropValue,o=e.className,g=e.onSort,i=e.onDrop,d=e.dataSource,h=void 0===d?Te:d;return(0,r.jsxs)("div",{className:A()(Fe,o),children:[(0,r.jsx)(ke.Z,{dropdownRender:function(){return(0,r.jsx)(Me.Z,{children:h.map((function(e,t){return(0,r.jsx)(Me.Z.Item,{onClick:function(){return i(e.id)},children:e.name},t)}))})},children:(0,r.jsx)("span",{className:je,children:null===(t=h.find((function(e){return a===e.id})))||void 0===t?void 0:t.name})}),(0,r.jsxs)("span",{className:be,children:[(0,r.jsx)("span",{className:Ge,children:(0,r.jsx)("i",{className:"asc"===n?"iconfont icon-sanjiaoxing-up font12 ".concat(Ce," ").concat(Ne):"iconfont icon-sanjiaoxing-up font12 ".concat(Ce),onClick:function(){return g("asc"===n?"desc":"asc")}})}),(0,r.jsx)("span",{className:ze,children:(0,r.jsx)("i",{className:"desc"===n?"iconfont icon-sanjiaoxing-down font12 ".concat(Ce," ").concat(Ne):"iconfont icon-sanjiaoxing-down font12 ".concat(Ce),onClick:function(){return g("asc"===n?"desc":"asc")}})})]})]})},De=n(82242),Ie=n.n(De),Oe=n(7557),Re=n.n(Oe),Ze=n(41498),He=n.n(Ze),Ue=n(39647),We=n.n(Ue),Ve={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"},Ke=n(3113),Xe=["className","style","children","loading","openLoading","onClick","size","shape"],_e=function(e){var t=e.className,n=e.style,o=e.children,g=e.loading,i=void 0!==g&&g,d=e.openLoading,h=e.onClick,s=void 0===h?function(){}:h,S=e.size,P=void 0===S?"middle":S,l=e.shape,c=void 0===l?"round":l,u=We()(e,Xe),w=(0,a.useState)(!1),p=m()(w,2),f=p[0],v=p[1];return(0,r.jsx)(Ke.ZP,Ie()(Ie()({onClick:(0,y.throttle)(function(){var e=He()(Re()().mark((function e(t){return Re()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d&&v(!0),e.prev=1,e.next=4,s(t);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.log("error",e.t0);case 9:d&&v(!1);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t){return e.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:A()(Ve.btn,Ve["".concat(P,"-").concat(c)],t),style:n,size:P,shape:c,loading:f||i},u),{},{children:o}))},Qe="head___ghH72",qe="node___mjPEy",Ye=function(e){var t=e.className,n=e.style,a=e.children,o=void 0===a?null:a,g=e.onClick,i=e.title;return(0,r.jsxs)("div",{className:A()(Qe,t),style:n,children:[(0,r.jsxs)("span",{className:"primary-hover",onClick:g,children:[(0,r.jsx)("i",{className:"iconfont icon-fanhui2 font12"}),"返回"]}),(0,r.jsx)("b",{title:i,children:i}),(0,r.jsx)("div",{className:qe,children:o})]})},Je="btns___sNgTb",$e="confirm___Ozirl",et="cancel___aiq1I",tt=function(e){var t=e.confirmShow,n=void 0===t||t,a=e.confirmTitle,o=e.confirmClick,g=e.cancelShow,i=void 0===g||g,d=e.cancelTitle,h=e.cancelClick,m=e.className,s=e.style,S=e.confirmLoading,P=void 0!==S&&S;return(0,r.jsxs)("div",{className:A()(Je,m),style:s,children:[n&&(0,r.jsx)(Ke.ZP,{loading:P,onClick:o,type:"primary",className:$e,children:a}),i&&(0,r.jsx)(Ke.ZP,{onClick:h,className:et,children:d})]})},nt={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"},at=function(e){var t=e.className,n=e.style,a=void 0===n?{}:n,o=e.LeftContent,g=e.children,i=e.RightContent;return(0,r.jsx)("div",{className:A()(nt.fixedBottom,t),style:a,children:(0,r.jsxs)("div",{className:nt.wrap,children:[(0,r.jsx)("div",{className:nt.left,children:o}),(0,r.jsx)("div",{className:nt.center,children:g}),(0,r.jsx)("div",{className:nt.right,children:i})]})})},ot="crumbs___V41Oe",gt="hover___bEIVd",it=function(e){var t=e.className,n=e.style,o=void 0===n?{}:n,g=e.dataSource,i=void 0===g?[]:g;return(0,r.jsx)("div",{className:A()(ot,t),style:o,children:i.map((function(e,t){return t<i.length-1?(0,r.jsxs)(a.Fragment,{children:[e.path||e.onClick?(0,r.jsx)("span",{className:gt,onClick:null!=e&&e.onClick?e.onClick:function(){return ye.history.push(e.path)},children:e.name}):(0,r.jsx)("span",{children:e.name}),(0,r.jsxs)("span",{children:[" ",">"," "]})]},t):(0,r.jsx)("span",{style:{color:"#5F6368"},children:e.name},t)}))})},rt=n(31797),dt=["onChange"],ht=rt.Z.Countdown,mt=function(e){var t=e.onChange,n=We()(e,dt),o=(0,a.useState)(null),g=m()(o,2),i=g[0],d=g[1];(0,a.useEffect)((function(){"number"==typeof i&&i>=0&&t(i)}),[i]);return(0,r.jsx)(ht,Ie()(Ie()({},n),{},{onChange:function(e){var t=Math.floor(e/1e3);d(t)}}))}},4027:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var a=n(59301);function o(e,t){var n=(0,a.useRef)();(0,a.useEffect)((function(){n.current=e})),(0,a.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])}},64602:function(e,t,n){"use strict";n.d(t,{$J:function(){return d},JZ:function(){return m},bN:function(){return P},jP:function(){return S},rO:function(){return h}});var a=n(7557),o=n.n(a),g=n(41498),i=n.n(g),r=n(82710);function d(e){return(0,r.U2)("libraries/".concat(e,".json"))}function h(){return(0,r.U2)("library_tags.json")}function m(e){return s.apply(this,arguments)}function s(){return(s=i()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,r.IV)("attachments/".concat(t,".json"));case 2:return n=e.sent,e.abrupt("return",0===n.status);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return(0,r.v_)("libraries.json",e)}function P(e,t){return(0,r.gz)("libraries/".concat(e,".json"),t)}},16406:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var a=n(7557),o=n.n(a),g=n(41498),i=n.n(g),r=n(79800),d=n.n(r),h=n(82242),m=n.n(h),s=n(37205),S=n.n(s),P=n(59301),l=n(79265),c=n(92832),u=n(78241),w=n(8591),p=n(43418),f=n(93948),v=n(24905),L=n(12563),A={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph"},y=n(52522),x=n(46898),B=n(64118),F=n(37712),b=c.Z.TextArea,G=function(e,t){var n,a=(t.payload||{}).uploadInfo,o=void 0===a?{}:a;switch(t.type){case"addVideo":return{videoList:[].concat(S()(e.videoList),[{name:o.file.name,size:o.file.size,type:o.file.type,fileHash:o.fileHash,state:o.state,videoId:o.videoId,loaded:o.loaded||0,title:""}])};case"removeVideo":return{videoList:e.videoList.filter((function(e){return e.name!==t.payload.name}))};case"removeAll":default:return{videoList:[]};case"updateProgress":return{videoList:e.videoList.map((function(e){return e.name===t.payload.uploadInfo.file.name?m()(m()({},e),{loaded:t.payload.progressPercent,videoId:o.videoId,fileHash:o.fileHash}):e}))};case"updateTitle":return{videoList:null===(n=e.videoList)||void 0===n?void 0:n.map((function(e){return e.name===t.payload.item.name?m()(m()({},e),{title:t.payload.title}):e}))}}},z=(0,l.connect)((function(e){var t=e.user,n=e.loading;return{user:t,globalSetting:e.globalSetting,loading:n}}))((function(e){var t,n=e.user,a=(e.globalSetting,e.loading,e.dispatch,e.visible),g=e.editData,r=e.onCancel,h=void 0===r?function(){}:r,s=e.onOk,z=void 0===s?function(){}:s,N=e.queryParams,C=void 0===N?{}:N,j=((0,l.useParams)(),u.Z.useForm()),k=d()(j,1)[0],M=(0,P.useReducer)(G,{videoList:[]}),T=d()(M,2),E=T[0],D=T[1],I=(0,P.useState)(!1),O=d()(I,2),R=(O[0],O[1]),Z=(0,P.useRef)(),H=(0,P.useState)(),U=d()(H,2),W=U[0],V=U[1],K=(0,P.useState)(!1),X=d()(K,2),_=X[0],Q=X[1],q=(0,P.useState)(!1),Y=d()(q,2),J=Y[0],$=Y[1],ee=(0,B.Ny)()?3:1;(0,P.useEffect)((function(){var e,t,n;a&&g&&(Q(g.is_link),V(g.link),!g.is_link&&D({type:"addVideo",payload:{uploadInfo:{file:{name:g.filename||""},videoId:g.video_id,loaded:100}}}),ce((null==g||null===(e=g.tags)||void 0===e?void 0:e.map((function(e){return null==e?void 0:e.name})))||[]),k.setFieldsValue({name:g.name,description:g.description,attachment_id:null==g||null===(t=g.video)||void 0===t?void 0:t.attachment_id,allow_skip:null==g||null===(n=g.video_item)||void 0===n?void 0:n.allow_skip}))}),[g,a]);var te,ne,ae,oe,ge,ie,re,de=function(){document.getElementById("fileUpload").value=""},he=function(e){var t,a='{"Vod":{}}';R(!0),Z.current?Z.current.addFile(e,null,null,null,a):(0,y.o)(null===(t=n.userInfo)||void 0===t?void 0:t.login,"",{create:!Z,addFileSuccess:function(e){D({type:"addVideo",payload:{uploadInfo:e}})},onUploadProgress:function(e,t,n){var a=Math.ceil(100*n);D({type:"updateProgress",payload:{uploadInfo:e,progressPercent:a}}),de()},onUploadFailed:function(e){w.ZP.info("视频云服务出现异常,请重新上传。")},onUploadEnd:function(e){R(!1)},onUploadSucceed:function(e){R(!1)},onUploadError:function(e){R(!1)},gotUploader:function(t){t.addFile(e,null,null,null,a),Z.current=t}})},me=function(){var e=i()(o()().mark((function e(){var t,n,a,g;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.validateFields();case 2:if((_||null!==(t=E.videoList)&&void 0!==t&&t.length)&&(!_||W)){e.next=5;break}return w.ZP.info("请先上传视频或者添加外链"),e.abrupt("return");case 5:return $(!0),a=_?{link:W}:{video_id:null===(n=E.videoList)||void 0===n?void 0:n[0].videoId},e.next=9,z(m()(m()(m()({},a),C),{name:k.getFieldValue("name"),attachment_id:k.getFieldValue("attachment_id"),description:k.getFieldValue("description"),tags:k.getFieldValue("tag"),allow_skip:k.getFieldValue("allow_skip")}));case 9:g=e.sent,$(!1),g.id&&se();case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){k.resetFields(),D({type:"removeAll"}),V(null),ce([]),Q(null)},Se=(0,P.useState)([]),Pe=d()(Se,2),le=Pe[0],ce=Pe[1];return(0,F.jsx)(p.Z,{centered:!0,maskClosable:!1,destroyOnClose:!0,title:g?"编辑视频项目":"新建视频项目",width:740,className:A.modal,open:a,confirmLoading:J,onOk:me,onCancel:function(){h(),se()},children:(0,F.jsxs)(u.Z,{form:k,children:[(0,F.jsx)("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:function(e){var t;Q(!1);var n=e.target.files[0];if(n){var a=n.name.toLowerCase();return a&&-1==a.indexOf(".avi")&&-1==a.indexOf(".flv")&&-1==a.indexOf(".f4v")&&-1==a.indexOf(".m4v")&&-1==a.indexOf(".mov")&&-1==a.indexOf(".mp4")&&-1==a.indexOf(".rmvb")&&-1==a.indexOf(".swf")&&-1==a.indexOf(".webm")&&-1==a.indexOf(".wmv")?(w.ZP.info("不支持的视频格式"),void de()):n.size>1024*ee*1024*1024?(w.ZP.info("视频大小超过".concat(ee,"G")),void de()):null!==(t=E.videoList)&&void 0!==t&&t.find((function(e){return e.name===n.name}))?(w.ZP.info("你不能上传同一个视频文件名称,请重新选择。"),void de()):void he(n)}de()},accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),(0,F.jsx)(u.Z.Item,{label:"项目名称",name:"name",rules:[{required:!0,message:"请输入项目名称"}],children:(0,F.jsx)(c.Z,{maxLength:40,placeholder:"请输入不超过40字的项目名称"})}),(0,F.jsx)(u.Z.Item,{label:"项目内容",name:"content",className:A.contentItem,children:(0,F.jsxs)(F.Fragment,{children:[!_&&!(null===(te=E.videoList)||void 0===te||!te.length)&&(0,F.jsxs)("div",{className:A.fileProgress,children:[100==(null===(ne=E.videoList)||void 0===ne||null===(ne=ne[0])||void 0===ne?void 0:ne.loaded)?(0,F.jsx)("div",{className:"".concat(A.videoName," font14"),children:null===(ae=E.videoList)||void 0===ae||null===(ae=ae[0])||void 0===ae?void 0:ae.name}):(0,F.jsx)(f.Z,{style:{width:"80%"},percent:null===(oe=E.videoList)||void 0===oe||null===(oe=oe[0])||void 0===oe?void 0:oe.loaded,status:100==(null===(ge=E.videoList)||void 0===ge||null===(ge=ge[0])||void 0===ge?void 0:ge.loaded)?"normal":"active"}),(0,F.jsx)("div",{className:A.fileCancel,onClick:function(){var e,t,n,a;return n=null===(e=E.videoList)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.name,a=100==(null===(t=E.videoList)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.loaded),void p.Z.confirm({title:"提示",centered:!0,okText:"确定",cancelText:"取消",content:(0,F.jsxs)("div",{className:"tc",children:["您确认要",a?"删除":"取消上传","该视频吗?"]}),onOk:function(){de(),D({type:"removeVideo",payload:{name:n}})}})},children:100===(null===(ie=E.videoList)||void 0===ie||null===(ie=ie[0])||void 0===ie?void 0:ie.loaded)?"删除":"取消上传"})]}),!(null!==(re=E.videoList)&&void 0!==re&&re.length)&&(0,F.jsxs)("div",{className:A.uploadWrap,children:[(0,F.jsxs)("label",{htmlFor:"fileUpload",className:A.upload,children:[(0,F.jsx)("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"上传视频"]}),(0,F.jsxs)("label",{className:"".concat(A.upload," ").concat(A.uploadLink),onClick:function(){return Q(!0)},children:[(0,F.jsx)("i",{className:"iconfont icon-lianjie1 mr5"}),"添加外链"]})]}),_&&(0,F.jsx)(c.Z,{className:"mt5",placeholder:"请输入视频链接",value:W,onChange:function(e){return V(e.target.value)}})]})}),(0,F.jsx)(u.Z.Item,{name:"attachment_id",label:"上传封面图:",children:(0,F.jsx)(x.Z,{getFileProgress:function(e){"uploading"!==e.file.status?"done"===e.file.status&&$(!1):$(!0)}})}),(0,F.jsx)(u.Z.Item,{label:"项目简介",name:"description",className:"ml8",children:(0,F.jsx)(b,{rows:5,maxLength:800,placeholder:"请输入本视频简介,最多不超过800字"})}),(0,F.jsx)(u.Z.Item,{label:"知识标签",name:"tag",className:"ml8",children:(0,F.jsx)(c.Z,{onKeyUp:function(e){if("Enter"==e.key){var t=k.getFieldValue("tag");if(k.setFieldsValue({tag:""}),!t)return void w.ZP.info("标签不能为空");if(le.filter((function(e){return e===t})).length>0)return void w.ZP.info("已有相同名称标签");le.push(t),ce(S()(le))}}})}),(0,F.jsx)(u.Z.Item,{label:"播放设置",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0,children:(0,F.jsx)(v.Z,{children:"允许快进播放"})}),(0,F.jsx)("div",{className:A["tagsList-content"],children:le.map((function(e,t){return(0,F.jsx)(L.Z,{closable:!0,onClose:function(t){!function(e,t){e.preventDefault(),ce(S()(le.filter((function(e){return e!=t}))))}(t,e)},children:e},t+e)}))}),(0,F.jsxs)("div",{className:"c-grey-999",children:[(0,F.jsx)("div",{children:"注意:"}),(0,F.jsxs)("div",{children:["1、上传视频,即表示您已同意",(0,F.jsx)(l.Link,{to:"/users/".concat(null===(t=n.userInfo)||void 0===t?void 0:t.login,"/videos/protocol"),target:"_blank",className:A.colorBlue,children:"上传内容协议"}),",不得上传未经他人授权的作品;"]}),(0,F.jsxs)("div",{children:["2、不支持断点续传,文件大小请勿超过",ee,"G;"]}),(0,F.jsx)("div",{children:"3、支持文件格式:avi、flv、f4v、m4v、mov、mp4、rmvb、swf、webm、wmv;"}),(0,F.jsx)("div",{children:"4、如果视频来自于外部链接,本网站不提供播放页面,无法提供统计数据。"})]})]})})}))},52522:function(e,t,n){"use strict";n.d(t,{o:function(){return m}});var a,o=n(82710),g=n(93125),i=n.n(g),r="",d="";function h(e){!function(e){a=new(i().Vod)({timeout:6e4,partSize:1048576,parallel:5,retryCount:3,retryDuration:2,region:"ap-southeast-1",userId:0x6803cbd867207,enableUploadProgress:!1,addFileSuccess:function(t){console.log("addFileSuccess: "+t.file.name),e.addFileSuccess&&e.addFileSuccess(t),a.startUpload()},onUploadstarted:function(t){var n=t.file.name;if(t.videoId){var g="/api/users/".concat(r,"/video_auths.json");(0,o.ZP)(g,{method:"put",body:{video_id:t.videoId,title:n,file_name:n,virtual_classroom_id:d}}).then((function(n){if(-1!=n.status){var o=n.data,g=o.UploadAuth,i=o.UploadAddress;o.VideoId;a.setUploadAuthAndAddress(t,g,i)}else e.onUploadError&&e.onUploadError(t)})).catch((function(e){a.deleteFile(a._curIndex),a.nextUpload(),console.log(e)}))}else{var i="/api/users/".concat(r,"/video_auths.json"),h="";(0,o.ZP)(i,{method:"Post",body:{title:h+n,file_name:h+n,virtual_classroom_id:d}}).then((function(e){if(e){var n=e.data,o=n.UploadAuth,g=n.UploadAddress,i=n.VideoId;a.setUploadAuthAndAddress(t,o,g,i)}})).catch((function(e){a.deleteFile(a._curIndex),a.nextUpload(),console.log(e)})),console.log("文件开始上传...")}},onUploadSucceed:function(t){e.onUploadSucceed&&e.onUploadSucceed(t),console.log("文件上传成功!")},onUploadFailed:function(t,n,a){e.onUploadFailed&&e.onUploadFailed(t),console.log("文件上传失败!")},onUploadCanceled:function(e,t,n){console.log("文件上传已暂停!")},onUploadProgress:function(t,n,a){e.onUploadProgress&&e.onUploadProgress(t,n,a);Math.ceil(100*a);console.log("文件上传中...")},onUploadTokenExpired:function(e){console.log("文件上传超时!");var t="/api/users/".concat(r,"/video_auths.json");(0,o.ZP)(t,{method:"put",body:{video_id:e.videoId}}).then((function(e){var t=e.data.UploadAuth;a.resumeUploadWithAuth(t)})).catch((function(e){console.log(e)}))},onUploadEnd:function(t){e.onUploadEnd&&e.onUploadEnd(t),console.log("onUploadEnd: uploaded all the files")}}),e.gotUploader&&e.gotUploader(a)}(e)}function m(e,t,n){e&&(r=e),t&&(d=t),h(n)}},15333:function(e,t,n){"use strict";n.d(t,{rX:function(){return B},pW:function(){return F},gy:function(){return b},xY:function(){return x},O5:function(){return y},tJ:function(){return p},o1:function(){return f},Rd:function(){return A}});var a=n(7557),o=n.n(a),g=n(41498),i=n.n(g),r=n(79265),d=n(43418),h=n(28103),m=n(8591),s=n(64118),S=n(95972),P=n(80205),l=n(25510),c=n.p+"static/newqrcode.a8740efb.png",u=n(32637),w=n(37712),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!f(e)||!v(t))},f=function(e){return!!(0,s.bg)()||(e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},v=function(){var e,t=(0,r.getDvaApp)()._store.getState(),n=t.user;return!(null===(e=n.userInfo)||void 0===e||!e.profile_completed)||(d.Z.confirm({title:"提示",width:530,centered:!0,content:"您需要去完善您的个人资料,才能使用此功能",okText:"立即完善",cancelText:"稍后完善",onOk:function(){(0,S.xg)("/account/profile/edit"),L()}}),!1)},L=function(){d.Z.success({title:"提示",width:430,closable:!0,centered:!0,content:"已完善个人资料?请刷新页面",okText:"立即刷新",icon:null,onOk:function(){location.reload()}})},A=function(){d.Z.warning({title:"提示",icon:null,width:400,content:(0,w.jsxs)("div",{style:{textAlign:"center"},children:[(0,w.jsx)("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"},children:"老师您好,您的课堂试用期已结束,相关功能被限制。 如需继续使用,请尽快对接人工支持!"}),(0,w.jsx)("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:u}),(0,w.jsx)("div",{style:{color:"#666666",fontSize:14,marginTop:15},children:"添加客服人员微信,获得更多支持"})]})})},y=function(){var e;return!(null===(e=(0,r.getDvaApp)()._store.getState().user.userInfo)||void 0===e||!e.professional_certification)||(d.Z.confirm({title:"提示",centered:!0,content:(0,w.jsx)("div",{className:"tc",children:"您需要去完成您的职业认证,才能使用此功能"}),okText:"立即完善",cancelText:"稍后完善",onOk:function(){(0,S.xg)("/account/certification")}}),!1)},x=function(){return!!(0,s.V9)()||(d.Z.warning({centered:!0,width:530,title:"提示",content:(0,w.jsxs)("div",{className:"tc",style:{marginLeft:-38},children:[(0,w.jsx)("p",{children:"扫码加头歌助教,申请操作权限"}),(0,w.jsx)("img",{src:c,width:200})]}),okText:"我知道了",maskClosable:!0}),!1)},B=function(e,t){return!!e||(d.Z.confirm({centered:!0,zIndex:1e4,width:530,title:"提示",content:(0,w.jsxs)("div",{children:[(0,w.jsx)("p",{children:t||"该实践资源需授权后才可使用。 您可以在QQ服务群向管理员申请,获得继续操作的权限。"}),(0,w.jsxs)("div",{style:{marginLeft:"110px"},children:[(0,w.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy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CCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIMFutYefOnRUVFVa3ctWqVStXrjT4ZtsqK+RE5Ql7K1BpvAtHmdhWI8S2QhcWDWswG1gVFRVVVVVWtCxbOBy2ehMA4H44JQQAMhBYAEAGAgsAyEBgAQAZCCwAIMOSSShM3tFsaWkp+J1HZx+RN75O23pkRWEGk5wdEWJFN0023mTdEWfH9xjvZl5whAUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIsGRYg7NIP99vRd+tKDlg2zutYLxJzk7/Ydv+dOEcKwPBERYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgowiHNYzk4QJWPEzvwm7mZEVlBZP1Epwd65CTbSMYLBq5giMsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQIYlwxpaWlrMLG5yBgrbSvfbVnKASsED25j8iE2u0/jiJsc6uLBWhLPrZBYFVsHnvAEAYDglBABCEFgAQAYCCwDIQGABABlmL7qvWrUqHA5b3cotW7bYszsAwM24FXeIbUPl0XPbahsY76ZtU3W48+64ma0bZ9tnZFtdB9tKoQwEp4QAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjDyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",width:200}),(0,w.jsxs)("div",{style:{marginLeft:"35px"},children:["群号:","714336072"]})]})]}),okText:"立即联系",cancelText:"取消",onOk:function(){(0,S.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1)},F=function(e){d.Z.info({title:"联系平台运营",icon:null,width:615,centered:!0,content:(0,w.jsxs)("div",{children:[(0,w.jsxs)("div",{children:[(0,w.jsx)("p",{style:{color:"#191919",fontWeight:400,fontSize:14},children:"“保存实验临时数据”功能为付费功能,请联系平台运营进行开通。"}),(0,w.jsx)(h.Z,{}),(0,w.jsxs)("p",{style:{color:"#666666",fontSize:12},children:[" ",(0,w.jsx)("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8},children:"1"})," 因平台的实验数据储存容量和成本消耗较大,实践项目默认保存实验环境中临时数据 ",(0,w.jsx)("a",{children:e}),"天。"]}),(0,w.jsxs)("p",{style:{color:"#666666",fontSize:12},children:[" ",(0,w.jsx)("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8},children:"2"}),"若您需要个性化的数据保存周期服务,我们可以提供相关技术支持,并根据您的需求收取定制费用。"]})]}),(0,w.jsx)("div",{style:{textAlign:"center",marginTop:30},children:(0,w.jsx)("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:l,alt:"二维码",width:160})})]})})},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=(0,r.getDvaApp)()._store.getState(),a=n.shixunsDetail.detail;if(2===(null==a?void 0:a.public)||1===(null==a?void 0:a.public)||3===(null==a?void 0:a.shixun_status)){var g="";return 2===(null==a?void 0:a.public)&&(g="已公开"),1===(null==a?void 0:a.public)&&(g="待审核"),3===(null==a?void 0:a.shixun_status)&&(g="已关闭"),d.Z.info({centered:!0,icon:(0,w.jsx)(P.Z,{style:{color:"#faad14"}}),width:460,title:"提示",content:(0,w.jsxs)("div",{className:"tc",style:{marginLeft:-38},children:[(0,w.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"},children:[(0,w.jsxs)("span",{children:["该实践项目的状态为",g,",",t,"。"]}),(0,w.jsx)("p",{children:"如有需要,请联系平台管理员进行技术支持。"})]}),(0,w.jsx)("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:l,alt:"二维码",width:160})]}),okText:"我知道了"}),!0}return 2===(null==a?void 0:a.shixun_status)&&(d.Z.confirm({centered:!0,icon:(0,w.jsx)(P.Z,{}),title:"提示",content:(0,w.jsxs)("div",{children:[(0,w.jsxs)("span",{children:["该实践项目已发布,",t,"。"]}),(0,w.jsx)("br",{}),(0,w.jsx)("span",{children:"如有需要,您可以撤销发布后,再进行操作。"})]}),okText:"撤销发布",cancelText:"取消",onOk:function(){var t;d.Z.confirm({width:440,centered:!0,icon:(0,w.jsx)(P.Z,{style:{color:"#faad14"}}),title:"提示",content:"撤销发布后,学员将无法进行练习。是否确认撤销发布?",okText:"确定撤销发布",cancelText:"取消",onOk:(t=i()(o()().mark((function t(){return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e({type:"shixunsDetail/cancelRelease",payload:{id:null==a?void 0:a.identifier}});case 2:401!==t.sent.status&&(m.ZP.success("撤销发布成功。实训回到未发布的状态。"),e({type:"shixunsDetail/getShixunsDetail",payload:{id:null==a?void 0:a.identifier}}),e({type:"practiceSetting/getCommonData",payload:{id:null==a?void 0:a.identifier}}));case 4:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})})}}),!0)}},32637:function(e,t,n){"use strict";e.exports=n.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2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