You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/23892.714d63c8.async.js

1 line
335 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(self.webpackChunk=self.webpackChunk||[]).push([[23892,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,y=u*l+p*d,x=w*l+f*d,F=p*l+v*d,B=L*l+x*d,b=y*l+F*d;h.x=c,h.y=u,m.x=L,m.y=y,S.x=B,S.y=b,s.x=x,s.y=F,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(),y=a();i(m,S+d,m-r,S+d,m-d,S+r,m-d,S,.42,v,L,y,u,u);var x=a(),F=a(),B=a();return i(m,S+d,m-r,S+d,m-d,S+r,m-d,S,.58,u,u,B,x,F),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,x.x*t,x.y*n,F.x*t,F.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,y.x*t,y.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,y.x*t,y.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(y),o(x),o(F),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 y(){try{return window.self!==window.top}catch(e){return!0}}function x(){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=(!y()||t())&&x()),h?(l="screenshot",j(d,n,i,o)):A(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 F=function(t){var o=function(){n.onError&&n.onError(),_("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";b("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 b(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 G=function(e){return e&&"false"!==e},A=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)G(n.showToolBar)&&(n.height-=7),G(n.showAlgebraInput)&&(n.height-=37),n.width<605&&G(n.showToolBar)&&(n.width=605,i=605);else{var m=100;(G(n.showToolBar)||G(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),m=G(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)y=p.querySelector(".ggb_preview");else{var y=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(y)):g.appendChild(y),p.appendChild(g),f||t.appendChild(p),setTimeout((function(){e.resize()}),1)}function x(e,t){t&&"function"==typeof t.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,t.appletOnLoad):renderGGBElement(e),_("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",t)}function F(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){x(e.article,e.params)})),html5AppletsToProcess=null)},L(c)<5&&(e.className+=" geogebraweb")):x(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 b=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=b&&b.parentNode.removeChild(b)}var A=document.createElement("script"),z=function(){F(g,n)};A.src=s+u,ggbHTML5LoadedCodebaseIsWebSimple=w,ggbHTML5LoadedCodebaseVersion=c,ggbHTML5LoadedScript=A.src,_("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):(A.onload=z,t.appendChild(A)):(w?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),z())}else F(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(C()),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 j=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"))):A(o,t,!1),window.GGBT_wsf_view.launchFullScreen(g)}else l=a,A(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),x()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},C=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||G(n.showToolBar)||G(n.showMenuBar)||G(n.showAlgebraInput)||G(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))}},_=function(e,t){window.console&&window.console.log&&(!t||void 0===t.showLogging||t.showLogging&&"false"!==t.showLogging)&&console.log(e)};function R(){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?F(R):R(),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")})()},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},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,y=e.noAssociationId,x=(0,h.useRef)(null),F=(0,h.useRef)(null),B=(0,h.useRef)(null),b=(0,h.useRef)(null),G=(0,h.useState)(!1),A=d()(G,2),z=A[0],N=A[1],j=(0,h.useState)("正在加载中"),C=d()(j,2),k=C[0],M=C[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,x.current.src="",x.current.src=n,x.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||y){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(){F.current=new u.hP(x.current),F.current.targetRoot=b.current,F.current.addEventListener("render",E),F.current.addEventListener("beforeclose",P),L&&(F.current.availableMarkerTypes=F.current.ALL_MARKER_TYPES,F.current.uiStyleSettings.redoButtonVisible=!0,F.current.uiStyleSettings.notesButtonVisible=!0,F.current.uiStyleSettings.zoomButtonVisible=!0,F.current.uiStyleSettings.zoomOutButtonVisible=!0,F.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=F.current.uiStyleSettings,F.current.show(),null!=t&&t.snapshotData&&F.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:b,className:l()(m,n,a?s:""),style:r,children:(0,f.jsx)("img",{className:S,ref:x})})})})}},96099:function(e,t,n){"use strict";n.d(t,{N:function(){return C}});var a=n(7557),o=n.n(a),g=n(41498),i=n.n(g),r=n(37205),d=n.n(r),h=n(79800),m=n.n(h),S=n(59301),s=n(57809),P=n(43418),l=n(92832),c=n(8591),u=n(95237),w=n(43604),p=n(82710),f="wrap___F7E3F",v="selectWrapper____kESB",L="tips___aHjQY",y="linkBtn___uggVr",x="public_tips___sZVWd",F="inputCss___t66EO",B="bt___lXptu",b="add_style___knrMF",G=n(92310),A=n.n(G),z=n(80205),N=n(37712),j=s.default.Option,C=function(e){var t=e.subId,n=e.value,a=e.selectvalues,g=e.disabled,r=e.knowledgeOptions,h=void 0===r?[]:r,G=e.className,C=e.height,k=e.onChange,M=void 0===k?function(){}:k,T=e.onAddKnowledgeFinish,E=void 0===T?function(){}:T,D=e.zIndex,_=void 0===D?1e3:D,R=(0,S.useRef)(),H=(0,S.useState)([]),O=m()(H,2),Z=O[0],I=O[1];n=n||[];(0,S.useEffect)((function(){(null==a?void 0:a.length)>0?(I(d()(a)),M(d()(a))):(I([]),M([]))}),[h]),(0,S.useEffect)((function(){var e;(null===(e=n)||void 0===e?void 0:e.length)>0&&M(d()(n))}),[h]);return(0,N.jsxs)(u.Z,{wrap:!1,align:"middle",className:A()(f,G),children:[(0,N.jsx)(w.Z,{children:(0,N.jsx)(s.default,{mode:"multiple",disabled:!t||g,className:v,placeholder:"请选择知识点,支持选择多个",onChange:function(e,t){e?(I(d()(t)),M(d()(t))):(I([]),M([]))},style:{width:C||490},showSearch:!0,allowClear:!0,value:Z,filterOption:function(e,t){return t.label.indexOf(e.toLowerCase())>=0},children:null==h?void 0:h.map((function(e){return(0,N.jsx)(j,{value:e.id,label:e.name,children:(0,N.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,N.jsx)("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:e.name}),"personal"===(null==e?void 0:e.type)&&(0,N.jsx)("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"},children:"自用"})]})},e.id)}))})}),t&&(0,N.jsxs)(w.Z,{className:"ml20 ".concat(C&&b),children:[(0,N.jsx)("span",{className:L,children:"没有合适的知识点?"}),(0,N.jsx)("span",{className:y,onClick:function(e){e.preventDefault(),R.current="",P.Z.confirm({centered:!0,width:585,zIndex:_,okText:"确定",cancelText:"取消",icon:null,title:"新建知识点",className:"custom-modal-divider",content:(0,N.jsxs)("div",{className:"font14",children:[(0,N.jsxs)("div",{className:x,children:[(0,N.jsx)(z.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"新建的知识点仅本人可见,平台审核列入公开知识点后,对所有用户可见。 平台有权删除不合适的知识点,请认真填写知识点名称。"]}),(0,N.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,N.jsxs)("div",{style:{width:"95px"},children:[(0,N.jsx)("span",{className:B,children:"*"}),"知识点名称"]}),(0,N.jsx)(l.Z,{className:F,style:{width:"calc(100% - 95px)"},maxLength:20,size:"middle",showCount:!0,placeholder:"请输入知识点名称",defaultValue:R.current,onChange:function(e){R.current=e.target.value}})]})]}),onOk:function(){return new Promise(function(){var e=i()(o()().mark((function e(n,g){var i,r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(R.current){e.next=3;break}return c.ZP.warning("请输入知识点名称"),e.abrupt("return",g());case 3:if(!(R.current.length>20)){e.next=6;break}return c.ZP.warning("请输入不超过20字的知识点名称"),e.abrupt("return",g());case 6:return e.next=8,(0,p.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:R.current,sub_discipline_id:t}});case 8:return 0===(null==(i=e.sent)?void 0:i.status)&&(E({id:i.tag_discipline_id,name:R.current,type:"personal"}),(r=a||[]).push(i.tag_discipline_id),M(d()(r)),I(d()(r)),M(d()(r))),e.abrupt("return",n());case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())}})},children:"新建知识点"})]})]})}},6204:function(e,t,n){"use strict";n.d(t,{h:function(){return s},x:function(){return P}});var a=n(82242),o=n.n(a),g=n(39647),i=n.n(g),r=n(85654),d=n(11037),h=n(501),m=n(37712),S=["value","onChange","scrollId"],s=function(e){var t=e.value,n=e.onChange,a=e.scrollId,g=i()(e,S);return(0,m.jsx)("div",{id:a||"",children:(0,m.jsx)(r.Z,o()(o()({},g),{},{defaultValue:t,onChange:function(e,t){console.log("a:",e,t),null!=t&&t.length?n(e,t):n(e)}}))})},P=function(e){var t=e.value,n=e.onChange,a=e.placeholder,o=e.height,g=void 0===o?140:o,i=e.isEdit,S=e.miniToolbar,s=e.watch,P=void 0===s||s;return i?(0,m.jsx)(r.Z,{watch:P,isFocus:!0,height:g||void 0,placeholder:a,defaultValue:t,onChange:n,miniToolbar:S}):(0,m.jsx)("div",{style:{cursor:"pointer"},children:t?(0,m.jsx)(h.Z,{className:d.Z.inputBorder,value:t}):(0,m.jsx)("div",{className:"".concat(d.Z.inputBorder," ").concat(d.Z.placeholder," inputBorderError"),children:a})})}},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),y=n(78241),x=n(92832),F=n(3113),B={labelCol:{span:4},wrapperCol:{span:20}},b=function(e){var t=e.callback,n=e.onCancel;return(0,l.jsxs)(y.Z,w()(w()({},B),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){t(e)},style:{width:500},children:[(0,l.jsx)(y.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,l.jsx)(x.Z,{})}),(0,l.jsx)(y.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,l.jsx)(x.Z,{})}),(0,l.jsxs)("div",{className:"flex-container flex-end",children:[(0,l.jsx)(F.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,l.jsx)(F.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},G=n(18890),A=n(48347),z=n(43418),N=n(95237),j=n(12840),C=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)(j.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),_=n.n(D),R=n(12378);function H(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(H,go.CommandHandler),H.prototype.canAlignSelection=function(){var e=this.diagram;return null!==e&&!e.isReadOnly&&!e.isModelReadOnly&&!(e.selection.count<2)},H.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")},H.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")},H.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")},H.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")},H.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")}},H.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")}},H.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")},H.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")},H.prototype.canRotate=function(e){var t=this.diagram;return null!==t&&!t.isReadOnly&&!t.isModelReadOnly&&!(t.selection.count<1)},H.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())},H.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){H._assignZOrder(e,t.get(e.layer)+1)})),e.commitTransaction("pullToFront")},H.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){H._assignZOrder(e,t.get(e.layer)-1-H._findGroupDepth(e))})),e.commitTransaction("pushToBack")},H._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){H._assignZOrder(e,t+1,n)}))},H._findGroupDepth=function(e){if(e instanceof go.Group){var t=0;return e.memberParts.each((function(e){t=Math.max(t,H._findGroupDepth(e))})),t+1}return 0},H.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)}},H.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},H.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")},H.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))},H.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},H.prototype._angleCloseness=function(e,t){return Math.min(Math.abs(t-e),Math.min(Math.abs(t+360-e),Math.abs(t-360-e)))},H.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)}},H.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},H.prototype.copyToClipboard=function(e){go.CommandHandler.prototype.copyToClipboard.call(this,e),this._lastPasteOffset.set(this.pasteOffset)},H.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(H.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(H.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 O=H,Z=(n(15378),n(43604)),I=n(82710),W="myPaletteDiv___Xjz2I",U="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,I.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=R.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 R.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(R.bn,{figure:n,alignment:t,alignmentFocus:t.opposite(),width:t.equals(R.z6.Top)||t.equals(R.z6.Bottom)?25:18,height:t.equals(R.z6.Top)||t.equals(R.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(R.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 y(t,n){return n||(n="color"),e(R.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 x(){return[e("ContextMenuButton",e(R.s_,"Horizontal",y(m,"fill"),y(s,"fill"),y(P,"fill"),y(l,"fill"))),e("ContextMenuButton",e(R.s_,"Horizontal",y(u,"fill"),y(w,"fill"),y(c,"fill"),y(p,"fill")))]}function F(){return[e("ContextMenuButton",e(R.s_,"Horizontal",y(S),y(i),y(n),y(t))),e("ContextMenuButton",e(R.s_,"Horizontal",y(m),y(r),y(d),y(h)))]}function B(t,n){return n||(n="thickness"),e(R.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 b(t,n){return n||(n="dash"),e(R.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 G(){return[e("ContextMenuButton",e(R.s_,"Horizontal",B(1),B(2),B(3),B(4))),e("ContextMenuButton",e(R.s_,"Horizontal",b(null),b([2,4]),b([4,4])))]}function A(t,n){return n||(n="figure"),e(R.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(R.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(R.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 j(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",R.z6.stringify(R.z6.AllSides)),(t?a.toNode:a.fromNode).invalidateConnectedLinks()}))};return e(R.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 C(t,n){var a=0,o=R.z6.RightSide;t.equals(R.z6.Top)?(a=270,o=R.z6.TopSide):t.equals(R.z6.Left)?(a=180,o=R.z6.LeftSide):t.equals(R.z6.Bottom)&&(a=90,o=R.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",R.z6.stringify(o)),(n?a.toNode:a.fromNode).invalidateConnectedLinks()}))};return e(R.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 R.S0(o.current,{padding:20,grid:e(R.s_,"Grid",e(R.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(R.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(O),"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(R.NB,"Auto",{locationSpot:R.z6.Center,locationObjectName:"SHAPE",desiredSize:new R.$u(120,60),minSize:new R.$u(40,40),resizable:!0,resizeCellSize:new R.$u(10,10),rotatable:!0},new R.KX("location","loc",R.E9.parse).makeTwoWay(R.E9.stringify),new R.KX("desiredSize","size",R.$u.parse).makeTwoWay(R.$u.stringify),e(R.bn,{name:"SHAPE",fill:m,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:R.z6.AllSides,toSpot:R.z6.AllSides},new R.KX("figure"),new R.KX("fill"),new R.KX("stroke","borderColor"),new R.KX("strokeWidth","thickness"),new R.KX("strokeDashArray","dash")),e(R.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),e(R.al,{margin:1,textAlign:"center",overflow:R.al.OverflowEllipsis,editable:!0},new R.KX("text").makeTwoWay(),new R.KX("stroke","color"))),a.current.nodeTemplate.toolTip=e("ToolTip",e(R.s_,"Vertical",{maxSize:new R.$u(200,NaN)},e(R.al,{font:"bold 10pt sans-serif",textAlign:"center"},new R.KX("text")),e(R.al,{font:"10pt sans-serif",textAlign:"center"},new R.KX("text","details")))),a.current.nodeTemplate.selectionAdornmentTemplate=e(R.uz,"Spot",e(R.Vm,{padding:10}),f(R.z6.Top,"TriangleUp"),f(R.z6.Left,"TriangleLeft"),f(R.z6.Right,"TriangleRight"),f(R.z6.Bottom,"TriangleDown"),v({alignment:new R.z6(.75,0)})),a.current.nodeTemplate.contextMenu=e("ContextMenu",e("ContextMenuButton",e(R.s_,"Horizontal",A("Rectangle"),A("RoundedRectangle"),A("Ellipse"),A("Diamond"))),e("ContextMenuButton",e(R.s_,"Horizontal",A("Parallelogram2"),A("ManualOperation"),A("Procedure"),A("Cylinder1"))),e("ContextMenuButton",e(R.s_,"Horizontal",A("Terminator"),A("CreateRequest"),A("Document"),A("TriangleDown"))),x(),F(),G()),a.current.groupTemplate=e(R.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:R.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 R.KX("location","loc",R.E9.parse).makeTwoWay(R.E9.stringify),e(R.s_,"Auto",{name:"BODY"},e(R.bn,{parameter1:10,fill:m,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:R.z6.AllSides,toSpot:R.z6.AllSides},new R.KX("fill"),new R.KX("stroke","color"),new R.KX("strokeWidth","thickness"),new R.KX("strokeDashArray","dash")),e(R.Vm,{background:"transparent",margin:20})),e(R.al,{alignment:R.z6.Top,alignmentFocus:R.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new R.KX("text"),new R.KX("stroke","color"))),a.current.groupTemplate.selectionAdornmentTemplate=e(R.uz,"Spot",e(R.s_,"Auto",e(R.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),e(R.Vm,{margin:1.5})),v({alignment:R.z6.TopRight,alignmentFocus:R.z6.BottomRight})),a.current.groupTemplate.contextMenu=e("ContextMenu",x(),F(),G()),a.current.linkTemplate=e(R.rU,{layerName:"Foreground",routing:R.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new R.KX("fromSpot","fromSpot",R.z6.parse),new R.KX("toSpot","toSpot",R.z6.parse),new R.KX("fromShortLength","dir",(function(e){return e>=1?10:0})),new R.KX("toShortLength","dir",(function(e){return e>=1?10:0})),new R.KX("points").makeTwoWay(),e(R.bn,{strokeWidth:2},new R.KX("stroke","color"),new R.KX("strokeWidth","thickness"),new R.KX("strokeDashArray","dash")),e(R.bn,{segmentIndex:0,segmentOffset:new R.E9(15,0),segmentOrientation:R.rU.OrientAlong,alignmentFocus:R.z6.Right,figure:"circle",width:10,strokeWidth:0},new R.KX("fill","color"),new R.KX("visible","dir",(function(e){return 1===e}))),e(R.bn,{segmentIndex:-1,segmentOffset:new R.E9(-10,6),segmentOrientation:R.rU.OrientPlus90,alignmentFocus:R.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new R.KX("fill","color"),new R.KX("visible","dir",(function(e){return e>=1})),new R.KX("width","thickness",(function(e){return 7+3*e})),new R.KX("height","thickness",(function(e){return 7+3*e})),new R.KX("segmentOffset","thickness",(function(e){return new R.E9(-15,4+1.5*e)}))),e(R.bn,{segmentIndex:0,segmentOffset:new R.E9(15,-6),segmentOrientation:R.rU.OrientMinus90,alignmentFocus:R.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new R.KX("fill","color"),new R.KX("visible","dir",(function(e){return 2===e})),new R.KX("width","thickness",(function(e){return 7+3*e})),new R.KX("height","thickness",(function(e){return 7+3*e})),new R.KX("segmentOffset","thickness",(function(e){return new R.E9(-15,4+1.5*e)}))),e(R.al,{alignmentFocus:new R.z6(0,1,-4,0),editable:!0},new R.KX("text").makeTwoWay(),new R.KX("stroke","color"))),a.current.linkTemplate.selectionAdornmentTemplate=e(R.uz,e(R.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:z(2)},new R.KX("pathPattern","thickness",z)),v({alignmentFocus:new R.z6(0,0,-6,-4)})),a.current.linkTemplate.contextMenu=e("ContextMenu",F(),G(),e("ContextMenuButton",e(R.s_,"Horizontal",N(0),N(1),N(2))),e("ContextMenuButton",e(R.s_,"Horizontal",e(R.s_,"Spot",j(!1),C(R.z6.Top,!1),C(R.z6.Left,!1),C(R.z6.Right,!1),C(R.z6.Bottom,!1)),e(R.s_,"Spot",{margin:new R.Zt(0,0,0,2)},j(!0),C(R.z6.Top,!0),C(R.z6.Left,!0),C(R.z6.Right,!0),C(R.z6.Bottom,!0)))));var k=new R.YI(g.current,{maxSelectionCount:1,linkTemplate:e(R.rU,{locationSpot:R.z6.Center,selectionAdornmentTemplate:e(R.uz,"Link",{locationSpot:R.z6.Center},e(R.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),e(R.bn,{toArrow:"Standard",stroke:null}))},{routing:R.rU.AvoidsNodes,curve:R.rU.JumpOver,corner:5,toShortLength:4},new R.KX("points"),e(R.bn,{isPanelMain:!0,strokeWidth:2}),e(R.bn,{toArrow:"Standard",stroke:null})),model:new R.FJ([{text:"未命名",size:"100 100",fill:null,stroke:"#000"}].concat(_()(R.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(R.NB,"Auto",{locationSpot:R.z6.Center},new R.KX("location","location",R.E9.parse).makeTwoWay(R.E9.stringify),e(R.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 R.KX("stroke").makeTwoWay(),new R.KX("fill").makeTwoWay(),new R.KX("figure")),e(R.al,{margin:new R.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new R.$u(16,16),maxSize:new R.$u(10,NaN),textAlign:"center",editable:!0},new R.KX("key").makeTwoWay())),setTimeout((function(){a.current.grid=e(R.s_,"Grid",e(R.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(R.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)(Z.Z,{flex:1,children:"插入流程图"}),(0,l.jsx)(Z.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:U,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)(F.ZP,{size:"large",onClick:c,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary",children:"保存到编辑器"})})]})})})},V=n(5112),J=n(88897),q=V.ZP.Group,Y={margin:"0 8px"},Q=function(e){var t=e.callback,n=e.onCancel;return(0,l.jsxs)(y.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)(y.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,l.jsx)(J.Z,{})}),(0,l.jsx)("span",{style:Y,children:"列数"}),(0,l.jsx)(y.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,l.jsx)(J.Z,{})})]}),(0,l.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,l.jsx)("span",{style:Y,children:"对齐方式:"}),(0,l.jsx)(y.Z.Item,{name:"align",children:(0,l.jsxs)(q,{children:[(0,l.jsx)(V.ZP,{value:"default",children:(0,l.jsx)("i",{className:"fa fa-align-justify"})}),(0,l.jsx)(V.ZP,{value:"left",children:(0,l.jsx)("i",{className:"fa fa-align-left"})}),(0,l.jsx)(V.ZP,{value:"center",children:(0,l.jsx)("i",{className:"fa fa-align-center"})}),(0,l.jsx)(V.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)(F.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,l.jsx)(F.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)(Z.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)(Z.Z,{children:(0,l.jsx)(F.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,y=void 0!==f&&f,x=e.watch,F=e.insertTemp,B=e.mode,N=void 0===B?"markdown":B,j=e.id,k=void 0===j?"markdown-editor-id":j,M=e.showResizeBar,T=void 0!==M&&M,E=e.noStorage,D=void 0!==E&&E,_=e.showNullButton,R=void 0!==_&&_,H=e.showNullProgramButton,O=void 0!==H&&H,Z=e.hidetoolBar,I=void 0!==Z&&Z,W=e.fullScreen,U=void 0!==W&&W,K=e.onBlur,V=e.onCMBeforeChange,J=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,ye=void 0===Le?"":Le,xe=e.values,Fe=void 0===xe?"":xe,Be=e.extraUse,be=(0,h.useState)(null),Ge=i()(be,2),Ae=Ge[0],ze=Ge[1],Ne=(0,h.useState)(n),je=i()(Ne,2),Ce=je[0],ke=je[1],Me=(0,h.useState)(x),Te=i()(Me,2),Ee=Te[0],De=Te[1],_e=(0,h.useState)(U),Re=i()(_e,2),He=Re[0],Oe=Re[1],Ze=(0,h.useState)(""),Ie=i()(Ze,2),We=Ie[0],Ue=Ie[1],Ke=(0,h.useState)(0),Xe=i()(Ke,2),Ve=Xe[0],Je=Xe[1],qe=(0,h.useState)(u),Ye=i()(qe,2),Qe=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(Fe),null==Ae||Ae.setValue(Fe),window.scrollTo(0,e)}),[Fe]),(0,h.useEffect)((function(){null==J||J(He)}),[He]),(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,A.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("![,](/api/attachments/".concat(e.id,"?type=").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",ye):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()}})),y&&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}),[Qe,st,He]);(0,h.useEffect)((function(){if(Ae){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(),Ae.setSize("100%","100%"),Ae.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)}}}),[Ae,ct]),(0,h.useEffect)((function(){if(Ae){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),Ae.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];Ae.removeKeyMap(a)}}}}),[Ae]),(0,h.useEffect)((function(){U!==He&&Oe(U)}),[U]),(0,Pe.Z)((function(){if(!D&&Ve>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(k);e>=Ve+1e4&&(!t||t!==Ce)&&(window.sessionStorage.setItem(k,Ce),nt(!0))}}),1e4),(0,h.useEffect)((function(){De(x)}),[Ae,x]),(0,h.useEffect)((function(){Ae&&y&&Ae.focus()}),[Ae,y]),(0,h.useEffect)((function(){if(Ee&&Ae){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=Ae.getScrollerElement();return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}}),[Ae,Ee]),(0,h.useEffect)((function(){if(Ae&&V){var e=function(e,t){V(e,t)};return Ae.on("beforeChange",e),function(){Ae.off("beforeChange",e)}}}),[Ae,V]),(0,h.useEffect)((function(){if(Ae&&K){var e=function(){K(Ae.getValue())};return Ae.on("blur",e),function(){Ae.off("blur",e)}}}),[Ae,K]),(0,h.useEffect)((function(){if(Ae){var e=function(e,t){var n=e.getValue();ke(n),Je((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),a&&(O?a(n,Lt(n)):a(n))};return Ae.on("change",e),function(){Ae.off("change",e)}}}),[Ae,a]),(0,h.useEffect)((function(){if(Ae)if(null==n)Ae.setValue(""),ke("");else{var e=window.scrollY||window.pageYOffset;n!==Ae.getValue()&&(Ae.setValue(n),ke(n),Ae.setCursor(Se?1:Ae.lineCount(),0),window.scrollTo(0,e))}}),[Ae,n]);var ut=(0,h.useCallback)((function(e){var t=Ae.getCursor(),n=Ae.getSelection(),a=n.split("\n");switch(e){case"bold":return Ae.replaceSelection("**"+n+"**"),""===n&&Ae.setCursor(t.line,t.ch+2),Ae.focus();case"italic":return Ae.replaceSelection("*"+n+"*"),""===n&&Ae.setCursor(t.line,t.ch+1),Ae.focus();case"code":return Ae.replaceSelection("`"+n+"`"),""===n&&Ae.setCursor(t.line,t.ch+1),Ae.focus();case"inline-latex":return Ue("inline-latex"),Ae.focus();case"latex":return Ae.replaceSelection("```latex\n"+n+"\n```"),Ae.setCursor(t.line+1,n.length+1),Ae.focus();case"line-break":return Ae.replaceSelection("<br/>\n"),Ae.focus();case"list-ul":return""===n?Ae.replaceSelection("- "+n):Ae.replaceSelection(a.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Ae.focus();case"list-ol":return""===n?Ae.replaceSelection("1. "+n):Ae.replaceSelection(a.map((function(e,t){return""===e?"":"".concat(t+1,". ").concat(e)})).join("\n")),Ae.focus();case"add-null-ch":return""===n&&Ae.setCursor(t.line,t.ch),Ae.replaceSelection("▁"),Ae.focus();case"add-signal":return""===n&&Ae.setCursor(t.line,t.ch),Ae.replaceSelection("@▁@"),Ae.focus();case"add-multiple":return""===n&&Ae.setCursor(t.line,t.ch),Ae.replaceSelection(le),Ae.focus();case"inster-template-1":return""===n&&Ae.setCursor(t.line,t.ch),Ae.replaceSelection("\n**模板标题**\n模板正文内容可输入文本内容和粘贴图片等操作"),Ae.focus();case"eraser":return Ae.setValue(""),Ae.focus();case"trigger-watch":return De(!Ee),Ae.focus();case"trigger-full-screen":return Oe(!He),Ae.focus();case ge:return void Ue(ge);case he:return void Ue(he);case ie:return void Ue(ie);case de:return void Ue(de);case"maths-latex":return void Ue("maths-latex");case re:return void Ue(re);case me:return void Ue(me);default:throw new Error}}),[Ae,Ee,He]),wt=(0,h.useCallback)((function(e,t){var n,a,o,g,i;switch(Ue(""),We){case ge:var r=e.title,d=e.link;return Ae.replaceSelection("[".concat(r,"](").concat(d,")")),Ae.focus();case he:var h=e.language,m=e.content;return Ae.replaceSelection(["```"+h,m,"```"].join("\n")),Ae.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,A.I)(l,(function(e){e.id?Ae.replaceSelection("![,](/api/attachments/".concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":Ae.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?Ae.replaceSelection("![ ".concat(u," ]( ").concat(c,' "').concat(u,'" )')):Ae.replaceSelection("![,](".concat(c,")")):(null==w||null===(g=w.type)||void 0===g?void 0:g.indexOf("video"))>-1?Ae.replaceSelection('<video width="100%" controls src="'.concat(c,'"></video>')):(null==w||null===(i=w.type)||void 0===i?void 0:i.indexOf("pdf"))>-1?Ae.replaceSelection('<a href="'.concat(c,"?type=").concat(w.type,'&disposition=inline" target="_blank">').concat(w.name,"</a>")):ce.includes(p)?Ae.replaceSelection('<a href="'.concat(c,'?type=office&disposition=inline" target="_blank">').concat(w.name,"</a>")):Ae.replaceSelection("[".concat(w.name,"](").concat(c,")")),Ae.focus();case me:for(var f=e.row,v=e.col,L=e.align,y="\n",x=0;x<f;x++){for(var F=[],B=[],b=0;b<v;b++)1===x&&B.push(se[L]),F.push(" ");1===x&&(y+="| ".concat(B.join(" | ")," |\n")),y+="| ".concat(F.join(1===v?"":" | ")," |\n")}return Ae.replaceSelection(y+"\n"),Ae.focus();default:throw new Error}}),[Ae,We]),pt=(0,h.useMemo)((function(){switch(We){case ge:return(0,l.jsx)(b,{callback:wt,onCancel:ft});case he:return(0,l.jsx)(G.Z,{callback:wt,onCancel:ft});case ie:return(0,l.jsx)(A.Z,{callback:wt,onCancel:ft});case re:return(0,l.jsx)(X,{callback:wt,onCancel:ft});case me:return(0,l.jsx)(Q,{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(){Ue("")}(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)}}}),[Ae,Pt]),(0,h.useEffect)((function(){$e(u)}),[u]);var vt={width:ue(r),height:ue(Qe)},Lt=((0,h.useMemo)((function(){if(Ve){var e=new Date(Ve),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}),[Ve]),function(e){var t=[];if(O){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 yt=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(He?"full-screen":""),style:vt,children:[(0,l.jsx)(v,{insertTemp:F,watch:Ee,fullScreen:He,showNullButton:R,showNullProgramButton:O,onActionCallback:ut,hidetoolBar:I,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:ye})}),Ee?(0,l.jsxs)("div",{ref:lt,className:"preview-container",children:["stex"===N&&(0,l.jsx)(c,{value:Ce}),"stex"!==N&&(0,l.jsx)(P.Z,{disabledFill:ve,showProgramFill:O,value:Ce})]}):null]})]})}),T?(0,l.jsx)("a",{ref:Pt,className:"editor-resize"}):null,We===de&&(0,l.jsx)(C,{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)),yt(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)},52322:function(e,t,n){"use strict";n(7543);var a=n(57809),o=n(78673),g=n(37712),i=a.default.Option;t.Z=function(e){var t=e.isTheoretical,n=e.onFontSizeChange,r=e.cmFontSize,d=e.cmCodeMode,h=(e.autoFormat,e.onCodeModeChange),m=e.onTabToSpace,S=(e.onAutoFormat,e.formatDocument),s=e.className,P=void 0===s?"":s,l=e.tabToSpace,c=e.children,u=e.code_editor,w=e.challenge;return(0,g.jsxs)("div",{className:"tpi-code-setting ".concat(P),children:[(0,g.jsx)("h3",{children:"代码格式"}),(0,g.jsxs)("section",{children:[(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"显示模式"}),(0,g.jsxs)(a.default,{bordered:!1,size:"small",value:d,onChange:h,children:[(0,g.jsx)(i,{value:"vs",children:"白色背景"}),(0,g.jsx)(i,{value:"vs-dark",children:"黑色背景"})]})]}),!t&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"字体大小"}),(0,g.jsxs)(a.default,{bordered:!1,size:"small",value:r,onChange:n,children:[(0,g.jsx)(i,{value:12,children:"12px"}),(0,g.jsx)(i,{value:14,children:"14px"}),(0,g.jsx)(i,{value:16,children:"16px"}),(0,g.jsx)(i,{value:18,children:"18px"}),(0,g.jsx)(i,{value:20,children:"20px"}),(0,g.jsx)(i,{value:22,children:"22px"})]})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"Tab转换"}),(0,g.jsx)(o.Z,{checked:l,onChange:m})]}),(0,g.jsx)("div",{className:"file-item",onClick:S,children:(0,g.jsx)("b",{style:{cursor:"pointer"},children:"格式化代码"})})]})]}),!t&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h3",{children:"快捷键"}),(0,g.jsxs)("section",{children:[(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"保存代码"}),(0,g.jsx)("span",{children:"Ctrl + S"})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"唤出快捷键列表"}),(0,g.jsx)("span",{children:"F1 / Alt + F1"})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"左右缩进"}),(0,g.jsx)("span",{children:"Ctrl + ]/["})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"跳到匹配的括号"}),(0,g.jsx)("span",{children:"Ctrl + Shift + \\"})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"转到行首"}),(0,g.jsx)("span",{children:"Home"})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"转到行尾"}),(0,g.jsx)("span",{children:"End"})]})]}),c]}),!t&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h3",{children:"快捷键"}),(0,g.jsxs)("section",{children:[(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"实训难易度"}),(0,g.jsx)("span",{children:{1:"简单",2:"中等",3:"困难"}[null==w?void 0:w.difficulty]})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"实验环境"}),(0,g.jsx)("span",{children:null==u?void 0:u.name})]}),(0,g.jsxs)("div",{className:"file-item",children:[(0,g.jsx)("b",{children:"实验容器网络"}),(0,g.jsx)("span",{children:null!=u&&u.close_internet?"关闭外网":"开启外网"})]})]})]})]})}},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 Ve},O5:function(){return mt},_b:function(){return it},t7:function(){return T},Gi:function(){return Be},YG:function(){return Fe},qp:function(){return F},vr:function(){return at},qE:function(){return Ye},Je:function(){return _},wb:function(){return ge},cq:function(){return Ee},tp:function(){return G}});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+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6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IY/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),y=n.n(L),x=n(89392),F=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,F=void 0===L?41:L,B=e.style,b=void 0===B?{}:B,G=e.fontColor,A=void 0===G?"#6A7283":G,z=e.showCount,N=(0,a.useState)(0),j=m()(N,2),C=j[0],k=j[1],M=(0,a.useState)(!1),T=m()(M,2),E=T[0],D=T[1],_=(0,a.useRef)(null),R=(0,a.useRef)(null);return(0,a.useEffect)((function(){var e;0!==n.length&&((null==_||null===(e=_.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:y()(S,d),style:b,children:[(0,r.jsx)("div",{onClick:(0,x.throttle)((function(){return null==i?void 0:i()}),2e3),style:{width:F,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:R,style:C>0?{height:1===C?97:"auto",overflow:1===C?"hidden":"auto",paddingRight:55}:{paddingRight:0},children:(0,r.jsx)("div",{className:u,ref:_,children:null==n?void 0:n.map((function(e){return(0,r.jsxs)("span",{onClick:function(){return g(e.id)},style:{color:A},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)}))})}),!!C&&(0,r.jsx)(a.Fragment,{children:1===C?(0,r.jsxs)("div",{onClick:function(){var e;k(2),(null==_||null===(e=_.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(){R.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",b="active___F26E8",G=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:y()(B,g),children:n.map((function(e){return(0,r.jsx)("span",{onClick:function(){return o(e.id)},className:a===e.id?b:"",children:e.name},e.id)}))})},A="input___PW2zI",z="dropdown___vSy8B",N="menu___NiyBu",j="text___Grueu",C="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),x=L[0],F=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{F(decodeURIComponent(t||""))}catch(e){F(decodeURIComponent(t||""))}}),[i]);var B=function(){d(encodeURIComponent(x),p||null)};return(0,r.jsxs)("div",{className:y()(A,s),style:l,children:[!!o.length&&(0,r.jsxs)("div",{className:z,children:[(0,r.jsxs)("div",{className:j,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:C}),(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(x),t))},children:e.name},t)}))})]}),(0,r.jsx)(M.Z,{onPressEnter:B,value:x,onChange:function(e){F(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",_=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:y()(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:"下一页"})]})},R="list___oOsiS",H="wrap___G6T7F",O="lockWrap___Rl79E",Z="li___oZZ7l",I="cover___b2bYW",W="img___IQX7w",U="sign___HkT6C",K="name___SsJx8",X="e___TMqq0",V="tags___bcjyo",J="rate___YACg7",q=n(71418),Y=n(6848),Q=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:y()(R,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:H,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:Z,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:I,src:"".concat(m)}),e.is_jupyter&&(0,r.jsx)("img",{className:U,src:te}),e.is_jupyter_lab&&(0,r.jsx)("img",{className:U,src:ne}),e.is_unity_3d&&(0,r.jsx)("img",{className:U,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:V,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:J,children:[(0,r.jsx)(Q.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:O,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,x=Math.floor((P-(g-1)*i)/g),F=[{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:y()(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:x,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=F.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=F.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:y()(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,{})]})})},ye={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"},xe=n(79265),Fe=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:y()(ye.tabs,g),style:d,children:[(0,r.jsx)("div",{className:ye.tabsWrap,children:n.map((function(e,t){return(0,r.jsxs)("aside",{className:ye.tab,onClick:function(){o(e.id),e.link&&xe.history.push(e.link)},children:[(0,r.jsx)("div",{className:a===e.id?ye.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:ye.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:y()(t),style:a,children:o})},be="orderWrap___ZfyGX",Ge="orderIconWrap___XTB_O",Ae="orderAsc___KWHmA",ze="orderDesc___rHdbB",Ne="active___a7eSP",je="cursorPointer___gs9kL",Ce="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:y()(be,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:Ce,children:null===(t=h.find((function(e){return a===e.id})))||void 0===t?void 0:t.name})}),(0,r.jsxs)("span",{className:Ge,children:[(0,r.jsx)("span",{className:Ae,children:(0,r.jsx)("i",{className:"asc"===n?"iconfont icon-sanjiaoxing-up font12 ".concat(je," ").concat(Ne):"iconfont icon-sanjiaoxing-up font12 ".concat(je),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(je," ").concat(Ne):"iconfont icon-sanjiaoxing-down font12 ".concat(je),onClick:function(){return g("asc"===n?"desc":"asc")}})})]})]})},De=n(82242),_e=n.n(De),Re=n(7557),He=n.n(Re),Oe=n(41498),Ze=n.n(Oe),Ie=n(39647),We=n.n(Ie),Ue={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"],Ve=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,_e()(_e()({onClick:(0,x.throttle)(function(){var e=Ze()(He()().mark((function e(t){return He()().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:y()(Ue.btn,Ue["".concat(P,"-").concat(c)],t),style:n,size:P,shape:c,loading:f||i},u),{},{children:o}))},Je="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:y()(Je,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})]})},Qe="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:y()(Qe,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:y()(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:y()(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 xe.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,_e()(_e()({},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])}},93703:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var a=n(79800),o=n.n(a),g=n(82242),i=n.n(g),r=n(59301),d=n(78241),h=n(43428),m=n(43418),S=n(8591),s=n(24905),P=n(31775),l=n(52322),c=n(32552),u=n(64269),w="code-panel-container___RFtv_",p="action-oj-bar___ByFmZ",f="active___s9gT5",v="tip___XZhl7",L=n(89392),y=n(48999),x=n(37712),F={theme:(0,u.G)("cmCodeMode","vs-dark"),fontSize:(0,u.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,u.G)("cmTabToSpace",!0)},B=function(e){return e[e.set_font_size=0]="set_font_size",e[e.set_theme=1]="set_theme",e[e.on_tab_to_space=2]="on_tab_to_space",e[e.set_show_editor_setting=3]="set_show_editor_setting",e}(B||{});function b(e,t){switch(t.type){case B.set_show_editor_setting:return i()(i()({},e),{},{showEditorSetting:t.payload});case B.set_theme:return i()(i()({},e),{},{theme:t.payload});case B.set_font_size:return i()(i()({},e),{},{fontSize:t.payload});case B.on_tab_to_space:return i()(i()({},e),{},{tabToSpace:t.payload});default:throw new Error}}var G=function(e){var t,n=e.isLoading,a=e.value,g=void 0===a?[]:a,p=e.onChange,f=e.form,v=(0,r.useReducer)(b,F),y=o()(v,2),G=y[0],z=y[1],N=G.theme,j=G.fontSize,C=G.showEditorSetting,k=G.tabToSpace,M=(0,r.useState)("C"),T=o()(M,2),E=T[0],D=T[1],_=(0,r.useState)(!1),R=o()(_,2),H=R[0],O=R[1],Z=(0,r.useState)([]),I=o()(Z,2),W=I[0],U=I[1],K=(0,r.useRef)([]),X=d.Z.useWatch(["hack","languages"],f);(0,r.useEffect)((function(){null!=g&&g.length&&(K.current=(0,L.cloneDeep)(g))}),[g]),(0,r.useEffect)((function(){H&&U(X)}),[H]),(0,r.useEffect)((function(){D(null==X?void 0:X[0])}),[X]);var V={onFontSizeChange:function(e){z({type:B.set_font_size,payload:e}),(0,u.t)("cmFontSize",e)},tabToSpace:k,cmFontSize:j,className:"oj",cmCodeMode:N,onTabToSpace:function(e){z({type:B.on_tab_to_space,payload:e}),(0,u.t)("cmTabToSpace",e)},onCodeModeChange:function(e){z({type:B.set_theme,payload:e}),(0,u.t)("cmCodeMode",e)}};var J={key:E,value:null==g||null===(t=g.find((function(e){return e.language===E})))||void 0===t?void 0:t.code,language:E,onChange:function(e){var t,n=null===(t=K.current)||void 0===t?void 0:t.map((function(t){return t.language===E?(t.code=e,t):t}));K.current=(0,L.cloneDeep)(n),p(n)},theme:"vs",height:"calc(100% - 40px)",options:{fontSize:j,insertSpaces:k}};console.log(888,g,X);var q=g.filter((function(e){return null==X?void 0:X.includes(e.language)}));return(0,x.jsxs)(r.Fragment,{children:[(0,x.jsxs)("div",{className:w,children:[(0,x.jsx)(A,{setVisible:O,languageItems:q,onLanguage:function(e){return D(e)},language:E,onShowCodeSetting:function(){z({type:B.set_show_editor_setting,payload:!0})}}),!n&&(0,x.jsx)(P.ZP,i()({},J))]}),(0,x.jsx)(c.Z,{children:(0,x.jsx)(h.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:C,onClose:function(){z({type:B.set_show_editor_setting,payload:!1})},children:(0,x.jsx)(l.Z,i()({},V))})}),(0,x.jsx)(m.Z,{centered:!0,open:H,title:"编程语言配置",width:564,onOk:function(){W.length?(f.setFieldValue(["hack","languages"],W),O(!1)):S.ZP.warning("请选择编程语言")},onCancel:function(){return O(!1)},children:(0,x.jsx)("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"},children:(0,x.jsx)(s.Z.Group,{value:W,options:[{label:"C语言",value:"C"},{label:"C++语言",value:"C++",style:{marginLeft:30}},{label:"Java语言",value:"Java",style:{marginLeft:30}},{label:"Python语言",value:"Python",style:{marginLeft:30}}],onChange:function(e){U(e)}})})})]})};function A(e){var t=e.languageItems,n=e.language,a=(e.onShowCodeSetting,e.onLanguage),o=e.setVisible;return(0,x.jsxs)("div",{className:p,children:[null==t?void 0:t.map((function(e){return(0,x.jsxs)("aside",{className:n===(null==e?void 0:e.language)?f:"",onClick:function(){return a(null==e?void 0:e.language)},children:[(0,x.jsx)("i",{className:"iconfont icon-bianchengyuyan1"}),(0,x.jsx)("span",{children:null==e?void 0:e.language})]},null==e?void 0:e.language)})),(0,x.jsxs)("div",{className:v,children:[(0,x.jsx)("i",{className:"iconfont icon-tishi12 font14",style:{color:"#FEB636",marginRight:3}}),(0,x.jsx)("span",{children:"设置初始代码,为学生提供明确编译起点"})]}),(0,x.jsxs)(y.op,{onClick:function(){return o(!0)},shape:"default",children:[(0,x.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAcCAYAAAAJKR1YAAAAAXNSR0IArs4c6QAAA8pJREFUWEfdl1toHUUYx//f7p7LbnIuSU4bk2JqS3qxbTA9FsQXBamJNMVS8CEPAfGhakQFUaHQh2Kp4IPgBfTBBx9UUHyQGgslscGCIr2QHlpfWg1pktPW0rTunvttdqadTY85yUmTTXJSwe9pZ3dm/r/5f8P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4/VjDBqtyTldAJ/9IN/MiOyYISz4PCOJGV7RhnxR9fupSwM4VBwBMKJrvnZ9at9yau8A7ulgdO7eZq+0AAAAASUVORK5CYII=",width:18,style:{marginRight:8}}),"编程语言配置"]})]})}},59838:function(e,t,n){"use strict";n.d(t,{GM:function(){return m},MK:function(){return h},PR:function(){return o},ZS:function(){return s},d1:function(){return g},fu:function(){return i},j2:function(){return S},l_:function(){return r},uE:function(){return P},zQ:function(){return d}});var a=n(82710);function o(){return(0,a.U2)("problems/new.json")}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"question";return(0,a.U2)("disciplines.json",{source:e})}function i(e){return(0,a.U2)("problems/".concat(e,"/edit.json"))}function r(e,t){return(0,a.gz)("problems/".concat(e,".json"),t)}function d(e){return(0,a.v_)("problems.json",e)}function h(e,t){return(0,a.v_)("exercises/".concat(e,"/exercise_questions.json"),t)}function m(e,t){return(0,a.gz)("exercise_questions/".concat(e,".json"),t)}function S(e){return(0,a.v_)("problems/".concat(e,"/publish.json"))}function s(e){return(0,a.v_)("problems/".concat(e,"/cancel_publish.json"))}function P(e){return(0,a.U2)("problems/".concat(e,"/start.json"))}},53052:function(e,t,n){"use strict";n.d(t,{D0:function(){return S},R8:function(){return d},jw:function(){return m},y3:function(){return s}});var a=n(85573),o=n.n(a),g=n(57809),i=(n(59301),n(37712)),r=g.default.Option,d=function(e){return e[e.language=0]="language",e[e.difficult=1]="difficult",e[e.category=2]="category",e[e.openOrNot=3]="openOrNot",e}({}),h=o()(o()(o()(o()({},d.language,[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}]),d.difficult,[{title:"简单",key:1},{title:"中等",key:2},{title:"困难",key:3}]),d.category,[{title:"程序设计",key:1},{title:"算法",key:2}]),d.openOrNot,[{title:"公开",key:1},{title:"私有",key:0}]);function m(e){return h[e].map((function(e){return(0,i.jsxs)(r,{value:e.key,children:[" ",e.title," "]},e.title)}))}function S(e,t){e.map((function(e){var n=e.id,a=e.name,o=e.sub_disciplines,g={value:n,label:a};t.push(g),o&&o.length>0&&(g.children=[],S(o,g.children))}))}function s(e,t){for(var n=[],a=0;a<e.length;a++){var o,g=e[a];if((null===(o=g.sub_disciplines)||void 0===o?void 0:o.length)>0){n[0]=g.id;for(var i=0;i<g.sub_disciplines.length;i++){var r=g.sub_disciplines[i];if(r.id===t)return n[1]=r.id,[n,r.tag_disciplines||r.sub_disciplines||[]]}}}return[n,[]]}},65707:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var a=function(e){return e[e.Single=0]="Single",e[e.Multiple=1]="Multiple",e[e.Judge=2]="Judge",e[e.Fill=3]="Fill",e[e.Subjective=4]="Subjective",e[e.Shixun=5]="Shixun",e[e.Program=6]="Program",e[e.Combine=7]="Combine",e}({})},64269:function(e,t,n){"use strict";n.d(t,{G:function(){return i},t:function(){return g}});var a=n(7062),o=n.n(a);function g(e,t){var n=o().get("__ec");n||(n={}),n[e]=t,o().set("__ec",n)}function i(e,t){var n=o().get("__ec");return n?void 0===n[e]?t:n[e]:t}},11037:function(e,t){"use strict";t.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},7543:function(){},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnW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