From 36f8e63fc34648a4e43d8c2606bf84487475dc37 Mon Sep 17 00:00:00 2001 From: WalterNorthwoods Date: Wed, 8 Nov 2017 14:40:19 -0500 Subject: [PATCH] 1.8.1 * Fixed the measurement of GraphObjects with GraphObject.isPanelMain in Links and Auto panels. --- api/index.html | 2 +- api/symbols/ActionTool.html | 2 +- api/symbols/Adornment.html | 2 +- api/symbols/AnimationManager.html | 2 +- api/symbols/Binding.html | 2 +- api/symbols/Brush.html | 2 +- api/symbols/ChangedEvent.html | 2 +- api/symbols/CircularEdge.html | 2 +- api/symbols/CircularLayout.html | 2 +- api/symbols/CircularVertex.html | 2 +- api/symbols/ClickCreatingTool.html | 2 +- api/symbols/ClickSelectingTool.html | 2 +- api/symbols/CommandHandler.html | 2 +- api/symbols/ContextMenuTool.html | 2 +- api/symbols/Diagram.html | 2 +- api/symbols/DiagramEvent.html | 2 +- api/symbols/DragSelectingTool.html | 2 +- api/symbols/DraggingTool.html | 2 +- api/symbols/ForceDirectedEdge.html | 2 +- api/symbols/ForceDirectedLayout.html | 2 +- api/symbols/ForceDirectedVertex.html | 2 +- api/symbols/Geometry.html | 2 +- api/symbols/GraphLinksModel.html | 2 +- api/symbols/GraphObject.html | 2 +- api/symbols/GridLayout.html | 2 +- api/symbols/Group.html | 2 +- api/symbols/HTMLInfo.html | 2 +- api/symbols/InputEvent.html | 2 +- api/symbols/Iterable.html | 2 +- api/symbols/Iterator.html | 2 +- api/symbols/Layer.html | 2 +- api/symbols/LayeredDigraphEdge.html | 2 +- api/symbols/LayeredDigraphLayout.html | 2 +- api/symbols/LayeredDigraphVertex.html | 2 +- api/symbols/Layout.html | 2 +- api/symbols/LayoutEdge.html | 2 +- api/symbols/LayoutNetwork.html | 2 +- api/symbols/LayoutVertex.html | 2 +- api/symbols/Link.html | 2 +- api/symbols/LinkReshapingTool.html | 2 +- api/symbols/LinkingBaseTool.html | 2 +- api/symbols/LinkingTool.html | 2 +- api/symbols/List.html | 2 +- api/symbols/Map.html | 2 +- api/symbols/Margin.html | 2 +- api/symbols/Model.html | 2 +- api/symbols/Node.html | 2 +- api/symbols/Overview.html | 2 +- api/symbols/Palette.html | 2 +- api/symbols/Panel.html | 2 +- api/symbols/PanningTool.html | 2 +- api/symbols/Part.html | 2 +- api/symbols/PathFigure.html | 2 +- api/symbols/PathSegment.html | 2 +- api/symbols/Picture.html | 2 +- api/symbols/Placeholder.html | 2 +- api/symbols/Point.html | 2 +- api/symbols/Rect.html | 2 +- api/symbols/RelinkingTool.html | 2 +- api/symbols/ResizingTool.html | 2 +- api/symbols/RotatingTool.html | 2 +- api/symbols/RowColumnDefinition.html | 2 +- api/symbols/Set.html | 2 +- api/symbols/Shape.html | 2 +- api/symbols/Size.html | 2 +- api/symbols/Spot.html | 2 +- api/symbols/TextBlock.html | 2 +- api/symbols/TextEditingTool.html | 2 +- api/symbols/Tool.html | 2 +- api/symbols/ToolManager.html | 2 +- api/symbols/Transaction.html | 2 +- api/symbols/TreeEdge.html | 2 +- api/symbols/TreeLayout.html | 2 +- api/symbols/TreeModel.html | 2 +- api/symbols/TreeVertex.html | 2 +- api/symbols/UndoManager.html | 2 +- .../screenshots/GoCloudStorageManager.png | Bin 0 -> 52320 bytes doc/changelog.html | 22 + intro/goIntro.js | 263 ++++++------ intro/storage.html | 294 +++++++++++++ package.json | 2 +- release/go-debug.js | 394 +++++++++--------- release/go.js | 292 ++++++------- samples/all.html | 9 + samples/indexList.js | 45 +- .../api/assets/js/lib/backbone-1.1.2.min.js | 4 + storage/api/assets/js/search.js | 4 +- storage/api/assets/licensing.txt | 8 + storage/api/index.html | 34 +- storage/api/symbols/DiagramFile.html | 34 +- storage/api/symbols/GoCloudStorage.html | 61 ++- .../api/symbols/GoCloudStorageManager.html | 79 +++- storage/api/symbols/GoDropBox.html | 64 ++- storage/api/symbols/GoGoogleDrive.html | 67 ++- storage/api/symbols/GoLocalStorage.html | 72 +++- storage/api/symbols/GoOneDrive.html | 62 ++- storage/assets/css/bootstrap.min.css | 5 + storage/assets/js/api.js | 8 + storage/assets/js/bootstrap.min.js | 7 + storage/lib/gcs.d.ts | 2 +- storage/lib/gcs.js | 104 ++++- storage/npm-gcs-doc.js | 44 +- storage/samples/GoCloudStorageManager.html | 60 ++- storage/samples/GoCloudStorageUI.css | 12 +- storage/tsconfig.json | 2 +- storage/tsconfig.typedoc.json | 3 +- storage/typedoc.json | 2 +- 107 files changed, 1593 insertions(+), 618 deletions(-) create mode 100644 assets/images/screenshots/GoCloudStorageManager.png create mode 100644 intro/storage.html create mode 100644 storage/api/assets/licensing.txt create mode 100644 storage/assets/css/bootstrap.min.css create mode 100644 storage/assets/js/api.js create mode 100644 storage/assets/js/bootstrap.min.js diff --git a/api/index.html b/api/index.html index fa8f0a449..ff8882fbb 100644 --- a/api/index.html +++ b/api/index.html @@ -1105,7 +1105,7 @@

GoJS Class Index

diff --git a/api/symbols/ActionTool.html b/api/symbols/ActionTool.html index e9ea535cd..a07f5bec0 100644 --- a/api/symbols/ActionTool.html +++ b/api/symbols/ActionTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Adornment.html b/api/symbols/Adornment.html index 2da8680fd..94215218b 100644 --- a/api/symbols/Adornment.html +++ b/api/symbols/Adornment.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/AnimationManager.html b/api/symbols/AnimationManager.html index 9105bc922..4209cd16b 100644 --- a/api/symbols/AnimationManager.html +++ b/api/symbols/AnimationManager.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Binding.html b/api/symbols/Binding.html index 2143f1416..e8961b020 100644 --- a/api/symbols/Binding.html +++ b/api/symbols/Binding.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Brush.html b/api/symbols/Brush.html index af06d46d6..66f433424 100644 --- a/api/symbols/Brush.html +++ b/api/symbols/Brush.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ChangedEvent.html b/api/symbols/ChangedEvent.html index 766d958cb..6e6528675 100644 --- a/api/symbols/ChangedEvent.html +++ b/api/symbols/ChangedEvent.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/CircularEdge.html b/api/symbols/CircularEdge.html index 9b4184ffe..a8efbd57a 100644 --- a/api/symbols/CircularEdge.html +++ b/api/symbols/CircularEdge.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/CircularLayout.html b/api/symbols/CircularLayout.html index 35bcf4b94..30a288b0a 100644 --- a/api/symbols/CircularLayout.html +++ b/api/symbols/CircularLayout.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/CircularVertex.html b/api/symbols/CircularVertex.html index 6fccec755..c5b55ef31 100644 --- a/api/symbols/CircularVertex.html +++ b/api/symbols/CircularVertex.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ClickCreatingTool.html b/api/symbols/ClickCreatingTool.html index c42a2e53b..c6f3e33e7 100644 --- a/api/symbols/ClickCreatingTool.html +++ b/api/symbols/ClickCreatingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ClickSelectingTool.html b/api/symbols/ClickSelectingTool.html index 594bae342..b55a51679 100644 --- a/api/symbols/ClickSelectingTool.html +++ b/api/symbols/ClickSelectingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/CommandHandler.html b/api/symbols/CommandHandler.html index 3e2f9d417..bf8112a9c 100644 --- a/api/symbols/CommandHandler.html +++ b/api/symbols/CommandHandler.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ContextMenuTool.html b/api/symbols/ContextMenuTool.html index cf16ede64..1ddf46591 100644 --- a/api/symbols/ContextMenuTool.html +++ b/api/symbols/ContextMenuTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Diagram.html b/api/symbols/Diagram.html index a03ff2135..b7314b072 100644 --- a/api/symbols/Diagram.html +++ b/api/symbols/Diagram.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/DiagramEvent.html b/api/symbols/DiagramEvent.html index 98fb4447a..27b134d8f 100644 --- a/api/symbols/DiagramEvent.html +++ b/api/symbols/DiagramEvent.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/DragSelectingTool.html b/api/symbols/DragSelectingTool.html index 99a3db90e..e8b619233 100644 --- a/api/symbols/DragSelectingTool.html +++ b/api/symbols/DragSelectingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/DraggingTool.html b/api/symbols/DraggingTool.html index c607a8f6c..e37000838 100644 --- a/api/symbols/DraggingTool.html +++ b/api/symbols/DraggingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ForceDirectedEdge.html b/api/symbols/ForceDirectedEdge.html index 2e5c74e3d..aeec09e4b 100644 --- a/api/symbols/ForceDirectedEdge.html +++ b/api/symbols/ForceDirectedEdge.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ForceDirectedLayout.html b/api/symbols/ForceDirectedLayout.html index 72851a698..366e889b9 100644 --- a/api/symbols/ForceDirectedLayout.html +++ b/api/symbols/ForceDirectedLayout.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ForceDirectedVertex.html b/api/symbols/ForceDirectedVertex.html index 79aabd05a..26c8da09a 100644 --- a/api/symbols/ForceDirectedVertex.html +++ b/api/symbols/ForceDirectedVertex.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Geometry.html b/api/symbols/Geometry.html index 4fb3f37e3..fa146e265 100644 --- a/api/symbols/Geometry.html +++ b/api/symbols/Geometry.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/GraphLinksModel.html b/api/symbols/GraphLinksModel.html index b6b45f0bf..116be7d80 100644 --- a/api/symbols/GraphLinksModel.html +++ b/api/symbols/GraphLinksModel.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/GraphObject.html b/api/symbols/GraphObject.html index ad0178e38..3802bc54a 100644 --- a/api/symbols/GraphObject.html +++ b/api/symbols/GraphObject.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/GridLayout.html b/api/symbols/GridLayout.html index 86784f77e..cb00cb748 100644 --- a/api/symbols/GridLayout.html +++ b/api/symbols/GridLayout.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Group.html b/api/symbols/Group.html index 5969d9b10..484069ee5 100644 --- a/api/symbols/Group.html +++ b/api/symbols/Group.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/HTMLInfo.html b/api/symbols/HTMLInfo.html index 6c2dea364..91046d4b0 100644 --- a/api/symbols/HTMLInfo.html +++ b/api/symbols/HTMLInfo.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/InputEvent.html b/api/symbols/InputEvent.html index cb1673620..89c79b877 100644 --- a/api/symbols/InputEvent.html +++ b/api/symbols/InputEvent.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Iterable.html b/api/symbols/Iterable.html index f27e99b45..24c2c01bf 100644 --- a/api/symbols/Iterable.html +++ b/api/symbols/Iterable.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Iterator.html b/api/symbols/Iterator.html index e6f7177f2..f017247f0 100644 --- a/api/symbols/Iterator.html +++ b/api/symbols/Iterator.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Layer.html b/api/symbols/Layer.html index de0f42883..64faefe3a 100644 --- a/api/symbols/Layer.html +++ b/api/symbols/Layer.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LayeredDigraphEdge.html b/api/symbols/LayeredDigraphEdge.html index c731857cd..14cb5a8a9 100644 --- a/api/symbols/LayeredDigraphEdge.html +++ b/api/symbols/LayeredDigraphEdge.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LayeredDigraphLayout.html b/api/symbols/LayeredDigraphLayout.html index 56ea7c1c4..f0a3bbf63 100644 --- a/api/symbols/LayeredDigraphLayout.html +++ b/api/symbols/LayeredDigraphLayout.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LayeredDigraphVertex.html b/api/symbols/LayeredDigraphVertex.html index fa3b8e568..9d4828aaf 100644 --- a/api/symbols/LayeredDigraphVertex.html +++ b/api/symbols/LayeredDigraphVertex.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Layout.html b/api/symbols/Layout.html index cb32b700a..b691ca971 100644 --- a/api/symbols/Layout.html +++ b/api/symbols/Layout.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LayoutEdge.html b/api/symbols/LayoutEdge.html index 04a2b212b..710d06576 100644 --- a/api/symbols/LayoutEdge.html +++ b/api/symbols/LayoutEdge.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LayoutNetwork.html b/api/symbols/LayoutNetwork.html index 353268a59..0919d83ad 100644 --- a/api/symbols/LayoutNetwork.html +++ b/api/symbols/LayoutNetwork.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LayoutVertex.html b/api/symbols/LayoutVertex.html index dd2a7a329..a629283d3 100644 --- a/api/symbols/LayoutVertex.html +++ b/api/symbols/LayoutVertex.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Link.html b/api/symbols/Link.html index 8f51a4ea5..265db215c 100644 --- a/api/symbols/Link.html +++ b/api/symbols/Link.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LinkReshapingTool.html b/api/symbols/LinkReshapingTool.html index b5ea6f67e..28df9159c 100644 --- a/api/symbols/LinkReshapingTool.html +++ b/api/symbols/LinkReshapingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LinkingBaseTool.html b/api/symbols/LinkingBaseTool.html index d93e33591..441afa1de 100644 --- a/api/symbols/LinkingBaseTool.html +++ b/api/symbols/LinkingBaseTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/LinkingTool.html b/api/symbols/LinkingTool.html index 1c21fb383..a8651ba8c 100644 --- a/api/symbols/LinkingTool.html +++ b/api/symbols/LinkingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/List.html b/api/symbols/List.html index c99380aae..4ee01cf4f 100644 --- a/api/symbols/List.html +++ b/api/symbols/List.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Map.html b/api/symbols/Map.html index ab80256bd..541c993b8 100644 --- a/api/symbols/Map.html +++ b/api/symbols/Map.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Margin.html b/api/symbols/Margin.html index fc3afb518..5016ae505 100644 --- a/api/symbols/Margin.html +++ b/api/symbols/Margin.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Model.html b/api/symbols/Model.html index d31d038b6..40412e473 100644 --- a/api/symbols/Model.html +++ b/api/symbols/Model.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Node.html b/api/symbols/Node.html index bdb1df9f8..c6ba7f50e 100644 --- a/api/symbols/Node.html +++ b/api/symbols/Node.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Overview.html b/api/symbols/Overview.html index d2fae4ebc..907419594 100644 --- a/api/symbols/Overview.html +++ b/api/symbols/Overview.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Palette.html b/api/symbols/Palette.html index 90ec744a5..a0443ff49 100644 --- a/api/symbols/Palette.html +++ b/api/symbols/Palette.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Panel.html b/api/symbols/Panel.html index a6fe5c2c1..690a5b48f 100644 --- a/api/symbols/Panel.html +++ b/api/symbols/Panel.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/PanningTool.html b/api/symbols/PanningTool.html index 180e8c73b..a50f8ab13 100644 --- a/api/symbols/PanningTool.html +++ b/api/symbols/PanningTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Part.html b/api/symbols/Part.html index 9b9078bb0..7f0574058 100644 --- a/api/symbols/Part.html +++ b/api/symbols/Part.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/PathFigure.html b/api/symbols/PathFigure.html index ef98fde5a..9fa9bf415 100644 --- a/api/symbols/PathFigure.html +++ b/api/symbols/PathFigure.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/PathSegment.html b/api/symbols/PathSegment.html index 14e3255ca..c845f4b01 100644 --- a/api/symbols/PathSegment.html +++ b/api/symbols/PathSegment.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Picture.html b/api/symbols/Picture.html index 5973313fd..e92d4e0a0 100644 --- a/api/symbols/Picture.html +++ b/api/symbols/Picture.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Placeholder.html b/api/symbols/Placeholder.html index 467e97280..dde782a6a 100644 --- a/api/symbols/Placeholder.html +++ b/api/symbols/Placeholder.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Point.html b/api/symbols/Point.html index e282538ce..b9e411654 100644 --- a/api/symbols/Point.html +++ b/api/symbols/Point.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Rect.html b/api/symbols/Rect.html index 4b5d49500..8be7be61a 100644 --- a/api/symbols/Rect.html +++ b/api/symbols/Rect.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/RelinkingTool.html b/api/symbols/RelinkingTool.html index 778570bfa..47dfd5ba7 100644 --- a/api/symbols/RelinkingTool.html +++ b/api/symbols/RelinkingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ResizingTool.html b/api/symbols/ResizingTool.html index 96fe762af..61bd55f87 100644 --- a/api/symbols/ResizingTool.html +++ b/api/symbols/ResizingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/RotatingTool.html b/api/symbols/RotatingTool.html index eb85bacc3..a1c0a70ea 100644 --- a/api/symbols/RotatingTool.html +++ b/api/symbols/RotatingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/RowColumnDefinition.html b/api/symbols/RowColumnDefinition.html index f535b452d..ee6928c50 100644 --- a/api/symbols/RowColumnDefinition.html +++ b/api/symbols/RowColumnDefinition.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Set.html b/api/symbols/Set.html index b4324feac..399ab623f 100644 --- a/api/symbols/Set.html +++ b/api/symbols/Set.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Shape.html b/api/symbols/Shape.html index f735298ed..4ffb22c4e 100644 --- a/api/symbols/Shape.html +++ b/api/symbols/Shape.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Size.html b/api/symbols/Size.html index cc8f8fd85..c70e0364f 100644 --- a/api/symbols/Size.html +++ b/api/symbols/Size.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Spot.html b/api/symbols/Spot.html index a15f727b3..467381837 100644 --- a/api/symbols/Spot.html +++ b/api/symbols/Spot.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/TextBlock.html b/api/symbols/TextBlock.html index cdbf0088c..d46b00ef5 100644 --- a/api/symbols/TextBlock.html +++ b/api/symbols/TextBlock.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/TextEditingTool.html b/api/symbols/TextEditingTool.html index f20608305..cf8ce2ad3 100644 --- a/api/symbols/TextEditingTool.html +++ b/api/symbols/TextEditingTool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Tool.html b/api/symbols/Tool.html index fe806c809..4f1c383dd 100644 --- a/api/symbols/Tool.html +++ b/api/symbols/Tool.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/ToolManager.html b/api/symbols/ToolManager.html index a6b9da007..970a2a8b7 100644 --- a/api/symbols/ToolManager.html +++ b/api/symbols/ToolManager.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/Transaction.html b/api/symbols/Transaction.html index 434ba0452..e148829f6 100644 --- a/api/symbols/Transaction.html +++ b/api/symbols/Transaction.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/TreeEdge.html b/api/symbols/TreeEdge.html index 6c1a1391a..0ec7fe369 100644 --- a/api/symbols/TreeEdge.html +++ b/api/symbols/TreeEdge.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/TreeLayout.html b/api/symbols/TreeLayout.html index 8fd86acae..53f63dd22 100644 --- a/api/symbols/TreeLayout.html +++ b/api/symbols/TreeLayout.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/TreeModel.html b/api/symbols/TreeModel.html index 26452f623..4ed52d95a 100644 --- a/api/symbols/TreeModel.html +++ b/api/symbols/TreeModel.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/TreeVertex.html b/api/symbols/TreeVertex.html index 53a045c9f..c1b9afaf5 100644 --- a/api/symbols/TreeVertex.html +++ b/api/symbols/TreeVertex.html @@ -1111,7 +1111,7 @@
diff --git a/api/symbols/UndoManager.html b/api/symbols/UndoManager.html index 8885fd4bf..fe6b390a2 100644 --- a/api/symbols/UndoManager.html +++ b/api/symbols/UndoManager.html @@ -1111,7 +1111,7 @@
diff --git a/assets/images/screenshots/GoCloudStorageManager.png b/assets/images/screenshots/GoCloudStorageManager.png new file mode 100644 index 0000000000000000000000000000000000000000..66d9d9f9765c5fde2d9a7f1a91eaaa1c190ce01a GIT binary patch literal 52320 zcmeFXRZv|~6D~-Q;1XOz2<`-TcejJP>%kok!Nb8lxVw9BcXxMpcN_luPu;0|tLEvx zP0houy}Ot9?$xWm?iH#iFM*7Jj{pGyfh;8{stf_~<^Dep9OQpEppQ1km?cK&Vq0c#YFQLvOZ!UZ;#84J`E;fH}qWMFk|2RJfrk(=l zP0f}&4)o_(c%<0dW7f(y#_v_tlico9J}MGpd^VDxA^ij=F_rx7`~-iXv2q3WB0@t7 z#feF_{)g23|H=QaNaNl|z@FJe6Gi9qfB)coUzDqRkmE!5RlI`vWZ2JgYJ_5Au>D6D zOunHrqQODSVUt|_FQh{g;0GEUK613h#EpLfl;D3g1pmiW7-!dl_{d0vD ztb#e_6B$HhWWOmxWLgtDnf{;d6*73aG^9Fr(>E!2dx`FOZgu~=7K$HJnV@IOs@UH{ zURf6!jt;O}_8R|lnHQ}$@}EW2-aoE>U?Mp9z;3gd{6|24|C|MJ_LyiOtuzGvkIiHJ zQ}I^U@86AS$uLjk|2=&SwDY%Z3bg+r*@#fVKDWMxv(CQTbjJTSAq}v80J>)kB&}|} z@DpmVNB5?#wENyS$CR@yx~zrIzfH6r)F-D}jafeEKHI-d7@mz&3YaQEfu5x{eVmJR z@6P$m?}y=4zIA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OD(Zn4Fqgx%z(nr)7ajC!YNI`8nNJ@@Dmmv)cT>*>r1?+~m7Hh~52n z5&YzFwDYBT);(aMdTnjdl2+&Z zGt!sx69NMR6}R5`vRrxX`8|u5U4y6F-noMRx30|jdYOBj%!NbM8@@b!dV2c)m@(ta#;6XzrVt&4ht<>*7;W;nlQS5P1RaNzz6Vs}Y(9p{! zu?gHYcJXOxYMby??oEQG?@}N&ctM+T)|{YZR^_Z1hgkP3pq9afgcYkFT?}N#(-t7H z>42ns+GHF3dzy?43?BCXmWDUg2y=BDO$v0>5aD8LuG_yKc*ydmO+kLESFc{#*1@6C z^XOxoAOnMi`GctnK!-^nw?~i-wdz^1Ff%~G{fdW{me!L3DJ9EAZtEVc0XAnIiA>JL>JzPQ>T9YA6TOxFd?8l(kqitB_qmq*5Z+XA*`(Gk-p%dUOs%-6IIVdT(w@(o zwMuK|q0>6^CL9E{r{+jcirf=ollswUqJ8jD;V0!QE1GirqSTLipAMe6gdftfGae&xhIsZZ95 z!apx-1KVj1%&d>eZ^j`78!@fEVWqrl(I5HCiMGwrv2n@3=w$G8^>bP0l+XkKz*>ws literal 0 HcmV?d00001 diff --git a/doc/changelog.html b/doc/changelog.html index 3e574a7c0..1aa4aced8 100644 --- a/doc/changelog.html +++ b/doc/changelog.html @@ -68,6 +68,14 @@

GoJS Change Log

} + +

Changes for 1.8.1

+ +

Changes for 1.8 since 1.7.*

  • @@ -79,6 +87,19 @@

    Changes for 1.8 since 1.7.*

  • Samples and documentation:
      +
    • + Added GoCloudStorage classes, in the storage folder, for saving/loading models from + various cloud storage provider services plus localStorage. +

      + An example of using these services is at: Go Cloud Storage Manager. +

      + The API documentation is at Storage API. +

      + Load the library from Storage library. + You will also need to load the libraries for each of the services themselves (other than localStorage). +

      + The source code is at GoCloudStorage.ts and in other files in that folder. +

    • Typescript definition file (go.d.ts) fixes.
    • @@ -151,6 +172,7 @@

      Changes for 1.8 since 1.7.*

      return !this.diagram.selection.any(function(p) { return p.data.key.indexOf("e") >= 0; }) && go.CommandHandler.prototype.canDeleteSelection.call(this); }, +

      Overriding the method supports the updating/enablement of commands that call CommandHandler.deleteSelection. Furthermore not having a "cancel" property on the DiagramEvent avoids any potential problems that might occur if there are multiple listeners for the "SelectionDeleting" event. diff --git a/intro/goIntro.js b/intro/goIntro.js index e3193e61b..640250dc5 100644 --- a/intro/goIntro.js +++ b/intro/goIntro.js @@ -2,39 +2,40 @@ // Load necessary scripts: if (window.require) { - // declare required libraries and ensure Bootstrap's dependency on jQuery - require.config({ - paths: { - "highlight": "../assets/js/highlight", - "jquery": "../assets/js/jquery.min", // 1.11.3 - "bootstrap": "../assets/js/bootstrap.min" }, - shim: { - "bootstrap": ["jquery"] - } - }); - require(["highlight", "jquery", "bootstrap"], function() {}); + // declare required libraries and ensure Bootstrap's dependency on jQuery + require.config({ + paths: { + "highlight": "../assets/js/highlight", + "jquery": "../assets/js/jquery.min", // 1.11.3 + "bootstrap": "../assets/js/bootstrap.min" + }, + shim: { + "bootstrap": ["jquery"] + } + }); + require(["highlight", "jquery", "bootstrap"], function () { }); } else { - function goLoadSrc(filenames) { - var scripts = document.getElementsByTagName("script"); - var script = null; - for (var i = 0; i < scripts.length; i++) { - if (scripts[i].src.indexOf("goIntro") > 0) { - script = scripts[i]; - break; - } + function goLoadSrc(filenames) { + var scripts = document.getElementsByTagName("script"); + var script = null; + for (var i = 0; i < scripts.length; i++) { + if (scripts[i].src.indexOf("goIntro") > 0) { + script = scripts[i]; + break; + } + } + for (var i = 0; i < arguments.length; i++) { + var filename = arguments[i]; + if (!filename) continue; + var selt = document.createElement("script"); + selt.async = false; + selt.defer = false; + selt.src = "../assets/js/" + filename; + script.parentNode.insertBefore(selt, script.nextSibling); + script = selt; + } } - for (var i = 0; i < arguments.length; i++) { - var filename = arguments[i]; - if (!filename) continue; - var selt = document.createElement("script"); - selt.async = false; - selt.defer = false; - selt.src = "../assets/js/" + filename; - script.parentNode.insertBefore(selt, script.nextSibling); - script = selt; - } - } - goLoadSrc("highlight.js", (window.jQuery ? "" : "jquery.min.js"), "bootstrap.min.js"); + goLoadSrc("highlight.js", (window.jQuery ? "" : "jquery.min.js"), "bootstrap.min.js"); } var head = document.getElementsByTagName("head")[0]; @@ -60,22 +61,22 @@ head.appendChild(link); // Create a DIV and add it to the document just after the PRE element. // Evaluate the JavaScript text that is in the PRE element in order to initialize the Diagram. function goCode(pre, w, h, diagramclass, parentid) { - if (diagramclass === undefined) diagramclass = go.Diagram; - if (typeof pre === "string") pre = document.getElementById(pre); - var div = document.createElement("div"); - div.style.width = w + "px"; - div.style.height = h + "px"; - div.className = "diagramStyling"; - var parent; - if (parentid === undefined) { - parent = pre.parentNode; - } else { - parent = document.getElementById(parentid); - } - parent.appendChild(div); - // temporarily bind "diagram" to the main Diagram for the DIV, and "$" to go.GraphObject.make - var f = eval("(function (diagram, $) {" + pre.textContent + "})"); - f(new diagramclass(div), go.GraphObject.make); + if (diagramclass === undefined) diagramclass = go.Diagram; + if (typeof pre === "string") pre = document.getElementById(pre); + var div = document.createElement("div"); + div.style.width = w + "px"; + div.style.height = h + "px"; + div.className = "diagramStyling"; + var parent; + if (parentid === undefined) { + parent = pre.parentNode; + } else { + parent = document.getElementById(parentid); + } + parent.appendChild(div); + // temporarily bind "diagram" to the main Diagram for the DIV, and "$" to go.GraphObject.make + var f = eval("(function (diagram, $) {" + pre.textContent + "})"); + f(new diagramclass(div), go.GraphObject.make); } // Traverse the whole document and replace TYPENAME with: @@ -83,102 +84,113 @@ function goCode(pre, w, h, diagramclass, parentid) { // and TYPENAME.MEMBERNAME with: // TYPENAME.MEMBERNAME function goIntro() { - _traverseDOM(document); + _traverseDOM(document); - // add class to main content - var content = document.getElementById('content'); - content.className = "col-md-10"; + // add class to main content + var content = document.getElementById('content'); + content.className = "col-md-10"; - // side navigation - var navindex = document.createElement('div'); - navindex.id = "navindex"; - navindex.className = "col-md-2"; - navindex.innerHTML = myMenu; - var container = document.getElementById('container'); - container.insertBefore(navindex, content); + // side navigation + var navindex = document.createElement('div'); + navindex.id = "navindex"; + navindex.className = "col-md-2"; + navindex.innerHTML = myMenu; + var container = document.getElementById('container'); + container.insertBefore(navindex, content); - // top navbar - var navbar = document.createElement('div'); - navbar.innerHTML = myNavbar; - document.body.insertBefore(navbar, container); + // top navbar + var navbar = document.createElement('div'); + navbar.innerHTML = myNavbar; + document.body.insertBefore(navbar, container); - // When the page loads, change the class of li's to highlight the current page - var url = window.location.href; - var lindex = url.lastIndexOf('/'); - url = url.slice(lindex+1).toLowerCase(); - var lis = document.getElementById("sections").getElementsByTagName("li"); - var l = lis.length; + // When the page loads, change the class of li's to highlight the current page + var url = window.location.href; + var lindex = url.lastIndexOf('/'); + url = url.slice(lindex + 1).toLowerCase(); + var lis = document.getElementById("sections").getElementsByTagName("li"); + var l = lis.length; - var currentindex = -1; - for (var i = 0; i < l; i++) { - var lowerhref = lis[i].childNodes[0].href.toLowerCase(); - if (lowerhref.indexOf('intro') === -1) continue; - if (lowerhref.indexOf('/' + url) !== -1) { - currentindex = i; - lis[i].childNodes[0].className = "selected"; - break; + var currentindex = -1; + for (var i = 0; i < l; i++) { + var lowerhref = lis[i].childNodes[0].href.toLowerCase(); + if (lowerhref.indexOf('intro') === -1) continue; + if (lowerhref.indexOf('/' + url) !== -1) { + currentindex = i; + lis[i].childNodes[0].className = "selected"; + break; + } } - } - // prev & next page navigation - var pagenav = document.createElement("div"); - var nav = "

      "; - if (currentindex > 0) { - var prevurl = lis[currentindex - 1].childNodes[0].href.toLowerCase(); - nav += "<Previous Intro Page"; - } else { - nav += "<Learn"; - } - if (currentindex < lis.length - 1) { - var nexturl = lis[currentindex + 1].childNodes[0].href.toLowerCase(); - nav += "Next Intro Page>"; - } - nav += "
      "; - pagenav.innerHTML = nav; - content.appendChild(pagenav); + // prev & next page navigation + var pagenav = document.createElement("div"); + var nav = "
      "; + if (currentindex > 0) { + var prevurl = lis[currentindex - 1].childNodes[0].href.toLowerCase(); + nav += "<Previous Intro Page"; + } else { + nav += "<Learn"; + } + if (currentindex < lis.length - 1) { + var nexturl = lis[currentindex + 1].childNodes[0].href.toLowerCase(); + nav += "Next Intro Page>"; + } + nav += "
      "; + pagenav.innerHTML = nav; + content.appendChild(pagenav); - // footer - var footer = document.createElement("div"); - footer.className = "footer"; - var msg = "Copyright © 1998-2017 by Northwoods Software Corporation."; - if (go && go.version) { - msg += "GoJS® version " + go.version + ". " + msg; - } - footer.innerHTML = msg; - content.appendChild(footer); + // footer + var footer = document.createElement("div"); + footer.className = "footer"; + var msg = "Copyright © 1998-2017 by Northwoods Software Corporation."; + if (go && go.version) { + msg += "GoJS® version " + go.version + ". " + msg; + } + footer.innerHTML = msg; + content.appendChild(footer); } function _traverseDOM(node) { - if (node.nodeType === 1 && node.nodeName === "A" && !node.getAttribute("href")) { - var text = node.innerHTML.split("."); - if (text.length === 1) { - node.setAttribute("href", "../api/symbols/" + text[0] + ".html"); - node.setAttribute("target", "api"); - } else if (text.length === 2) { - node.setAttribute("href", "../api/symbols/" + text[0] + ".html" + "#" + text[1]); - node.setAttribute("target", "api"); - } else { - alert("Unknown API reference: " + node.innerHTML); + if (node.nodeType === 1 && node.nodeName === "A" && !node.getAttribute("href")) { + var inner = node.innerHTML; + var text = [inner]; + var isStatic = false; + if (inner.indexOf(",") > 0) { + text = inner.split(","); + isStatic = true; + node.innerHTML = inner.replace(",", "."); + } else { + text = inner.split("."); + } + if (text.length === 1) { + node.setAttribute("href", "../api/symbols/" + text[0] + ".html"); + node.setAttribute("target", "api"); + } else if (text.length === 2) { + node.setAttribute("href", "../api/symbols/" + text[0] + ".html" + "#" + (isStatic ? "static-" : "") + text[1]); + node.setAttribute("target", "api"); + } else { + alert("Unknown API reference: " + node.innerHTML); + } } - } - if (node.nodeType === 1 && + if (node.nodeType === 1 && (node.nodeName === "H2" || node.nodeName === "H3" || node.nodeName === "H4") && node.id) { - node.addEventListener("click", function(e) { - window.location.hash = "#" + node.id; - }); - } - for (var i = 0; i < node.childNodes.length; i++) { - _traverseDOM(node.childNodes[i]); - } + node.addEventListener("click", function (e) { + window.location.hash = "#" + node.id; + }); + } + for (var i = 0; i < node.childNodes.length; i++) { + _traverseDOM(node.childNodes[i]); + } } -(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ -(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), -m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) -})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); +(function (i, s, o, g, r, a, m) { + i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { + (i[r].q = i[r].q || []).push(arguments) + }, i[r].l = 1 * new Date(); a = s.createElement(o), + m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) +})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-1506307-5', 'auto'); ga('send', 'pageview'); @@ -257,6 +269,7 @@ var myMenu = '\
    • Diagram SVG
    • \
    • Printing
    • \
    • Server-side Images
    • \ +
    • Storage
    • \
    • Performance
    • \
    • Deployment
    • \
    \ diff --git a/intro/storage.html b/intro/storage.html new file mode 100644 index 000000000..a13205ef1 --- /dev/null +++ b/intro/storage.html @@ -0,0 +1,294 @@ + + + + + + GoJS Storage -- Northwoods Software + + + + + +
    +
    + +

    Storage

    + +

    + Storing GoJS model data in cloud storage is an excellent way to be able to save and load diagrams without worrying about local system concerns. + Interfacing with popular cloud storage services to achieve this goal is made easy with the GoCloudStorage library. +

    +

    + The GoCloudStorage class system lets developers easily store their GoJS diagram model data to popular cloud storage services. The GoCloudStorage + class itself is an abstract class, never to be instantiated. Instead, its subclasses are used, each interfacing with a different cloud storage service. Currently, the + GoCloudStorage system supports Dropbox, Google Drive, Microsoft OneDrive, and Local Storage. Class names are: +

    +

    + +

    GoCloudStorage Subclass Construction

    + +

    + This section provides a description of how to create an instance of a specific GoCloudStorage subclass, GoGoogleDrive. Due to the variable nature of + cloud storage service APIs, GoCloudStorage subclass constructors may vary. It is recommended you read the full documentation + for any GoCloudStorage subclass you wish to use. +

    +

    + Before doing anything else, make sure you have a script tag with a valid path to your gcs.js library. By default, all GoCloudStorage + subclasses are defined in the namespace gcs. +

    +

    + Here is a valid constructor call for GoGoogleDrive. +

    +
    +  var ggd = new gcs.GoGoogleDrive(
    +    diagrams,
    +    "16225356139-n64vtg7konuetna3of3mfcaj2iffhgmg.apps.googleusercontent.com",
    +    "AIzaSydBje3lBL67MMVKw467_pvuRg7_XMVGf18",
    +    defaultModel,
    +    "../storage/goCloudStorageIcons/");
    +
    +

    + What are all these parameters? We'll step through them, one by one. +

    + +

    Managed Diagrams

    +

    + We see the first parameter passed to the GoGoogleDrive constructor is something called diagrams. This is the parameter known to all GoCloudStorage subclasses + as managedDiagrams. It can be either an Array of + GoJS Diagrams or a single GoJS Diagram this instance of GoCloudStorage (in this case, an instance of GoGoogleDrive) will manage data storage for. + This parameter is required. +

    + +

    Client ID

    +

    + The second parameter passed to the GoGoogleDrive constructor is a long string. This is the + clientId parameter, required by all GoCloudStorage subclasses (except GoLocalStorage). This + long string ID tells the cloud storage provider (in this case, Google) and the user what application is asking to manipulate Google Drive file data. + This is usually given by the cloud storage provider's developer console or similar. You will need to create an application with the storage provider to obtain this ID. + Read more below at Obtaining Client IDs. +

    + +

    Google Picker API Key

    +

    + This is a special, GoGoogleDrive-specific parameter. It is included here to demonstrate that some GoCloudStorage subclasses will require parameters that others will not. + Again, it is recommended you read the full documentation for any GoCloudStorage subclass you wish to use. +

    +

    + GoGoogleDrive requires this key to allow for the familiar, Google Drive file picker interface during graphical file manipulation. Read more about this special parameter + in the full GoGoogleDrive.pickerApiKey documentation. +

    + +

    Default Model

    +

    + This is an optional parameter for all GoCloudStorage subclasses. It is the default model data assigned to newly created diagrams with calls to + create. Generally, this value is obtained like so: +

    +        var defaultModel = diagram.model.toJson();
    +    
    + If no value is supplied during construction, this defaults to a new GraphLinksModel. +

    + +

    Icons Relative Directory

    +

    + If you plan to use a GoCloudStorage subclass instance's commands that call their custom ui, + you will need to specify the directory in which the icons for storage services reside, relative to the directory your application page is. This is provided + by the optional iconsRelativeDirectory parameter. The default value is + "../goCloudStorageIcons/". +

    +

    + Exactly what the UI looks like varies between GoCloudStorage subclasses, although it is certain all contain references to storage service icons. Without providing this + parameter, it's likely the space where these images go will appear blank. + Please refer to the full documentation for details on class-specific UIs. +

    + +

    Obtaining Client IDs

    +

    + All GoCloudStorage subclasses (except GoLocalStorage) require a client ID as a parameter during construction. This lets the storage service provider and the user + know the identity of the application trying to manipulate their remote filesystems. Obtaining a client ID for the storage service you wish to use, therefore, + is a requirement to using the corresponding GoCloudStorage subclass. +

    +

    + The process for this varies from service to service, though the general steps are the same. This example uses the specific steps for obtaining a Google Drive client ID, + but the general steps should be analogous with other storage services. +

    +
      +
    1. Register an account
    2. +

      + If you do not already have an account with the storage service provider, you will need to make one. In our specific case, if you did not have a Google Account, + you would need to sign up for one now. +

      +
    3. Create a web application
    4. +

      + This step varies most from service to service. You must create and register an application with the storage service of your choice. For Google Drive, this can be done + by following the instructions here. +

      +
    5. Locate your new application's Client ID
    6. +

      + Your newly registered application now has a Client ID -- a long string like the one we saw in GoCloudStorage + Subclass Construction. You will use this string as the clientId parameter for your + instance of GoCloudStorage; in our specific case, an instance of GoGoogleDrive. +

      +
    +

    + There are storage-specific pages that can help walk you through the specific process of creating / registering an application with their service. Here are their links: +

    +

    + +

    Saving / Loading Data

    +

    + Now that you have a working instance of a GoCloudStorage subclass, it's time to start saving and loading some GoJS Diagram model data. We will continue with our + GoGoogleDrive example from GoCloudStorage Subclass Construction. +

    +

    + Let's say we have just opened our page. It has two GoJS Diagrams on it, both of which are managed by our instance of GoGoogleDrive. We can save their model data to + Google Drive in a variety of ways. +

    + +

    Save vs. Save With UI

    +

    + All GoCloudStorage subclasses have the functions save() and saveWithUI(). What's the difference? +

    +

    + saveWithUI() guarantees that, when called, it will show the ui element of the invoking instance of + GoCloudStorage, allowing the user to graphically specify a file name and/or location. save(), on the other hand, is a little more nuanced. + There are three cases. Let's return to our GoGoogleDrive example and explore them. +

    +
      +
    1. Saving With a Specified Path
    2. +

      + A call to save() with a valid string path parameter will save to that specific path in Google Drive, without showing any UI. +

      +            ggd.save("1SLvlfIC14Lbrrr806gg79XZ3588ZIdCbA1fotXL7lv4");
      +        
      +

      +

      + Note: What constitutes a valid path parameter varies from service to service. See GoCloudStorage + documentation for more details. +

      +
    3. Saving With a Valid Current Diagram File
    4. +

      + If no path is supplied, but ggd has a valid currentDiagramFile + (a representation of the file from Google Drive ggd has currently open, and whose contents are loaded in ggd's managedDiagrams), + then the diagram file content at the path in Google Drive corresponding to ggd.currentDiagramFile.path is updated with the contents of + ggd.managedDiagrams. +

      +
    5. Saving With Neither
    6. +

      + Finally, if no path is supplied and ggd.currentDiagramFile is not valid, ggd.saveWithUI() is called. +

      +
    +

    Loading

    +

    + Loading file data is more straightforward. A call to ggd.load(<some valid path string>) will load the file contents from the given path in Google Drive + to the ggd.managedDiagrams. A call to ggd.loadWithUI will display the ui and let + the user graphically choose which file to load. +

    + Note: The file being loaded must have been saved to storage from a page with GoJS Diagrams whose DIV IDs correspond with the DIV IDs of + managedDiagrams. Otherwise, it will not be clear to the GoCloudStorage subclass + where to load model data to, and an error will occur. +

    +

    + +

    Creating / Removing Data

    +

    + Creating and removing files with GoCloudStorage subclass instances is a bit more straightforward than saving and loading, but there is still some nuance. Let's take a look. +

    +

    Creating Files

    +

    + Continuing with our GoGoogleDrive example, what would you do if you wished to create a new file in storage to save ggd.managedDiagrams to? You would + call the create function. +

    +

    + This function does a few things. First, it sets each of ggd.managedDiagrams to ggd.defaultModel (which was assigned at construction, back in + GoCloudStorage Subclass Construction). Then, if the + isAutoSaving property of ggd is true, you will be prompted to + save your newly refreshed managedDiagrams to Google Drive via an automatic call to saveWithUI(). +

    +

    + Optionally, the create function can accept a path parameter, just as the save() and load() functions described back in + Saving / Loading Data. If this parameter is supplied, once each of ggd.managedDiagrams is reset to defaultModel, + their model data is saved to the given path in Google Drive. +

    + +

    Removing Files

    +

    + To remove a file from Google Drive, simply call ggd.remove(<some valid path string>). The file at the given path in Google Drive will be removed, + without showing any UI. +

    +

    + To remove a file from Google Drive with the ui element, call ggd.removeWithUI(). +

    + +

    Go Cloud Storage Manager

    +

    + What if you wanted to be able to save / load the diagrams on your page to / from many different cloud storage services? Say, Google Drive and Microsoft OneDrive? + Or Microsoft OneDrive, Dropbox, and Google Drive? Or any combination of the currently supported GoCloudStorage subclasses? That's what the + Go Cloud Storage Manager is for. +

    + +

    Constructing the GoCloudStorageManager

    +

    + Observe a standard GoCloudStorageManager construction process: +

    +        gls = new gcs.GoLocalStorage(myDiagram, defaultModel);
    +        god = new gcs.GoOneDrive(myDiagram, 'f9b171a6-a12e-48c1-b86c-814ed40fcdd1', defaultModel);
    +        ggd = new gcs.GoGoogleDrive(myDiagram, '16225373139-n24vtg7konuetna3ofbmfcaj2infhgmg.apps.googleusercontent.com', 'AIzaSyDBj43lBLpYMMVKw4aN_pvuRg7_XMVGf18', defaultModel);
    +        gdb = new gcs.GoDropBox(myDiagram, '3sm2ko6q7u1gbix', defaultModel);
    +        storages = [gls, god, ggd, gdb];
    +
    +        storageManager = new gcs.GoCloudStorageManager(storages, "../storage/goCloudStorageIcons/");
    +    
    + Despite all that code, there are only two parameters GoCloudStorageManager takes. Let's look at them. +

    +

    + The first parameter, storages, is a either an Array or Set of GoCloudStorage subclasses. + This tells the GoCloudStorageManager instance, storageManager, what storage services are being managed and how those services are managing their diagrams. +

    +

    + The second parameter is a string, and corresponds to the + iconsRelativeDirectory property of GoCloudStorageManager. This + is analogous to the iconsRelativeDirectory discussed in GoCloudStorage Subclass Construction. The only + difference is the GoCloudStorageManager applies this property to each of the GoCloudStorage subclasses' iconsRelativeDirectory properties. This parameter + is optional, but not supplying it may mean there are blank spaces in the ui where the storage service + icons are supposed to be. +

    + +

    Using the GoCloudStorageManager

    +

    + The first step in using the GoCloudStorageManager is to set the GoCloudStorage subclass you want to use in the moment. This is done through a UI, which is brought up with a + call to storageManager.selectStorageService(). storageManager.currentStorageService is set to the GoCloudStorage subclass managing the storage + service selected in the resultant UI. +

    +

    + Now that the GoCloudStorageManager is configured with the GoCloudStorage subclass you want to be using at the moment, managing files in storage is extremely easy. Use + of the GoCloudStorageManager assumes a desire for mainly graphical manipulation of data, so calls to save(), load(), create(), and + remove() do not take any parameters and all launch the proper ui for + storageManager.currentStorageService. +

    + +

    + You may want to update your page display based on the saving / loading / removal / creation of data using GoCloudStorageManager. All GoCloudStorageManager core methods + (save(), load(), create(), and remove()) return Promises that resolve with a special object, a + DiagramFile, representing the recently saved / loaded / created / removed file. With this data, you may update your + page display or perform any other action upon Promise resolution. Such as: +

    +        storageManager.load().then(function(fileData){
    +            console.log(fileData); // the fileData DiagramFile object
    +        });
    +    
    + Note: There are three guaranteed fields in any DiagramFile object: the name, id, and path of the represented file. +

    + +
    +
    + + diff --git a/package.json b/package.json index 7c692991a..ab3cf0ce7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gojs", - "version": "1.8.0", + "version": "1.8.1", "description": "Interactive diagrams, charts, and graphs, such as trees, flowcharts, orgcharts, UML, BPMN, or business diagrams", "keywords": [ "diagram", "chart", "tree", "flowchart", "orgchart", "uml", "bpmn", "graphics", "editor", "inspector", "drawing", "canvas", "shape", "svg", "hierarchy", "node", "link", "group", "vertex", "edge", "connection", "port", "label", "arrowhead", "family-tree", "decision-tree", "mindmap", "tournament", "treeview", "pipe-tree", "genogram", "ivr-tree", "parse-tree", "concept-map", "euler", "visualization", "entity-relationship", "er-diagram", "friend-wheel", "radial", "graph-distances", "graph-paths", "sankey", "pert", "gantt", "timeline", "monitor", "layer", "swimlane", "spreadsheet", "virtualization", "flow", "process", "state", "sequential-function", "grafcet", "sequence", "circuit", "record", "field", "table", "dataflow", "data-flow", "planogram", "seating", "pipes", "overview", "palette", "comment", "layout", "grid-layout", "tree-layout", "force-directed", "layered", "hierarchical", "circular", "fishbone", "ishikawa", "parallel", "serpentine", "treemap", "tree-map", "freehand", "polygon", "polyline", "bezier", "panel", "view", "model", "databinding", "data-binding", "binding", "transaction", "coordinates", "subgraph", "selection", "highlight", "tooltip", "context-menu", "tool", "command", "validation", "button", "template", "legend", "grid", "printing" ], "homepage": "https://gojs.net", diff --git a/release/go-debug.js b/release/go-debug.js index 9c05de860..a4c836e2a 100644 --- a/release/go-debug.js +++ b/release/go-debug.js @@ -1,9 +1,9 @@ /* - * GoJS v1.8.0 JavaScript Library for HTML Diagrams + * GoJS v1.8.1 JavaScript Library for HTML Diagrams * Northwoods Software, https://www.nwoods.com/ * GoJS and Northwoods Software are registered trademarks of Northwoods Software Corporation. * Copyright (C) 1998-2017 by Northwoods Software Corporation. All Rights Reserved. - * THIS SOFTWARE IS LICENSED. THE LICENSE AGREEMENT IS AT: https://gojs.net/1.8.0/doc/license.html. + * THIS SOFTWARE IS LICENSED. THE LICENSE AGREEMENT IS AT: https://gojs.net/1.8.1/doc/license.html. */ (function(window) { var f,ba={};if(!window.document||void 0===window.document.createElement("canvas").getContext)throw window.console&&window.console.log("The HTML Canvas element is not supported in this browser,or this browser is in Compatibility mode."),Error("The HTML Canvas element is not supported in this browser,or this browser is in Compatibility mode.");if(!Object.defineProperty)throw Error("GoJS requires a newer version of JavaScript"); Function.prototype.bind||(Function.prototype.bind=function(a){function b(){return g.apply(a,e.concat(d.call(arguments)))}function c(){}var d=Array.prototype.slice,e=d.call(arguments,1),g=this;c.prototype=this.prototype;b.prototype=new c;return b}); @@ -21,11 +21,11 @@ a.moveTo(e.x-4,e.y);a.lineTo(e.x+4,e.y);a.moveTo(e.x,e.y-4);a.lineTo(e.x,e.y+4); a.Mf+'"');a.to!==a&&D.trace(" SelectionObject: "+a.to.toString()+' SelectionObjectName: "'+a.Hy+'"');a.Bf!==a&&D.trace(" LocationObject: "+a.Bf.toString()+' LocationObjectName: "'+a.ly+'"');if(a.oh){for(var b="",c=a.oh.j;c.next();)b+=c.key+" ";D.trace(" Adornments: "+b)}null!==a.Ka&&D.trace(" ContainingGroup: "+a.Ka.toString());if(a instanceof G){if(0=d.length)){var e=D.wb(b,d);if(null!==e&&"function"!==typeof e){if(b.hasOwnProperty(d)){var g=Object.getPrototypeOf(b);if(g&&g.Hw&&g.Hw[d])continue}else if(D.Tx(b,d))continue;""===c&&(c=b+"\n");c+=' unknown property "'+d+'" has value: '+e+" at "+a+"\n"}}return c},xx:function(a,b){if(null!==b&&void 0!==b&&"number"!==typeof b&&"string"!== typeof b&&"boolean"!==typeof b&&"function"!==typeof b)if(void 0!==D.Jd(b)){if(!v.Uw.contains(b))if(v.Uw.add(b),v.vw.add(v.VE(a,b)),b instanceof K||b instanceof L||b instanceof oa)for(var c=b.j;c.next();)v.xx(a+"["+c.key+"]",c.value);else for(c in b){var d=D.wb(b,c);if(void 0!==d&&null!==d&&D.Qa(d)&&d!==b.Hw){if(b instanceof pa){if(d===b.rf)continue}else if(b instanceof x){if("data"===c||d===b.Pd)continue;if("itemArray"===c||d===b.cj)continue;if(b instanceof F&&d===b.Rl)continue}else if(!(b instanceof -E))if(b instanceof qa){if("archetypeGroupData"===c||d===b.ez)continue}else if(b instanceof ra){if("archetypeLinkData"===c||d===b.gz)continue;if("archetypeLabelNodeData"===c||d===b.fz)continue}else if(b instanceof ta){if("archetypeNodeData"===c||d===b.ul)continue}else if(b instanceof M){if("nodeDataArray"===c||d===b.ye)continue;if("linkDataArray"===c||d===b.df||d===b.ji)continue;if(d===b.Gc)continue;if(d===b.Ag)continue}else if(b instanceof ua||b instanceof va||b instanceof wa)continue;v.xx(a+"."+ +E))if(b instanceof qa){if("archetypeGroupData"===c||d===b.ez)continue}else if(b instanceof ra){if("archetypeLinkData"===c||d===b.gz)continue;if("archetypeLabelNodeData"===c||d===b.fz)continue}else if(b instanceof ta){if("archetypeNodeData"===c||d===b.ul)continue}else if(b instanceof M){if("nodeDataArray"===c||d===b.ye)continue;if("linkDataArray"===c||d===b.ef||d===b.ji)continue;if(d===b.Gc)continue;if(d===b.Ag)continue}else if(b instanceof ua||b instanceof va||b instanceof wa)continue;v.xx(a+"."+ c,d)}}}else if(Array.isArray(b))for(c=0;cc;c++)b[c]=c;for(var d=0,e=0,c=0;256>c;c++)d=(d+b[c]+119)%256,e=b[c],b[c]=b[d],b[d]=e;for(var d=c=0, -g="",h=0;hc;c++)b["0123456789abcdef".charAt(c>>4)+"0123456789abcdef".charAt(c&15)]=String.fromCharCode(c);a.length%2&&(a="0"+a);for(var d=[],e=0,c=0;cc;c++)b["0123456789abcdef".charAt(c>>4)+"0123456789abcdef".charAt(c&15)]=String.fromCharCode(c);a.length%2&&(a="0"+a);for(var d=[],e=0,c=0;cd;d++)b[D.Xg("7ca11abfd7330390")](D.Xg(c[d-1]),10,15*d+0);b[D.Xg("7ca11abfd022028846")]=D.Xg("39f046ebb36e4b");for(d=1;5>d;d++)b[D.Xg("7ca11abfd7330390")](D.Xg(c[d- 1]),10,15*d+0);if(4!==c.length||"5"!==c[0][0]||"7"!==c[3][0])D.s=function(a,b){var c=new ya(a,b,2);Object.freeze(c);a[b]=c;var d=a.pv;d instanceof oa||(d=new oa("string",ya),a.pv=d);d.add(b,c);return c};return a}();function ya(a,b,c){D.vc(this);this.BC=a;this.ac=b;this.NH=c}D.ka("EnumValue",ya);ya.prototype.toString=function(){return D.vf(this.BC)+"."+this.ac};D.w(ya,{Oe:"classType"},function(){return this.BC});D.w(ya,{name:"name"},function(){return this.ac});D.w(ya,{value:"value"},function(){return this.NH}); @@ -95,30 +95,30 @@ L.prototype.clear=L.prototype.clear=function(){this.J&&D.qa(this);this.Bd={};thi D.w(L,{size:"size"},function(){return this.Ad});D.w(L,{j:"iterator"},function(){if(0>=this.Ad)return Ka;var a=this.$b;return null!==a?(a.reset(),a):new Va(this)});function Xa(a){this.Na=a;this.Za=a.I;this.bb=null}D.ne(Xa,{key:!0,value:!0});D.w(Xa,{j:"iterator"},function(){return this});Xa.prototype.reset=Xa.prototype.reset=function(){this.Za=this.Na.I;this.bb=null}; Xa.prototype.next=Xa.prototype.next=function(){var a=this.Na;if(a.I!==this.Za){if(null===this.key)return!1;D.Ua(a)}var b=this.bb,b=null===b?a.Ma:b.fb;if(null!==b)return this.bb=b,this.value=this.key=a=b.key,!0;this.Uf();return!1};Xa.prototype.hasNext=function(){return this.next()};Xa.prototype.first=Xa.prototype.first=function(){var a=this.Na;this.Za=a.I;a=a.Ma;return null!==a?(this.bb=a,this.value=this.key=a=a.key):null}; Xa.prototype.any=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=b.Ma;null!==d;){if(a(d.key))return!0;b.I!==c&&D.Ua(b);d=d.fb}return!1};Xa.prototype.all=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=b.Ma;null!==d;){if(!a(d.key))return!1;b.I!==c&&D.Ua(b);d=d.fb}return!0};Xa.prototype.each=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=b.Ma;null!==d;)a(d.key),b.I!==c&&D.Ua(b),d=d.fb;return this}; -Xa.prototype.map=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=new K,e=b.Ma;null!==e;)d.add(a(e.key)),b.I!==c&&D.Ua(b),e=e.fb;return d.j};Xa.prototype.filter=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=new K(b.cf),e=b.Ma;null!==e;){var g=e.key;a(g)&&d.add(g);b.I!==c&&D.Ua(b);e=e.fb}return d.j};Xa.prototype.concat=function(a){return new Na(this,a.j)};D.w(Xa,{count:"count"},function(){return this.Na.Ad});Xa.prototype.Uf=function(){this.value=this.key=null;this.Za=-1}; +Xa.prototype.map=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=new K,e=b.Ma;null!==e;)d.add(a(e.key)),b.I!==c&&D.Ua(b),e=e.fb;return d.j};Xa.prototype.filter=function(a){var b=this.Na,c=b.I;this.bb=null;for(var d=new K(b.df),e=b.Ma;null!==e;){var g=e.key;a(g)&&d.add(g);b.I!==c&&D.Ua(b);e=e.fb}return d.j};Xa.prototype.concat=function(a){return new Na(this,a.j)};D.w(Xa,{count:"count"},function(){return this.Na.Ad});Xa.prototype.Uf=function(){this.value=this.key=null;this.Za=-1}; Xa.prototype.toString=function(){return null!==this.bb?"MapKeySetIterator@"+this.bb.value:"MapKeySetIterator"};function Ya(a){D.vc(this);this.J=!0;this.Na=a}D.Sa(Ya,L);Ya.prototype.freeze=function(){return this};Ya.prototype.Xa=function(){return this};Ya.prototype.toString=function(){return"MapKeySet("+this.Na.toString()+")"};Ya.prototype.add=Ya.prototype.add=function(){D.k("This Set is read-only: "+this.toString());return!1}; Ya.prototype.set=Ya.prototype.set=function(){D.k("This Set is read-only: "+this.toString());return!1};Ya.prototype.contains=Ya.prototype.contains=function(a){return this.Na.contains(a)};Ya.prototype.has=Ya.prototype.has=function(a){return this.contains(a)};Ya.prototype.remove=Ya.prototype["delete"]=Ya.prototype.remove=function(){D.k("This Set is read-only: "+this.toString());return!1};Ya.prototype.clear=Ya.prototype.clear=function(){D.k("This Set is read-only: "+this.toString())}; Ya.prototype.first=Ya.prototype.first=function(){var a=this.Na.Ma;return null!==a?a.key:null};Ya.prototype.any=function(a){for(var b=this.Na.Ma;null!==b;){if(a(b.key))return!0;b=b.fb}return!1};Ya.prototype.all=function(a){for(var b=this.Na.Ma;null!==b;){if(!a(b.key))return!1;b=b.fb}return!0};Ya.prototype.each=function(a){for(var b=this.Na.Ma;null!==b;)a(b.key),b=b.fb;return this};Ya.prototype.map=function(a){for(var b=new L,c=this.Na.Ma;null!==c;)b.add(a(c.key)),c=c.fb;return b}; -Ya.prototype.filter=function(a){for(var b=new L(this.Na.cf),c=this.Na.Ma;null!==c;){var d=c.key;a(d)&&b.add(d);c=c.fb}return b};Ya.prototype.concat=function(a){return this.jH().Tc(a)};Ya.prototype.copy=function(){return new Ya(this.Na)};Ya.prototype.toSet=Ya.prototype.jH=function(){var a=new L(this.Na.cf),b=this.Na.Bd,c;for(c in b)a.add(b[c].key);return a};Ya.prototype.toArray=Ya.prototype.oc=function(){var a=this.Na.Bd,b=Array(this.Na.Ad),c=0,d;for(d in a)b[c]=a[d].key,c++;return b}; -Ya.prototype.toList=function(){var a=new K(this.Na.cf),b=this.Na.Bd,c;for(c in b)a.add(b[c].key);return a};D.w(Ya,{count:"count"},function(){return this.Na.Ad});D.w(Ya,{size:"size"},function(){return this.Na.Ad});D.w(Ya,{j:"iterator"},function(){return 0>=this.Na.Ad?Ka:new Xa(this.Na)});function Za(a){this.Na=a;a.ej=null;this.Za=a.I;this.bb=null}D.ne(Za,{key:!0,value:!0});D.w(Za,{j:"iterator"},function(){return this}); +Ya.prototype.filter=function(a){for(var b=new L(this.Na.df),c=this.Na.Ma;null!==c;){var d=c.key;a(d)&&b.add(d);c=c.fb}return b};Ya.prototype.concat=function(a){return this.jH().Tc(a)};Ya.prototype.copy=function(){return new Ya(this.Na)};Ya.prototype.toSet=Ya.prototype.jH=function(){var a=new L(this.Na.df),b=this.Na.Bd,c;for(c in b)a.add(b[c].key);return a};Ya.prototype.toArray=Ya.prototype.oc=function(){var a=this.Na.Bd,b=Array(this.Na.Ad),c=0,d;for(d in a)b[c]=a[d].key,c++;return b}; +Ya.prototype.toList=function(){var a=new K(this.Na.df),b=this.Na.Bd,c;for(c in b)a.add(b[c].key);return a};D.w(Ya,{count:"count"},function(){return this.Na.Ad});D.w(Ya,{size:"size"},function(){return this.Na.Ad});D.w(Ya,{j:"iterator"},function(){return 0>=this.Na.Ad?Ka:new Xa(this.Na)});function Za(a){this.Na=a;a.ej=null;this.Za=a.I;this.bb=null}D.ne(Za,{key:!0,value:!0});D.w(Za,{j:"iterator"},function(){return this}); Za.prototype.reset=Za.prototype.reset=function(){var a=this.Na;a.ej=null;this.Za=a.I;this.bb=null};Za.prototype.next=Za.prototype.next=function(){var a=this.Na;if(a.I!==this.Za){if(null===this.key)return!1;D.Ua(a)}var b=this.bb,b=null===b?a.Ma:b.fb;if(null!==b)return this.bb=b,this.value=b.value,this.key=b.key,!0;this.Uf();return!1};Za.prototype.hasNext=function(){return this.next()}; Za.prototype.first=Za.prototype.first=function(){var a=this.Na;this.Za=a.I;a=a.Ma;if(null!==a){this.bb=a;var b=a.value;this.key=a.key;return this.value=b}return null};Za.prototype.any=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;){if(a(d.value))return!0;b.I!==c&&D.Ua(b);d=d.fb}return!1};Za.prototype.all=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;){if(!a(d.value))return!1;b.I!==c&&D.Ua(b);d=d.fb}return!0}; -Za.prototype.each=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;)a(d.value),b.I!==c&&D.Ua(b),d=d.fb;return this};Za.prototype.map=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=new K,e=b.Ma;null!==e;)d.add(a(e.value)),b.I!==c&&D.Ua(b),e=e.fb;return d.j};Za.prototype.filter=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=new K(b.cf),e=b.Ma;null!==e;){var g=e.value;a(g)&&d.add(g);b.I!==c&&D.Ua(b);e=e.fb}return d.j}; +Za.prototype.each=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;)a(d.value),b.I!==c&&D.Ua(b),d=d.fb;return this};Za.prototype.map=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=new K,e=b.Ma;null!==e;)d.add(a(e.value)),b.I!==c&&D.Ua(b),e=e.fb;return d.j};Za.prototype.filter=function(a){var b=this.Na;b.ej=null;var c=b.I;this.bb=null;for(var d=new K(b.df),e=b.Ma;null!==e;){var g=e.value;a(g)&&d.add(g);b.I!==c&&D.Ua(b);e=e.fb}return d.j}; Za.prototype.concat=function(a){this.Na.ej=null;return new Na(this,a.j)};D.w(Za,{count:"count"},function(){return this.Na.Ad});Za.prototype.Uf=function(){this.value=this.key=null;this.Za=-1;this.Na.ej=this};Za.prototype.toString=function(){return null!==this.bb?"MapValueSetIterator@"+this.bb.value:"MapValueSetIterator"};function Wa(a,b){this.key=a;this.value=b;this.Dp=this.fb=null}D.ne(Wa,{key:!0,value:!0});Wa.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"}; function $a(a){this.Na=a;a.$b=null;this.Za=a.I;this.bb=null}D.ne($a,{key:!0,value:!0});D.w($a,{j:"iterator"},function(){return this});$a.prototype.reset=$a.prototype.reset=function(){var a=this.Na;a.$b=null;this.Za=a.I;this.bb=null};$a.prototype.next=$a.prototype.next=function(){var a=this.Na;if(a.I!==this.Za){if(null===this.key)return!1;D.Ua(a)}var b=this.bb,b=null===b?a.Ma:b.fb;if(null!==b)return this.bb=b,this.key=b.key,this.value=b.value,!0;this.Uf();return!1};$a.prototype.hasNext=function(){return this.next()}; $a.prototype.first=$a.prototype.first=function(){var a=this.Na;this.Za=a.I;a=a.Ma;return null!==a?(this.bb=a,this.key=a.key,this.value=a.value,a):null};$a.prototype.any=function(a){var b=this.Na;b.$b=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;){if(a(d))return!0;b.I!==c&&D.Ua(b);d=d.fb}return!1};$a.prototype.all=function(a){var b=this.Na;b.$b=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;){if(!a(d))return!1;b.I!==c&&D.Ua(b);d=d.fb}return!0}; $a.prototype.each=function(a){var b=this.Na;b.$b=null;var c=b.I;this.bb=null;for(var d=b.Ma;null!==d;)a(d),b.I!==c&&D.Ua(b),d=d.fb;return this};$a.prototype.map=function(a){var b=this.Na;b.$b=null;var c=b.I;this.bb=null;for(var d=new K,e=b.Ma;null!==e;)d.add(a(e)),b.I!==c&&D.Ua(b),e=e.fb;return d.j};$a.prototype.filter=function(a){var b=this.Na;b.$b=null;var c=b.I;this.bb=null;for(var d=new K,e=b.Ma;null!==e;)a(e)&&d.add(e),b.I!==c&&D.Ua(b),e=e.fb;return d.j}; $a.prototype.concat=function(a){this.Na.$b=null;return new Na(this,a.j)};D.w($a,{count:"count"},function(){return this.Na.Ad});$a.prototype.Uf=function(){this.value=this.key=null;this.Za=-1;this.Na.$b=this};$a.prototype.toString=function(){return null!==this.bb?"MapIterator@"+this.bb:"MapIterator"}; -function oa(a,b){D.vc(this);this.J=!1;void 0===a||null===a?this.cf=null:"string"===typeof a?"object"===a||"string"===a||"number"===a?this.cf=a:D.ua(a,"the string 'object', 'number' or 'string'","Map constructor: keytype"):"function"===typeof a?this.cf=a===Object?"object":a===String?"string":a===Number?"number":a:D.ua(a,"null, a primitive type name, or a class type","Map constructor: keytype");void 0===b||null===b?this.Bi=null:"string"===typeof b?"object"===b||"string"===b||"boolean"===b||"number"=== +function oa(a,b){D.vc(this);this.J=!1;void 0===a||null===a?this.df=null:"string"===typeof a?"object"===a||"string"===a||"number"===a?this.df=a:D.ua(a,"the string 'object', 'number' or 'string'","Map constructor: keytype"):"function"===typeof a?this.df=a===Object?"object":a===String?"string":a===Number?"number":a:D.ua(a,"null, a primitive type name, or a class type","Map constructor: keytype");void 0===b||null===b?this.Bi=null:"string"===typeof b?"object"===b||"string"===b||"boolean"===b||"number"=== b||"function"===b?this.Bi=b:D.ua(b,"the string 'object', 'number', 'string', 'boolean', or 'function'","Map constructor: valtype"):"function"===typeof b?this.Bi=b===Object?"object":b===String?"string":b===Number?"number":b===Boolean?"boolean":b===Function?"function":b:D.ua(b,"null, a primitive type name, or a class type","Map constructor: valtype");this.Bd={};this.Ad=0;this.ej=this.$b=null;this.I=0;this.ii=this.Ma=null}D.ka("Map",oa); -function bb(a,b){null!==a.cf&&("string"===typeof a.cf?typeof b===a.cf&&null!==b||D.jc(b,a.cf):b instanceof a.cf||D.jc(b,a.cf))}oa.prototype.Sc=function(){var a=this.I;a++;999999999=this.count)return Ka;var a=this.$b;return null!==a?(a.reset(),a):new $a(this)});D.w(oa,{gG:"iteratorKeys"},function(){return 0>=this.count?Ka:new Xa(this)});D.w(oa,{hG:"iteratorValues"},function(){if(0>=this.count)return Ka;var a=this.ej;return null!==a?(a.reset(),a):new Za(this)});function N(a,b){void 0===a?this.M=this.L=0:"number"===typeof a&&"number"===typeof b?(this.L=a,this.M=b):D.k("Invalid arguments to Point constructor: "+a+", "+b);this.J=!1} D.ka("Point",N);D.Di(N);D.ne(N,{x:!0,y:!0});N.prototype.assign=function(a){this.L=a.L;this.M=a.M};N.prototype.setTo=N.prototype.n=function(a,b){v&&(D.h(a,"number",N,"setTo:x"),D.h(b,"number",N,"setTo:y"));this.L=a;this.M=b;return this};N.prototype.set=N.prototype.set=function(a){v&&D.l(a,N,N,"set:p");this.Ra();this.L=a.L;this.M=a.M;return this};N.prototype.copy=function(){var a=new N;a.L=this.L;a.M=this.M;return a};f=N.prototype;f.Oa=function(){this.J=!0;Object.freeze(this);return this}; f.V=function(){return Object.isFrozen(this)?this:this.copy().freeze()};f.freeze=function(){this.J=!0;return this};f.Xa=function(){Object.isFrozen(this)&&D.k("cannot thaw constant: "+this);this.J=!1;return this};f.Ra=function(a){if(this.J){var b="The Point is frozen, so its properties cannot be set: "+this.toString();void 0!==a&&(b+=" to value: "+a);D.k(b)}}; @@ -285,7 +285,7 @@ a=a.y;g=Math.min(Math.max(g,b),d);a=Math.min(Math.max(a,c),e);var b=Math.abs(g-b d=b,d+=Math.sqrt((l.x-m)*(l.x-m)+(l.y-n)*(l.y-n)));b+=r[(u-2)/2]}m=t;n=y}D.A(l);a=d/k;return 0>a?0:1a&&(a+=360),this.Sd=a,this.gf=0,v&&D.p(d,$f,"x1"),this.Eh=Math.max(d,0),v&&D.p(e,$f,"y1"),this.Pg=Math.max(e,0),this.qp="boolean"===typeof h?!!h:!1,this.Ko=!!k):(v&&D.p(d,$f,"x1"),this.Sd=d,v&&D.p(e, -$f,"y1"),this.gf=e,v&&D.p(g,$f,"x2"),a===Tf&&(g=Math.max(g,0)),this.Eh=g,"number"===typeof h?(a===Tf&&(h=Math.max(h,0)),this.Pg=h):this.Pg=0,this.Ko=this.qp=!1);this.hi=!1;this.pb=!0;this.yg=null}D.ka("PathSegment",$f);D.Di($f);$f.prototype.copy=function(){var a=new $f;a.ca=this.ca;a.Cb=this.Cb;a.Ib=this.Ib;a.Sd=this.Sd;a.gf=this.gf;a.Eh=this.Eh;a.Pg=this.Pg;a.qp=this.qp;a.Ko=this.Ko;a.hi=this.hi;a.pb=this.pb;return a}; +function $f(a,b,c,d,e,g,h,k){D.vc(this);this.J=!1;void 0===a?a=wf:v&&D.Da(a,$f,$f,"constructor:type");this.ca=a;void 0!==b?(v&&D.p(b,$f,"ex"),this.Cb=b):this.Cb=0;void 0!==c?(v&&D.p(c,$f,"ey"),this.Ib=c):this.Ib=0;void 0===d&&(d=0);void 0===e&&(e=0);void 0===g&&(g=0);void 0===h&&(h=0);a===Uf?(a=g%360,0>a&&(a+=360),this.Sd=a,this.hf=0,v&&D.p(d,$f,"x1"),this.Eh=Math.max(d,0),v&&D.p(e,$f,"y1"),this.Pg=Math.max(e,0),this.qp="boolean"===typeof h?!!h:!1,this.Ko=!!k):(v&&D.p(d,$f,"x1"),this.Sd=d,v&&D.p(e, +$f,"y1"),this.hf=e,v&&D.p(g,$f,"x2"),a===Tf&&(g=Math.max(g,0)),this.Eh=g,"number"===typeof h?(a===Tf&&(h=Math.max(h,0)),this.Pg=h):this.Pg=0,this.Ko=this.qp=!1);this.hi=!1;this.pb=!0;this.yg=null}D.ka("PathSegment",$f);D.Di($f);$f.prototype.copy=function(){var a=new $f;a.ca=this.ca;a.Cb=this.Cb;a.Ib=this.Ib;a.Sd=this.Sd;a.hf=this.hf;a.Eh=this.Eh;a.Pg=this.Pg;a.qp=this.qp;a.Ko=this.Ko;a.hi=this.hi;a.pb=this.pb;return a}; $f.prototype.equalsApprox=$f.prototype.Uc=function(a){if(!(a instanceof $f)||this.type!==a.type||this.Vx!==a.Vx)return!1;switch(this.type){case Ef:case wf:return Q(this.G,a.G)&&Q(this.H,a.H);case Ff:return Q(this.G,a.G)&&Q(this.H,a.H)&&Q(this.Cc,a.Cc)&&Q(this.Zc,a.Zc)&&Q(this.Uh,a.Uh)&&Q(this.Vh,a.Vh);case Sf:return Q(this.G,a.G)&&Q(this.H,a.H)&&Q(this.Cc,a.Cc)&&Q(this.Zc,a.Zc);case Tf:return Q(this.Me,a.Me)&&Q(this.Df,a.Df)&&Q(this.pa,a.pa)&&Q(this.va,a.va)&&Q(this.radiusX,a.radiusX)&&Q(this.radiusY, a.radiusY);case Uf:return this.xm===a.xm&&this.Zx===a.Zx&&Q(this.$j,a.$j)&&Q(this.G,a.G)&&Q(this.H,a.H)&&Q(this.radiusX,a.radiusX)&&Q(this.radiusY,a.radiusY);default:return!1}};$f.prototype.qc=function(a){a.Oe===$f?this.type=a:D.Yj(this,a)}; $f.prototype.toString=function(a){void 0===a&&(a=-1);var b="";switch(this.type){case Ef:b=0>a?"M"+this.G.toString()+" "+this.H.toString():"M"+this.G.toFixed(a)+" "+this.H.toFixed(a);break;case wf:b=0>a?"L"+this.G.toString()+" "+this.H.toString():"L"+this.G.toFixed(a)+" "+this.H.toFixed(a);break;case Ff:b=0>a?"C"+this.Cc.toString()+" "+this.Zc.toString()+" "+this.Uh.toString()+" "+this.Vh.toString()+" "+this.G.toString()+" "+this.H.toString():"C"+this.Cc.toFixed(a)+" "+this.Zc.toFixed(a)+" "+this.Uh.toFixed(a)+ " "+this.Vh.toFixed(a)+" "+this.G.toFixed(a)+" "+this.H.toFixed(a);break;case Sf:b=0>a?"Q"+this.Cc.toString()+" "+this.Zc.toString()+" "+this.G.toString()+" "+this.H.toString():"Q"+this.Cc.toFixed(a)+" "+this.Zc.toFixed(a)+" "+this.G.toFixed(a)+" "+this.H.toFixed(a);break;case Tf:b=0>a?"B"+this.Me.toString()+" "+this.Df.toString()+" "+this.pa.toString()+" "+this.va.toString()+" "+this.radiusX:"B"+this.Me.toFixed(a)+" "+this.Df.toFixed(a)+" "+this.pa.toFixed(a)+" "+this.va.toFixed(a)+" "+this.radiusX; break;case Uf:b=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.$j.toString()+" "+(this.Zx?1:0)+" "+(this.xm?1:0)+" "+this.G.toString()+" "+this.H.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.$j.toFixed(a)+" "+(this.Zx?1:0)+" "+(this.xm?1:0)+" "+this.G.toFixed(a)+" "+this.H.toFixed(a);break;default:b=this.type.toString()}return b+(this.hi?"z":"")};var Ef;$f.Move=Ef=D.s($f,"Move",0);var wf;$f.Line=wf=D.s($f,"Line",1);var Ff; $f.Bezier=Ff=D.s($f,"Bezier",2);var Sf;$f.QuadraticBezier=Sf=D.s($f,"QuadraticBezier",3);var Tf;$f.Arc=Tf=D.s($f,"Arc",4);var Uf;$f.SvgArc=Uf=D.s($f,"SvgArc",4);$f.prototype.freeze=function(){this.J=!0;return this};$f.prototype.Xa=function(){this.J=!1;return this};$f.prototype.close=$f.prototype.close=function(){this.hi=!0;return this}; -function Vf(a,b){if(null!==a.yg&&!1===b.pb)return a.yg;var c=a.radiusX,d=a.radiusY;void 0===d&&(d=c);if(0===c||0===d)return a.yg=[],a.yg;var e=a.Sd,g=a.gf,h=Se(c=r?h=Math.PI:1<=r&&(h=0);!l&&0h&&(h+=2*Math.PI);l=b>g?1:b/g;r=b>g?g/b:1;b=Se(b>g?b:g,n,n+h,!0);g=D.Rf();g.reset();g.translate(c,d);g.rotate(a.Sd,0,0);g.scale(l,r);Cf(b,g);D.Je(g);a.yg=b;return a.yg} D.defineProperty($f,{Vx:"isClosed"},function(){return this.hi},function(a){this.hi!==a&&(this.hi=a,this.pb=!0)});D.defineProperty($f,{type:"type"},function(){return this.ca},function(a){v&&D.Da(a,$f,$f,"type");this.J&&D.qa(this,a);this.ca=a;this.pb=!0});D.defineProperty($f,{G:"endX"},function(){return this.Cb},function(a){v&&D.p(a,$f,"endX");this.J&&D.qa(this,a);this.Cb=a;this.pb=!0}); -D.defineProperty($f,{H:"endY"},function(){return this.Ib},function(a){v&&D.p(a,$f,"endY");this.J&&D.qa(this,a);this.Ib=a;this.pb=!0});D.defineProperty($f,{Cc:"point1X"},function(){return this.Sd},function(a){v&&D.p(a,$f,"point1X");this.J&&D.qa(this,a);this.Sd=a;this.pb=!0});D.defineProperty($f,{Zc:"point1Y"},function(){return this.gf},function(a){v&&D.p(a,$f,"point1Y");this.J&&D.qa(this,a);this.gf=a;this.pb=!0}); +D.defineProperty($f,{H:"endY"},function(){return this.Ib},function(a){v&&D.p(a,$f,"endY");this.J&&D.qa(this,a);this.Ib=a;this.pb=!0});D.defineProperty($f,{Cc:"point1X"},function(){return this.Sd},function(a){v&&D.p(a,$f,"point1X");this.J&&D.qa(this,a);this.Sd=a;this.pb=!0});D.defineProperty($f,{Zc:"point1Y"},function(){return this.hf},function(a){v&&D.p(a,$f,"point1Y");this.J&&D.qa(this,a);this.hf=a;this.pb=!0}); D.defineProperty($f,{Uh:"point2X"},function(){return this.Eh},function(a){v&&D.p(a,$f,"point2X");this.J&&D.qa(this,a);this.Eh=a;this.pb=!0});D.defineProperty($f,{Vh:"point2Y"},function(){return this.Pg},function(a){v&&D.p(a,$f,"point2Y");this.J&&D.qa(this,a);this.Pg=a;this.pb=!0});D.defineProperty($f,{pa:"centerX"},function(){return this.Sd},function(a){v&&D.p(a,$f,"centerX");this.J&&D.qa(this,a);this.Sd=a;this.pb=!0}); -D.defineProperty($f,{va:"centerY"},function(){return this.gf},function(a){v&&D.p(a,$f,"centerY");this.J&&D.qa(this,a);this.gf=a;this.pb=!0});D.defineProperty($f,{radiusX:"radiusX"},function(){return this.Eh},function(a){v&&D.p(a,$f,"radiusX");0>a&&D.ua(a,">= zero",$f,"radiusX");this.J&&D.qa(this,a);this.Eh=a;this.pb=!0});D.defineProperty($f,{radiusY:"radiusY"},function(){return this.Pg},function(a){v&&D.p(a,$f,"radiusY");0>a&&D.ua(a,">= zero",$f,"radiusY");this.J&&D.qa(this,a);this.Pg=a;this.pb=!0}); +D.defineProperty($f,{va:"centerY"},function(){return this.hf},function(a){v&&D.p(a,$f,"centerY");this.J&&D.qa(this,a);this.hf=a;this.pb=!0});D.defineProperty($f,{radiusX:"radiusX"},function(){return this.Eh},function(a){v&&D.p(a,$f,"radiusX");0>a&&D.ua(a,">= zero",$f,"radiusX");this.J&&D.qa(this,a);this.Eh=a;this.pb=!0});D.defineProperty($f,{radiusY:"radiusY"},function(){return this.Pg},function(a){v&&D.p(a,$f,"radiusY");0>a&&D.ua(a,">= zero",$f,"radiusY");this.J&&D.qa(this,a);this.Pg=a;this.pb=!0}); D.defineProperty($f,{Me:"startAngle"},function(){return this.Cb},function(a){this.Cb!==a&&(this.J&&D.qa(this,a),v&&D.p(a,$f,"startAngle"),a%=360,0>a&&(a+=360),this.Cb=a,this.pb=!0)});D.defineProperty($f,{Df:"sweepAngle"},function(){return this.Ib},function(a){v&&D.p(a,$f,"sweepAngle");this.J&&D.qa(this,a);360a&&(a=-360);this.Ib=a;this.pb=!0});D.defineProperty($f,{xm:"isClockwiseArc"},function(){return this.Ko},function(a){this.J&&D.qa(this,a);this.Ko=a;this.pb=!0}); D.defineProperty($f,{Zx:"isLargeArc"},function(){return this.qp},function(a){this.J&&D.qa(this,a);this.qp=a;this.pb=!0});D.defineProperty($f,{$j:"xAxisRotation"},function(){return this.Sd},function(a){v&&D.p(a,$f,"xAxisRotation");a%=360;0>a&&(a+=360);this.J&&D.qa(this,a);this.Sd=a;this.pb=!0}); function bg(){this.ia=null;this.pA=(new N(0,0)).freeze();this.xz=(new N(0,0)).freeze();this.Cv=this.yw=0;this.Dv=1;this.mw="";this.hx=this.Rv=!1;this.Ov=this.Ev=0;this.bk=this.Zv=this.iw=!1;this.Rr=null;this.ex=0;this.Tg=this.bx=null}D.ka("InputEvent",bg); @@ -323,7 +323,7 @@ D.defineProperty(bg,{ga:"documentPoint"},function(){return this.xz},function(a){ D.defineProperty(bg,{button:"button"},function(){return this.Cv},function(a){this.Cv=a;if(null===this.event)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}});D.defineProperty(bg,{buttons:"buttons"},function(){return this.Dv},function(a){this.Dv=a});D.defineProperty(bg,{key:"key"},function(){return this.mw},function(a){this.mw=a});D.defineProperty(bg,{pm:"down"},function(){return this.Rv},function(a){this.Rv=a}); D.defineProperty(bg,{up:"up"},function(){return this.hx},function(a){this.hx=a});D.defineProperty(bg,{Pe:"clickCount"},function(){return this.Ev},function(a){this.Ev=a});D.defineProperty(bg,{om:"delta"},function(){return this.Ov},function(a){this.Ov=a});D.defineProperty(bg,{Eu:"isMultiTouch"},function(){return this.iw},function(a){this.iw=a});D.defineProperty(bg,{Mc:"handled"},function(){return this.Zv},function(a){this.Zv=a}); D.defineProperty(bg,{bubbles:"bubbles"},function(){return this.bk},function(a){this.bk=a});D.defineProperty(bg,{event:"event"},function(){return this.Rr},function(a){this.Rr=a});D.w(bg,{Mj:"isTouchEvent"},function(){var a=window.TouchEvent;return a&&this.event instanceof a?!0:(a=window.PointerEvent)&&this.event instanceof a&&"touch"===this.event.pointerType});D.w(bg,{Zk:"isMac"},function(){return D.Zk});D.defineProperty(bg,{timestamp:"timestamp"},function(){return this.ex},function(a){this.ex=a}); -D.defineProperty(bg,{jh:"targetDiagram"},function(){return this.bx},function(a){this.bx=a});D.defineProperty(bg,{Ye:"targetObject"},function(){return this.Tg},function(a){this.Tg=a});D.defineProperty(bg,{control:"control"},function(){return 0!==(this.Md&1)},function(a){this.Md=a?this.Md|1:this.Md&-2});D.defineProperty(bg,{shift:"shift"},function(){return 0!==(this.Md&4)},function(a){this.Md=a?this.Md|4:this.Md&-5}); +D.defineProperty(bg,{jh:"targetDiagram"},function(){return this.bx},function(a){this.bx=a});D.defineProperty(bg,{Ze:"targetObject"},function(){return this.Tg},function(a){this.Tg=a});D.defineProperty(bg,{control:"control"},function(){return 0!==(this.Md&1)},function(a){this.Md=a?this.Md|1:this.Md&-2});D.defineProperty(bg,{shift:"shift"},function(){return 0!==(this.Md&4)},function(a){this.Md=a?this.Md|4:this.Md&-5}); D.defineProperty(bg,{alt:"alt"},function(){return 0!==(this.Md&2)},function(a){this.Md=a?this.Md|2:this.Md&-3});D.defineProperty(bg,{Nu:"meta"},function(){return 0!==(this.Md&8)},function(a){this.Md=a?this.Md|8:this.Md&-9});D.defineProperty(bg,{left:"left"},function(){var a=this.event;return null!==a&&a instanceof MouseEvent&&("mousedown"===a.type||"mouseup"===a.type)?0===this.button:0!==(this.buttons&1)},function(a){this.buttons=a?this.buttons|1:this.buttons&-2}); D.defineProperty(bg,{right:"right"},function(){var a=this.event;return null!==a&&a instanceof MouseEvent&&("mousedown"===a.type||"mouseup"===a.type)?2===this.button:0!==(this.buttons&2)},function(a){this.buttons=a?this.buttons|2:this.buttons&-3});D.defineProperty(bg,{dM:"middle"},function(){var a=this.event;return null!==a&&a instanceof MouseEvent&&("mousedown"===a.type||"mouseup"===a.type)?1===this.button:0!==(this.buttons&4)},function(a){this.buttons=a?this.buttons|4:this.buttons&-5}); function dg(){this.ia=null;this.ac="";this.Iw=this.$w=null;this.kr=!1}D.ka("DiagramEvent",dg);dg.prototype.copy=function(){var a=new dg;a.ia=this.ia;a.ac=this.ac;a.$w=this.$w;a.Iw=this.Iw;a.kr=this.kr;return a};dg.prototype.toString=function(){var a="*"+this.name;null!==this.VB&&(a+=":"+this.VB.toString());null!==this.yB&&(a+="("+this.yB.toString()+")");return a};D.defineProperty(dg,{g:"diagram"},function(){return this.ia},function(a){this.ia=a}); @@ -396,21 +396,21 @@ b);d!==c&&(D.Ta(a,b,c),this.zB(a,b,d,c))};M.prototype.addArrayItem=function(a,b) M.prototype.removeArrayItem=M.prototype.CG=function(a,b){void 0===b&&(b=-1);v&&(D.Zt(a,M,"removeArrayItem:arr"),D.p(b,M,"removeArrayItem:idx"));a===this.ye&&D.k("Model.removeArrayItem should not be called on the Model.nodeDataArray");-1===b&&(b=D.cb(a)-1);var c=D.La(a,b);D.Wg(a,b);ah(this,"",sg,"",a,c,null,b,null)};D.defineProperty(M,{oo:"nodeCategoryProperty"},function(){return this.jn},function(a){var b=this.jn;b!==a&&(bh(a,M,"nodeCategoryProperty"),this.jn=a,this.i("nodeCategoryProperty",b,a))}); M.prototype.getCategoryForNodeData=M.prototype.UA=function(a){if(null===a)return"";var b=this.jn;if(""===b)return"";b=D.wb(a,b);if(void 0===b)return"";if("string"===typeof b)return b;D.k("getCategoryForNodeData found a non-string category for "+a+": "+b);return""}; M.prototype.setCategoryForNodeData=M.prototype.Jy=function(a,b){D.h(b,"string",M,"setCategoryForNodeData:cat");if(null!==a){var c=this.jn;if(""!==c)if(this.le(a)){var d=D.wb(a,c);void 0===d&&(d="");d!==b&&(D.Ta(a,c,b),ah(this,"nodeCategory",fg,c,a,d,b))}else D.Ta(a,c,b)}}; -function Y(a,b){M.call(this);2D.gm(d,a.newValue)&&D.Kh(d,c,a.newValue));return}}else if(a.Kc=== -sg){c=a.Sj;if("linkDataArray"===a.Cf){d=a.oldValue;D.Qa(d)&&"number"===typeof c&&(e=this.lf(d),b?(this.ji.add(d),D.La(this.df,c)!==d&&D.Kh(this.df,c,d),void 0!==e&&this.sd.add(e,d)):(this.ji.remove(d),D.La(this.df,c)===d&&D.Wg(this.df,c),void 0!==e&&this.sd.remove(e)));return}if("linkLabelKeys"===a.Cf){d=this.Vk(a.object);D.isArray(d)&&"number"===typeof c&&(b?0>D.gm(d,a.newValue)&&D.Kh(d,c,a.newValue):(c=D.gm(d,a.newValue),0<=c&&D.Wg(d,c)));return}}M.prototype.Gn.call(this,a,b)}; +f.Gn=function(a,b){if(a.Kc===rg){var c=a.Qj;if("linkDataArray"===a.Cf){var d=a.newValue;if(D.Qa(d)&&"number"===typeof c){var e=this.mf(d);b?(this.ji.remove(d),D.La(this.ef,c)===d&&D.Wg(this.ef,c),void 0!==e&&this.sd.remove(e)):(this.ji.add(d),D.La(this.ef,c)!==d&&D.Kh(this.ef,c,d),void 0!==e&&this.sd.add(e,d))}return}if("linkLabelKeys"===a.Cf){d=this.Vk(a.object);D.isArray(d)&&"number"===typeof c&&(b?(c=D.gm(d,a.newValue),0<=c&&D.Wg(d,c)):0>D.gm(d,a.newValue)&&D.Kh(d,c,a.newValue));return}}else if(a.Kc=== +sg){c=a.Sj;if("linkDataArray"===a.Cf){d=a.oldValue;D.Qa(d)&&"number"===typeof c&&(e=this.mf(d),b?(this.ji.add(d),D.La(this.ef,c)!==d&&D.Kh(this.ef,c,d),void 0!==e&&this.sd.add(e,d)):(this.ji.remove(d),D.La(this.ef,c)===d&&D.Wg(this.ef,c),void 0!==e&&this.sd.remove(e)));return}if("linkLabelKeys"===a.Cf){d=this.Vk(a.object);D.isArray(d)&&"number"===typeof c&&(b?0>D.gm(d,a.newValue)&&D.Kh(d,c,a.newValue):(c=D.gm(d,a.newValue),0<=c&&D.Wg(d,c)));return}}M.prototype.Gn.call(this,a,b)}; D.defineProperty(Y,{vA:"archetypeNodeData"},function(){return this.ul},function(a){var b=this.ul;b!==a&&(null!==a&&D.l(a,Object,Y,"archetypeNodeData"),this.ul=a,this.i("archetypeNodeData",b,a))});Y.prototype.ho=function(a){if(void 0!==a){var b=this.ul;if(null!==b){var c=this.He(a);null===c&&(c=this.copyNodeData(b),D.Ta(c,this.yk,a),this.cm(c))}return a}}; D.defineProperty(Y,{eo:"linkFromKeyProperty"},function(){return this.ki},function(a){var b=this.ki;b!==a&&(bh(a,Y,"linkFromKeyProperty"),this.ki=a,this.i("linkFromKeyProperty",b,a))});Y.prototype.getFromKeyForLinkData=Y.prototype.um=function(a){if(null!==a){var b=this.ki;if(""!==b&&(b=D.wb(a,b),void 0!==b)){if(ch(b))return b;D.k("FromKey value for link data "+a+" is not a number or a string: "+b)}}}; Y.prototype.setFromKeyForLinkData=Y.prototype.LB=function(a,b){null===b&&(b=void 0);void 0===b||ch(b)||D.jc(b,"number or string",Y,"setFromKeyForLinkData:key");if(null!==a){var c=this.ki;if(""!==c)if(b=this.ho(b),this.Nh(a)){var d=D.wb(a,c);d!==b&&(hh(this,d,a),D.Ta(a,c,b),null===this.He(b)&&gh(this,b,a),ah(this,"linkFromKey",fg,c,a,d,b),"string"===typeof c&&this.Ob(a,c))}else D.Ta(a,c,b)}}; @@ -424,16 +424,16 @@ Y.prototype.getLabelKeysForLinkData=Y.prototype.Vk=function(a){if(null===a)retur Y.prototype.setLabelKeysForLinkData=Y.prototype.YG=function(a,b){D.Zt(b,Y,"setLabelKeysForLinkData:arr");if(null!==a){var c=this.Lg;if(""!==c)if(this.Nh(a)){var d=D.wb(a,c);void 0===d&&(d=D.Do);if(d!==b){for(var e=D.cb(d),g=0;ge||(D.Wg(d,e),this.Nh(a)&&(hh(this,b,a),ah(this,"linkLabelKeys",sg,c,a,b,null,e,null)))}else void 0!==d&&D.k(c+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}}; -D.defineProperty(Y,{ah:"linkDataArray"},function(){return this.df},function(a){var b=this.df;if(b!==a){D.Zt(a,Y,"linkDataArray");this.sd.clear();for(var c=D.cb(a),d=0;dd)return;D.Wg(a.df,d)}ah(a,"linkDataArray",sg,"linkDataArray",a,b,null,d,null);c=a.um(b);hh(a,c,b);c=a.vm(b);hh(a,c,b);d=a.Vk(b);if(D.isArray(d))for(var e=D.cb(d),g=0;gd)return;D.Wg(a.ef,d)}ah(a,"linkDataArray",sg,"linkDataArray",a,b,null,d,null);c=a.um(b);hh(a,c,b);c=a.vm(b);hh(a,c,b);d=a.Vk(b);if(D.isArray(d))for(var e=D.cb(d),g=0;ge&&(e=k),l>g&&(g=l))}}Infinity===c?b.n(0,0,0,0):b.n(c,d,e-c,g-d)} function Oi(a,b){if(null===a.lc){var c=a.g;if(!(null===c||b&&(c.rb||c.Lf))&&null!==a.hc){var d=c.la;d.isEnabled&&d.aG?null!==d.Cj&&0c.ta)){var d=a.g;if(null!==d&&!d.rb){var e=a.pj;if(null!==e){var g=null,h=null;null===c.aa&&(g=Yi(a,c.m(0),!1),null!==g&&(h=g.Y));var k=null,l=null;null===c.ba&&(k=Yi(a,c.m(c.ta-1),!0),null!==k&&(l=k.Y));e.isValidLink(h,g,l,k)?b?(c.fq=c.m(0),c.gq=c.m(c.ta-1),c.Xj=!1,c.aa=h,null!==g&&(c.hg=g.wd),c.ba=l,null!==k&&(c.mh=k.wd),c.Ac!==a.Bw&&d.Ja("LinkRelinked",c,a.Bw),c.ad!==a.Cw&&d.Ja("LinkRelinked",c,a.Cw)):Zi(e,h,g,l,k):Zi(e,null,null,null,null)}}}} Uh.prototype.doDragOver=function(){}; -function $i(a,b){var c=a.g;if(null!==c){a.Ej&&Vi(a,!0);Ei(a);var d=Wi(c,b,null,function(b){return!Ti(a,b)}),e=c.U;e.Ye=d;if(null!==d){e.Mc=!1;for(var g=d;null!==g;){var h=g.pB;if(null!==h&&(h(e,g),e.Mc))break;g=Xi(g)}}else g=c.pB,null!==g&&g(e);if(a.wa||null!==di){for(e=(a.lc||a.hc).j;e.next();)g=e.key,g instanceof G&&g.Kd.each(function(a){a.Xj=!1});a.doDropOnto(b,d);if(a.wa||null!==di){d=D.Qf();for(e=c.selection.j;e.next();)g=e.value,g instanceof G&&aj(c,g.getAvoidableRect(d));D.Kb(d)}}}} +function $i(a,b){var c=a.g;if(null!==c){a.Ej&&Vi(a,!0);Ei(a);var d=Wi(c,b,null,function(b){return!Ti(a,b)}),e=c.U;e.Ze=d;if(null!==d){e.Mc=!1;for(var g=d;null!==g;){var h=g.pB;if(null!==h&&(h(e,g),e.Mc))break;g=Xi(g)}}else g=c.pB,null!==g&&g(e);if(a.wa||null!==di){for(e=(a.lc||a.hc).j;e.next();)g=e.key,g instanceof G&&g.Kd.each(function(a){a.Xj=!1});a.doDropOnto(b,d);if(a.wa||null!==di){d=D.Qf();for(e=c.selection.j;e.next();)g=e.value,g instanceof G&&aj(c,g.getAvoidableRect(d));D.Kb(d)}}}} function aj(a,b){var c=!1;a.vb.Pk(b)&&(c=!0);c=a.PA(b,function(a){return a.Y},function(a){return a instanceof J},!0,function(a){return a instanceof J},c);if(0!==c.count)for(c=c.j;c.next();){var d=c.value;d.Jj&&d.ec()}}Uh.prototype.doDropOnto=function(){}; Uh.prototype.doMouseMove=function(){if(this.wa){var a=this.g;null!==a&&null!==this.Nn&&null!==this.hc&&(this.mayCopy()?(a.mc="copy",Oi(this,!1),ci(this,this.lc),Pi(this,this.lc,!1),Fi(this,this.lc)):this.mayMove()?(a.mc="default",Ii(this),Pi(this,this.hc,!0)):this.mayDragOut()?(a.mc="no-drop",Oi(this,!1),Pi(this,this.lc,!1)):Ii(this),Ui(this,a.U.ga))}}; Uh.prototype.doMouseUp=function(){if(this.wa){var a=this.g;if(null!==a){var b=!1,c=this.mayCopy();c&&null!==this.lc?(Ii(this),Oi(this,!0),ci(this,this.lc),Pi(this,this.lc,!1),Fi(this,this.lc),null!==this.lc&&a.TG(this.lc.Zj())):(b=!0,Ii(this),this.mayMove()&&(Pi(this,this.hc,!0),Ui(this,a.U.ga)));this.Lr=!0;$i(this,a.U.ga);if(this.wa){this.lc=null;if(b&&null!==this.hc)for(b=this.hc.j;b.next();){var d=b.key;d instanceof G&&(d=d.Ka,null===d||null===d.placeholder||this.hc.contains(d)||d.placeholder.K())}a.Nc(); @@ -588,7 +588,7 @@ Uh.prototype.doSimulatedDragOver=function(){var a=this.g;if(null!==a){var b=di;n Uh.prototype.doSimulatedDrop=function(){var a=this.g;if(null!==a){var b=di;if(null!==b){var c=b.g;b.Lr=!0;Ii(this);this.mayDragIn()&&(this.Nb("Drop"),cj(this,b.hc.Zj(),!0),Pi(this,this.lc,!1),null!==this.lc&&a.TG(this.lc.Zj()),$i(this,a.U.ga),a.Nc(),b=a.selection,null!==this.lc?this.Sf="ExternalCopy":b=new L(F),this.lc=null,a.doFocus(),a.Ja("ExternalObjectsDropped",b,c),this.gl())}}}; function cj(a,b,c){if(null===a.lc){var d=a.g;if(null!==d&&!d.rb&&!d.Lf){d.lb=!c;d.$q=!c;a.fl=d.U.ga;c=d.eq(b,d,!0);var e=D.Qf();Ni(b,e);var d=e.x+e.width/2,g=e.y+e.height/2;D.Kb(e);var e=a.Yw,h=new oa(F),k=D.P();for(b=b.j;b.next();){var l=b.value,m=c.oa(l);l.pe()&&l.canCopy()?(l=l.location,k.n(e.x-(d-l.x),e.y-(g-l.y)),m.location=k,m.Re(),h.add(m,pi(a,k))):l instanceof J&&l.canCopy()&&(m.cl(e.x-d,e.y-g),h.add(m,pi(a)))}D.A(k);a.lc=h;bi(a,h.Zj());null!==a.vd&&(c=a.vd,d=c.so,c.cl(a.fl.x-(d.x+d.width/ 2),a.fl.y-(d.y+d.height/2)))}}}Uh.prototype.doSimulatedDragOut=function(){var a=this.g;null!==a&&(this.mayCopy()||this.mayMove()?a.mc="":a.mc="no-drop")};function Ci(a){this.point=a;this.ZG=Kd}D.ka("DraggingInfo",Ci);function Qi(a,b,c){this.Yc=a;this.info=b;this.WI=c} -function dj(){0b.lu+1&&cb.lu+1&&c=c.x)d=0>=c.y?d+225:1<=c.y?d+135:d+180;else if(1<=c.x)0>=c.y?d+=315:1<=c.y&&(d+=45);else if(0>=c.y)d+=270;else if(1<=c.y)d+=90;else break a;0>d?d+=360:360<=d&&(d-=360);a.cursor=22.5>d?"e-resize":67.5>d?"se-resize":112.5>d?"s-resize":157.5>d?"sw-resize":202.5>d?"w-resize":247.5>d?"nw-resize":292.5>d?"n-resize":337.5>d? "ne-resize":"e-resize"}else if(a instanceof x)for(c=a.elements;c.next();)this.updateResizeHandles(c.value,b)};D.defineProperty(Vj,{vu:"handleArchetype"},function(){return this.Bl},function(a){null!==a&&D.l(a,P,Vj,"handleArchetype");this.Bl=a});D.w(Vj,{handle:"handle"},function(){return this.pc});D.defineProperty(Vj,{Bb:"adornedObject"},function(){return this.Rc},function(a){null!==a&&D.l(a,P,Vj,"adornedObject");this.Rc=a}); Vj.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.g;return null!==a&&!a.rb&&a.Yt&&a.U.left?null!==this.findToolHandleAt(a.Lc.ga,this.name):!1}; -Vj.prototype.doActivate=function(){var a=this.g;null!==a&&(this.pc=this.findToolHandleAt(a.Lc.ga,this.name),null!==this.pc&&(this.Rc=this.pc.Y.Bb,this.Bp.set(this.Bb.eb(this.handle.alignment.uG())),this.VD.set(this.Rc.Y.location),this.QD.set(this.Rc.Ea),this.Dz=this.computeCellSize(),this.Fz=this.computeMinSize(),this.Ez=this.computeMaxSize(),a.mf=!0,this.ND=a.Wa.isEnabled,a.Wa.isEnabled=!1,this.Nb(this.name),this.wa=!0))}; -Vj.prototype.doDeactivate=function(){var a=this.g;null!==a&&(this.gl(),this.Rc=this.pc=null,this.wa=a.mf=!1,a.Wa.isEnabled=this.ND)};Vj.prototype.doCancel=function(){null!==this.Bb&&(this.Bb.Ea=this.vG,this.Bb.Y.location=this.TJ);this.stopTool()};Vj.prototype.doMouseMove=function(){var a=this.g;if(this.wa&&null!==a){var b=this.Fz,c=this.Ez,d=this.Dz,e=this.Bb.EF(a.U.ga,D.P()),g=this.computeReshape(),b=this.computeResize(e,this.handle.alignment,b,c,d,g);this.resize(b);a.lg();D.A(e)}}; +Vj.prototype.doActivate=function(){var a=this.g;null!==a&&(this.pc=this.findToolHandleAt(a.Lc.ga,this.name),null!==this.pc&&(this.Rc=this.pc.Y.Bb,this.Bp.set(this.Bb.eb(this.handle.alignment.uG())),this.VD.set(this.Rc.Y.location),this.QD.set(this.Rc.Ea),this.Dz=this.computeCellSize(),this.Fz=this.computeMinSize(),this.Ez=this.computeMaxSize(),a.nf=!0,this.ND=a.Wa.isEnabled,a.Wa.isEnabled=!1,this.Nb(this.name),this.wa=!0))}; +Vj.prototype.doDeactivate=function(){var a=this.g;null!==a&&(this.gl(),this.Rc=this.pc=null,this.wa=a.nf=!1,a.Wa.isEnabled=this.ND)};Vj.prototype.doCancel=function(){null!==this.Bb&&(this.Bb.Ea=this.vG,this.Bb.Y.location=this.TJ);this.stopTool()};Vj.prototype.doMouseMove=function(){var a=this.g;if(this.wa&&null!==a){var b=this.Fz,c=this.Ez,d=this.Dz,e=this.Bb.EF(a.U.ga,D.P()),g=this.computeReshape(),b=this.computeResize(e,this.handle.alignment,b,c,d,g);this.resize(b);a.lg();D.A(e)}}; Vj.prototype.doMouseUp=function(){var a=this.g;if(this.wa&&null!==a){var b=this.Fz,c=this.Ez,d=this.Dz,e=this.Bb.EF(a.U.ga,D.P()),g=this.computeReshape(),b=this.computeResize(e,this.handle.alignment,b,c,d,g);this.resize(b);D.A(e);a.Nc();this.Sf=this.name;a.Ja("PartResized",this.Bb,this.vG)}this.stopTool()}; Vj.prototype.resize=function(a){var b=this.g;if(null!==b){var c=this.Bb,d=c.Y;c.Ea=a.size;d.Re();a=this.Bb.eb(this.handle.alignment.uG());d instanceof I?(c=new K(F),c.add(d),b.moveParts(c,this.Bp.copy().Wj(a),!0)):d.location=d.location.copy().Wj(a).add(this.Bp)}}; Vj.prototype.computeResize=function(a,b,c,d,e,g){b.ce()&&(b=mc);var h=this.Bb.Ga,k=h.x,l=h.y,m=h.x+h.width,n=h.y+h.height,p=1;if(!g){var p=h.width,q=h.height;0>=p&&(p=1);0>=q&&(q=1);p=q/p}q=D.P();jb(a.x,a.y,k,l,e.width,e.height,q);a=h.copy();0>=b.x?0>=b.y?(a.x=Math.max(q.x,m-d.width),a.x=Math.min(a.x,m-c.width),a.width=Math.max(m-a.x,c.width),a.y=Math.max(q.y,n-d.height),a.y=Math.min(a.y,n-c.height),a.height=Math.max(n-a.y,c.height),g||(b=a.height/a.width,pa&&(a+=360));var b=Math.min(Math.abs(this.pK),180),c=Math.min(Math.abs(this.oK),b/2);(null===this.g||!this.g.U.shift)&&0b-c&&(a=(Math.floor(a/b)+1)*b));360<=a?a-=360:0>a&&(a+=360);return a};D.defineProperty(ck,{pK:"snapAngleMultiple"},function(){return this.gE},function(a){D.h(a,"number",ck,"snapAngleMultiple");this.gE=a}); D.defineProperty(ck,{oK:"snapAngleEpsilon"},function(){return this.fE},function(a){D.h(a,"number",ck,"snapAngleEpsilon");this.fE=a});D.w(ck,{kM:"originalAngle"},function(){return this.Dw});function ek(){Zg.call(this);0e.right&&(c.x-=d.width+5);c.xe.bottom?c.y-(d.height+5):c.y+20;c.ys?m:a-r;il(g);jl(g,e,q,h,c,m);g.Jv&&g.Jv();bj(e);kl(g);a>s?ll(g):requestAnimationFrame(d)}}void 0===c&&(c=new ma);var e=a.ia;if(null!==e){a.qk=!0;var g=a,h=c.KL||a.QC,k=c.iM||null,l=c.jM||null,m=c.duration||a.Az,n=a.FH;for(c=a.kn.j;c.next();){var p=c.value.start.position;p instanceof N&&(p.F()||p.assign(n))}a.LC=h;a.Jv=k;a.Kv=l;a.KC=m;a.Lv=a.kn;var q=a.Lv;for(c=q.j;c.next();)k=c.value.end,k["position:placeholder"]&&(l= -k["position:placeholder"],n=l.eb(ec),n.x+=l.padding.left,n.y+=l.padding.top,k["position:placeholder"]=n);il(a);jl(a,e,q,h,0,m);bj(a.ia);kl(a);var r=+new Date,s=r+m;g.Mm===b&&requestAnimationFrame(function(){d()})}}function il(a){if(!a.np){var b=a.ia;a.AE=b.lb;a.yC=b.We;a.zC=b.hv;b.lb=!0;b.We=!0;b.hv=!0;a.np=!0}}function kl(a){var b=a.ia;b.lb=a.AE;b.We=a.yC;b.hv=a.zC;a.np=!1} +k["position:placeholder"],n=l.eb(ec),n.x+=l.padding.left,n.y+=l.padding.top,k["position:placeholder"]=n);il(a);jl(a,e,q,h,0,m);bj(a.ia);kl(a);var r=+new Date,s=r+m;g.Mm===b&&requestAnimationFrame(function(){d()})}}function il(a){if(!a.np){var b=a.ia;a.AE=b.lb;a.yC=b.Xe;a.zC=b.hv;b.lb=!0;b.Xe=!0;b.hv=!0;a.np=!0}}function kl(a){var b=a.ia;b.lb=a.AE;b.Xe=a.yC;b.hv=a.zC;a.np=!1} function jl(a,b,c,d,e,g){for(c=c.j;c.next();){var h=c.key,k=c.value,l=k.start,k=k.end,m;for(m in k)if(("position"!==m||!k["position:placeholder"]&&!k["position:node"])&&void 0!==ml[m])ml[m](h,l[m],k[m],d,e,g)}d=b.eB;b.eB=!0;m=a.QC;0!==a.Ir&&0!==a.Hr&&(c=a.Ir,b.Db=m(e,c,a.Hr-c,g));null!==a.Gr&&null!==a.Fr&&(c=a.Gr,a=a.Fr,b.tb=new N(m(e,c.x,a.x-c.x,g),m(e,c.y,a.y-c.y,g)));b.eB=d} -kh.prototype.stopAnimation=kh.prototype.Yh=function(){!0===this.xc&&(this.xc=!1,this.Mm=0,this.Ho&&this.ia.Ue());this.qk&&this.qf&&ll(this)}; +kh.prototype.stopAnimation=kh.prototype.Yh=function(){!0===this.xc&&(this.xc=!1,this.Mm=0,this.Ho&&this.ia.Ve());this.qk&&this.qf&&ll(this)}; function ll(a){a.qk=!1;a.Ho=!1;il(a);for(var b=a.ia,c=a.LC,d=a.KC,e=a.Lv.j;e.next();){var g=e.key,h=e.value,k=h.start,l=h.end,m=h.hu,n;for(n in l)if(void 0!==ml[n]){var p=n;!h.Bx||"position:node"!==p&&"position:placeholder"!==p||(p="position");ml[p](g,k[n],void 0!==m[n]?m[n]:h.Bx?k[n]:l[n],c,d,d)}h.Bx&&void 0!==m.location&&g instanceof F&&(g.location=m.location);h.zy&&g instanceof F&&g.Ld(!1)}for(c=a.ia.links;c.next();)d=c.value,null!==d.Gp&&(d.points=d.Gp,d.Gp=null);b.ky.clear();b.Dk=null;b.Nc(); -b.ra();b.lg();nl(b);kl(a);a.Kv&&a.Kv();a.Mm=0;a.Lv=null;a.Kv=null;a.Jv=null;a.Gr=null;a.Fr=null;a.Ir=0;a.Hr=0;a.kn=new oa(P,cl);b.Ja("AnimationFinished");b.Ue()} +b.ra();b.lg();nl(b);kl(a);a.Kv&&a.Kv();a.Mm=0;a.Lv=null;a.Kv=null;a.Jv=null;a.Gr=null;a.Fr=null;a.Ir=0;a.Hr=0;a.kn=new oa(P,cl);b.Ja("AnimationFinished");b.Ve()} function ol(a,b,c){var d=b.Z,e=c.Z,g=null;c instanceof I&&(g=c.placeholder);null!==g?(d=g.eb(ec),d.x+=g.padding.left,d.y+=g.padding.top,gl(a,b,"position",d,b.position,!1)):gl(a,b,"position",new N(e.x+e.width/2-d.width/2,e.y+e.height/2-d.height/2),b.position,!1);gl(a,b,"scale",.01,b.scale,!1);if(b instanceof I)for(b=b.Oc;b.next();)g=b.value,g instanceof G&&ol(a,g,c)} function pl(a,b,c){if(b.isVisible()){var d=null;c instanceof I&&(d=c.placeholder);null!==d?gl(a,b,"position:placeholder",b.position,d,!0):gl(a,b,"position:node",b.position,c,!0);gl(a,b,"scale",b.scale,.01,!0);a.xc&&(d=a.kn,d.contains(b)&&(d.oa(b).zy=!0));if(b instanceof I)for(b=b.Oc;b.next();)d=b.value,d instanceof G&&pl(a,d,c)}}function ql(a,b,c){a.xc&&(null===a.Gr&&b.F()&&null===a.Fr&&(a.Gr=b.copy()),a.Fr=c.copy(),a.Ho=!0)} function rl(a,b,c){a.xc&&a.ia.$n&&(0===a.Ir&&0===a.Hr&&(a.Ir=b),a.Hr=c,a.Ho=!0)}D.defineProperty(kh,{isEnabled:"isEnabled"},function(){return this.qf},function(a){D.h(a,"boolean",kh,"isEnabled");this.qf=a});D.defineProperty(kh,{duration:"duration"},function(){return this.Az},function(a){D.h(a,"number",kh,"duration");1>a&&D.ua(a,">= 1",kh,"duration");this.Az=a});D.w(kh,{yf:"isAnimating"},function(){return this.qk});D.w(kh,{rJ:"isTicking"},function(){return this.np}); @@ -795,8 +795,8 @@ E.prototype.reset=E.prototype.reset=function(){this.dd=!0;this.clear();this.dc=n this.ix=fj;this.Er="auto";this.Ui=this.tj=this.ij=this.zw=this.jj=this.kj=this.lj=this.Ti=this.Yi=this.Ri=null;this.bj=!1;this.il=this.hl=this.rv=this.qf=!0;this.tv=this.sv=!1;this.xv=this.uv=this.aw=this.$v=this.yv=this.wv=this.ql=this.pl=this.ol=this.nl=this.ll=this.ml=this.kl=this.vv=this.sl=this.jl=this.rl=!0;this.Tw=this.Pw=16;this.sf=(new Lb(5)).freeze();this.uw=999999999;this.ve=null;this.lw=!1;Kl(this);this.Cd=null;this.ob=new Ph;this.ob.initializeStandardTools();this.hb=this.eu=this.ob;this.yb= new qa;this.sj=!0;Jl(this);this.Zb=new $g;this.sj=!1;this.da=new Y;this.vh=!1;this.bp=!0;this.dd=this.cg=!1;this.ra();this.yh=this.Qi=null;Cl(this);this.Iv=""}; function Kl(a){a.mj=new oa("string",F);var b=new G,c=new pa;c.bind(new ph("text","",ia));b.add(c);a.UC=b;a.mj.add("",b);b=new G;c=new pa;c.stroke="brown";c.bind(new ph("text","",ia));b.add(c);a.mj.add("Comment",b);b=new G;b.el=!1;b.wA=!1;c=new z;c.Jb="Ellipse";c.fill="black";c.stroke=null;c.Ea=(new Ca(3,3)).Oa();b.add(c);a.mj.add("LinkLabel",b);a.Al=new oa("string",I);b=new I;b.Hy="GROUPPANEL";b.type=Nl;c=new pa;c.font="bold 12pt sans-serif";c.bind(new ph("text","",ia));b.add(c);c=new x(Ol);c.name= -"GROUPPANEL";var d=new z;d.Jb="Rectangle";d.fill="rgba(128,128,128,0.2)";d.stroke="black";c.add(d);d=new Xj;d.padding=(new Lb(5,5,5,5)).Oa();c.add(d);b.add(c);a.SC=b;a.Al.add("",b);a.tk=new oa("string",J);b=new J;c=new z;c.nf=!0;b.add(c);c=new z;c.Tq="Standard";c.fill="black";c.stroke=null;c.mb=0;b.add(c);a.TC=b;a.tk.add("",b);b=new J;c=new z;c.nf=!0;c.stroke="brown";b.add(c);a.tk.add("Comment",b);b=new da;b.type=Ol;c=new z;c.fill=null;c.stroke="dodgerblue";c.mb=3;b.add(c);c=new Xj;c.margin=(new Lb(1.5, -1.5,1.5,1.5)).Oa();b.add(c);a.Aw=b;a.Yv=b;b=new da;b.type=rj;c=new z;c.nf=!0;c.fill=null;c.stroke="dodgerblue";c.mb=3;b.add(c);a.pw=b} +"GROUPPANEL";var d=new z;d.Jb="Rectangle";d.fill="rgba(128,128,128,0.2)";d.stroke="black";c.add(d);d=new Xj;d.padding=(new Lb(5,5,5,5)).Oa();c.add(d);b.add(c);a.SC=b;a.Al.add("",b);a.tk=new oa("string",J);b=new J;c=new z;c.Ue=!0;b.add(c);c=new z;c.Tq="Standard";c.fill="black";c.stroke=null;c.mb=0;b.add(c);a.TC=b;a.tk.add("",b);b=new J;c=new z;c.Ue=!0;c.stroke="brown";b.add(c);a.tk.add("Comment",b);b=new da;b.type=Ol;c=new z;c.fill=null;c.stroke="dodgerblue";c.mb=3;b.add(c);c=new Xj;c.margin=(new Lb(1.5, +1.5,1.5,1.5)).Oa();b.add(c);a.Aw=b;a.Yv=b;b=new da;b.type=rj;c=new z;c.Ue=!0;c.fill=null;c.stroke="dodgerblue";c.mb=3;b.add(c);a.pw=b} function zl(a){var b=D.createElement("p");b.style.width="100%";b.style.height="200px";b.style.boxSizing="content-box";var c=D.createElement("div");c.style.position="absolute";c.style.visibility="hidden";c.style.width="200px";c.style.height="150px";c.style.overflow="hidden";c.style.boxSizing="content-box";c.appendChild(b);window.document.body.appendChild(c);var d=b.offsetWidth;c.style.overflow="scroll";b=b.offsetWidth;d===b&&(b=c.clientWidth);window.document.body.removeChild(c);c=d-b;0!==c||D.$F|| (c=11);a.Ud=c;c=D.createElement("div");c.dir="rtl";c.style.cssText="font-size: 14px; width: 1px; height: 1px; position: absolute; top: -1000px; overflow: scroll;";c.textContent="A";window.document.body.appendChild(c);d="reverse";0=a)return b;for(var c=this.dc.j;c.next();)b+="\n "+c.value.toString(a-1);return b};E.fromDiv=function(a){var b=a;"string"===typeof a&&(b=window.document.getElementById(a));return b instanceof HTMLDivElement&&b.ia instanceof E?b.ia:null}; @@ -806,7 +806,7 @@ function Pl(a){var b=a.Mb;b.addEventListener("touchstart",a.bC,!1);b.addEventLis return!1},!1);b.addEventListener("contextmenu",function(a){a.preventDefault();return!1},!1);b.addEventListener("gesturechange",function(b){a.ob.oq===Uk&&b.preventDefault()},!1);b.addEventListener("pointerdown",a.wG,!1);b.addEventListener("pointermove",a.yG,!1);b.addEventListener("pointerleave",a.xG,!1);window.addEventListener("resize",a.iC,!1)} E.prototype.computePixelRatio=function(){if(null!==this.Dk)return this.Dk;var a=this.cd;return(window.devicePixelRatio||1)/(a.za.webkitBackingStorePixelRatio||a.za.mozBackingStorePixelRatio||a.za.msBackingStorePixelRatio||a.za.oBackingStorePixelRatio||a.za.backingStorePixelRatio||1)};E.prototype.doMouseMove=function(){this.hb.doMouseMove()};E.prototype.doMouseDown=function(){this.hb.doMouseDown()};E.prototype.doMouseUp=function(){this.hb.doMouseUp()};E.prototype.doMouseWheel=function(){this.hb.doMouseWheel()}; E.prototype.doKeyDown=function(){this.hb.doKeyDown()};E.prototype.doKeyUp=function(){this.hb.doKeyUp()};E.prototype.doFocus=function(){this.focus()};E.prototype.focus=E.prototype.focus=function(){this.Mb&&this.Mb.focus()}; -function el(a){if(null!==a.Mb){var b=a.Ub;if(0!==b.clientWidth&&0!==b.clientHeight){var c=a.Cl?a.Ud:0,d=a.ok?a.Ud:0,e=a.td;a.td=a.computePixelRatio();a.td!==e&&(a.cs=!0,a.Ue());if(b.clientWidth!==a.Pb+c||b.clientHeight!==a.Tb+d)a.Wm=!0,a.Ne=!0,b=a.Zb,null!==b&&b.by&&a.hm===Vh&&b.N(),a.je||a.Ue()}}} +function el(a){if(null!==a.Mb){var b=a.Ub;if(0!==b.clientWidth&&0!==b.clientHeight){var c=a.Cl?a.Ud:0,d=a.ok?a.Ud:0,e=a.td;a.td=a.computePixelRatio();a.td!==e&&(a.cs=!0,a.Ve());if(b.clientWidth!==a.Pb+c||b.clientHeight!==a.Tb+d)a.Wm=!0,a.Ne=!0,b=a.Zb,null!==b&&b.by&&a.hm===Vh&&b.N(),a.je||a.Ve()}}} function Jl(a){var b=new Yg;b.name="Background";a.Rt(b);b=new Yg;b.name="";a.Rt(b);b=new Yg;b.name="Foreground";a.Rt(b);b=new Yg;b.name="Adornment";b.Wc=!0;a.Rt(b);b=new Yg;b.name="Tool";b.Wc=!0;b.VF=!0;a.Rt(b);b=new Yg;b.name="Grid";b.If=!1;b.tg=!1;b.Wc=!0;a.RH(b,a.qm("Background"))} function Ql(a){a.Cd=new x(Rl);a.Cd.name="GRID";var b=new z;b.Jb="LineH";b.stroke="lightgray";b.mb=.5;b.interval=1;a.Cd.add(b);b=new z;b.Jb="LineH";b.stroke="gray";b.mb=.5;b.interval=5;a.Cd.add(b);b=new z;b.Jb="LineH";b.stroke="gray";b.mb=1;b.interval=10;a.Cd.add(b);b=new z;b.Jb="LineV";b.stroke="lightgray";b.mb=.5;b.interval=1;a.Cd.add(b);b=new z;b.Jb="LineV";b.stroke="gray";b.mb=.5;b.interval=5;a.Cd.add(b);b=new z;b.Jb="LineV";b.stroke="gray";b.mb=1;b.interval=10;a.Cd.add(b);b=new F;b.add(a.Cd); b.Mf="Grid";b.Co=0;b.Xx=!1;b.UF=!1;b.tg=!1;b.ly="GRID";a.add(b);a.sb.remove(b);a.Cd.visible=!1}function Sl(){this.ia.isEnabled?this.ia.vI(this):Tl(this.ia)}function Ul(a){this.ia.isEnabled?(this.ia.dA=!0,this.ia.fA=a.target.scrollTop,this.ia.eA=a.target.scrollLeft):Tl(this.ia)} @@ -825,17 +825,17 @@ E.prototype.findObjectAt=E.prototype.Ie=function(a,b,c){void 0===b&&(b=null);voi E.prototype.findObjectsAt=E.prototype.ju=function(a,b,c,d){void 0===b&&(b=null);void 0===c&&(c=null);d instanceof K||d instanceof L||(d=new L(P));Si(this);for(var e=this.dc.ao;e.next();){var g=e.value;g.visible&&g.ju(a,b,c,d)}return d};E.prototype.findObjectsIn=E.prototype.Sk=function(a,b,c,d,e){void 0===b&&(b=null);void 0===c&&(c=null);void 0===d&&(d=!1);e instanceof K||e instanceof L||(e=new L(P));Si(this);for(var g=this.dc.ao;g.next();){var h=g.value;h.visible&&h.Sk(a,b,c,d,e)}return e}; E.prototype.PA=function(a,b,c,d,e,g){var h=new L(P);Si(this);for(var k=this.dc.ao;k.next();){var l=k.value;l.visible&&l.PA(a,b,c,d,h,e,g)}return h};E.prototype.findObjectsNear=E.prototype.Qn=function(a,b,c,d,e,g){void 0===c&&(c=null);void 0===d&&(d=null);void 0===e&&(e=!0);if(!1!==e&&!0!==e){if(e instanceof K||e instanceof L)g=e;e=!0}g instanceof K||g instanceof L||(g=new L(P));Si(this);for(var h=this.dc.ao;h.next();){var k=h.value;k.visible&&k.Qn(a,b,c,d,e,g)}return g}; E.prototype.acceptEvent=function(a){var b=this.gd;this.gd=this.Vb;this.Vb=b;cm(this,this,a,b,a instanceof MouseEvent);return b}; -function cm(a,b,c,d,e){d.g=b;d.event=c;e?dm(a,c,d):(d.se=b.Vb.se,d.ga=b.Vb.ga);a=0;c.ctrlKey&&(a+=1);c.altKey&&(a+=2);c.shiftKey&&(a+=4);c.metaKey&&(a+=8);d.Md=a;d.button=c.button;void 0===c.buttons||D.kJ||(d.buttons=c.buttons);D.Zk&&0===c.button&&c.ctrlKey&&(d.button=2);d.pm=!1;d.up=!1;d.Pe=1;d.om=0;d.Mc=!1;d.bubbles=!1;d.timestamp=Date.now();d.Eu=!1;d.jh=em(c);d.Ye=null} -function em(a){var b=a.target.ia;if(!b){var c=a.path;c||"function"!==typeof a.gI||(c=a.gI());c&&c[0]&&(b=c[0].ia)}return b?b:null}function fm(a,b,c,d,e){d.g=a;dm(a,c,d);d.Md=0;d.button=0;d.buttons=1;d.pm=!0;d.up=!1;d.Pe=1;d.om=0;d.Mc=!1;d.bubbles=!0;d.event=b;d.timestamp=Date.now();d.Eu=e;d.jh=em(b);d.Ye=null;a.$i=d.copy();di=null} -function gm(a,b,c,d,e){var g=null;d.g=a;null!==c?((g=window.document.elementFromPoint(c.clientX,c.clientY))&&g.ia?g=g.ia:(c=b instanceof TouchEvent?b.targetTouches[0]:b,g=a),d.jh=g,dm(a,c,d)):null!==a.gd?(d.ga=a.gd.ga,d.se=a.gd.se,d.jh=a.gd.jh):null!==a.$i&&(d.ga=a.$i.ga,d.se=a.$i.se,d.jh=a.$i.jh);d.Md=0;d.button=0;d.buttons=1;d.pm=!1;d.up=!1;d.Pe=1;d.om=0;d.Mc=!1;d.bubbles=!1;d.event=b;d.timestamp=Date.now();d.Eu=e;d.Ye=null} +function cm(a,b,c,d,e){d.g=b;d.event=c;e?dm(a,c,d):(d.se=b.Vb.se,d.ga=b.Vb.ga);a=0;c.ctrlKey&&(a+=1);c.altKey&&(a+=2);c.shiftKey&&(a+=4);c.metaKey&&(a+=8);d.Md=a;d.button=c.button;void 0===c.buttons||D.kJ||(d.buttons=c.buttons);D.Zk&&0===c.button&&c.ctrlKey&&(d.button=2);d.pm=!1;d.up=!1;d.Pe=1;d.om=0;d.Mc=!1;d.bubbles=!1;d.timestamp=Date.now();d.Eu=!1;d.jh=em(c);d.Ze=null} +function em(a){var b=a.target.ia;if(!b){var c=a.path;c||"function"!==typeof a.gI||(c=a.gI());c&&c[0]&&(b=c[0].ia)}return b?b:null}function fm(a,b,c,d,e){d.g=a;dm(a,c,d);d.Md=0;d.button=0;d.buttons=1;d.pm=!0;d.up=!1;d.Pe=1;d.om=0;d.Mc=!1;d.bubbles=!0;d.event=b;d.timestamp=Date.now();d.Eu=e;d.jh=em(b);d.Ze=null;a.$i=d.copy();di=null} +function gm(a,b,c,d,e){var g=null;d.g=a;null!==c?((g=window.document.elementFromPoint(c.clientX,c.clientY))&&g.ia?g=g.ia:(c=b instanceof TouchEvent?b.targetTouches[0]:b,g=a),d.jh=g,dm(a,c,d)):null!==a.gd?(d.ga=a.gd.ga,d.se=a.gd.se,d.jh=a.gd.jh):null!==a.$i&&(d.ga=a.$i.ga,d.se=a.$i.se,d.jh=a.$i.jh);d.Md=0;d.button=0;d.buttons=1;d.pm=!1;d.up=!1;d.Pe=1;d.om=0;d.Mc=!1;d.bubbles=!1;d.event=b;d.timestamp=Date.now();d.Eu=e;d.Ze=null} function ga(a,b,c){if(b.bubbles)return v&&v.PF&&D.trace("NOT handled "+c.type+" "+b.toString()),!0;v&&v.PF&&D.trace("handled "+c.type+" "+a.hb.name+" "+b.toString());void 0!==c.stopPropagation&&c.stopPropagation();c.preventDefault();c.cancelBubble=!0;return!1} E.prototype.tJ=function(a){if(!this.ia.isEnabled)return!1;var b=this.ia.Vb;cm(this.ia,this.ia,a,b,!1);b.key=String.fromCharCode(a.which);b.pm=!0;switch(a.which){case 8:b.key="Backspace";break;case 33:b.key="PageUp";break;case 34:b.key="PageDown";break;case 35:b.key="End";break;case 36:b.key="Home";break;case 37:b.key="Left";break;case 38:b.key="Up";break;case 39:b.key="Right";break;case 40:b.key="Down";break;case 45:b.key="Insert";break;case 46:b.key="Del";break;case 48:b.key="0";break;case 187:case 61:case 107:b.key= "Add";break;case 189:case 173:case 109:b.key="Subtract";break;case 27:b.key="Esc"}this.ia.doKeyDown();return ga(this.ia,b,a)}; E.prototype.uJ=function(a){if(!this.ia.isEnabled)return!1;var b=this.ia.Vb;cm(this.ia,this.ia,a,b,!1);b.key=String.fromCharCode(a.which);b.up=!0;switch(a.which){case 8:b.key="Backspace";break;case 33:b.key="PageUp";break;case 34:b.key="PageDown";break;case 35:b.key="End";break;case 36:b.key="Home";break;case 37:b.key="Left";break;case 38:b.key="Up";break;case 39:b.key="Right";break;case 40:b.key="Down";break;case 45:b.key="Insert";break;case 46:b.key="Del"}this.ia.doKeyUp();return ga(this.ia,b,a)}; E.prototype.dp=function(a){var b=this.Mb;if(null===b)return new N(0,0);var c=this.Pb,d=this.Tb,b=b.getBoundingClientRect(),c=a.clientX-c/b.width*b.left;a=a.clientY-d/b.height*b.top;return null!==this.Jc?(a=new N(c,a),kb(a,this.Jc),a):new N(c,a)};function dm(a,b,c){var d=a.Mb,e=a.Pb,g=a.Tb,h=0,k=0;null!==d&&(d=d.getBoundingClientRect(),h=b.clientX-e/d.width*d.left,k=b.clientY-g/d.height*d.top);c.se.n(h,k);null!==a.Jc?(b=D.Fb(h,k),a.Jc.Fi(b),c.ga.assign(b),D.A(b)):c.ga.n(h,k)} -function cg(a,b,c,d){var e=null;if(void 0!==b.targetTouches){if(2>b.targetTouches.length)return;e=b.targetTouches[c]}else if(null!==a.oi[0])e=a.oi[c];else return;c=a.Mb;b=a.Pb;a=a.Tb;var g=0,h=0;null!==c&&null!==e&&(c=c.getBoundingClientRect(),g=e.clientX-b/c.width*c.left,h=e.clientY-a/c.height*c.top);d.n(g,h)}E.prototype.invalidateDocumentBounds=E.prototype.Nc=function(){this.pk||(this.pk=!0,this.Ue(!0))};function nl(a){a.je||Si(a);a.pk&&$l(a,a.Mh())} +function cg(a,b,c,d){var e=null;if(void 0!==b.targetTouches){if(2>b.targetTouches.length)return;e=b.targetTouches[c]}else if(null!==a.oi[0])e=a.oi[c];else return;c=a.Mb;b=a.Pb;a=a.Tb;var g=0,h=0;null!==c&&null!==e&&(c=c.getBoundingClientRect(),g=e.clientX-b/c.width*c.left,h=e.clientY-a/c.height*c.top);d.n(g,h)}E.prototype.invalidateDocumentBounds=E.prototype.Nc=function(){this.pk||(this.pk=!0,this.Ve(!0))};function nl(a){a.je||Si(a);a.pk&&$l(a,a.Mh())} E.prototype.redraw=E.prototype.ro=function(){this.dd||this.je||(this.ra(),hm(this),Vl(this),this.Nc(),this.lg())};E.prototype.isUpdateRequested=function(){return this.cg};E.prototype.delayInitialization=function(a){void 0===a&&(a=null);var b=this.Wa,c=b.isEnabled;b.Yh();b.isEnabled=!1;bj(this);this.vh=!1;b.isEnabled=c;null!==a&&D.setTimeout(a,1)}; -E.prototype.requestUpdate=E.prototype.Ue=function(a){void 0===a&&(a=!1);if(!0!==this.cg&&!(this.dd||!1===a&&this.je)){this.cg=!0;var b=this;requestAnimationFrame(function(){b.cg&&b.lg()})}};E.prototype.maybeUpdate=E.prototype.lg=function(){if(!this.bp||this.cg)this.bp&&(this.bp=!1),bj(this)};function im(a,b){a.Wa.yf||a.dd||!a.Wm||Tl(a)||(b&&Si(a),Xl(a,!1))} +E.prototype.requestUpdate=E.prototype.Ve=function(a){void 0===a&&(a=!1);if(!0!==this.cg&&!(this.dd||!1===a&&this.je)){this.cg=!0;var b=this;requestAnimationFrame(function(){b.cg&&b.lg()})}};E.prototype.maybeUpdate=E.prototype.lg=function(){if(!this.bp||this.cg)this.bp&&(this.bp=!1),bj(this)};function im(a,b){a.Wa.yf||a.dd||!a.Wm||Tl(a)||(b&&Si(a),Xl(a,!1))} function bj(a){if(!a.je&&(a.cg=!1,null!==a.Ub)){a.je=!0;var b=a.Wa,c=a.$z;if(!b.np&&0!==c.length){for(var d=c.o,e=d.length,g=0;gl)){var m=l;un(k)&&m++;k.xf(m,!0);vn(k,m,l)}}}}function Ym(a,b){var c=b.cj;if(D.isArray(c)){var d=a.Zm.oa(c);if(null===d)d=[],d.push(b),a.Zm.add(c,d);else{for(c=0;cb.timeStamp-a.an){b.preventDefault();return}a.an=b.timeStamp}if(D.Yn&&null!==a.xt)a.xt=null,b.preventDefault();else{a.gd=a.Vb;a.Vb=c;cm(a,a,b,c,!0);c.up=!0;c.Pe=b.detail;if(D.YF||D.ZF)c.Pe=a.Ll;c.bubbles=b.bubbles;c.jh=em(b);a.simulatedMouseUp(b,null,new N,c.jh)||(a.doMouseUp(),Di(a),ga(a,c,b))}}};a.dh=function(b){if(a.isEnabled){var c= a.gd;a.gd=a.Vb;a.Vb=c;cm(a,a,b,c,!0);c.bubbles=!0;c.om=void 0!==b.wheelDelta?b.wheelDelta:-40*b.detail;a.doMouseWheel();ga(a,c,b)}};a.lo=function(){if(a.isEnabled){a.Hl=!1;var b=a.hb;b.cancelWaitAfter();b.standardMouseOver()}};a.bC=function(b){if(a.isEnabled){a.Ft=!1;a.Il=!0;var c=a.gd;a.gd=a.Vb;a.Vb=c;fm(a,b,b.targetTouches[0],c,1a.Kw)){var c=a.oi;c[0].pointerId===b.pointerId&&(c[0]=b);c[1].pointerId===b.pointerId&&(c[1]=b);a.isEnabled&&c[1]!==b&&(c=a.gd,a.gd=a.Vb,a.Vb=c,gm(a,b,b,c,!0),a.simulatedMouseMove(b,null,c.jh)||(a.doMouseMove(),ga(a,c,b)))}};a.xG=function(b){if("touch"=== b.pointerType){var c=a.YD;void 0!==c[b.pointerId]&&(a.Kw--,delete c[b.pointerId],c=a.oi,null!==c[0]&&c[0].pointerId===b.pointerId&&(c[0]=null),null!==c[1]&&c[1].pointerId===b.pointerId&&(c[1]=null))}};d.De(!0);Pl(a)}function Vn(a){1c&&(c+=360);e=l/(1-Math.abs(2*d-1))}io.Pc=Math.round(c);io.Nd=Math.round(100*e);io.md=Math.round(100*d);io.pg=ho.pg;io.md=Math.min(100,Math.max(0,io.md+100*a));return"hsla("+io.Pc+", "+io.Nd+"%, "+io.md+"%, "+io.pg+")";default:return D.k("Unknown color space: "+b),"rgba(0, 0, 0, 1)"}} function mo(a){fo.clearRect(0,0,1,1);fo.fillStyle="#000000";var b=fo.fillStyle;fo.fillStyle=a;fo.fillStyle!==b?(fo.fillRect(0,0,1,1),a=fo.getImageData(0,0,1,1).data,ho.Pc=a[0],ho.Nd=a[1],ho.md=a[2],ho.pg=a[3]/255):(fo.fillStyle="#FFFFFF",b=fo.fillStyle,fo.fillStyle=a,fo.fillStyle===b&&v&&D.k('Color "'+a+'" is not a valid color string for RGBA color conversion'),ho.Pc=0,ho.Nd=0,ho.md=0,ho.pg=1)}function po(a){a/=255;return.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)} function vo(a){return.0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}var uo=216/24389,to=24389/27,ro=[95.047,100,108.883];function qo(a){return a>uo?Math.pow(a,1/3):(to*a+16)/116}function so(a){var b=a*a*a;return b>uo?b:(116*a-16)/to} -function P(){D.vc(this);this.T=4225027;this.Hc=1;this.Dh=null;this.ac="";this.kc=this.Lb=null;this.tb=(new N(NaN,NaN)).freeze();this.$e=ie;this.ni=Xd;this.mi=ge;this.Jc=new Ea;this.Ni=new Ea;this.gj=new Ea;this.Db=this.Xo=1;this.wg=0;this.Rg=wo;this.fn=Sd;this.Dd=(new C(NaN,NaN,NaN,NaN)).freeze();this.cc=(new C(NaN,NaN,NaN,NaN)).freeze();this.ed=(new C(0,0,NaN,NaN)).freeze();this.$=this.Zs=this.$s=null;this.Lm=this.te=Vc;this.lt=0;this.qj=1;this.or=0;this.Si=1;this.Bt=null;this.pt=-Infinity;this.rn= +function P(){D.vc(this);this.T=4225027;this.Hc=1;this.Dh=null;this.ac="";this.kc=this.Lb=null;this.tb=(new N(NaN,NaN)).freeze();this.af=ie;this.ni=Xd;this.mi=ge;this.Jc=new Ea;this.Ni=new Ea;this.gj=new Ea;this.Db=this.Xo=1;this.wg=0;this.Rg=wo;this.fn=Sd;this.Dd=(new C(NaN,NaN,NaN,NaN)).freeze();this.cc=(new C(NaN,NaN,NaN,NaN)).freeze();this.ed=(new C(0,0,NaN,NaN)).freeze();this.$=this.Zs=this.$s=null;this.Lm=this.te=Vc;this.lt=0;this.qj=1;this.or=0;this.Si=1;this.Bt=null;this.pt=-Infinity;this.rn= 0;this.sn=Kd;this.tn=Mj;this.xr="";this.Dc=this.na=null;this.Jo=-1;this.xn=this.zg=this.xl=this.Kp=null;this.aA=Pj;this.nn=null}D.Di(P);D.ka("GraphObject",P); -P.prototype.cloneProtected=function(a){a.T=this.T|6144;a.Hc=this.Hc;a.ac=this.ac;a.Lb=this.Lb;a.kc=this.kc;a.tb.assign(this.tb);a.$e=this.$e.V();a.ni=this.ni.V();a.mi=this.mi.V();a.gj=this.gj.copy();a.Db=this.Db;a.wg=this.wg;a.Rg=this.Rg;a.fn=this.fn.V();a.Dd.assign(this.Dd);a.cc.assign(this.cc);a.ed.assign(this.ed);a.Zs=this.Zs;null!==this.$&&(a.$=this.$.copy());a.te=this.te.V();a.Lm=this.Lm.V();a.lt=this.lt;a.qj=this.qj;a.or=this.or;a.Si=this.Si;a.Bt=this.Bt;a.pt=this.pt;a.rn=this.rn;a.sn=this.sn.V(); +P.prototype.cloneProtected=function(a){a.T=this.T|6144;a.Hc=this.Hc;a.ac=this.ac;a.Lb=this.Lb;a.kc=this.kc;a.tb.assign(this.tb);a.af=this.af.V();a.ni=this.ni.V();a.mi=this.mi.V();a.gj=this.gj.copy();a.Db=this.Db;a.wg=this.wg;a.Rg=this.Rg;a.fn=this.fn.V();a.Dd.assign(this.Dd);a.cc.assign(this.cc);a.ed.assign(this.ed);a.Zs=this.Zs;null!==this.$&&(a.$=this.$.copy());a.te=this.te.V();a.Lm=this.Lm.V();a.lt=this.lt;a.qj=this.qj;a.or=this.or;a.Si=this.Si;a.Bt=this.Bt;a.pt=this.pt;a.rn=this.rn;a.sn=this.sn.V(); a.tn=this.tn;a.xr=this.xr;null!==this.na&&(a.na=this.na.copy());a.Dc=this.Dc;a.Jo=this.Jo;null!==this.xl&&(a.xl=D.jm(this.xl));null!==this.zg&&(a.zg=this.zg.copy());a.xn=this.xn};P.prototype.addCopyProperty=P.prototype.QH=function(a){var b=this.xl;if(D.isArray(b))for(var c=0;ck;)k+=g[n++%l],p=!p;q=!1}else k=g[n++%l];k>m&&(k=m);var r=Math.sqrt(k*k/(1+e*e));0>d&&(r=-r);b+=r;c+=e*r;p?a.lineTo(b,c):a.moveTo(b,c);m-=k;p=!p}} P.prototype.raiseChangedEvent=P.prototype.nd=function(a,b,c,d,e,g,h){var k=this.Y;if(null!==k&&(k.qo(a,b,c,d,e,g,h),Ho(this)&&c===this&&a===fg&&Io(this,k,b),c===k&&0!==(k.T&16777216)&&null!==k.data))for(a=this.xa.o,c=a.length,d=0;dd&&(g=b);isFinite(c)&& c>e&&(k=c);break;case yo:isFinite(b)&&b>d&&(g=b);k=0;l&&(c=Infinity);break;case xo:isFinite(c)&&c>e&&(k=c),g=0,l&&(b=Infinity)}var l=a.of,m=a.bh;g>l.width&&m.widthl.height&&m.heighta.height||this.rf.ef>a.width))&&(c=!0);this.T=c?this.T|256:this.T&-257;this.cc.F()|| +f.rc=function(a,b,c,d,e){this.aj();var g=D.Qf();g.assign(this.cc);this.cc.Xa();if(!1===Nm(this)){var h=this.cc;h.x=a;h.y=b;h.width=c;h.height=d}else this.yj(a,b,c,d);this.cc.freeze();this.zg=void 0===e?null:e;c=!1;void 0!==e?c=!0:null!==this.R&&(e=this.R.ed,d=this.Fa,null!==this.fm&&(d=this.cc),c=b+d.height,d=a+d.width,c=!(0<=a+.05&&d<=e.width+.05&&0<=b+.05&&c<=e.height+.05),this instanceof pa&&(a=this.ed,this.sw>a.height||this.rf.ff>a.width))&&(c=!0);this.T=c?this.T|256:this.T&-257;this.cc.F()|| D.k("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.cc.toString());this.qy(g,this.cc);No(this,!1);D.Kb(g)};f.yj=function(){}; function Oo(a,b,c,d,e){var g=a.Z;g.x=b;g.y=c;g.width=d;g.height=e;if(!a.Ea.F()){g=a.Dd;c=a.margin;b=c.right+c.left;var h=c.top+c.bottom;c=g.width+b;g=g.height+h;d+=b;e+=h;b=Mo(a,!0);c===d&&g===e&&(b=Yj);switch(b){case Yj:if(c>d||g>e)jm(a,!0),Gk(a,c>d?d:c,g>e?e:g);break;case rf:jm(a,!0);Gk(a,d,e,0,0);break;case yo:jm(a,!0);Gk(a,d,g,0,0);break;case xo:jm(a,!0),Gk(a,c,e,0,0)}}} f.qy=function(a,b){var c=this.Y;null!==c&&null!==c.g&&(c.to!==this&&c.LG!==this&&c.GB!==this||Po(c,!0),this.ra(),Db(a,b)||(c.Yk(),this.Qs(c)))};f.Qs=function(a){null!==this.wd&&(Po(a,!0),a instanceof G&&Qo(a,this))};D.defineProperty(P,{Pq:"shadowVisible"},function(){return this.xn},function(a){var b=this.xn;b!==a&&(v&&null!==a&&D.h(a,"boolean",P,"shadowVisible"),this.xn=a,this.ra(),this.i("shadowVisible",b,a))}); @@ -1093,26 +1093,26 @@ l+=r;p+=r;n+=s;q+=s;if(c.type===Gg)k=b.createLinearGradient(l,n,p,q);else if(c.t P.prototype.isEnabledObject=P.prototype.Au=function(){for(var a=this instanceof x?this:this.R;null!==a&&a.isEnabled;)a=a.R;return null===a};D.defineProperty(P,{rF:"enabledChanged"},function(){return null!==this.na?this.na.Pr:null},function(a){Co(this);var b=this.na.Pr;b!==a&&(null!==a&&D.h(a,"function",P,"enabledChanged"),this.na.Pr=a,this.i("enabledChanged",b,a))}); function Uo(a){if(0!==(a.T&2048)===!0){var b=a.Jc;b.reset();if(!a.cc.F()||!a.Dd.F()){Xo(a,!1);return}b.translate(a.cc.x,a.cc.y);b.translate(-a.Fa.x,-a.Fa.y);var c=a.Ga;Ko(a,b,c.x,c.y,c.width,c.height);Xo(a,!1);Yo(a,!0)}0!==(a.T&4096)===!0&&(b=a.R,null===b?(a.Ni.set(a.Jc),a.Xo=a.scale,Yo(a,!1)):null!==b.Jh&&(c=a.Ni,c.reset(),b.nh()?c.multiply(b.Ni):null!==b.R&&c.multiply(b.R.Ni),c.multiply(a.Jc),a.Xo=a.scale*b.Xo,Yo(a,!1)))} function Ko(a,b,c,d,e,g){1!==a.scale&&b.scale(a.scale);if(0!==a.angle){var h=mc;a.Kj()&&a.Nf.Vc()&&(h=a.Nf);var k=D.P();if(a instanceof F&&a.Bf!==a)for(c=a.Bf,d=c.Ga,k.fv(d.x,d.y,d.width,d.height,h),c.gj.xb(k),k.offset(-c.Fa.x,-c.Fa.y),h=c.R;null!==h&&h!==a;)h.gj.xb(k),k.offset(-h.Fa.x,-h.Fa.y),h=h.R;else k.fv(c,d,e,g,h);b.rotate(a.angle,k.x,k.y);D.A(k)}}f=P.prototype;f.K=function(a){void 0===a&&(a=!1);if(!0!==Mm(this)){jm(this,!0);No(this,!0);var b=this.R;null===b||a||b.K()}}; -f.uq=function(){!0!==Mm(this)&&(jm(this,!0),No(this,!0))};function Zo(a){if(!1===Nm(a)){var b=a.R;null!==b?b.K():a.Kj()&&(b=a.g,null!==b&&(b.Hg.add(a),a instanceof G&&a.kg(),b.Ue()));No(a,!0)}}f.aj=function(){0!==(this.T&2048)===!1&&(Xo(this,!0),Yo(this,!0))};f.cB=function(){Yo(this,!0)};f.ra=function(){var a=this.Y;null!==a&&a.ra()}; +f.uq=function(){!0!==Mm(this)&&(jm(this,!0),No(this,!0))};function Zo(a){if(!1===Nm(a)){var b=a.R;null!==b?b.K():a.Kj()&&(b=a.g,null!==b&&(b.Hg.add(a),a instanceof G&&a.kg(),b.Ve()));No(a,!0)}}f.aj=function(){0!==(this.T&2048)===!1&&(Xo(this,!0),Yo(this,!0))};f.cB=function(){Yo(this,!0)};f.ra=function(){var a=this.Y;null!==a&&a.ra()}; function Mo(a,b){var c=a.stretch,d=a.R;if(null!==d&&d.ca===fa)return $o(a,d.Zd(a.Sb),d.Yd(a.column),b);if(null!==d&&d.ca===Ol&&d.Xd()===a)return ap(a,rf,b);if(c===wo){if(null!==d){if(d.ca===Wj&&d.Xd()===a)return ap(a,rf,b);c=d.me;return c===wo?ap(a,Yj,b):ap(a,c,b)}return ap(a,Yj,b)}return ap(a,c,b)} function $o(a,b,c,d){var e=a.stretch;if(e!==wo)return ap(a,e,d);var g=e=null;switch(b.stretch){case xo:g=!0;break;case rf:g=!0}switch(c.stretch){case yo:e=!0;break;case rf:e=!0}b=a.R.me;null===e&&(e=b===yo||b===rf);null===g&&(g=b===xo||b===rf);return!0===e&&!0===g?ap(a,rf,d):!0===e?ap(a,yo,d):!0===g?ap(a,xo,d):ap(a,Yj,d)} function ap(a,b,c){if(c)return b;if(b===Yj)return Yj;c=a.Ea;if(c.F())return Yj;a=a.angle;if(!isNaN(c.width))if(90!==a&&270!==a){if(b===yo)return Yj;if(b===rf)return xo}else{if(b===xo)return Yj;if(b===rf)return yo}if(!isNaN(c.height))if(90!==a&&270!==a){if(b===xo)return Yj;if(b===rf)return yo}else{if(b===yo)return Yj;if(b===rf)return xo}return b} -D.defineProperty(P,{Lq:"segmentOrientation"},function(){return this.tn},function(a){var b=this.tn;b!==a&&(v&&D.Da(a,J,P,"segmentOrientation"),this.tn=a,this.K(),this.i("segmentOrientation",b,a),a===Mj&&(this.angle=0))});D.defineProperty(P,{Ve:"segmentIndex"},function(){return this.pt},function(a){v&&D.h(a,"number",P,"segmentIndex");a=Math.round(a);var b=this.pt;b!==a&&(this.pt=a,this.K(),this.i("segmentIndex",b,a))}); +D.defineProperty(P,{Lq:"segmentOrientation"},function(){return this.tn},function(a){var b=this.tn;b!==a&&(v&&D.Da(a,J,P,"segmentOrientation"),this.tn=a,this.K(),this.i("segmentOrientation",b,a),a===Mj&&(this.angle=0))});D.defineProperty(P,{We:"segmentIndex"},function(){return this.pt},function(a){v&&D.h(a,"number",P,"segmentIndex");a=Math.round(a);var b=this.pt;b!==a&&(this.pt=a,this.K(),this.i("segmentIndex",b,a))}); D.defineProperty(P,{JB:"segmentFraction"},function(){return this.rn},function(a){v&&D.h(a,"number",P,"segmentFraction");isNaN(a)?a=0:0>a?a=0:1a||1=a&&D.k("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Db=a,this.aj(),this.K(),this.i("scale",b,a))});D.defineProperty(P,{angle:"angle"},function(){return this.wg},function(a){var b=this.wg;b!==a&&(v&&D.p(a,P,"angle"),a%=360,0>a&&(a+=360),b!==a&&(this.wg=a,bp(this),this.K(),this.aj(),this.i("angle",b,a)))}); -D.defineProperty(P,{Ea:"desiredSize"},function(){return this.$e},function(a){v&&D.l(a,Ca,P,"desiredSize");var b=a.width,c=a.height,d=this.$e,e=d.width,g=d.height;(e===b||isNaN(e)&&isNaN(b))&&(g===c||isNaN(g)&&isNaN(c))||(this.$e=a=a.V(),this.K(),this instanceof z&&this.Te(),this.i("desiredSize",d,a),Ho(this)&&(a=this.Y,null!==a&&(Io(this,a,"width"),Io(this,a,"height"))))}); -D.defineProperty(P,{width:"width"},function(){return this.$e.width},function(a){var b=this.$e.width;b===a||isNaN(b)&&isNaN(a)||(v&&D.h(a,"number",P,"width"),b=this.$e,this.$e=a=(new Ca(a,this.$e.height)).freeze(),this.K(),this instanceof z&&this.Te(),this.i("desiredSize",b,a),Ho(this)&&(a=this.Y,null!==a&&Io(this,a,"width")))}); -D.defineProperty(P,{height:"height"},function(){return this.$e.height},function(a){var b=this.$e.height;b===a||isNaN(b)&&isNaN(a)||(v&&D.h(a,"number",P,"height"),b=this.$e,this.$e=a=(new Ca(this.$e.width,a)).freeze(),this.K(),this instanceof z&&this.Te(),this.i("desiredSize",b,a),Ho(this)&&(a=this.Y,null!==a&&Io(this,a,"height")))}); +D.defineProperty(P,{Ea:"desiredSize"},function(){return this.af},function(a){v&&D.l(a,Ca,P,"desiredSize");var b=a.width,c=a.height,d=this.af,e=d.width,g=d.height;(e===b||isNaN(e)&&isNaN(b))&&(g===c||isNaN(g)&&isNaN(c))||(this.af=a=a.V(),this.K(),this instanceof z&&this.Te(),this.i("desiredSize",d,a),Ho(this)&&(a=this.Y,null!==a&&(Io(this,a,"width"),Io(this,a,"height"))))}); +D.defineProperty(P,{width:"width"},function(){return this.af.width},function(a){var b=this.af.width;b===a||isNaN(b)&&isNaN(a)||(v&&D.h(a,"number",P,"width"),b=this.af,this.af=a=(new Ca(a,this.af.height)).freeze(),this.K(),this instanceof z&&this.Te(),this.i("desiredSize",b,a),Ho(this)&&(a=this.Y,null!==a&&Io(this,a,"width")))}); +D.defineProperty(P,{height:"height"},function(){return this.af.height},function(a){var b=this.af.height;b===a||isNaN(b)&&isNaN(a)||(v&&D.h(a,"number",P,"height"),b=this.af,this.af=a=(new Ca(this.af.width,a)).freeze(),this.K(),this instanceof z&&this.Te(),this.i("desiredSize",b,a),Ho(this)&&(a=this.Y,null!==a&&Io(this,a,"height")))}); D.defineProperty(P,{bh:"minSize"},function(){return this.ni},function(a){var b=this.ni;b.O(a)||(v&&D.l(a,Ca,P,"minSize"),a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),this.ni=a,this.K(),this.i("minSize",b,a))});D.defineProperty(P,{of:"maxSize"},function(){return this.mi},function(a){var b=this.mi;b.O(a)||(v&&D.l(a,Ca,P,"maxSize"),a=a.copy(),isNaN(a.width)&&(a.width=Infinity),isNaN(a.height)&&(a.height=Infinity),a.freeze(),this.mi=a,this.K(),this.i("maxSize",b,a))}); D.w(P,{Fa:"measuredBounds"},function(){return this.Dd});D.w(P,{Ga:"naturalBounds"},function(){return this.ed},{configurable:!0});D.defineProperty(P,{margin:"margin"},function(){return this.fn},function(a){"number"===typeof a?a=new Lb(a):v&&D.l(a,Lb,P,"margin");var b=this.fn;b.O(a)||(this.fn=a=a.V(),this.K(),this.i("margin",b,a))});D.w(P,{transform:null},function(){0!==(this.T&2048)===!0&&Uo(this);return this.Jc});D.w(P,{Jh:null},function(){0!==(this.T&4096)===!0&&Uo(this);return this.Ni}); D.defineProperty(P,{alignment:"alignment"},function(){return this.te},function(a){var b=this.te;b.O(a)||(v&&D.l(a,S,P,"alignment"),a.ce()&&!a.kd()&&D.k("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.te=a=a.V(),Zo(this),this.i("alignment",b,a))});D.defineProperty(P,{column:"column"},function(){return this.or},function(a){v&&D.p(a,P,"column");a=Math.round(a);var b=this.or;b!==a&&(0>a&&D.ua(a,">= 0",P,"column"),this.or=a,this.K(),this.i("column",b,a))}); @@ -1186,14 +1186,14 @@ h,w);B&&a.IA();1!==s&&(a.globalAlpha=t)}}a.restore();a.De(!1)}else if(this.ca=== O=t.Jc,O.reset(),O.translate(y.x+B.x,y.y+B.y),O.rotate(H+t.angle,0,0),O.translate(-R.width*A.x+A.offsetX+w/2,-R.height*A.y+A.offsetY+w/2),O.scale(t.scale,t.scale),Xo(t,!1),t.Ni.set(t.Jc),t.Xo=t.scale,Yo(t,!1),q.Ge(a,b),q.Jc.reset()}else if(q instanceof pa)for(null===this.Ek&&(this.Ek=new pa),r=this.Ek,rp(q,r),p=0;pg.height)continue}else if(l.position>g.width)continue;var m=l.Nq;isNaN(m)&&(m=c?a.ei:a.di);var n=l.Mq;null===n&&(n=c?a.Wi:a.ci);0!==m&&null!==n&&(Vo(a,b,n,!1,!1),b.beginPath(),n=l.position+m,c?n>g.height&&(m-=n-g.height):n>g.width&&(m-=n-g.width),l=l.position+m/2,b.lineWidth=m,n=a.padding,c?(l+=n.top,m=n.left,n=g.width-n.right,b.moveTo(m,l),b.lineTo(n,l)):(l+= n.left,m=n.top,n=g.height-n.bottom,b.moveTo(l,m),b.lineTo(l,n)),b.stroke())}}} -function sp(a,b,c,d,e){for(var g=d.length,h=a.Z,k=0;km)){var n=l.jf(),p=l.Nq;isNaN(p)&&(p=c?a.ei:a.di);var q=l.Mq;null===q&&(q=c?a.Wi:a.ci);null===q&&(p=0);n-=p;p=l.position+p;n+=l.gb;p+n>m&&(n=m-p);0>=n||(m=a.padding,Vo(a,b,l.background,!0,!1),c?b.fillRect(m.left,p+m.top,h.width-(m.left+m.right),n):b.fillRect(p+m.left,m.top,n,h.height-(m.top+m.bottom)))}}}} +function sp(a,b,c,d,e){for(var g=d.length,h=a.Z,k=0;km)){var n=l.kf(),p=l.Nq;isNaN(p)&&(p=c?a.ei:a.di);var q=l.Mq;null===q&&(q=c?a.Wi:a.ci);null===q&&(p=0);n-=p;p=l.position+p;n+=l.gb;p+n>m&&(n=m-p);0>=n||(m=a.padding,Vo(a,b,l.background,!0,!1),c?b.fillRect(m.left,p+m.top,h.width-(m.left+m.right),n):b.fillRect(p+m.left,m.top,n,h.height-(m.top+m.bottom)))}}}} function qp(a,b,c){if(0!==a%b)return!1;b=c.length;for(var d=0;dm&&e.set(s),D.A(s));D.A(n);g&&e.transform(h)}return c}; -f.K=function(a){P.prototype.K.call(this,a);if(this.ca===Ol||this.ca===rj)a=this.Xd(),null!==a&&a.K(!0);a=this.xa.o;for(var b=a.length,c=0;cOd&&(rc=Math.max(Od-sc,0));var ng=0===Z.gb;Z.gb+=rc;Od=Math.max(Od-(rc+(ng?sc:0)),0)}1!==ca.Si||Tb!==Yj&&Tb!==xo||(Z=this.Yd(Kb),sc=Z.jf(),rc=Math.max(ff-Z.gb,0),rc+sc>cd&&(rc=Math.max(cd-sc,0)),ng=0===Z.gb,Z.gb+=rc,cd=Math.max(cd-(rc+(ng?sc:0)),0));ni&&ca.uq()}}}D.ya(bf);for(var Gc=0,Fb=0,Jb=this.cq,ka=0;kaOd&&(rc=Math.max(Od-sc,0));var ng=0===Z.gb;Z.gb+=rc;Od=Math.max(Od-(rc+(ng?sc:0)),0)}1!==ca.Si||Tb!==Yj&&Tb!==xo||(Z=this.Yd(Kb),sc=Z.kf(),rc=Math.max(ff-Z.gb,0),rc+sc>cd&&(rc=Math.max(cd-sc,0)),ng=0===Z.gb,Z.gb+=rc,cd=Math.max(cd-(rc+(ng?sc:0)),0));ni&&ca.uq()}}}D.ya(bf);for(var Gc=0,Fb=0,Jb=this.cq,ka=0;ka=this.Kq);eb++)Z=this.Zd(ca.Sb+eb),rc=Tb===rf||Tb===xo?Math.max(Z.Th,0===zd[ca.Sb+eb]?Z.re:Math.min(zd[ca.Sb+eb],Z.re)):Math.max(Z.Th,isNaN(Z.tf)?Z.re:Math.min(Z.tf,Z.re)),Pd.height+=rc;for(eb=1;eb=this.cq);eb++)Z= this.Yd(ca.column+eb),rc=Tb===rf||Tb===yo?Math.max(Z.Th,0===jf[ca.column+eb]?Z.re:Math.min(jf[ca.column+eb],Z.re)):Math.max(Z.Th,isNaN(Z.tf)?Z.re:Math.min(Z.tf,Z.re)),Pd.width+=rc;tb.width+=Pd.width;tb.height+=Pd.height;Cc=ca.margin;Lf=Cc.right+Cc.left;mg=Cc.top+Cc.bottom;Gk(ca,tb.width,tb.height,vj,wj);for(var Mf=ca.Fa,ff=Math.max(Mf.width+Lf,0),gf=Math.max(Mf.height+mg,0),kf=0,eb=0;eb=this.Kq);eb++)Z=this.Zd(ca.Sb+eb),kf+=Z.total||0;if(kf=od)&&!(ca.Sb+eb>=this.Kq);eb++){var Z=this.Zd(ca.Sb+eb),Ic=Z.Ya||0,Of=lf(ca,Z,Og);v&&"number"!==typeof Of&&D.k(ca+" spanAllocation does not return a number: "+Of);Z.gb=Math.min(Z.re,Ic+Of);Z.Ya!==Ic&&(od-=Z.Ya-Ic)}for(;0Ic&&(Z.gb=Math.min(Z.re,Ic+od),Z.Ya!==Ic&&(od-=Z.Ya-Ic));if(0===Z.index)break;Z=this.Zd(Z.index-1)}}for(var Me=0,eb=0;eb=this.cq);eb++)Z=this.Yd(ca.column+eb),Me+=Z.total||0;if(Me=od)&&!(ca.column+eb>=this.cq);eb++)Z=this.Yd(ca.column+eb),Ic=Z.Ya||0,Of=lf(ca,Z,Og),v&&"number"!==typeof Of&&D.k(ca+" spanAllocation does not return a number: "+Of),Z.gb=Math.min(Z.re,Ic+Of),Z.Ya!==Ic&&(od-=Z.Ya-Ic);for(;0Ic&&(Z.gb=Math.min(Z.re,Ic+od),Z.Ya!==Ic&&(od-=Z.Ya-Ic));if(0===Z.index)break;Z=this.Yd(Z.index-1)}}}D.ya(Le);D.Uk(Pd);D.Uk(tb);void 0!==zd&&D.ya(zd);void 0!==jf&&D.ya(jf);for(var Pg= -0,Qg=0,Tb=Mo(this,!0),yj=this.Ea,Lk=this.of,xe=Fb=Gc=0,dd=0,Jb=this.cq,ka=0;kari)Gk(Yb,Infinity,Infinity),ye=Yb.Fa,nf.Zh(ye),this.rh.add(ye);else{var Ad=Yb.Ve,Bt=Yb.JB,vp=Yb.Ih;vp.ce()&&(vp=mc);var og=Yb.Lq,jw=Yb.KB,Rk=0,Sk=0,um=0;if(Ad<-ri||Ad>=ri){var Ct=Pk.oG,Pf=Pk.nG;og!==Mj&&(um=Pk.computeAngle(Yb,og,Pf),Yb.wg=um);Rk=Ct.x-Rg.x;Sk=Ct.y-Rg.y}else{var Qd, +null!==tm&&(Wp(tm,yt,zt,this),ye=tm.Fa,nf.Zh(ye),this.rh.add(ye));for(var Sg=D.Rf(),Qk=D.P(),Tg=D.P(),up=0;upri)Gk(Yb,Infinity,Infinity),ye=Yb.Fa,nf.Zh(ye),this.rh.add(ye);else{var Ad=Yb.We,Bt=Yb.JB,vp=Yb.Ih;vp.ce()&&(vp=mc);var og=Yb.Lq,jw=Yb.KB,Rk=0,Sk=0,um=0;if(Ad<-ri||Ad>=ri){var Ct=Pk.oG,Pf=Pk.nG;og!==Mj&&(um=Pk.computeAngle(Yb,og,Pf),Yb.wg=um);Rk=Ct.x-Rg.x;Sk=Ct.y-Rg.y}else{var Qd, of;if(0<=Ad)Qd=Hh.ea(Ad),of=AdEt+10?0<=Ad?ti.Xb(Qd):Qd.Xb(ti):Et>Dt+10?0<=Ad?of.Xb(ui):ui.Xb(of):0<=Ad?ti.Xb(ui):ui.Xb(ti)}else Pf=0<=Ad?Qd.Xb(of):of.Xb(Qd);og!==Mj&&(um=Pk.computeAngle(Yb,og,Pf),Yb.wg=um);Rk=Qd.x+(of.x-Qd.x)*Bt-Rg.x;Sk=Qd.y+(of.y-Qd.y)*Bt-Rg.y}Gk(Yb, Infinity,Infinity);var ye=Yb.Fa,sm=Yb.Ga,Tk=0;Yb instanceof z&&(Tk=Yb.mb);var vi=sm.width+Tk,Aj=sm.height+Tk;Sg.reset();Sg.translate(-ye.x,-ye.y);Sg.scale(Yb.scale,Yb.scale);Sg.rotate(og===Mj?Yb.angle:Pf,vi/2,Aj/2);og!==Xp&&og!==Yp||Sg.rotate(90,vi/2,Aj/2);og!==Zp&&og!==$p||Sg.rotate(-90,vi/2,Aj/2);og===aq&&(45Pf||225Pf)&&Sg.rotate(-Pf,vi/2,Aj/2);var Bj=new C(0,0,vi,Aj);Qk.uo(Bj,vp);Sg.xb(Qk);var kw=-Qk.x+Tk/2*Yb.scale,lw=-Qk.y+Tk/2*Yb.scale;Tg.assign(jw);isNaN(Tg.x)&&(Tg.x=0<=Ad? vi/2+3:-(vi/2+3));isNaN(Tg.y)&&(Tg.y=-(Aj/2+3));Tg.rotate(Pf);Rk+=Tg.x;Sk+=Tg.y;Bj.set(ye);Bj.x=Rk+kw;Bj.y=Sk+lw;this.rh.add(Bj);nf.Zh(Bj)}}if(this instanceof J)for(var Ft=this.Af;Ft.next();)Gk(Ft.value,Infinity,Infinity);this.vj=nf;var wp=this.hj;wp.n(wp.x+nf.x,wp.y+nf.y);Cb(e,nf.width||0,nf.height||0);D.Je(Sg);D.A(Qk);D.A(Tg)}}}break;case "Grid":break;case "Graduated":var mw=a,nw=b,ow=c,pw=d,Ug=this.Xd();this.Tm=[];var Cj=Ug.margin,qw=Cj.right+Cj.left,rw=Cj.top+Cj.bottom;Gk(Ug,mw,nw,ow,pw);var Gt= @@ -1238,7 +1238,7 @@ xi+=Hj;if(Ih<=xi)break;Qf++;Cd=0;Bd=Ej[Qf][Cd];Hj=Dj[Qf][Cd];xi+=Hj}var Rd=xp[Qf zi,eu=Ip,Fw=e;null===this.Ek&&(this.Ek=new pa);var Rf=this.Ek;rp(Fm,Rf);var Np=Fm.Ih;Np.ce()&&(Np=jc);for(var Lh=Fm.Lq,Gw=Fm.KB,Bi=null,Gm=0,Hm=0,Vg=0,Op=0,Hw=eu.length,Im=0;ImVg||225Vg)&&Wg.rotate(-Vg,Kj/2,Lj/2);var fu=D.vg(0,0,Kj,Lj),al=D.P();al.uo(fu,Np);Wg.xb(al);var Iw=-al.x,Jw=-al.y,Xg=D.P();Xg.assign(Gw);isNaN(Xg.x)&&(Xg.x=Kj/2+3);isNaN(Xg.y)&&(Xg.y=-(Lj/2+3));Xg.rotate(Vg);var Gm=Gm+(Xg.x+Iw),Hm=Hm+(Xg.y+Jw),Pp=new C(Gm,Hm,Mh.width,Mh.height),Kw=new C(Mh.x,Mh.y,Mh.width,Mh.height),Lw=new C(Jj.x,Jj.y,Jj.width,Jj.height),gu=new bq;gu.dq(Rf.rf);qg.push(Op);qg.push(Rf.we);qg.push(gu); qg.push(Pp);qg.push(Kw);qg.push(Lw);0===Im?Bi=Pp.copy():Bi.Zh(Pp);D.A(Xg);D.A(al);D.Kb(fu);D.Je(Wg)}this.Tm.push(Bi);Ub(Fw,Bi.x,Bi.y,Bi.width,Bi.height)}jm(zi,!1)}}break;case "TableRow":case "TableColumn":D.k(this.toString()+" is not an element of a Table Panel. TableRow and TableColumn Panels can only be elements of a Table Panel.");break;default:D.k("Unknown panel type: "+n)}}var pf=e.width,qf=e.height,Jm=this.padding,Mw=Jm.top+Jm.bottom,pf=pf+(Jm.left+Jm.right),qf=qf+Mw;isFinite(g.width)&&(pf= -g.width);isFinite(g.height)&&(qf=g.height);pf=Math.min(k.width,pf);qf=Math.min(k.height,qf);pf=Math.max(h.width,pf);qf=Math.max(h.height,qf);pf=Math.max(c,pf);qf=Math.max(d,qf);e.width=pf;e.height=qf;Cb(this.ed,pf,qf);Jo(this,0,0,pf,qf)};x.prototype.findMainElement=x.prototype.Xd=function(){if(null===this.Wl){var a=this.xa.o,b=a.length;if(0===b)return null;for(var c=0;cc||p>d)this.K(),Gk(this,n>c?c:n,p>d?d:p);break;case rf:this.K(!0);Gk(this,c+r,d+s,0,0);break;case yo:this.K(!0);Gk(this,c+r,p+s,0,0);break;case xo:this.K(!0),Gk(this,n+r,d+s,0,0)}}k=this.Z;k.x=a;k.y=b; k.width=c;k.height=d;var u=this.ca.ac;switch(u){case "Position":for(var t=g.length,y=e.x-this.padding.left,w=e.y-this.padding.top,B=0;B=ng){var Ng=this.oG,tb=this.nG;xj!==Mj&&(Mg=this.computeAngle(sc,xj,tb),sc.angle=Mg);Lg=Ng.x;Nf=Ng.y}else{var ac=void 0,Hc=void 0;if(0<=Fb)ac=Gc.o[Fb],Hc=Fb +gf.value,ng=ff,Gc=Mf,Fb=sc.We,oi=sc.JB,Kg=sc.Ih,xj=sc.Lq,tp=sc.KB,Lg=0,Nf=0,Mg=0;if(Fb<-ng||Fb>=ng){var Ng=this.oG,tb=this.nG;xj!==Mj&&(Mg=this.computeAngle(sc,xj,tb),sc.angle=Mg);Lg=Ng.x;Nf=Ng.y}else{var ac=void 0,Hc=void 0;if(0<=Fb)ac=Gc.o[Fb],Hc=Fb eb+10?0<=Fb?Pd.Xb(ac):ac.Xb(Pd):eb>jf+10?0<=Fb?Hc.Xb(zd):zd.Xb(Hc):0<=Fb?Pd.Xb(zd):zd.Xb(Pd)}else tb=0<=Fb?ac.Xb(Hc):Hc.Xb(ac);xj!==Mj&&(Mg=this.computeAngle(sc,xj,tb),sc.angle=Mg);Lg=ac.x+(Hc.x-ac.x)*oi;Nf=ac.y+(Hc.y-ac.y)*oi}if(Kg.O(dc))sc.location=new N(Lg,Nf);else{Kg.ce()&&(Kg=mc);var kf=D.Rf();kf.reset();kf.scale(sc.scale,sc.scale);kf.rotate(sc.angle,0,0);var od=sc.Ga,Og=D.vg(0,0,od.width,od.height),lf=D.P();lf.uo(Og,Kg);kf.xb(lf);var Ic=-lf.x,Of=-lf.y,Me=tp.copy();isNaN(Me.x)&&(Me.x=0<=Fb?lf.x+ 3:-(lf.x+3));isNaN(Me.y)&&(Me.y=-(lf.y+3));Me.rotate(tb);Lg+=Me.x;Nf+=Me.y;kf.nH(Og);var Ic=Ic+Og.x,Of=Of+Og.y,Pg=D.Fb(Lg+Ic,Nf+Of);sc.move(Pg);D.A(Pg);D.A(lf);D.Kb(Og);D.Je(kf)}}this.Mu(!1)}break;case "Grid":break;case "Graduated":if(null!==this.Tm){var Qg=this.Xd(),yj=this.Vm,Lk=this.Tm,xe=0,dd=Lk[xe];xe++;Qg.rc(dd.x-e.x,dd.y-e.y,dd.width,dd.height);for(var Mk=g.length,Gh=0;Gh=e.count&& -a>=e.count)return;e.od(g);d=g}else D.k("element "+b.toString()+" has panel "+c.toString()+" but is not contained by it.")}if(0>a||a>e.count)a=e.count;e.ae(a,b);if(0===a||b.nf)this.Wl=null;this.K();b.K();null!==b.wd?this.Xk=!0:b instanceof x&&!0===b.Xk&&(this.Xk=!0);this.nk=null;c=this.Y;null!==c&&(c.Rl=null,c.vk=NaN,this.Xk&&c instanceof G&&(c.Xk=!0),c.Xk&&c instanceof G&&(c.ze=null),e=this.g,null!==e&&e.la.jb||(-1!==d&&c.nd(sg,"elements",this,b,null,d,null),c.nd(rg,"elements",this,null,b,null,a), +a>=e.count)return;e.od(g);d=g}else D.k("element "+b.toString()+" has panel "+c.toString()+" but is not contained by it.")}if(0>a||a>e.count)a=e.count;e.ae(a,b);if(0===a||b.Ue)this.Wl=null;this.K();b.K();null!==b.wd?this.Xk=!0:b instanceof x&&!0===b.Xk&&(this.Xk=!0);this.nk=null;c=this.Y;null!==c&&(c.Rl=null,c.vk=NaN,this.Xk&&c instanceof G&&(c.Xk=!0),c.Xk&&c instanceof G&&(c.ze=null),e=this.g,null!==e&&e.la.jb||(-1!==d&&c.nd(sg,"elements",this,b,null,d,null),c.nd(rg,"elements",this,null,b,null,a), this.Au()||hq(this,b,!1)))};D.defineProperty(x,{Xk:null},function(){return 0!==(this.T&8388608)},function(a){0!==(this.T&8388608)!==a&&(this.T^=8388608)});function iq(a,b){a.T=b?a.T|16777216:a.T&-16777217}x.prototype.remove=x.prototype.remove=function(a){D.l(a,P,x,"remove:element");for(var b=this.xa.o,c=b.length,d=-1,e=0;ea&&D.ua(a,">= 0",x,"getRowDefinition:idx");a=Math.round(a);var b=this.ke;if(void 0===b[a]){var c=new jh;c.Cm(this);c.Ke=!0;c.index=a;b[a]=c}return b[a]};x.prototype.removeRowDefinition=x.prototype.FG=function(a){v&&D.p(a,x,"removeRowDefinition:idx");0>a&&D.ua(a,">= 0",x,"removeRowDefinition:idx");a=Math.round(a);var b=this.ke;this.nd(sg,"coldefs",this,b[a],null,a,null);b[a]&&delete b[a];this.K()}; @@ -1293,12 +1293,12 @@ g instanceof x&&(h=k.substring(0,l),k=k.substr(l+1),l=g.Hd(h),null!==l?(g=l,e.jv e.value.jv){d=!0;break}}d||(D.trace("Auto, Spot, or Graduated Panel should not have zero or one elements: "+c.toString()+" in "+a.toString()),jq=!0)}}))}var jq=!1;x.prototype.copyTemplate=function(){var a=this.copy();a.FK(function(a){a instanceof x&&(a.vl=null,a.Pd=null);var c=a.Dc;null!==c&&(a.Dc=null,c.each(function(c){a.bind(c.copy())}))});return a}; x.prototype.updateTargetBindings=x.prototype.Ob=function(a){var b=this.vl;if(null!==b)for(void 0===a&&(a=""),b=b.j;b.next();){var c=b.value,d=c.aH;if(""===a||""===d||d===a)if(d=c.jv,null!==c.kI||""!==d){var d=this.data,e=c.Sq;if(null!==e)d=""===e?this:"/"===e?this:"."===e?this:".."===e?this:this.Hd(e);else{var g=this.g;null!==g&&c.ay&&(d=g.da.bl)}if(null===d)v&&D.trace("Binding error: missing GraphObject named "+e+" in "+this.toString());else{var g=this,h=c.Fm;if(-1!==h){if(g=this.Lx(h),null===g)continue}else null!== c.Tg&&(g=c.Tg);"/"===e?d=g.Y:"."===e?d=g:".."===e&&(d=g.R);e=c.Gt;if(0!==e){if(!(g instanceof x))continue;h=g;1===e?g=h.Yd(c.Rp):2===e&&(g=h.Zd(c.Rp))}void 0!==g&&c.qH(g,d)}}}}; -D.defineProperty(x,{al:"itemArray"},function(){return this.cj},function(a){var b=this.cj;if(b!==a){v&&null!==a&&!D.isArray(a)&&D.k("Panel.itemArray must be an Array-like object or null, not: "+a);var c=this.g;null!==c&&null!==b&&bn(c,this);this.cj=a;null!==c&&null!==a&&Ym(c,this);this.i("itemArray",b,a);null!==c&&c.la.jb||this.CB()}});function un(a){return a.type===Wj||a.type===Ol||a.type===rj||a.type===fa&&0a;)this.xf(this.xa.length-1,!1);a=this.al;if(null!==a)for(var b=D.cb(a),c=0;cc)){var d;d=kq(a,b);var e=a.sJ,g=null;null!==e&&(g=e.oa(d));null===g&&(lq||(lq=!0,D.trace('No item template Panel found for category "'+d+'" on '+a),D.trace(" Using default item template."),d=new x,e=new pa,e.bind(new ph("text","",ia)),d.add(e),mq=d),g=mq);d=g;null!==d&&(Sh(d),d=d.copy(),0!==(d.T&16777216)&&(e=a.rm(),null!==e&&iq(e,!0)),"object"===typeof b&&(null===a.Ig&&(a.Ig=new oa(Object,x)),a.Ig.add(b,d)),e=c,un(a)&&e++,a.ae(e,d),d.Pd=b,vn(a,e, c),d.Pd=null,d.data=b)}}function vn(a,b,c){for(a=a.xa;ba&&D.ua(a,">= 0",jh,"height"),this.tf=a,this.gb=this.Ya,null!==this.R&&this.R.K(),this.ud("height",b,a))});D.defineProperty(jh,{width:"width"},function(){return this.tf},function(a){var b=this.tf;b!==a&&(v&&D.h(a,"number",jh,"width"),0>a&&D.ua(a,">= 0",jh,"width"),this.tf=a,this.gb=this.Ya,null!==this.R&&this.R.K(),this.ud("width",b,a))}); D.defineProperty(jh,{Th:"minimum"},function(){return this.xk},function(a){var b=this.xk;b!==a&&(v&&D.h(a,"number",jh,"minimum"),(0>a||!isFinite(a))&&D.ua(a,">= 0",jh,"minimum"),this.xk=a,this.gb=this.Ya,null!==this.R&&this.R.K(),this.ud("minimum",b,a))});D.defineProperty(jh,{re:"maximum"},function(){return this.wk},function(a){var b=this.wk;b!==a&&(v&&D.h(a,"number",jh,"maximum"),0>a&&D.ua(a,">= 0",jh,"maximum"),this.wk=a,this.gb=this.Ya,null!==this.R&&this.R.K(),this.ud("maximum",b,a))}); D.defineProperty(jh,{alignment:"alignment"},function(){return this.te},function(a){var b=this.te;b.O(a)||(v&&D.l(a,S,jh,"alignment"),this.te=a.V(),null!==this.R&&this.R.K(),this.ud("alignment",b,a))});D.defineProperty(jh,{stretch:"stretch"},function(){return this.Rg},function(a){var b=this.Rg;b!==a&&(v&&D.Da(a,P,jh,"stretch"),this.Rg=a,null!==this.R&&this.R.K(),this.ud("stretch",b,a))}); @@ -1319,7 +1319,7 @@ D.defineProperty(jh,{Mq:"separatorStroke"},function(){return this.tt},function(a D.defineProperty(jh,{zM:"separatorDashArray"},function(){return this.qi},function(a){var b=this.qi;if(b!==a){null===a||Array.isArray(a)||D.jc(a,"Array",jh,"separatorDashArray:value");if(null!==a){for(var c=a.length,d=0,e=0;ey.Df);else{var t=Vf(y,m),w=t.length;if(0===w){a.lineTo(y.pa,y.va);break}for(var B=0;Be)){var g=.001,h=c.length,k=b[0],l=b[1];if(4===e)Go(a,k,l,b[2],b[3],c,d);else{a.moveTo(k,l);for(var m=g=0,n=0,p=0,q=0,r=p=0,s=D.nb(),u=2;ur&&(g=r);g>p?(t=g-p,g=p):t=0;var y=Math.sqrt(g*g/(1+q*q));0>n&&(y=-y);k+=y;l+= @@ -1374,7 +1374,7 @@ D.defineProperty(z,{dH:"strokeDashArray"},function(){return this.Op},function(a) D.defineProperty(z,{FM:"strokeDashOffset"},function(){return this.Gf},function(a){var b=this.Gf;b!==a&&(v&&D.p(a,z,"strokeDashOffset"),0<=a&&(this.Gf=a,this.ra(),this.i("strokeDashOffset",b,a)))}); D.defineProperty(z,{Jb:"figure"},function(){return this.$o},function(a){var b=this.$o;if(b!==a){v&&D.h(a,"string",z,"figure");var c=qq[a];"function"===typeof c?c=a:(c=qq[a.toLowerCase()])||D.k("Unknown Shape.figure: "+a);b!==c&&(a=this.Y,null!==a&&(a.vk=NaN),this.$o=c,this.bg=null,this.Te(),this.K(),this.i("figure",b,c))}}); D.defineProperty(z,{Tq:"toArrow"},function(){return this.Tp},function(a){var b=this.Tp;!0===a?a="Standard":!1===a&&(a="");if(b!==a){v&&D.h(a,"string",z,"toArrow");var c=uq(a);null===c?D.k("Unknown Shape.toArrow: "+a):b!==c&&(this.Tp=c,this.bg=null,this.Te(),this.K(),vq(this),this.i("toArrow",b,c))}}); -D.defineProperty(z,{RA:"fromArrow"},function(){return this.cp},function(a){var b=this.cp;!0===a?a="Standard":!1===a&&(a="");if(b!==a){v&&D.h(a,"string",z,"fromArrow");var c=uq(a);null===c?D.k("Unknown Shape.fromArrow: "+a):b!==c&&(this.cp=c,this.bg=null,this.Te(),this.K(),vq(this),this.i("fromArrow",b,c))}});function vq(a){var b=a.g;null!==b&&b.la.jb||(a.Lq=wq,"None"!==a.Tp?(a.Ve=-1,a.Ih=fd):"None"!==a.cp&&(a.Ve=0,a.Ih=new S(1-fd.x,fd.y)))} +D.defineProperty(z,{RA:"fromArrow"},function(){return this.cp},function(a){var b=this.cp;!0===a?a="Standard":!1===a&&(a="");if(b!==a){v&&D.h(a,"string",z,"fromArrow");var c=uq(a);null===c?D.k("Unknown Shape.fromArrow: "+a):b!==c&&(this.cp=c,this.bg=null,this.Te(),this.K(),vq(this),this.i("fromArrow",b,c))}});function vq(a){var b=a.g;null!==b&&b.la.jb||(a.Lq=wq,"None"!==a.Tp?(a.We=-1,a.Ih=fd):"None"!==a.cp&&(a.We=0,a.Ih=new S(1-fd.x,fd.y)))} D.defineProperty(z,{C:"spot1"},function(){return this.xi},function(a){D.l(a,S,z,"spot1");var b=this.xi;b.O(a)||(this.xi=a=a.V(),this.K(),this.i("spot1",b,a))});D.defineProperty(z,{D:"spot2"},function(){return this.yi},function(a){D.l(a,S,z,"spot2");var b=this.yi;b.O(a)||(this.yi=a=a.V(),this.K(),this.i("spot2",b,a))});D.defineProperty(z,{Qc:"parameter1"},function(){return this.Vs},function(a){var b=this.Vs;b!==a&&(this.Vs=a,this.Te(),this.K(),this.i("parameter1",b,a))}); D.defineProperty(z,{Vu:"parameter2"},function(){return this.Ws},function(a){var b=this.Ws;b!==a&&(this.Ws=a,this.Te(),this.K(),this.i("parameter2",b,a))});D.w(z,{Ga:"naturalBounds"},function(){if(null!==this.ab)return this.ed.assign(this.ab.qb),this.ed;var a=this.Ea;return new C(0,0,a.width,a.height)});D.defineProperty(z,{ty:"pathPattern"},function(){return this.Ys},function(a){var b=this.Ys;b!==a&&(v&&D.l(a,P,z,"pathPattern"),this.Ys=a,this.ra(),this.i("pathPattern",b,a))}); D.defineProperty(z,{tM:"pathObject"},function(){return this.ty},function(a){this.ty=a});D.defineProperty(z,{TA:"geometryStretch"},function(){return this.Vr},function(a){var b=this.Vr;b!==a&&(D.Da(a,P,z,"geometryStretch"),this.Vr=a,this.i("geometryStretch",b,a))}); @@ -1384,8 +1384,8 @@ z.getFigureGenerators=function(){var a=new oa("string","function"),b;for(b in qq z.defineFigureGenerator=function(a,b){D.h(a,"string",z,"defineFigureGenerator:name");"string"===typeof b?""!==b&&qq[b]||D.k("Shape.defineFigureGenerator synonym must not be empty or None or not a defined figure name: "+b):D.h(b,"function",z,"defineFigureGenerator:func");var c=a.toLowerCase();""!==a&&"none"!==c&&a!==c||D.k("Shape.defineFigureGenerator name must not be empty or None or all-lower-case: "+a);qq[a]=b;qq[c]=a}; z.getArrowheadGeometries=function(){var a=new oa("string",Ve),b;for(b in xq)if(void 0===ne[b]){var c=yf(xq[b],!1);ne[b]=c;c=b.toLowerCase();c!==b&&(ne[c]=b)}for(b in ne)b!==b.toLowerCase()&&(c=ne[b],c instanceof Ve&&a.add(b,c));a.freeze();return a}; z.defineArrowheadGeometry=function(a,b){D.h(a,"string",z,"defineArrowheadGeometry:name");var c=null;"string"===typeof b?(D.h(b,"string",z,"defineArrowheadGeometry:pathstr"),c=yf(b,!1)):(D.l(b,Ve,z,"defineArrowheadGeometry:pathstr"),c=b);var d=a.toLowerCase();""!==a&&"none"!==d&&a!==d||D.k("Shape.defineArrowheadGeometry name must not be empty or None or all-lower-case: "+a);ne[a]=c;ne[d]=a}; -function pa(){P.call(this);this.Vd="";this.zc="black";this.Cg="13px sans-serif";this.Xl="start";this.Bg=Yj;this.am=Yc;this.Ym=!0;this.rk=this.sk=!1;this.nj=yq;this.Kk=zq;this.sw=this.we=0;this.Tz=this.Uz=null;this.rf=new bq;this.Nr=!1;this.bf=this.mr=this.Ht=this.Yl=this.It=null;this.wi=this.vi=0;this.xh=Infinity;this.rp=0;this.Gg=1;this.Fg=0;this.Eg=1;this.Um=null}D.Sa(pa,P);D.ka("TextBlock",pa);var Aq=/[ \u200b\u00ad]/; -pa.prototype.cloneProtected=function(a){P.prototype.cloneProtected.call(this,a);a.Vd=this.Vd;a.zc=this.zc;a.Cg=this.Cg;a.Xl=this.Xl;a.Bg=this.Bg;a.am=this.am;a.Ym=this.Ym;a.sk=this.sk;a.rk=this.rk;a.nj=this.nj;a.Kk=this.Kk;a.we=this.we;a.sw=this.sw;a.Uz=this.Uz;a.Tz=this.Tz;a.rf.dq(this.rf);a.Nr=this.Nr;a.It=this.It;a.Yl=this.Yl;a.Ht=this.Ht;a.mr=this.mr;a.bf=this.bf;a.vi=this.vi;a.wi=this.wi;a.xh=this.xh;a.rp=this.rp;a.Gg=this.Gg;a.Fg=this.Fg;a.Eg=this.Eg;a.Um=this.Um}; +function pa(){P.call(this);this.Vd="";this.zc="black";this.Cg="13px sans-serif";this.Xl="start";this.Bg=Yj;this.am=Yc;this.Ym=!0;this.rk=this.sk=!1;this.nj=yq;this.Kk=zq;this.sw=this.we=0;this.Tz=this.Uz=null;this.rf=new bq;this.Nr=!1;this.cf=this.mr=this.Ht=this.Yl=this.It=null;this.wi=this.vi=0;this.xh=Infinity;this.rp=0;this.Gg=1;this.Fg=0;this.Eg=1;this.Um=null}D.Sa(pa,P);D.ka("TextBlock",pa);var Aq=/[ \u200b\u00ad]/; +pa.prototype.cloneProtected=function(a){P.prototype.cloneProtected.call(this,a);a.Vd=this.Vd;a.zc=this.zc;a.Cg=this.Cg;a.Xl=this.Xl;a.Bg=this.Bg;a.am=this.am;a.Ym=this.Ym;a.sk=this.sk;a.rk=this.rk;a.nj=this.nj;a.Kk=this.Kk;a.we=this.we;a.sw=this.sw;a.Uz=this.Uz;a.Tz=this.Tz;a.rf.dq(this.rf);a.Nr=this.Nr;a.It=this.It;a.Yl=this.Yl;a.Ht=this.Ht;a.mr=this.mr;a.cf=this.cf;a.vi=this.vi;a.wi=this.wi;a.xh=this.xh;a.rp=this.rp;a.Gg=this.Gg;a.Fg=this.Fg;a.Eg=this.Eg;a.Um=this.Um}; pa.prototype.qc=function(a){a.Oe===pa?this.sH=a:P.prototype.qc.call(this,a)};pa.prototype.toString=function(){return 22a?a=0:1a?a=0:1n*l*l&&(h=!0);b.cd!==a&&(h=!1);!1===b.Gj("textGreeking")&&(h=!1);n=this.vi;l=this.wi;switch(this.ou){case Ao:a.translate(c, -0);a.scale(-1,1);break;case zo:a.translate(0,d);a.scale(1,-1);break;case Bo:a.translate(c,d),a.scale(-1,-1)}var m=this.we,p=(n+e+l)*m;d>p&&(k=this.am,k=k.y*d-k.y*p+k.offsetY);for(var p=this.rf,q=0;qc&&(r=c);var k=k+n,u=s,s=a,t=k,y=c,w=e,B=g,A=0;h?("left"===B?A=0:"right"===B?A=y-r:"center"===B&&(A=(y-r)/2),s.fillRect(0+A,t+.25*w,r,1)):("left"===B?A=0:"right"===B?A=y:"center"===B&&(A=y/2),s.fillText(u,0+A,t+w-.25*w),u=w/20|0,0===u&&(u=1),"right"===B?A-=r:"center"=== +0);a.scale(-1,1);break;case zo:a.translate(0,d);a.scale(1,-1);break;case Bo:a.translate(c,d),a.scale(-1,-1)}var m=this.we,p=(n+e+l)*m;d>p&&(k=this.am,k=k.y*d-k.y*p+k.offsetY);for(var p=this.rf,q=0;qc&&(r=c);var k=k+n,u=s,s=a,t=k,y=c,w=e,B=g,A=0;h?("left"===B?A=0:"right"===B?A=y-r:"center"===B&&(A=(y-r)/2),s.fillRect(0+A,t+.25*w,r,1)):("left"===B?A=0:"right"===B?A=y:"center"===B&&(A=y/2),s.fillText(u,0+A,t+w-.25*w),u=w/20|0,0===u&&(u=1),"right"===B?A-=r:"center"=== B&&(A-=r/2),this.sk&&(s.beginPath(),s.lineWidth=u,s.moveTo(0+A,t+w-.2*w),s.lineTo(0+A+r,t+w-.2*w),s.stroke()),this.rk&&(s.beginPath(),s.lineWidth=u,t=t+w-w/2.2|0,0!==u%2&&(t+=.5),s.moveTo(0+A,t),s.lineTo(0+A+r,t),s.stroke()));k+=e+l}switch(this.ou){case Ao:a.scale(-1,1);a.translate(-c,0);break;case zo:a.scale(1,-1);a.translate(0,-d);break;case Bo:a.scale(-1,-1),a.translate(-c,-d)}}}; pa.prototype.io=function(a,b,c,d){this.rp=a;var e=this.rf;e.reset();var g=0,h=0;if(isNaN(this.Ea.width)){g=this.Vd.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(0===g.length)g=0;else if(this.$x){for(var k=h=0,l=!1;!l;){var m=g.indexOf("\n",k);-1===m&&(m=g.length,l=!0);k=Pq(g.substr(k,m-k).replace(/^\s+|\s+$/g,""),this.Cg);k>h&&(h=k);k=m+1}g=h}else h=g.indexOf("\n",0),0<=h&&(g=g.substr(0,h)),g=k=Pq(g,this.Cg);g=Math.min(g,a/this.scale);g=Math.max(8,g)}else g=this.Ea.width;null!==this.R&&(g=Math.min(g, -this.R.of.width));h=Nq(this,g,e);m=h=isNaN(this.Ea.height)?Math.min(h,b/this.scale):this.Ea.height;if(0!==e.ef&&1!==e.Ze.length&&this.nj===Kq&&(b=this.Cg,l=this.nj===Kq?Qq(b):0,k=this.vi+this.wi,k=Math.max(0,Oq(this)+k),m=Math.min(this.EJ-1,Math.max(Math.floor(m/k+.01)-1,0)),!(m+1>=e.Ze.length))){k=e.Ze[m];for(a=Math.max(1,a-l);Pq(k,b)>a&&1=a.xh)return new Ca(0,l);if(a.Kk===Iq){c.wj=1;g=Pq(b,k);if(0===h||g<=d)return c.ef=Math.max(c.ef,g),c.Ef.push(c.ef),c.Ze.push(b),new Ca(g,l);var m=Rq(b);b=b.substr(m.length);for(var n=Rq(b),g=Pq(m+n,k);0d&&1d;){n=1;g=Pq(m.substr(0,n),k);for(h=0;g<=d;)n++,h=g,g=Pq(m.substr(0,n),k);1===n?(c.Ef[a.we+p]=g,e=Math.max(e,g)):(c.Ef[a.we+p]=h,e=Math.max(e,h));n--;1>n&&(n=1);c.Ze[a.we+p]=m.substr(0,n);p++;m=m.substr(n);if(a.we+p>a.xh)break}n=Rq(b);for(g=Pq(m+n,k);0a.xh))break}c.wj=Math.min(a.xh,p);c.ef=Math.max(c.ef,e);return new Ca(c.ef,l*c.wj)}function Rq(a){for(var b=a.length,c=0;c=b?a:a.substr(0,c)} +this.R.of.width));h=Nq(this,g,e);m=h=isNaN(this.Ea.height)?Math.min(h,b/this.scale):this.Ea.height;if(0!==e.ff&&1!==e.$e.length&&this.nj===Kq&&(b=this.Cg,l=this.nj===Kq?Qq(b):0,k=this.vi+this.wi,k=Math.max(0,Oq(this)+k),m=Math.min(this.EJ-1,Math.max(Math.floor(m/k+.01)-1,0)),!(m+1>=e.$e.length))){k=e.$e[m];for(a=Math.max(1,a-l);Pq(k,b)>a&&1=a.xh)return new Ca(0,l);if(a.Kk===Iq){c.wj=1;g=Pq(b,k);if(0===h||g<=d)return c.ff=Math.max(c.ff,g),c.Ef.push(c.ff),c.$e.push(b),new Ca(g,l);var m=Rq(b);b=b.substr(m.length);for(var n=Rq(b),g=Pq(m+n,k);0d&&1d;){n=1;g=Pq(m.substr(0,n),k);for(h=0;g<=d;)n++,h=g,g=Pq(m.substr(0,n),k);1===n?(c.Ef[a.we+p]=g,e=Math.max(e,g)):(c.Ef[a.we+p]=h,e=Math.max(e,h));n--;1>n&&(n=1);c.$e[a.we+p]=m.substr(0,n);p++;m=m.substr(n);if(a.we+p>a.xh)break}n=Rq(b);for(g=Pq(m+n,k);0a.xh))break}c.wj=Math.min(a.xh,p);c.ff=Math.max(c.ff,e);return new Ca(c.ff,l*c.wj)}function Rq(a){for(var b=a.length,c=0;c=b?a:a.substr(0,c)} function Pq(a,b){Gq!==b&&(Gq=Hq.font=b);return Hq.measureText(a).width}function Oq(a){if(null!==a.rf.ik)return a.rf.ik;var b=a.Cg;Gq!==b&&(Gq=Hq.font=b);var c=0;void 0!==Bq[b]&&5E3>Cq?c=Bq[b]:(c=1.3*Hq.measureText("M").width,Bq[b]=c,Cq++);return a.rf.ik=c}function Qq(a){Gq!==a&&(Gq=Hq.font=a);var b=0;void 0!==Dq[a]&&5E3>Eq?b=Dq[a]:(b=Hq.measureText(Fq).width,Dq[a]=b,Eq++);return b} -function Nq(a,b,c){var d=a.Vd.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e=a.vi+a.wi,e=Math.max(0,Oq(a)+e);if(0===d.length)return c.ef=0,a.we=1,e;if(!a.$x){var g=d.indexOf("\n",0);0<=g&&(d=d.substr(0,g))}for(var g=0,h=a.we=0,k=-1,l=!1;!l;)k=d.indexOf("\n",h),-1===k&&(k=d.length,l=!0),h<=k&&(h=d.substr(h,k-h),a.Kk!==Iq?(c.wj=0,h=Mq(a,h,c,b),g+=h.height,a.we+=c.wj):(Mq(a,h,c,b),g+=e,a.we++),a.we===a.xh&&(l=!0)),h=k+1;return a.sw=g} +function Nq(a,b,c){var d=a.Vd.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e=a.vi+a.wi,e=Math.max(0,Oq(a)+e);if(0===d.length)return c.ff=0,a.we=1,e;if(!a.$x){var g=d.indexOf("\n",0);0<=g&&(d=d.substr(0,g))}for(var g=0,h=a.we=0,k=-1,l=!1;!l;)k=d.indexOf("\n",h),-1===k&&(k=d.length,l=!0),h<=k&&(h=d.substr(h,k-h),a.Kk!==Iq?(c.wj=0,h=Mq(a,h,c,b),g+=h.height,a.we+=c.wj):(Mq(a,h,c,b),g+=e,a.we++),a.we===a.xh&&(l=!0)),h=k+1;return a.sw=g} D.defineProperty(pa,{XB:"textValidation"},function(){return this.Yl},function(a){var b=this.Yl;b!==a&&(null!==a&&D.h(a,"function",pa,"textValidation"),this.Yl=a,this.i("textValidation",b,a))});D.defineProperty(pa,{fH:"textEdited"},function(){return this.Ht},function(a){var b=this.Ht;b!==a&&(null!==a&&D.h(a,"function",pa,"textEdited"),this.Ht=a,this.i("textEdited",b,a))}); D.defineProperty(pa,{BM:"spacingAbove"},function(){return this.vi},function(a){var b=this.vi;b!==a&&(v&&D.h(a,"number",pa,"spacingAbove"),this.vi=a,this.i("spacingAbove",b,a))});D.defineProperty(pa,{CM:"spacingBelow"},function(){return this.wi},function(a){var b=this.wi;b!==a&&(v&&D.h(a,"number",pa,"spacingBelow"),this.wi=a,this.i("spacingBelow",b,a))}); D.defineProperty(pa,{EJ:"maxLines"},function(){return this.xh},function(a){var b=this.xh;b!==a&&(v&&D.h(a,"number",pa,"maxLines"),a=Math.floor(a),0>=a&&D.ua(a,"> 0",pa,"maxLines"),this.xh=a,this.i("maxLines",b,a),this.K())});D.w(pa,{cM:"metrics"},function(){return this.rf});D.defineProperty(pa,{jL:"choices"},function(){return this.mr},function(a){var b=this.mr;b!==a&&(null===a||Array.isArray(a)||D.jc(a,"Array",pa,"choices:value"),this.mr=a,this.i("choices",b,a))}); -function bq(){this.ef=this.wj=0;this.Ef=[];this.Ze=[];this.ik=null}bq.prototype.reset=function(){this.ef=this.wj=0;this.ik=null;this.Ef=[];this.Ze=[]};bq.prototype.dq=function(a){this.wj=a.wj;this.ik=a.ik;this.ef=a.ef;this.Ef=D.jm(a.Ef);this.Ze=D.jm(a.Ze)};D.w(bq,{gL:"arrSize"},function(){return this.Ef});D.w(bq,{hL:"arrText"},function(){return this.Ze});D.w(bq,{bM:"maxLineWidth"},function(){return this.ef});D.w(bq,{LL:"fontHeight"},function(){return this.ik}); -function Gl(){P.call(this);this.af=null;this.At="";this.Ck=je;this.gp=rf;this.zi=this.bf=null;this.fp=mc;this.Bg=Yj;this.Qp=null;this.Oz=!1;this.ap=!0;this.qw=!1;this.Ip=null}D.Sa(Gl,P);D.ka("Picture",Gl);Gl.prototype.cloneProtected=function(a){P.prototype.cloneProtected.call(this,a);a.element=this.af;a.At=this.At;a.Ck=this.Ck.V();a.gp=this.gp;a.Bg=this.Bg;a.bf=this.bf;a.zi=this.zi;a.fp=this.fp.V();a.ap=this.ap;a.Ip=this.Ip}; +function bq(){this.ff=this.wj=0;this.Ef=[];this.$e=[];this.ik=null}bq.prototype.reset=function(){this.ff=this.wj=0;this.ik=null;this.Ef=[];this.$e=[]};bq.prototype.dq=function(a){this.wj=a.wj;this.ik=a.ik;this.ff=a.ff;this.Ef=D.jm(a.Ef);this.$e=D.jm(a.$e)};D.w(bq,{gL:"arrSize"},function(){return this.Ef});D.w(bq,{hL:"arrText"},function(){return this.$e});D.w(bq,{bM:"maxLineWidth"},function(){return this.ff});D.w(bq,{LL:"fontHeight"},function(){return this.ik}); +function Gl(){P.call(this);this.bf=null;this.At="";this.Ck=je;this.gp=rf;this.zi=this.cf=null;this.fp=mc;this.Bg=Yj;this.Qp=null;this.Oz=!1;this.ap=!0;this.qw=!1;this.Ip=null}D.Sa(Gl,P);D.ka("Picture",Gl);Gl.prototype.cloneProtected=function(a){P.prototype.cloneProtected.call(this,a);a.element=this.bf;a.At=this.At;a.Ck=this.Ck.V();a.gp=this.gp;a.Bg=this.Bg;a.cf=this.cf;a.zi=this.zi;a.fp=this.fp.V();a.ap=this.ap;a.Ip=this.Ip}; Gl.prototype.qc=function(a){a===Yj||a===ak||a===bk?this.bJ=a:P.prototype.qc.call(this,a)};Gl.prototype.toString=function(){return"Picture("+this.source+")#"+D.Jd(this)};var Sq=new ma,Tq=0,Al=[];function Uq(){var a=Al;if(0===a.length)for(var b=window.document.getElementsByTagName("canvas"),c=b.length,d=0;d=d.width&&(e=e+r.offsetX+(n*r.x-d.width*r.x));p>=d.height&&(g=g+r.offsetY+(p*r.y-d.height*r.y));k=Math.min(d.width,n);h=Math.min(d.height,p);break;case rf:n=d.width;p=d.height;break;case ak:case bk:var s=0;q===ak?(s=Math.min(d.height/p,d.width/n),n*=s,p*=s):q===bk&&(s=Math.max(d.height/p,d.width/n),n*=s,p*=s,n>=d.width&&(e=(e+r.offsetX+(n*r.x-d.width*r.x)/n)*k),p>=d.height&&(g=(g+r.offsetY+(p*r.y-d.height*r.y)/p)*h),k*=1/(n/d.width),h*=1/(p/d.height), -n=d.width,p=d.height)}var q=this.Fj()*b.scale,u=k*h/(n*q*p*q),s=Sq[this.source],q=null;if(c.fs&&void 0!==s&&16s.Xp.length&&(Zq(s,4,l,m),Zq(s,16,l,m));for(var l=s.Xp,m=l.length,q=l[0],t=0;ts.Xp.length&&(Zq(s,4,l,m),Zq(s,16,l,m));for(var l=s.Xp,m=l.length,q=l[0],t=0;t=c.GJ)){this.S^=4096;var d=!1;if(null!==c){d=c.lb;c.lb=!0;var e=c.selection;e.Xa();a?e.add(this):e.remove(this);e.freeze()}this.i("isSelected",b,a);this.oe();a=this.kK;null!==a&&a(this);null!==c&&(c.Ue(),c.lb=d)}}}); +D.defineProperty(F,{ib:"isSelected"},function(){return 0!==(this.S&4096)},function(a){var b=0!==(this.S&4096);if(b!==a){v&&D.h(a,"boolean",F,"isSelected");var c=this.g;if(!a||this.canSelect()&&!(null!==c&&c.selection.count>=c.GJ)){this.S^=4096;var d=!1;if(null!==c){d=c.lb;c.lb=!0;var e=c.selection;e.Xa();a?e.add(this):e.remove(this);e.freeze()}this.i("isSelected",b,a);this.oe();a=this.kK;null!==a&&a(this);null!==c&&(c.Ve(),c.lb=d)}}}); D.defineProperty(F,{$g:"isHighlighted"},function(){return 0!==(this.S&524288)},function(a){var b=0!==(this.S&524288);if(b!==a){v&&D.h(a,"boolean",F,"isHighlighted");this.S^=524288;var c=this.g;null!==c&&(c=c.wm,c.Xa(),a?c.add(this):c.remove(this),c.freeze());this.i("isHighlighted",b,a);this.ra();a=this.$I;null!==a&&a(this)}}); D.defineProperty(F,{$k:"isShadowed"},function(){return 0!==(this.S&8192)},function(a){var b=0!==(this.S&8192);b!==a&&(v&&D.h(a,"boolean",F,"isShadowed"),this.S^=8192,this.i("isShadowed",b,a),this.ra())});function Om(a){return 0!==(a.S&32768)}function hr(a,b){a.S=b?a.S|32768:a.S&-32769}function Po(a,b){a.S=b?a.S|65536:a.S&-65537}function sl(a){return 0!==(a.S&131072)}F.prototype.Of=function(a){this.S=a?this.S|131072:this.S&-131073};function qr(a,b){a.S=b?a.S|1048576:a.S&-1048577} D.defineProperty(F,{UF:"isAnimated"},function(){return 0!==(this.S&262144)},function(a){var b=0!==(this.S&262144);b!==a&&(v&&D.h(a,"boolean",F,"isAnimated"),this.S^=262144,this.i("isAnimated",b,a))});D.defineProperty(F,{$I:"highlightedChanged"},function(){return this.bs},function(a){var b=this.bs;b!==a&&(null!==a&&D.h(a,"function",F,"highlightedChanged"),this.bs=a,this.i("highlightedChanged",b,a))}); @@ -1612,7 +1612,7 @@ D.defineProperty(F,{dK:"rotateAdornmentTemplate"},function(){return this.ht},fun D.w(F,{GB:"rotateObject"},function(){if(null===this.Fp){var a=this.eK;null!==a&&""!==a?(a=this.Hd(a),this.Fp=null!==a?a:this):this.Fp=this}return this.Fp});D.defineProperty(F,{text:"text"},function(){return this.Vd},function(a){var b=this.Vd;b!==a&&(v&&D.h(a,"string",F,"text"),this.Vd=a,this.i("text",b,a))}); D.defineProperty(F,{Ka:"containingGroup"},function(){return this.wl},function(a){if(this.pe()){var b=this.wl;if(b!==a){v&&null!==a&&D.l(a,I,F,"containingGroup");null===a||this!==a&&!a.Gi(this)||(this===a&&D.k("Cannot make a Group a member of itself: "+this.toString()),D.k("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString()));this.N(dn);var c=this.g;null!==b?rr(b,this):this instanceof I&&null!==c&&c.Zl.remove(this);this.wl=a;null!==a?sr(a,this):this instanceof I&&null!==c&&c.Zl.add(this);this.N(Vm);if(null!==c){var d=this.data,e=c.da;null!==d&&e instanceof Y&&e.NB(d,e.zb(null!==a?a.data:null))}d=this.$E;null!==d&&(e=!0,null!==c&&(e=c.$a,c.$a=!0),d(this,b,a),null!==c&&(c.$a=e));if(this instanceof I)for(c=new L(F),Qh(c,this,!0,0,!0),c=c.j;c.next();)if(d=c.value,d instanceof G)for(d=d.Kd;d.next();)zn(d.value);if(this instanceof G){for(d=this.Kd;d.next();)zn(d.value);c=this.Yb;null!==c&&zn(c)}this.i("containingGroup",b,a);null!==a&&(b=a.layer,null!==b&&xl(b, --1,a))}}else D.k("cannot set the Part.containingGroup of a Link or Adornment")});f=F.prototype;f.Yk=function(){var a=this.Ka;null!==a&&(a.K(),null!==a.Rb&&a.Rb.K(),a.kg())};f.ra=function(){var a=this.g;null!==a&&!Nm(this)&&!Om(this)&&this.isVisible()&&this.cc.F()&&a.ra(wl(this,this.cc))};f.K=function(){x.prototype.K.call(this);var a=this.g;null!==a&&(a.Hg.add(this),this instanceof G&&null!==this.Yb&&Zo(this.Yb),a.Ue(!0))};f.wu=function(a){a||(a=this.wl,null!==a&&sr(a,this))}; +-1,a))}}else D.k("cannot set the Part.containingGroup of a Link or Adornment")});f=F.prototype;f.Yk=function(){var a=this.Ka;null!==a&&(a.K(),null!==a.Rb&&a.Rb.K(),a.kg())};f.ra=function(){var a=this.g;null!==a&&!Nm(this)&&!Om(this)&&this.isVisible()&&this.cc.F()&&a.ra(wl(this,this.cc))};f.K=function(){x.prototype.K.call(this);var a=this.g;null!==a&&(a.Hg.add(this),this instanceof G&&null!==this.Yb&&Zo(this.Yb),a.Ve(!0))};f.wu=function(a){a||(a=this.wl,null!==a&&sr(a,this))}; f.xu=function(a){a||(a=this.wl,null!==a&&rr(a,this))};f.On=function(){var a=this.data;if(null!==a){var b=this.g;null!==b&&(b=b.da,null!==b&&b.Cy(a))}};D.defineProperty(F,{$E:"containingGroupChanged"},function(){return this.pr},function(a){var b=this.pr;b!==a&&(null!==a&&D.h(a,"function",F,"containingGroupChanged"),this.pr=a,this.i("containingGroupChanged",b,a))});F.prototype.findSubGraphLevel=function(){return tr(this,this)}; function tr(a,b){var c=b.Ka;return null!==c?1+tr(a,c):b instanceof G&&(c=b.Yb,null!==c)?tr(a,c):0}F.prototype.findTopLevelPart=function(){return ur(this,this)};function ur(a,b){var c=b.Ka;return null!==c?ur(a,c):b instanceof G&&(c=b.Yb,null!==c)?ur(a,c):b}D.w(F,{wq:"isTopLevel"},function(){return null!==this.Ka||this instanceof G&&null!==this.Yb?!1:!0});F.prototype.isMemberOf=F.prototype.Gi=function(a){return a instanceof I?vr(this,this,a):!1}; function vr(a,b,c){if(b===c||null===c)return!1;var d=b.Ka;return null===d||d!==c&&!vr(a,d,c)?b instanceof G&&(b=b.Yb,null!==b)?vr(a,b,c):!1:!0} @@ -1622,7 +1622,7 @@ F.prototype.invalidateLayout=F.prototype.N=function(a){void 0===a&&(a=16777215); D.defineProperty(F,{lF:"dragComputation"},function(){return this.Jr},function(a){var b=this.Jr;b!==a&&(null!==a&&D.h(a,"function",F,"dragComputation"),this.Jr=a,this.i("dragComputation",b,a))});D.defineProperty(F,{nK:"shadowOffset"},function(){return this.wn},function(a){var b=this.wn;b.O(a)||(v&&D.l(a,N,F,"shadowOffset"),this.wn=a=a.V(),this.ra(),this.i("shadowOffset",b,a))}); D.defineProperty(F,{shadowColor:"shadowColor"},function(){return this.vn},function(a){var b=this.vn;b!==a&&(v&&D.h(a,"string",F,"shadowColor"),this.vn=a,this.ra(),this.i("shadowColor",b,a))});D.defineProperty(F,{shadowBlur:"shadowBlur"},function(){return this.Qg},function(a){var b=this.Qg;b!==a&&(v&&D.h(a,"number",F,"shadowBlur"),this.Qg=a,this.ra(),this.i("shadowBlur",b,a))}); function da(a){0===arguments.length?F.call(this,dk):F.call(this,a);this.S&=-257;this.Ml="Adornment";this.Rc=null;this.OD=0;this.EE=!1;this.Rb=this.rh=null}D.Sa(da,F);D.ka("Adornment",da);da.prototype.toString=function(){var a=this.Hf;return"Adornment("+this.Gd+")"+(null!==a?a.toString():"")};da.prototype.updateRelationshipsFromData=function(){}; -da.prototype.Mu=function(a){var b=this.Bb.Y,c=this.Bb;if(b instanceof J&&c instanceof z){var d=b.path,c=d.uf;b.Mu(a);c=d.uf;a=this.xa.o;b=a.length;for(d=0;dc&&(c-=180);break;case Yp:c=Re(b+90);90c&&(c-=180);break;case $p:c=Re(b-90);90c&&(c-=180);break;case aq:c=Re(b);if(45c||225c)return 0;90c&&(c-=180)}return Re(c)}; @@ -1699,18 +1699,18 @@ J.prototype.computeMidAngle=function(){var a=this.ta;if(2>a)return NaN;if(this.c c=b.Jf(d),e=d.Jf(a),c>e+10?b.Xb(d):e>c+10?d.Xb(a):b.Xb(a)):null===this.ab||this.ic?b.Xb(d):this.ab.DF(.5);if(null!==this.ab&&!this.ic)return this.ab.DF(.5);b=this.m(c-1);d=this.m(c);a=this.m(c+1);c=b.Jf(d);e=d.Jf(a);return c>e+10?b.Xb(d):e>c+10?d.Xb(a):b.Xb(a)}; D.defineProperty(J,{points:"points"},function(){return this.fd},function(a){var b=this.fd;if(b!==a){var c=null;if(Array.isArray(a)){var d=0===a.length%2;if(d)for(var e=0;em&&(p=-p),u=(0> l?-1:1)*p+r,t=n*(u-r)+s);var r=h.x+2*k/3,s=h.y+2*l/3,y=r,w=s;Q(l,0)?w=0l?-1:1)*p+r,w=n*(y-r)+s);this.aq();this.Ci(h);this.xj(u,t);this.xj(y,w);this.Ci(q);this.ih(0,this.getLinkPoint(b,c,d,!0,!1,e,g));this.ih(3,this.getLinkPoint(e,g,a,!1,!1,b,c))}else d=this.getLinkPoint(b,c,d,!0,!1,e,g),a=this.getLinkPoint(e,g,a,!1,!1,b,c),this.hasCurviness()?(q=a.x-d.x,e=a.y-d.y,g=this.computeCurviness(),b=d.x+q/2,c=d.y+e/2,h=b,k=c,Q(e,0)?k=0g&&(h=-h), h=(0>e?-1:1)*h+b,k=q*(h-b)+c),this.Ci(d),this.xj(h,k)):this.Ci(d),this.Ci(a)}else{p=this.Jj;q&&(n&&p||m)&&this.aq();var B=m?this.computeCurviness():0,p=this.getLinkPoint(b,c,d,!0,n,e,g),r=u=s=0;if(n||!k||m)if(t=this.computeEndSegmentLength(b,c,d,!0),r=this.getLinkDirection(b,c,p,d,!0,n,e,g),m&&(k||d.O(a)||!n&&1===d.x+a.x&&1===d.y+a.y)&&(r-=n?90:30,0>B&&(r-=180)),0>r?r+=360:360<=r&&(r-=360),m&&(t+=Math.abs(B)*(n?1:2)),0===r?s=t:90===r?u=t:180===r?s=-t:270===r?u=-t:(s=t*Math.cos(r*Math.PI/180),u=t* @@ -1728,9 +1728,9 @@ J.prototype.computeOtherPoint=function(a,b){var c=b.eb(mc),d;d=b.$s;d=null!==d?Z J.prototype.Sk=function(a,b,c,d,e,g){if(!1===this.tg)return!1;void 0===b&&(b=null);void 0===c&&(c=null);var h=g;void 0===g&&(h=D.Rf(),h.reset());h.multiply(this.transform);if(this.Jn(a,h))return gq(this,b,c,e),void 0===g&&D.Je(h),!0;if(this.jg(a,h)){var k=!1;if(!this.Zn)for(var l=this.xa.o,m=l.length;m--;){var n=l[m];if(n.visible||n===this.Bf){var p=n.Z,q=this.Ga;if(!(p.x>q.width||p.y>q.height||0>p.x+p.width||0>p.y+p.height)){p=D.Rf();p.set(h);if(n instanceof x)k=n.Sk(a,b,c,d,e,p);else if(this.path=== n){if(n instanceof z){var k=n,r=a,s=d,q=p;if(!1===k.tg)k=!1;else if(q.multiply(k.transform),s)b:{var u=r,t=q;if(k.Jn(u,t))k=!0;else{if(void 0===t&&(t=k.transform,u.Pk(k.Z))){k=!0;break b}var q=u.left,r=u.right,s=u.top,u=u.bottom,y=D.P(),w=D.P(),B=D.P(),A=D.Rf();A.set(t);A.tB(k.transform);A.Ux();w.x=r;w.y=s;w.transform(A);y.x=q;y.y=s;y.transform(A);t=!1;tq(k,y,w,B)?t=!0:(y.x=r,y.y=u,y.transform(A),tq(k,y,w,B)?t=!0:(w.x=q,w.y=u,w.transform(A),tq(k,y,w,B)?t=!0:(y.x=q,y.y=s,y.transform(A),tq(k,y,w,B)&& (t=!0))));D.Je(A);D.A(y);D.A(w);D.A(B);k=t}}else k=k.Jn(r,q)}}else k=Lo(n,a,d,p);k&&(null!==b&&(n=b(n)),n&&(null===c||c(n))&&(e instanceof L&&e.add(n),e instanceof K&&e.add(n)));D.Je(p)}}}void 0===g&&D.Je(h);return k||null!==this.background||null!==this.fm}void 0===g&&D.Je(h);return!1};D.w(J,{ic:"isOrthogonal"},function(){return 2===(this.pn.value&2)});D.w(J,{Jj:"isAvoiding"},function(){return 4===(this.pn.value&4)}); -J.prototype.computeCurve=function(){if(null===this.Zi){var a=this.Ac,b=this.ic;this.Zi=null!==a&&a===this.ad&&!b}return this.Zi?Tj:this.kf};J.prototype.computeCorner=function(){if(this.kf===Tj)return 0;var a=this.FA;if(isNaN(a)||0>a)a=10;return a};J.prototype.findMidLabel=function(){for(var a=this.path,b=this.xa.o,c=b.length,d=0;da)a=10;return a};J.prototype.findMidLabel=function(){for(var a=this.path,b=this.xa.o,c=b.length,d=0;dl?-Math.PI/2:Math.PI/2:(n=Math.atan(l/Math.abs(k)),0>k&&(n=Math.PI-n));var h=b.x,p=b.y,l=d.x-h,q=d.y-p,r=Math.sqrt(l*l+q*q),k=0;Eb(l,0)?k=0>q?-Math.PI/2:Math.PI/2:(k=Math.atan(q/Math.abs(l)),0>l&&(k=Math.PI-k));m=r/m;n=k-n;this.ih(a,b);for(a+= 1;al?-Math.PI/2:Math.PI/2:(q=Math.atan(l/Math.abs(k)),0>k&&(q=Math.PI-q)),k=q+n,b*=m,this.ha(a,h+b*Math.cos(k),p+b*Math.sin(k)));this.ih(c,d)}}return!0;case Nr:g=this.m(a);p=this.m(c);if(!g.Uc(b)||!p.Uc(d)){var e=g.x,g=g.y,h=p.x,p=p.y,m=(h-e)*(h-e)+(p-g)*(p-g),k=b.x,n=b.y,l=d.x,q=d.y,r=0,s=1;0!==l-k?(r=(q-n)/(l-k),s=Math.sqrt(1+1/(r*r))):r=9E9;this.ih(a,b);for(a+=1;ac)return!1;a=ha(a.g,!0,a.Ka,null);for(var d=1;da)return new Ve(sf);var b=!1,c=this.g;null!==c&&Tr(this)&&c.yl.contains(this)&&null!==this.Mw&&(b=!0);var d=c=0,e=this.m(0).copy(),g=e.copy(),c=this.fd.o,h=this.computeCurve();if(h===Tj&&3<=a&&!Eb(this.Qq,0))if(3===a)var k=this.m(1),c=Math.min(e.x,k.x),d=Math.min(e.y,k.y),k=this.m(2),c=Math.min(c,k.x),d=Math.min(d,k.y);else{if(this.ic)for(k=0;k=a&&(k=a-1),c=this.m(k), g.x=Math.min(c.x,g.x),g.y=Math.min(c.y,g.y);c=g.x;d=g.y}else{for(k=0;ky?r>q?(u.x=w-A,u.y=q-A,t.x=w+s,t.y=q+s):(u.x=w-A,u.y=q+A,t.x=w+s,t.y=q-s):r>q?(u.x=w+A,u.y=q-A,t.x=w-s,t.y=q+s):(u.x=w+A,u.y=q+A,t.x=w-s,t.y=q-s));Eb(y,w)&&Eb(q,r)&&(q>p?(B>w?(u.x= @@ -1765,20 +1765,20 @@ p),y.assign(u)):(q=u.x,A=B=u.y,B=u.y>n.y?u.y-w:u.y+w,r=t.x>u.x?u.x+s:u.x-s,gs(th function fs(a,b,c,d){a=c-a;if(isNaN(a)||Infinity===a||-Infinity===a)return NaN;0>a&&(a=-a);b=d-b;if(isNaN(b)||Infinity===b||-Infinity===b)return NaN;0>b&&(b=-b);return Eb(a,0)?b:Eb(b,0)?a:Math.sqrt(a*a+b*b)} function ds(a,b,c,d){var e=a.ta;if(2>e)return b;if(c){var g=a.m(1);c=g.x-d.x;d=g.y-d.y;g=fs(b.x,b.y,c,d);if(0===g)return b;e=2===e?.5*g:g;a=a.computeShortLength(!0);a>e&&(a=e);c=a*(c-b.x)/g;a=a*(d-b.y)/g;b.x+=c;b.y+=a}else{g=a.m(e-2);c=g.x-d.x;d=g.y-d.y;g=fs(b.x,b.y,c,d);if(0===g)return b;e=2===e?.5*g:g;a=a.computeShortLength(!1);a>e&&(a=e);c=a*(b.x-c)/g;a=a*(b.y-d)/g;b.x-=c;b.y-=a}return b} function es(a,b,c,d){for(var e=a.ta,g=b;Eb(b.x,g.x)&&Eb(b.y,g.y);){if(c>=e)return e-1;g=a.m(c++)}if(!Eb(b.x,g.x)&&!Eb(b.y,g.y))return c-1;for(var h=g;Eb(b.x,g.x)&&Eb(g.x,h.x)&&(!d||(b.y>=g.y?g.y>=h.y:g.y<=h.y))||Eb(b.y,g.y)&&Eb(g.y,h.y)&&(!d||(b.x>=g.x?g.x>=h.x:g.x<=h.x));){if(c>=e)return e-1;h=a.m(c++)}return c-2} -function gs(a,b,c,d,e,g,h){if(!h&&Tr(a)){h=[];var k=0;a.isVisible()&&(k=hs(a,e,g,h));var l=e.x,l=e.y;if(0p-10)m--,p=Math.max(q-5,g.x);else break;q=g.y-10+d;n=p+c;p=g.y+d;a.kf===tj?T(b,n,p,!1,!1):U(b,l,q,n,q,n,p)}else if(Q(e.x,g.x))if(e.yp-10)m--,p=Math.max(q-5,g.y);else break;q=g.x-10+c;n=g.x+c;p+=d;a.kf===tj?T(b,n,p,!1,!1):U(b,q,l,q,p,n,p)}}b.lineTo(g.x+c,g.y+d)} +function gs(a,b,c,d,e,g,h){if(!h&&Tr(a)){h=[];var k=0;a.isVisible()&&(k=hs(a,e,g,h));var l=e.x,l=e.y;if(0p-10)m--,p=Math.max(q-5,g.x);else break;q=g.y-10+d;n=p+c;p=g.y+d;a.lf===tj?T(b,n,p,!1,!1):U(b,l,q,n,q,n,p)}else if(Q(e.x,g.x))if(e.yp-10)m--,p=Math.max(q-5,g.y);else break;q=g.x-10+c;n=g.x+c;p+=d;a.lf===tj?T(b,n,p,!1,!1):U(b,q,l,q,p,n,p)}}b.lineTo(g.x+c,g.y+d)} function hs(a,b,c,d){var e=a.g;if(null===e||b.O(c))return 0;for(e=e.bo;e.next();){var g=e.value;if(null!==g&&g.visible)for(var g=g.sb.o,h=g.length,k=0;kh.x&&n.x>m.x||m.xh.y&&n.y>m.y||m.yu&&Math.min(h,y)q&&!Q(h,y)){n.x=u;n.y=q;n=!0;break a}}else if(!Q(q,s)&&Q(h,y)&&Math.min(q,s)h&&Math.min(u,t)p&&!Q(u,t)){n.x=p;n.y=h;n=!0;break a}n.x=0;n.y=0;n=!1}n&&(e?c.push(k.x):c.push(k.y));h=m}D.A(k)}D.w(J,{lu:"firstPickIndex"},function(){var a;2>=this.ta?a=0:((a=this.ic)||(a=this.computeSpot(!0)!==dc),a=a?1:0);return a});D.w(J,{gy:"lastPickIndex"},function(){var a=this.ta;if(0===a)a=0;else if(2>=a)a-=1;else{var b;(b=this.ic)||(b=this.computeSpot(!1)!==dc);a=b?a-2:a-1}return a});function Tr(a){a=a.kf;return a===sj||a===tj} +s)>h&&Math.min(u,t)p&&!Q(u,t)){n.x=p;n.y=h;n=!0;break a}n.x=0;n.y=0;n=!1}n&&(e?c.push(k.x):c.push(k.y));h=m}D.A(k)}D.w(J,{lu:"firstPickIndex"},function(){var a;2>=this.ta?a=0:((a=this.ic)||(a=this.computeSpot(!0)!==dc),a=a?1:0);return a});D.w(J,{gy:"lastPickIndex"},function(){var a=this.ta;if(0===a)a=0;else if(2>=a)a-=1;else{var b;(b=this.ic)||(b=this.computeSpot(!1)!==dc);a=b?a-2:a-1}return a});function Tr(a){a=a.lf;return a===sj||a===tj} function Vr(a,b){if(b||Tr(a)){var c=a.g;null===c||c.yl.contains(a)||null===a.Mw||c.yl.add(a,a.Mw)}}function Nj(a,b){var c=a.layer;if(null!==c&&c.visible&&!c.Wc){var d=c.g;if(null!==d)for(var e=!1,d=d.bo;d.next();){var g=d.value;if(g.visible)if(g===c)for(var e=!0,h=!1,g=g.sb.o,k=g.length,l=0;l=a.width||0>=a.height)){var b=a.y,c=a.x+a.width,d=a.y+a.height;this.$f=Math.floor((a.x-this.ge)/this.ge)*this.ge;this.ag=Math.floor((b-this.Od)/this.Od)*this.Od;this.ys=Math.ceil((c+2*this.ge)/this.ge)*this.ge;this.zs=Math.ceil((d+2*this.Od)/this.Od)*this.Od;a=1+(Math.ceil((this.ys-this.$f)/this.ge)|0);b=1+(Math.ceil((this.zs-this.ag)/this.Od)|0);if(null===this.rd||this.And?1:0):1:null!==d?-1:0}; +va.prototype.commit=function(){var a=this.Pd;if(null!==a){var b=this.qb,c=a.bounds;D.Qa(c)?(c.x=b.x,c.y=b.y,c.width=b.width,c.height=b.height):a.bounds=b.copy()}else if(a=this.Yc,null!==a){b=this.qb;if(!(a instanceof I)){var c=a.Z,d=a.Bf.eb(mc);if(c.F()&&d.F()){a.moveTo(b.x+this.pu-(d.x-c.x),b.y+this.qu-(d.y-c.y));return}}a.moveTo(b.x,b.y)}};va.prototype.addSourceEdge=va.prototype.ME=function(a){null!==a&&(v&&D.l(a,wa,va,"addSourceEdge:edge"),this.Ye.contains(a)||this.Ye.add(a))}; +va.prototype.deleteSourceEdge=va.prototype.iF=function(a){null!==a&&(v&&D.l(a,wa,va,"deleteSourceEdge:edge"),this.Ye.remove(a))};va.prototype.addDestinationEdge=va.prototype.KE=function(a){null!==a&&(v&&D.l(a,wa,va,"addDestinationEdge:edge"),this.Qe.contains(a)||this.Qe.add(a))};va.prototype.deleteDestinationEdge=va.prototype.hF=function(a){null!==a&&(v&&D.l(a,wa,va,"deleteDestinationEdge:edge"),this.Qe.remove(a))}; +D.w(va,{qK:"sourceVertexes"},function(){for(var a=new L(va),b=this.uc;b.next();)a.add(b.value.fromVertex);return a.j});D.w(va,{uI:"destinationVertexes"},function(){for(var a=new L(va),b=this.sc;b.next();)a.add(b.value.toVertex);return a.j});D.w(va,{vertexes:"vertexes"},function(){for(var a=new L(va),b=this.uc;b.next();)a.add(b.value.fromVertex);for(b=this.sc;b.next();)a.add(b.value.toVertex);return a.j});D.w(va,{uc:"sourceEdges"},function(){return this.Ye.j});D.w(va,{sc:"destinationEdges"},function(){return this.Qe.j}); +D.w(va,{edges:"edges"},function(){for(var a=new K(wa),b=this.uc;b.next();)a.add(b.value);for(b=this.sc;b.next();)a.add(b.value);return a.j});D.w(va,{FI:"edgesCount"},function(){return this.Ye.count+this.Qe.count});var xs;va.standardComparer=xs=function(a,b){v&&D.l(a,va,va,"standardComparer:m");v&&D.l(b,va,va,"standardComparer:n");var c=a.Ed,d=b.Ed;return c?d?(c=c.text,d=d.text,cd?1:0):1:null!==d?-1:0}; va.smartComparer=function(a,b){v&&D.l(a,va,va,"smartComparer:m");v&&D.l(b,va,va,"smartComparer:n");if(null!==a){if(null!==b){var c=a.Ed,d=b.Ed;if(null!==c){if(null!==d){for(var c=c.text.toLocaleLowerCase().split(/([+\-]?[\.]?\d+(?:\.\d*)?(?:e[+\-]?\d+)?)/),d=d.text.toLocaleLowerCase().split(/([+\-]?[\.]?\d+(?:\.\d*)?(?:e[+\-]?\d+)?)/),e=0;eh)for(var p=h+1;pn;p--)l=d[p],l.near===m&&l.Fn===m.Fn||k++;var m=0,q,r=q=p=l=0,s,u=0,t=0;s=0;var y;if(0<=c)for(n=d[h].Xe,m=0;mh)for(var p=h+1;pn;p--)l=d[p],l.near===m&&l.Fn===m.Fn||k++;var m=0,q,r=q=p=l=0,s,u=0,t=0;s=0;var y;if(0<=c)for(n=d[h].Ye,m=0;mu||l===u&&q>s)&&k++,tl||u===l&&s>q)&&k++);if(0>=c)for(n=d[h].Qe,m=0;mu||l===u&&p>t)&&k++, -sl||u===l&&t>p)&&k++);g[h*e+h]=k;for(n=h+1;n=c)for(k=d[h].Qe,y=d[n].Qe,m=0;ml||u===l&&t>p)&&k++);g[h*e+h]=k;for(n=h+1;n=c)for(k=d[h].Qe,y=d[n].Qe,m=0;m=c&&(l=k.Xe);var m=null;0<=c&&(m=k.Qe);var n=0,p=0,q=k.near;null!==q&&q.layer===k.layer&&(n+=q.column-1,p++);if(null!==l)for(q=0;q=c&&(l=k.Ye);var m=null;0<=c&&(m=k.Qe);var n=0,p=0,q=k.near;null!==q&&q.layer===k.layer&&(n+=q.column-1,p++);if(null!==l)for(q=0;q=c&&(l=k.Xe);var m=null;0<=c&&(m=k.Qe);var n=0,p=[],q=k.near;null!==q&&q.layer===k.layer&&(p[n]=q.column-1,n++);if(null!==l)for(q=0;q=c&&(l=k.Ye);var m=null;0<=c&&(m=k.Qe);var n=0,p=[],q=k.near;null!==q&&q.layer===k.layer&&(p[n]=q.column-1,n++);if(null!==l)for(q=0;q>1,g[h]=0!==(n&1)?p[m]:p[m-1]+p[m]>>1)}Fu(a,b,d);return g}function Nu(a,b,c,d,e,g){if(b.component===d){b.component=c;var h=0,k=0;if(e)for(var l=b.sc;l.next();){var k=l.value,m=k.toVertex,h=b.layer-m.layer,k=a.linkMinLength(k);h===k&&Nu(a,m,c,d,e,g)}if(g)for(l=b.uc;l.next();)k=l.value,m=k.fromVertex,h=m.layer-b.layer,k=a.linkMinLength(k),h===k&&Nu(a,m,c,d,e,g)}} function Ou(a,b,c,d,e,g){if(b.component===d){b.component=c;if(e)for(var h=b.sc;h.next();)Ou(a,h.value.toVertex,c,d,e,g);if(g)for(b=b.uc;b.next();)Ou(a,b.value.fromVertex,c,d,e,g)}}function yu(a){for(a=a.vertexes.j;a.next();){var b=a.value;if(b.valid)return b}return null}function zu(a){for(a=a.vertexes.j;a.next();){var b=a.value;if(b.valid){for(var c=!0,d=b.sc;d.next();)if(d.value.toVertex.valid){c=!1;break}if(c)return b}}return null} function Au(a){for(a=a.vertexes.j;a.next();){var b=a.value;if(b.valid){for(var c=!0,d=b.uc;d.next();)if(d.value.fromVertex.valid){c=!1;break}if(c)return b}}return null}function Bu(a,b){b.iq=a.Ls;a.Ls++;for(var c=b.sc;c.next();){var d=c.value,e=d.toVertex;-1===e.iq&&(d.forest=!0,Bu(a,e))}b.finish=a.Ls;a.Ls++} qu.prototype.assignLayers=function(){switch(this.sp){case Pu:Qu(this);break;case Ru:for(var a=0,b=this.network.vertexes.j;b.next();)a=Su(this,b.value),this.Ab=Math.max(a,this.Ab);for(b.reset();b.next();)a=b.value,a.layer=this.Ab-a.layer;break;default:case su:Qu(this);for(b=this.network.vertexes.j;b.next();)b.value.valid=!1;for(b.reset();b.next();)a=b.value,0===a.uc.count&&Tu(this,a);a=Infinity;for(b.reset();b.next();)a=Math.min(a,b.value.layer);this.Ab=-1;for(b.reset();b.next();){var c=b.value;c.layer-= a;this.Ab=Math.max(this.Ab,c.layer)}}};function Qu(a){for(var b=a.network.vertexes.j;b.next();){var c=Uu(a,b.value);a.Ab=Math.max(c,a.Ab)}}function Uu(a,b){var c=0;if(-1===b.layer){for(var d=b.sc;d.next();)var e=d.value,g=e.toVertex,e=a.linkMinLength(e),c=Math.max(c,Uu(a,g)+e);b.layer=c}else c=b.layer;return c}function Su(a,b){var c=0;if(-1===b.layer){for(var d=b.uc;d.next();)var e=d.value,g=e.fromVertex,e=a.linkMinLength(e),c=Math.max(c,Su(a,g)+e);b.layer=c}else c=b.layer;return c} -function Tu(a,b){if(!b.valid){b.valid=!0;for(var c=b.sc;c.next();)Tu(a,c.value.toVertex);for(c=a.network.vertexes.j;c.next();)c.value.component=-1;for(var d=b.Xe.o,e=d.length,g=0;gh&&Nu(a,k,0,-1,!0,!1)}for(Nu(a,b,1,-1,!0,!0);0!==b.component;){for(var k=0,d=Infinity,l=0,m=null,n=a.network.vertexes.j;n.next();){var p=n.value;if(1===p.component){for(var q=0,r=!1,s=p.Xe.o,e=s.length,g=0;gh&&Nu(a,k,0,-1,!0,!1)}for(Nu(a,b,1,-1,!0,!0);0!==b.component;){for(var k=0,d=Infinity,l=0,m=null,n=a.network.vertexes.j;n.next();){var p=n.value;if(1===p.component){for(var q=0,r=!1,s=p.Ye.o,e=s.length,g=0;gd)&&!n&&(h=l,d=m)}if(0>g){for(c.reset();c.next();)g=c.value,1===g.component&&(g.layer-=e);b.component=0}else h.component=0}}} +0;n=!1;r=l.Ye.o;p=r.length;for(q=0;qd)&&!n&&(h=l,d=m)}if(0>g){for(c.reset();c.next();)g=c.value,1===g.component&&(g.layer-=e);b.component=0}else h.component=0}}} function Du(a,b,c){return 90===a.fa?c&&!b.rev||!c&&b.rev?270:90:180===a.fa?c&&!b.rev||!c&&b.rev?0:180:270===a.fa?c&&!b.rev||!c&&b.rev?90:270:c&&!b.rev||!c&&b.rev?180:0} qu.prototype.initializeIndices=function(){switch(this.ip){default:case Vu:for(var a=this.network.vertexes.j;a.next();){var b=a.value,c=b.layer;b.index=this.ue[c];this.ue[c]++}break;case tu:a=this.network.vertexes.j;for(b=this.Ab;0<=b;b--)for(a.reset();a.next();)c=a.value,c.layer===b&&-1===c.index&&Wu(this,c);break;case Xu:for(a=this.network.vertexes.j,b=0;b<=this.Ab;b++)for(a.reset();a.next();)c=a.value,c.layer===b&&-1===c.index&&Yu(this,c)}}; function Wu(a,b){var c=b.layer;b.index=a.ue[c];a.ue[c]++;for(var c=b.Qe.oc(),d=!0;d;)for(var d=!1,e=0;eh.portFromColOffset&&(d=!0,c[e]=h,c[e+1]=g)}for(e=0;eh.portToColOffset&&(d=!0,c[e]=h,c[e+1]=g)}for(e=0;eh.portToColOffset&&(d=!0,c[e]=h,c[e+1]=g)}for(e=0;e=h;d--)g=$u(this,d,-1)||g;e=this.countCrossings();e>=a?Iu(this,b):(a=e,b=Hu(this));for(g=!0;g;)for(g=!1,d=c;d>=h;d--)g=$u(this,d,1)||g;e=this.countCrossings();e>=a?Iu(this,b):(a=e,b=Hu(this));for(g=!0;g;)for(g=!1,d=h;d<=c;d++)g=$u(this,d,1)||g;e>=a?Iu(this,b):(a=e,b=Hu(this));for(g=!0;g;)for(g=!1, d=h;d<=c;d++)g=$u(this,d,-1)||g;e>=a?Iu(this,b):(a=e,b=Hu(this));for(g=!0;g;)for(g=!1,d=c;d>=h;d--)g=$u(this,d,0)||g;e>=a?Iu(this,b):(a=e,b=Hu(this));for(g=!0;g;)for(g=!1,d=h;d<=c;d++)g=$u(this,d,0)||g;e>=a?Iu(this,b):(a=e,b=Hu(this))}break;default:case uu:for(c=this.Ab,h=0,k=a+1;(d=this.countCrossings())=h;d--)g=$u(this,d,-1)||g;e=this.countCrossings();e>=a?Iu(this,b):(a=e,b=Hu(this));for(g=!0;g;)for(g=!1,d=c;d>=h;d--)g=$u(this,d,1)||g;e=this.countCrossings(); @@ -2014,8 +2014,8 @@ e=Math.min(c.x,e);d=Math.min(c.y,d)}e=b.x-e;b=b.y-d;this.xC=new N(e,b);for(a.res qu.prototype.yA=function(){for(var a=0,b=this.bn,c=0;c<=this.Ab;c++)a+=this.Kg[c],a+=this.Yf[c];for(var a=a+this.Ab*b,b=[],c=this.ie*this.Qb,d=this.DJ;0<=d;d--)270===this.fa?0===d?b.push(new C(0,0,c,Math.abs(this.Wb[0]))):b.push(new C(0,this.Wb[d-1],c,Math.abs(this.Wb[d-1]-this.Wb[d]))):90===this.fa?0===d?b.push(new C(0,this.Wb[0],c,Math.abs(this.Wb[0]-a))):b.push(new C(0,this.Wb[d],c,Math.abs(this.Wb[d-1]-this.Wb[d]))):180===this.fa?0===d?b.push(new C(0,0,Math.abs(this.Wb[0]),c)):b.push(new C(this.Wb[d- 1],0,Math.abs(this.Wb[d-1]-this.Wb[d]),c)):0===d?b.push(new C(this.Wb[0],0,Math.abs(this.Wb[0]-a),c)):b.push(new C(this.Wb[d],0,Math.abs(this.Wb[d-1]-this.Wb[d]),c));this.commitLayers(b,this.xC)};qu.prototype.commitLayers=function(){}; qu.prototype.commitLinks=function(){for(var a=this.network.edges.j,b;a.next();)b=a.value.link,null!==b&&(b.Dm(),b.aq(),b.Aj());for(a.reset();a.next();)b=a.value.link,null!==b&&b.zo();for(a.reset();a.next();){var c=a.value;b=c.link;if(null!==b){b.Dm();var d=b,e=d.aa,g=d.ba,h=d.Ac,k=d.ad;if(null!==e){var l=e.findVisibleNode();null!==l&&l!==e&&(e=l,h=l.port)}if(null!==g){var m=g.findVisibleNode();null!==m&&m!==g&&(g=m,k=m.port)}var n=b.computeSpot(!0,h),p=b.computeSpot(!1,k),q=c.fromVertex,r=c.toVertex; -if(c.valid){if(b.kf===Tj&&4===b.ta){if(c.rev)var s=e,e=g,g=s,u=h,h=k,k=u;if(q.column===r.column){var t=b.getLinkPoint(e,h,n,!0,!1,g,k),y=b.getLinkPoint(g,k,p,!1,!1,e,h);t.F()||t.set(e.Z.im);y.F()||y.set(g.Z.im);b.aq();b.xj(t.x,t.y);b.xj((2*t.x+y.x)/3,(2*t.y+y.y)/3);b.xj((t.x+2*y.x)/3,(t.y+2*y.y)/3);b.xj(y.x,y.y)}else{var w=!1,B=!1;null!==h&&n===dc&&(w=!0);null!==k&&p===dc&&(B=!0);if(w||B){var A=b.m(0).x,O=b.m(0).y,H=b.m(1).x,R=b.m(1).y,aa=b.m(2).x,V=b.m(2).y,ea=b.m(3).x,la=b.m(3).y;if(w){90===this.fa|| -270===this.fa?(H=A,R=(O+la)/2):(H=(A+ea)/2,R=O);b.ha(1,H,R);var Da=b.getLinkPoint(e,h,n,!0,!1,g,k);Da.F()||Da.set(e.Z.im);b.ha(0,Da.x,Da.y)}B&&(90===this.fa||270===this.fa?(aa=ea,V=(O+la)/2):(aa=(A+ea)/2,V=la),b.ha(2,aa,V),Da=b.getLinkPoint(g,k,p,!1,!1,e,h),Da.F()||Da.set(g.Z.im),b.ha(3,Da.x,Da.y))}}}b.Aj()}else if(q.layer===r.layer)b.Aj();else{var La=!1,gb=!1,za=0,W=b.lu+1;if(b.ic)gb=!0,za=b.ta,4=r.Q.bottom?(Ra=r.Q.y+r.Q.height, b.B(W++,sa,Ra+pb),b.B(W++,sa,Ra),b.B(W++,sa,Ra-Oa)):(b.B(W++,sa,na+pb),b.B(W++,sa,na),b.B(W++,sa,na-Oa)):270===this.fa?na<=r.Q.y?(Ra=r.Q.y,b.B(W++,sa,Ra-Oa),b.B(W++,sa,Ra),b.B(W++,sa,Ra+pb)):(b.B(W++,sa,na-Oa),b.B(W++,sa,na),b.B(W++,sa,na+pb)):0===this.fa&&(sa>=r.Q.right?(Ra=r.Q.x+r.Q.width,b.B(W++,Ra+pb,na),b.B(W++,Ra,na),b.B(W++,Ra-Oa,na)):(b.B(W++,sa+pb,na),b.B(W++,sa,na),b.B(W++,sa-Oa,na)));else{b.B(W++,hb,ub);var ud=0;if(180===this.fa||0===this.fa){if(180===this.fa?sa>=r.Q.right:sa<=r.Q.x)ud= @@ -2026,14 +2026,14 @@ this.Kg[q.layer]);pb=Math.max(10,this.Yf[q.layer]);ud=0;if(180===this.fa||0===th if(Sa!==r)if(hb=b.m(W-1).x,ub=b.m(W-1).y,sa=Sa.pa,na=Sa.va,gb)if(180===this.fa||0===this.fa){var Md=null!==Qc?Qc.va:ub;Md!==na&&(ab=this.Wb[Sa.layer],2===W&&(ab=0===this.fa?Math.max(ab,hb):Math.min(ab,hb)),b.B(W++,ab,ub),b.B(W++,ab,na))}else{var Gf=null!==Qc?Qc.pa:hb;Gf!==sa&&(ab=this.Wb[Sa.layer],2===W&&(ab=90===this.fa?Math.max(ab,ub):Math.min(ab,ub)),b.B(W++,hb,ab),b.B(W++,sa,ab))}else Oa=Math.max(10,this.Kg[Sa.layer]),pb=Math.max(10,this.Yf[Sa.layer]),180===this.fa?(b.B(W++,sa+pb,na),La&&b.B(W++, sa,na),b.B(W++,sa-Oa,na)):90===this.fa?(b.B(W++,sa,na-Oa),La&&b.B(W++,sa,na),b.B(W++,sa,na+pb)):270===this.fa?(b.B(W++,sa,na+pb),La&&b.B(W++,sa,na),b.B(W++,sa,na-Oa)):(b.B(W++,sa-Oa,na),La&&b.B(W++,sa,na),b.B(W++,sa+pb,na));q=Sa}gb&&(hb=b.m(W-1).x,ub=b.m(W-1).y,sa=b.m(W).x,na=b.m(W).y,180===this.fa||0===this.fa?ub!==na&&(ab=0===this.fa?Math.min(Math.max((sa+hb)/2,this.Wb[r.layer]),sa):Math.max(Math.min((sa+hb)/2,this.Wb[r.layer]),sa),b.B(W++,ab,ub),b.B(W++,ab,na)):hb!==sa&&(ab=90===this.fa?Math.min(Math.max((na+ ub)/2,this.Wb[r.layer]),na):Math.max(Math.min((na+ub)/2,this.Wb[r.layer]),na),b.B(W++,hb,ab),b.B(W++,sa,ab)))}if(null!==d&&La){if(null!==h){if(n===dc){var re=b.m(0),be=b.m(2);re.O(be)||b.ha(1,(re.x+be.x)/2,(re.y+be.y)/2)}Da=b.getLinkPoint(e,h,dc,!0,!1,g,k);Da.F()||Da.set(e.Z.im);b.ha(0,Da.x,Da.y)}null!==k&&(p===dc&&(re=b.m(b.ta-1),be=b.m(b.ta-3),re.O(be)||b.ha(b.ta-2,(re.x+be.x)/2,(re.y+be.y)/2)),Da=b.getLinkPoint(g,k,dc,!1,!1,e,h),Da.F()||Da.set(g.Z.im),b.ha(b.ta-1,Da.x,Da.y))}b.Aj();c.commit()}}}for(var jd= -new K(J),vh=this.network.edges.j;vh.next();){var Hf=vh.value.link;null!==Hf&&Hf.ic&&!jd.contains(Hf)&&jd.add(Hf)}if(0oc.y&&(zc=ib.y>oc.y?0:wd.xoc.y&&(zc=ib.y>oc.y?0:wd.xqc.x&&(Jg=zh.x>qc.x?0:fc.yqc.x&&(Jg=zh.x>qc.x?0:fc.yb.layer?1:a.hfb.hf?1:a.Eeb.Ee?1:0:0};qu.prototype.RG=function(a,b){return a instanceof mv&&b instanceof mv&&a!==b?a.firstb.first||a.Lib.Li||a.hfb.hf?1:a.Eeb.Ee?1:0:0}; -qu.prototype.Gy=function(a,b){return a instanceof mv&&b instanceof mv&&a!==b?a.qeb.qe||a.Lib.Li||a.hfb.hf?1:a.Eeb.Ee?1:0:0};function nv(a,b){v&&(D.p(a,qu,"isApprox:a"),D.p(b,qu,"isApprox:b"));var c=a-b;return-1c}function ov(a,b,c,d){v&&(D.p(a,qu,"isUnoccupied2:px"),D.p(b,qu,"isUnoccupied2:py"),D.p(c,qu,"isUnoccupied2:qx"),D.p(d,qu,"isUnoccupied2:qy"));return!0} +gc}}}};qu.prototype.SG=function(a,b){return a instanceof mv&&b instanceof mv&&a!==b?a.layerb.layer?1:a.jfb.jf?1:a.Eeb.Ee?1:0:0};qu.prototype.RG=function(a,b){return a instanceof mv&&b instanceof mv&&a!==b?a.firstb.first||a.Lib.Li||a.jfb.jf?1:a.Eeb.Ee?1:0:0}; +qu.prototype.Gy=function(a,b){return a instanceof mv&&b instanceof mv&&a!==b?a.qeb.qe||a.Lib.Li||a.jfb.jf?1:a.Eeb.Ee?1:0:0};function nv(a,b){v&&(D.p(a,qu,"isApprox:a"),D.p(b,qu,"isApprox:b"));var c=a-b;return-1c}function ov(a,b,c,d){v&&(D.p(a,qu,"isUnoccupied2:px"),D.p(b,qu,"isUnoccupied2:py"),D.p(c,qu,"isUnoccupied2:qx"),D.p(d,qu,"isUnoccupied2:qy"));return!0} function Eu(a,b){var c,d=a.ue[b];if(d>=a.zh.length){c=[];for(var e=0;ea&&(this.oj=a,this.N()))});D.defineProperty(qu,{Oq:"setsPortSpots"},function(){return this.si},function(a){this.si!==a&&(D.h(a,"boolean",qu,"setsPortSpots"),this.si=a,this.N())});D.defineProperty(qu,{kG:"linkSpacing"},function(){return this.us},function(a){this.us!==a&&(D.h(a,"number",qu,"linkSpacing"),0<=a&&(this.us=a,this.N()))});D.w(qu,{DJ:"maxLayer"},function(){return this.Ab}); D.w(qu,{$L:"maxIndex"},function(){return this.rw});D.w(qu,{ZL:"maxColumn"},function(){return this.Qb});D.w(qu,{eM:"minIndexLayer"},function(){return this.Ds});D.w(qu,{aM:"maxIndexLayer"},function(){return this.Zf});var ru;qu.CycleDepthFirst=ru=D.s(qu,"CycleDepthFirst",0);var xu;qu.CycleGreedy=xu=D.s(qu,"CycleGreedy",1);var su;qu.LayerOptimalLinkLength=su=D.s(qu,"LayerOptimalLinkLength",0);var Pu;qu.LayerLongestPathSink=Pu=D.s(qu,"LayerLongestPathSink",1);var Ru; qu.LayerLongestPathSource=Ru=D.s(qu,"LayerLongestPathSource",2);var tu;qu.InitDepthFirstOut=tu=D.s(qu,"InitDepthFirstOut",0);var Xu;qu.InitDepthFirstIn=Xu=D.s(qu,"InitDepthFirstIn",1);var Vu;qu.InitNaive=Vu=D.s(qu,"InitNaive",2);var av;qu.AggressiveNone=av=D.s(qu,"AggressiveNone",0);var uu;qu.AggressiveLess=uu=D.s(qu,"AggressiveLess",1);var bv;qu.AggressiveMore=bv=D.s(qu,"AggressiveMore",2);qu.PackNone=0;var cv;qu.PackExpand=cv=1;var dv;qu.PackStraighten=dv=2;var fv;qu.PackMedian=fv=4;var vu; -qu.PackAll=vu=7;function mv(){this.index=this.Ee=this.hf=this.qe=this.first=this.layer=0;this.link=null;this.Li=0}D.ne(mv,{layer:!0,first:!0,qe:!0,hf:!0,Ee:!0,index:!0,link:!0,Li:!0});function wu(){ua.call(this)}D.Sa(wu,ua);D.ka("LayeredDigraphNetwork",wu);wu.prototype.createVertex=function(){return new pv};wu.prototype.createEdge=function(){return new qv}; +qu.PackAll=vu=7;function mv(){this.index=this.Ee=this.jf=this.qe=this.first=this.layer=0;this.link=null;this.Li=0}D.ne(mv,{layer:!0,first:!0,qe:!0,jf:!0,Ee:!0,index:!0,link:!0,Li:!0});function wu(){ua.call(this)}D.Sa(wu,ua);D.ka("LayeredDigraphNetwork",wu);wu.prototype.createVertex=function(){return new pv};wu.prototype.createEdge=function(){return new qv}; function pv(){va.call(this);this.index=this.column=this.layer=-1;this.component=NaN;this.near=null;this.valid=!1;this.finish=this.iq=NaN;this.Fn=0;this.uB=this.vB=null}D.Sa(pv,va);D.ka("LayeredDigraphVertex",pv);function qv(){wa.call(this);this.forest=this.rev=this.valid=!1;this.portToPos=this.portFromPos=NaN;this.portToColOffset=this.portFromColOffset=0}D.Sa(qv,wa);D.ka("LayeredDigraphEdge",qv); function $(){0q.y+c.rowIndent&&(r=Math.min(r,Math.max(n.y,r-fw(c))))):c.alignment===cw?(r=d.top+b.y,0===b.y&&n.yq.x+c.rowIndent&&(r=Math.min(r,Math.max(n.x,r-fw(c))))):c.alignment===cw?(r=d.left+b.x,0===b.x&&n.xq.y+c.rowIndent&&(r=Math.min(r,Math.max(n.y,r-fw(c))))):c.alignment===cw?(r=d.top+b.y,0===b.y&&n.yq.x+c.rowIndent&&(r=Math.min(r,Math.max(n.x,r-fw(c))))):c.alignment===cw?(r=d.left+b.x,0===b.x&&n.x=a.length?a.push(c):a.splice(b,0,c):w.k("Cannot insert an object into an HTMLCollection or NodeList: "+c+" at "+b)},Kg:function(a, b){Array.isArray(a)?b>=a.length?a.pop():a.splice(b,1):w.k("Cannot remove an object from an HTMLCollection or NodeList at "+b)},zy:[],K:function(){var a=w.zy.pop();return void 0===a?new z:a},xb:function(a,b){var c=w.zy.pop();if(void 0===c)return new z(a,b);c.x=a;c.y=b;return c},v:function(a){w.zy.push(a)},OB:[],mm:function(){var a=w.OB.pop();return void 0===a?new ia:a},Ck:function(a){w.OB.push(a)},Ay:[],If:function(){var a=w.Ay.pop();return void 0===a?new B:a},lg:function(a,b,c,d){var e=w.Ay.pop(); if(void 0===e)return new B(a,b,c,d);e.x=a;e.y=b;e.width=c;e.height=d;return e},Db:function(a){w.Ay.push(a)},PB:[],Jf:function(){var a=w.PB.pop();return void 0===a?new ka:a},we:function(a){w.PB.push(a)},By:null,s:function(){var a=w.By;return null!==a?(w.By=null,a):new la},q:function(a){a.reset();w.By=a},NB:[],eb:function(){var a=w.NB.pop();return void 0===a?[]:a},ta:function(a){a.length=0;w.NB.push(a)},fo:Object.freeze([]),qm:1,nc:function(a){a.__gohashid=w.qm++},Up:function(a){var b=a.__gohashid; void 0===b&&(b=w.qm++,a.__gohashid=b);return b},Od:function(a){return a.__gohashid},ga:function(a,b){b.Ky=a;ca[a]=b},Ka:function(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a},mi:function(a){a.XG=!0},defineProperty:function(a,b,c,d,e){w.j(a,"function","Util.defineProperty:classfunc");w.j(b,"object","Util.defineProperty:propobj");w.j(c,"function","Util.defineProperty:getter");w.j(d,"function","Util.defineProperty:setter");for(var f in b){b=b[f];c={get:c,set:d, enumerable:!0};if(void 0!==e)for(var h in e)c[h]=e[h];Object.defineProperty(a.prototype,f,c);e=Object.getOwnPropertyDescriptor(a.prototype,f);b&&e&&Object.defineProperty(a.prototype,b,e);break}},YJ:!1,u:function(a,b,c,d){w.j(a,"function","Util.defineReadOnlyProperty:classfunc");w.j(b,"object","Util.defineReadOnlyProperty:propobj");w.j(c,"function","Util.defineReadOnlyProperty:getter");for(var e in b){var f=b[e];b={get:c,set:function(a){w.k('The property "'+f+'" is read-only and cannot be set to '+ -a)},enumerable:!0};if(void 0!==d)for(var h in d)b[h]=d[h];Object.defineProperty(a.prototype,e,b);d=Object.getOwnPropertyDescriptor(a.prototype,e);f&&d&&Object.defineProperty(a.prototype,f,d);break}},ce:function(a,b){for(var c in b)b[c]=!0;a.prototype.TG=b},getTypeName:function(a){return void 0===a?"":"string"===typeof a?a:"function"===typeof a?w.mf(a):null===a?"*":""},mf:function(a){if("function"===typeof a){if(a.Ky)return a.Ky;if(a.name)return a.name;var b=a.toString(),c=b.indexOf("("),b=b.substring(9, -c).trim();if(""!==b)return a.Ky=b}else if(w.Pa(a)&&a.constructor)return w.mf(a.constructor);return typeof a},p:function(a,b,c){w.j(a,"function","Util.defineEnumValue:classfunc");w.j(b,"string","Util.defineEnumValue:name");w.j(c,"number","Util.defineEnumValue:num");c=new da(a,b,c);Object.freeze(c);a[b]=c;var d=a.Wu;d instanceof ma||(d=new ma("string",da),a.Wu=d);d.add(b,c);return c},ub:function(a,b){if(!a||!b)return null;var c=void 0;try{"function"===typeof b?c=b(a):"function"===typeof a.getAttribute? +a)},enumerable:!0};if(void 0!==d)for(var h in d)b[h]=d[h];Object.defineProperty(a.prototype,e,b);d=Object.getOwnPropertyDescriptor(a.prototype,e);f&&d&&Object.defineProperty(a.prototype,f,d);break}},ce:function(a,b){for(var c in b)b[c]=!0;a.prototype.TG=b},getTypeName:function(a){return void 0===a?"":"string"===typeof a?a:"function"===typeof a?w.nf(a):null===a?"*":""},nf:function(a){if("function"===typeof a){if(a.Ky)return a.Ky;if(a.name)return a.name;var b=a.toString(),c=b.indexOf("("),b=b.substring(9, +c).trim();if(""!==b)return a.Ky=b}else if(w.Pa(a)&&a.constructor)return w.nf(a.constructor);return typeof a},p:function(a,b,c){w.j(a,"function","Util.defineEnumValue:classfunc");w.j(b,"string","Util.defineEnumValue:name");w.j(c,"number","Util.defineEnumValue:num");c=new da(a,b,c);Object.freeze(c);a[b]=c;var d=a.Wu;d instanceof ma||(d=new ma("string",da),a.Wu=d);d.add(b,c);return c},ub:function(a,b){if(!a||!b)return null;var c=void 0;try{"function"===typeof b?c=b(a):"function"===typeof a.getAttribute? (c=a.getAttribute(b),null===c&&(c=void 0)):c=a[b]}catch(d){}return c},La:function(a,b,c){if(a&&b)try{"function"===typeof b?b(a,c):"function"===typeof a.setAttribute?a.setAttribute(b,c):a[b]=c}catch(d){}},Lu:function(a,b){w.j(a,"object","Setting properties requires Objects as arguments");w.j(b,"object","Setting properties requires Objects as arguments");var c=a instanceof C,d=a instanceof D,e;for(e in b){""===e&&w.k("Setting properties requires non-empty property names");var f=a,h=e;if(c||d){var k= e.indexOf(".");if(0c;c++)b[c]=c;for(var d=0,e=0,c=0;256>c;c++)d=(d+b[c]+119)%256,e=b[c],b[c]=b[d],b[d]=e;for(var d=c=0,f="",h=0;hc;c++)b["0123456789abcdef".charAt(c>>4)+"0123456789abcdef".charAt(c&15)]=String.fromCharCode(c);a.length%2&&(a="0"+a);for(var d=[],e=0,c=0;cc;c++)b["0123456789abcdef".charAt(c>>4)+"0123456789abcdef".charAt(c&15)]=String.fromCharCode(c);a.length%2&&(a="0"+a);for(var d=[],e=0,c=0;cd;d++)b[w.Lg("7ca11abfd7330390")](w.Lg(c[d-1]),10,15*d+0);b[w.Lg("7ca11abfd022028846")]=w.Lg("39f046ebb36e4b");for(d=1;5>d;d++)b[w.Lg("7ca11abfd7330390")](w.Lg(c[d- -1]),10,15*d+0);if(4!==c.length||"5"!==c[0][0]||"7"!==c[3][0])w.p=function(a,b){var c=new da(a,b,2);Object.freeze(c);a[b]=c;var d=a.Wu;d instanceof ma||(d=new ma("string",da),a.Wu=d);d.add(b,c);return c};return a}();function da(a,b,c){w.nc(this);this.cC=a;this.Sb=b;this.aH=c}w.ga("EnumValue",da);da.prototype.toString=function(){return w.mf(this.cC)+"."+this.Sb};w.u(da,{Ee:"classType"},function(){return this.cC});w.u(da,{name:"name"},function(){return this.Sb});w.u(da,{value:"value"},function(){return this.aH}); +1]),10,15*d+0);if(4!==c.length||"5"!==c[0][0]||"7"!==c[3][0])w.p=function(a,b){var c=new da(a,b,2);Object.freeze(c);a[b]=c;var d=a.Wu;d instanceof ma||(d=new ma("string",da),a.Wu=d);d.add(b,c);return c};return a}();function da(a,b,c){w.nc(this);this.cC=a;this.Sb=b;this.aH=c}w.ga("EnumValue",da);da.prototype.toString=function(){return w.nf(this.cC)+"."+this.Sb};w.u(da,{Ee:"classType"},function(){return this.cC});w.u(da,{name:"name"},function(){return this.Sb});w.u(da,{value:"value"},function(){return this.aH}); var pa;da.findName=pa=function(a,b){if(void 0===b||null===b||""===b)return null;w.j(a,"function","findName:classfunc");w.j(b,"string","EnumValue.findName:name");var c=a.Wu;return c instanceof ma?c.ka(b):null};function qa(){this.aC=[]}qa.prototype.toString=function(){return this.aC.join("")};qa.prototype.add=function(a){""!==a&&this.aC.push(a)};function ra(){} function sa(a){void 0===a&&(a=42);this.seed=a;this.vy=48271;this.Vu=2147483647;this.MB=this.Vu/this.vy;this.IG=this.Vu%this.vy;this.HG=1/this.Vu;this.random()}sa.prototype.random=function(){var a=this.seed%this.MB*this.vy-this.seed/this.MB*this.IG;this.seed=0b.offset?1:-1});for(k=0;k=2*Math.PI?(Rc(a,b,c,d,e,e+Math.PI,h),Rc(a,b,c,d,e+Math.PI,e+2*Math.PI,h),a.path.push(["M",l,f])):(b+=d*Math.cos(e),c+=d*Math.sin(e),k=180*k/Math.PI,e=h?0:1,h=180<=k===!!h?0:1,0!==a.path.length?a.path.push(["L",b,c]):a.path.push(["M",b,c]),a.path.push(["A",d,d,k,h,e,l,f]))}}function Qc(a,b,c,d,e,f,h){var k=new Kc;k.Ub=[b,c,d,e,f,h];b={};Tc(a,"g",b,k);k=a.addElement("g",b);a.nf.push(k)} +function Sc(a,b,c,d){for(var e=[],f=0;f=2*Math.PI?(Rc(a,b,c,d,e,e+Math.PI,h),Rc(a,b,c,d,e+Math.PI,e+2*Math.PI,h),a.path.push(["M",l,f])):(b+=d*Math.cos(e),c+=d*Math.sin(e),k=180*k/Math.PI,e=h?0:1,h=180<=k===!!h?0:1,0!==a.path.length?a.path.push(["L",b,c]):a.path.push(["M",b,c]),a.path.push(["A",d,d,k,h,e,l,f]))}}function Qc(a,b,c,d,e,f,h){var k=new Kc;k.Ub=[b,c,d,e,f,h];b={};Tc(a,"g",b,k);k=a.addElement("g",b);a.of.push(k)} g.bb=function(){if(0!==this.shadowOffsetX||0!==this.shadowOffsetY||0!==this.shadowBlur){var a="SHADOW"+w.qm++,b=this.addElement("filter",{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},null),c,d,e,f,h;c=Pc(this,"feGaussianBlur",{"in":"SourceAlpha",result:"blur",OL:this.shadowBlur/2});d=Pc(this,"feFlood",{"in":"blur",result:"flood","flood-color":this.shadowColor});e=Pc(this,"feComposite",{"in":"flood",in2:"blur",operator:"in",result:"comp"});f=Pc(this,"feOffset",{"in":"comp",result:"offsetBlur", -dx:this.shadowOffsetX,dy:this.shadowOffsetY});h=Pc(this,"feMerge",{});h.appendChild(Pc(this,"feMergeNode",{"in":"offsetBlur"}));h.appendChild(Pc(this,"feMergeNode",{"in":"SourceGraphic"}));b.appendChild(c);b.appendChild(d);b.appendChild(e);b.appendChild(f);b.appendChild(h);0a&&w.Fa(a,">= zero",xf,"radiusY");this.P&&w.ma(this,a);this.Eg=a;this.gb=!0});w.defineProperty(xf,{ze:"startAngle"},function(){return this.yb},function(a){this.yb!==a&&(this.P&&w.ma(this,a),a%=360,0>a&&(a+=360),this.yb=a,this.gb=!0)});w.defineProperty(xf,{tf:"sweepAngle"},function(){return this.Gb},function(a){this.P&&w.ma(this,a);360a&&(a=-360);this.Gb=a;this.gb=!0}); w.defineProperty(xf,{am:"isClockwiseArc"},function(){return this.no},function(a){this.P&&w.ma(this,a);this.no=a;this.gb=!0});w.defineProperty(xf,{Bx:"isLargeArc"},function(){return this.So},function(a){this.P&&w.ma(this,a);this.So=a;this.gb=!0});w.defineProperty(xf,{Hj:"xAxisRotation"},function(){return this.Fd},function(a){a%=360;0>a&&(a+=360);this.P&&w.ma(this,a);this.Fd=a;this.gb=!0}); function zf(){this.fa=null;this.Oz=(new z(0,0)).freeze();this.Vy=(new z(0,0)).freeze();this.iv=this.ew=0;this.jv=1;this.Uv="";this.Jw=this.xv=!1;this.uv=this.kv=0;this.Jj=this.Gv=this.Qv=!1;this.tr=null;this.Hw=0;this.Hg=this.Gw=null}w.ga("InputEvent",zf); -zf.prototype.copy=function(){var a=new zf;a.fa=this.fa;a.Oz.assign(this.ef);a.Vy.assign(this.ca);a.ew=this.ew;a.iv=this.iv;a.jv=this.jv;a.Uv=this.Uv;a.xv=this.xv;a.Jw=this.Jw;a.kv=this.kv;a.uv=this.uv;a.Qv=this.Qv;a.Gv=this.Gv;a.Jj=this.Jj;a.tr=this.tr;a.Hw=this.Hw;a.Gw=this.Gw;a.Hg=this.Hg;return a}; -zf.prototype.toString=function(){var a="^";0!==this.zd&&(a+="M:"+this.zd);0!==this.button&&(a+="B:"+this.button);""!==this.key&&(a+="K:"+this.key);0!==this.Ge&&(a+="C:"+this.Ge);0!==this.Sl&&(a+="D:"+this.Sl);this.Cc&&(a+="h");this.bubbles&&(a+="b");null!==this.ca&&(a+="@"+this.ca.toString());return a};w.defineProperty(zf,{g:"diagram"},function(){return this.fa},function(a){this.fa=a});w.defineProperty(zf,{ef:"viewPoint"},function(){return this.Oz},function(a){w.G(a,z,zf,"viewPoint");this.Oz.assign(a)}); +zf.prototype.copy=function(){var a=new zf;a.fa=this.fa;a.Oz.assign(this.ff);a.Vy.assign(this.ca);a.ew=this.ew;a.iv=this.iv;a.jv=this.jv;a.Uv=this.Uv;a.xv=this.xv;a.Jw=this.Jw;a.kv=this.kv;a.uv=this.uv;a.Qv=this.Qv;a.Gv=this.Gv;a.Jj=this.Jj;a.tr=this.tr;a.Hw=this.Hw;a.Gw=this.Gw;a.Hg=this.Hg;return a}; +zf.prototype.toString=function(){var a="^";0!==this.zd&&(a+="M:"+this.zd);0!==this.button&&(a+="B:"+this.button);""!==this.key&&(a+="K:"+this.key);0!==this.Ge&&(a+="C:"+this.Ge);0!==this.Sl&&(a+="D:"+this.Sl);this.Cc&&(a+="h");this.bubbles&&(a+="b");null!==this.ca&&(a+="@"+this.ca.toString());return a};w.defineProperty(zf,{g:"diagram"},function(){return this.fa},function(a){this.fa=a});w.defineProperty(zf,{ff:"viewPoint"},function(){return this.Oz},function(a){w.G(a,z,zf,"viewPoint");this.Oz.assign(a)}); w.defineProperty(zf,{ca:"documentPoint"},function(){return this.Vy},function(a){w.G(a,z,zf,"documentPoint");this.Vy.assign(a)});zf.prototype.getMultiTouchViewPoint=zf.prototype.ux=function(a,b){var c=this.g;if(null===c)return b;Af(c,this.event,a,b);return b};zf.prototype.getMultiTouchDocumentPoint=function(a,b){var c=this.g;if(null===c)return b;Af(c,this.event,a,b);b.assign(c.BB(b));return b};w.defineProperty(zf,{zd:"modifiers"},function(){return this.ew},function(a){this.ew=a}); w.defineProperty(zf,{button:"button"},function(){return this.iv},function(a){this.iv=a;if(null===this.event)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}});w.defineProperty(zf,{buttons:"buttons"},function(){return this.jv},function(a){this.jv=a});w.defineProperty(zf,{key:"key"},function(){return this.Uv},function(a){this.Uv=a});w.defineProperty(zf,{Tl:"down"},function(){return this.xv},function(a){this.xv=a}); w.defineProperty(zf,{up:"up"},function(){return this.Jw},function(a){this.Jw=a});w.defineProperty(zf,{Ge:"clickCount"},function(){return this.kv},function(a){this.kv=a});w.defineProperty(zf,{Sl:"delta"},function(){return this.uv},function(a){this.uv=a});w.defineProperty(zf,{ju:"isMultiTouch"},function(){return this.Qv},function(a){this.Qv=a});w.defineProperty(zf,{Cc:"handled"},function(){return this.Gv},function(a){this.Gv=a}); @@ -301,13 +301,13 @@ g.IB=function(){var a=this.Ik,b=!1,c;for(c in a)if(!Wf(c,a[c])){b=!0;break}a=""; function Yf(a,b,c,d){if(b===c)return!0;if(typeof b!==typeof c||"function"===typeof b||"function"===typeof c)return!1;if(Array.isArray(b)&&Array.isArray(c)){if(d.ka(b)===c)return!0;d.add(b,c);if(b.length!==c.length)return!1;for(var e=0;e=d)return"[]";var e=new qa;e.add("[ ");c&&1b&&(b=w.Za(a));w.sh(a,b,c);vg(this,"",Pf,"",a,null,c,null,b)};F.prototype.removeArrayItem=F.prototype.UF=function(a,b){void 0===b&&(b=-1);a===this.De&&w.k("Model.removeArrayItem should not be called on the Model.nodeDataArray");-1===b&&(b=w.Za(a)-1);var c=w.Ba(a,b);w.Kg(a,b);vg(this,"",Qf,"",a,c,null,b,null)}; w.defineProperty(F,{Sn:"nodeCategoryProperty"},function(){return this.Rm},function(a){var b=this.Rm;b!==a&&(wg(a,F,"nodeCategoryProperty"),this.Rm=a,this.h("nodeCategoryProperty",b,a))});F.prototype.getCategoryForNodeData=F.prototype.rA=function(a){if(null===a)return"";var b=this.Rm;if(""===b)return"";b=w.ub(a,b);if(void 0===b)return"";if("string"===typeof b)return b;w.k("getCategoryForNodeData found a non-string category for "+a+": "+b);return""}; F.prototype.setCategoryForNodeData=F.prototype.jy=function(a,b){w.j(b,"string",F,"setCategoryForNodeData:cat");if(null!==a){var c=this.Rm;if(""!==c)if(this.He(a)){var d=w.ub(a,c);void 0===d&&(d="");d!==b&&(w.La(a,c,b),vg(this,"nodeCategory",Nf,c,a,d,b))}else w.La(a,c,b)}}; -function Q(a,b){F.call(this);2w.Kl(d,a.newValue)&&w.sh(d,c,a.newValue));return}}else if(a.zc=== -Qf){c=a.zj;if("linkDataArray"===a.sf){d=a.oldValue;w.Pa(d)&&"number"===typeof c&&(e=this.bf(d),b?(this.Qi.add(d),w.Ba(this.hf,c)!==d&&w.sh(this.hf,c,d),void 0!==e&&this.fd.add(e,d)):(this.Qi.remove(d),w.Ba(this.hf,c)===d&&w.Kg(this.hf,c),void 0!==e&&this.fd.remove(e)));return}if("linkLabelKeys"===a.sf){d=this.Dk(a.object);w.isArray(d)&&"number"===typeof c&&(b?0>w.Kl(d,a.newValue)&&w.sh(d,c,a.newValue):(c=w.Kl(d,a.newValue),0<=c&&w.Kg(d,c)));return}}F.prototype.nn.call(this,a,b)}; +g.nn=function(a,b){if(a.zc===Pf){var c=a.yj;if("linkDataArray"===a.sf){var d=a.newValue;if(w.Pa(d)&&"number"===typeof c){var e=this.bf(d);b?(this.Qi.remove(d),w.Ba(this.jf,c)===d&&w.Kg(this.jf,c),void 0!==e&&this.fd.remove(e)):(this.Qi.add(d),w.Ba(this.jf,c)!==d&&w.sh(this.jf,c,d),void 0!==e&&this.fd.add(e,d))}return}if("linkLabelKeys"===a.sf){d=this.Dk(a.object);w.isArray(d)&&"number"===typeof c&&(b?(c=w.Kl(d,a.newValue),0<=c&&w.Kg(d,c)):0>w.Kl(d,a.newValue)&&w.sh(d,c,a.newValue));return}}else if(a.zc=== +Qf){c=a.zj;if("linkDataArray"===a.sf){d=a.oldValue;w.Pa(d)&&"number"===typeof c&&(e=this.bf(d),b?(this.Qi.add(d),w.Ba(this.jf,c)!==d&&w.sh(this.jf,c,d),void 0!==e&&this.fd.add(e,d)):(this.Qi.remove(d),w.Ba(this.jf,c)===d&&w.Kg(this.jf,c),void 0!==e&&this.fd.remove(e)));return}if("linkLabelKeys"===a.sf){d=this.Dk(a.object);w.isArray(d)&&"number"===typeof c&&(b?0>w.Kl(d,a.newValue)&&w.sh(d,c,a.newValue):(c=w.Kl(d,a.newValue),0<=c&&w.Kg(d,c)));return}}F.prototype.nn.call(this,a,b)}; w.defineProperty(Q,{Uz:"archetypeNodeData"},function(){return this.um},function(a){var b=this.um;b!==a&&(null!==a&&w.G(a,Object,Q,"archetypeNodeData"),this.um=a,this.h("archetypeNodeData",b,a))});Q.prototype.Ln=function(a){if(void 0!==a){var b=this.um;if(null!==b){var c=this.ve(a);null===c&&(c=this.copyNodeData(b),w.La(c,this.gk,a),this.Hl(c))}return a}}; w.defineProperty(Q,{Jn:"linkFromKeyProperty"},function(){return this.Uh},function(a){var b=this.Uh;b!==a&&(wg(a,Q,"linkFromKeyProperty"),this.Uh=a,this.h("linkFromKeyProperty",b,a))});Q.prototype.getFromKeyForLinkData=Q.prototype.Xl=function(a){if(null!==a){var b=this.Uh;if(""!==b&&(b=w.ub(a,b),void 0!==b)){if(xg(b))return b;w.k("FromKey value for link data "+a+" is not a number or a string: "+b)}}}; Q.prototype.setFromKeyForLinkData=Q.prototype.jB=function(a,b){null===b&&(b=void 0);void 0===b||xg(b)||w.Bd(b,"number or string",Q,"setFromKeyForLinkData:key");if(null!==a){var c=this.Uh;if(""!==c)if(b=this.Ln(b),this.vh(a)){var d=w.ub(a,c);d!==b&&(Ug(this,d,a),w.La(a,c,b),null===this.ve(b)&&Bg(this,b,a),vg(this,"linkFromKey",Nf,c,a,d,b),"string"===typeof c&&this.Ib(a,c))}else w.La(a,c,b)}}; @@ -379,7 +379,7 @@ Q.prototype.getLabelKeysForLinkData=Q.prototype.Dk=function(a){if(null===a)retur Q.prototype.setLabelKeysForLinkData=Q.prototype.lG=function(a,b){w.Wz(b,Q,"setLabelKeysForLinkData:arr");if(null!==a){var c=this.Ag;if(""!==c)if(this.vh(a)){var d=w.ub(a,c);void 0===d&&(d=w.fo);if(d!==b){for(var e=w.Za(d),f=0;fe||(w.Kg(d,e),this.vh(a)&&(Ug(this,b,a),vg(this,"linkLabelKeys",Qf,c,a,b,null,e,null)))}else void 0!==d&&w.k(c+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}}; -w.defineProperty(Q,{Qg:"linkDataArray"},function(){return this.hf},function(a){var b=this.hf;if(b!==a){w.Wz(a,Q,"linkDataArray");this.fd.clear();for(var c=w.Za(a),d=0;dd)return;w.Kg(a.hf,d)}vg(a,"linkDataArray",Qf,"linkDataArray",a,b,null,d,null);c=a.Xl(b);Ug(a,c,b);c=a.Yl(b);Ug(a,c,b);d=a.Dk(b);if(w.isArray(d))for(var e=w.Za(d),f=0;fd)return;w.Kg(a.jf,d)}vg(a,"linkDataArray",Qf,"linkDataArray",a,b,null,d,null);c=a.Xl(b);Ug(a,c,b);c=a.Yl(b);Ug(a,c,b);d=a.Dk(b);if(w.isArray(d))for(var e=w.Za(d),f=0;f=e&&(f=d.da(0),null!==f&&f.clea Sf.prototype.canUndo=Sf.prototype.canUndo=function(){if(!this.isEnabled||0=this.ti&&!this.ez&&(a=a.g,null!==a&&!1===a.Gn||w.trace("Change not within a transaction: "+c.toString()))}}; -Sf.prototype.skipsEvent=function(a){if(null===a||0>a.zc.value)return!0;a=a.object;if(a instanceof G){if(a=a.layer,null!==a&&a.Mc)return!0}else if(a instanceof qg&&a.Mc)return!0;return!1};w.u(Sf,{XI:"models"},function(){return this.uz.i});w.defineProperty(Sf,{isEnabled:"isEnabled"},function(){return this.gf},function(a){this.gf=a});w.u(Sf,{yG:"transactionToUndo"},function(){return 0<=this.qj&&this.qj<=this.history.count-1?this.history.da(this.qj):null}); +Sf.prototype.skipsEvent=function(a){if(null===a||0>a.zc.value)return!0;a=a.object;if(a instanceof G){if(a=a.layer,null!==a&&a.Mc)return!0}else if(a instanceof qg&&a.Mc)return!0;return!1};w.u(Sf,{XI:"models"},function(){return this.uz.i});w.defineProperty(Sf,{isEnabled:"isEnabled"},function(){return this.hf},function(a){this.hf=a});w.u(Sf,{yG:"transactionToUndo"},function(){return 0<=this.qj&&this.qj<=this.history.count-1?this.history.da(this.qj):null}); w.u(Sf,{xG:"transactionToRedo"},function(){return this.qje||Math.abs(b.y-a.y)>d};w.u(rg,{g:"diagram"},function(){return this.fa});w.defineProperty(rg,{name:"name"},function(){return this.Sb},function(a){w.j(a,"string",rg,"name");this.Sb=a}); -w.defineProperty(rg,{isEnabled:"isEnabled"},function(){return this.gf},function(a){w.j(a,"boolean",rg,"isEnabled");this.gf=a});w.defineProperty(rg,{sa:"isActive"},function(){return this.PC},function(a){w.j(a,"boolean",rg,"isActive");this.PC=a});w.defineProperty(rg,{Kf:"transactionResult"},function(){return this.$D},function(a){null!==a&&w.j(a,"string",rg,"transactionResult");this.$D=a}); +rg.prototype.isBeyondDragSize=function(a,b){var c=this.g;if(null===c)return!1;void 0===a&&(a=c.Ac.ff);void 0===b&&(b=c.R.ff);var d=c.fb.NH,e=d.width,d=d.height;c.Ac.uj&&(e+=6,d+=6);return Math.abs(b.x-a.x)>e||Math.abs(b.y-a.y)>d};w.u(rg,{g:"diagram"},function(){return this.fa});w.defineProperty(rg,{name:"name"},function(){return this.Sb},function(a){w.j(a,"string",rg,"name");this.Sb=a}); +w.defineProperty(rg,{isEnabled:"isEnabled"},function(){return this.hf},function(a){w.j(a,"boolean",rg,"isEnabled");this.hf=a});w.defineProperty(rg,{sa:"isActive"},function(){return this.PC},function(a){w.j(a,"boolean",rg,"isActive");this.PC=a});w.defineProperty(rg,{Kf:"transactionResult"},function(){return this.$D},function(a){null!==a&&w.j(a,"string",rg,"transactionResult");this.$D=a}); function oh(){rg.call(this);0c.qa)){var d=a.g;if(null!==d&&!d.ib){var e=a.$i;if(null!==e){var f=null,h=null;null===c.Y&&(f=Ni(a,c.l(0),!1),null!==f&&(h=f.U));var k=null,l=null;null===c.Z&&(k=Ni(a,c.l(c.qa-1),!0),null!==k&&(l=k.U));e.isValidLink(h,f,l,k)?b?(c.Kp=c.l(0),c.Lp=c.l(c.qa-1),c.Ej=!1,c.Y=h,null!==f&&(c.Og=f.Ud),c.Z=l,null!==k&&(c.Hh=k.Ud),c.Bc!==a.hw&&d.Aa("LinkRelinked",c,a.hw),c.cd!==a.iw&&d.Aa("LinkRelinked",c,a.iw)):Oi(e,h,f,l,k):Oi(e,null,null,null,null)}}}} @@ -541,14 +541,14 @@ oh.prototype.doSimulatedDragOver=function(){var a=this.g;if(null!==a){var b=Sh;n oh.prototype.doSimulatedDrop=function(){var a=this.g;if(null!==a){var b=Sh;if(null!==b){var c=b.g;b.or=!0;ci(this);this.mayDragIn()&&(this.Hb("Drop"),Si(this,b.$b.Gj(),!0),Ei(this,this.dc,!1),null!==this.dc&&a.hG(this.dc.Gj()),Pi(this,a.R.ca),a.Dc(),b=a.selection,null!==this.dc?this.Kf="ExternalCopy":b=new I(R),this.dc=null,a.doFocus(),a.Aa("ExternalObjectsDropped",b,c),this.Nk())}}}; function Si(a,b,c){if(null===a.dc){var d=a.g;if(null!==d&&!d.ib&&!d.Cf){d.cb=!c;d.Dq=!c;a.Mk=d.R.ca;c=d.Jp(b,d,!0);var e=w.If();Ci(b,e);var d=e.x+e.width/2,f=e.y+e.height/2;w.Db(e);var e=a.Cw,h=new ma(R),k=w.K();for(b=b.i;b.next();){var l=b.value,m=c.ka(l);l.ee()&&l.canCopy()?(l=l.location,k.m(e.x-(d-l.x),e.y-(f-l.y)),m.location=k,m.Je(),h.add(m,Wh(a,k))):l instanceof W&&l.canCopy()&&(m.Jk(e.x-d,e.y-f),h.add(m,Wh(a)))}w.v(k);a.dc=h;Qh(a,h.Gj());null!==a.kd&&(c=a.kd,d=c.Vn,c.Jk(a.Mk.x-(d.x+d.width/ 2),a.Mk.y-(d.y+d.height/2)))}}}oh.prototype.doSimulatedDragOut=function(){var a=this.g;null!==a&&(this.mayCopy()||this.mayMove()?a.ec="":a.ec="no-drop")};function Xh(a){this.point=a;this.mG=dd}w.ga("DraggingInfo",Xh);function Fi(a,b,c){this.Pc=a;this.info=b;this.eI=c} -function Ti(){0=d&&(d=.1);for(var e=this,f=b.wn(c,d,function(b){return e.findValidLinkablePort(b,a)},null,!0),d=Infinity,b=null,f=f.i;f.next();){var h=f.value,k=h.U;if(k instanceof T){var l=h.Wa(Jb,w.K()),m=c.x-l.x,n=c.y-l.y;w.v(l);l=m*m+n*n;lc){if(null!==this.lc&&a===this.Sg&&b===this.Tg)return!0;var d=b.Ud;null===d&&(d="");if(a.ox(d).count>=c)return!1}return!0}; @@ -595,7 +595,7 @@ f.y),c++,d++):b.ba(d-1,a.x,f.y),J(h.y,b.l(d+2).y)&&!J(h.x,b.l(d+2).x)?b.w(d+1,h. (d=f.Wa(Jb,w.K()),e=b.getLinkPointFromPoint(e,f,d,a,!1,w.K()),b.ba(b.qa-1,e.x,e.y),w.v(d),w.v(e));b.jj()};mj.prototype.computeReshape=function(a){var b=this.At,c=this.handle.Oe;switch(this.$E(this.handle)){case Ij:return a;case Hj:return b=b.l(c),new z(b.x,a.y);case oj:return b=b.l(c),new z(a.x,b.y);default:case nj:return b.l(c)}};w.u(mj,{zL:"originalPoint"},function(){return this.cp});w.u(mj,{AL:"originalPoints"},function(){return this.kw}); function Lj(){0=c.x)d=0>=c.y?d+225:1<=c.y?d+135:d+180;else if(1<=c.x)0>=c.y?d+=315:1<=c.y&&(d+=45);else if(0>=c.y)d+=270;else if(1<=c.y)d+=90;else break a;0>d?d+=360:360<=d&&(d-=360);a.cursor=22.5>d?"e-resize":67.5>d?"se-resize":112.5>d?"s-resize":157.5>d?"sw-resize":202.5>d?"w-resize":247.5>d?"nw-resize":292.5>d?"n-resize":337.5>d? "ne-resize":"e-resize"}else if(a instanceof C)for(c=a.elements;c.next();)this.updateResizeHandles(c.value,b)};w.defineProperty(Lj,{$t:"handleArchetype"},function(){return this.gl},function(a){null!==a&&w.G(a,G,Lj,"handleArchetype");this.gl=a});w.u(Lj,{handle:"handle"},function(){return this.hc});w.defineProperty(Lj,{tb:"adornedObject"},function(){return this.Gc},function(a){null!==a&&w.G(a,G,Lj,"adornedObject");this.Gc=a}); @@ -614,7 +614,7 @@ Lj.prototype.computeCellSize=function(){var a=new ia(NaN,NaN),b=this.tb.U;if(nul w.defineProperty(Lj,{ri:"minSize"},function(){return this.Xh},function(a){w.G(a,ia,Lj,"minSize");if(!this.Xh.L(a)){var b=a.width;isNaN(b)&&(b=0);a=a.height;isNaN(a)&&(a=0);this.Xh.m(b,a)}});w.defineProperty(Lj,{Ff:"maxSize"},function(){return this.Wh},function(a){w.G(a,ia,Lj,"maxSize");if(!this.Wh.L(a)){var b=a.width;isNaN(b)&&(b=Infinity);a=a.height;isNaN(a)&&(a=Infinity);this.Wh.m(b,a)}}); w.defineProperty(Lj,{Dp:"cellSize"},function(){return this.Kj},function(a){w.G(a,ia,Lj,"cellSize");this.Kj.L(a)||this.Kj.assign(a)});w.defineProperty(Lj,{hu:"isGridSnapEnabled"},function(){return this.Ir},function(a){w.j(a,"boolean",Lj,"isGridSnapEnabled");this.Ir=a});w.u(Lj,{NF:"originalDesiredSize"},function(){return this.pD});w.u(Lj,{eJ:"originalLocation"},function(){return this.uD}); function Sj(){0e.right&&(c.x-=d.width+5);c.xe.bottom&&(c.y-=d.height+5);c.ye.right&&(c.x-=d.width+5);c.xe.bottom?c.y-(d.height+5):c.y+20;c.ya?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b}w.u(Xg,{wK:"animationReasons"},function(){return this.fv}); -Xg.prototype.canStart=function(){return!0};Xg.prototype.prepareAutomaticAnimation=Xg.prototype.Tn=function(a){this.gf&&(this.ll||this.fa.Gn)&&(this.fv.add(a),this.canStart(a)&&(this.Yj&&this.Gh(),this.qc=!0))};function Rk(a){if(a.gf&&(a.fv.clear(),a.qc))if(!a.ko)a.qc=!1;else if(0===a.tm){var b=+new Date;a.tm=b;requestAnimationFrame(function(){if(!1!==a.qc&&!a.Yj&&a.tm===b){var c=a.fa;c.pj("temporaryPixelRatio")&&(c.lk=1);Sk(c);a.qc=!1;c.Aa("AnimationStarting");Tk(a,b)}})}} +function Xg(){this.rC=Dk;this.ir=this.jr=this.fa=null;this.tm=this.kr=this.lr=0;this.ko=this.qc=this.Po=this.Yj=!1;this.ll=this.hf=!0;this.qv=this.pv=this.mC=null;this.lC=0;this.rv=null;this.fv=new I("string");this.Yy=600;this.SG=new z(0,0);this.$B=this.ZB=this.aE=!1;this.Sm=new ma(G,Ek)}w.ga("AnimationManager",Xg);Xg.prototype.Rc=function(a){this.fa=a};function Dk(a,b,c,d){a/=d/2;return 1>a?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b}w.u(Xg,{wK:"animationReasons"},function(){return this.fv}); +Xg.prototype.canStart=function(){return!0};Xg.prototype.prepareAutomaticAnimation=Xg.prototype.Tn=function(a){this.hf&&(this.ll||this.fa.Gn)&&(this.fv.add(a),this.canStart(a)&&(this.Yj&&this.Gh(),this.qc=!0))};function Rk(a){if(a.hf&&(a.fv.clear(),a.qc))if(!a.ko)a.qc=!1;else if(0===a.tm){var b=+new Date;a.tm=b;requestAnimationFrame(function(){if(!1!==a.qc&&!a.Yj&&a.tm===b){var c=a.fa;c.pj("temporaryPixelRatio")&&(c.lk=1);Sk(c);a.qc=!1;c.Aa("AnimationStarting");Tk(a,b)}})}} function Uk(a,b,c,d,e,f){if(!(!a.qc||"position"===c&&d.L(e)||b instanceof R&&!b.mF)){var h=a.Sm;if(h.contains(b)){var h=h.ka(b),k=h.start,l=h.end;void 0===k[c]&&(k[c]=Zk(d));h.ax&&void 0!==l[c]?h.Lt[c]=Zk(e):(f||(h.Lt[c]=Zk(e)),l[c]=Zk(e));f&&0===c.indexOf("position:")&&b instanceof R&&(h.Lt.location=Zk(b.location))}else k=new ra,l=new ra,k[c]=Zk(d),l[c]=Zk(e),d=l,e=k.position,e instanceof z&&!e.I()&&a.fv.contains("Expand SubGraph")&&e.assign(d.position),k=new Ek(k,l,f),f&&0===c.indexOf("position:")&& b instanceof R&&(k.Lt.location=Zk(b.location)),h.add(b,k);a.ko=!0}}function Zk(a){return a instanceof z?a.copy():a instanceof ia?a.copy():a} function Tk(a,b){var c;function d(){if(!1!==f.Yj&&f.tm===b){var a=+new Date,c=a>s?m:a-r;$k(f);al(f,e,q,h,c,m);f.pv&&f.pv();Ri(e);bl(f);a>s?cl(f):requestAnimationFrame(d)}}void 0===c&&(c=new ra);var e=a.fa;if(null!==e){a.Yj=!0;var f=a,h=c.XK||a.rC,k=c.wL||null,l=c.xL||null,m=c.duration||a.Yy,n=a.SG;for(c=a.Sm.i;c.next();){var p=c.value.start.position;p instanceof z&&(p.I()||p.assign(n))}a.mC=h;a.pv=k;a.qv=l;a.lC=m;a.rv=a.Sm;var q=a.rv;for(c=q.i;c.next();)k=c.value.end,k["position:placeholder"]&&(l= k["position:placeholder"],n=l.Wa(Ab),n.x+=l.padding.left,n.y+=l.padding.top,k["position:placeholder"]=n);$k(a);al(a,e,q,h,0,m);Ri(a.fa);bl(a);var r=+new Date,s=r+m;f.tm===b&&requestAnimationFrame(function(){d()})}}function $k(a){if(!a.Po){var b=a.fa;a.aE=b.cb;a.ZB=b.Pe;a.$B=b.Pu;b.cb=!0;b.Pe=!0;b.Pu=!0;a.Po=!0}}function bl(a){var b=a.fa;b.cb=a.aE;b.Pe=a.ZB;b.Pu=a.$B;a.Po=!1} function al(a,b,c,d,e,f){for(c=c.i;c.next();){var h=c.key,k=c.value,l=k.start,k=k.end,m;for(m in k)if(("position"!==m||!k["position:placeholder"]&&!k["position:node"])&&void 0!==dl[m])dl[m](h,l[m],k[m],d,e,f)}d=b.CA;b.CA=!0;m=a.rC;0!==a.lr&&0!==a.kr&&(c=a.lr,b.vb=m(e,c,a.kr-c,f));null!==a.jr&&null!==a.ir&&(c=a.jr,a=a.ir,b.kb=new z(m(e,c.x,a.x-c.x,f),m(e,c.y,a.y-c.y,f)));b.CA=d} -Xg.prototype.stopAnimation=Xg.prototype.Gh=function(){!0===this.qc&&(this.qc=!1,this.tm=0,this.ko&&this.fa.Ne());this.Yj&&this.gf&&cl(this)}; +Xg.prototype.stopAnimation=Xg.prototype.Gh=function(){!0===this.qc&&(this.qc=!1,this.tm=0,this.ko&&this.fa.Ne());this.Yj&&this.hf&&cl(this)}; function cl(a){a.Yj=!1;a.ko=!1;$k(a);for(var b=a.fa,c=a.mC,d=a.lC,e=a.rv.i;e.next();){var f=e.key,h=e.value,k=h.start,l=h.end,m=h.Lt,n;for(n in l)if(void 0!==dl[n]){var p=n;!h.ax||"position:node"!==p&&"position:placeholder"!==p||(p="position");dl[p](f,k[n],void 0!==m[n]?m[n]:h.ax?k[n]:l[n],c,d,d)}h.ax&&void 0!==m.location&&f instanceof R&&(f.location=m.location);h.Yx&&f instanceof R&&f.yd(!1)}for(c=a.fa.links;c.next();)d=c.value,null!==d.hp&&(d.points=d.hp,d.hp=null);b.Lx.clear();b.lk=null;b.Dc(); b.oa();b.cg();el(b);bl(a);a.qv&&a.qv();a.tm=0;a.rv=null;a.qv=null;a.pv=null;a.jr=null;a.ir=null;a.lr=0;a.kr=0;a.Sm=new ma(G,Ek);b.Aa("AnimationFinished");b.Ne()} function fl(a,b,c){var d=b.W,e=c.W,f=null;c instanceof V&&(f=c.placeholder);null!==f?(d=f.Wa(Ab),d.x+=f.padding.left,d.y+=f.padding.top,Uk(a,b,"position",d,b.position,!1)):Uk(a,b,"position",new z(e.x+e.width/2-d.width/2,e.y+e.height/2-d.height/2),b.position,!1);Uk(a,b,"scale",.01,b.scale,!1);if(b instanceof V)for(b=b.Oc;b.next();)f=b.value,f instanceof T&&fl(a,f,c)} function gl(a,b,c){if(b.isVisible()){var d=null;c instanceof V&&(d=c.placeholder);null!==d?Uk(a,b,"position:placeholder",b.position,d,!0):Uk(a,b,"position:node",b.position,c,!0);Uk(a,b,"scale",b.scale,.01,!0);a.qc&&(d=a.Sm,d.contains(b)&&(d.ka(b).Yx=!0));if(b instanceof V)for(b=b.Oc;b.next();)d=b.value,d instanceof T&&gl(a,d,c)}}function hl(a,b,c){a.qc&&(null===a.jr&&b.I()&&null===a.ir&&(a.jr=b.copy()),a.ir=c.copy(),a.ko=!0)} -function il(a,b,c){a.qc&&a.fa.Gn&&(0===a.lr&&0===a.kr&&(a.lr=b),a.kr=c,a.ko=!0)}w.defineProperty(Xg,{isEnabled:"isEnabled"},function(){return this.gf},function(a){w.j(a,"boolean",Xg,"isEnabled");this.gf=a});w.defineProperty(Xg,{duration:"duration"},function(){return this.Yy},function(a){w.j(a,"number",Xg,"duration");1>a&&w.Fa(a,">= 1",Xg,"duration");this.Yy=a});w.u(Xg,{pf:"isAnimating"},function(){return this.Yj});w.u(Xg,{BI:"isTicking"},function(){return this.Po}); +function il(a,b,c){a.qc&&a.fa.Gn&&(0===a.lr&&0===a.kr&&(a.lr=b),a.kr=c,a.ko=!0)}w.defineProperty(Xg,{isEnabled:"isEnabled"},function(){return this.hf},function(a){w.j(a,"boolean",Xg,"isEnabled");this.hf=a});w.defineProperty(Xg,{duration:"duration"},function(){return this.Yy},function(a){w.j(a,"number",Xg,"duration");1>a&&w.Fa(a,">= 1",Xg,"duration");this.Yy=a});w.u(Xg,{qf:"isAnimating"},function(){return this.Yj});w.u(Xg,{BI:"isTicking"},function(){return this.Po}); w.defineProperty(Xg,{uF:"isInitial"},function(){return this.ll},function(a){w.j(a,"boolean",Xg,"isInitial");this.ll=a});function Ek(a,b,c){this.start=a;this.end=b;this.Lt=new ra;this.ax=c;this.Yx=!1} var dl={opacity:function(a,b,c,d,e,f){a.opacity=d(e,b,c-b,f)},position:function(a,b,c,d,e,f){e!==f?a.my(d(e,b.x,c.x-b.x,f),d(e,b.y,c.y-b.y,f)):a.position=new z(d(e,b.x,c.x-b.x,f),d(e,b.y,c.y-b.y,f))},"position:node":function(a,b,c,d,e,f){var h=a.W,k=c.W;c=k.x+k.width/2-h.width/2;h=k.y+k.height/2-h.height/2;e!==f?a.my(d(e,b.x,c-b.x,f),d(e,b.y,h-b.y,f)):a.position=new z(d(e,b.x,c-b.x,f),d(e,b.y,h-b.y,f))},"position:placeholder":function(a,b,c,d,e,f){e!==f?a.my(d(e,b.x,c.x-b.x,f),d(e,b.y,c.y-b.y,f)): a.position=new z(d(e,b.x,c.x-b.x,f),d(e,b.y,c.y-b.y,f))},scale:function(a,b,c,d,e,f){a.scale=d(e,b,c-b,f)},visible:function(a,b,c,d,e,f){a.visible=e!==f?b:c}};function qg(){0=d.count)a=d.count;else if(d.da(a)===b)return-1;d.Qd(a,b);b.au(c);d=this.g;null!==d&&(c?d.oa():d.Wp(b));ol(this,a,b);return a}; -g.of=function(a,b,c){if(!c&&b.layer!==this&&null!==b.layer)return b.layer.of(a,b,c);var d=this.zb;if(0>a||a>=d.length){if(a=d.indexOf(b),0>a)return-1}else if(d.da(a)!==b&&(a=d.indexOf(b),0>a))return-1;b.bu(c);d.bd(a);d=this.g;null!==d&&(c?d.oa():d.of(b));b.Vv=null;return a}; +g.pf=function(a,b,c){if(!c&&b.layer!==this&&null!==b.layer)return b.layer.pf(a,b,c);var d=this.zb;if(0>a||a>=d.length){if(a=d.indexOf(b),0>a)return-1}else if(d.da(a)!==b&&(a=d.indexOf(b),0>a))return-1;b.bu(c);d.bd(a);d=this.g;null!==d&&(c?d.oa():d.pf(b));b.Vv=null;return a}; function ol(a,b,c){b=pl(a,b,c);if(c instanceof V&&null!==c&&isNaN(c.eo)){if(0!==c.Oc.count){for(var d=-1,e=a.zb.n,f=e.length,h=0;hd&&k.Da===c&&(d=h,0<=b))break}!(0>d)&&d=e)return b;0>b&&(b=a.indexOf(c));if(0>b)return-1;for(var f=b-1,h=NaN;0<=f;){h=a.da(f).eo;if(!isNaN(h))break;f--}for(var k=b+1,l=NaN;kd)for(;;){if(-1===f||h<=d){f++;if(f===b)break;a.bd(b);a.Qd(f,c);return f}for(h=NaN;0<=--f&&(h=a.da(f).eo,isNaN(h)););}else if(!isNaN(l)&&l=d){k--;if(k===b)break;a.bd(b);a.Qd(k,c);return k}for(l=NaN;++ka||1parseInt(e[1],10)&&(w.trace("Warning: You have entered a license key for GoJS version 1.7 or later, but this library is version "+ w.vfo+". This license key will do nothing until you upgrade to GoJS 1.7 or later."),w.ix.licenseKey=!0);this.ql=1;this.Jm=0;this.cD=new z;this.ZD=500;this.gv=new z;this.bt=null;this.nl=!1;this.preventDefault=this.Xx=this.PF=this.QF=this.OF=this.Pn=this.Rg=this.Qn=this.Nn=this.On=this.GB=this.yB=this.zB=this.AB=this.zl=this.Ps=this.yl=this.Os=null;this.Pv=!1;this.il=new Cl;void 0!==a&&Dl(this,a);this.Tc=!1}w.ga("Diagram",D); D.prototype.clear=D.prototype.clear=function(){var a=null;null!==this.rd&&(a=this.rd.U);this.$.clear();for(var b=this.cc.length,c=0;c=a)return b;for(var c=this.cc.i;c.next();)b+="\n "+c.value.toString(a-1);return b};D.fromDiv=function(a){var b=a;"string"===typeof a&&(b=window.document.getElementById(a));return b instanceof HTMLDivElement&&b.fa instanceof D?b.fa:null}; -w.defineProperty(D,{mj:"div"},function(){return this.Nb},function(a){null!==a&&w.G(a,HTMLDivElement,D,"div");if(this.Nb!==a){rl=[];var b=this.Nb;null!==b?(b.fa=void 0,b.innerHTML="",null!==this.Fb&&(this.Fb.removeEventListener("touchstart",this.AB,!1),this.Fb.removeEventListener("touchmove",this.zB,!1),this.Fb.removeEventListener("touchend",this.yB,!1),this.Fb.Kd.fa=null),b=this.fb,null!==b&&(b.df.each(function(a){a.cancelWaitAfter()}),b.dg.each(function(a){a.cancelWaitAfter()}),b.eg.each(function(a){a.cancelWaitAfter()})), -b.cancelWaitAfter(),this.$a.doCancel(),this.ff=this.Fb=null,window.removeEventListener("resize",this.GB,!1),window.removeEventListener("mousemove",this.On,!0),window.removeEventListener("mousedown",this.Nn,!0),window.removeEventListener("mouseup",this.Qn,!0),window.removeEventListener("mousewheel",this.Rg,!0),window.removeEventListener("DOMMouseScroll",this.Rg,!0),window.removeEventListener("mouseout",this.Pn,!0)):this.gh=!1;this.Nb=null;if(null!==a){if(b=a.fa)b.mj=null;Dl(this,a);this.Cu()}}}); +w.defineProperty(D,{mj:"div"},function(){return this.Nb},function(a){null!==a&&w.G(a,HTMLDivElement,D,"div");if(this.Nb!==a){rl=[];var b=this.Nb;null!==b?(b.fa=void 0,b.innerHTML="",null!==this.Fb&&(this.Fb.removeEventListener("touchstart",this.AB,!1),this.Fb.removeEventListener("touchmove",this.zB,!1),this.Fb.removeEventListener("touchend",this.yB,!1),this.Fb.Kd.fa=null),b=this.fb,null!==b&&(b.ef.each(function(a){a.cancelWaitAfter()}),b.dg.each(function(a){a.cancelWaitAfter()}),b.eg.each(function(a){a.cancelWaitAfter()})), +b.cancelWaitAfter(),this.$a.doCancel(),this.gf=this.Fb=null,window.removeEventListener("resize",this.GB,!1),window.removeEventListener("mousemove",this.On,!0),window.removeEventListener("mousedown",this.Nn,!0),window.removeEventListener("mouseup",this.Qn,!0),window.removeEventListener("mousewheel",this.Rg,!0),window.removeEventListener("DOMMouseScroll",this.Rg,!0),window.removeEventListener("mouseout",this.Pn,!0)):this.gh=!1;this.Nb=null;if(null!==a){if(b=a.fa)b.mj=null;Dl(this,a);this.Cu()}}}); function Gl(a){var b=a.Fb;b.addEventListener("touchstart",a.AB,!1);b.addEventListener("touchmove",a.zB,!1);b.addEventListener("touchend",a.yB,!1);b.addEventListener("mousemove",a.On,!1);b.addEventListener("mousedown",a.Nn,!1);b.addEventListener("mouseup",a.Qn,!1);b.addEventListener("mousewheel",a.Rg,!1);b.addEventListener("DOMMouseScroll",a.Rg,!1);b.addEventListener("mouseout",a.Pn,!1);b.addEventListener("keydown",a.DI,!1);b.addEventListener("keyup",a.EI,!1);b.addEventListener("selectstart",function(a){a.preventDefault(); return!1},!1);b.addEventListener("contextmenu",function(a){a.preventDefault();return!1},!1);b.addEventListener("gesturechange",function(b){a.fb.Tp===zk&&b.preventDefault()},!1);b.addEventListener("pointerdown",a.OF,!1);b.addEventListener("pointermove",a.QF,!1);b.addEventListener("pointerleave",a.PF,!1);window.addEventListener("resize",a.GB,!1)} -D.prototype.computePixelRatio=function(){if(null!==this.lk)return this.lk;var a=this.ff;return(window.devicePixelRatio||1)/(a.ua.webkitBackingStorePixelRatio||a.ua.mozBackingStorePixelRatio||a.ua.msBackingStorePixelRatio||a.ua.oBackingStorePixelRatio||a.ua.backingStorePixelRatio||1)};D.prototype.doMouseMove=function(){this.$a.doMouseMove()};D.prototype.doMouseDown=function(){this.$a.doMouseDown()};D.prototype.doMouseUp=function(){this.$a.doMouseUp()};D.prototype.doMouseWheel=function(){this.$a.doMouseWheel()}; +D.prototype.computePixelRatio=function(){if(null!==this.lk)return this.lk;var a=this.gf;return(window.devicePixelRatio||1)/(a.ua.webkitBackingStorePixelRatio||a.ua.mozBackingStorePixelRatio||a.ua.msBackingStorePixelRatio||a.ua.oBackingStorePixelRatio||a.ua.backingStorePixelRatio||1)};D.prototype.doMouseMove=function(){this.$a.doMouseMove()};D.prototype.doMouseDown=function(){this.$a.doMouseDown()};D.prototype.doMouseUp=function(){this.$a.doMouseUp()};D.prototype.doMouseWheel=function(){this.$a.doMouseWheel()}; D.prototype.doKeyDown=function(){this.$a.doKeyDown()};D.prototype.doKeyUp=function(){this.$a.doKeyUp()};D.prototype.doFocus=function(){this.focus()};D.prototype.focus=D.prototype.focus=function(){this.Fb&&this.Fb.focus()}; function Sk(a){if(null!==a.Fb){var b=a.Nb;if(0!==b.clientWidth&&0!==b.clientHeight){var c=a.hl?a.Hd:0,d=a.Wj?a.Hd:0,e=a.Ed;a.Ed=a.computePixelRatio();a.Ed!==e&&(a.Gr=!0,a.Ne());if(b.clientWidth!==a.Jb+c||b.clientHeight!==a.Mb+d)a.Em=!0,a.Ce=!0,b=a.Tb,null!==b&&b.Ex&&a.Ll===Ih&&b.J(),a.$d||a.Ne()}}} function Al(a){var b=new qg;b.name="Background";a.wt(b);b=new qg;b.name="";a.wt(b);b=new qg;b.name="Foreground";a.wt(b);b=new qg;b.name="Adornment";b.Mc=!0;a.wt(b);b=new qg;b.name="Tool";b.Mc=!0;b.nF=!0;a.wt(b);b=new qg;b.name="Grid";b.zf=!1;b.Wg=!1;b.Mc=!0;a.eH(b,a.Nt("Background"))} @@ -762,7 +762,7 @@ this.oe&&this.Dz!==u&&(s.x=u/c+e,this.Dz=u),this.pe&&this.Ez!==a.scrollTop&&(s.y this.Em=this.tw=!1,b=this.se,c=this.rb,l=b.right,q=c.right,d=b.bottom,r=c.bottom,e=b.x,m=c.x,f=b.y,b=c.y,n>=h&&e>=m&&l<=q&&(this.Ts.style.width="1px"),p>=k&&f>=b&&d<=r&&(this.Ts.style.height="1px"))}};D.prototype.computeBounds=D.prototype.uh=function(){0c&&(e=c),ea.zh&&(e=a.zh),e):b===Tl?(e=l>k?(h-a.Hd)/d:(f-a.Hd)/e,e>c&&(e=c),ea.zh&&(e=a.zh),e):a.scale}D.prototype.zoomToFit=D.prototype.zoomToFit=function(){this.scale=Pl(this,Sl)}; D.prototype.zoomToRect=function(a,b){void 0===b&&(b=Sl);var c=a.width,d=a.height;if(!(0===c||0===d||isNaN(c)&&isNaN(d))){var e=1;if(b===Sl||b===Tl)if(isNaN(c))e=this.rb.height*this.scale/d;else if(isNaN(d))e=this.rb.width*this.scale/c;else var e=this.Jb,f=this.Mb,e=b===Tl?f/d>e/c?(f-(this.Wj?this.Hd:0))/d:(e-(this.hl?this.Hd:0))/c:Math.min(f/d,e/c);this.scale=e;this.position=new z(a.x,a.y)}};w.defineProperty(D,{CA:null},function(){return this.Tc},function(a){this.Tc=a}); D.prototype.alignDocument=function(a,b){this.Xj&&Rl(this,this.uh());var c=this.se,d=this.rb;this.position=new z(c.x+(a.x*c.width+a.offsetX)-(b.x*d.width-b.offsetX),c.y+(a.y*c.height+a.offsetY)-(b.y*d.height-b.offsetY))}; @@ -772,31 +772,31 @@ D.prototype.findObjectAt=D.prototype.Le=function(a,b,c){void 0===b&&(b=null);voi D.prototype.findObjectsAt=D.prototype.Ot=function(a,b,c,d){void 0===b&&(b=null);void 0===c&&(c=null);d instanceof H||d instanceof I||(d=new I(G));Hi(this);for(var e=this.cc.Hn;e.next();){var f=e.value;f.visible&&f.Ot(a,b,c,d)}return d};D.prototype.findObjectsIn=D.prototype.Ak=function(a,b,c,d,e){void 0===b&&(b=null);void 0===c&&(c=null);void 0===d&&(d=!1);e instanceof H||e instanceof I||(e=new I(G));Hi(this);for(var f=this.cc.Hn;f.next();){var h=f.value;h.visible&&h.Ak(a,b,c,d,e)}return e}; D.prototype.mA=function(a,b,c,d,e,f){var h=new I(G);Hi(this);for(var k=this.cc.Hn;k.next();){var l=k.value;l.visible&&l.mA(a,b,c,d,h,e,f)}return h};D.prototype.findObjectsNear=D.prototype.wn=function(a,b,c,d,e,f){void 0===c&&(c=null);void 0===d&&(d=null);void 0===e&&(e=!0);if(!1!==e&&!0!==e){if(e instanceof H||e instanceof I)f=e;e=!0}f instanceof H||f instanceof I||(f=new I(G));Hi(this);for(var h=this.cc.Hn;h.next();){var k=h.value;k.visible&&k.wn(a,b,c,d,e,f)}return f}; D.prototype.acceptEvent=function(a){var b=this.Vc;this.Vc=this.Rb;this.Rb=b;Ul(this,this,a,b,a instanceof MouseEvent);return b}; -function Ul(a,b,c,d,e){d.g=b;d.event=c;e?Vl(a,c,d):(d.ef=b.Rb.ef,d.ca=b.Rb.ca);a=0;c.ctrlKey&&(a+=1);c.altKey&&(a+=2);c.shiftKey&&(a+=4);c.metaKey&&(a+=8);d.zd=a;d.button=c.button;void 0===c.buttons||w.uI||(d.buttons=c.buttons);w.Hk&&0===c.button&&c.ctrlKey&&(d.button=2);d.Tl=!1;d.up=!1;d.Ge=1;d.Sl=0;d.Cc=!1;d.bubbles=!1;d.timestamp=Date.now();d.ju=!1;d.Yg=Wl(c);d.Re=null} +function Ul(a,b,c,d,e){d.g=b;d.event=c;e?Vl(a,c,d):(d.ff=b.Rb.ff,d.ca=b.Rb.ca);a=0;c.ctrlKey&&(a+=1);c.altKey&&(a+=2);c.shiftKey&&(a+=4);c.metaKey&&(a+=8);d.zd=a;d.button=c.button;void 0===c.buttons||w.uI||(d.buttons=c.buttons);w.Hk&&0===c.button&&c.ctrlKey&&(d.button=2);d.Tl=!1;d.up=!1;d.Ge=1;d.Sl=0;d.Cc=!1;d.bubbles=!1;d.timestamp=Date.now();d.ju=!1;d.Yg=Wl(c);d.Re=null} function Wl(a){var b=a.target.fa;if(!b){var c=a.path;c||"function"!==typeof a.uH||(c=a.uH());c&&c[0]&&(b=c[0].fa)}return b?b:null}function Xl(a,b,c,d,e){d.g=a;Vl(a,c,d);d.zd=0;d.button=0;d.buttons=1;d.Tl=!0;d.up=!1;d.Ge=1;d.Sl=0;d.Cc=!1;d.bubbles=!0;d.event=b;d.timestamp=Date.now();d.ju=e;d.Yg=Wl(b);d.Re=null;a.Ki=d.copy();Sh=null} -function Yl(a,b,c,d,e){var f=null;d.g=a;null!==c?((f=window.document.elementFromPoint(c.clientX,c.clientY))&&f.fa?f=f.fa:(c=b instanceof TouchEvent?b.targetTouches[0]:b,f=a),d.Yg=f,Vl(a,c,d)):null!==a.Vc?(d.ca=a.Vc.ca,d.ef=a.Vc.ef,d.Yg=a.Vc.Yg):null!==a.Ki&&(d.ca=a.Ki.ca,d.ef=a.Ki.ef,d.Yg=a.Ki.Yg);d.zd=0;d.button=0;d.buttons=1;d.Tl=!1;d.up=!1;d.Ge=1;d.Sl=0;d.Cc=!1;d.bubbles=!1;d.event=b;d.timestamp=Date.now();d.ju=e;d.Re=null} +function Yl(a,b,c,d,e){var f=null;d.g=a;null!==c?((f=window.document.elementFromPoint(c.clientX,c.clientY))&&f.fa?f=f.fa:(c=b instanceof TouchEvent?b.targetTouches[0]:b,f=a),d.Yg=f,Vl(a,c,d)):null!==a.Vc?(d.ca=a.Vc.ca,d.ff=a.Vc.ff,d.Yg=a.Vc.Yg):null!==a.Ki&&(d.ca=a.Ki.ca,d.ff=a.Ki.ff,d.Yg=a.Ki.Yg);d.zd=0;d.button=0;d.buttons=1;d.Tl=!1;d.up=!1;d.Ge=1;d.Sl=0;d.Cc=!1;d.bubbles=!1;d.event=b;d.timestamp=Date.now();d.ju=e;d.Re=null} function Zl(a,b){if(a.bubbles)return!0;void 0!==b.stopPropagation&&b.stopPropagation();b.preventDefault();b.cancelBubble=!0;return!1} D.prototype.DI=function(a){if(!this.fa.isEnabled)return!1;var b=this.fa.Rb;Ul(this.fa,this.fa,a,b,!1);b.key=String.fromCharCode(a.which);b.Tl=!0;switch(a.which){case 8:b.key="Backspace";break;case 33:b.key="PageUp";break;case 34:b.key="PageDown";break;case 35:b.key="End";break;case 36:b.key="Home";break;case 37:b.key="Left";break;case 38:b.key="Up";break;case 39:b.key="Right";break;case 40:b.key="Down";break;case 45:b.key="Insert";break;case 46:b.key="Del";break;case 48:b.key="0";break;case 187:case 61:case 107:b.key= "Add";break;case 189:case 173:case 109:b.key="Subtract";break;case 27:b.key="Esc"}this.fa.doKeyDown();return Zl(b,a)}; D.prototype.EI=function(a){if(!this.fa.isEnabled)return!1;var b=this.fa.Rb;Ul(this.fa,this.fa,a,b,!1);b.key=String.fromCharCode(a.which);b.up=!0;switch(a.which){case 8:b.key="Backspace";break;case 33:b.key="PageUp";break;case 34:b.key="PageDown";break;case 35:b.key="End";break;case 36:b.key="Home";break;case 37:b.key="Left";break;case 38:b.key="Up";break;case 39:b.key="Right";break;case 40:b.key="Down";break;case 45:b.key="Insert";break;case 46:b.key="Del"}this.fa.doKeyUp();return Zl(b,a)}; -D.prototype.yr=function(a){var b=this.Fb;if(null===b)return new z(0,0);var c=this.Jb,d=this.Mb,b=b.getBoundingClientRect(),c=a.clientX-c/b.width*b.left;a=a.clientY-d/b.height*b.top;return null!==this.jd?(a=new z(c,a),Pa(a,this.jd),a):new z(c,a)};function Vl(a,b,c){var d=a.Fb,e=a.Jb,f=a.Mb,h=0,k=0;null!==d&&(d=d.getBoundingClientRect(),h=b.clientX-e/d.width*d.left,k=b.clientY-f/d.height*d.top);c.ef.m(h,k);null!==a.jd?(b=w.xb(h,k),a.jd.oi(b),c.ca.assign(b),w.v(b)):c.ca.m(h,k)} +D.prototype.yr=function(a){var b=this.Fb;if(null===b)return new z(0,0);var c=this.Jb,d=this.Mb,b=b.getBoundingClientRect(),c=a.clientX-c/b.width*b.left;a=a.clientY-d/b.height*b.top;return null!==this.jd?(a=new z(c,a),Pa(a,this.jd),a):new z(c,a)};function Vl(a,b,c){var d=a.Fb,e=a.Jb,f=a.Mb,h=0,k=0;null!==d&&(d=d.getBoundingClientRect(),h=b.clientX-e/d.width*d.left,k=b.clientY-f/d.height*d.top);c.ff.m(h,k);null!==a.jd?(b=w.xb(h,k),a.jd.oi(b),c.ca.assign(b),w.v(b)):c.ca.m(h,k)} function Af(a,b,c,d){var e=null;if(void 0!==b.targetTouches){if(2>b.targetTouches.length)return;e=b.targetTouches[c]}else if(null!==a.Yh[0])e=a.Yh[c];else return;c=a.Fb;b=a.Jb;a=a.Mb;var f=0,h=0;null!==c&&null!==e&&(c=c.getBoundingClientRect(),f=e.clientX-b/c.width*c.left,h=e.clientY-a/c.height*c.top);d.m(f,h)}D.prototype.invalidateDocumentBounds=D.prototype.Dc=function(){this.Xj||(this.Xj=!0,this.Ne(!0))};function el(a){a.$d||Hi(a);a.Xj&&Rl(a,a.uh())} D.prototype.redraw=D.prototype.Cu=function(){this.Tc||this.$d||(this.oa(),$l(this),Ml(this),this.Dc(),this.cg())};D.prototype.isUpdateRequested=function(){return this.Tf};D.prototype.delayInitialization=function(a){void 0===a&&(a=null);var b=this.Oa,c=b.isEnabled;b.Gh();b.isEnabled=!1;Ri(this);this.gh=!1;b.isEnabled=c;null!==a&&w.setTimeout(a,1)}; -D.prototype.requestUpdate=D.prototype.Ne=function(a){void 0===a&&(a=!1);if(!0!==this.Tf&&!(this.Tc||!1===a&&this.$d)){this.Tf=!0;var b=this;requestAnimationFrame(function(){b.Tf&&b.cg()})}};D.prototype.maybeUpdate=D.prototype.cg=function(){if(!this.Eo||this.Tf)this.Eo&&(this.Eo=!1),Ri(this)};function am(a,b){a.Oa.pf||a.Tc||!a.Em||Kl(a)||(b&&Hi(a),Ol(a,!1))} -function Ri(a){if(!a.$d&&(a.Tf=!1,null!==a.Nb)){a.$d=!0;var b=a.Oa,c=a.yz;if(!b.Po&&0!==c.length){for(var d=c.n,e=d.length,f=0;fb;b++){var c=a.wg.i;if(null===c||0===a.wg.count)break;a.wg=new I(R);a.EB(c,a.wg)}a.ig.each(function(a){a instanceof V&&0!==(a.ya&65536)!==!1&&(a.ya^=65536)})}} +function Hi(a){if((a.$d||!a.Oa.qf)&&0!==a.wg.count){for(var b=0;23>b;b++){var c=a.wg.i;if(null===c||0===a.wg.count)break;a.wg=new I(R);a.EB(c,a.wg)}a.ig.each(function(a){a instanceof V&&0!==(a.ya&65536)!==!1&&(a.ya^=65536)})}} D.prototype.EB=function(a,b){for(a.reset();a.next();){var c=a.value;!c.ee()||c instanceof V||(c.cm()?(xk(c,Infinity,Infinity),c.jc()):b.add(c))}for(a.reset();a.next();)c=a.value,c instanceof V&&c.isVisible()&&Cm(this,c);for(a.reset();a.next();)c=a.value,c instanceof W&&c.isVisible()&&(c.cm()?(xk(c,Infinity,Infinity),c.jc()):b.add(c));for(a.reset();a.next();)c=a.value,c instanceof kh&&c.isVisible()&&(c.cm()?(xk(c,Infinity,Infinity),c.jc()):b.add(c))}; -function Cm(a,b){for(var c=w.eb(),d=w.eb(),e=b.Oc;e.next();){var f=e.value;f.isVisible()&&(f instanceof V?(Dm(f)||Em(f)||Fm(f))&&Cm(a,f):f instanceof W?f.Y===b||f.Z===b?d.push(f):c.push(f):(xk(f,Infinity,Infinity),f.jc()))}for(var e=c.length,h=0;hm&&(q=t.left,r=t.right),p.height>c&&(s=t.top,u=t.bottom)):(q=t.left,r=t.right,s=t.top,u=t.bottom);var t=p.width+q+r,x=p.height+s+u,q=p.x-q,v=n.x,r=p.right+r,A=n.right+ k,s=p.y-s,y=n.y,u=p.bottom+u,n=n.bottom+l,K="1px",E="1px",p=a.scale,P=!(tA+1&&(K=Math.max((r-A)*p+a.Jb,K)),m+k+1n+1&&(E=Math.max((u-n)*p+a.Mb,E)),c+l+1A+1&&(K=Math.max((r-A)*p+a.Jb,K)),m+1n+1&&(E=Math.max((u-n)*p+k,E)),c+1a.zh&&(c=a.zh);e=w.xb(a.kb.x+h/b-h/c,a.kb.y+k/b-k/c);a.position=e;w.v(e);a.vb=c;a.zu(d,a.rb,b,c,!1);a.Tc=!1;Ol(a, !1);c=a.Oa;c.qc&&il(c,b,a.vb);a.oa();$l(a)}} -D.prototype.zu=function(a,b,c,d,e){a.L(b)||(void 0===e&&(e=!1),e||$l(this),Ml(this),d=this.Tb,null===d||!d.Ex||this.Ll!==Ih||e||a.width===b.width&&a.height===b.height||d.J(),d=this.$a,!0===this.ml&&d instanceof ih&&(this.R.ca=this.BB(this.R.ef),Bk(d,this)),this.Tc||this.lF(a,b),cm(this),this.ph.scale=c,this.ph.position.x=a.x,this.ph.position.y=a.y,this.ph.bounds.set(a),this.ph.isScroll=e,this.Aa("ViewportBoundsChanged",this.ph,a),this.FA&&this.links.each(function(a){a.$l&&a.W.Zf(b)&&a.Wb()}))}; +D.prototype.zu=function(a,b,c,d,e){a.L(b)||(void 0===e&&(e=!1),e||$l(this),Ml(this),d=this.Tb,null===d||!d.Ex||this.Ll!==Ih||e||a.width===b.width&&a.height===b.height||d.J(),d=this.$a,!0===this.ml&&d instanceof ih&&(this.R.ca=this.BB(this.R.ff),Bk(d,this)),this.Tc||this.lF(a,b),cm(this),this.ph.scale=c,this.ph.position.x=a.x,this.ph.position.y=a.y,this.ph.bounds.set(a),this.ph.isScroll=e,this.Aa("ViewportBoundsChanged",this.ph,a),this.FA&&this.links.each(function(a){a.$l&&a.W.Zf(b)&&a.Wb()}))}; function cm(a,b){void 0===b&&(b=null);var c=a.rd;if(null!==c&&c.visible){for(var d=w.mm(),e=1,f=1,h=c.xa.n,k=h.length,l=0;ln||(Ym(m.Cb)?f=f*n/Ae(f,n):e=e*n/Ae(e,n))}h=c.vx;d.m(f*h.width,e*h.height);h=f=l=k=0;if(null!==b)k=b.width,l=b.height,f=b.x,h=b.y;else{e=w.If();f=a.rb;e.m(f.x,f.y,f.width,f.height);for(h=a.mw.i;h.next();)f=h.value.rb,f.I()&&ab(e,f.x,f.y,f.width,f.height);if(!e.I()){w.Db(e);return}k=e.width;l=e.height;f=e.x;h=e.y;w.Db(e)}c.width=k+2*d.width;c.height= l+2*d.height;e=w.K();Na(f,h,0,0,d.width,d.height,e);e.offset(-d.width,-d.height);w.Ck(d);c.U.location=e;w.v(e)}}D.prototype.clearSelection=D.prototype.Yw=function(){var a=0l)){var m=l;ln(k)&&m++;k.of(m,!0);mn(k,m,l)}}}}function Pm(a,b){var c=b.ak;if(w.isArray(c)){var d=a.Hm.ka(c);if(null===d)d=[],d.push(b),a.Hm.add(c,d);else{for(c=0;cl)){var m=l;ln(k)&&m++;k.pf(m,!0);mn(k,m,l)}}}}function Pm(a,b){var c=b.ak;if(w.isArray(c)){var d=a.Hm.ka(c);if(null===d)d=[],d.push(b),a.Hm.add(c,d);else{for(c=0;cthis.scale&&(this.scale=a)):w.Fa(a,"> 0",D,"minScale"))});w.defineProperty(D,{zh:"maxScale"},function(){return this.aw},function(a){w.wd(a,D,"maxScale");var b=this.aw;b!==a&&(0 0",D,"maxScale"))}); w.defineProperty(D,{pm:"zoomPoint"},function(){return this.Nw},function(a){this.Nw.L(a)||(w.G(a,z,D,"zoomPoint"),this.Nw=a=a.S())});w.defineProperty(D,{$z:"contentAlignment"},function(){return this.qo},function(a){var b=this.qo;b.L(a)||(w.G(a,L,D,"contentAlignment"),this.qo=a=a.S(),this.h("contentAlignment",b,a),Ol(this,!1))}); -w.defineProperty(D,{cL:"initialContentAlignment"},function(){return this.Jo},function(a){var b=this.Jo;b.L(a)||(w.G(a,L,D,"initialContentAlignment"),this.Jo=a=a.S(),this.h("initialContentAlignment",b,a))});w.defineProperty(D,{padding:"padding"},function(){return this.jf},function(a){"number"===typeof a?a=new hb(a):w.G(a,hb,D,"padding");var b=this.jf;b.L(a)||(this.jf=a=a.S(),this.Dc(),this.h("padding",b,a))});w.u(D,{ig:"nodes"},function(){return this.bp.i});w.u(D,{links:"links"},function(){return this.Vo.i}); +w.defineProperty(D,{cL:"initialContentAlignment"},function(){return this.Jo},function(a){var b=this.Jo;b.L(a)||(w.G(a,L,D,"initialContentAlignment"),this.Jo=a=a.S(),this.h("initialContentAlignment",b,a))});w.defineProperty(D,{padding:"padding"},function(){return this.kf},function(a){"number"===typeof a?a=new hb(a):w.G(a,hb,D,"padding");var b=this.kf;b.L(a)||(this.kf=a=a.S(),this.Dc(),this.h("padding",b,a))});w.u(D,{ig:"nodes"},function(){return this.bp.i});w.u(D,{links:"links"},function(){return this.Vo.i}); w.u(D,{Lk:"parts"},function(){return this.zb.i});D.prototype.findTopLevelNodesAndLinks=function(){for(var a=new I(R),b=this.bp.i;b.next();){var c=b.value;c.Zp&&a.add(c)}for(b=this.Vo.i;b.next();)c=b.value,c.Zp&&a.add(c);return a.i};D.prototype.findTopLevelGroups=function(){return this.Dl.i}; w.defineProperty(D,{Tb:"layout"},function(){return this.ke},function(a){var b=this.ke;b!==a&&(w.G(a,tg,D,"layout"),null!==b&&(b.g=null,b.group=null),this.ke=a,a.g=this,a.group=null,this.$k=!0,this.h("layout",b,a),this.Ne())});D.prototype.layoutDiagram=function(a){Hi(this);a&&rn(this,!0);dm(this,!1)};function rn(a,b){for(var c=a.Dl.i;c.next();)zn(a,c.value,b);null!==a.Tb&&(b?a.Tb.rf=!1:a.Tb.J())} -function zn(a,b,c){if(null!==b){for(var d=b.Zo.i;d.next();)zn(a,d.value,c);null!==b.Tb&&(c?b.Tb.rf=!1:b.Tb.J())}}function dm(a,b){if(a.$k&&!a.Sy){var c=a.Ta;a.Ta=!0;try{var d=a.ha.ti;0===d&&a.Hb("Layout");var e=a.Oa;0!==d||e.pf||e.qc||b||e.Tn("Layout");a.$k=!1;for(var f=a.Dl.i;f.next();)An(a,f.value,b,d);var h=a.Tb;h.rf||(!b||h.xF||0===d?(h.doLayout(a),Hi(a),h.rf=!0):a.$k=!0)}finally{0===d&&a.Wc("Layout"),a.$k=!h.rf,a.Ta=c}}} +function zn(a,b,c){if(null!==b){for(var d=b.Zo.i;d.next();)zn(a,d.value,c);null!==b.Tb&&(c?b.Tb.rf=!1:b.Tb.J())}}function dm(a,b){if(a.$k&&!a.Sy){var c=a.Ta;a.Ta=!0;try{var d=a.ha.ti;0===d&&a.Hb("Layout");var e=a.Oa;0!==d||e.qf||e.qc||b||e.Tn("Layout");a.$k=!1;for(var f=a.Dl.i;f.next();)An(a,f.value,b,d);var h=a.Tb;h.rf||(!b||h.xF||0===d?(h.doLayout(a),Hi(a),h.rf=!0):a.$k=!0)}finally{0===d&&a.Wc("Layout"),a.$k=!h.rf,a.Ta=c}}} function An(a,b,c,d){if(null!==b){for(var e=b.Zo.i;e.next();)An(a,e.value,c,d);e=b.Tb;null===e||e.rf||(!c||e.xF||0===d?(b.Rn=!b.location.I(),e.doLayout(b),b.J(Bn),Cm(a,b),e.rf=!0):a.$k=!0)}}w.defineProperty(D,{Td:"isTreePathToChildren"},function(){return this.Sv},function(a){var b=this.Sv;if(b!==a&&(w.j(a,"boolean",D,"isTreePathToChildren"),this.Sv=a,this.h("isTreePathToChildren",b,a),!this.ha.ab))for(a=this.ig;a.next();)Cn(a.value)}); D.prototype.findTreeRoots=function(){for(var a=new H(T),b=this.ig;b.next();){var c=b.value;c.Zp&&null===c.xn()&&a.add(c)}return a.i};w.defineProperty(D,{CB:"treeCollapsePolicy"},function(){return this.Iw},function(a){var b=this.Iw;b!==a&&(a!==ul&&a!==Zm&&a!==$m&&w.k("Unknown Diagram.treeCollapsePolicy: "+a),this.Iw=a,this.h("treeCollapsePolicy",b,a))});w.defineProperty(D,{yh:null},function(){return this.QC},function(a){this.QC=a}); function tl(a){function b(a){var b=a.toLowerCase(),h=new H("function");c.add(a,h);c.add(b,h);d.add(a,a);d.add(b,a)}var c=new ma("string",H),d=new ma("string","string");b("AnimationStarting");b("AnimationFinished");b("BackgroundSingleClicked");b("BackgroundDoubleClicked");b("BackgroundContextClicked");b("ClipboardChanged");b("ClipboardPasted");b("DocumentBoundsChanged");b("ExternalObjectsDropped");b("InitialLayoutCompleted");b("LayoutCompleted");b("LinkDrawn");b("LinkRelinked");b("LinkReshaped");b("Modified"); @@ -944,19 +944,19 @@ D.prototype.makeImage=function(a){void 0===a&&(a=new ra);var b=(a.document||docu D.prototype.makeImageData=D.prototype.LI=function(a){void 0===a&&(a=new ra);var b=Ln(this,a);if(null!==b){var c=a.returnType,c=void 0===c?"string":c.toLowerCase();switch(c){case "imagedata":return b.yk.getImageData(0,0,b.width,b.height);case "blob":b=b.Kd;c=a.callback;if("function"!==typeof c){w.k('Error: Diagram.makeImageData called with "returnType: toBlob", but no "callback" function property defined.');break}if("function"===typeof b.toBlob)return b.toBlob(c,a.type,a.details),"toBlob";if("function"=== typeof b.msToBlob)return c(b.msToBlob()),"msToBlob";c(null);break;default:return b.toDataURL(a.type,a.details)}}return""};var Mn=!1; function Ln(a,b){a.Oa.Gh();a.cg();if(null===a.Fb)return null;"object"!==typeof b&&w.k("properties argument must be an Object.");var c=!1,d=b.size||null,e=b.scale||null;void 0!==b.scale&&isNaN(b.scale)&&(e="NaN");var f=b.maxSize;void 0===b.maxSize&&(c=!0,f="svg"===b.context?new ia(Infinity,Infinity):new ia(2E3,2E3));var h=b.position||null,k=b.parts||null,l=void 0===b.padding?1:b.padding,m=b.background||null,n=b.omitTemporary;void 0===n&&(n=!0);var p=b.document||document,q=b.elementFinished||null,r= -b.showTemporary;void 0===r&&(r=!n);n=b.showGrid;void 0===n&&(n=r);null!==d&&isNaN(d.width)&&isNaN(d.height)&&(d=null);"number"===typeof l?l=new hb(l):l instanceof hb||(l=new hb(0));l.left=Math.max(l.left,0);l.right=Math.max(l.right,0);l.top=Math.max(l.top,0);l.bottom=Math.max(l.bottom,0);a.ff.Fe(!0);var s=new Wc(null,p),u=s.yk;if(!(d||e||k||h)){s.width=a.Jb+Math.ceil(l.left+l.right);s.height=a.Mb+Math.ceil(l.top+l.bottom);if("svg"===b.context)return u=new Oc(s.Kd,p,q),Jm(a,u,l,new ia(s.width,s.height), +b.showTemporary;void 0===r&&(r=!n);n=b.showGrid;void 0===n&&(n=r);null!==d&&isNaN(d.width)&&isNaN(d.height)&&(d=null);"number"===typeof l?l=new hb(l):l instanceof hb||(l=new hb(0));l.left=Math.max(l.left,0);l.right=Math.max(l.right,0);l.top=Math.max(l.top,0);l.bottom=Math.max(l.bottom,0);a.gf.Fe(!0);var s=new Wc(null,p),u=s.yk;if(!(d||e||k||h)){s.width=a.Jb+Math.ceil(l.left+l.right);s.height=a.Mb+Math.ceil(l.top+l.bottom);if("svg"===b.context)return u=new Oc(s.Kd,p,q),Jm(a,u,l,new ia(s.width,s.height), a.vb,a.kb,k,m,r,n),u;a.nr=!1;Jm(a,u,l,new ia(s.width,s.height),a.vb,a.kb,k,m,r,n);a.nr=!0;return s}var t=a.pb.gx,x=new z(0,0),v=a.se.copy();v.JJ(a.padding);if(r)for(var A=!0,A=a.cc.n,y=A.length,K=0;Kt?(e=t,h=v.width,ba=v.height):(h=f.width,ba=f.height)):(h=v.width*e,ba=v.height*e):(e=t,h=v.width,ba=v.height);null!==l?(h+=S,ba+=A):l=new hb(0);null!==f&&(d=f.width,f=f.height,"svg"!==b.context&&c&&!Mn&&(h>d||ba>f)&&(w.trace("Diagram.makeImage(data): Diagram width or height is larger than the default max size. ("+Math.ceil(h)+"x"+Math.ceil(ba)+" vs 2000x2000) Consider increasing the max size."), -Mn=!0),isNaN(d)&&(d=2E3),isNaN(f)&&(f=2E3),isFinite(d)&&(h=Math.min(h,d)),isFinite(f)&&(ba=Math.min(ba,f)));s.width=Math.ceil(h);s.height=Math.ceil(ba);if("svg"===b.context)return u=new Oc(s.Kd,p,q),Jm(a,u,l,new ia(Math.ceil(h),Math.ceil(ba)),e,x,k,m,r,n),u;a.nr=!1;Jm(a,u,l,new ia(Math.ceil(h),Math.ceil(ba)),e,x,k,m,r,n);a.nr=!0;return s}D.inherit=function(a,b){w.j(a,"function",D,"inherit");w.j(b,"function",D,"inherit");b.XG&&w.k("Cannot inherit from "+w.mf(b));w.Ka(a,b)}; +Mn=!0),isNaN(d)&&(d=2E3),isNaN(f)&&(f=2E3),isFinite(d)&&(h=Math.min(h,d)),isFinite(f)&&(ba=Math.min(ba,f)));s.width=Math.ceil(h);s.height=Math.ceil(ba);if("svg"===b.context)return u=new Oc(s.Kd,p,q),Jm(a,u,l,new ia(Math.ceil(h),Math.ceil(ba)),e,x,k,m,r,n),u;a.nr=!1;Jm(a,u,l,new ia(Math.ceil(h),Math.ceil(ba)),e,x,k,m,r,n);a.nr=!0;return s}D.inherit=function(a,b){w.j(a,"function",D,"inherit");w.j(b,"function",D,"inherit");b.XG&&w.k("Cannot inherit from "+w.nf(b));w.Ka(a,b)}; function Cl(){this.MD=null;this.ZG="63ad05bbe23a1786468a4c741b6d2";this.Oj=this.ZG===this._tk?!0:null} -Cl.prototype.om=function(a){a.ff.setTransform(a.Ed,0,0,a.Ed,0,0);if(null===this.Oj){var b="f",c=window[w.Lg("76a715b2f73f148a")][w.Lg("72ba13b5")];a=w.Lg;this.Oj=!0;if(window[a("7da7")]&&window[a("7da7")][a("76a115b6ed251eaf4692")]){var d=window[a("7da7")][a("76a115b6ed251eaf4692")],d=a(d).split(a("39e9"));if(!(6>d.length)){var e=a(d[1]).split(".");if("7da71ca0"===d[4]){var f=a(w[a("6cae19")]).split(".");if(e[0]>f[0]||e[0]===f[0]&&e[1]>=f[1]){e=c[a("76ad18b4f73e")];for(f=c[a("73a612b6fb191d")](a("35e7"))+ +Cl.prototype.om=function(a){a.gf.setTransform(a.Ed,0,0,a.Ed,0,0);if(null===this.Oj){var b="f",c=window[w.Lg("76a715b2f73f148a")][w.Lg("72ba13b5")];a=w.Lg;this.Oj=!0;if(window[a("7da7")]&&window[a("7da7")][a("76a115b6ed251eaf4692")]){var d=window[a("7da7")][a("76a115b6ed251eaf4692")],d=a(d).split(a("39e9"));if(!(6>d.length)){var e=a(d[1]).split(".");if("7da71ca0"===d[4]){var f=a(w[a("6cae19")]).split(".");if(e[0]>f[0]||e[0]===f[0]&&e[1]>=f[1]){e=c[a("76ad18b4f73e")];for(f=c[a("73a612b6fb191d")](a("35e7"))+ 2;fc&&a(d[2])!==a("7da71ca0ad381e90")&&(c=b[a("73a612b6fb191d")](a("76a715b2ef3e149757")));0>c&&(c=b[a("73a612b6fb191d")](a("76a715b2ef3e149757")));if(this.Oj=!(0<=c&&cd.length;)d+="9";d=d.substr(d.length-4);e=""+["gsh","gsf"][parseInt(d.substr(0,1),10)%2];e+=["Header","Background","Display","Feedback"][parseInt(d.substr(0, 1),10)%4];c[a("79a417a0f0181a8946")]=e;window.document[a("78a712aa")]?(window.document[a("78a712aa")][a("7bb806b6ed32388c4a875b")](c),d=window[a("7dad0290ec3b0b91578e5b40007031bf")](c)[a("7dad0283f1390b81519f4645156528bf")](a("78a704b7e62456904c9b12701b6532a8")),window.document[a("78a712aa")][a("68ad1bbcf533388c4a875b")](c),d&&-1!==d.indexOf(parseInt(b[1]+b[2],16))&&-1!==d.indexOf(parseInt(b[3]+b[4],16))&&(this.Oj=!1)):(this.Oj=null,this.Oj=!1)}}}}}else{e=c[a("76ad18b4f73e")];for(f=c[a("73a612b6fb191d")](a("35e7"))+ 2;fb.timeStamp-a.Jm)b.preventDefault();else if(a.nl)b.preventDefault();else{a.Vc=a.Rb;a.Rb=c;Ul(a,a,b,c,!0);c.Tl=!0;c.Ge=b.detail;if(w.qF||w.rF)b.timeStamp-a.Jmb.timeStamp-a.Jm){b.preventDefault();return}a.Jm=b.timeStamp}if(w.En&&null!==a.bt)a.bt=null,b.preventDefault();else{a.Vc=a.Rb;a.Rb=c;Ul(a,a,b,c,!0);c.up=!0;c.Ge=b.detail;if(w.qF||w.rF)c.Ge=a.ql;c.bubbles=b.bubbles;c.Yg=Wl(b);a.simulatedMouseUp(b,null,new z,c.Yg)||(a.doMouseUp(),Yh(a),Zl(c,b))}}};a.Rg=function(b){if(a.isEnabled){var c= @@ -965,11 +965,11 @@ a.Vc;a.Vc=a.Rb;a.Rb=c;Ul(a,a,b,c,!0);c.bubbles=!0;c.Sl=void 0!==b.wheelDelta?b.w e.screenX,n=e.screenY,p=a.cD;b.timeStamp-a.Jma.pw)){var c=a.Yh;c[0].pointerId===b.pointerId&&(c[0]=b);c[1].pointerId===b.pointerId&&(c[1]=b);a.isEnabled&&c[1]!==b&&(c=a.Vc,a.Vc=a.Rb,a.Rb=c,Yl(a,b,b,c,!0),a.simulatedMouseMove(b,null,c.Yg)||(a.doMouseMove(),Zl(c,b)))}};a.PF=function(b){if("touch"=== b.pointerType){var c=a.xD;void 0!==c[b.pointerId]&&(a.pw--,delete c[b.pointerId],c=a.Yh,null!==c[0]&&c[0].pointerId===b.pointerId&&(c[0]=null),null!==c[1]&&c[1].pointerId===b.pointerId&&(c[1]=null))}};d.Fe(!0);Gl(a)}function Nn(a){1k;)k+=f[n++%l],p=!p;q=!1}else k=f[n++%l];k>m&&(k=m);var r=Math.sqrt(k*k/(1+e*e));0>d&&(r=-r);b+=r;c+=e*r;p?a.lineTo(b,c):a.moveTo(b,c);m-=k;p=!p}} G.prototype.raiseChangedEvent=G.prototype.ad=function(a,b,c,d,e,f,h){var k=this.U;if(null!==k&&(k.Un(a,b,c,d,e,f,h),zo(this)&&c===this&&a===Nf&&Ao(this,k,b),c===k&&0!==(k.O&16777216)&&null!==k.data))for(a=this.xa.n,c=a.length,d=0;dk.width+k.x||k.x>n.width+n.x||r>k.height+k.y||k.y>n.height+n.y)break a;n=!0;Qc(a,1,0,0,1,0,0);a.save();a.beginPath();a.rect(q,r,s,p);a.clip()}if(this.sj()){var u=this;if(!u.isVisible())break a}a.wh.Ub=[1,0,0,1,0,0];this instanceof Lh&&1c.width+c.x||c.x>n.width+n.x||l>c.height+c.y||c.y>n.height+n.y){1!==d&&(a.globalAlpha=e);return}a.save();a.beginPath();a.rect(k,l,u,q);a.clip()}if(this.sj()){if(!this.isVisible()){1!==d&&(a.globalAlpha= e);return}this.dm&&b.pj("drawShadows")&&(n=this.dn,a.rB(n.x*b.scale*b.Ed,n.y*b.scale*b.Ed,this.Fg),a.Yn(),a.shadowColor=this.cn)}n=!1;this.U&&b.pj("drawShadows")&&(n=this.U.dm);!0===this.sq?a.Yn():!1===this.sq&&a.Xn();null!==this.bc&&(No(this,a,this.bc,!0,!0),this.bc instanceof ha&&this.bc.type===bd?(a.beginPath(),a.rect(c.x,c.y,c.width,c.height),a.Mg(this.bc)):a.fillRect(c.x,c.y,c.width,c.height));f.iu()||a.transform(f.m11,f.m12,f.m21,f.m22,f.dx,f.dy);null!==this.Eb&&(u=this.Ja,k=c=0,l=u.width,u= u.height,q=0,this instanceof X&&(u=this.Ua.hb,c=u.x,k=u.y,l=u.width,u=u.height,q=this.ii),No(this,a,this.Eb,!0,!1),this.Eb instanceof ha&&this.Eb.type===bd?(a.beginPath(),a.rect(c-q/2,k-q/2,l+q,u+q),a.Mg(this.Eb)):a.fillRect(c-q/2,k-q/2,l+q,u+q));n&&(null!==this.Eb||null!==this.bc||null!==h&&0!==(h.O&512)||null!==h&&(h.type===Fl||h.type===Mj)&&h.Ld()!==this)?(Oo(this,!0),null===this.sq&&a.Xn()):Oo(this,!1);this.zk(a,b);n&&0!==(this.O&512)===!0&&a.Yn();this.sj()&&n&&a.Xn();m?(a.restore(),this instanceof @@ -1044,7 +1044,7 @@ w.defineProperty(G,{gB:"segmentFraction"},function(){return this.Zm},function(a) w.defineProperty(G,{name:"name"},function(){return this.Sb},function(a){var b=this.Sb;b!==a&&(this.Sb=a,null!==this.U&&(this.U.Qm=null),this.h("name",b,a))});w.defineProperty(G,{opacity:"opacity"},function(){return this.xc},function(a){var b=this.xc;b!==a&&(w.j(a,"number",G,"opacity"),(0>a||1a&&w.Fa(a,">= 0",C,"padding"),a=new hb(a)):(w.G(a,hb,C,"padding"),0>a.left&&w.Fa(a.left,">= 0",C,"padding:value.left"),0>a.right&&w.Fa(a.right,">= 0",C,"padding:value.right"),0>a.top&&w.Fa(a.top,">= 0",C,"padding:value.top"),0>a.bottom&&w.Fa(a.bottom,">= 0",C,"padding:value.bottom"));var b=this.jf;b.L(a)||(this.jf=a=a.S(),this.H(),this.h("padding",b,a))}); +w.defineProperty(C,{padding:"padding"},function(){return this.kf},function(a){"number"===typeof a?(0>a&&w.Fa(a,">= 0",C,"padding"),a=new hb(a)):(w.G(a,hb,C,"padding"),0>a.left&&w.Fa(a.left,">= 0",C,"padding:value.left"),0>a.right&&w.Fa(a.right,">= 0",C,"padding:value.right"),0>a.top&&w.Fa(a.top,">= 0",C,"padding:value.top"),0>a.bottom&&w.Fa(a.bottom,">= 0",C,"padding:value.bottom"));var b=this.kf;b.L(a)||(this.kf=a=a.S(),this.H(),this.h("padding",b,a))}); w.defineProperty(C,{Rl:"defaultAlignment"},function(){return this.er},function(a){var b=this.er;b.L(a)||(this.er=a=a.S(),this.H(),this.h("defaultAlignment",b,a))});w.defineProperty(C,{be:"defaultStretch"},function(){return this.Gi},function(a){var b=this.Gi;b!==a&&(w.nb(a,G,C,"defaultStretch"),this.Gi=a,this.H(),this.h("defaultStretch",b,a))}); w.defineProperty(C,{RK:"defaultSeparatorPadding"},function(){return void 0===this.Mj?fd:this.Mj},function(a){if(void 0!==this.Mj){"number"===typeof a&&(a=new hb(a));var b=this.Mj;b.L(a)||(this.Mj=a=a.S(),this.H(),this.h("defaultSeparatorPadding",b,a))}}); w.defineProperty(C,{PK:"defaultRowSeparatorStroke"},function(){return void 0===this.Fi?null:this.Fi},function(a){var b=this.Fi;b!==a&&(null===a||"string"===typeof a||a instanceof ha)&&(a instanceof ha&&a.freeze(),this.Fi=a,this.oa(),this.h("defaultRowSeparatorStroke",b,a))}); @@ -1121,7 +1121,7 @@ w.defineProperty(C,{dF:"graduatedTickBase"},function(){return this.Br},function( g.zk=function(a,b){if(this.na===Il){var c=this.oj()*b.scale;0>=c&&(c=1);var d=this.vx,e=d.width,d=d.height,f=this.Ja,h=f.width,f=f.height,k=Math.ceil(h/e),l=Math.ceil(f/d),m=this.eF;a.save();a.beginPath();a.rect(0,0,h,f);a.clip();for(var n=[],p=this.xa.n,q=p.length,r=0;r e*u*c))){s=v.opacity;t=1;if(1!==s){if(0===s)continue;t=a.globalAlpha;a.globalAlpha=t*s}var x=n[r],A=!1,y=!0,K=v.rG;null!==K&&(A=!0,y=a.kA(K,v.xf));if("LineV"===v.Cb&&null!==v.stroke){a.lineWidth=v.mb;No(this,a,v.stroke,!1,!1);a.beginPath();for(var E=Math.floor(-m.x/e),P=E;P<=E+k;P++){var $=P*e+m.x;0<=$&&$<=h&&jp(P,u,x)&&(A&&!y?yo(a,$,0,$,f,K,v.xf):(a.moveTo($,0),a.lineTo($,f)))}a.stroke()}else if("LineH"===v.Cb&&null!==v.stroke){a.lineWidth=v.mb;No(this,a,v.stroke,!1,!1);a.beginPath();for(P=E=Math.floor(-m.y/ d);P<=E+l;P++)$=P*d+m.y,0<=$&&$<=f&&jp(P,u,x)&&(A&&!y?yo(a,0,$,h,$,K,v.xf):(a.moveTo(0,$),a.lineTo(h,$)));a.stroke()}else if("BarV"===v.Cb&&null!==v.fill)for(No(this,a,v.fill,!0,!1),v=v.width,isNaN(v)&&(v=e),P=E=Math.floor(-m.x/e);P<=E+k;P++)$=P*e+m.x,0<=$&&$<=h&&jp(P,u,x)&&a.fillRect($,0,v,f);else if("BarH"===v.Cb&&null!==v.fill)for(No(this,a,v.fill,!0,!1),v=v.height,isNaN(v)&&(v=d),P=E=Math.floor(-m.y/d);P<=E+l;P++)$=P*d+m.y,0<=$&&$<=f&&jp(P,u,x)&&a.fillRect(0,$,h,v);A&&a.hA();1!==s&&(a.globalAlpha= -t)}}a.restore();a.Fe(!1)}else if(this.na===ip){e=this.Ja;c=e.width;e=e.height;a.save();a.beginPath();a.rect(-1,-1,c+1,e+1);a.clip();c=this.Ld();c.ue(a,b);e=this.oj()*b.scale;0>=e&&(e=1);d=c.W;h=this.xa.n;f=this.Dm;k=h.length;for(l=0;lthis.uA*q.interval*c.lf.St/this.Zt*e))for(r=q.za,u=q.mb*q.scale,s=q.qh,s.Sd()&&(s=Bb),p=0;p=e&&(e=1);d=c.W;h=this.xa.n;f=this.Dm;k=h.length;for(l=0;lthis.uA*q.interval*c.mf.St/this.Zt*e))for(r=q.za,u=q.mb*q.scale,s=q.qh,s.Sd()&&(s=Bb),p=0;pm&&e.set(s),w.v(s));w.v(n);f&&e.transform(h)}return c}; -g.H=function(a){G.prototype.H.call(this,a);if(this.na===Fl||this.na===hj)a=this.Ld(),null!==a&&a.H(!0);a=this.xa.n;for(var b=a.length,c=0;c=this.nq);cb++)Y=this.Nd(aa.Vb+cb),lc=Ob===Fe||Ob=== -po?Math.max(Y.Bh,0===wd[aa.Vb+cb]?Y.he:Math.min(wd[aa.Vb+cb],Y.he)):Math.max(Y.Bh,isNaN(Y.kf)?Y.he:Math.min(Y.kf,Y.he)),Kd.height+=lc;for(cb=1;cb=this.Hp);cb++)Y=this.Md(aa.column+cb),lc=Ob===Fe||Ob===qo?Math.max(Y.Bh,0===ef[aa.column+cb]?Y.he:Math.min(ef[aa.column+cb],Y.he)):Math.max(Y.Bh,isNaN(Y.kf)?Y.he:Math.min(Y.kf,Y.he)),Kd.width+=lc;ob.width+=Kd.width;ob.height+=Kd.height;xc=aa.margin;Hf=xc.right+xc.left;hg=xc.top+xc.bottom;xk(aa,ob.width,ob.height,qj,rj);for(var If= +po?Math.max(Y.Bh,0===wd[aa.Vb+cb]?Y.he:Math.min(wd[aa.Vb+cb],Y.he)):Math.max(Y.Bh,isNaN(Y.lf)?Y.he:Math.min(Y.lf,Y.he)),Kd.height+=lc;for(cb=1;cb=this.Hp);cb++)Y=this.Md(aa.column+cb),lc=Ob===Fe||Ob===qo?Math.max(Y.Bh,0===ef[aa.column+cb]?Y.he:Math.min(ef[aa.column+cb],Y.he)):Math.max(Y.Bh,isNaN(Y.lf)?Y.he:Math.min(Y.lf,Y.he)),Kd.width+=lc;ob.width+=Kd.width;ob.height+=Kd.height;xc=aa.margin;Hf=xc.right+xc.left;hg=xc.top+xc.bottom;xk(aa,ob.width,ob.height,qj,rj);for(var If= aa.za,bf=Math.max(If.width+Hf,0),cf=Math.max(If.height+hg,0),ff=0,cb=0;cb=this.nq);cb++)Y=this.Nd(aa.Vb+cb),ff+=Y.total||0;if(ff=ld)&&!(aa.Vb+cb>=this.nq);cb++){var Y=this.Nd(aa.Vb+cb),Fc=Y.Ra||0,mi=gf(aa,Y,Kg);Y.Ya=Math.min(Y.he,Fc+mi);Y.Ra!==Fc&&(ld-=Y.Ra-Fc)}for(;0Fc&&(Y.Ya=Math.min(Y.he,Fc+ld),Y.Ra!==Fc&&(ld-=Y.Ra-Fc));if(0===Y.index)break;Y=this.Nd(Y.index- 1)}}for(var Ke=0,cb=0;cb=this.Hp);cb++)Y=this.Md(aa.column+cb),Ke+=Y.total||0;if(Ke=ld)&&!(aa.column+cb>=this.Hp);cb++)Y=this.Md(aa.column+cb),Fc=Y.Ra||0,mi=gf(aa,Y,Kg),Y.Ya=Math.min(Y.he,Fc+mi),Y.Ra!==Fc&&(ld-=Y.Ra-Fc);for(;0Fc&&(Y.Ya=Math.min(Y.he,Fc+ld),Y.Ra!==Fc&&(ld-=Y.Ra-Fc));if(0===Y.index)break;Y=this.Md(Y.index-1)}}}w.ta(Je);w.Ck(Kd);w.Ck(ob);void 0!==wd&&w.ta(wd); void 0!==ef&&w.ta(ef);for(var Lg=0,Mg=0,Ob=Eo(this,!0),tj=this.Ca,Ik=this.Ff,ve=zb=Dc=0,ad=0,Eb=this.Hp,fa=0;fapi)xk(Ub,Infinity,Infinity),we=Ub.za,jf.Ih(we),this.bh.add(we);else{var xd=Ub.Oe,wt=Ub.gB,pp=Ub.qh;pp.Sd()&&(pp=Jb);var jg=Ub.oq,cw=Ub.hB,Ok=0,Pk=0,nm=0;if(xd<-pi||xd>=pi){var xt=Mk.GF,Kf=Mk.FF;jg!==kj&&(nm=Mk.computeAngle(Ub,jg,Kf),Ub.mg=nm);Ok=xt.x-Ng.x;Pk=xt.y-Ng.y}else{var Ld, +null!==mm&&(Qp(mm,tt,ut,this),we=mm.za,jf.Ih(we),this.bh.add(we));for(var Og=w.Jf(),Nk=w.K(),Pg=w.K(),op=0;oppi)xk(Ub,Infinity,Infinity),we=Ub.za,jf.Ih(we),this.bh.add(we);else{var xd=Ub.Oe,wt=Ub.gB,pp=Ub.qh;pp.Sd()&&(pp=Jb);var jg=Ub.oq,cw=Ub.hB,Ok=0,Pk=0,nm=0;if(xd<-pi||xd>=pi){var xt=Mk.GF,Kf=Mk.FF;jg!==kj&&(nm=Mk.computeAngle(Ub,jg,Kf),Ub.mg=nm);Ok=xt.x-Ng.x;Pk=xt.y-Ng.y}else{var Ld, kf;if(0<=xd)Ld=Ch.da(xd),kf=xdzt+10?0<=xd?ri.Pb(Ld):Ld.Pb(ri):zt>yt+10?0<=xd?kf.Pb(si):si.Pb(kf):0<=xd?ri.Pb(si):si.Pb(ri)}else Kf=0<=xd?Ld.Pb(kf):kf.Pb(Ld);jg!==kj&&(nm=Mk.computeAngle(Ub,jg,Kf),Ub.mg=nm);Ok=Ld.x+(kf.x-Ld.x)*wt-Ng.x;Pk=Ld.y+(kf.y-Ld.y)*wt-Ng.y}xk(Ub, Infinity,Infinity);var we=Ub.za,lm=Ub.Ja,Qk=0;Ub instanceof X&&(Qk=Ub.mb);var ti=lm.width+Qk,vj=lm.height+Qk;Og.reset();Og.translate(-we.x,-we.y);Og.scale(Ub.scale,Ub.scale);Og.rotate(jg===kj?Ub.angle:Kf,ti/2,vj/2);jg!==Rp&&jg!==Sp||Og.rotate(90,ti/2,vj/2);jg!==Tp&&jg!==Up||Og.rotate(-90,ti/2,vj/2);jg===Vp&&(45Kf||225Kf)&&Og.rotate(-Kf,ti/2,vj/2);var wj=new B(0,0,ti,vj);Nk.Wn(wj,pp);Og.ob(Nk);var dw=-Nk.x+Qk/2*Ub.scale,ew=-Nk.y+Qk/2*Ub.scale;Pg.assign(cw);isNaN(Pg.x)&&(Pg.x=0<=xd? ti/2+3:-(ti/2+3));isNaN(Pg.y)&&(Pg.y=-(vj/2+3));Pg.rotate(Kf);Ok+=Pg.x;Pk+=Pg.y;wj.set(we);wj.x=Ok+dw;wj.y=Pk+ew;this.bh.add(wj);jf.Ih(wj)}}if(this instanceof W)for(var At=this.Df;At.next();)xk(At.value,Infinity,Infinity);this.fj=jf;var qp=this.Si;qp.m(qp.x+jf.x,qp.y+jf.y);Ua(e,jf.width||0,jf.height||0);w.we(Og);w.v(Nk);w.v(Pg)}}}break;case "Grid":break;case "Graduated":var fw=a,gw=b,hw=c,iw=d,Qg=this.Ld();this.Bm=[];var xj=Qg.margin,jw=xj.right+xj.left,kw=xj.top+xj.bottom;xk(Qg,fw,gw,hw,iw);var Bt= -Qg.za,lw=Bt.height,mw=Math.max(Bt.width+jw,0),nw=Math.max(lw+kw,0),Ct=new B(-xj.left,-xj.top,mw,nw);this.Bm.push(Ct);e.assign(Ct);for(var Vk=Qg.lf,Dt=Qg.mb,rp=Vk.sx,yj=Vk.Rt,ui=Vk.St,ow=rp.length,sp=0,tp=0,zj=w.eb(),up=0;upyd&&(yd+=360);Et.push(yd)}sp=Ft;tp=Gt}zj.push(Et)}var Ht;if(null===this.Vj){for(var It=[],wp=this.xa.n,Jt=wp.length,xp=0;xp< +Qg.za,lw=Bt.height,mw=Math.max(Bt.width+jw,0),nw=Math.max(lw+kw,0),Ct=new B(-xj.left,-xj.top,mw,nw);this.Bm.push(Ct);e.assign(Ct);for(var Vk=Qg.mf,Dt=Qg.mb,rp=Vk.sx,yj=Vk.Rt,ui=Vk.St,ow=rp.length,sp=0,tp=0,zj=w.eb(),up=0;upyd&&(yd+=360);Et.push(yd)}sp=Ft;tp=Gt}zj.push(Et)}var Ht;if(null===this.Vj){for(var It=[],wp=this.xa.n,Jt=wp.length,xp=0;xp< Jt;xp++){var Wk=wp[xp],Kt=[];It.push(Kt);if(Wk.visible)for(var qw=Wk.interval,yp=0;ypqw&&Kt.push(Lt)}}}this.Vj=It}Ht=this.Vj;var Mt=this.xa.n,rw=Mt.length,Dh=0,Nt=0,Ot=ui;this.Dm=[];for(var pm=[],qm=0;qmQt*Pt*ui/this.Zt)){var ce=this.dF,Rt=Ht[qm],vi=yj[0][0],Lf= 0,zd=0,Nt=ui*Eh.cF-1E-4,Ot=ui*Eh.aF+1E-4,Bj=Qt*Pt;if(cethis.Ek+Bj&&(wi=Math.floor((ce-this.Ek)/Bj),ce-=wi*Bj);for(;ce<=this.tA;){var zp;a:{for(var sw=Rt.length,Ap=0;Apui&&(Dh=ui),Nt<=Dh&&Dh<=Ot)){for(var yd=zj[Lf][zd],Cj=yj[Lf][zd];Lfvi&&zdrm?0Rg||225Rg)&&Sg.rotate(-Rg,Fj/2,Gj/2);var au=w.lg(0,0,Fj,Gj),Yk=w.K();Yk.Wn(au,Ip);Sg.ob(Yk);var Bw=-Yk.x,Cw=-Yk.y,Tg=w.K();Tg.assign(zw);isNaN(Tg.x)&&(Tg.x=Fj/2+3);isNaN(Tg.y)&&(Tg.y=-(Gj/2+3));Tg.rotate(Rg);var ym=ym+(Tg.x+Bw),zm=zm+(Tg.y+Cw),Kp=new B(ym,zm,Hh.width,Hh.height),Dw=new B(Hh.x,Hh.y,Hh.width,Hh.height),Ew=new B(Ej.x,Ej.y,Ej.width,Ej.height),bu=new Wp;bu.Ip(Mf.wf);lg.push(Jp);lg.push(Mf.le);lg.push(bu);lg.push(Kp); lg.push(Dw);lg.push(Ew);0===Am?zi=Kp.copy():zi.Ih(Kp);w.v(Tg);w.v(Yk);w.Db(au);w.we(Sg)}this.Bm.push(zi);ab(yw,zi.x,zi.y,zi.width,zi.height)}bm(xi,!1)}}break;case "TableRow":case "TableColumn":w.k(this.toString()+" is not an element of a Table Panel. TableRow and TableColumn Panels can only be elements of a Table Panel.");break;default:w.k("Unknown panel type: "+n)}}var lf=e.width,mf=e.height,Bm=this.padding,Fw=Bm.top+Bm.bottom,lf=lf+(Bm.left+Bm.right),mf=mf+Fw;isFinite(f.width)&&(lf=f.width);isFinite(f.height)&& -(mf=f.height);lf=Math.min(k.width,lf);mf=Math.min(k.height,mf);lf=Math.max(h.width,lf);mf=Math.max(h.height,mf);lf=Math.max(c,lf);mf=Math.max(d,mf);e.width=lf;e.height=mf;Ua(this.Uc,lf,mf);Bo(this,0,0,lf,mf)};C.prototype.findMainElement=C.prototype.Ld=function(){if(null===this.Al){var a=this.xa.n,b=a.length;if(0===b)return null;for(var c=0;cc||p>d)this.H(),xk(this,n>c?c:n,p>d?d:p);break;case Fe:this.H(!0);xk(this,c+r,d+s,0,0);break;case qo:this.H(!0);xk(this,c+r,p+s,0,0);break;case po:this.H(!0),xk(this,n+r,d+s,0,0)}}k=this.W;k.x=a;k.y=b; k.width=c;k.height=d;var u=this.na.Sb;switch(u){case "Position":for(var t=f.length,x=e.x-this.padding.left,v=e.y-this.padding.top,A=0;Al.width||k.y>l.height||0>k.x+k.width||0>k.y+k.height||(h instanceof C&&aq(h,b,c,d),null!==b&&(h=b(h)),null===h||null!==c&&!c(h)||d.add(h))}}} g.wn=function(a,b,c,d,e,f){if(!1===this.Wg)return!1;void 0===c&&(c=null);void 0===d&&(d=null);var h=this.Ja,k=this.ah(),l=k?a:Pa(w.xb(a.x,a.y),this.transform),m=k?b:Pa(w.xb(b.x,b.y),this.transform),n=l.Af(m),p=0u.width||s.y>u.height||0>s.x+s.width||0>s.y+s.height||(r.ah()?(s=r.transform,Pa(k.set(a),s),Pa(l.set(b),s)):(k.set(a),l.set(b)),s=r,r=r instanceof C?r:null,null!==r?!r.wn(k,l,c,d,e,f):!s.SE(k,l,e))||(null!==c&&(s=c(s)),null===s||null!==d&&!d(s)||f.add(s))}}w.v(k);w.v(l)}return e? -p:h}return!1};function Mp(a){var b=null;a instanceof X&&(b=a.A,b===qc&&(b=null),a=a.lf,null!==a&&null===b&&(b=a.A));null===b&&(b=Ab);return b}function Np(a){var b=null;a instanceof X&&(b=a.B,b===qc&&(b=null),a=a.lf,null!==a&&null===b&&(b=a.B));null===b&&(b=Sb);return b}C.prototype.add=C.prototype.add=function(a){w.G(a,G,C,"add:element");this.Qd(this.xa.count,a)};C.prototype.elt=C.prototype.da=function(a){return this.xa.da(a)}; +p:h}return!1};function Mp(a){var b=null;a instanceof X&&(b=a.A,b===qc&&(b=null),a=a.mf,null!==a&&null===b&&(b=a.A));null===b&&(b=Ab);return b}function Np(a){var b=null;a instanceof X&&(b=a.B,b===qc&&(b=null),a=a.mf,null!==a&&null===b&&(b=a.B));null===b&&(b=Sb);return b}C.prototype.add=C.prototype.add=function(a){w.G(a,G,C,"add:element");this.Qd(this.xa.count,a)};C.prototype.elt=C.prototype.da=function(a){return this.xa.da(a)}; C.prototype.insertAt=C.prototype.Qd=function(a,b){b instanceof R&&w.k("Cannot add a Part to a Panel: "+b+"; use a Panel instead");if(this===b||this.bm(b))this===b&&w.k("Cannot make a Panel contain itself: "+this.toString()),w.k("Cannot make a Panel indirectly contain itself: "+this.toString()+" already contains "+b.toString());var c=b.Q;null!==c&&c!==this&&w.k("Cannot add a GraphObject that already belongs to another Panel to this Panel: "+b.toString()+", already contained by "+c.toString()+", cannot be shared by this Panel: "+ this.toString());this.na!==Il||b instanceof X||w.k("Can only add Shapes to a Grid Panel, not: "+b);this.na!==ip||b instanceof X||b instanceof Lh||w.k("Can only add Shapes or TextBlocks to a Graduated Panel, not: "+b);b.im(this);b.Vm=null;if(null!==this.bq){var d=b.data;null!==d&&"object"===typeof d&&(null===this.xg&&(this.xg=new ma(Object,C)),this.xg.add(d,b))}var e=this.xa,d=-1;if(c===this){for(var f=-1,h=this.xa.n,k=h.length,l=0;l=e.count&& -a>=e.count)return;e.bd(f);d=f}else w.k("element "+b.toString()+" has panel "+c.toString()+" but is not contained by it.")}if(0>a||a>e.count)a=e.count;e.Qd(a,b);if(0===a||b.qf)this.Al=null;this.H();b.H();null!==b.Ud?this.Fk=!0:b instanceof C&&!0===b.Fk&&(this.Fk=!0);this.Vj=null;c=this.U;null!==c&&(c.Qm=null,c.dk=NaN,this.Fk&&c instanceof T&&(c.Fk=!0),c.Fk&&c instanceof T&&(c.ne=null),e=this.g,null!==e&&e.ha.ab||(-1!==d&&c.ad(Qf,"elements",this,b,null,d,null),c.ad(Pf,"elements",this,null,b,null,a), -this.fu()||bq(this,b,!1)))};w.defineProperty(C,{Fk:null},function(){return 0!==(this.O&8388608)},function(a){0!==(this.O&8388608)!==a&&(this.O^=8388608)});function cq(a,b){a.O=b?a.O|16777216:a.O&-16777217}C.prototype.remove=C.prototype.remove=function(a){w.G(a,G,C,"remove:element");for(var b=this.xa.n,c=b.length,d=-1,e=0;e=e.count)return;e.bd(f);d=f}else w.k("element "+b.toString()+" has panel "+c.toString()+" but is not contained by it.")}if(0>a||a>e.count)a=e.count;e.Qd(a,b);if(0===a||b.df)this.Al=null;this.H();b.H();null!==b.Ud?this.Fk=!0:b instanceof C&&!0===b.Fk&&(this.Fk=!0);this.Vj=null;c=this.U;null!==c&&(c.Qm=null,c.dk=NaN,this.Fk&&c instanceof T&&(c.Fk=!0),c.Fk&&c instanceof T&&(c.ne=null),e=this.g,null!==e&&e.ha.ab||(-1!==d&&c.ad(Qf,"elements",this,b,null,d,null),c.ad(Pf,"elements",this,null,b,null,a), +this.fu()||bq(this,b,!1)))};w.defineProperty(C,{Fk:null},function(){return 0!==(this.O&8388608)},function(a){0!==(this.O&8388608)!==a&&(this.O^=8388608)});function cq(a,b){a.O=b?a.O|16777216:a.O&-16777217}C.prototype.remove=C.prototype.remove=function(a){w.G(a,G,C,"remove:element");for(var b=this.xa.n,c=b.length,d=-1,e=0;ea&&w.Fa(a,">= 0",C,"getRowDefinition:idx");a=Math.round(a);var b=this.ae;if(void 0===b[a]){var c=new Wg;c.im(this);c.xe=!0;c.index=a;b[a]=c}return b[a]};C.prototype.removeRowDefinition=C.prototype.XF=function(a){0>a&&w.Fa(a,">= 0",C,"removeRowDefinition:idx");a=Math.round(a);var b=this.ae;this.ad(Qf,"coldefs",this,b[a],null,a,null);b[a]&&delete b[a];this.H()};w.u(C,{Hp:"columnCount"},function(){return void 0===this.Xd?0:this.Xd.length}); C.prototype.getColumnDefinition=C.prototype.Md=function(a){0>a&&w.Fa(a,">= 0",C,"getColumnDefinition:idx");a=Math.round(a);var b=this.Xd;if(void 0===b[a]){var c=new Wg;c.im(this);c.xe=!1;c.index=a;b[a]=c}return b[a]};C.prototype.removeColumnDefinition=C.prototype.VF=function(a){0>a&&w.Fa(a,">= 0",C,"removeColumnDefinition:idx");a=Math.round(a);var b=this.Xd;this.ad(Qf,"coldefs",this,b[a],null,a,null);b[a]&&delete b[a];this.H()}; w.defineProperty(C,{wJ:"rowSizing"},function(){return void 0===this.Ym?hp:this.Ym},function(a){if(void 0!==this.Ym){var b=this.Ym;b!==a&&(a!==hp&&a!==Pp&&w.k("Panel.rowSizing must be RowColumnDefinition.ProportionalExtra or RowColumnDefinition.None, not: "+a),this.Ym=a,this.H(),this.h("rowSizing",b,a))}}); w.defineProperty(C,{sH:"columnSizing"},function(){return void 0===this.xm?hp:this.xm},function(a){if(void 0!==this.xm){var b=this.xm;b!==a&&(a!==hp&&a!==Pp&&w.k("Panel.columnSizing must be RowColumnDefinition.ProportionalExtra or RowColumnDefinition.None, not: "+a),this.xm=a,this.H(),this.h("columnSizing",b,a))}}); w.defineProperty(C,{WL:"topIndex"},function(){return void 0===this.ej?0:this.ej},function(a){if(void 0!==this.ej){var b=this.ej;b!==a&&((!isFinite(a)||0>a)&&w.k("Panel.topIndex must be greater than zero and a real number, not: "+a),this.ej=a,this.H(),this.h("topIndex",b,a))}}); w.defineProperty(C,{jL:"leftIndex"},function(){return void 0===this.Pi?0:this.Pi},function(a){if(void 0!==this.Pi){var b=this.Pi;b!==a&&((!isFinite(a)||0>a)&&w.k("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.Pi=a,this.H(),this.h("leftIndex",b,a))}});C.prototype.findRowForLocalY=function(a){if(0>a||this.type!==So)return-1;for(var b=0,c=this.ae,d=c.length,e=this.ej;ea||this.type!==So)return-1;for(var b=0,c=this.Xd,d=c.length,e=this.Pi;ea||this.type!==So)return-1;for(var b=0,c=this.Xd,d=c.length,e=this.Pi;ea;)this.of(this.xa.length-1,!1);a=this.bq;if(null!==a)for(var b=w.Za(a),c=0;ca;)this.pf(this.xa.length-1,!1);a=this.bq;if(null!==a)for(var b=w.Za(a),c=0;cc)){var d;d=dq(a,b);var e=a.CI,f=null;null!==e&&(f=e.ka(d));null===f&&(eq||(eq=!0,w.trace('No item template Panel found for category "'+d+'" on '+a),w.trace(" Using default item template."),d=new C,e=new Lh,e.bind(new bh("text","",Rf)),d.add(e),fq=d),f=fq);d=f;null!==d&&(mh(d),d=d.copy(),0!==(d.O&16777216)&&(e=a.Ul(),null!==e&&cq(e,!0)),"object"===typeof b&&(null===a.xg&&(a.xg=new ma(Object,C)),a.xg.add(b,d)),e=c,ln(a)&&e++,a.Qd(e,d),d.Zd=b,mn(a,e, c),d.Zd=null,d.data=b)}}function mn(a,b,c){for(a=a.xa;ba&&w.Fa(a,">= 0",Wg,"height"),this.kf=a,this.Ya=this.Ra,null!==this.Q&&this.Q.H(),this.hd("height",b,a))});w.defineProperty(Wg,{width:"width"},function(){return this.kf},function(a){var b=this.kf;b!==a&&(0>a&&w.Fa(a,">= 0",Wg,"width"),this.kf=a,this.Ya=this.Ra,null!==this.Q&&this.Q.H(),this.hd("width",b,a))}); +w.defineProperty(Wg,{height:"height"},function(){return this.lf},function(a){var b=this.lf;b!==a&&(0>a&&w.Fa(a,">= 0",Wg,"height"),this.lf=a,this.Ya=this.Ra,null!==this.Q&&this.Q.H(),this.hd("height",b,a))});w.defineProperty(Wg,{width:"width"},function(){return this.lf},function(a){var b=this.lf;b!==a&&(0>a&&w.Fa(a,">= 0",Wg,"width"),this.lf=a,this.Ya=this.Ra,null!==this.Q&&this.Q.H(),this.hd("width",b,a))}); w.defineProperty(Wg,{Bh:"minimum"},function(){return this.fk},function(a){var b=this.fk;b!==a&&((0>a||!isFinite(a))&&w.Fa(a,">= 0",Wg,"minimum"),this.fk=a,this.Ya=this.Ra,null!==this.Q&&this.Q.H(),this.hd("minimum",b,a))});w.defineProperty(Wg,{he:"maximum"},function(){return this.ek},function(a){var b=this.ek;b!==a&&(0>a&&w.Fa(a,">= 0",Wg,"maximum"),this.ek=a,this.Ya=this.Ra,null!==this.Q&&this.Q.H(),this.hd("maximum",b,a))}); w.defineProperty(Wg,{alignment:"alignment"},function(){return this.ie},function(a){var b=this.ie;b.L(a)||(this.ie=a.S(),null!==this.Q&&this.Q.H(),this.hd("alignment",b,a))});w.defineProperty(Wg,{stretch:"stretch"},function(){return this.Gg},function(a){var b=this.Gg;b!==a&&(this.Gg=a,null!==this.Q&&this.Q.H(),this.hd("stretch",b,a))}); w.defineProperty(Wg,{iG:"separatorPadding"},function(){return this.jk},function(a){"number"===typeof a&&(a=new hb(a));var b=this.jk;null!==a&&null!==b&&b.L(a)||(null!==a&&(a=a.S()),this.jk=a,null!==this.Q&&this.Q.H(),this.hd("separatorPadding",b,a))});w.defineProperty(Wg,{pq:"separatorStroke"},function(){return this.Ys},function(a){var b=this.Ys;b!==a&&(null===a||"string"===typeof a||a instanceof ha)&&(a instanceof ha&&a.freeze(),this.Ys=a,null!==this.Q&&this.Q.H(),this.hd("separatorStroke",b,a))}); w.defineProperty(Wg,{qq:"separatorStrokeWidth"},function(){return this.Zs},function(a){var b=this.Zs;b!==a&&(this.Zs=a,null!==this.Q&&this.Q.H(),this.hd("separatorStrokeWidth",b,a))}); w.defineProperty(Wg,{KL:"separatorDashArray"},function(){return this.$h},function(a){var b=this.$h;if(b!==a){null===a||Array.isArray(a)||w.Bd(a,"Array",Wg,"separatorDashArray:value");if(null!==a){for(var c=a.length,d=0,e=0;ex.tf);else{var t=sf(x,m),v=t.length;if(0===v){a.lineTo(x. y[4],y[5],y[6],y[7]);break;default:w.k("Segment not of valid type: "+x.na)}x.Rh&&a.closePath();t=x}e?(u=s=p=0,m.Oo?(!0===m.Fm&&null!==this.Dd?(a.Mg(this.Dd),f=!0):f=!1,0!==c&&null!==this.rc&&(f&&(p=a.shadowOffsetX,s=a.shadowOffsetY,u=a.shadowBlur,a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowBlur=0),d&&!h||a.Cj(),f&&(a.shadowOffsetX=p,a.shadowOffsetY=s,a.shadowBlur=u))):(f&&(p=a.shadowOffsetX,s=a.shadowOffsetY,u=a.shadowBlur,a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowBlur=0),!0===m.Fm&&null!==this.Dd&& a.Mg(this.Dd),0!==c&&null!==this.rc&&(d&&!h||a.Cj()),f&&(a.shadowOffsetX=p,a.shadowOffsetY=s,a.shadowBlur=u))):(!0===m.Fm&&null!==this.Dd&&a.Mg(this.Dd),0===c||null===this.rc||d&&!h||a.Cj())}if(d&&!h)for(c=f,f=l.Pj,h=f.length,l=0;le)){var f=.001,h=c.length,k=b[0],l=b[1];if(4===e)yo(a,k,l,b[2],b[3],c,d);else{a.moveTo(k,l);for(var m=f=0,n=0,p=0,q=0,r=p=0,s=w.eb(),u=2;ur&&(f=r);f>p?(t=f-p,f=p):t=0;var x=Math.sqrt(f*f/(1+q*q));0>n&&(x=-x);k+=x;l+= q*x;e?a.lineTo(k,l):a.moveTo(k,l);r-=f;p-=f;if(0!==t){u++;if(u===s.length){w.ta(s);return}p=s[u];n=p[0];q=p[1];p=p[2];f=t}else e=!e}w.ta(s)}}}X.prototype.getDocumentPoint=X.prototype.Wa=function(a,b){void 0===b&&(b=new z);if(a instanceof L){a.Sd()&&w.k("getDocumentPoint Spot must be a real, specific Spot, not: "+a.toString());var c=this.Ja,d=this.mb;b.m(a.x*(c.width+d)-d/2+c.x+a.offsetX,a.y*(c.height+d)-d/2+c.y+a.offsetY)}else b.set(a);this.rh.ob(b);return b}; -X.prototype.wk=function(a,b){var c=this.lf;if(null===c||null===this.fill&&null===this.stroke)return!1;var d=c.hb,e=this.mb/2;c.type!==Ge||b||(e+=2);var f=w.If();f.assign(d);f.Yf(e+2,e+2);if(!f.Ia(a))return w.Db(f),!1;d=e+1E-4;if(c.type===Ge){if(null===this.stroke)return!1;d=(c.C-c.ia)*(a.x-c.ia)+(c.D-c.ea)*(a.y-c.ea);if(0>(c.ia-c.C)*(a.x-c.C)+(c.ea-c.D)*(a.y-c.D)||0>d)return!1;w.Db(f);return Ud(c.ia,c.ea,c.C,c.D,e,a.x,a.y)}if(c.type===He){var h=c.ia,k=c.ea,l=c.C,m=c.D;f.x=Math.min(h,l);f.y=Math.min(k, +X.prototype.wk=function(a,b){var c=this.mf;if(null===c||null===this.fill&&null===this.stroke)return!1;var d=c.hb,e=this.mb/2;c.type!==Ge||b||(e+=2);var f=w.If();f.assign(d);f.Yf(e+2,e+2);if(!f.Ia(a))return w.Db(f),!1;d=e+1E-4;if(c.type===Ge){if(null===this.stroke)return!1;d=(c.C-c.ia)*(a.x-c.ia)+(c.D-c.ea)*(a.y-c.ea);if(0>(c.ia-c.C)*(a.x-c.C)+(c.ea-c.D)*(a.y-c.D)||0>d)return!1;w.Db(f);return Ud(c.ia,c.ea,c.C,c.D,e,a.x,a.y)}if(c.type===He){var h=c.ia,k=c.ea,l=c.C,m=c.D;f.x=Math.min(h,l);f.y=Math.min(k, m);f.width=Math.abs(l-h);f.height=Math.abs(m-k);if(null===this.fill){f.Yf(-d,-d);if(f.Ia(a))return w.Db(f),!1;f.Yf(d,d)}null!==this.stroke&&f.Yf(e,e);e=f.Ia(a);w.Db(f);return e}if(c.type===Le){var h=c.ia,k=c.ea,l=c.C,m=c.D,c=Math.min(h,l),n=Math.min(k,m),h=Math.abs(l-h)/2,k=Math.abs(m-k)/2,c=a.x-(c+h),n=a.y-(n+k);if(null===this.fill){h-=d;k-=d;if(0>=h||0>=k||1>=c*c/(h*h)+n*n/(k*k))return w.Db(f),!1;h+=d;k+=d}null!==this.stroke&&(h+=e,k+=e);w.Db(f);return 0>=h||0>=k?!1:1>=c*c/(h*h)+n*n/(k*k)}if(c.type=== De)return w.Db(f),null===this.fill?vf(c,a.x,a.y,e):c.Ia(a,e,1=e||Sa(b,f,0,-p)>=e||Sa(b,f,0,p)>=e||Sa(b,f,n,0)>= e?!1:!0}else if(f.type===De){h=f.hb;k=h.x;l=h.y;m=h.x+h.width;h=h.y+h.height;if(a.x>m&&a.xh&&a.ye&&Ra(a.x,a.y,k,l,m,l)>e&&Ra(a.x,a.y,m,h,k,h)>e&&Ra(a.x,a.y,m,h,m,l)>e)return!1;b=Math.sqrt(e);if(c){if(null===this.fill?vf(f,a.x,a.y,b):f.Ia(a,b,!0))return!0}else{c=f.fc;for(b=0;be)return!1;l=k.wb.n;m=l.length;for(h=0;he)return!1;break;case of:f=w.eb(); Xd(n,p,q.tc,q.Qc,q.Ch,q.Dh,q.C,q.D,.8,f);n=d(f,a);w.ta(f);if(n)return!1;n=q.C;p=q.D;if(a.Op(n,p)>e)return!1;break;case pf:f=w.eb();he(n,p,q.tc,q.Qc,q.C,q.D,.8,f);n=d(f,a);w.ta(f);if(n)return!1;n=q.C;p=q.D;if(a.Op(n,p)>e)return!1;break;case qf:case rf:var r=q.type===qf?sf(q,k):tf(q,k,n,p),s=r.length;if(0===s){n=q.la;p=q.ra;if(a.Op(n,p)>e)return!1;break}q=null;f=w.eb();for(b=0;b= 0",X,"strokeWidth:value")});w.defineProperty(X,{PL:"strokeCap"},function(){return this.op},function(a){var b=this.op;b!==a&&("string"!==typeof a||"butt"!==a&&"round"!==a&&"square"!==a?w.Fa(a,'"butt", "round", or "square"',X,"strokeCap"):(this.op=a,this.oa(),this.h("strokeCap",b,a)))}); w.defineProperty(X,{RL:"strokeJoin"},function(){return this.qp},function(a){var b=this.qp;b!==a&&("string"!==typeof a||"miter"!==a&&"bevel"!==a&&"round"!==a?w.Fa(a,'"miter", "bevel", or "round"',X,"strokeJoin"):(this.qp=a,this.oa(),this.h("strokeJoin",b,a)))});w.defineProperty(X,{SL:"strokeMiterLimit"},function(){return this.fn},function(a){var b=this.fn;if(b!==a)if(1<=a){this.fn=a;this.oa();var c=this.U;null!==c&&(c.dk=NaN);this.h("strokeMiterLimit",b,a)}else w.Fa(a,"value >= 1",X,"strokeWidth:value")}); @@ -1328,7 +1328,7 @@ w.defineProperty(Lh,{FG:"wrap"},function(){return this.sk},function(a){var b=thi w.defineProperty(Lh,{jA:"editable"},function(){return this.qr},function(a){var b=this.qr;b!==a&&(this.qr=a,this.h("editable",b,a))});w.defineProperty(Lh,{tG:"textEditor"},function(){return this.mt},function(a){var b=this.mt;b!==a&&(this.mt=a,this.h("textEditor",b,a))});w.defineProperty(Lh,{lA:"errorFunction"},function(){return this.Ve},function(a){var b=this.Ve;b!==a&&(null!==a&&w.j(a,"function",Lh,"errorFunction"),this.Ve=a,this.h("errorFunction",b,a))}); w.defineProperty(Lh,{interval:"interval"},function(){return this.vg},function(a){var b=this.vg;a=Math.floor(a);if(b!==a&&0<=a){this.vg=a;this.H();var c=this.Q;null!==c&&c.type===ip&&(c.Vj=null);this.h("interval",b,a)}});w.defineProperty(Lh,{cF:"graduatedStart"},function(){return this.ug},function(a){var b=this.ug;b!==a&&(0>a?a=0:1a?a=0:1n*l*l&&(h=!0);b.ff!==a&&(h=!1);!1===b.pj("textGreeking")&&(h=!1);n=this.ei;l=this.fi;switch(this.Tt){case so:a.translate(c, +Lh.prototype.zk=function(a,b){if(null!==this.rc&&0!==this.Jd.length&&null!==this.rg){var c=this.Ja.width,d=this.Ja.height,e=Gq(this),f=a.textAlign=this.Bl,h=b.Lr;"start"===f&&(f=h?"right":"left");"end"===f&&(f=h?"left":"right");No(this,a,this.rc,!0,!1);(this.$j||this.Zj)&&No(this,a,this.rc,!1,!1);var k=0,h=!1,l=w.xb(0,0);this.rh.ob(l);var m=w.xb(0,e);this.rh.ob(m);var n=l.Af(m);w.v(l);w.v(m);l=b.scale;8>n*l*l&&(h=!0);b.gf!==a&&(h=!1);!1===b.pj("textGreeking")&&(h=!1);n=this.ei;l=this.fi;switch(this.Tt){case so:a.translate(c, 0);a.scale(-1,1);break;case ro:a.translate(0,d);a.scale(1,-1);break;case to:a.translate(c,d),a.scale(-1,-1)}var m=this.le,p=(n+e+l)*m;d>p&&(k=this.Fl,k=k.y*d-k.y*p+k.offsetY);for(var p=this.wf,q=0;qc&&(r=c);var k=k+n,u=s,s=a,t=k,x=c,v=e,A=f,y=0;h?("left"===A?y=0:"right"===A?y=x-r:"center"===A&&(y=(x-r)/2),s.fillRect(0+y,t+.25*v,r,1)):("left"===A?y=0:"right"===A?y=x:"center"===A&&(y=x/2),s.fillText(u,0+y,t+v-.25*v),u=v/20|0,0===u&&(u=1),"right"===A?y-=r:"center"=== A&&(y-=r/2),this.$j&&(s.beginPath(),s.lineWidth=u,s.moveTo(0+y,t+v-.2*v),s.lineTo(0+y+r,t+v-.2*v),s.stroke()),this.Zj&&(s.beginPath(),s.lineWidth=u,t=t+v-v/2.2|0,0!==u%2&&(t+=.5),s.moveTo(0+y,t),s.lineTo(0+y+r,t),s.stroke()));k+=e+l}switch(this.Tt){case so:a.scale(-1,1);a.translate(-c,0);break;case ro:a.scale(1,-1);a.translate(0,-d);break;case to:a.scale(-1,-1),a.translate(-c,-d)}}}; Lh.prototype.Mn=function(a,b,c,d){this.To=a;var e=this.wf;e.reset();var f=0,h=0;if(isNaN(this.Ca.width)){f=this.Jd.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(0===f.length)f=0;else if(this.Cx){for(var k=h=0,l=!1;!l;){var m=f.indexOf("\n",k);-1===m&&(m=f.length,l=!0);k=Hq(f.substr(k,m-k).replace(/^\s+|\s+$/g,""),this.rg);k>h&&(h=k);k=m+1}f=h}else h=f.indexOf("\n",0),0<=h&&(f=f.substr(0,h)),f=k=Hq(f,this.rg);f=Math.min(f,a/this.scale);f=Math.max(8,f)}else f=this.Ca.width;null!==this.Q&&(f=Math.min(f, @@ -1489,19 +1489,19 @@ OpenRightTriangleTop:"m 8,0 l 0,4 -8,0 m 0,4",OpenRightTriangleBottom:"m 8,8 l 0 function nq(a){var b=Rd[a];if(void 0===b){var c=a.toLowerCase();if("none"===c)return"None";b=Rd[c];if(void 0===b){var d=null,e;for(e in qq)if(e.toLowerCase()===c){d=e;break}if(null!==d)return a=Pe(qq[d],!1),Rd[d]=a,c!==d&&(Rd[c]=d),d}}return"string"===typeof b?b:b instanceof Ce?a:null} function R(a){C.call(this,a);this.N=2408959;this.rl=this.yi="";this.Ms=this.Js=this.Vs=this.Ur=null;this.Xs="";this.wi=this.Fr=this.Ws=this.bn=null;this.Ls="";this.fp=null;this.Ks=Gd;this.Ns="";this.gp=null;this.Jd="";this.Vv=this.Tq=this.bl=null;this.Si=(new z(NaN,NaN)).freeze();this.Zr="";this.ul=null;this.$r=Ab;this.hs=pd;this.as=qd;this.mr=null;this.Vr=Xq;this.dn=od;this.cn="gray";this.Fg=4;this.dD=-1;this.vt=NaN;this.LG=new B;this.Qm=null;this.dk=NaN}w.Ka(R,C);w.ga("Part",R); R.prototype.cloneProtected=function(a){C.prototype.cloneProtected.call(this,a);a.N=this.N&-4097|49152;a.yi=this.yi;a.rl=this.rl;a.Ur=this.Ur;a.Vs=this.Vs;a.Js=this.Js;a.Ms=this.Ms;a.Xs=this.Xs;a.Ws=this.Ws;a.Fr=this.Fr;a.wi=null;a.Ls=this.Ls;a.Ks=this.Ks.S();a.Ns=this.Ns;a.Jd=this.Jd;a.Tq=this.Tq;a.Si.assign(this.Si);a.Zr=this.Zr;a.$r=this.$r.S();a.hs=this.hs.S();a.as=this.as.S();a.mr=this.mr;a.Vr=this.Vr;a.dn=this.dn.S();a.cn=this.cn;a.Fg=this.Fg;a.vt=this.vt}; -R.prototype.ni=function(a){C.prototype.ni.call(this,a);a.Gk();a.bn=null;a.fp=null;a.gp=null;a.ul=null;a.Qm=null};R.prototype.toString=function(){var a=w.mf(Object.getPrototypeOf(this))+"#"+w.Od(this);null!==this.data&&(a+="("+Rf(this.data)+")");return a};R.LayoutNone=0;var Mm;R.LayoutAdded=Mm=1;var Vm;R.LayoutRemoved=Vm=2;R.LayoutShown=4;R.LayoutHidden=8;R.LayoutNodeSized=16;var Bn;R.LayoutGroupLayout=Bn=32;R.LayoutNodeReplaced=64;var Xq;R.LayoutStandard=Xq=Mm|Vm|28|Bn|64;R.LayoutAll=16777215; +R.prototype.ni=function(a){C.prototype.ni.call(this,a);a.Gk();a.bn=null;a.fp=null;a.gp=null;a.ul=null;a.Qm=null};R.prototype.toString=function(){var a=w.nf(Object.getPrototypeOf(this))+"#"+w.Od(this);null!==this.data&&(a+="("+Rf(this.data)+")");return a};R.LayoutNone=0;var Mm;R.LayoutAdded=Mm=1;var Vm;R.LayoutRemoved=Vm=2;R.LayoutShown=4;R.LayoutHidden=8;R.LayoutNodeSized=16;var Bn;R.LayoutGroupLayout=Bn=32;R.LayoutNodeReplaced=64;var Xq;R.LayoutStandard=Xq=Mm|Vm|28|Bn|64;R.LayoutAll=16777215; R.prototype.Un=function(a,b,c,d,e,f,h){var k=this.g;null!==k&&(a===Pf&&"elements"===b?e instanceof C?Nm(e,function(a){Pm(k,a);Om(k,a)}):e instanceof xl&&nn(k,e):a===Qf&&"elements"===b&&(e instanceof C?Nm(e,function(a){Tm(k,a);Sm(k,a)}):e instanceof xl&&on(k,e)),k.ad(a,b,c,d,e,f,h))};R.prototype.updateTargetBindings=R.prototype.Ib=function(a){C.prototype.Ib.call(this,a);if(null!==this.data){a=this.xa.n;for(var b=a.length,c=0;cq.width||p.y>q.height||0>p.x+p.width||0>p.y+p.height)){p=w.Jf();p.set(h);if(n instanceof C)k=n.Ak(a,b,c,d,e,p);else if(this.path=== n){if(n instanceof X){var k=n,r=a,s=d,q=p;if(!1===k.Wg)k=!1;else if(q.multiply(k.transform),s)b:{var u=r,t=q;if(k.qn(u,t))k=!0;else{if(void 0===t&&(t=k.transform,u.xk(k.W))){k=!0;break b}var q=u.left,r=u.right,s=u.top,u=u.bottom,x=w.K(),v=w.K(),A=w.K(),y=w.Jf();y.set(t);y.IF(k.transform);y.wx();v.x=r;v.y=s;v.transform(y);x.x=q;x.y=s;x.transform(y);t=!1;mq(k,x,v,A)?t=!0:(x.x=r,x.y=u,x.transform(y),mq(k,x,v,A)?t=!0:(v.x=q,v.y=u,v.transform(y),mq(k,x,v,A)?t=!0:(x.x=q,x.y=s,x.transform(y),mq(k,x,v,A)&& (t=!0))));w.we(y);w.v(x);w.v(v);w.v(A);k=t}}else k=k.qn(r,q)}}else k=Do(n,a,d,p);k&&(null!==b&&(n=b(n)),n&&(null===c||c(n))&&(e instanceof I&&e.add(n),e instanceof H&&e.add(n)));w.we(p)}}}void 0===f&&w.we(h);return k||null!==this.background||null!==this.ln}void 0===f&&w.we(h);return!1};w.u(W,{ac:"isOrthogonal"},function(){return 2===(this.Xm.value&2)});w.u(W,{$l:"isAvoiding"},function(){return 4===(this.Xm.value&4)}); -W.prototype.computeCurve=function(){if(null===this.Ji){var a=this.Bc,b=this.ac;this.Ji=null!==a&&a===this.cd&&!b}return this.Ji?Jj:this.af};W.prototype.computeCorner=function(){if(this.af===Jj)return 0;var a=this.eA;if(isNaN(a)||0>a)a=10;return a};W.prototype.findMidLabel=function(){for(var a=this.path,b=this.xa.n,c=b.length,d=0;da)a=10;return a};W.prototype.findMidLabel=function(){for(var a=this.path,b=this.xa.n,c=b.length,d=0;dh.left&&l.x=h.top&&c.y<=a.y||a.y<=k.bottom&&a.y>=c.y){if(0===d||180===d)l=new z(a.x,Math.max((a.y+c.y)/2,a.y)),m=new z(c.x,l.y)}else l.x=180===d||(90===d||270===d)&&c.xa.x&&k.top=a.x?(l.y=a.y>k.bottom?this.computeMidOrthoPosition(a.y,k.bottom,!0):a.y>k.top&&(180===d&&a.xk.right)?this.computeMidOrthoPosition(a.y,c.y,!0):k.top,m.x=c.x,m.y=l.y):270===d&&a.y>k.bottom&&a.x>k.left&&a.xh.right)90===d&&(k.Ia(a)||h.Ia(c))?l.x=this.computeMidOrthoPosition(a.x, c.x,!1):c.xa.x&&(90===d||180===d)&&(l.x=this.computeMidOrthoPosition(h.right,Math.min(c.x,k.left),!1)),m.x=l.x,m.y=c.y;if(l.x>h.left&&l.x=a.y||a.y>=k.top&&a.y<=c.y){if(0===d||180===d)l=new z(a.x,Math.min((a.y+c.y)/2,a.y)),m=new z(c.x,l.y)}else l.x=180===d||(90===d||270===d)&&c.xk&&0!==Ur(s,c.x,c.y)){Vr(this,s,c.x,c.y,d,!0);h=this.l(2);if(4>this.qa)0===b||180===b?(h.x=a.x,h.y=c.y):(h.x=c.x,h.y=a.y),this.ba(2,h.x,h.y),this.w(3,h.x,h.y);else if(c= this.l(3),0===b||180===b)J(h.x,c.x)?(h=0===b?Math.max(h.x,a.x):Math.min(h.x,a.x),this.ba(2,h,a.y),this.ba(3,h,c.y)):J(h.y,c.y)?(Math.abs(a.y-h.y)<=s.Cp/2&&(this.ba(2,h.x,a.y),this.ba(3,c.x,a.y)),this.w(2,h.x,a.y)):this.ba(2,a.x,h.y);else if(90===b||270===b)J(h.y,c.y)?(h=90===b?Math.max(h.y,a.y):Math.min(h.y,a.y),this.ba(2,a.x,h),this.ba(3,c.x,h)):J(h.x,c.x)?(Math.abs(a.x-h.x)<=s.Ep/2&&(this.ba(2,a.x,h.y),this.ba(3,a.x,c.y)),this.w(2,a.x,h.y)):this.ba(2,h.x,a.y);null!==r&&(a=this.l(1),c=this.l(2), a.x!==c.x&&a.y!==c.y?0===b||180===b?this.w(2,a.x,c.y):this.w(2,c.x,a.y):0===b||180===b?this.w(2,e.x,r.y):this.w(2,r.x,e.y));null!==u&&(0===d||180===d?this.hj(f.x,u.y):this.hj(u.x,f.y));b=!0}else b=!1}}}else b=!1;b||(this.li(l),this.li(m))}};W.prototype.computeMidOrthoPosition=function(a,b){if(this.hasCurviness()){var c=this.computeCurviness();return(a+b)/2+c}return(a+b)/2}; function Bi(a){if(null===a.g||!a.$l)return!1;var b=a.points.n,c=b.length;if(4>c)return!1;a=En(a.g,!0,a.Da,null);for(var d=1;da)return new Ce(Ge);var b=!1,c=this.g;null!==c&&Lr(this)&&c.dl.contains(this)&&null!==this.rw&&(b=!0);var d=c=0,e=this.l(0).copy(),f=e.copy(),c=this.gd.n,h=this.computeCurve();if(h===Jj&&3<=a&&!Wa(this.tq,0))if(3===a)var k=this.l(1),c=Math.min(e.x,k.x),d=Math.min(e.y,k.y),k=this.l(2),c=Math.min(c,k.x),d=Math.min(d,k.y);else{if(this.ac)for(k=0;k=a&&(k=a-1),c=this.l(k), f.x=Math.min(c.x,f.x),f.y=Math.min(c.y,f.y);c=f.x;d=f.y}else{for(k=0;kx?r>q?(u.x=v-y,u.y=q-y,t.x=v+s,t.y=q+s):(u.x=v-y,u.y=q+y,t.x=v+s,t.y=q-s):r>q?(u.x=v+y,u.y=q-y,t.x=v-s,t.y=q+s):(u.x=v+y,u.y=q+y,t.x=v-s,t.y=q-s));Wa(x,v)&&Wa(q,r)&&(q>p?(A>v?(u.x= @@ -1737,17 +1737,17 @@ function is(a,b,c,d){for(var e=a.Oc;e.next();){var f=e.value;f.yd(!0);if(f insta w.defineProperty(V,{Zc:"isSubGraphExpanded"},function(){return 0!==(this.ya&512)},function(a){var b=0!==(this.ya&512);if(b!==a){w.j(a,"boolean",V,"isSubGraphExpanded");this.ya^=512;var c=this.g;this.h("isSubGraphExpanded",b,a);b=this.IJ;if(null!==b){var d=!0;null!==c&&(d=c.Ta,c.Ta=!0);b(this);null!==c&&(c.Ta=d)}null!==c&&c.ha.ab?null!==this.Lb&&this.Lb.H():a?this.expandSubGraph():this.collapseSubGraph()}}); w.defineProperty(V,{ty:"wasSubGraphExpanded"},function(){return 0!==(this.ya&1024)},function(a){var b=0!==(this.ya&1024);b!==a&&(w.j(a,"boolean",V,"wasSubGraphExpanded"),this.ya^=1024,this.h("wasSubGraphExpanded",b,a))});w.defineProperty(V,{IJ:"subGraphExpandedChanged"},function(){return this.ht},function(a){var b=this.ht;b!==a&&(null!==a&&w.j(a,"function",V,"subGraphExpandedChanged"),this.ht=a,this.h("subGraphExpandedChanged",b,a))}); V.prototype.move=function(a){var b=this.position,c=b.x;isNaN(c)&&(c=0);b=b.y;isNaN(b)&&(b=0);var c=a.x-c,b=a.y-b,d=w.xb(c,b);T.prototype.move.call(this,a);for(a=this.Rp().i;a.next();){var e=a.value;e instanceof W&&(e.Ej=!0)}for(a.reset();a.next();)if(e=a.value,!(e instanceof W||e instanceof T&&e.Bf)){var f=e.position,h=e.location;f.I()?(d.x=f.x+c,d.y=f.y+b,e.position=d):h.I()&&(d.x=h.x+c,d.y=h.y+b,e.location=d)}for(a.reset();a.next();)e=a.value,e instanceof W&&(e.Lf||e.Y!==this&&e.Z!==this)&&(f=e.position, -d.x=f.x+c,d.y=f.y+b,e.move(d),e.Ej=!1,Bi(e)&&e.Wb());w.v(d)};w.defineProperty(V,{Rn:null},function(){return 0!==(this.ya&32768)},function(a){0!==(this.ya&32768)!==a&&(this.ya^=32768)});function Nj(){G.call(this);this.jf=fd;this.Ss=new B(NaN,NaN,NaN,NaN)}w.Ka(Nj,G);w.ga("Placeholder",Nj);Nj.prototype.cloneProtected=function(a){G.prototype.cloneProtected.call(this,a);a.jf=this.jf.S();a.Ss=this.Ss.copy()}; +d.x=f.x+c,d.y=f.y+b,e.move(d),e.Ej=!1,Bi(e)&&e.Wb());w.v(d)};w.defineProperty(V,{Rn:null},function(){return 0!==(this.ya&32768)},function(a){0!==(this.ya&32768)!==a&&(this.ya^=32768)});function Nj(){G.call(this);this.kf=fd;this.Ss=new B(NaN,NaN,NaN,NaN)}w.Ka(Nj,G);w.ga("Placeholder",Nj);Nj.prototype.cloneProtected=function(a){G.prototype.cloneProtected.call(this,a);a.kf=this.kf.S();a.Ss=this.Ss.copy()}; Nj.prototype.wk=function(a){if(null===this.background&&null===this.ln)return!1;var b=this.Ja;return db(0,0,b.width,b.height,a.x,a.y)}; Nj.prototype.Mn=function(){var a=this.U;null!==a&&(a instanceof V||a instanceof kh)||w.k("Placeholder is not inside a Group or Adornment.");if(a instanceof V){var b=this.computeBorder(this.Ss),c=this.Uc;Ua(c,b.width||0,b.height||0);Bo(this,0,0,c.width,c.height);for(var c=a.Oc,d=!1;c.next();)if(c.value.isVisible()){d=!0;break}!d||isNaN(b.x)||isNaN(b.y)||(c=new z,c.Wn(b,a.Ef),a.location=new z(c.x,c.y))}else{var b=this.Ca,c=this.Uc,d=this.padding,e=d.left+d.right,f=d.top+d.bottom;if(b.I())Ua(c,b.width+ e||0,b.height+f||0),Bo(this,-d.left,-d.top,c.width,c.height);else{var h=a.tb,k=h.Wa(Ab,w.K()),b=w.lg(k.x,k.y,0,0);b.vi(h.Wa(Sb,k));b.vi(h.Wa(Gb,k));b.vi(h.Wa(Qb,k));a.Si.m(b.x,b.y);Ua(c,b.width+e||0,b.height+f||0);Bo(this,-d.left,-d.top,c.width,c.height);w.v(k);w.Db(b)}}};Nj.prototype.ij=function(a,b,c,d){var e=this.W;e.x=a;e.y=b;e.width=c;e.height=d}; Nj.prototype.computeBorder=function(a){var b=this.U;if(b instanceof V){var c=b;if(c.wH&&this.Ss.I()){var d=c.g;if(null!==d&&(d=d.$a,d instanceof oh&&!d.or&&null!==d.$b&&!d.$b.contains(c)))return a.assign(this.Ss),a}}var c=w.If(),d=this.computeMemberBounds(c),e=this.padding;a.m(d.x-e.left,d.y-e.top,Math.max(d.width+e.left+e.right,0),Math.max(d.height+e.top+e.bottom,0));w.Db(c);b instanceof V&&(c=b,c.xH&&c.location.I()&&a.vi(c.location));return a}; Nj.prototype.computeMemberBounds=function(a){if(!(this.U instanceof V))return a.m(0,0,0,0),a;for(var b=this.U,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,h=b.Oc;h.next();){var k=h.value;if(k.isVisible()){if(k instanceof W){var l=k;if(!b.Zw)continue;if(Dm(l))continue;if(l.Y===b||l.Z===b)continue}k=k.W;k.lefte&&(e=k.right);k.bottom>f&&(f=k.bottom)}}isFinite(c)&&isFinite(d)?a.m(c,d,e-c,f-d):(b=b.location,c=this.padding,a.m(b.x+c.left,b.y+c.top,0,0));return a}; -w.defineProperty(Nj,{padding:"padding"},function(){return this.jf},function(a){"number"===typeof a?a=new hb(a):w.G(a,hb,Nj,"padding");var b=this.jf;b.L(a)||(this.jf=a=a.S(),this.h("padding",b,a))});function tg(){0Miscellaneous Extensions:
  • Robot.html, using Robot.js
+

Storage Extensions:

+ +

Projects:

  • Floor Planner, in the projects/floorplanner/ folder diff --git a/samples/indexList.js b/samples/indexList.js index c6c55c625..483dd0209 100644 --- a/samples/indexList.js +++ b/samples/indexList.js @@ -40,7 +40,8 @@ var tags = [ "charts", "html", "inspector", - "frameworks" + "frameworks", + "storage" ]; /** @@ -1276,9 +1277,49 @@ arr.push([ "Local Storage Commands", "Demonstrates custom CommandHandler which uses localStorage as the repository for the clipboard, rather than an in-memory global variable, allowing for copying between tabs and windows.", "minimal", - ["extensions"] + ["extensions", "storage"] +]); + +arr.push([ + "../storage/samples/GoCloudStorageManager", + "Cloud Storage Manager", + "Demonstrates dynamically choosing the user's cloud storage service (using the user's credentials) or localStorage.", + "GoCloudStorageManager", + ["extensions", "storage"] +]); +/* +arr.push([ + "../storage/samples/GoDropBox", + "DropBox Storage", + "Demonstrates saving models in the user's DropBox storage.", + "GoDropBox", + ["extensions", "storage"] +]); + +arr.push([ + "../storage/samples/GoGoogleDrive", + "Google Drive Storage", + "Demonstrates saving models in the user's Google Drive storage.", + "GoGoogleDrive", + ["extensions", "storage"] ]); +arr.push([ + "../storage/samples/GoOneDrive", + "Microsoft One Drive Storage", + "Demonstrates saving models in the user's OneDrive storage.", + "GoOneDrive", + ["extensions", "storage"] +]); + +arr.push([ + "../storage/samples/GoLocalStorage", + "Local Web Storage", + "Demonstrates saving models in the browser's limited localStorage.", + "GoLocalStorage", + ["extensions", "storage"] +]); +*/ arr.push([ "../extensions/Robot", "Simulating Input", diff --git a/storage/api/assets/js/lib/backbone-1.1.2.min.js b/storage/api/assets/js/lib/backbone-1.1.2.min.js index 8ea4b13d3..8c4f32465 100644 --- a/storage/api/assets/js/lib/backbone-1.1.2.min.js +++ b/storage/api/assets/js/lib/backbone-1.1.2.min.js @@ -1,2 +1,6 @@ +// Backbone.js 1.1.2 +// http://backbonejs.org +// (c) 2010-2017 Jeremy Ashkenas, DocumentCloud +// Backbone may be freely distributed under the MIT license. (function(t,e){if(typeof define==="function"&&define.amd){define(["underscore","jquery","exports"],function(i,r,s){t.Backbone=e(t,s,i,r)})}else if(typeof exports!=="undefined"){var i=require("underscore");e(t,exports,i)}else{t.Backbone=e(t,{},t._,t.jQuery||t.Zepto||t.ender||t.$)}})(this,function(t,e,i,r){var s=t.Backbone;var n=[];var a=n.push;var o=n.slice;var h=n.splice;e.VERSION="1.1.2";e.$=r;e.noConflict=function(){t.Backbone=s;return this};e.emulateHTTP=false;e.emulateJSON=false;var u=e.Events={on:function(t,e,i){if(!c(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,r){if(!c(this,"once",t,[e,r])||!e)return this;var s=this;var n=i.once(function(){s.off(t,n);e.apply(this,arguments)});n._callback=e;return this.on(t,n,r)},off:function(t,e,r){var s,n,a,o,h,u,l,f;if(!this._events||!c(this,"off",t,[e,r]))return this;if(!t&&!e&&!r){this._events=void 0;return this}o=t?[t]:i.keys(this._events);for(h=0,u=o.length;h").attr(t);this.setElement(r,false)}else{this.setElement(i.result(this,"el"),false)}}});e.sync=function(t,r,s){var n=T[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:n,dataType:"json"};if(!s.url){a.url=i.result(r,"url")||M()}if(s.data==null&&r&&(t==="create"||t==="update"||t==="patch")){a.contentType="application/json";a.data=JSON.stringify(s.attrs||r.toJSON(s))}if(s.emulateJSON){a.contentType="application/x-www-form-urlencoded";a.data=a.data?{model:a.data}:{}}if(s.emulateHTTP&&(n==="PUT"||n==="DELETE"||n==="PATCH")){a.type="POST";if(s.emulateJSON)a.data._method=n;var o=s.beforeSend;s.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",n);if(o)return o.apply(this,arguments)}}if(a.type!=="GET"&&!s.emulateJSON){a.processData=false}if(a.type==="PATCH"&&k){a.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var h=s.xhr=e.ajax(i.extend(a,s));r.trigger("request",r,h,s);return h};var k=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var S=/\((.*?)\)/g;var H=/(\(\?)?:\w+/g;var A=/\*\w+/g;var I=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,s){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){s=r;r=""}if(!s)s=this[r];var n=this;e.history.route(t,function(i){var a=n._extractParameters(t,i);n.execute(s,a);n.trigger.apply(n,["route:"+r].concat(a));n.trigger("route",r,a);e.history.trigger("route",n,r,a)});return this},execute:function(t,e){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,"routes");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(I,"\\$&").replace(S,"(?:$1)?").replace(H,function(t,e){return e?t:"([^/?]+)"}).replace(A,"([^?]*?)");return new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):null})}});var N=e.History=function(){this.handlers=[];i.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var R=/^[#\/]|\s+$/g;var O=/^\/+|\/+$/g;var P=/msie [\w.]+/;var C=/\/$/;var j=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.slice(i.length)}else{t=this.getHash()}}return t.replace(R,"")},start:function(t){if(N.started)throw new Error("Backbone.history has already been started");N.started=true;this.options=i.extend({root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment();var s=document.documentMode;var n=P.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(O,"/");if(n&&this._wantsHashChange){var a=e.$('